« first day (1782 days earlier)      last day (3063 days later) » 

4:00 AM
This drought goat out of hand
 
lol
 
@Doorknob冰 0/10 Would flag again.
 
Is that a pun? I wish it is.
 
Ok, so according to @AlienG., it is Google vs. Bing vs. duckduckgo.com
 
4:02 AM
wut
 
@AlexA. ... what
 
@ Wrong - what is that?!?!
 
gn Dennis!
 
4:15 AM
I leave for 10 minutes and there is only zero unread chat messages. Are you guys feeling ill?
 
If I installed a program with Homebrew, how do I run it?
 
@GamrCorps Mash potato
 
@feersum so gcc finally installed?
 
Homebrew will be declared the winner, if I can find out how to run gcc.
It had a 100-minute head start though.
Google has been really useless today.
 
If Googol is bad, try Bing!
 
4:17 AM
> @Feersum
!!!!!!!!!
 
Nothing is wrong with 10^100.
 
@AMPORA WHAT HAVE YOU DONE
 
ksdddlkjlkjlkj
 
hahaha
/me saw that
 
@Ampora You said removed... e...
 
4:20 AM
The removed message also had multiple e's. :P
 
EEEEEEEK give me a break, sheesh
 
We knew he must crack some day...
 
My friend left himself logged in :P
 
Your end has finally come
E-less Ampora is no more!
 
ABCDFGHIJKLMNOPQRSTUVWXYZABCDFGHIJKLMNOPQRSTUVWXYZABCDFGHIJKLMNOPQRSTUVWXYZABCDF‌​GHIJKLMNOPQRSTUVWXYZABCDFGHIJKLMNOPQRSTUVWXYZABCDFGHIJKLMNOPQRSTUVWXYZ
It's b/c that whip/naynay song is playing on Pandora and I can't find it
Back to normal. Why that did show up on my Pandora station I do not know but it was annoying af and did show cataclysmic things
 
4:24 AM
@Ampora is still in denial about the fact that he used E. :P
 
Don't make me delete my S/E account in shame
 
>:D
Okay, timE to slEEp for mE.
 
@Doorknob冰, I don't appr ciat this at all.
 
                    e    e
 
That didn't work :(
 
4:25 AM
10/10 for effort.
 
-v-n th- b-st mak- mistak-s
 
E-e- --e -e-- ---e ------e-
 
Got it!
I'm gonna not b on PPCG for a good # of hours. cya all
 
@MartinBüttner I have a suggestion for Hexagony. IIRC, the size of the hexagon is determined by the lowest size possible that fits all of the supplied source code. The program XX would be the 7-cell hexagon, while XX......is needed to force it to be the 19-cell hexagon. My suggestion is to make it so the the number of no-ops at the end determines how many extra sizes to make it. So, the XX would be 7-cell, XX. would be 19-cell, and XX.. would be 37-cell.
 
5:04 AM
@PhiNotPI How would that be useful?
 
In corner cases where you are golfing Hexagony, and need it to be of a certain size, but your golfed program is actually small enough that it only fills up a smaller hexagon.
 
In particular, it would make existing programs invalid that write out the no-ops at the end to show the whole hexagon
 
It's a golfing suggestion, I'm not claiming any aesthetically attractive value.
 
I can't speak on @MartinBüttner's behalf, but I strongly suspect the fact that your suggestion is a breaking change is a deal-breaker
 
1
A: Product over a range

CyocePlatyPar, 2 bytes _p _ gets the range (inclusive) of two inputs, p finds the product of the range. I forgot about that operator.

now only 2 bytes!
 
5:11 AM
@Cyoce What does your username mean? :-)
 
"Cyoce" ?
 
Yes
 
I made it up
 
OK, same here :-) How do you pronounce it?
 
sigh-ose
nobody can pronounce it except for siri
 
5:12 AM
Ah OK
My guess would have been "kyose"
But now that you revealed it, yours makes more sense
 
