« first day (2384 days earlier)      last day (2461 days later) » 

5:03 AM
I was playing with the concept of down as a way to use n dimensional lists.
 
Anonymous
@MDXF int arr[][][]; and then dynamically allocate as needed.
 
That sounds a lot less fun than creating your own multidimensional linked list structure.
 
Anonymous
@ATaco It depends on your definition of "fun" :)
 
Anonymous
For me, fun is not reinventing the wheel
 
I'll keep reinventing the wheen until I can make hypercubes the norm.
Sure it doesn't act like a wheel to save itself, but it's really interesting!
 
5:15 AM
made a python script that does godel numbering :D
 
Anonymous
Also don't reinvent the wheel for linked lists in C when GLib exists
 
Also don't reinvent the wheel for linked lists in C when Ruby exists :P
 
Anonymous
@JohnDvorak Some men just want to see the world burn :P
 
Also don't reinvent the wheel for linked lists in C when Lisp and Haskell support them natively :P
 
do you guys know line drawing algorithms and stuff?
because I'm gonna need it for this program
 
5:37 AM
@JohnDvorak But Ruby is icky.
 
6:07 AM
0
Q: A question about language specific tasks

Wheat WizardI made a language called Lost. As a fun programming exercise I tasked myself with making a program that would output the digits 0-9 all with equal probability. This was a difficult task, however I found a solution and had a lot of fun doing so. I thought this would make for a good challenge fo...

 
6:22 AM
@ATaco APL, 3 bytes: -/⍳
 
@DanTheMan well I'm actually drawing multiple quadrilaterals btw
 
7:17 AM
0
A: Sandbox for Proposed Challenges

GoufaliteBirthday palindromic numbers Warning : this is NOT a "hey, let's draw a cake in ASCII-art" challenge! Please keep reading ;) Some time ago it was my birthday, I'm 33 now. So there is this awkward social tradition consisting in inviting family and friends, putting number-like candles on a cake...

 
@LuisMendo My turn for what?
 
 
1 hour later…
8:35 AM
@MDXF I challenge you to add LMBM to your crazy OEIS polyglot ;)
 
8:48 AM
Hi, new here, question about etiquette: what's an acceptable way to suggest a golf improvement to someone's answer when still below 50 rep? I don't want to make a new answer as it's a minor change, but can't comment.
 
9:11 AM
@Mr.Xcoder For adding another language to the polyglot. You said you had tied me :-)
 
aww I wanted to make a polyglot of all of my languages, but arcplus and 2col are inherently incompatible
wait no I found a way
 
9:27 AM
@LuisMendo >_> Why do you do this to me >_>
Added, but to a mini-polyglot
 
Just automated the showcase's stack snippet
any idea why its not collapsing for me
 
Added one more language. But again, to a mini-polyglot
 
9:43 AM
 
Tied me >_>
@Mayube Does Q do anything in Braingolf?
 
afaik no, which means Braingolf's default implicit output will kick in, and it should output 0 as a result
nope nevermind, just outputs a newline
 
@Mayube It doesn't output anything
Ah >_>
Make it push the triangular numbers
 
Ok
triangular numbers are sum(1...n) right?
 
</joke>
 
9:45 AM
no I'll do it
 
@Mayube Not really
@Mayube You are right, nevermind
@Mayube BTW, +1 great polyglot
 
so proud of being able to polyglot all my languages :D
 
just gotta get Dennis to pull now :P
 
@Mayube You just added 1 language to my polyglot (haha), of course, waiting for him now.
Dang, Erik! I was working on a Jelly answer and I saw yours.... >_>
 
9:50 AM
1 sec I'll make it push the nth Square number in 2col
 
Ok...
 
oh wait that won't work 2col doesn't have implicit input
it'd need to be
In
Q^
 
Meh, wouldn't help. Braingolf will though
@Mayube Ping me when it is pushed to tio
 
I'm sure there's an OEIS sequence of the square numbers
 
yep, there is
@EriktheOutgolfer How do you convert a String to an integer in Jelly?
 
9:53 AM
eval
 
