« first day (2437 days earlier)      last day (2399 days later) » 

2:01 PM
I do not understand why my latest challenge has been closed as a duplicate. Others seem to agree with me, for the following reasons: 1. Allows empty spots 2. Lets the answerers assume the board is valid 3. Has flexible I/O - That being said it is hugely different from the alleged duplicate, and have commented here in order to get some more feedback (I think it should be reopened)
Oh thanks to whomever reopened it! (Titus) :D
 
@Mr.Xcoder Reopened.
(Not by me.)
Ninja'd.
@Mr.Xcoder I think it had 4/5 votes when you posted.
 
@wizzwizz4 it had 1 (mine)
 
It was reopened by two users, actually.
 
It has been hammered-reopened by Titus
 
was the other voter.
 
2:03 PM
@wizzwizz4 read my "Thanks" message again
 
@Mr.Xcoder You ninja'd me.
@Mr.Xcoder You edited it. :-|
 
@wizzwizz4 A lot before your comment anyway
Brb
 
2:30 PM
0
A: Sandbox for Proposed Challenges

kyrillNumber of all hyperrectangle-filling walks Your input: size of the hyperrectangle – generally an n-tuple eg. (s,s) in case of a square position in the hyperrectangle – generally 0 <= pos[i] < size[i] for i-th dimension eg. (x,y) where 0 <= x < s and 0 <= x < s in case of a (s,s) square. ...

 
3:02 PM
CMC (maybe to main?): Output every note on the piano. In other words, output A0, A#0, B0, C1, C#1, D1, D#1, E1, F1, F#1, G1, G#1, A1, A#1, B1, C2, C#2....... A#7, B7, C8
 
@DJMcMayhem Python 3.6
def f():
 yield from("A0","A#0","B0")
 for x in range(1,8):
  for y in "C C# D D# E F F# G G# A A# B".split():yield f"{y}{x}"
 yield"C8"
Works.
 
3:21 PM
It can be golfed more by removing the function definition, using print, replacing f"{y}{x}" with y+str(x), somehow golfing that large constant in the middle, removing the space between in and ", etc.
@DJMcMayhem Probably to main.
Please ping me if/when you do.
 
@wizzwizz4 You could also golf it way more by generating the whole C0...B8 and then slicing
 
@DJMcMayhem How so?
Isn't that what the whole challenge is?
I could compress that string down to "## ### ", but I don't know where to go from there.
 
@DJMcMayhem I thought the first C on the keyboard was C0 but I could be wrong...
 
@HyperNeutrino It's an A0 on mine.
It depends on whether you have a keyboard or a full piano.
 
No I meant the first C is a 0.
 
3:27 PM
@HyperNeutrino Good point. My (digital) piano internally names the first key A-1.
 
Huh according to this the first A is an A -1 :o
 
Nope. It's definitely A0 then C1
 