that's the second-most common, after "kois"
 
 
1 hour later…
6:17 AM
@Maltysen neither
 
6:39 AM
0
A: Make a scalable Christmas Tree

FlagAsSpamAppleScript + SE Answer Actually picked this up by accident while editing an answer in this question. Go figure. tell application "System Events" set layers to (display dialog "" default answer "")'s text returned as number delay 5 repeat layers times keystroke ">" end r...

C'mon, I used SE answers as a part of my answer.
 
7:06 AM
I think I like this one the most:
17
A: Make a scalable Christmas Tree

Milo YipC Sample output for depth=4, zoom=2.0 This answer employs an approach quite different from other answers. It generates a tree structure by recursively branching. Each branch is represented by a set of circles. And finally the main function samples the circles and fill with characters when cir...

 
7:19 AM
Google fails me once again. It won't tell me how to make tab insert spaces in the Mac's default text editor.
I think it may have been hijacked and the results replaced with ones from Ask Jeeves.
 
A riveting horror story if there ever was one.
 
Hey all!
I'm back!
remember me? from two weeks ago?
 
what's new?
 
7:28 AM
any name changes? new PPCG posts?
 
(It's a work in progress.)
 
who's BrainSteel?
 
A PPCG member.
 
7:39 AM
in Tavern on the Meta on Meta Stack Exchange Chat, yesterday, by Doorknob 冰
@Pops ... I'm an idiot
@quartata ^
Pinned in chat.meta.se.
 
Hi everyone
 
7:56 AM
Do you guys have any recommendations for software for transferring files between machines over LAN?
Preferably working between any popular OSes.
 
@feersum Usually, I would recommend to not use softwares for that
between windows you can simply use powershell, ssh for unix
 
powershell and ssh aren't software?
Anyway my brain is 1000 times too primitive to understand Powershell.
 
@feersum ssh is a shell command so no, and powershell is a shell so... yeah we could say it is
If you want to do a windows - Unix transfer, just use some FTP/SCP softwares
 
@feersum I know of WinSCP, which can transfer files between Windows and Windows/Linux, at least. I've not used it over a LAN network, though, but that shouldn't be too hard to figure out.
 
@feersum powershell isn't really hard ^^'
 
 
1 hour later…
9:17 AM
0
Q: Russian Roulette, Revisited

yuki96Let's play Russian Roulette! Normally, this would be a race to write the shortest MOD 6 program, but that's not very realistic, as the chance of winning decreases with each click. Here are the rules: Emulate a real six-shooter: The chance of losing on the first try is 1/6. The chance of los...

 
A pyth question. Can someone help me figure out why this doesn't work? pyth.herokuapp.com/…
It's supposed to count the number of occurences of the digit 2 in each number from 0 to 22
tried splitting it up and running each part individually for debugging, and it seems to work
I'm probably using map wrong
Ah, it's lambda THEN the sequence, not the other way around. Fixed it
 
9:54 AM
@Pwntheon A couple other things: You can use a backtick instead of +k, and just Q instead of UQ in that spot.
 
This is so beautiful: i.imgur.com/viJrGqt.gifv
3
 
@mınxomaτ I would love to see his face ^^
 
@Katenkyo :| :) :O \o/
 
Awesome, isaacg. Thanks for the tip (and a cool language).
 
No problem, and thanks!
 
10:08 AM
@isaacg Program works, nicely, but it can't support a large enough number
Gotta count until 12345678987654321
(running it locally so speed in online interpreter isn't a problem)
OverflowError: Python int too large to convert to C ssize_t
i thought python automatically supported big integers?
 
It does
But not big arrays
 
Humm, that's a bummer
 
You'll need to set up a while loop instead
WQ=+Z/Q\2=tQ;Z` should do it.
Also, @Pwntheon, you'd almost definitely throw a memory error trying to make an array that big, even without the built-in limitation.
 
That makes sense. Not used to working with huge numbers/datasets
@isaacg that program didn't run but i'll try to figure it out
 
What do you mean by didn't run? It's going to take a very long time
It's a very large input.
 
10:20 AM
no, even for 22 as input. Stuck a backtick before the second Q and it worked
WQ=+Z/`Q\2=tQ;Z <- That worked
 
Yeah, it had a backtick originally
It got messed up by the chat system
 
Np, helps me to learn anyways :)
 