Found it
V
Jelly does not have suffix and prefix built-ins >_>
Or maybe it does?
I found a way to get some suffixes UUṫJV
Nonsense ^
I have this:
L’×V
ÇṫJVS+⁹ṚUṫJVS
Does not work yet
These are the suffixes: ṫJV
 
10:17 AM
Apologies for bump, but I don't want to be rude. How best to suggest a golf improvement without enough rep to comment?
 
@CriminallyVulgar oh sorry completely missed your first message :P
Imo your best option is to either answer a couple of other questions in order to get the necessary rep, or ask somebody else to comment on your behalf
 
@CriminallyVulgar I'll comment on your behalf (and give you credit, of course). What is the improvement and on which answer?
 
@Mayube Probably best, I'm just not practiced enough to have original answers haha. Will do in future.
 
<insert look of disapproval for Stack Exchange strange rep privileges about comments>
 
https://codegolf.stackexchange.com/a/138117/72784

n=readLines();for(d in grep("^[0-9]",n))n[d]=gsub('^.?',paste0(rep(' ',eval(substr(n[d],1,1))),collapse=''),n[d]);cat(n,sep='\n')
 
10:20 AM
Ok, sure
 
Thanks muchly, it's minor but I find R fun to tweak.
 
@CriminallyVulgar Are you sure it works?
Oh, it does
Commenting now
@CriminallyVulgar Done
 
@Mr.Xcoder Realised after that a TIO would have been better. Apologies! The space in the rep gets eaten on pasting.
 
I saw, I fixed that
 
@Mr.Xcoder btw which suggests => who suggests
 
10:25 AM
Done now
@Cowsquack Oh sorry
Fixed.
 
10:48 AM
1
Q: Numbers Increase While Letters Decrease

