« first day (2059 days earlier)      last day (2787 days later) » 

12:00 PM
ಠbಠಠaಠಠcಠಠkಠ
 
Just because wizzwizz said the word spam doesn't mean you need to spam Tux ;)
 
He was just saying the word "back".
 
@TùxCräftîñg spam --off
 
Pretty sure that guy will never come back
 
★σιλεηςε★
 
@Fatalize The user has two accounts already...
 
@wizzwizz4 huh
 
@Fatalize: Do you know why writeln prints on a newline here? It seems as if 2 should be on the same line as 1.
 
What's the minimum rep for chat?
 
@wizzwizz4 20
 
12:17 PM
Do you think I should add their other account to the chatroom?
 
idk
logic programming look like a weird version of functional programming
 
Wait, do we require <?php for PHP answers or not
 
@Lynn Yes, we do.
 
ye
ninja'd
 
Otherwise Hello, World! wouldn't be a valid PHP answer.
 
12:23 PM
@BetaDecay I hate to break it to you, but print r'''(the literal pie)''' is actually 155 bytes in Python.
 
question: is CSS TC?
 
css?
you mean the web thingo css?
 
Cascading Style Sheets
ye
 
CSS1/2, unlikely but with CSS3
 
12:25 PM
Yey, added an new thing in LGC!
@
Converts binary to ASCII
 
@Lynn Hmm that's amusing, I've currently got 146 from not doing the obvious
 
0
A: Bake a slice of Pi

LynnPython 2, 147 bytes Don’t overthink it... print'()'*6+r''' |\3.1415926| |:\53589793| \::\2384626| a433832| a79502| a8841| a971| a69| a3| \__\|'''.replace('a',' \::\\')

replaceing is hard! It’s so expensive in Python
 
Make that 145, but still it's amusing that it doesn't save much :/
 
-2
A: Bake a slice of Pi

ChristoCoderBash, 175 bytes cat << _ ()()()()()() |\3.1415926| |:\53589793| \::\2384626| \::\433832| \::\79502| \::\8841| \::\971| \::\69| \::\3| \__\| _

 
Oh I have a 137 I think
1
A: Bake a slice of Pi

LynnPython 2, 135 bytes print'()'*6+'\n|\\3.1415926|\n|:\\53589793|' for n in[2384626,433832,79502,8841,971,69,3]:print'%11s|'%('\::\\%d'%n) print' '*7+'\__\|'

Yay!
 
12:39 PM
too many oneboxes
fjson: the json library for Python that figures out which json library is the fastest depending on the implementations.
 
@Lynn for n in[2384626,433832,79502,8841,971,69,3,'']:print'%11s|'%('\\'+'_:'[n<'']*2+'\%s'%n‌​) (probably still golfable)
 
wat
 
O RLY? is an Internet phenomenon, typically presented as an image macro featuring a snowy owl. The phrase "O RLY?", an abbreviated form of "Oh, really?", is popularly used in Internet forums in a sarcastic manner, often in response to an obvious, predictable, or blatantly false statement. Similar owl image macros followed the original to present different views, including images with the phrases "YA RLY" (Yeah, really.) and "NO WAI!!" (No way!). == History == Outside of Internet forums, O RLY? has been referenced in various video games, including World of Warcraft in which the auctioneer characters...
 
VirtualBox silently wants to never run, Bochs crashes, and there is no other free virtualisation software.
 
12:43 PM
okay, downloading QEMU for Windows... :3
help: how to configure it?
 
AFAIK qemu dont need configuration
 
print'%11s|'%('\%s'*2%('_:'[n<'']*2,n)) one more byte
 
@TùxCräftîñg I'm emulating a real OS.
 
this.tokens.shit(); why do they named the function shift ;_;
 
@TùxCräftîñg It does, i.e. for setting VM memory size and virtual mediums, such as the boot floppy and hard disk to keep the data in.
 
12:47 PM
ahk
 
@Lynn I don't think the CW was necessary, I didn't do that much :P
 
I'll just leave this here...
21
A: How should Community Wikis be used?

