« first day (2258 days earlier)      last day (2586 days later) » 
00:00 - 19:0019:00 - 00:00

12:17 AM
@LegionMammal978 how do i put a color
0/10 very confuse
 
Thing appears to be glitching currently
Ima make a 1px black rectangular border around the whole thing
 
12:31 AM
> Very obvious
we must have different definitions of that word :P
 
1:21 AM
@Downgoat Well, it would be very obvious to you if I wrote up an explanation :P
 
 
1 hour later…
2:34 AM
Given a random QR code, how can we determine the minimum number of pixels that need to be flipped in order to give the QR code a specific destination?
 
@PhiNotPi XOR it bit by bit with the QR code of the destination and count the bits that are on
 
2:52 AM
@HelkaHomba QR codes are more complex than that, there's areas that are error correction or which are "unused" space.
 
3:19 AM
Are you allowed to change the dimensions of the QR?
But yeah, sounds pretty nontrivial
 
user165474
3:59 AM
That sounds like a pretty hard challenge, because yes, as PhiNotPi mentioned, QRs aren't quite as simple as just a binary encoding of a certain phrase; flipping a bit or two won't usually lead to a different path, because of error corrections
 
user165474
@PhiNotPi I'd consider posting that into the Sandbox and maybe making into a challenge because I'd like to see how people attempt this. It seems quite non-trivial.
 
@ConorO'Brien Your r/ppcg post has a comment now :D
 
user165474
Wait, we have a subreddit for PPCG?
 
user165474
cool
 
@HyperNeutrino It's ike 1 day old
 
user165474
4:07 AM
@ASCII-only Oh. lol. so what exactly is its purpose?
 
@HyperNeutrino No idea
 
@ASCII-only 13 hours
 
user165474
Oh. Okay.
 
I guess it's just a different format for PPCG
Like how SE gives PPCG chat + meta + main
 
user165474
Hm. Okay. Yeah, the upvote/downvote thing kind of reminds me of PPCG itself.
 
4:11 AM
Conor's trying out a weekly challenge thing on the subreddit
 
user165474
Yeah. Like the Tetralingual Tuesdays thing?
 
@HyperNeutrino Yeah
 
user165474
Alright.
 
On a side note: we need to revive our blog
@PhiNotPi Do we need a wiki for the subreddit?
 
@ASCII-only sure, if you want
 
5:01 AM
I didn't bother to learn brain-flak for the longest time but now that I have it's too fun to stop using
help
 
5:54 AM
@Zwei It's too late. You can't be saved now.
 
@Zwei Yay! :D
 
 
1 hour later…
7:06 AM
0
Q: Getting area of grain of rice

Amithkumar AConsider an image of various amounts of grain of rice.I want to get he python program for getting the area of rice? have attached a link which contains the program to count the grains of rice. Counting Grains of Rice

 
What's the community census on a request for a particular language's program?
 
consensus?
 
consensus*
 
As in, everyone thinks the same
 
I'm pretty tired
 
7:12 AM
@Qwerp-Derp you ask nicely, or with a bounty
generally an indefinite bounty
 
I honestly have no idea what that guy is asking, are they asking for a Python program to solve the question? If so, there's already three there.
oh wait they want the area
 
I vtc as too broad
 
On an unrelated note, I like how the "add a language to a polyglot" challenge is still alive
There's 51 languages in the "current" program now
 
i don't even know how you can do that
 
These people should be hailed as deities, damn
It's larger than 1kb now, I'm intrigued as to how high they can push the boundaries
 
7:17 AM
I want to know how they do it.
 
magic
if I implement n^2.5 in Turtlèd is that praiseworthy?
 
ehhh kindofbutnotreally
 
@Qwerp-Derp it will be safe probably
 
7:40 AM
@JanDvorak caaaaaarefully
 
8:08 AM
0
Q: King of the Hill: Bank Heist

