« first day (1792 days earlier)      last day (3053 days later) » 
00:00 - 20:0020:00 - 00:00

12:00 AM
@El'endiaStarman Please Exaggerate The Acronym
Please Eliminate The Assassin
Please Enter The Afterlife
 
12:13 AM
Would this be a good code-golf challenge:
1) Output this lyrics to JoCo's "Mandelbrot Set" with no spaces/punctuation
2) In the shape of the mandelbrot set (or colored as a mandelbrot set)
3) So that if the song is started at the same time, it outputs each word in sync with the song.
 
I feel like that might actually be better as a pop-con. It feels a bit too complex to be a good code-golf.
 
12:30 AM
@El'endiaStarman I suggest that it's the opposite.
 
Sandbox is a good idea in any case.
 
0
Q: Is it an integer a string, or a decimal?

CrazyPythonYour challenge is to determine whether the given input is an integer, a string, or a decimal. Rules A string is any input that is not an integer or a float An integer must contain only numeric characters and must not start with a zero A decimal is any input that contains the period (.) and the...

 
12:54 AM
@NewMainPosts pl's looks like a number built-in would come in handy here except that his definition of decimal seems very strange
Why exactly is .01 a string...?
 
Why is 0.01 a string?
 
I don't know.
A shame, because it would basically just be a couple bytes in pl...
 
I think his intent is that a decimal has exactly one digit before and one digit after the decimal point.
 
That's just weird.
 
12:56 AM
...that's not the definition of decimal.
 
Well, Perl disagrees.
(5 means that it's floating point)
1 day away from Fanatic
hype
 
misses last day
 
table flip
3 more days for me.
 
17 days for me. c:
I've attended every day since I joined, so...
 
So you're two months into your addiction. Excellent.
I mean, uh...
Did I say addiction? I meant obsession.
wait
 
1:00 AM
@FlagAsSpam Me too...
 
@quartata I'm younger than you! :D
 
Dedication! Yes, that's a good word.
 
In CG terms.
 
In IRL too, I think.
 
1:01 AM
@El'endiaStarman Determination
2
 
String packing is great
 
> dedication addiction
 
@El'endiaStarman Unless FlagAsSpam is secretly a 50 year old hobo
 
@quartata It's true. :c
 
I knew it.
 
1:02 AM
"integerdecimalstring" = 20 bytes.
 
@isaacg Stop bragging dammit
 
I just wanted to be hip to the flow like the kids these days!
 
:)
 
integerdecimalstring look I'm shorter
 
."at%¸Ã`9hàãá›Ê" = 14 bytes
 
1:02 AM
Oh what is that
get it away
I wish I had implemented equality in pl sooner
 
