« first day (1820 days earlier)      last day (3038 days later) » 

9:01 PM
@Doorknob I've noticed that he has the best and the worst luck simultaneously
 
^
 
dear diary,
today I bent the rules a bit
1
A: Paint Starry Night, objectively, in 1kB of code

orlpImageMagick, 4816.84 Uses the ImageMagick 'programming' language, using the following options: convert i -resize 386x320! o.png Assuming the following 945 byte source file (given as hexdump): 00000000: 89 50 4E 47 0D 0A 1A 0A - 00 00 00 0D 49 48 44 52 | PNG IHDR| 00000010: 00 00 00 30...

 
@orlp you can just call that Bash
 
@quartata why did you edit the ; to a :?
 
rofl
 
9:03 PM
@orlp I assumed it was supposed to be a colon.
 
the ; was generated by my hexdump program
 
No, our policies disallow external libraries that are disallowed. Is IM allowed?
 
@quartata did you think he manually typed out the entire hexdump?
 
@zyabin101 It's fine.
 
@zyabin101 it's not a library
@Doorknob imagemagick is the interpreter
 
9:03 PM
@Doorknob yes
This is a constant output challenge so non-programming languages are legal
 
@Doorknob What should I have done????
 
@orlp Right, but that code runs on bash too, doesn't it?
 
Really, what? For future reference.
 
well I guess you'd have to escape the !
 
@quartata with your change the hex2bin program chokes
the last one really needs to be ;
either way, even if you count command line parameters as part of the byte limitation, my answer still fits in 1kb
 
9:05 PM
@orlp ...sorry
I changed it back already
 
now the real question becomes.. how did I generate that original 945 byte source file? ;)
 
@Doorknob how did you get the gif of the trout slap image?
 
17 hours ago, by Doorknob
@Optimizer https://jsfiddle.net/KeyboardFire/cp6p4Ln5/1/
 
Yeah, but how did you get it into gif form?
 
byzanz-record
 
9:12 PM
Can it record key presses?
 
no, but I made xscast to do that
which reminds me, I really need to work on polishing that up
 
Thanks for not supporting IE8. People should understand that it's time to move on. — Kumar Sanket Sahu Jan 31 '14 at 7:51
 
lol
upvoted
 
Who likes bets?
Beets
 
9:19 PM
Beats
:P
 
@quintopia I like beets
Not bets though
 