10:36 AM
Any idea if that program would take more than 5 hours to run? The challenge has a time limit. I'm on a mid range laptop.
 
I'd estimate 10^12 seconds
Or 31 thousand years
From my timing of small examples.
It's very clearly a problem that you're supposed to come up with a clever solution to, not brute force.
 
Yeah, i'm starting to think so too
counting 2s is predictable though, seeing as there's one per 10 digits. Could probably just calculate it
 
10:54 AM
hi all
how hard do you think it is to write code to remove duplicate pages from a pdf?
I would like to ask it as a challenge but I am not sure what tools exactly one would use
 
@Lembik depends of the tools you're using I think
 
@Katenkyo which tools are there that you can use from code?
free tools I mean
 
I've only used one so far, and it was for powershell
Will look at it, see if it was cross-language (maybe a .Net)
 
@Katenkyo thanks
 
@Lembik I was using iTextSharp, which is a .NET library
looks like there's a lot of free pdf library, but all are implemented aparts, so it will be a big probleme for a challenge
You could be greatly penalized only because your library is poor/verbosed/badly designed
 
11:14 AM
@Katenkyo how about if you get a free hand which free library you choose to use?
@Katenkyo then it's your fault if you choose a poor/verbosed/badly designed one
 
@Lembik If there's only 1 free for more most languages, not really ^^'
I would use PoSH with iTextSharp or lua with a random library (better than C at string parsing ^^)
(eating time )
 
cat
12:08 PM
I'd like to know what others think of this.
 
12:33 PM
@cat what the fuck did I just read...
does he thinks that 0 and 1 should count as 1 bit and not byte because they are in base 2 range?
 
cat
12:55 PM
@Katenkyo I guess so... At least he accepted my edit, but the submission is still wrong.
 
@cat I will try it
It print itself only once...
 
cat
@Katenkyo Yeah, exactly. Should I flag it as Not An Answer? I already asked him to edit it
 
@cat Let him 30 mins to edit, then flag it
 
cat
@Katenkyo Alright, thanks
 
@Katenkyo @cat NAA flags are for posts that do not attempt to answer the question (or here, solve the challenge), such as requests for clarification. If an answer is simply wrong, downvote it.
 
1:04 PM
We have a decline reason for this, too:
> declined - flags should not be used to indicate technical inaccuracies, or an altogether wrong answer
 
cat
@Dennis @Doorknob冰 Okay, good to know, thanks
 
@Dennis @Doorknob冰 nerver flagged a post, so didn't see which flags we have ^^. But i will remember it, thanks :)
 
@Mego hi
 
Gentlemen, I am confused by the moving letters challenge. I'm not even sure how to go about it in Python 3, it's got me so confused.
Like my code checks every letter that needs to be moved in the string.
 
cat
@Sherlock9 It doesn't seem that hard...?
 
1:09 PM
But I... I'm not getting my head around the logic
 
cat
@Sherlock9 Isn't it just ordering the letters alphabetically?
 
@cat Yeah but i have trouble with arrays where the things you have to iterate over change position in the loop
Nope
 
@Sherlock9 hum, data structure following this one (originalLocation,ActualLocation,letter/value) and you could work with that
 
@Katenkyo Ah, that could work. Thanks
I guess I'll use named tuple or something. Wouldn't be very golfed but shrug
 
@Sherlock9 And when you're moving a char, you increment the ones with greater actualLocation
Some works on matrices.‌​.. well, should go for it as I didn't pay attention during my studies ^^'
 
1:21 PM
I've completely rewritten my Sierpinski-triangle sandbox post. I think it's a lot more interesting in this more "applied" form:
1
A: Sandbox for Proposed Challenges