TheLethalCoderInspired by this Stack Overflow question: Sorting a list: numbers in ascending, letters in descending. Your task is to solve the following problem and, as this is code-golf, you should do so in as few as bytes as possible. You should take a list of objects as input containing letters (any reason...

 
11:02 AM
-4
Q: What is the Travelled Distance Puzzle?

humblepmThis puzzle asks for the distance travelled and time managed. How? Puzzle Located here: https://www.flickr.com/photos/153009216@N05/albums/72157679628458322

 
11:45 AM
Why do people leave after posting challenges?
 
-6
Q: Point A to Point B

humblepmAsk: How do you get from Point A to Point B? In 2012 from Best western to Best western without Maps? Puzzle located here: https://www.flickr.com/photos/153009216@N05/sets/72157678397870123

 
TIL that I have question delete powers here
 
12:08 PM
Hey folkes, what ever happened to the Lounge<C++> chatroom?
 
12:25 PM
6
Q: Is this a tetromino?

ArnauldGiven an unsigned 16-bit integer N, your task is to determine whether its binary representation mapped inside a 4x4 matrix is matching a tetromino shape, and if so, which shape it is. Matrix Each bit of N is mapped inside a 4x4 matrix, from left to right and from top to bottom, starting with th...

 
 
1 hour later…
1:33 PM
@MDXF I just noticed your readme on Cubically says that both face 1 and face 4 are blue
 
@totallyhuman haha jeez
 
ಠ_ಠ
Oh hey, esolangs is back
 
0
Q: Pascal's Alternating Triangle

AdmBorkBorkPascal's triangle is generated by starting with 1 and having each row formed from successive additions. Here, instead, we're going to form a triangle by alternating multiplication and addition. We start row 1 with just a solitary 1. Thereafter, addition is done on the odd rows, and multiplicati...

 
@NewMainPosts reeecursion!
there is a slight pattern
 
1:48 PM
Yes, there is.
 
@Mr.Xcoder Dennis is pulling braingolf now
 
2:11 PM
Any strong opinions on whether I should allow redundant braces for bifurcated text?
 
@Mayube THANKS.
Caps lock broken ^
 
@trichoplax imo, if it works in mathjax, it should be allowed
 
@Mayube Is Q printing 0 now?
 
hasn't sync'd yet
 
@Mayube Ok
Ok, leaving for a bit.
 
2:16 PM
lolol I just realized that I'm close to 10k rep xD
 
nice
 
@totallyhuman In terms of what makes it more interesting as a golf competition?
 
2:31 PM
Last call for this:
4
A: Sandbox for Proposed Challenges

Step HenAlarm Optimization code-golf date path-finding My Alarm Clock I'm American, and so is my (digital) alarm clock. To set the alarm, it starts at the time it was previously. Hitting the hour button moves it up one hour, and hitting the minute button moves it up one minute. Hitting both buttons at...

 
@StepHen It's similar to the cruise control challenge. Did you compare/contrast that?
11
Q: Determine the optimal cruise control options

aTastyT0astA cruise control has 3 different options to move the handle to set the speed you want to drive with. Towards you: Adds 1 speed. Upwards: Increases speed to the next multiple of 10 (e.g. 20-->30, 32-->40) Downwards: Decreases speed to the next multiple of 10 (e.g. 20-->10, 32-->30) Input 2 i...

I don't think they're a duplicate, but just for another point of comparison to make your challenge better.
 
@AdmBorkBork I didn't even know that existed. What do you mean by compare/contrast?
 
Possible edge cases, revisions that were made, etc. Things that were done to make that challenge better may also apply to yours.
(Note: "may" as in, I didn't check it, and implementation is left as an exercise for the reader.)
 
@AdmBorkBork oh, gotcha. um... that challenge was never edited :P I'll do that though, thanks
 
It might've been sandboxed
 
2:39 PM
@AdmBorkBork well if it was it was deleted, I'll never find it lol
 
Hmm, doesn't look to have been sandboxed.
 
@AdmBorkBork thanks for looking
 
@Mr.Xcoder Q works now
@Mr.Xcoder Try it online!
 
2:54 PM
...it computes the n-1th triangular number?
 
yes
 
@Mayube Thanks
 
0
Q: Bifurcated text

trichoplaxGiven a string of ASCII letters (upper and/or lower case), output the raw MathJax required to display that string bifurcating at each character, into superscripts and subscripts. For example, the inputs cat and horse would result in outputs which MathJax renders as the following, respectively: ...

 
No probs mate ;)
 
3:04 PM
I should learn Braingolf next
 
go for it
it's much simpler on the surface than languages like pyth or jelly
 
@Mayube Doesn't seem easier than Pyth though
 
but has some awkward limitations and behaviour that can both lead to interesting solutions and headaches
 
@Mr.Xcoder o0 you sure about that?
 
Pyth is mega-easy once you know the commands
 
3:08 PM
oh I was talking about braingolf
 
@Mayube Pyth is the same, then :)
 
@Mr.Xcoder The thing I like about Pyth is that you can type it
 
@StepHen you can type braingolf too ;)
 
@StepHen Yeah, and it also has a fancy search bar :)
 
@StepHen b-but ASCII is so limiting ;-;
 
3:09 PM
ooo
@totallyhuman No it ain't... There are lots of ASCII characters out there
 
right but a lot of them are unprintables
 
31 are unprintable, out of 127
 
and it's hard to manage them
 
which leaves 96 printables
 
96 commands you can type, compared to 256 commands in SBCS - and some of these ASCII-based golfing langs still beat SBCS langs
 
3:10 PM
that just depends on implementation
 
Yeah, Pyth has many 2-byte and 3-byte commands
 
code page does not dictate golfiness
 
@totallyhuman s/implementation/spec/
 
Is there a way to send messages beside chat? don't wanna interrupt :D
 
3:11 PM
@StepHen implementation of the spec :P
 
@DeadPossum You do not interrupt anything important
 
@DeadPossum as long as what you want to say is on topic, don't worry about interrupting
 
K, thanks ;D
 
@totallyhuman codepage dictates how many 1-byte commands you get. How you use those is what makes a language :)
 
@Okx seems like "U - Duplicate from underneath" in Neim does not work as it says. It moves value from bottom to top, not Duplicate
 
3:12 PM
@totallyhuman implementation has nothing to do with golfiness, it's just whether or not your interpreter works :P
 
> I have the same question (11)
 
:))
 
3:15 PM
Python compatible [:]
 