That beer tasted like nothing but beets
I didn't vote for it
(I'm at a beer tasting)
 
C:\Users\Conor O'Brien\Documents\Lightshot>score
Traceback (most recent call last):
  File "C:\Users\Conor O'Brien\Documents\Lightshot\score.py", line 1, in <module
>
    from PIL import Image
ImportError: No module named 'PIL'

C:\Users\Conor O'Brien\Documents\Lightshot>
Do I have to install PIL?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ See my comment
 
Could you explain what your comment says?
It's a bunch of technobabble to me.
 
9:27 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ you have to install pillow, a safer fork of PIL.
 
How do I do that?
 
Type the commands.
 
In a console
 
CMD? Or Python's?
 
9:28 PM
pip resides in Python27\Scripts\pip.exe
CMD.
 
I have Python 3.
 
Then replace the friggin version number with yours...
 
Sorry. I don't know python.
Calm down.
 
That's not a python issue. Python 3 installs in Python3X and 2 in Python2(X) :D
 
9:29 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ pip install pillow
 
XD I didn't know this
@Mast AHHHH I KNOW THIS
sᴏʀʀʏ
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Sorry not sorry?
 
On Windows I had trouble installing the python requirements. A safer option is to use pillow (pip unistall PIL, then pip install pillow) and change the first line to from PIL import Image. — mınxomaτ 5 hours ago
Just put the Scripts directory in your PATH.
 
@Mast look we've lured another code reviewer to the dark side
join us
 
Oh great, CMD is celebrating Christmas:
 
9:31 PM
we have incomprehensible code
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah, you dont have to uninstall PIL if you've never attempted to install it...
 
@quartata The code you guys wrote is beyond hope.
 
@quartata Is my answer better now?
 
9:32 PM
s/wrote/write
 
@Mast That's what makes us so superior to CR
 
@CᴏɴᴏʀO'Bʀɪᴇɴ s/write/are writing
 
For some values of superior.
 
@FlagAsSpam Need to use bc -l
 
s/are writing/wrote, write, and are writing
 
9:33 PM
Also it's shorter if you use bc -l<<<60/$a
 
@Mast s/some/all
 
@quartata Thanks!
 
@FlagAsSpam np
 
I don't bash enough.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ color D3 to fix
 
9:34 PM
@feersum ಠ_ಠ I know BATCH, nice try.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I originally started writing in batch. Then I moved to a more common language.
 
@FlagAsSpam Which?
 
Also - I'm almost rep capping today.
 
@Mast Think of this like Yin and Yang. PPCG makes ugly code, CR makes pretty code. You have to have both.
10
 
@quartata Seems backwards to me
 
9:36 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Java. Though technically, I had an intermediary with *sh.
 
@FlagAsSpam Ah, right.
(Any SVG experts in here?)
 
@feersum I'm trying to appear unbiased so that he'll join the dark side
 
@quartata shh! don't say that!
 
@feersum He didn't say which order they came in.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ eh I think he's gone already
 
9:38 PM
Darn.
 
He's pretty much lost to CR, clearly.
That reminds me I need to go into the Nth Monitor and lure Quill back to us
 
I can understand that.
 
@Mast OH... hi. Er... just a little joke see
Heh
 
As for Quill, his code improved quite a bit. Not sure you want him back ^^
 
@FlagAsSpam ? Did so.
 
9:39 PM
@Mast We do. And we want Hosch back too.
We almost had them 100% over Christmas
 
700 rep!
 
@quartata They were back for the hats ^^
 
That reminds me..has anyone taken up my chat challenge yet?
 
@Mast come for the hats, stay for the Pyth
It works pretty well.
Hosch even made a challenge I think
Oh, it was Quill.
29
Q: Santa's Decision

QuillSanta's Decision: In this challenge, you will help Santa Claus decide whether somebody on their list has been naughty or nice, and subsequently get coal or toys. But unfortunately, Santa is unorganised, in some of his entries, the naughty, nice and name fields are in the wrong order. Input I...

 
Jan 17 at 15:46, by feersum
Chat mini-challenge: Post the same code on PPCG and CR and get a positive score on both.
 
9:42 PM
@feersum That would be interesting.
 
@Mast It would be pretty easy if it was code for a pop-con.
The real challenge is post the same code on a code-golf challenge
 
Let's get the CR guys to take Pyth seriously
 
Right
Jan 17 at 15:46, by feersum
Oh and it has to be in the tag
 
16
Q: You have no respect for logic

MastInspired by Hosch250, TopinFrassi, Legato and the recent milestone of having our 100th fizzbuzz question on Code Review I decided to add an ArnoldC FizzBuzz to the collection. I haven't found any best practices about the language, but I assume the code needs to be VERBOSE. For those unfamiliar w...

 
The moderators at CR make LOLCODE posts, right?
 
9:43 PM
@feersum And Brainfuck.
 
So it would be a blatant abuse of power to disallow Pyth.
 
^
 
Simon even wrote an IDE for Brainfuck.
As long as you want your Pyth to be readable and maintainable, sure, come over and post it.
 
@Mast How about my lenguage?
 
Oh, yes, we will need one BILLION esolangs! twiddles pinkyFlagAsSpam 7 secs ago
@Mast What about my language?
Oh. Hi @CᴏɴᴏʀO'Bʀɪᴇɴ.
 
9:45 PM
@FlagAsSpam Which is?
 
@FlagAsSpam hiya!
 
I don't know every esolang by heart.
 
You guys keep making them up.
 
My child.
 
9:46 PM
4
A: Parse a two-dimensional syntax

muddyfishPyth, 97 bytes D:TkdI}p@@QTkGR)=Z0p\(V2JK0W|q\ @@Q=b+TJ=H+kK!+JK=J+NJ=K+!NK)I!|gblQgHl@Q0p*Z\,:bH+=Z1d))p\);:000 My god that took a long time to make (about 5/6 hours?). Pyth really wasn't designed for this... Try it here. Attempt at explanation as well as python equivalent Q = literal_eval...

 
very readable
2
 