l1+m
"String"
DD1M-=(["Integer";]"Decimal"
 
One of many Google image results for "string packing":
 
Ideally: ε▬1≥¿1═¿integer¥decimal¥string
But I don't think I can do nested ifs yet.
Looks like if { if { } } else {} works but not if { if {} else {} } else {}
 
@quartata You should work on that. ;D
 
When the first if statement is false, it skips to next else which is actually inside...
@FlagAsSpam Hey, this is tough stuff
 
1:08 AM
@quartata REALLY? :o Never would've guessed. ;D
 
Ooh, that reminds me I have to implement slurp
 
how goes the pl-ing
 
@quartata *quizzical face*
 
Every time I feel satisfied for implementing something I remember 4 more things that I need
So terribly
@El'endiaStarman Read a file
 
1:11 AM
Oh just realized why the regex doesn't work
Hm.
 
@mınxomaτ It's also wrong. int(-1.5) will give -1, not -2.
 
^
 
Also, I don't understand the scoring here
 
@mınxomaτ TI-BASIC stores its functions internally as one or two bytes.
 
@El'endiaStarman So? The code is clearly not 4 bytes.
 
1:34 AM
Uh, but it is. It'd be possible to write precisely that code with only byte values.
That's the standard way to score TI-BASIC answers.
I think there's a code page somewhere for it...
@ThomasKwa would know.
 
@mınxomaτ TI-BASIC is tokenized; each of those tokens are generally one or two bytes. Think of them as really weird characters.
7
Q: How to score TI-BASIC

YpnypnHow do we score code written in TI-BASIC, when it comes to multi-character words? For example: :If X>2:Then:Stop Seemingly, the above should count as 17 characters. However, TI-BASIC treats the Then as a single character when it comes to selecting and deleting characters, unlike most programmi...

 
1:57 AM
@isaacg What does Pyth use for compression?
I'm assuming that ugly packed string is compressed in some way :P
Rats. He's gone.
 
2:42 AM
@quartata That ugly string is compressed using base compression.
Basically, the first two bytes are the highest and lowest bytes in the output string, and the rest is a base256 encoded number that, when converted to the base of the difference between the highest and the lowest, gives the offsets from the lowest of the entire string.
It's a pretty standard technique, but Pyth is the only language that has it built in.
 
@Doorknob冰 Furthermore, many of your challenges seem to have been closed;, I think you confuse him with C+++, cause CrazyPython posted only one question.
 
@mınxomaτ They have 3 closed, deleted questions
 
@Doorknob冰 Ohh, deleted.
 
Incidentally, though... this has been a recurring problem.
I really think we need a better way of dealing with situations like these.
As in, new users who post many low-quality challenges in a row.
 
@Doorknob冰 Question ban them?
 
2:49 AM
What can you do, when they ignore the suggested imporvements posted on their first question.
 
(joke)
But seriously, I think we need to put more emphasis on the Sandbox.
 
@quartata That's automatic, and indeed has happened more frequently than you'd think
 
I've seen plenty of questions by experienced users that didn't sandbox the question and it ended up bad
The Sandbox really is a good tool and we kind of need to let people know that there isn't an excuse for not using it unless you are Calvin
 
I never use the sandbox. Feel free to take a look at my question history.
 
I know there's controversy over the usefulness of the Sandbox, but you can't deny that it won't do some good in these situations
All three of C+++'s questions would have been trashed/fixed within a day if they had been in the sandbox
And some of those questions were indeed fixable, so.
@isaacg I see.
Hmm
I have a lot of options for compression...
@Doorknob冰 Just curious, you can edit the little sidebars that appear on the side when making a question right?
 
3:01 AM
Have to get a SE dev to do it, but they are editable, yes
 
You might want to move the message about the Sandbox higher up.
 
It's not like people read anyway
 
Maybe change it from "Meta Sandbox" to "Challenge Sandbox" so it's 100% clear what it is
 
"Oh, here's a textbox! Let's put words in this textbox and press the big orange button!" -_-
 
I don't know, I mean I know it might not help much but I do feel like the sandbox notice being at the bottom doesn't help
 
3:02 AM
And really, the 1% of new users who do read things don't need it anyway
 
Fair enough :/
Also, is the tour editable?
 
Perhaps a rename from "Sandbox" to "Incubator" is in order...
 
> This site is all about getting answers. It's not a discussion forum. There's no chit-chat.
3
 
(I'm mostly joking.)
 
> Focus on questions about an actual problem you have faced. Include details about what you have tried and exactly what you are trying to do.
This makes it sound like SO.
 
3:03 AM
@quartata Parts of it
 
Too much like SO, honestly.
@Doorknob冰 Only those pop up parts.
Damn.
 
@quartata this part is not editable
 
As it is, it actually is quite contradictory...
> Don't ask general programming questions
 
@quartata nor is this part, but the bullet points next to it are
 
@Doorknob冰 aka the part no one reads
se pls
Well, the never-ending horde of off-topic and poorly written questions... will never end.
We tried
If you excuse me, I'm going to make a giant straw poll of compression options
 
3:15 AM
@quartata Don't forget a "None of the above" option!
I('ve) never use(d) compression...
 
3:28 AM
^
 
3:46 AM
That moment when you write up a challenge in the Sandbox and then realize it's practically trivial.
It was "find the modular inverse of 2 with respect to n on the multiplicative ring of Z_n".
Or, to put it another way, it doesn't exist if n is even and it's ceil(n/2) if n is odd.
Do we have a modular exponentiation inverse challenge? Given n, find the smallest x where 2^x === 1 (mod n)?
By the way guys, regex-based puzzle.
3
 
@El'endiaStarman woah
The [CR]* seems to be the most helpful thus far
The C*MC... one too
 
4:01 AM
Hmm. Does .* mean the row is totally unconstrained?
 
@El'endiaStarman Using your AWS node as a public webserver without any other domain. Haven't seen that before.
 
Okay, I give up; it's too late for me to be doing this. Will resume tomorrow morning, perhaps. :P
@El'endiaStarman yes
 
4:13 AM
I can't figure out something that matches (E|CR|MN)*.
 
@El'endiaStarman Ending, CRow, MNemonic? :P
 
I'm assuming /g, because it wouldn't match much at all otherwise.
I love how many idlers there are in the regex IRC chan, but no one ever talks. Ever.
 
4:25 AM
When was the last message?
 
I dont even remember.
 
Does it not show?
 
IRC usually doesn't.
Also, obligatory.
 
 
1 hour later…
5:44 AM
@El'endiaStarman that took longer than expected
 
I'm still working on it... :/
I don't think I have even half of the cells filled in.
 
It's a lot easier to fill in the second half than the first half
 
yeah, that would make sense
The fact that there's a unique solution is helping a lot, actually.
 
6:03 AM
Wow, (...?)\1* turned out to be super useful.
I now have more than half the cells! :D
 
@El'endiaStarman the (.)(.)(.)(.)\4\3\2\1 is also pretty useful, once you have enough cells filled in
 
@El'endiaStarman discrete logarithm has played a role in two challenges that i can find, and in neither case was it the main goal of the challenge
 
@es1024 Solved it!! :D
 
6:19 AM
@El'endiaStarman :D
 
And thanks to that puzzle, I understand regexes a lot better now. :P
 
it is a very frustrating puzzle. it doesn't even appear to have a unique solution
 
6:36 AM
@quintopia Certainly seems that way at first. But you can use the knowledge that there is a unique solution in a few cases.
 
But...there isn't! the unrotated bottom left corner could be anything without affecting the rest
well, if uniqueness is guaranteed...
 
@quintopia you'll probably find that you need that cell later on
 
6:59 AM
just got an onion knight hat.
 
Congrats!
 
what was the current best guess for its condition?
 
¯\_(ツ)_/¯
 
@quintopia Ask a well received question, something something HNQ?
 
0
A: Sandbox for Proposed Challenges

El'endia StarmanWhat's a half on the clock? In my room, I have this geeky clock (click for full size): Most of these are not difficult to figure out, but the one for 4-o-clock is particularly tricky: Normally, a fraction like 1/2 doesn't make sense in modular arithmetic since only integers are involved. T...

 
7:01 AM
I think I remember reading that one person did not achie- WOW. THAT WAS FAST. -achieve HNQ and still got the hat.
 
Well, maybe it was on HNQ for a really short period and they just missed it?
 
I did, but I think it has a bit more to do with getting a steady trickle of upvotes.
maybe, yeah
But if HNQ was the only criterion, lots more people would have Onion Knight hats.
 
maybe it's like "get less than n upvotes on n consecutive days"
 
Eh, I doubt it. My Spacewar! KotH has been up for 3 days and has almost +40 score.
 
oh
i bet i know
something like
"get 0 upvotes for 24+ hours before finally getting upvoted"?
 
7:05 AM
nope
 
that would fit with the FF class
 
Definitely not in my case.
 
what do you think you got it for?
 
I'm quite sure I got it for my Spacewar! KotH. I've had very little other activity on PPCG in the past several days.
 
so you didn't get any upvotes for anything else before getting the OK?
 
7:08 AM
Lemme check.
I got precisely two upvotes on other things in the past four UTC days, including today.
If you go back another day, three upvotes, two other things still.
 
when did oyu get the hat?
 
I woke up to it this "morning".
 
lel
okay i'm dying. bedtime.
 
lol
G'night!
 
gnight
 
8:24 AM
@Maltysen Whether or not I can do "1">s depends when I'm allowing leading zeroes in the input. None of the test cases use it, but I haven't explicitly disallowed it
 
Maltysen sounds like the name of a sweet :D
 
how are you pronouncing it?
It's meant to be "Mawl-ta-sin" not tie
the second one does sound like a sweet though
 
I pronounce like "Malty - sent" with a silent t
 
I pronounced it as "Mawl-tie-sent", lol
 
but its not even my real name, so :P
 
8:36 AM
I've been mentally pronouncing it mawl-tee-sen
 
@Sherlock9 sent with a silent t when his name doesn't even end with t?
I pronounce it as Mal-Tyson
 
@Optimizer I was trying to think of a clear way to write "sen" so I wrote "sent" sans "t"
 
8:51 AM
sengoku sans DBZ
 
9:19 AM
Just for it to be absolutely specified, use IPA. My pronounciation from before is about /mɔːltaɪsɛn/, although I'm bad with IPA so I'm not sure.
 
International Phonetics Association?
 
9:49 AM
 
Only 365 more days until Christmas!
I saw some lunatics that already have their decoration up now. It is getting earlier every year.
 
The haters are also getting ruder
 
10:07 AM
been a while since there has been no pinned message..
 
But there is no pinned message right now?
 
It's 2am - time to write a question.
Done
 
10:29 AM
1
Q: Counting Fountains

isaacgA fountain is arrangement of coins in rows so that each coin touches two coins in the row below it, or is in the bottom row. Here's a 21 coin fountain: Your challenge is to count how many different fountains can be made with a given number of coins. You will be given as input a positive int...

0
Q: http://newhealthsupplement.com/maxatin/

lilycollinsMaxatin :- Indeed, you're ready to create an entire body workout and Best Bodybuilding Supplements arrange for that you could do in your home. Could fortyfive units a day clear three or 4 days week after week from your schedule, as an approach to work out? On the off chance that the option is "Ce...

 
10:57 AM
0
A: Sandbox for Proposed Challenges

Cool GuyElements with Z > 100 (Sandbox note: Is there a better name for the title?) The International Union of Pure and Applied Chemistry (IUPAC) decided that it is necessary to have a systematic naming for the elements with atomic number greater than 100 (Z > 100), even for those which had not been ...

 
11:56 AM
0
Q: Printing ascending ASCII, Cops

Stewie GriffinThis is the cops' thread. The robbers' thread goes here. Write a program or function consisting only of printable ASCII characters that outputs at least 5 printable ASCII characters in ascending order (from space to tilde / 32 to 126). Characters can be outputted several times, as long as they a...

0
Q: Printing ascending ASCII, Robbers

Stewie GriffinThis is the robbers' thread. The cops' thread goes here. In the cops thread, the task was to create a program that outputs printable ASCII characters in ascending order. The robbers task is to unscramble the code the cops used to produce this output. The code doesn't have to be identical, as lo...

 
12:06 PM
I feel like there are important problems with the above C&R - can others take a look?
 
grc
It looks alright to me
 
@isaacg, do you still think there are many uncrackable cops submissions? The robbers' code doesn't have to be identical as long as the output matches.
 
The edit to the robbers post fixes what I was worried about, but it doesn't look like the means of cracking are discussed in the cops thread. @StewieGriffin
I only read the cracking thread, but that fact really should be in both.
With that change, I'll switch to an upvote.
 
Ok, I'll fix it. Thanks... =)
 
grc
from a similar challenge: "Built-in cryptographic primitives (includes any rng, encryption, decryption, and hash) aren't allowed."
^ might be useful for this one
 
12:18 PM
@isaacg, fixed now.
 
Awesome, much better.
 
@grc, I thought that was counted as standard loopholes, but I can edit it in.
 
grc
oh
 
@StewieGriffin I looked through standard loopholes, and it's not on there.
 
Ok, I've added now =)
Thanks for checking =)
 
12:36 PM
@StewieGriffin Can the robbers (or even cops?) use comments?
 
@flawr, Cops: Definitely not. Robbers: Yes, I think that's fair game.
Do you agree?
 
Your rules=)
 
I am not sure about the scoring, that longer code = more points?
 
grc
"The winner will be the submission with the lowest score"
 
12:43 PM
@StewieGriffin keep in mind that people probably will still use literals, e.g. instead of code();//comment, they might do code();"comment";
 
> If there's a tie, the user who has cracked submissions with the longest combined code will win.
 
grc
oh
that assumes longer submissions are harder to crack
 
@grc, I guess it's harder to make an uncrackable short code, therefore fewer bytes are winning criteria for cops. A long submission can (possibly) be extremely difficult to crack, therefore cracking long submissions give higher score.. It will only affect the results if there's a tie though...
@es1024, valid point, didn't think of that. I'm trying to figure out a way to avoid that... Suggestions? In MATLAB you could end with a long expression and suppress the output with ;.
@es1024, (and trying to figure out if I have to avoid it). It might make it a lot harder, but also easier for the robber).
 