DennisCommunity wiki is not a rep waiver I've mentioned that from time to time in the past. Community wiki doesn't just mean that you cannot earn rep from a post. Yes, it does have that side effect, but the community wiki option is for posts that can be edited by anyone without worrying about post ow...

 
Hmm, this is interesting @Martin
 
help: how to run QEMU for Windows? ~_~
 
by emulating a linux machine and lanching qemu in...
 
12:51 PM
I just feel guilty when someone offers byte-saves that contain new key insights, like Sp3000’s '_:'[n<''] here
 
also relevant:
Sep 2 at 14:24, by trichoplax
@JonathanAllan I'd encourage you to take the rep, so that we don't create a culture where people feel they need to waive rep.
Sep 2 at 14:29, by trichoplax
@JonathanAllan I understand how you feel. One of my favourite of my own solutions was only possible thanks to huge amounts of help from 4 other people, but they encouraged me to not make it CW and in hindsight I think that was the right decision, as I don't like the idea of there being a peer pressure to sacrifice rep. I know yours is an extreme example, and you're getting plenty of rep from your other solutions, but I'd rather see CW avoided just so it doesn't set the example
 
help: how to run qemu-system-i386 that I installed? ~_~
 
in short: you cant
qemu for windows simply dont work ¯\_(ツ)_/¯
 
Yay! I can't make a VM on my PC! D:
 
@Lynn Consider it a learning experience, because you taught me that I was waaaay overthinking it :P (having said that Python 2 cross-type comparison abuse is pretty common)
 
12:53 PM
@Lynn Y u make me cry
 
The twentieth byte is still pretty empty
 
Solution: get a better Internet connection :P
 
my connection breaks every thirty minutes for two minutes
its usually consistent
 
@zyabin101 what a well thought out response
 
12:56 PM
It's a joke.
 
my maximum connection speed this week was... 4kbps
 
@TùxCräftîñg you still didn't try my new level? :I
 
I like how this answer got downvotes for not overthinking things: codegolf.stackexchange.com/a/93633/3852
 
I mean, maybe it… underthinks them a little, but
 
12:56 PM
@TùxCräftîñg Why don't you want to try anything now? >:I
 
Keep It Simple is advice programmers have to remind each other of for a reason. This applies to code golf too
 
@TùxCräftîñg a smile is not an answer. :/
 
@Lynn So uhh, unless you insist, I'd un-CW your answer if that's okay?
 
12:59 PM
That’s okay :)
 
Nice.
Now I need others that play Rocks'n'Diamonds in here. :U
 
Dammit, I crashed FourIDE but I have no idea what went wrong...
 
That means, I can't find one.
 
@MartinEnder Mods can un-CW?
 
Yes! :D
 
1:00 PM
sure
 
I still feel a little guilty about this. Rep is weird
I wish SO posts could have multiple authors assigned, maybe?
 
s/SO/SE
 
10
A: We're not a Q&A site. But what should be done about it?

trichoplaxCollaborative posts with equal rep sharing Occasionally 2 or more people will work together on writing a challenge or a solution. Currently all the reputation goes to the person whose name it is in. I'd love to see the ability for the post owner to add 1 or more additional owners so that all rep...

also meta.codegolf.stackexchange.com/a/8846/8478 (which could possibly augmented with giving rep to the people whose suggestions were accepted)
 
Interesting!
codegolf.stackexchange.com/questions/93707/… I can’t believe this isn’t a duplicate.
 
Softpedia just interviewed me because of this. Let's see if they actually publish something.
 
1:11 PM
Awesome :)
I was first to star it, and now it has 92 stars, wooo
 
0
Q: Draw an ASCII Rectangle

MCMasteryGiven two integers as input in an array, draw a rectangle, using the first integer as width and second as height. Assume the width and height will never be less than 3, and they will always be given. Example Outputs: [3, 3] |-| | | |-| [5, 8] |---| | | | | | | | | | | | | |---|...

 
@Lynn Hipster :D
 
question: is it allowed to edit a answer to fix the bytecount?
 
When there's no doubt, IMO it's ok.
 
As long as you're sure (e.g. not using some weird code page/encoding, or hidden whitespace in the answer)
 
1:14 PM
^
 
@Lynn ... is it not? o_O
 
