« first day (1846 days earlier)      last day (3014 days later) » 

7:01 PM
Challenge: Using alex-style logic, prove P=NP or/and P!=NP.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Alex-style logic?
 
@VoteToClose Like alex-style addition.
 
@quartata The compression paper is still worse.
 
@mınxomaτ What compression paper?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What's alex-style addition? c:
 
7:05 PM
Wait a sec, trying to find it again...
 
@VoteToClose voici:
46
Q: Alex-style Addition

quartataInspired by Alex's glorious Learn you an R for great good, we are going to humbly recreate Alex's "one true R program" -- but with a twist. Alex-style Addition works like this -- it has a 90% chance of simply returning the sum of the two numbers given and a 10% chance of recursively Alex-adding ...

 
Oh, lol, I answered that.
Twice. o-o
 
@Zgarb Here's a quote:
> In
these technique we propose a stronger coding strategy, which can provide higher compression ratios and higher security towards all
possible ways in which of attacks while transmission.
 
Looks promising. :D
 
> There is a growing demand for speedy compression of data, which can be made possible by achieving compression.
 
7:09 PM
/me claps.
You nailed it.
gud jub
 
TIL -- compression can be achieved by compression.
 
@TimmyD Not just any compression, speedy compression.
 
The whole thing is written like this. But the best thing about it is the layout.
(actual layout)
 
Anonymous
@mınxomaτ I made something like that when I was 5
 
@mınxomaτ :U
 
7:12 PM
First I though "well, it takes dedication to fuck up a LaTeX layout this bad", then I saw the PDF title started with "Microsoft Word"...
 
@mınxomaτ Looks like HyperCard barfed...
 
@mınxomaτ oh dear I remember that one
 
@mınxomaτ Hm, the CPU looks slower, but 4 times the RAM and 23 times the disk space is attractive.
 
@Dennis I could make you a test account on one of mine for testing if you want. (but not this week). The billing is month to month though, so not really a big deal to cancel.
(Though I only have the SSD models, with 4G)
 
Anonymous
Slower CPU shouldn't make much of a difference
 
7:19 PM
Uh, that EUR 10 SSD model looks really good.
And it's available, unlike all the HDD models.
 
You really have to snipe them. If one is available, it's gone in like 10 minutes because it's so cheap...
 
I think 40 GB SSD beats 1 TB HDD for my purposes.
 
Anonymous
Absolutely
 
Anonymous
With a webserver, the bottleneck is always either the network or the hd
 
Anonymous
Having an SSD usually dramatically improves performance
 
7:23 PM
Yes.
Speedtest from one of mine. Network shouldn't be a problem.
 
someone, help
 
man orlp
 
Anonymous
Have you tried turning it off and on again?
 
I don't understand the new challenge.
 
The Monopoly one?
 
7:28 PM
Yes @TimmyD
It makes no sense
HELP PLEASE I NEED HALP
I NEED AN ADULT
 
I posted a comment, downvoted, and close-voted.
I don't understand the 3 upvotes.
"Ooo, pretty picture of a Monopoly board." +1
 
@TimmyD I am guilty of this.
40
Q: It's super effective!

orlp In Pokémon there are 18 types: Normal Fighting Flying Poison Ground Rock Bug Ghost Steel Fire Water Grass Electric Psychic Ice Dragon Dark Fairy A Pokémon can have single or dual typing. For example, Pikachu is Electric, and Tyranitar is Rock/Dark. The orde...

 
@Quill Thanks for the input
 
Having that picture there was not an accident :P
@Calvin'sHobbies High five! ,o/
 
Hmm, the Monopoly challenge actually has a nice underlying idea.
You have a fixed directed graph, and your program should print a path through it. Score is length of program plus length of path.
Too bad the Monopoly board is a boring graph...
 