grc
I don't see what's wrong with comments or literals - any characters that don't contribute to printing the output just make it easier for the robber
 
@es1024 I think I'll allow it. =)
 
12:51 PM
@StewieGriffin Is it also allowed to show 2 characters, even if the code has less than 12 characters?
 
@grc, I just reached the same conclusion. I think I'll leave the comment rule there though...
@Adnan, no. Only 1 / 6 should be shown. I'm curious about the obfuscated code that would make it harder to crack if you reveal more characters.
 
@StewieGriffin are programs with newlines allowed?
 
Shouldn't the output also somehow be considered?
 
@es1024 Yes, it says so in the challenge: "If your code has several lines, ...". You need to outline the code with underscores though, so the newlines will be shown. I'll explain it better in a minute.
 
I mean a longer output will be more difficult to recreate compared to a short one
@StewieGriffin Is it ok for matlab to output by e.g. writing 'abc' instead of 'abc';
?
 
1:05 PM
In MATLAB you have to use disp or sprintf. You can only have a trailing newline, not leading, so the standard ans = can't be outputted.
@flawr: Did that answer the question?
 
But a function returning the string would be ok too I assume?
Then I could write @()'abc'
 
Can you also output aaabbbccc or should every character appear maximally once
 
@Adnan You can.
> Characters can be outputted several times, as long as they are adjacent to each other.
 