Martin BüttnerHelp, I'm trapped in a Sierpinski triangle! code-golf fractal graphs path-finding Drawing the Sierpinski triangle has been done to death. There's other interesting things we can do with it though. If we squint hard enough at the triangle, we can view upside-down triangles as nodes of a fractal ...

(I wonder if the SmokeDetector would ring because of that title ^^)
 
I wish Sandbox posts didn't insist on https, because that keeps setting off "Your Connection is not secure" alarm bells for some reason
 
0
Q: Cofactor Matrices

FatalizeThe cofactor matrix is the transpose of the Adjugate Matrix. The elements of this matrix are the cofactors of the original matrix. The cofactor (i.e. the element of the cofactor matrix at row i and column j) is the determinant of the submatrix formed by deleting the ith row and jth column from ...

 
@aditsu I think an h-style while loop (which doesn't require a second block) could be quite useful for CJam, even if it was two characters.
@Dennis opinions? ^
 
How would that work?
I mean, the difference between g/h and w is that we check first if a condition is satisfied, then execute the rest of the code. How would we achieve this with only one block?
 
1:38 PM
@Dennis h checks the top of the stack without removing it. that can be done before the block is executed for the first time
@quartata I'm inclined to answer your plea and cancel all those stars. :P
 
@MartinBüttner Oh, so {…}eh would work like {_}{…}w? That could be useful, yes.
 
yes, pretty much. (except maybe that it should pop the condition at the end, if that change is made to how h works)
 
2:02 PM
I upgraded my hat.
 
2 days ago, by Alex A.
@Doorknob I'll do legatures if you do tacos
@AlexA. be advised: ungolfed tacos is done, better start working on that one :P
 
@PhiNotPi That's a cool one
 
@FlagAsSpam I almost have a way to copy Minecraft builds into a file and count bytes from there (the whole system is similar to an mcedit schematic). I am just stuck on the fact that conditional mode on the new command blocks is not a NBT tag, just a block state, so I can't just copy and paste it...
 
2:17 PM
@PhiNotPi Excellent
 
@GamrCorps Nah - you just count each command block as 2 bytes.
 
Ok so I posted my solution for the moving letters question and can you guys think of a way to golf it down from 278 bytes?
0
A: Letters, Get Moving!

Sherlock9Python 3, 278 bytes I should really golf this down better, but here is my solution, with thanks to katenkyo for their help with the logic. def m(s): l=len(s);p=[[i,s[i]]for i in range(l)] for i in range(l): c=s[i] if c.isalpha(): a=p[i][0];m=(a+ord(c)%32)%l;p[i][0]=m for j in range(...

 
hi @Sherlock9
 
@Sherlock9 have my upvote for putting my name in it ^^
 
Hey Lembik
@Katenkyo You helped, you get credit :)
Do you prefer a pronoun other than "their", Katenkyo?
 
2:20 PM
@Sherlock9 his is enough I think ^^'
 
Got it
 
@Sherlock9 And thanks for the credit, even if I think you could have found that by yourself :)
 
Yeah, but I was waffling on the idea and I figured it would be too verbose. You convinced to just do it anyway.
It still is a little verbose, thus I am soliciting for golfing advice
 
@Sherlock9 Haha, it happens to me pretty often ^^
I now remember why I hate working on matrices...
 
2:27 PM
@Doorknob冰 it should be Ruby on Tacos ^^
 
@Katenkyo Yeah, apologies. It seemed like the simplest way to carve up the string
Now that I think about it, bringing in named tuple or something might not be a bad idea
Actually, that probably won't save as many bytes as I think it will
 
@Sherlock9 tuples are something really nice to work with, because you won't have to put the tests in your code to verify that value a,b,c... are linked or not
 
Oh right, I need something mutable
Shoot
 
2:47 PM
0
A: Sandbox for Proposed Challenges