@FlagAsSpam To be honest, that could work.
 
Jan 11 at 17:56, by quartata
How to Code Golf: http://pastebin.com/m20e4SXb
Reminds me of this
 
@Mast \o/
 
9:47 PM
We consider it a language if there's at least one compiler freely available.
Let me pull the meta on that one.
 
@Mast We consider a language with tighter restrictions. o-o
#irony
 
15
Q: Would a reference implementation for a made-up programming language be a good Code Review question?

Joshua SniderSuppose I made up a programming language and was working on an interpreter for it. Would that interpreter make a good code review question? It would probably be largish at a couple hundred lines. It could definitely be reviewed for performance and best practices, but otherwise any review seems li...

 
Er, no.
That's not my question.
I mean coding help in my language, not the interpreter.
 
He means "definition of a programming language."
We have a lot of issues with that.
34
A: What are programming languages?

Peter TaylorMy previous answer was criticised for not drawing a line in a sand, so following some discussion on chat I propose a line. Executive Summary A purported programming language should be accepted as such if and only if it is capable of addition of natural numbers and primality testing of natural n...

 
> I am assuming that by "made up" language, you mean a language that you have defined and created.
 
9:49 PM
Right...
We mean what makes something a programming language.
Not something you usually run into on CR.
 
See: HQ9
 
@Dennis Could you add the "no-eval" version of Rotor to TIO?
It should be safe.
even though it is much more useless
 
Is eval ever not safe in JS?
 
@FlagAsSpam This is Groovy though.
I use eval to eval the input which is bad.
 
@quartata Oh.
 
9:52 PM
@quartata and others who might be interested, I added an explanation of how I generated the input file
 
@FlagAsSpam It depends on the context. I use eval for the main part in Jolf.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Safe as in file I/O, shell, and network access is denied.
 
Oh.
You can do that in JS? o-o
 
no but you can access cookies
 
9:54 PM
Doesn't matter - I doubt Dennis has been using tryitonline for internet browsing.
Also.
Much concision. Such wow. — FlagAsSpam 7 mins ago
 