Thanks :)
 
I added: "In languages where the default output are like in MATLAB: ans =, then that's accepted, as long as it's clearly stated and shown that ans = is outputted. It should also be clearly stated whether this is part of the "ascending output" or not."
 
1:14 PM
Nice=)
0
A: Printing ascending ASCII, Cops

flawrMatlab, 27 characters ____________3_3___4_3______ Output: (ans = \n\n is not part of the output, the output is just the last line) ans = """""""""""""""""""""""""""""""""""""""""""########$$$$$$%%%%&&&&'''(()))**++,,-../001223456789:;<=>?@BCDFGHJKMNPRTUWY[]_acehjloq

The first submission=)
 
0
A: Printing ascending ASCII, Cops

es1024Marbelous, 39 characters _ is an unknown character: it may or may not be a newline. * represents a newline character. __^__________*__<___________@___/_*____ Output: %,:>?@@BBFFNN^^~~ Online interpreter. None of the options should be checked.

The nice thing about Marbelous is it's easy to change the output without understanding what you just did
 
You mean every possible code compiles?^^
 
@flawr the only requirements are that you don't have half a cell, and you don't have call nonexistent boards
so throwing a marble anywhere works fine
 
1:48 PM
Hello
 
hi
 
2:12 PM
@NewMainPosts Can we nuke the user that posted this? It's clearly a spambot.
 