quintopiaAnyone who's spent any time watching streams on Twitch is aware of the prevalence of DeepBot, and is perhaps even familiar with its Bank Heist betting game. This King of the Hill tournament is directly inspired by that game. Don't worry, though. I think I've thrown enough extra kinks into this ve...

 
 
1 hour later…
9:16 AM
@Qwerp-Derp i once posted a 1.5kb answer to a question, sooo
 
9:41 AM
> Once there have been no new answers for 14 days, the winner will be whoever posted the second newest answer, i.e. the largest polyglot that's been proven not to have broken the chain.
I think the polyglot challenge has ended
 
Hi
 
@betseg the rickety track challenge got 4k worth of Python code
 
Wow
 
Okx
Whoo! A king of the hill!
@Emigna I promised you a trickier 05AB1E puzzle, and here you go: codegolf.stackexchange.com/a/115310/26600
If this proves to be not trivial to work around, +50 bounty if you can solve it within 2 days
 
10:04 AM
@Okx Cool! I'll have a look :)
Certainly looks non-trivial at a glance
 
@Okx I was looking for a work around and gave up fast.
@Emigna Good lucjk
 
10:24 AM
Why does china have an ancient instrument that can play Super Mario songs on it WITH COIN SOUND AFFECTS
 
Orrite I need help with a science experiment thingo
So I'm going to make a website, where you answer questions and stuff
 
Okx
Right?
 
And I want to record the time taken to answer each question from the first half of the list of questions, and I want to record the time taken to answer each question from the second half as well
I don't really care much beyond that
Do I use a database?
 
@DownChristopher It's because people can recognize a familiar melody even if it's played in a different key and instrument, and the instrument happened to use the same musical scale Mario did?
 
Okx
@Qwerp-Derp File storage is probably fine, for smaller file sets
 
10:31 AM
Yeah, I want to save it as something like a CSV, right?
 
Okx
Make sure you use caching, if you want to optimise it
 
I don't need something as complex as databases
 
Humans are pretty bad at absolute pitch, actually
 
Okx
CSV would be good, remember to not let users have commas in their username
 
CSV can handle commas just fine if you use a proper parser
 
10:32 AM
I'm not going to store usernames, I'm just storing the amounts of time
I need some way to prevent bots though, and prevent multiple entries if I can
As they might muddle up the information
 
If it's a web app, I'd use a database
 
Yup it's a webapp
 
Okx
Store the IPs of users as well
 
I'm making it out of Clojure/ClojureScript, and hosting it on Heroku
 
Trust me; MyISAM is much better at reading the 100th row of a table than you are
 
10:34 AM
I could just borrow Google's login system
And make the user actually enter in their Google stuff
IDK
 
Okx
I don't think he's that interested in saving 10 milliseconds
 
How much data do you expect to have?
 
I'm expecting like 50-100 tests, so not much
I'm not going to get a large sample size
 
total, or per user?
 
Like the absolute maximum is 1000 total
So fairly small
1000 is a really high upper bound BTW, I'm expecting around 100 (as said above)
 
10:36 AM
I'd use a memcached for that. I mean... a homebrewn in-memory data structure backed by a flat file and communicated with using a proprietary API
 
I think that's a bit complex
This is my first webapp with both backend and frontend
 
Interfacing a database is a thing worth learning
 
Okx
Just make some sort of list with way of serialization
 
I've got a few months to pull this off, the project's not due for a really long time
 
Then grab MySQL or whichever database is already in the stack and call it a day
 
Okx
10:42 AM
tbh, just makes something that works first, then work on improving it with proper APIs like MySQL
 