So I see a +100 in my rep tab, and I am like YAY!!!.
Then I realize I just created an account on CR.
:(
 
@RikerW This happens to me daily.
 
lol
Wait, you create a new CR account everyday?
Wow.
 
Yes.
 
SmokeDetector has introduced me to a lot of SEs
 
9:56 PM
I sign up and get 100 rep every day in CR.
 
Nice.
@quartata Same.
 
Any more suggestions?
3
A: Building a Metronome

FlagAsSpamBash, 53 55 bytes Okay, truth time: I'm terrible at golfing bash. Any help would be so very appreciated. read a;while true;do echo " ";sleep `bc -l<<<60/$a`;done ^ That's ASCII char 7

 
"Greetings, I'm just here to take my association bonus and flag all the things"
7
 
lol
 
Quartata is on starboard-fire today, guys.
 
9:57 PM
@RikerW Welcome!
@FlagAsSpam He'd feel welcome in The 2nd, the star wall there gets ludicrous at times.
 
@Mast Ẁ̵̡͎̥̻͔͉̦̘̙̱̜̳͈͢E̺̩̫̙̘̮̙̟̤̳̗̮̳͔̪͘͘Ĺ̴̶̕͏̥̜̰͉̰̪͓͚͚͍̱̣͔͎C҉̨͔̭̹̜͜O̢͉͖͓͖̙̣̥̩̤̬̙̕͜͝ͅ‌​͇̻̪ͅM͙͎͖͓̺̰̻͉̣̯̕͠ͅE̢̢̡͝͏̘̖̥̺͕̯̲̬̺̮
@Mast You haven't been here long enough.
Our starboard is just dumb.
 
@Mast You never really answered my question; would a question on Vitsy coding be welcome on CR?
 
@FlagAsSpam no
no one knows Vitsy there
Plus they've been known to lynch PPCGers
 
So?
@quartata Lynch?
 
@FlagAsSpam Yeah.
You know, rope, gallows, all that.
 
10:00 PM
Real lynching just uses rope.
 
@mınxomaτ (: ˙uʍop ǝpısdn uʍoɹɟ ʇɐɥʇ uɹnʇ
7
 
Yeah, okay, but my language actually does some pretty cool things. And I do use it for non-golfing stuff. I'll be writing a Vitsy library soon.
 
@quartata Doesn't matter.
 
@Dennis More like sideways.
 
10:01 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ not clicking on that lol
 
@FlagAsSpam If Vitsy is a well-defined language with a compiler/interpreter/whatever available, probably.
 
@quartata Why?
 
@Mast Hmm. Documentation is on the to-do list... maybe I'll do that tonight.
 
@FlagAsSpam Do you plan on joining forces with CR? o_o
 
@quartata Sure. I might need help with setting up that esolang you chose for its implementation though.
 
10:03 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Interpreter still doesn't work with Safari 9.1.
 
@FlagAsSpam Errors?
 
Check the on-topic page, it doesn't care about what language you write your code in.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Eh. I normally do stuff non-golfing anyways.
 
@Mast the on-topic page sounds cold and uncaring
 
If you grab the binary distro all you need is Java and that's it
Doesn't even have to be a recent version of Java
 
10:04 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ It does, we got quite a good on our meta being a little more caring.
 
in The 2nd Monitor, yesterday, by Mat's Mug
For the record: going forward, please let random SO users call us a forum all they want. Let's be pedantic about the code we review, and stay clear of meaningless arguments over the meaning of a word.
 
That's just sad. I'm from PPCG and I don't think CR is a forum.
 
10:05 PM
@quartata I have Java 8 already because of CJam and others. Do you need the latest version of Groovy? Fetching Groovy from the repos should be a lot easier.
 
@quartata I'm VTC, and I approve this message. As in, I agree with you.
 
@Dennis If it is 2.4.5 then sure it's fine. I doubt it is though.
Honestly though the binary distro takes no set up.
 
> I'm VTC
No, you're not.
 
Yes, I am.
 
Literally just download, unzip, and groovy-2.4.5/bin/groovy
 
@FlagAsSpam Oh great. Um... Huh.
I've only had that problem with IE.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is this a "well, f***" moment? :P
 
Until I figure out how to make it work :P_
 
@FlagAsSpam Safari? Safari. ew safari
 
@quartata Get over it. xD
 
10:08 PM
@FlagAsSpam No
Chrome
 
@quartata :c
 
@FlagAsSpam Type math into the console. What happens?
 
@quartata Memory theft.
 
@quartata NO. Firefox.
 
I just realized the Chrome logo looks kinda like a holy symbol.
Turn Safari Users
 
10:08 PM
@quartata o_O?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I meant more in DnD context
 
@quartata oh lol
 
It sounded funny in my head
 
@FlagAsSpam Huh.... weird.
@FlagAsSpam How about Levenshtein?
Maybe Safari doesn't like rawgit
 
10:11 PM
@quartata OK, I was already installing it from the repos before I asked you, but it doesn't seem to work at oil. I'll try again with the link you gave me.
 
cool thx
 
"At all"? Or is oil a place
 
Okay serious WTF moment
Type in Jolf?
 
10:12 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ JS in a nutshell
 
@quartata It's an HTML problem.
 
^^ On page loading.
 
@quartata Eh, the code I tried had an unprintable. There's still hope.
 
10:13 PM
@Dennis oh I hadn't thought about how it would handle unprintables
 
That makes sense.
 
What is DEL doing in FizzBuzz?
 
@Dennis It pushes 100 to the stack.
Unprintables push numbers.
Like uppercase letters in CJam.
 
OK, using DEL for 100 is objectively wrong. :P Anyway, that's not it.
Caught: groovy.lang.MissingPropertyException: No such property: RotorNoEval for class: Script1
 
The moment when you finish an algorithm implementation and realize it requires more RAM than you have...
 
10:15 PM
@Dennis Are you using 2.4.5?
 
1.8.6
 
That's why. :P
 
Yes, I know.
 
@Dennis It kinda made sense in my head
 
@FlagAsSpam Try now
 
10:19 PM
ayyyyyy
both my languages are at the top of the leaderboard for the truth machine challenge
 
@Cyoce You should take the score out of the headers as they are noncompeting
 
Why would anyone zip binaries for Linux? ಠ_ಠ
@quartata I still get the same error.
 
What's the file name?
 
code
 
I mean the interpreter
 
10:24 PM
/opt/groovy/bin/groovy
 
I mean the Rotor interpreter
 
/opt/rotor-lang/RotorNoEval.groovy
 
Hm.
Full stack trace?
Or is that it
 
Caught: groovy.lang.MissingPropertyException: No such property: RotorNoEval for class: Script1
groovy.lang.MissingPropertyException: No such property: RotorNoEval for class: Script1
	at Script1.run(Script1.groovy:1)
	at Block.parseInstruction(RotorNoEval.groovy:250)
	at Block.parse(RotorNoEval.groovy:219)
	at Block$parse.call(Unknown Source)
	at RotorNoEval.run(RotorNoEval.groovy:273)
 
Thanks.
I've seen this error before on old versions of Groovy, but you said it was 2.4.5 so idk
 
10:29 PM
Well, it was whatever came with the link you sent me. :P
Groovy Version: 2.4.5 JVM: 1.8.0_72-internal Vendor: Oracle Corporation OS: Linux
 
Hrmph.
One second.
 
0
Q: Calculate Doppelkopf Score

DenkerAffeIntroduction Doppelkopf is a traditional German card game for 4 players. The deck consists of 48 cards (9, 10, Jack, Queen, King, Ace of each suit while every card is in the game twice), so each player gets 12 at the start of a round. There are always 2 teams which are determined by the distrib...

 
@Dennis What was the code you tried to run? FizzBuzz?
 
I'll look into it a little later. I'm not sure why it's happening, but maybe I can change it so it doesn't use fields (which should avoid this mess)
It works on my computer which is the frustrating part :/
 
10:40 PM
 
Scooby dooby @Doorknob
 
@Doorknob does changing back to human from arch-lich always kill you?
 
Yes
 
@RikerW why would it?
 
Cause I keep dying after changing back.
I am in Wizard mode just for fun.
I wanted to make it past level 15.
 
10:47 PM
and what does the death message say?
 
You die.
 
...
 
That is all.
 
the actual death message
 
Yes.
 
10:47 PM
I want that on my tombstone.
 
@RikerW no I mean the actual message that says "killed by..."
 
lol
@Doorknob Killed by frost?
 
what?
 
IDK, that is what it says.
Without the ? mark.
Weird things happen to me in nethack.
Oh, and I found grayswandir naturally.
 
yeah I'm pretty sure that message doesn't exist
do you have a ttyrec?
 
10:49 PM
Nope.
I killed my ghost, and then changed back. It said I died by frost.
 
y u no use NAO
 
But `I` as in Wizard not as in WachtlerMacBook.
@Doorknob Cause it hates OS X 10.11.
 
... what?
can you not ssh on your computer?
 
Yes, but it times out a lot.
Pretty much everything does that, and it is specific to the computer with 10.11
 
How do you convert an integer to hex string in python?
 
10:55 PM
hex()?
 
But that returns 0x at the beginning, how do I get rid of that?
 
hex(x)[2:]?
 
@AlexA. ohh, okay thanks.
 
10:56 PM
No problem
 

« first day (1820 days earlier)      last day (3038 days later) »