Hi @τamoxnım
 
@flawr olleH
 
> WE BRING A MESSAGE FROM THE FUTURE
 
1:16 PM
wat
 
@Sp3000 Lots of challenges require you to draw rectangles, but none of them require you to draw just one rectangle, I think.
 
Closest I've found so far is codegolf.stackexchange.com/questions/90208/… :/
 
@Lynn This hurts my eyes. A true ASCII rect has + corners.
 
Yes, and the NetHack player in me expects at least - corners. x_x *shudder*
 
1:17 PM
(and no, it's not a rickroll)
 
idk it dont load
 
Fun fact: If you open Wordpad in Windows and type the header of an ASCII table (e.g. +---+--+------+) and press enter, it will draw a table and unlock table editing.
 
brb testing
woa
 
@ΛεγίωνΜάμμαλϠΟΗʹ What's this "work"?
 
1:21 PM
Is anyone here interested in seeded UnNetHack? :3
Because I am :D
 
@mınxomaτ the heck is wordpad
 
@mınxomaτ ಠ___________________________ಠ
 
@flawr ?
 
@mınxomaτ What is this? Geometric mean between editor and word?
2
 
1:22 PM
It's what launches if you run the the write command in Windows.
 
Hm doesn't work here.
 
Where is here?
 
My machine=)
 
Geometric mean between editor and word? That is exactly what it is. :D
5
 
If you have Windows, you have Wordpad. It's been there since forever.
 
1:23 PM
Yeah but I've never seen that thing
 
@mınxomaτ Recently they made it weird, like they did with Paint.
 
And i really don't know what it should do what you cannot do with either the editor or with word itself
@mınxomaτ So what version does this work in?
 
Yes, Windows has an unusual habit of giving their age-old software modern ribbons and stuff.
 
@flawr You mean you've never gone through the System32 directory, clicking on all the programs?
 
oh design.
 
1:24 PM
:32393473 But they made it look like part of Office.
 
@wizzwizz4 I feel like system32 was something where anything you do, it will send you to hell.
 
@wizzwizz4 I like it because it reads OpenOffice files and some docx.
 
@flawr Yeah, that computer doesn't really work any more.
 
DUNNNNN
 
And it does 99% of what people do with "Word" without a multigigabyte installation.
 
1:25 PM
@Lynn I ♥ doing that.
 
@Lynn now I kinda feel bad for bashing them. It's actually a pretty competitive answer.
 
@flawr What work? Wordpad or the table thing?
 
@mınxomaτ the table thing
I found wordpad now=)
 
@flawr Just WIN+R and then run "write". Or "write" from any console.
@flawr Dunno. Works in Win10
 
Huh, now I’m messing around with WordPad, and I think this little program is severely underrated.
 
1:27 PM
YES!
And RTF is a markup format and can be tracked by git! I don't know why people always send me friggin doc(x) binary blobs when they contain formatting so rudimentary that WordPad could do it for free...
 
I guess I miss “semantic” stuff. Like headers and sections and footers, instead of font sizes/bold/italic/underline
But this definitely has its uses
 
Random poll: do you have a PortableApps.com install? If so, which apps you have on it?
 
No, None.
 
I have two.
 
Loving the MS Paint integration :DDD
This is adorable
 
1:31 PM
One, on the working disk C:, contains various apps.
 
@Lynn It also has animated text. But you have to write RTF markup for that. (Thank God).
 
Another, on the SD card, contains a basic app suite:
 
wordpad used to be able to create HTML documents too. But they removed that feature when they "upgraded" it.
 
Well, RTF can easily be converted to HTML. So if you really need it ...
 
AkelPad as text editor, BabelPad as word processor (which works with all Unicode, thanks to its Composite Font), Command Prompt as... uh, you know what, CubicExplorer as file manager, Greenfish Icon Editor Pro as photo editor, IrfanView as photo viewer, Links as textual web browser, and SpeedCrunch as calculator.
 
1:34 PM
@Lynn But why would anyone use this if there is word?
 
Well, it’s free, and about 500× simpler
 
Well how about using libre office?
 
@wizzwizz4 many good programs were upgraded just for the sake of changing sth
 