True that
So I make the basic webapp first (that doesn't store any information), and then I make a database and then have the completed webapp?
 
Okx
You could do that, but what I meant was use whatever way is easiest for you to store the info first.
 
@Okx My plan for this was just to associate a Google account with a specific response, if that account has already logged on then I block it
So:

- the user logs in with a google account
- the user answers the questions
- the times for questions are recorded and then sent to a database
- user logs out, can't log back in again
 
Okx
Sounds good.
What sort of questions are these?
Depending on what they are, it may be a good idea to let them answer the questions again, changing (not adding) to the database
 
It's just like simple maths questions
And accuracy is part of what I'm testing, so I'm not going to let them answer questions again
 
Okx
10:56 AM
Well, your plan seems fine to me.
 
@Qwerp-Derp I don't think that follows
 
@Okx How much experience do you have with webapps specifically? Just curious.
@JanDvorak ???
How does that not follow?
 
If you want the answers to represent the students' opinions, let them change their answers at will.
 
Okx
It's maths questions, so I don't think they should be able to modify answers after submissions
 
@JanDvorak They're maths questions :P
 
10:59 AM
I don't follow that line of reasoning either
 
And pretty simple ones at that, I'm testing both speed and accuracy
Should I just tell you guys what my experiment actually is?
 
Okx
If you want, it may help
 
If you measure speed then yes, locking makes sense
 
Don't judge me because of my basic experiment :P
I'll tell later, I gtg for a few minutes
 
Okx
Everyone has to start somewhere :)
 
11:10 AM
Alright I'm back
So my experiment is basically testing if colours have an effect on reaction times and accuracy when answering basic maths questions
I'm making a website which starts off with a plain white background
With a bunch of questions
And halfway through the "questionnaire" I change the colour of the background to one of three colours: red, green or blue
I compare the times and accuracy of the two tests, and then with enough samples I can hopefully graph out the whole thing
 
Okx
I'd definitely try that out.
 
Try the experiment, or implementing it?
 
hi all
 
Okx
Try the experiment
Hey Lembik.
 
something interesting I have noticed about ppcg is that you get a lot of interest very quickly from questions, which is great, but you also get a number of downvotes
I suppose that is the nature of "competition" questions. You always annoy someone
 
11:14 AM
Well you can't now because you know what the experiment is :P
 
Might influence the results
 
but no reason given why
 
@Lembik they probably didn't like the strict IO and just used the unclear as their reason for the close vote. Either that or it was from when the question was rather unclear.
 
@fəˈnɛtɪk I think both explanations are plausible
people really get upset about not allowing functions on ppcg!
I am rather pleased with the question in the end.. just need some way eventually to remove all the incorrect answers
who knew it was so hard!
codegolf.stackexchange.com/a/115231/9206 is just plain wrong for example
 
11:30 AM
 
11:40 AM
0
A: Sandbox for Proposed Challenges

OkxBinary Branches code-golf Given a binary number, your task is to create a 'branch' of that number, with a depth of 2. For example, given 0 as input, you should output exactly this: /000 /00 / \001 0 \ /010 \01 \011 This should be fairly self explanatory of how the branche...

0
A: Sandbox for Proposed Challenges

FourOhFourOperation Permutations code-golf decision-problem We're likely all familiar with the order of operations; the precedence rules that we use to govern basic arithmatic. Most schoolchildren are taught this order using an acronym such as "BODMAS", "BIDMAS", or "PEMDAS". There's no common consensus o...

 
12:04 PM
Is it okay if I just copy the leaderboard snippet from one question for another question (changing the targeted address of course)?
 
That's what I do for my questions
 
user165474
 
user165474
Literally so close.
 
12:42 PM
also figuratively too
 
12:55 PM
woohoo.. 20 points :)
 
If you downvote an answer, are you unable to upvote it until the writer makes an update to the answer?
 
There is a time period where you can upvote it without changes but afterwards they need to update.
 
And after an update is there a set amount of time to revert the vote
 
0
A: Sandbox for Proposed Challenges

Martin Enderf(g(x)) decreases while g(f(x)) increases code-golffunctionmath For this challenge you need to implement two functions, f and g, on the integers, such that f ∘ g is a strictly decreasing function while g ∘ f is a strictly increasing function. In other words, if you take any two integers a < b, ...

 
1:16 PM
0
Q: I'm too lazy to open XKCD, show me the last comic