Anonymous
8:00 PM
Challenge idea: given a non-flat list, output lists representing the scalar elements of each nesting level, in their original order in the list when read LTR. Example: [1, 2, [3, [4, 5], 6, [7, 8]] -> [1, 2], [3, 6], [4, 5, 7, 8]
 
0
A: The "Do While False" idiom

Cᴏɴᴏʀ O'BʀɪᴇɴNTFJ, 110 bytes ##~~~~~#@|########@|~#~~~~~#@*(~#~~~~#~@*########@^)~#~~~~##@*##~~~~~#@|########@|(~#~~~#~~@*):~||(~#~~~#~#@*) That was certainly entertaining. Try it out here, using two characters (0 or 1) as input. Using ETHProduction's method for converting to 0, 1 (characters) to bits, th...

@ETHproductions
 
Just saw that as I posted Japt
 
@Mego Nice idea!
 
@Mego I feel like I've seen this before...
 
8:03 PM
Yeah, that looks familiar
This is pretty similar
29
Q: Unflatten an Array

Martin BüttnerThis challenge was inspired by a question on Mathematica.SE. Say you've got a nested list/array of some arbitrary structure (the lists at each level don't necessarily have the same length). For simplicity, we'll assume that the nodes are non-negative integers or empty arrays. As an example [[[1...

 
Anonymous
@TimmyD That's not similar at all, other than the fact that it also deals with nested lists
 
0
Q: Shortest binary number in range

orlpGiven two arbitrarily precise decimal numbers 0 ≤ x < y ≤ 1, compute the shortest (in digits) binary number b such that x ≤ b < y. Output the binary digits of b after the binary point as an array or a string of zeroes and ones. Note that the empty array means 0.0, by virtue of deleting trailing ...

 
Anonymous
Posted mine to sandbox
 
Sure it is. You're essentially flattening the array, you're just changing how you're iterating through it.
I didn't say it was a dupe, I just said it's similar.
 
0
A: Sandbox for Proposed Challenges

MegoLeaving the Nest Given a non-flat list of integers, output lists containing the scalar values of each nesting level, starting with the least-nested level, with the scalar values in their original order in the input list when read left-to-right. If two or more lists are at the same nesting level ...

 
8:15 PM
@NewSandboxedPosts Aw, the little penguin is leaving the nest
 
Anonymous
We don't have nests. We have cuddle puddles for warmth.
 
Spoiler alert: it does
 
Anonymous
@AlexA. Very useful subject line, 10/10 would read again...or would I?!
 
Anonymous
Using an interrobang is the surest way to say "this is not actually worth reading/watching"
 
4/7 would delete again
 
8:19 PM
I'm presuming you have non-empty lists, Mego?
 
Anonymous
@TimmyD It doesn't matter either way, since empty lists won't affect the output.
 
@AlexA. Spoiler alert: this is a spoiler
 
@Mego OK, so [1, 2, [], 3] shouldn't output [1, 2, 3] []?
 
@ETHproductions Would a car with a spoiler be deemed "spoiled"?
 
Spoiled as in given too much attention, yes
 
8:21 PM
That could be in the sense of children or of milk
 
Anonymous
@TimmyD Correct. You're only concerned about the integer values.
 
Anonymous
I added clarification that there won't be any empty lists in the input
 
Groovy (not the language)
 
fun fact
2
Q: Shortest binary number in range

orlpGiven two arbitrarily precise decimal numbers 0 ≤ x < y ≤ 1, compute the shortest (in digits) binary number b such that x ≤ b < y. Output the binary digits of b after the binary point as an array or a string of zeroes and ones. Note that the empty array means 0.0, by virtue of deleting trailing ...

this is actually the same as finding x <= b / 2^m < y with integer b, m such that m is as small as possible
 
Anonymous
28 rep away from 6k \o/
 
8:25 PM
> Built-ins that trivialize this problem are disallowed.
What you got against Mathematica?
 
@TimmyD ^^
 
Anonymous
This challenge really needs more answers:
 
Anonymous
4
Q: Write a Semiquine

MegoSuppose you have 2 languages, A and B. A string s is a semiquine in A and B if it satisfies the following conditions: s is a quine in language A. s is a polyglot in A and B. The output of running s as a B program is a different string s', which is a quine in B. The goal of this challenge is t...

 
@Mego I hate writing quines =/
 
^
 
8:28 PM
> Never gonna wood you up ... Never gonna chuck you down ...
 
@TimmyD ಠ_ಠ
How much wood could a woodchuck chuck if Rick Astley could Chuck Norris?
 
Anonymous
@TimmyD Better than chuck you up
 
Anonymous
Now we get to wait for the "why is this a duplicate" edit that should be a comment
 
It's deleted
 
Anonymous
And then the "why is this a dupe" meta post that gets closed as a dupe of the daft punk one
 
Anonymous
8:30 PM
Oh that's nice
 