done
 
gud
 
@isaacg Please don't vote to close spam. Flag as spam and move on. Doing anything else is a.) a waste of time and b.) disrupts the spam-nuking system (ex. downvoting spam ruins the functionality of the score of the post acting as an indicator for how many spam flags there have been).
(@everyone ^)
 
I don't like the 8 game limit on drawception.
 
2:18 PM
@Doorknob冰 Sorry about that. FWIW, I did flag it as spam, so I don't think I disrupted anything, just wasted some time. I momentarily forgot about flagging, and you can't withdraw close votes AFAIK.
 
@isaacg You can withdraw close votes, but it doesn't really matter in this case. Just something to keep in mind in the future.
 
This new CnR looks hard
I wonder if I should try actually robbing a submission
 
The reason spam shouldn't be closed is, unintuitively, for increased visibility. Spam gets nuked faster if more people see it and use spam flags against it (6 spam flags == autonuke).
(Also, it's a waste of closevotes, although that doesn't really matter on PPCG :P)
 
@Doorknob冰 I didn't know about that.
That it could get automagically deleted
 
Anything that gets 6 spam/offensive flags is automatically deleted and locked by Community ♦, with a 100-rep penalty to the user to boot (although that doesn't make a different with spam, of course).
 
2:40 PM
Do higher privileged users see deleted questions on the user profile? I can view deleted q's when I have the link, but they don't seem to appear in the profile (even when there is a rep change).
 
@mınxomaτ Nope, but
 
Welp. I proposed this and now I don't know what to do with it. meta.codegolf.stackexchange.com/questions/2140/…
 
3:11 PM
That feeling when you have a "brilliant" idea for a question but upon a search you find a question where the answers would be superficially similar to ones for your idea :'(
E.g. "Print the Collatz tree for up to n levels where the tree "branches" where two numbers could have the same result after one Collatz iteration, e.g 32 -> 16 and 5 -> 16" is a superficial duplicate of Calculating Collatz Cousins
 
Brilliant code golf idea which definitely hasn't been done before: Given an ASCII-art pattern and a number, output that many copies of the pattern.
 
3:38 PM
I was thinking of a small challenge: "The lonely mathematician", basically a program which generates somewhat random equation(s/-systems), solves them, prints both and then repeat. But I guess it would be hard to close loopholes.
 
Maybe make it a popcon
 
4:22 PM
i love popcorn
 
0
Q: Co-primality and the number pi

Luis MendoIntroduction Number theory is full of wonders, in the form of unexpected connections. Here's one of them. Two integers are co-prime if they have no factors in common other than 1. Given a number N, consider all integers from 1 to N. Draw two such integers at random (all integers have the same p...

 
5:23 PM
 
@Optimizer ...
What does that even mean
 
> We're in the final pages of a Philip K Dick novel where all logic in the universe is coming unravelled.
 
> it's too everywhere to be aspirational
2
help
 
6:14 PM
0
Q: Alternate Scoring System based on binary representation

J_F_B_MIs a scoring system based on the binary representation of the code ok? What should I look out for especially regarding loopholes? I plan to release a puzzle based on counting occurences of patterns in the binary representation of the source code, as if you would take the code and put it in an A...

 
0
A: Sandbox for Proposed Challenges

zyabin101Parse a new markup language Editor's note: that's my first challenge, don't judge strictly. I've created a new markup language. Here are the basic rules: To make text bold, surround it with {*} in the beginning and [*] in the end. So, {*}text[*] results in text. To make text italic, surround ...

 
good afternoon
 
6:30 PM
Good afternoon :)
 