That's a lot of free- and freeware.
 
@flawr And Microsoft Word doesn't put Objects first.
 
1:35 PM
and lost good features
 
@seshoumara Yup. :-(
 
and if you need a word-like thing, libreoffice
 
Question: LibreOffice is too large.
 
ಠ_ಠ no
 
@TùxCräftîñg libreoffice is a suite. If you only need word, use AbiWord.
 
1:36 PM
^
And also Gnumeric for spreadsheets.
 
@mınxomaτ Huh, +-+-+ is the only way to make tables?
 
Some day I'm digging out my old Windows 98, dusting off the lid, and copying Paint, Wordpad, Calculator, Minesweeper etc. off it. Then I can finally use Windows again.
 
@Lynn Yes.
 
@wizzwizz4 And publishing scrots of these? :D
 
Also, this is basically WordPad for linux: nllgg.nl/Ted
 
1:38 PM
@zyabin101 Yes, I'll probably publish screenshots of them.
 
@wizzwizz4 what objects?
 
13 mins ago, by Lynn
user image
Incidently, anyone here know about iOS?
 
What specifically?
 
I know about Android.
But not iOS, so I'm exempt
 
iOS? ugh
 
1:40 PM
Win98 WordPad is changing the game.
2
 
Can I pin it, can I pin it?
 
no please
:P
 
Please can I pin it?
:pleading: O.O?
I assume nobody knows about iOS then... -.(0.0).-
 
no ios iz evil
4
 
@TùxCräftîñg I agree.
Bob tells me he's been talking to iOS support for over an hour and still hasn't got a solution.
The old Apple ][ machines were much nicer.
 
1:46 PM
ye
 
any MATL experts here?
 
@flawr Yes. If we post enough messages, they'll notice the high counter in this tab and come running.
 
@wizzwizz4 what??
 
@flawr There are MATL experts here. However, most of them are probably in another browser tab. If the "new messages" counter gets high enough, it'll probably catch their eyes sooner or later.
 
1:54 PM
@@{SELECT u FROM p as Posts, u as Users WHERE /.*MATL.*/g matches p.body AND p.OwnerId = u.AccountId} Come here, there's a challenge for you! :-)
 
@flawr I'm not am expert, but I know enough. What's your question?
 
@DJMcMayhem I have an array a on the stack, and I'd like to do something like a(:,[1,end]) = 3
(set the entries in the first and last column to 3)
And I don't really get how ( works in MATL
 
Hmm. Would that be TF3(?
 
Why [true,false]?
(and no, doesn't seem to work)
 
0
Q: Primes with equality and list comprehensions only

Will NessUsing only the equality operator, and your language's list comprehension and list enumeration facilities (like Python's range etc.), show a code snippet that produces a sequence of all the primes from 2 up in order, either unbounded or of arbitrary length (which should be controlled by only one n...

 
2:05 PM
TIL about WordPad. That's pretty awesome.
 
@flawr cause of modular indexing, 0 is the end
 
@NewMainPosts unclear what is a list comprehension and a list enumeration facility
 
@DJMcMayhem I thought j is end?
And it throws an error because the index doesn't ahve thesame length as the matrix itself.
 
j is input
I also don't know how ( works
 
@LuisMendo How can I a(:,[1,end]) = 3 in MATL?
 
2:23 PM
@TùxCräftîñg So, you now won't try my levels. Why exactly? :I
 
becuz i am doing other things
 
Which things?
 
doing weird experiments with CAs
 
Okay. :3
 
-1
Q: Calculate the derivative of any curve using a geometrical approach

Suhrid MulayWe all know how those pesky differential equations gave us so much trouble during the school days. but now, this time a computer program has to compute the derivative of any user chosen curve. The challenge is like this Contestants have to compute the derivative of ANY function of their choice. ...

 
2:27 PM
@TùxCräftîñg When do you have free time to try out the level? :3
 
2:37 PM
idk
 
@flawr That assignment is long and a little tricky. I usually try to avoid it. But you could do it as 3ILJhY(
Explanation: [1 end] needs to be done as 1:end-1:end (that's the tricky part). MATL uses complex values for that, where end is j; so you need [1 j-1 j], which can be done as ILJh. Then you call the row assignment operator Y( with three inputs: the original array, the data (3)m and the index (ILJh).
What do you want that for? Perhaps it can be done differently? For example, the assignment to 2:end-1 is shorter
Oh, I see :-)
I'd approach that along these lines
With that approach it can be done in at most 21 bytes. Do you want to try? (I've mortarboarded already)
No, 19 :-)
 
avg(neighbours)
 
interpolation?
 
White noise with cumulative low pass filtering?
 
oh the opposite
 
2:52 PM
0
Q: What is "unclear" about this question?

Will NessThis question was put on hold as unclear. I thought it specifies exactly the requirements, the objective, and the winning criterion. Could somebody kindly explain what's unclear about it? update: I've edited to remove an out-of-place sentence. Is the question good now?

 
@LuisMendo Thank you very much for the explanation!
 
@flawr Anytime! Are you planning on answering? It's a minor adaptation from my other linked answer. It can be done in 19 bytes
 
@LuisMendo I first wanna try to program it myself, I want to get more familiar with MATL=)
 
@flawr In your Matlab answer I think you need a final ; to prevent unwanted output (ans = ...) in addition to the function return
@flawr Do I answer then?
 
@LuisMendo Yes, of course!
 
3:02 PM
Ok :-)
 
@LuisMendo I think it is ok to ignore whatever the function prints, as only the thing that is returned matters.
This is obviously differnt if the function itself should print something.
 
Ah, ok. I'm never sure about those things
 
@Dennis I know this is a silly question, but in its current state the interpreter uses this string "234567890-45678900ihb567890oijhb213dsa_TempFILE_v" as a flag to indicate whether or not its being run from my IDE. Can TIO under any circumstances pass that exact string to my interrpeter?
 
@LuisMendo Always bend the law in your favour.=)
@LuisMendo PS: Is there a way to convert the numeric array to string?
 
@flawr In MATL? The equivalent to char is c. So [65 66]c gives the string 'AB'
 
3:13 PM
Oh, right, thank you!
Ok, not as elegant, but works too=)
2$O'-'ILJhY('|'ILJhZ(c
2$O45ILJhY('|'ILJhZ(c
 
So who's been manipulating New Main Posts?
 
@flawr You should post that too! You can abbreviate 2$ to & here. Also, use the automatic clipboard 5M instead of the second ILJh, i.e., &O45ILJhY('|'5MZ(c and you beat me at 18 bytes :-)
 
@LuisMendo Oh, the & is really neat!!!
 
Or 17 bytes with vector input and using Z" (blanks): Z"45ILJhY('|'5MZ(
 
I wasn't aware of the alternative method
 
3:20 PM
@flawr Thank Suever for that! It was a great suggestion indeed
 
@LuisMendo Well you beat yourself=)
 
@flawr Nah, it's a minor modification of yours. Go ahead and post it!
 
@LuisMendo I'll do ( I just posted my old version)
But first I need to completely understand what's going on=)
 
It's just blanks instead of zeros, using a single input with the two numbers
Matlab's blanks doesn't allow vector input. It was a generalization I included, similar to how zeros([3 4]) works
 
@LuisMendo Oh now I see=)
I wasn't even aware of blanks
 
3:24 PM
Yes, it's not very well known. I thought it would be useful for MATL
 
@LuisMendo Omg, the automatic clipboard is insane=)
 
@flawr :-D
 
I recently noticed that you implemented Y?
:)
@LuisMendo Thank you very much for all the help!
So many great ideas in MATL=)
 
@flawr Anytime! Thanks for your nice words!
@flawr Hahah, yes, very useful function :-P
 
1
A: Draw an ASCII Rectangle

flawrMATL, 21 17 bytes Z"45ILJhY('|'5MZ( This is a slightly different approach than the one of the MATL-God. Z" Make a matrix of spaces of the given size 45ILJhY( Fill first and last row with '-' (code 45) '|'5MZ( Fill first and last column with '|' (usin...

=)
 
3:32 PM
Gasp!
The MATL-God's answer is longer!
 
@zyabin101 The approach I advised @flawr against turned out to be fruitful :-P
 
@LuisMendo I just thought whether we could shorten [1,end] to [1,b], but that seems to get us more bytes, because we need [1,a],[1,b], right?
So we'd need to make the vectors [1,b-1,b] and [1,a-1,a]
 
@flawr Hm what do you mean? Push b explicitly onto the stack?
 
Yes
 
what problem are you discussing
 
3:40 PM
@flawr That three-input-interpreted-as-range notation only works if there are end involved
 
@LuisMendo ah I see.
 
You'd only need the actual [1 b]
But getting b costs bytes. G1) (with current vector input)
G is the input automatic clipboard
 
0
Q: Is "assembled" golflang code acceptable?

busukxuanRecently, I have been thinking about creating golflang assemblers. Since many golflangs aren't much more comprehensible than binary, it could use assembly-like programs to ease the coding. I know this makes golflangs easier to use and might make code golf more pointless for some non-golflang golf...

 
@EricTressler Just some MATL usage
 
@LuisMendo Ah, thanks. I was looking around the active questions to see if I feel like participating in any of them today.
 
3:43 PM
@LuisMendo Another idea would have been inserting the first and the last row separately (and the same with the columns)
 
Hm good idea. Yc (generalized strcat) can do that
 
Ah, I'm trying something like Z"45 1Y(45JY('|'1Z('|'JZ(
But unfortunately it doesn't get any shorter
 
With Yc: 2-l$l45wy&Yc!124wy&Ycc works but it's long. Probably golfable
 
Now I had a really hard time understanding 2-1$145
until I noticed 1 != l
(I shoud say 1 ~= l)
 
@flawr Hahaha. Yes, that's hard to distinguish. Actually l is often used as a "non-sticking" 1. So 2l pushes 2, then 1
 
3:56 PM
Ah, so &l is ones
 
Yup. But with an ell, not one
&l
 
damnit, you're confusing me
:P
(and yes, that is what I meant=)
 
l is the function. But without inputs (which is its default config) it's like Matlab's ones, that is, gives a single 1
Same with 0 and O
 
> Gotta build a great wall to keep illegal griefers out. Make this factory great again.
 
@LuisMendo I must say, MATL has so many great features and ideas
Today I was tempted to write a question on SO :)
 
4:01 PM
@flawr Haha. It happens to me with answers
 
what did the damn terrorists do to MDN now?
I just wanna code
 
Zalgo. The pony Hͤ͐̾̎҉̼̣͚͇͖̘Ẽ̶̤̼̗ͤ C̮͍͈̝O̠̲̼̠̺̘̗M͙̗E̪͙S
 
@uoɥʇʎPʎzɐɹC fontbomb?
 
@flawr no.
IEDs
Internet Explorer Something
terrorists
 
4:14 PM
36
Q: Stack Exchange sites look TERRIBLE in Internet explorer

Kalamane Possible Duplicate: Which browsers are officially supported? And what else do I need? ...Three. It even causes a General Protection Fault! Please fix this.

 
@Sparr Membership requested.
 
4:35 PM
someone know a c++ parser generator?
 
Shameless self promotion

 Esolangs IDE Room

Room for discussion of an Esolangs IDE
 
@Emigna write and writelin just seem buggy with regards to linebreaks on SWISH
writeln('\n') doesn't print any line break for example
 
16 mins ago, by TùxCräftîñg
someone know a c++ parser generator?
using a BNF-like syntax
 
yacc
 
yacc/bison is terrible with c++
 
why?
 
0
Q: Tips for golfing in Haxe

TuukkaXWhat general tips do you have for golfing in Haxe? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to Haxe (e.g. "remove comments" is not an answer). Please post one tip per answer. Haxe can be run online here!

 
4:54 PM
»  bison
C:/MinGW/bin/bison.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
watttttt
 
@TùxCräftîñg ya gotta give it input
 
i removed it and now i am trying to go on the SF page of gnuwin
 
@TùxCräftîñg yes
me and mars made one
 
@TùxCräftîñg ...
you're supposed ot use flex/bison
 
4:59 PM
;_; the tar.xz of bison 3 weight 1MB
 

« first day (2059 days earlier)      last day (2787 days later) »