Does this happen on every site, or just on ours?
The "why is this a duplicate" edit, I mean
 
Anonymous
I'm not active enough on other sites to be able to judge
 
Primarily ours since duplicate checking is a little less objective
On SO it's usually "exact same question asked here"
 
I think SO gets too many questions for anyone to be able to tell if it's a dupe or not.
 
People on Stack Overflow usually answer duplicates first to rep farm, then flag as a duplicate.
 
Anonymous
8:31 PM
But I'd guess it happens much more often on ours because we have a much broader definition of duplicate
 
That's a fair point.
 
@TimmyD In my experience, the search bar works wonders for locating dupes on SO. :P
@Mego Very good point indeed.
 
@AlexA. Surch ... bahr?
 
Anonymous
If Puzzling got enough questions to start seeing duplicates, it would probably happen over there, too
 
@TimmyD I think it's some kind of Dutch pancake
 
8:33 PM
Mmm
> Microsoft Office Excel cannot find the data you're searching for.
 
hahaha
The best thing to come out of the Netherlands other than orlp:
 
Yeah, that guy is special.
 
Who, orlp?
 
Anonymous
I thought stroopwafel was the best thing to come out of the Netherlands
 
Anonymous
Have I been deceived?
 
8:38 PM
Focus > stroopwafel
 
Anonymous
:o
 
@AlexA. Sure, him, too. ;-)
 
:P
 
How about hagelslag
 
woah, uh, pro tip: don't try to calculate 2 to the power of 999999999 with BigDecimals in a language that will let you
took forever to kill -9 it because my laptop got so slow
 
8:40 PM
hah
 
I blame @orlp :P
 
@Doorknob this is actually a linux distro problem
 
Anonymous
 
@Doorknob I could have told you that. :P
 
@Doorknob it uses too much memory, and linux gets into problem because of memory overcommit
 
8:41 PM
@Doorknob I hate it when that happens :/
 
I still don't know how to simply terminate a process if it uses too much memory =/
 
Anonymous
Isn't there a way to set memory limits on processes?
 
Anonymous
And then if the process hits the limit it'll die from OutOfMemoryException or MemoryError or std::bad_alloc or whatever
 
@Adnan mm sprinkles
I think I would miss sprinkles
 
@Adnan dafuq izzat
 
8:44 PM
@Mego Hmm I know there's timeout for time
@AlexA. sprinkles
 
Speaking of memory limits, I never did mention that I "solved" that problem a couple weeks ago.
"solved" because it's pretty clunky.
 
If a process uses too much memory, yank out the RAM?
 
hahaha
 
Hard to do that when I don't know where the server is. :P
 
"No more of this for you."
@El'endiaStarman Fair
 
8:46 PM
@Adnan Just sprinkles on bread? Seems like it's missing something.
 
I wonder what exactly would happen if you yank the RAM out of a computer while it's running.
 
Depends on the RAM
and what's in it
 
Bad things. But I'm wondering too.
 
@quartata I did a stupid and tried to plain kill it first, which just wasted time -_-
 
Anonymous
@AlexA. It would probably stop working
 
8:47 PM
@Doorknob Gotta go for killall -9
 
@Mego No way!
 
Anonymous
killall humans
 
No messing around with process ids
 
@quartata kill -9 %1
 
@Mego "Hey baby, you wanna kill all humans?"
 
8:47 PM
Why on earth did you have it running in the background
 
10
Q: What will happen if I remove the RAM while the computer is on?

JEnieWhat will happen if I remove the RAM while the computer is on?

 
@AlexA. +1 for Futurama
 
Anonymous
@quartata butbutbut I made the reference first!
 
@quartata Mashing on ^C didn't stop it so I had to ^Z it instead
 
8:48 PM
@Doorknob pleb
Just open a new virtual console
 
hah, like that would have been possible :P
 
@Doorknob True usually you have to wait a minute
@Mego +2 for FMITW
 
btw, BigDecimal(2)**999999999 is as many 9s as Ruby's BigDecimal will go on my machine before Ruby throws a MemoryError. I discovered this by trying with one 9 less each time. I don't know what I expected. I am not a smart person -_-
 
Anonymous
Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! Do it!! — ChrisA Sep 7 '10 at 19:05
 
@Doorknob method of exhaustion! It's a perfectly valid strategy.
:P
@Mego haha
 