3:28 PM
is there a cleverer way to download the code from a ppcg answer than copying and pasting?
because I have started to find that annoying
alternatively, how about a CMC to take the URL of an answer and to download the code from it and place it in a file?
 
@Lembik , although I don't know how
 
I just golfed the Pyth headache
 
You can also do some fancy jQuery stuff in the console if you really want to
 
@StepHen looks like a potential challenge then :)
@StepHen I just want a really simple command line tool
get-code url > file.py
for example
 
@Lembik Red vs Blue included code to automatically read the first code block in each answer
I used the code in my own KotH and it seems to work well
 
3:31 PM
interesting
I am trying to find this code
 
I think it's right at the end
It uses the SE API so I'm guessing it could be used with other languages too
 
of the question?
 
At the end of the controller code
The snippet is minified but there's a link to a readable jsfiddle in the paragraph above it
 
ah ok
 
@trichoplax fiddle link is broken :/
 
3:34 PM
I suppose it's too much to ask for something I can run from the command line and which outputs to stdout
which is what I really want
 
@Lembik just translate it to Node.js and it'll work fine iirc
 
4
Q: Alarm Optimization

Step HenMy Alarm Clock I'm American, and so is my (digital) alarm clock. To set the alarm, it starts at the time it was previously. Hitting the hour button moves it up one hour, and hitting the minute button moves it up one minute. Hitting both buttons at the same time resets it to midnight (12:00 am), ...

 
Okx
@DeadPossum It works fine
 
@StepHen still tempted to pose it as a code-golf question :)
 
@StepHen The full screen version still works, and you can get to the code from the link at the top right of the screen
 
3:36 PM
@Lembik Here's the function from Red vs Blue: hastebin.com/gibuvanoye.js
@Lembik it'd be a good question, make sure it's not a dupe though :P
 
@StepHen thanks
 
@trichoplax yeah I found that, wonder why the first link is broken
 
people will object if I say it should be a full program I suspect
 
@StepHen Not sure. The snippet omits the top two answers too
 
they like to give functions alone
which is a shame
 
3:38 PM
@trichoplax it's because they had links to each other, Community changed them to https, and they got disqualified because they were edited
 
@StepHen That seems horribly unfair :)
 
@Lembik make the function be the code-golf score, but insist they provide a wrapper that does program I/O
 
@StepHen good idea
 
@trichoplax I don't think Helka knows/cares - there's a comment with a "hacked" (fixed?) controller on the question
 
@Okx Why does this add different number? Shouldn't it consistently add same one?
 
Okx
3:40 PM
@DeadPossum The first U duplicates 1 to the top, the second duplicates 2 to the top, the next two do the same
It's from underneath, a, b, c -> a, b, c, b -> a, b, c, b, c
 
@StepHen Well at least the information is there. I've upvoted the comment to hopefully make it more visible to anyone sharing my confusion
 
@DeadPossum I think if you print the whole stack when you're done (if you can, not sure) you'd be able to see what's going on better
 
@Okx oooooooooh. I thought, that it should do a,b,c -> a,b,c,a. Like underneath == bottom. Sorry, my bad
@Okx Next question :D How can I perform some operation over two lists element-pair-wise. Like sum [0,1,2] & [10,10,10] = [10,11,12].
 
Okx
Use the add operator. It automatically vectorises over both of the lists
 
@Okx Guess, wiki should be updated :D Thank you.
 
3:49 PM
@Mr.Xcoder Oasis, good idea :-) But in my case it produces a sequence I already have
 
@LuisMendo No, I added Braingolf
 
Aah
 
Add that to a mini-polyglot, as I did
 
@HyperNeutrino wow, Python's negative modulus stuff really helped you beat JS by a ton
 
yup :3
I'm using Jelly for this because it's just my Python answer without the explicit lambda definition and with much shorter functions
 
3:56 PM
@Mr.Xcoder Nah, that doesn't increase the score
 
And Pyth is good with that challenge too
 
@HyperNeutrino well duh :P
 
@LuisMendo I have 3 multi-polyglots :)))
 

« first day (2384 days earlier)      last day (2461 days later) »