(ninja'd lol)
hm okay
 
@DJMcMayhem Do you have a smaller piano than us?
 
No
Now I'm really confused, I thought that was the standard
 
3:28 PM
Different numbering then. It would be interesting to work out which standard is called which.
@DJMcMayhem When is there ever one standard?
6
 
hm well I never knew the numbers to begin with so you're probably right :P
 
I'm pretty sure it starts at A0 because then middle C is C4
 
Fortunately, the charging one has been solved now that we've all standardized on mini-USB. Or is it micro-USB? Shit.
3
@DJMcMayhem That's why middle C varies between C3 and C4!
 
Woo! I got two messages on the starboard at the same time.
 
3:40 PM
@DJMcMayhem SOGL, 38 bytes probably golfable
 
CMC: Golf this string: "C C# D D# E F F# G G# A A# B".
 
@flawr I don't think I ever responded to this, but thanks, I will :D
 
@wizzwizz4 SOGL, 22 bytes
 
I'm sure this can be shortened, but Jelly, 48 bytes: ØAḣ7“¢⁺X¤z’b8¤ị€ṙ3Œgż€⁾ #ẎL’$Ðfḟ€⁶p⁵Ḷ¤s⁵ZẎṫ⁵ḣ88Y
(for DJ's original challenge)
@wizzwizz4 Jelly, 35 bytes (can def be shortened): ØAḣ7“¢⁺X¤z’b8¤ị€ṙ3Œgż€⁾ #ẎL’$Ðfḟ€⁶K
 
@wizzwizz4 On my piano it is 12 keystrokes.
10
(not sure how to score)
 
3:47 PM
@HyperNeutrino XD I like that you shortened p⁵Ḷ¤s⁵ZẎṫ⁵ḣ88Y to K
 
@wizzwizz4 SOGL, 21 bytes compression ftw
 
mhm :P
 
@flawr Same way that Vim is scored
 
@HyperNeutrino 29 bytes (golfed, 35 bytes). If it can be golfed more, it'll be useful.
 
eh too lazy xD
 
3:49 PM
@flawr Alternatively, you could work out how many bits of entropy each key has (log_2 keycount) then divide by 8 to get the number of bytes.
 
However, that's assuming base_keycount compression.
It's unlikely that any reasonable binary format will use base_keycount compression.
You should probably use the number of bytes of the binary MIDI representation, assuming a MIDI-compatible piano.
(I have access to one and it would be really awesome if the software worked even on Windows XP but it doesn't so I am sad.)
 
I have a thingy set up to read in MIDI data and autoharmonize it and output as MIDI data xD
 
@HyperNeutrino That is called a thingy.
 
yes "a thingy" describes all things
 
3:53 PM
@HyperNeutrino But only one thing at a time. Otherwise, it is "thingies"
 
Hang on, what does "thingymabob" refer to?
 
@cairdcoinheringaahing This is almost as constructive as the time when a thingy made the thingy thingy and then thingy thingied on the thingy!
@cairdcoinheringaahing Bob's thingy.
"my thingy" -- Bob
 
"thingy mine"[:-2] -- Bob
thingymibob
@cairdcoinheringaahing What counts as "out of bounds"?
 
3:57 PM
@wizzwizz4 Outside of the input matrix
 
We almost had 40300000 in this room.
@cairdcoinheringaahing Wrong question - what does "out of bounds" count as?
On? Off?
Random?
Undefined behaviour?
FILENOTFOUND?
 
@wizzwizz4 Undefined behaviour. You do not have to handle changes that happen outside of the bounds given by the input matrix.
 
@cairdcoinheringaahing So, with standard GOL rules, it's perfectly fine for most of the border to suddenly fill with live cells after a single turn.
 
@wizzwizz4 Hmm, good point. I'll change it so that cells outside the matrix are dead
 
If so, I can golf some C by exploiting mostly undefined behaviour to read some of the stack that I shouldn't.
That will make it golfier and non-deterministic.
So you couldn't really test it.
 
4:01 PM
:P
 
@HyperNeutrino What's that for?
 
A language is defined by its implementation
 
@cairdcoinheringaahing for abusing undefined behavior in C
 
The exact golf I'm referring to would be having fixed offsets for left, right, above and below, then iterating through every cell ignoring borders.
 
HNQ can have some weird questions: Is it not possible that Lord Kalki may have already taken incarnation in the past kaliyuga?
 
4:05 PM
That way the left-right border would be the previous-next line, the top border would probably be the current stack frame and the bottom border would probably be the previous stack frame / private variables.
@JohnDvorak But the result of a function call being based on the state of the calling function?
 
All is well in love and code golf :P
 
For large enough n, whether the program SEGFAULTED or not being dependent both on the OS' calling convention for starting programs and the length of the path used to execute the program?
 
or, "not everything is good, but everything is allowed"
3
 
I am starting to see why we were kicked off Stack Overflow.
 
yup :P
 
4:07 PM
I wasn't kicked off there. I just stopped answering.
 
14
Q: Burninate [code-golf]

admdrewI noticed this question come up today, with a really good comment that the code-golf tag description itself states that code golf questions are no longer on-topic for SO: DO NOT USE - Code Golf is no longer on-topic for Stack Overflow given the existence of Code Golf. This seems like it mig...

 
oh, that
 
@wizzwizz4 I love the fact that there is a tag :P
 
@cairdcoinheringaahing Stack Overflow is just so big that even [m.so] is so big that it needs that sort of thing.
How do you do [meta.stackoverflow]
 
one day we shall see a [burninate-request] on Meta-Meta-SO for burninating the burninate-request tag
 
4:17 PM
@HyperNeutrino Exactly what I was typing :P
 
@cairdcoinheringaahing Great minds buy a trike.
 
@wizzwizz4 I don't have a trike :P
 
@cairdcoinheringaahing That's cheating! :-|
 
@cairdcoinheringaahing That's an easter egg, I think.
It has its uses, but they are quite rare.
 
@wizzwizz4 Nope. Links, sites, users and chat messages get special formatting in chat
 
@cairdcoinheringaahing Oneboxing. I suppose there was no reason for them not to.
 
Hey @HelkaHomba
 
4:49 PM
@wizzwizz4 [so.meta]?
huh I thought it was
 
5:05 PM
Question: are these two functions do the same:
f(i) = X(i) ? G(A(i)) : B(i)
g(i) = Y(i) ? F(C(i)) : B(i)

f2(i) = while (P1 && Y(A(i))) { C(i) }; B(i)
I think they do, but not 100% sure
 
5:20 PM
zig is looking for contributors. I'm not related to the project, but I want it to be a thing. Basically a Rust-like replacement for C that still understands unmodified C files (like stdlib headers).
 
Rust has rust-bindgen that can read C headers?
 
There is a difference between generating bindings and compiler support. Plus Rust has a different goal altogether, only the syntax is slightly similar.
 
Elevator pitch? What does it give me that rust doesn't?
 
This is not a Rust alternative.
 
@Downgoat which 2
and that's even worse grammar that normal lol
2
 
5:28 PM
@mınxomaτ Or, say Nim? Or crystal? It is a C alternative?
 
@Riker do the top two do the same as the bottom one
@Riker :| what is wrong with grammar
 
@GeekyI I don't know nim. It can replace C (though probably not yet). It's power mainly is extending C without transpiling or modifying anything.
 
@Downgoat "are these two functions do the same"
"are these do"
 
only do is out of place
 
@DJMcMayhem JavaScript (Firefox 30+), 95 bytes: _=>["A0","A#0","B0",...(for(x of"1234567")for(y of"CC#DD#EFF#GG#AA#B".match(/.\W?/g))y+x),"C8"]
@DJMcMayhem JavaScript (Firefox 30+), 83 bytes: _=>[for(x of"012345678")for(y of"CC#DD#EFF#GG#AA#B".match(/.\W?/g))y+x].slice(9,97)
@Downgoat Doesn't f2 need to assign to i at some point?
something like f2(i) = while (X(i) && Y(i=A(i))) i=C(i); B(i);
 
6:23 PM
0
Q: Numbers with similar powers

ArnauldGiven an integer p > 1, find the smallest integer q > p such that the list of exponents of the prime factorization of q is the same of that of p, no matter the order or the value of the prime factors. Examples The prime factorization of p = 20 is 22 x 51. The smallest integer greater than p wit...

 
7:09 PM
hi @Maltysen
 
:O I've done 7 reviews today. That's like the most I've ever done in one day :P
 
7:28 PM
hi @cairdcoinheringaahing
 
Is there some sort of mod flag backup? My flags from 3 days ago are still pending.
 
@FunkyComputerMan Not for me. A flag from an hour ago was reviewed for me
 
@cairdcoinheringaahing Was it a flag on this?
Or any other deleted post?
If so that was done automatically, not by the mods
 
@FunkyComputerMan That post. Why?
 
@cairdcoinheringaahing I was just wondering if it was a deleted post.
 
7:31 PM
@FunkyComputerMan You could ask the mods? :P
 
Eh I don't care enough to ping them
I was just wondering if there was something going on I didn't know about
 
Ugh, SO is horrible. I just spent the last 10 minutes answering, and I never want to go back
 
7:46 PM
@Lembik hi
 
@cairdcoinheringaahing Part of the problem is that the stated goal of SO is not to answer your programming questions (I saw that somewhere but I can't find the link right now)
 
@Challenger5 Especially when you get questions like this
 
@Maltysen I hope my comments weren't too annoying
 
@Lembik hmm?
 
@Maltysen go on...
@Maltysen does that mean it was annoying?
 
7:58 PM
In fact, I expect documentation failed because the Q&A's goal is to provide documentation for frequently asked questions. For more complex stuff like an introduction/tutorial, there were plenty of other resources for that
 
8:10 PM
Q: Does this look like a cube?
 
Does anyone know the difference between a hyper and a quick in Jelly?
@cairdcoinheringaahing no
 
@HyperNeutrino In functionality, none
 
well I mean $ sometimes takes 3 links, if two of them are a dyad-nilad pair (effectively a monad)
 
A: no
 
@HyperNeutrino when?
 
8:11 PM
I think sometimes that happens?
 
Q: Which looks more like a cube, ^^ or this?
 
the latter
 
oh wait I'm dumb the example I tested doesn't actually tell me anything
well apparently I was terribly incorrect
 
@Lembik no it means i have not clue what you're talking about
 
I have been misunderstanding $ this whole time lol
 
8:14 PM
@HyperNeutrino Really? I just think of it as () in Python
 
@cairdcoinheringaahing well I thought it could sometimes take more than 2 links if two of them were combined into a dyad-nilad pair, but turns out that the examples I look at are all ambiguous because the third link back is auto-vectorizing so the each quick can't be used to examine the result
(also, trying to make a tacit language has taught me a decent bit about how Jelly actually works, so rather than throwing together copy-pasted symbols and hoping it works I can actually understand how it will work ahead of time)
 
@HyperNeutrino Ooh, are you making a tacit language? What is it?
 
the unnamed list/number language that's hopefully golfier than cthulhu
 
@HyperNeutrino brings in Xcoder to argue that Cthulhu is better :P
 
:P
well it's actually implemented so of course it's better right now
 
8:18 PM
Does anyone else find it weird to refer to users here with their username rather than their real name (only if you know it, of course)?
 
we choose our username for a reason
5
 
I would find it very strange if someone referred to me as Alex, or Xcoder as Victor, or Leaky as Kenny, or ... (proceeds to list everyone's real name xD)
 
to be referred to as that name.
 
@HyperNeutrino 'sup alex?
 
8:20 PM
ಠ_ಠ
 
@HyperNeutrino you have to chime in at that second
 
@HyperNeutrino Or if someone called me... oh wait :P
 
mhm nobody knows your name (yet) (I think)
 
> everything in the world either is a potato or isn't a potato
gee thanks discord that clears things up
 
8:20 PM
what about things that are in superposition of potatoness
 
\o/ Yay for anonymity
 
@HyperNeutrino then they are both
 
@HyperNeutrino Well, one person does, but he isn't really active anymore
 
I was under the impression that the English word "either" implied XOR not OR
 
@HyperNeutrino yeah, I'd find it odd if somebody called me by Riker in TNB
 
8:21 PM
@cairdcoinheringaahing ooh must hunt him down
 
o wait
 
@HyperNeutrino I think it can be both
 
I used to use my real name on SE
@Riker hm okay
 
@HyperNeutrino Have fun. There are over 50,000 users on PPCG :P
 
8:22 PM
:(
 
> "Either A or B" most precisely means, in symbolic logic terms, "A XOR B", where XOR is the "exclusive or". So yes, it means "A or B but not both". It isn't always actually used with full precision, though, so, as usual, context has to be taken into account.
19
Q: Does "either A or B " preclude "both A and B"?

Theta30In mathematics, "A or B" includes "A and B". Does "either" mean "A or B but not (A and B)" or does it include the possibility of "A and B"? The context might be mathematics, formal logic or ordinary language.

 
hm ok
 
@HyperNeutrino Yeah, I remember reading an old comment thread which had @AlexLiao as reply to a (now)deleted user. :P
 
yup :P
Didn't it use to be @AlexL though?
 
ye
 
8:26 PM
@HyperNeutrino I can't remember and I'm not going to go find out
 
@Riker fockin' yell mate
 
Anyone here know how to use TNBDE?
 
what do you need?
 
@LeakyNun I see you're picking up the London dialect :P
 
8:27 PM
lol
"mate" is clearly Australian
 
@Riker How to find all messages that are only :P
@LeakyNun And the UK colonised Australia. We made it first :P
 
Don't worry, Aussie here representing!
 
@ATaco Are you a cricket fan?
 
@cairdcoinheringaahing it's been done iirc
 
@cairdcoinheringaahing not really.
 
8:29 PM
tio is down :-/ or just me?
 
in talk.tryitonline.net, 1 hour ago, by Erik the Outgolfer
@Dennis do all the arenas feel well? I don't think so
 
Up for me
 
It's been hit or miss for me
 
@LeakyNun Have you seen Erik's golf on your Jelly answer?
 
@Mr.Xcoder I haven't, wait a sec
 
8:30 PM
it's 1 hour old lol
 
done
I was cooking
I just finished eating
and I've yet to do washing
 
nice ;p
housework.... BTW That was way too quick
(the edit)
:'-( I don't tie Jelly in Pyth anymore
@HyperNeutrino ಠ_____ಠ
 
@Mr.Xcoder Good. Pyth is the current CJam
 
@Mr.Xcoder :)
 
Anyway, I must be leaving now. Toodles o/
 
8:34 PM
o/
 
o/
i am on my laptop typing silently because I don't want to wake up my parents
 
0
A: Sandbox for Proposed Challenges

user2284570Shortest golang code to println the first byte of a function’s code Rules The code must be a function which takes another function as parameter and will print the first cpu instruction byte of parameter such as : . func dummy() { } print_first_native_instruction_byte(dummy) would print : ...

 
@Mr.Xcoder :P
 
@Maltysen Oh sorry.. I meant this comment codegolf.stackexchange.com/a/144132/9206
 
8:57 PM
@Mr.Xcoder does your tweaked code still crash?
 
1
A: Sandbox for Proposed Challenges

GryphonPrime Factoral Roots code-golf number prime Inspired by digital roots, the prime factoral root of a number is the number that emerges when you take the prime factors of a number, add them together, and repeat the process on that number, continuing until you end up with a prime number (which has ...

 
can a language with only variables and loops but no arrays/loops be TC?
 
@Lembik yes it does. gtg now o/
 
@LeakyNun only loops but no loops? huh?
 
oops
no arrays/pointers
 
9:01 PM
@LeakyNun You need the ability to store infinitely many bits. You can squash them into integers, though.
 
@JohnDvorak oh
 
2
Q: Prime Factorial

GryphonFor the purposes of this question, the prime factorial of a number n is the result of multiplying all prime numbers smaller than n, and then multiplying the result by n. Your Task: Write a program or function to find the prime factorial of a number, as outlined above. Input: An integer n ...

 
You can create a pair of functions that pick only odd bits from a number and only even bits from a number. You can call those two functions car and cdr, too
 
@Mr.Xcoder bye!
 
Loops can be implemented with conditional jumps. Conditional jumps can be implemented with computed jumps if you have a logical negation function, AKA (==0)
 
9:06 PM
is codegolf.SE (or any SE site, for that matter) blocked in China?
on a related note, does anyone here speak any Chinese?
 
@NickClifford @LeakyNun Does iirc
 
yes
 
@NickClifford 我可以在Google翻译中输入内容并复制粘贴出来的图像。(I can type something into Google Translate and copy-paste the images that come out.)
 
images >_>
Chinese characters are not images >_>
 
9:08 PM
汉字不是照片
 
sorry :-(
 
:P
 
lol
i mean, to be fair, most people that see it for the first time think "how does that make a coherent language in any way"
 
lol
 
(that applies to Jelly as well xD) (except for Jelly the answer is "it doesn't")
8
lol copy-paste literally translated into pasting with glue
 
9:12 PM
perfect
@HyperNeutrino i find it almost ironic that a language actually made of Chinese characters (Sclipting) is more understandable to me than Jelly
 
lol that name though
and that is quite strange :P
I find Jelly actually quite understandable, but that may be because I've been in hypertraining for over 150 days
 
fair enough
I think I might understand it
maybe
 
:P
I just froze my computer
 
9:34 PM
@HyperNeutrino how did you type this?
 
well I shut it down and restarted it ._. :P
anyway gtg for dinner o/
 
have fun
 
Hello, does this challenge is on topic ?
0
A: Sandbox for Proposed Challenges

user2284570Shortest golang code to println the first byte of a function’s code Rules The code must be a function which takes another function as parameter and will print the first cpu instruction byte of parameter such as : . func dummy() { } print_first_native_instruction_byte(dummy) would print : ...

 
@Lembik oh lol, its ok
idk why its not working, ill take a look if i have time
 
10:04 PM
@user2284570 yes, but likely not many answers will show up
it's language specific in an uncommon language, and it's pretty hard at that
 
@Maltysen thanks!
 
Hi live!
 
You didn't finish dad joke. 0/10
 
It wasn't a dad joke, it couldn't have been, because you didn't say "I'm live"
Not only that, but I'm explicitely not a dad.
 
10:18 PM
Only here do we argue about the guidelines for dad jokes :P
 
You could have made it a Tarzan joke then
 
I would watch out for that tree
 
@Riker golang is a common language which is well known. It is develloped at Google
 
Back to working on my golf lang
 
@user2284570 Although I can't say it's invalid, I will confidently say it won't be a terribly well received challenge.
 
10:29 PM
@ATaco It is one of the four main language on app engine. So a lot of web sites dépends on it
 
I never said anything about the popularity of the language in a professional setting.
 
The real name is go
@ATaco not golang
 
Still not my point.
I'm just saying that the users here probably won't receive it well.
 
@user2284570 -1
 
@ATaco : to the point of closing it ?
 
10:32 PM
There's a chance, but probably not.
But your rep is at stake here :P I'd recommend answering some questions before you try something like this.
 
Unlike other SE sites, where most new users will likely start by asking questions, we're more an answer focused site, as writing good challenges is much harder than it seems.
 
0
Q: Stackable sequences

xnorYou deal cards labeled 0 to 9 from a deck one a time, forming stacks that start at 0 and count up by 1. When you deal a 0, you place it on the table to start a new stack. When you deal any other card, you stack it atop a card that's exactly one lower in value, covering it. If there's no such c...

 
It is my firm belief that writing decent challenges is both more fun and easier than writing good answers.
However, when a challenge goes wrong, it goes really wrong, but when an answer is bad, it's just a suggestion or two in the comments and a really quick formatting edit.
 
Never will I make the "Print 'em goats" mistake again.
 
10:38 PM
What?
 
I made a terrible challenge that came from a meme.
 
Send link
 
-14
Q: Print 'em goats

ATacoRelated Goats are great. Everybody loves goats. And they also, for some reason, are an excellent complex ascii art for many languages to have built-ins for. Because of this, I personally feel a catalogue to document just how easily a language can print goats is greatly needed. The Challenge G...

It took far too long for me to get it closed.
 
@ATaco :(
 
It's one of the worst rated challenges on the site.
8th worst, infact.
 
10:41 PM
Wait how do you know?
 

« first day (2437 days earlier)      last day (2399 days later) »