7:19 PM
The last message was posted 90 hours ago.
 
It's quiet in here :p
 
I'm using C and I need some help.
It's something so simple (probably) that I daren't ask it on Stack Overflow.
How do you handle ^C in C?
I'm creating a Seed finder, and want the current state to be saved on exit.
Or, you know, printed.
 
Hi, I'm back
 
that's a good question @wizzwizz4 I wish I knew or knew what to google
oh wait
found it
59
Q: Catch Ctrl-C in C

FeldorHow does one catch Ctrl+C in C?

pretty sure I knew this once :P like...at least 5 years ago
 
7:39 PM
@quintopia I wish I knew how properly to advertise that I'm creating a Seed finder that will take less than 95^factorial(str.len) seconds. ;p
 
doesn't seed hash the program? Are you planning on doing pre-image attacks?
 
My seed finder will take approximately ( 95 ^ factorial(str.len) ) / 32 seconds.
On a Raspberry Pi.
@quintopia That isn't portable to Windows though...
Stupid Windows.
 
Seed isn't a hasher though :p
 
mersenne twister. same thing
(not really but close enough)
 
It did get me in a lot of trouble though haha
6
Q: Does randomization count as encryption or hashing?

AdnanInspired from this question, I decided to submit an interweaved program (now deleted) written in Seed. This program uses a Mersenne twister to generate programs by entering a program that consists of two numbers. Using these two numbers, Seed generates a Befunge program. This is created by the ra...

 
7:44 PM
@wizzwizz4 just build and run your program in cygwin
 
7:55 PM
Just finished doubling my RAM
Now I have 16GB
 
Anyone acquainted with python's sort function?
@LegionMammal978 nice!
 
> techgenius101
 
00:00 - 20:0020:00 - 00:00

« first day (1792 days earlier)      last day (3053 days later) »