LukeAn or a? Duolingo, the language learning app, has a lot of things going for it, but there is one major issue that drives me crazy. It tells me how many days in a row I've used the app with a message like You're on a 7 day streak! Setting aside hyphenation and whether the number should be spelled...

 
@Doorknob冰 nom nom
@Doorknob冰 Chrome actually translated this conversation for me when I clicked on it.
I have to say that it did a much better job than Bing.
Actually I'm just kidding
> you will it, nailed Bing.
I guess it depends on how you define "better"
 
> Bing might that it is glued.
haha
(I did the same thing)
It also translated my name to "Doorknob ice"
 
@Doorknob冰 !
 
> Bing became riveted.
 
That's good.
 
3:00 PM
riveted?
 
@Doorknob冰 rivets are metal pins
So I guess that makes some sort of sense
..maybe
 
> I was glued to Bing.
 
Now THAT's a true story.
Their Klingon translator is terrible but it is still funny
 
Some day I need to write a script using the Bing API to do this automagically.
 
@Doorknob冰 That exists, translationparty.com. :P
 
3:04 PM
@ProgramFOX I know, and I've used that before, but since it's public a lot of the time the API quota is blown through and nothing works.
 
Ah.
 
Prugremmeeng Poozzles und Cude-a Gulff is a seete-a oon zee Steck Ixchunge-a netvurk ooff qooesshuns und unsvers. Bork Bork Bork!
 
o.o The kid in the background has no eyes.
 
Oh stewardess, ah' speak JIBE. Right On!
 
3:13 PM
That feeling when you've worked 2 hours on an algorythm for that and it doesn't work...
 
@FlagAsSpam you are making me install more plugins to stop the images!
memesvault is now blocked
 
@Katenkyo Yeah, that's going to be a pain in the butt
 
@Sherlock9 1400 bytes ungolfed, I think I know where the error is, but still... :'(
 
@Katenkyo still haven't decided if my pdf duplicate page challenge might work
@Katenkyo superuser.com/questions/47320/… has one solution
 
3:29 PM
@Lembik yeah, but it is a solution using more than one language ^^
 
@Katenkyo right
 
and I don't think it could work, as I said, with a language X i could have a library doing that with only 2 function, while with a language Y I would have to use a 15 line algorythme ^^
 
@Katenkyo do you really think there is a language that can do it in 2 lines?
 
FOUND THE ERROR !
I wrote a=a+p+q instead of a=a+p-q while calculating the determinant >è<
 
convert -density 150 input.pdf -quality 90 output.png seems more sensible for converting to an image
 
3:32 PM
@Lembik first -> get an array of string that contains the code for a single page, second -> compare each page with each other and remove
 
@Katenkyo yes.. I just can't think which language would make that really easy
 
:26225757 This only function could give a really big advantage to a language
 
pdftoppm -rx 300 -ry 300 -png file.pdf prefix
might be better
@Katenkyo "This only function" ?
 
@Lembik a function allowing you to retrieve datas from single pages in a convenient format ^^
 
@Katenkyo you are right
and also a function that lets you remove pages from a pdf!
I wonder how hard just doing that part is
 
4:00 PM
well leaving this for now, have to go
 
4:13 PM
Why do all my messages get removed.
 
0
A: Sandbox for Proposed Challenges

ASCIIThenANSIThis one works, but this one doesn't? underhanded popularity-contest Meet Greg. Greg is a programmer. He deals with checking programs to see if they work. If they don't, he tries to find why. Greg is rather new to programming and understands the basics, but still gets tripped up by some advance...

 
don't star my messages too!
 
@Optimizer Nice try, but we're on to you ...
 
no, seriously, I actually do not want anyone to star
2
 
@FlagAsSpam That disturbing 4 megabyte GIF? Hm, that's a mystery...
 
4:24 PM
@Dennis It was beautiful!
 
4:56 PM
woof
 
Woof?
 
Thanks, @FlagAsSpam. It was bothering me that the tags on that were wrong.
 
^Possibly th'most amazing post I can possibly wish to c
 
