The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Jan 10, 2018 01:23
Old guy, actually. Haven't checked in here in a loooong time...
Jun 1, 2017 15:26
Okay, I'll take your word for it. And yes, I do remember doing that for Minecraft (don't remind me)
Jun 1, 2017 15:24
Question: if I am using a language that has no I/O methods, is acceptable to store the input in a variable in the program's source code? I may be blind, but I couldn't find that on the defaults for I/O meta thread.
Apr 17, 2017 00:12
Well, besides the obvious mod tools I'm not sure
Apr 17, 2017 00:12
Thanks!
Apr 17, 2017 00:04
Yay! I finally hit 5k rep and all privileges!
Apr 16, 2017 18:49
Oh, I was wondering how that worked... Ok that makes sense
Apr 16, 2017 18:42
Wow, I didn't know about those! Thanks!
Apr 16, 2017 18:36
If anyone who is fluent in Mathematica is here right now, is there anything that you can see to improve this solution? codegolf.stackexchange.com/a/116708/36670
Nov 15, 2016 00:44
@EᴀsᴛᴇʀʟʏIʀᴋ Yeah I noticed that, I am doing my best to prevent it from happening. Thanks anyway!
Oct 7, 2016 01:29
Anyone here know how to use illustrator / photoshop / similar to make a numbered grid as such? boardgamegeek.com/image/484979/acquire?size=large
Oct 3, 2016 13:31
Yeah
Oct 3, 2016 13:30
@Mego oh is that how it works? My bad.
Oct 3, 2016 13:29
when I press copy snippet it says 11 bytes not 9
Oct 3, 2016 13:29
@Dennis TIO seems to be copying the snippets weirdly. Here is the link I am using: convex.tryitonline.net/…
Aug 30, 2016 14:05
oh ok
Aug 30, 2016 14:03
16k year rep with only <16k actual rep
Aug 30, 2016 14:02
can someone explain how this is possible?
Aug 30, 2016 14:02
Aug 21, 2016 20:10
Does anyone here know how I can open an image in python, and apply a function to every pixel? E.g. I want to apply the function convert(r,g,b): ... return (new_r,new_g,new_b) to every pixel of the image.
Aug 15, 2016 04:12
that's meta
Aug 15, 2016 04:11
SevenAte9?
Aug 15, 2016 01:07
Any suggestions for this? ^^
Aug 13, 2016 21:19
@MartinEnder In regards to the naming of the "three-pronged shape", it looks like the shorthand notation for isopropyl alcohol (C3H8O), which is just that shape but it has an OH at the end of one of the "prongs". Don't know if that helps, but thought I'd mention it.
Aug 13, 2016 20:38
vertex and connecting edges of a hexagonal grid?
Aug 13, 2016 20:15
@Dennis Thanks
Aug 13, 2016 20:14
Aug 13, 2016 20:14
@Dennis, the IDE is not a REPL, it is a full IDE, like TIO:
Aug 13, 2016 20:12
I just edited the answer to explain the problem, but since the question is on hold now anyways, it shouldn't be a problem in the future now.
Aug 13, 2016 20:07
yes
Aug 13, 2016 20:06
Ok. But here is a question: when the challenge was posted, there were two interpreters that could run that code: the command-line version and the IDE version, both available on GitHub. Both run with the same spec, but the command-line version has a bug that breaks the solution. Does the solution still count as competing if the IDE version does not have that bug?
Aug 13, 2016 20:01
That is a good question. I'm not sure on our rules about that.
Aug 13, 2016 19:59
@Dennis Because I was using the Shell and IDE, never tried it using the command line I guess. I'm pushing a fix right now.
Aug 13, 2016 19:57
@Dennis I found the problem, it was stupidity on my part: s.substring(0,0).matches("\\d")
Aug 13, 2016 19:53
@Dennis I'm not entirely sure yet, I believe it has something to do on my end with the command-line arg parsing. I'm currently looking into it...
Aug 13, 2016 15:05
@mınxomaτ just sent you the email.
Aug 9, 2016 23:57
@LeakyNun I see that the program that you sent me (here) has the wave on the opposite axis (i.e. it needs to be transposed) is this acceptable for the challenge?
Aug 9, 2016 23:55
^
Aug 9, 2016 23:52
@LeakyNun Pretty much, the operator takes either an array and block, or a number and block. If it is a number then it converts it into an array of [0, 1... N-1]. What happens is that each value in the array is stored into the variable, then the block is executed and the result is pushed onto the stack. Here is an example:
Aug 9, 2016 23:47
Hi
Aug 8, 2016 03:56
What is this ^^
Aug 8, 2016 03:56
Aug 8, 2016 01:32
I be having problems
Aug 8, 2016 01:32
matthew@MATTHEW-UBUNTU:/usr/bin$ cheddar
/usr/bin/env: ‘node’: No such file or directory
Aug 8, 2016 01:26
Ok, I see.
Aug 8, 2016 01:25
@Downgoat why does that evaluate to 5? Shouldn't it simplify to n + 1 + sqrt n? Or do I just not know the syntax and it actually simplifies to (sqrt n) + 1?
Aug 8, 2016 00:42
darn, ninja'd just about to send that ^
Aug 8, 2016 00:41
its Greek transliteration