8:51 PM
FWIW, plenty of servers and server OS's support hot-add of memory ... it's the swap that tends to be problematic.
 
@quartata Fastest Mego in the weast?
"Oh, east? I thought you said weast."
 
fastest memer in the west
 
Anonymous
You could theoretically have a server OS that supported hot-swapping memory. Issue a command on the server that swaps that memory card's data to disk, replace the card, swap it back with another command.
 
But that works too
 
Anonymous
@AlexA. Nice spongebob reference there
 
8:54 PM
Hooray, somebody noticed
And it was senpai, no less
 
Can someone here access pouet.net? I get a timeout...
 
@mınxomaτ Works fine for me
 
Anonymous
 
Arghhh....
 
Man, with virtualized memory and hardware abstraction, you'd think this would be fairly easy.
 
Anonymous
8:55 PM
Wow the demoscene is still around?
 
It's growing again.
 
@Mego Gotta love the tiled trumpet silhouettes
 
Anonymous
@AlexA. But who will be champ?
 
what
 
@Mego THAT QUESTION WILL BE ANSWERED THIS SUNDAY NIGHT
 
8:56 PM
Slow day today.
 
@Mego In fact, Revision is up next. Let's see if we can beat last year's visitor count. I'll be there.
 
On the first page of Code Review's question list, only two questions have answers.
 
Anonymous
@AlexA. CR tends to have a long lag between questions asked and answers posted
 
Anonymous
It takes time to write good code
 
Anonymous
Unless you're Adam Kovic, of course
 
8:58 PM
@lirtosiast whoa user name change
 
Back up to 10.4 qpd!
 
@Mego ?
 
@Doorknob Not the peak, but...
 
I'm having Charcoal HQ flashbacks
 
@quartata you just noticed? :P
 
8:59 PM
And by flashbacks I mean a week ago when Normal changed their name again
@Doorknob Er yes
 
@Doorknob There's another funny implementation.
 
for what?
 
Convert x, y to binary (these might be repeating infinite fractions).
Then b is the longest common prefix of x and y.
 
oh, yeah, I thought about doing that but eventually decided it would be less golfy
BigDecimal doesn't do base conversions
 
@Doorknob BigDecimal? What language is this?
 
9:02 PM
Ruby
 
Man. I wish Java had a native BigDecimal. D:
All we have is BigInteger.
Which is totally useless for most things.
 
...fml
 
@Mego Beautiful. I haven't seen that.
 
9:04 PM
Hah. PowerShell has four bases you can convert to/from ... 2, 8, 10, and 16 ... and with some trickery, Base64 encoding
 
Anonymous
@AlexA. Source
 
This afternoon will mark the fourth day of my waiting for my domain name transfer to complete. In the meantime I'm still stuck with having to use my school email and having no real email address -_-
 
@Mego Posted today. No wonder I haven't seen it.
@Doorknob RIP
 
Anonymous
@Doorknob Man when I was your age my biggest concern was breaking reeds
 
Anonymous
Kids these days #smh
 
9:09 PM
@Mego Clarinet or sax?
 
Anonymous
@TimmyD Clarinet
 
Anonymous
Though bassoon, oboe, and english horn are also reed instruments
 
Sure, but I went with the odds.
 
Anonymous
Have you seen a bassoon? It's pretty damn odd
 
@Doorknob managing domains sucks
@VoteToClose Java does have one...
 
Anonymous
9:11 PM
 
@quartata actually I just forgot to renew mine and let it expire because I'm an idiot
 
oh haha
 
@quartata Excuse me while I redo all of Vitsy's stack-related items.
 
Although, to be fair, my high school band did have two bass clarinets and a contrabass clarinet out of a total student population of like 450 ...
 
@VoteToClose lmao
@Mego where is this from it's familiar to me but I can't remember
 
9:13 PM
I Googled the image and found this as about the third result
 
Anonymous
@quartata Pirates! The Band of Misfits
 
And so my watch begins...
 
@Mego ye that's it
 
Anonymous
Err, wrong Pirates movie apparently
 
oh oops
 
9:14 PM
@VoteToClose uh what is this bunch of rectangles supposed to mean
 
Anonymous
@VoteToClose what on earth
 
@Doorknob Red box means error, clear box means resolved error, but not saved (eclipse).
 
@Mego Means there's an error on this line in every IDE known to mankind
 