@NewMainPosts wanna read that, pls
 
@NewMainPosts @FlagAsSpam did you flag that yet?
 
5:13 PM
-1
Q: Compute shooting targets for the gunmen

EricThis is an extension of the well known "3 gunmen puzzle": N gunmen with hitting probabilities in (0,1] take turns to shoot at each other. They repeat this process until only one survives. A gunman's goal is to maximize his surviving probability. To be specific, consider 10 gunmen with hitti...

 
Good gravy, what's with the new posts ... :-/
 
5:30 PM
@feersum How did the race for GCC end?
 
@TimmyD Are you an onion knight too? :P
 
@Dennis He said Homebrew won.
 
@Dennis Homebrew won. I let Macports keep going but it didn't even finish.
 
Did you get the code to work with the Homebrew GCC?
 
llamafro
 
5:33 PM
No, but I found other solutions eventually.
 
After only 3+ hours. Some victory...
 
@RikerW I am. Got it the other night.
 
Testing
new
"hat".
 
dennis the ... bunny?
 
I think it's a dog.
A bunny wouldn't wear glasses. Or so I've been told.
 
5:40 PM
@Dennis when it is small, it looks like a owl on your shoulder.
 
Meh, sun glasses are something entirely different.
I'm also pretty sure that Bugs Bunny is actually a hare.
 
0
A: Loopholes that are forbidden by default

TessellatingHecklerA script invoking itself as a form of looping/recursion, where the filename has to be a specific name e.g. I answered a question with PowerShell which included sleep 1;t where the script had to be called t.ps1 and saved in the PATH, so it would call itself. I considered it maybe reasonable beca...

 
Seriously?
== Translingual == === Etymology === Created on the same principle as o_O, but using a Unicode character which more closely resembles an eye with an eyebrow (ಠ, the Kannada letter ṭha, whose codepoint is U+0CA0). === Symbol === ಠ_ಠ An emoticon representing a look of disapproval. For more examples of usage of this term, see Citations:ಠ ಠ....
 
5:50 PM
What i Find more impressive is that Article was created in 2009.
 
PPCG seems a bit late to the party...
 
@PPCG ಠ_ಠ
2
 
> And he doesn't speak English like hares normally do.
 
He is australian.
:P
 
Australians speak English
 
5:52 PM
@AlexA. Yeah, but with a different accent.
Scratch that, he is from Boston. That makes more sense.
@AlexA. refreshify pls?
 
Done
 
Thanks, now my cat isn't fractalized anymore.
 
Fracticat
 
@AlexA. Her full name is the Oncoming Storm.
 
OS
 
6:00 PM
Really? Kind of an odd name for a cat, though I suppose cats can be temperamental.
 
Any asp.net experts are welcome to look at my question on SO. It's had me stumped al day. stackoverflow.com/q/34318739/3224483
Since I figured out it only crashes in Chrome, I have almost convinced my team leader that it's acceptable.
 
6:17 PM
@RikerW 'Twas the first.
 
@NewLoopholeProposal It's been a while since I've seen that card-up-sleeve image.
 
6:39 PM
0
Q: Robot optimization

Filip HaglundYour task is to program a robot so that it reaches the hole in the ground on each of the maps within reasonable time. If the robot reaches the hole, it falls down into it and thus victory is assured, even if the program never stops running. Since the robot has to be programmed by manually punchi...

0
Q: billiard playing

DamienIn this code golf, you will have to determine the direction of the shortest shot that hits n cushions before falling into a pocket. The billiard table is a 6 pocket table(pool) with the following caracteristics: dimensions are variable (a x b) no friction : the ball will forever untill falling...

 
@mınxomaτ Someone had a good level.
 
@AlexA. You ninja'd what I was about to comment :P
 
@Doorknob冰 The ninjitsu is strong with this one
 
6:57 PM
This is like the ultimate KC challenge: prize.hutter1.net
 

« first day (1782 days earlier)      last day (3063 days later) »