SIGSEGVI want to see some xkcd comics. What I do not want, is to browse to xkcd. So you guys show me the last one. I/O Input None. Output Image of the last XKCD comic. (this as of 2017/4/5.) Tips As what I heard, there is an RSS feed on XKCD, so you can use that.

 
Please, @SIGSEGV, use the Sandbox. Not only is your most recent challenge a dupe, it's also woefully under-specified.
 
@AdmBorkBork Forget the last one, I'm making a massive chess KOTH (ofc in the sandbox)
 
0
A: Sandbox for Proposed Challenges

SteadyboxRead ASCII-Art Text Inspired by this challenge: Golf me an ASCII Alphabet Task: Take a string of ASCII-art text and output the content of the text as regular ASCII text. Input: String of ASCII-art text. Input will only contain instances of ASCII character #, spaces and 4 or 5 newlines (...

 
Few suggested edits in the review queues. Could someone help in clearing them up? Thanks!
 
1:52 PM
@SIGSEGV ECMAScript 2016 (ES7) might look like. One of the features that's very likely to make it into this release is the exponentiation operator
ES2016 is ES7 not ES6
 
user165474
??? My question is why ES201 6 is not ES 6. That's rather confusing :P
 
It was initially just count up I think. They just changed it to years so it's going to be ES2017 instead of ES8
 
user165474
Oh okay. So they started in 2010? Or was it not 1 per day?
 
1 per day would be rather fast updates
 
user165474
lol I meant 1 per year. rip
 
2:00 PM
The first version was 1997. The versions were (ES1 1997), (ES2 1998), (ES3 1999), (ES4 abandoned), (ES5 2009), (ES5.1 2011), (ES6 2015), (ES7 2016)
 
user165474
Oh okay. So there was a pretty big gap between ES3 and ES5. Okay.
 
Do I need to create a room to chat to a specific user or can I just start a chat somehow?
 
@Emigna You can find their chat profile, then there's an option there
"Invite this user to"
or "Start a new room with this user"
This means you have to find their chat profile first
if they even have one...
 
Can I find the chat profile from the ppcg profile?
 
No.
Not every user has a chat profile, I don't think
 
2:13 PM
Great...
 
If they've never been on chat
So you have to find a room they're either currently in, or that they have posted in.
Then click their avatar and view their "user profile".
That's the only way I know how to.
 
Not very intuitive
Thanks for the info though
 
Maybe someone who's a chat moderator would know another way
 
can search for them there
 
^ Oh yeah. That's how I found out that some users don't have a chat account.
@Emigna ^^^
 
2:21 PM
@Poke Thanks! I thought I searched there without finding, but apparently I did it somewhere else :)
 
...is it just me, or has @Dennis been offline a lot lately?
 