0
Q: Calculate questions per day on CodeGolf.SE

Alex A.I wrote a short script in Python 3 that connects to the Stack Exchange API, gets all questions on Programming Puzzles & Code Golf over the past two weeks, and determines the average number of questions per day as well as the average number of answers per question. The number of questions per day...

PPCG makes an appearance on Code Review
cc @Quill
 
2 days ago, by Doorknob
user image
:P
I've actually been meaning to post some Rust on CR, but I never got around to doing it
 
9:22 PM
You should. I'd love to see some quality Rust code. It looks like a neat language.
 
@quartata I'm sorry for any disruption it may cause
 
*facepalm*
Dev: Why is the build server running so slow?
Me: We have a build going. Maybe that's the problem?
Dev: Stop your build. We have a delivery to make.
Supervisor: Their build is almost done. Just wait a second.
Other dev: Whoops, I had something running on that machine.
Tech support: Whoops, we had a full backup going on that machine.
4
 
@lirtosiast I'm so disrupted right now
 
@lirtosiast nah it's nothing
@Rainbolt hahahahaha
 
Guys, one of @AlexA.'s posts has 15000 views on CR. D:
8
Q: Extract Excel data using Interop.Excel from C#

Alex A.Code Objective I need to create a System.Data.DataSet object from an Excel workbook. Each DataTable within the DataSet must correspond to a nonempty worksheet in the workbook. The top row of each sheet will be used as column names for each DataTable and the columns will be populated as the string...

 
9:26 PM
@VoteToClose It was my first gold badge on the SE network!
And I got it on Code Review, like a chump
 
kek
 
@Rainbolt Why not have the security team also run a full-disk virus scan while they're at it.
 
@TimmyD Butter?
 
Sprinkles, butter, bread. That actually sounds pretty good.
 
Hmmm, now I'm hungry
 
9:37 PM
mm
I just ate too...
 
0
A: Sandbox for Proposed Challenges

Morgan ThrappTaxi some numbers to me. code-golf Taxicab Numbers are numbers that are able to be represented as n different sums of positive cubed integers. Only 6 taxicab numbers have been discovered so far, so you're going to have to print all of them. The numbers are 2, 1729, 87539319, 6963472309248, 489...

 
@AlexA. You don't have fanatic? o_o
 
I have successfully made an auto-sneaker for Skyrim and am gaining Sneak stats like a champ.
 
@MartinBüttner my binary fraction challenge is actually part of an anonymous multi-hole golf challenge
 
@quartata Awww, now I'm jealous
:(
 
9:40 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I have 3 gold badges here. But I got my gold on CR before I had gold anywhere else.
 
I have Fanatic, Electorate, and golf Code Golf.
I have Famous Question on CR.
 
6
Q: Singly lossy integers: Concatenated sequences missing a single element

mbomb007I define the method of combining a sequence to mean that every number in the sequence is concatenated as a string, then that result is made an integer. [1, 2, 3] -> 123 For every finite sequence of at least 3 consecutive integers, missing exactly one element in the sequence, and this missing e...

0
Q: Implement branchless binary search

Michael KleinChallenge Implement binary search on a list of length 256 with no branches. Rules Branches include: if/then, switch, case, for, while, ?:, guards, and all other branches Entry may be a function or full program Input is a list-like object, so space/newline/comma separated string, list, vector,...

 
what is this I don't even:
This isn't that clever... — theonlygusti 2 mins ago
 
9:42 PM
Hahaha
 
"You're not that clever!" ;-)
 
thanks for the upvote :P
 
Chat poll: I have a function, say f, that can take one, two or three inputs, which are either numbers or arbitrarily nested lists of numbers. f(a) gives the prefixes of list a (numbers are converted to ranges). f(a, b) gives the length-b substrings of a. What should f(a, b, c) give?
 
@Zgarb I would do either length-b or length-c substrings, or perhaps substrings common to a and c.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Hmm, there's a possibility: substrings of length between b and c.
 
9:49 PM
^ that too! I like that better actually.
 
@Zgarb All possible combinations of length-b substrings with c characters removed.
That would be useful for the Singly Lossy Integers challenge I posted.
Maybe...
If instead of characters it was lists.
 
@mbomb007 That would be useful too, but not as natural, I think...
 

« first day (1846 days earlier)      last day (3014 days later) »