2:40 PM
He's been working really hard on TIO
@NickClifford (also, in general, try to avoid randomly pinging users you aren't trying to contact)
 
3:03 PM
0
A: Sandbox for Proposed Challenges

SparklePonyASCII Fractals! Your task: given an ASCII character and a number n, output the fractalized version of the ASCII character to the nth depth. A fractalized ASCII character is the character turned into a fractal. For example, if I wanted to fractalize #, it would become: # # ##### # # ##### # ...

 
@JanDvorak I guess
is anyone going to actually chat today?
@MartinEnder I want to golf your regex answer to reciprocal answer but if I do that you would end up with a harder to beat score :(
 
3:18 PM
you could always post a separate answer. it's up to you.
 
Yeah but that makes me feel cheaty
I would never be able to do it without what you did
 
how many bytes is it? :P
 
Still working on trying to golf :P
 
When I saw reversible micro usb cables I thought 'wtf micro usb cables are supposed to be irreversible'
 
3:21 PM
Careful NSFW
 
0
A: Sandbox for Proposed Challenges

SparklePonyAdjacent Equalized Indexes! Your task: given a string or list of characters A,B,C,D, output the indexes of all the adjacent equal characters. Output can be multiple strings, a list/array, or a delimited string. For example, the input 'ABCDDCBA' should output 3,4 or 4,5, depending on whether it ...

 
If anyone wants a challenge topic to use on your new challenge, ask me; Think of me as your 'constant idea factory'
Current idea: 'Google bubble-wrap: Make it real'
 
Nvm I screwed everything up
 
3:46 PM
@MartinEnder you win :P I give up
 
Woo sandbox has 4000 answers!
(counting deleted answers, I believe)
 
@DownChristopher that 100000000 does seem super wasteful, but I haven't found a way to get rid of it yet
 
@MartinEnder Same here
I was looking for a way to compress regex numbers
 
0
A: Sandbox for Proposed Challenges

PhiNotPiQR Code Editing: Minimum Change code-challenge? This is pretty non-trivial, and finding optimal solutions is probably computationally difficult. QR codes are a way to represent URLs and other strings of text using a 2D image. What you might not know, however, is that a significant portion of ...

 
@MartinEnder looping with a number limit may work
My attempt just broke it all
Idk good luck
 
4:17 PM
@Geobits, you're alive!
 
@Geobits I'm using a mouse now
 
4:29 PM
0
Q: Guessing the winning language

LucaI know that betting reputation is strongly against the aim of this site. I propose a guessing game on Codegolf (without betting reputation). It might work in this way: after a challenge has been posted and before the first answer is given each user could try to guess which language will have th...

 
@AdmBorkBork No, I'm at work.
 
Shit. I'm so sorry for your loss.
 
Your condolences are appreciated.
 
0
Q: Cook me a hot dog!

wsbltcSometimes I find myself wanting a hot dog (don't we all) and so I make one. Now to make a hot dog, it is very simple. 1) Put the hot dogs into boiling water 2) Wait for a certain amoutn of time (detailed below) 3) Eat the hot dog once the time has elapsed. You may have noticed that I said ...

 
@PhiNotPi Can I be a mod on the PPCG subreddit?
 
4:44 PM
0
A: Sandbox for Proposed Challenges

SparklePonyHexagonal Fractal! Your task: given an integer n, generate a hexagonal fractal following the following rules, to the nth depth. A hexagonal fractal has the basic shape of this: (n=0) __ / \ \__/ Hexagonal Fractals n=1 and n=2: ____ / \ \ /\__/ \ \ / \____/ ______...

 
@TuxCopter username?
 
/u/TuxCrafting
 
Oh, this seems really familiar ... — AdmBorkBork 1 hour ago
Am I the only person that remembers a challenge where you made ASCII letters out of the ASCII letters like described in that Sandbox post?
Is this a Mandela effect localized to me?
 
No I remember one with letters made out of themselves
 
there was 5 Favorite Letters, but other than that I can't think of any
It does seem oddly familiar though
 
4:54 PM
Yeah I think that's the one I was thinking of
Or maybe not... I wasn't really active when it was posted
 
Also:
8
Q: Golf me an ASCII Alphabet

KatenkyoDon't you find that reading simple text isn't appealing enough? Try our ##### ### ### ##### ##### ##### ##### # # ##### # # # # # # # # # # # # # # ##### ### # # # # #### # # # # # # # # # # ...

That's not as related though
 
@PhiNotPi ?
 
@PhiNotPi "make a wiki page that has a list of esolang resources" where were you thinking we would do this?
 
5:23 PM
Oh look, subreddits have their own wikis... I'm an idiot, sorry
 
I am 95% this classifier knows what it's talking abotu
 
alright then
what classifier is that?
 
@Downgoat This is totally an invalid screenshot. You excluded the important header: "Watch the Natural Language Classifier categorize your weather-related question"
 
5:38 PM
@NathanMerrill Even with that, 95% confidence is pretty high for an irrelevant question
I don't even see any weather related keywords in there
 
"hot", "foggy", "sleet", "storm"
 
"expected high for today"
 
@Downgoat well, considering it's between "temperature" and "conditions", it simply means that its 95% sure that its more about temperature :P
 
@KritixiLithos No, I am talking about in my input
 
@NewMainPosts I don't really enjoy hammering, but it seems like a dupe to me. Anyone agree/disagree?
 
5:42 PM
@Downgoat Animals cause heat. Heat = temperature.
 
:O I just realized I have hammer powers for [code-golf]
 
thor over here
 
I'm not sure if its a dupe of the christmas challenge
because the christmas challenge is about a fixed point in time
while the challenge is about a relative point of time
 
Is legendary a better Target then?
Neither of them loop
 
legendary is really close
but once again, its not waiting for a full hour
but rather the the next full hour mark
 
5:45 PM
Ok, well I gtg, but I'm sure there are enough Mjölnirs around here that you can get it sorted out without me
 
@Downgoat while I'm not a huge fan of the challenge, I don't think we can actually close vote it. Unless there's another challenge, none of them say "Wait for exactly N minutes"
 
Yeah, I didn't dupe-hammer it closed for that reason.
 
well, if somebody can un-hammer it, that'd be great
 
@NathanMerrill :P don't worry I didn't hammer it
 
0
Q: Composition of permutations – the group product

mbomb007Given two permutation groups in disjoint cycle form, output their product/composition in disjoint cycle form. To find the composition, convert the disjoint cycles to permutation groups in two-line notation. Each number in a disjoint part of a cycle is mapped to the number following it in the s...

 
5:47 PM
@Downgoat DJ did
 
Question: Do I have re-open hammer too?
 
I mean, I could un-hammer it, but my "vote" as such is a close vote, so I don't feel right un-hammering.
@Downgoat If you have dupe-close-hammer privileges, you have un-hammer privileges, too, provided it was closed as a dupe. If it was closed as "Unclear," say, you couldn't hammer it open.
 
well, I've casted my reopen vote. If either of you agree with me, feel free to un-hammer, but if not, that's fine :)
 
Dang. Time to close TNB.
 
5:55 PM
I thought you PPCG people might appreciate this:
7
Q: Let translation-golf begin: Fragmento de "Breakfast at Tiffany's" sobre los miedos del personaje principal

fedorquiEl otro día Carlos Alejo propuso que realizáramos un juego: a ver quién es capaz de traducir un texto con el menor número de caracteres manteniendo su sentido original y utilizando un lenguaje homogéneo (variantes regionales de un solo lugar). ¿Empezamos? Las reglas están en This is translation-...

 
Heh, that's fun, though I don't know much Spanish so I don't understand most of it
 
What's even funnier is to stick the whole page into an online translator and look for slight differences between the double-translated versions.
 
6:23 PM
@Downgoat I wish I could see the entire Japanese part
I wanted to see what Google Translate says
But I can't figure out what the Kanji is, and of course we can only see the 2nd line
The right half of the kanji is 舎
'house'
 
I would guess "area" for the kanji?
 
@ETHproductions Just click the "Translate this page" button that Chrome provides
@TuxCopter I don't mean the translation, I want to know the kanji character
 
Oh
 
@TuxCopter Plus, we already know it was a poor translation.
 
0
Q: Multiple Accounts

wsbltcI know someone on this site (who I'm going to keep anonymous) who has 2 accounts. We've had a bit of an argument about whether this is allowed and I wanted to ask here. He says that it's fine because he never upvotes, downvotes or gets involved in his questions or answers. I don't agree with thi...

 
6:48 PM
@NewMetaPosts There are people who have accounts for their bots, right?
chat bots?
 
Correct
 
I have a sock
 
00:00 - 19:0019:00 - 00:00

« first day (2258 days earlier)      last day (2586 days later) »