« first day (1828 days earlier)      last day (3007 days later) » 

7:00 PM
2
Q: Help me Open the Box

DoᴡɴɢᴏᴀᴛI have an ASCII-art box and I need a program to open it. Examples ------- | | |_____| / / / / / / / | | |_____| Specification The first line will only consist of -, at least 3 of them The middle rows will start with | have spaces, and end with | All the mi...

 
Why is there a downvote on every single JS-based language on the PPCG programming languages meta post?
I understand JS function golf, but...
 
@ETHproductions Some people find all JSGLs just JavaScript w/ short property names and lots of unicode :(
4
 
There are some people out there who really hate JavaScript.
 
Yeah, I can understand that...
 
Why is calculating 31**9846658 so slow? :(
 
7:11 PM
...because you're multiplying a hell of a lot.
 
9846658 multiplications is bound to take a while...
 
I sincerely hope that Python doesn't implement it that way...
If it does, I'll slap the Python devs with a trout!
4
 
How else could it be implemented?
 
In mathematics and computer programming, exponentiating by squaring is a general method for fast computation of large positive integer powers of a number, or more generally of an element of a semigroup, like a polynomial or a square matrix. Some variants are commonly referred to as square-and-multiply algorithms or binary exponentiation. These can be of quite general use, for example in modular arithmetic or powering of matrices. For semigroups for which additive notation is commonly used, like elliptic curves used in cryptography, this method is also referred to as double-and-add. == Basic... ==
 
Oh yes, that's a much better time complexity
 
7:15 PM
Comparable to the difference between walking on two broken legs and driving a Ferrari.
 
I find it hard to imagine that one would be able to drive a Ferrari well with two broken legs.
 
If the compiler/interpreter existed before the challenge was posted, yes.
 
Well, isn't a standard loophole?
 
@justaprogrammer Technically, yes. The feature existed before the challenge was posted, so there's nothing wrong with it. (The 0-byte program isn't a loophole unless used e.g. to produce no output, e.g. a quine :P)
 
7:24 PM
36
A: Loopholes that are forbidden by default

DennisZero-length answers Considering an empty program a quine was original in the 1994 IOCCC. Over two decades later, if you can answer a question with an empty program and that question is scored by length (e.g., code-golf) and is tagged as quine, source-layout or restricted-source, just notify th...

 
@Doᴡɴɢᴏᴀᴛ None of the standard loopholes mention wells.
@Doᴡɴɢᴏᴀᴛ That is only for quines and related challenges.
 
That moment when you golf off 40 bytes... then you're sad because Java.
 
LOL
I recently golfed 32 bytes off of a 51-byte program
 
7:27 PM
RIP my reading
 
Not a Java answer, obviously. I don't believe a non-erroring 19-byte Java program is physically possible :P
 
Sure it is, as long as you don't mind compiler errors.
 
would it be okay to write an answer to a question with "noncompeting" clearly marked and then say "this would totally work except that there's no way to input newlines in this language, to test it replace all 10s with 9s and enter the input with each line separated by a tab"? i'm not sure if that would fall under "knowingly posting an answer that doesn't meet the spec" considering that a) it's a fairly small thing b) it's a language limitation
if no one answers by the time i'm done writing it, i'm just going to post it, but i won't be offended if i'm asked to delete it after ;P
 
What language is this?
And which challenge?
 
at some point i need to update the pb interpreter so it gets input with sys.stdin.read() instead of raw_input()
i suppose what i could do is just update the interpreter now and then mark the answer "noncompeting" and say "this requires a version of pbi newer than the challenge"
i think i just talked myself out of having a problem. this is why rubber duck debugging works :P
 
@El'endiaStarman it does indeed
 
there are so many things called pb
i just googled "pb github" and i'm not on the first six pages
most of them have to do with golang. i'm not sure why
 
@undergroundmonorail That's probably the best approach.
 
i think so too. ty
 
@VoteToClose You changed your name back? :D
 
7:52 PM
Please don't do this to Donald Trump — steveverrill 2 days ago
Hah!
 
I know there's a way to check if stdin is a terminal or a file/output of another program/whatever in Python because I've done it, but I forget how. I can't find anything on Google. The only place I know I can find it is my own answer here on PPCG. Don't let anyone tell you this site hasn't helped people.
4
 
^ attempted chat redesign
 
that's a nice font but other than that all i can see that's different is you made the buttons green
 
@undergroundmonorail Well the background is gone
 
if you did more than that don't take it as an insult, i don't have an eye for design haha
 
7:54 PM
Chat doesn't need redesign.
 
@Doᴡɴɢᴏᴀᴛ Please add a function to make images have a little popup if you hover over links in the starboard
 
ohh i see
 
^^
 
Is my question ready for posting?
 
0
Q: Test if a point is in an Icosahedron

QuadmasterXLIITake as input 3 floating point numbers, which represent the x, y, z coordinates of a point. Return a truthy or falsey value indicating whether the point is inside the regular icosahedron centred at the origin, with top and bottom vertices at (0, 0, 1) and (0, 0, -1), and with one of the upper rin...

 
8:05 PM
@Cyoce I think it could possibly get dupe votes, but it looks fine to me.
 
@Cyoce looks fine
@GamrCorps @Cyoce if someone uses the dupe-hammer, I will use my righteous reopen blade!
 
lol
 
Alright here it is
get ready to defend our honor!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ And I will use my righteous flag sword!
 
@zyabin101 ಠ_ಠ
 
8:09 PM
@Doᴡɴɢᴏᴀᴛ Where is the user style?
 
@zyabin101 I haven't uploaded it yet but it'll be part of the PPCG design userscript
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ__ಠ
 
@zyabin101 You wanna go, son? ಠ___ಠ
 
Myth: Python ignores comments. Reality: I just tried to include # Only ask for input the first time X∈[0, ∞), Y=-1 is read in this program and it gives up interpreting it because of the unicode characters. ¯\_(ツ)_/¯
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ____ಠ
 
8:13 PM
ಠ______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ಠ
2
 
I suppose I can just say X>=0 though
 
@GamrCorps You broke the sequence!
 
@zyabin101 ಠ.ಠ
 
"ಠ"+"_".repeat(Math.random()*10000|0)+"ಠ"
 
@ETHproductions You can't repeat a string a decimal number of times.
 
8:18 PM
@zyabin101 That's what the |0 is for.
 
|0 == Math.floor
 
It casts the decimal to an integer.
@Cyoce s/floor/trunc/
 
@El'endiaStarman THE CUTENESS
 
It rounds towards 0, as opposed to floor which rounds toward negative infinity.
 
I love how little the dog cares once he's at the bottom of the stairs.
 
8:19 PM
@AlexA.'s new esotheric language: DOG
It is a successor of the successful language PUPPY
 
As much as I'd love to claim that name for a language, it's already taken!
 
@flawr Documentation?
 
user image
4
^ Can that be stared so I can test my userscript?
3
 
Puppy is not taken yet
 
8:21 PM
cat is not a windows command, you should use type for that. — Lucas G. Sánchez Dec 22 '14 at 14:47
 
@undergroundmonorail Oh! That's not what I was thinking of.
 
i wasn't sure if that link would work or not, i typed it manually based on having typed http://esolangs.org/wiki/pb so many times
 
> stared
 
i'm staring it down as we speak
 
I'm staring at it. Is your userscript work?
Ninjeroni and cheese
2
 
8:22 PM
user image
2
kind of
 
@Doᴡɴɢᴏᴀᴛ replace all the stars with goats
 
@Doᴡɴɢᴏᴀᴛ :D you listened!
 
@Doᴡɴɢᴏᴀᴛ What am I looking at?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It probably wasn't hard; goats have fairly large ears.
 
8:25 PM
0
Q: Inverse N-nacci

CyoceIn his "Print the N-Bonacci Sequence" challenge, @DJMcGoathem describes the N-bonacci sequences, wherein the previous N numbers are summed, instead of the traditional 2 of the Fibonacci sequence (said to be the "duonacci sequence"). He then asked to take two inputs, X and N, then output the Xth N...

 
@NewMainPosts well that was delayed
 
It's a little buggy
 
2/10 I've seen buggier
 
American Lamancha, or more commonly, simply Lamancha or LaMancha, is a formally recognized breed of dairy goat, first bred in Oregon by Mrs. Eula Fay Frey. The Lamancha goat is a member of the Capra genus, specifically Capra aegagrus hircus (sometimes called Capra hircus), like all domestic goats. Lamancha goats are perhaps the most distinctive goat breed; easily recognizable by their very short ear pinnae. They are also known for their high milk production, and the comparatively high butterfat content in their milk. The short-eared American Lamanchas first gained recognition as a distinct breed...
@Doᴡɴɢᴏᴀᴛ How can you preview this?
 
8:26 PM
Ah yes, Don Quigoate de la Mancha in the flesh
 
@Doᴡɴɢᴏᴀᴛ How did you make that GIF?
 
Downgoat making a meta gif
 
@CᴏɴᴏʀO'Bʀɪᴇɴ cockos.com/licecap
 
GIF: Generate Infinite Farts
 
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
 
8:28 PM
That is what I'm currently doign.
 
I just finished the last episode of Arrow
how do I fill the void?
 
Alcohol
 
Game of thrones?
 
Also what is Arrow
 
...
 
8:29 PM
A pointy ouch device.
 
Sometime today I should cast my votes for "Best of PPCG 2015"
 
@AlexA. it's a show about the green arrow. Done in the same style as Daredevil and The Flash
 
Use tabs?
 
@AlexA. ಠ_ಠ
4
 
8:31 PM
i meant "make joke pastebins with 3 versions of the same function before testing even one of them"
also that last one is the one that's really going in my for-real code
 
@Doᴡɴɢᴏᴀᴛ That's a terrible name .__.
 
First scene of breaking bad has a guy driving in his underwear and a gas mask
 
@undergroundmonorail But why?
 
How do you drive in a gasmask?
 
@PhiNotPi because rule #1 is have fun (✿◠‿◠)
@flawr very carefully
 
8:34 PM
@flawr Yeah driving a gasmask is really easy. Unless you have a car over your face.
 
 
TAKE COVER! CODE REVIEW IS INVADING EARTH!
2
 
Those clouds make it look like a angry clown with a big gray nose.
2
 
@flawr You need sleep.
 
8:37 PM
It isn't even midnight yet.
 
did you know these work in windows
i didn't
 
@undergroundmonorail What? That worked in DOS shortly after Unix implemented this.
 
I am testing a GIF
 
i'm a young baby who has never used dos. also by the time i cared about the terminal i was already doing most stuff on linux
 
@CᴏɴᴏʀO'Bʀɪᴇɴ that's my favorite demo loadout
 
@CᴏɴᴏʀO'Bʀɪᴇɴ gibus detected
@undergroundmonorail Actually I didn't. That surprised me
 
@quartata I love my gibus o^o
 
Gibus alert! Seal the area before it replicates!
 
8:58 PM
mah brown gibus is bae
 
I still don't understand why people paint their gibuses either that seems like a giant waste of paint
I guess as long as the gibus stays in your inventory forever it might as well look slightly better than the default
 
What is a gibus?
 
a scrub hat
 
@AlexA. super ugly hat that everyone gets for free
 
9:01 PM
In TF2?
 
known for being a "scrub hat" because people who are new often think "woah a free hat" and wear it
 
mhmm
 
@AlexA. Graphical Indicator of Backwards Upside-down Silliness
4
 
@undergroundmonorail I like it because of the small ghost :D
 
9:01 PM
@Doorknob Oh okay, that makes more sense. In that case, my gibus is off the charts.
 
I only wear it on demo for trolling.
 
@quartata i've seen people say "man, what's the equivalent to | in windows?" and i had no idea the answer was |
 
@AlexA. Gibus is a hat in TF2. It's one of a handful of achievement hats and is widely considered to be a sign of a F2P since we're a bigoted hat-obsessed community
 
F2P?
 
Free to play
 
9:02 PM
The game is F2p...
 
Oh okay
I'm free2p.
 
You may know them as "scrub," "plebian" or even "person who thinks that the PS Vita is good"
 
The game is free to play but a number of things are unlocked for your account the first time you spend any money on it (regardless of what you buy)
 
@AlexA. Fun to Philosophize
 
Including the ability to find hats, iirc
 
9:03 PM
@undergroundmonorail yep
 
So players who haven't done that are "F2P players"
 
@Doorknob Funeral 2 Party
 
0
Q: Translate a Glypho program

DoorknobGiven an input of any valid Glypho program, output its "human-readable" counterpart. Glypho is an interesting esolang idea: The instruction reference is given here. For each instruction, the characters abcd represent the symbols composing each instruction. a refers to the first unique sy...

 
if you live in the UK and are obnoxiously good-willed it's a shorthand for the sign you post: "FOUND: 2 pence"
 
haha
 
9:05 PM
@NewMainPosts methinks retina ftw
 
@AlexA. I was also thinking that but then I thought that manually enumerating (.)\1\1\1, (.)(.)\1\2, etc. would be too long
But maybe almost certainly Retina is way more powerful than I give it credit for
 
Public service announcement: The final voting phase of Best of PPCG 2015 closes in three hours 30 minutes.
7
 
@Dennis Rookie of the Year is still tied
 
Yep.
 
9:07 PM
@PhiNotPi better start voting ^^^^
 
shh don't mention it
I'm hoping for a tie
I want to see how we handle ties :P
 
@quartata I know
 
Does the rookie of the year get a cookie of the year?
 
@AlexA. please
If I win Rookie of The Year I will be very responsible with the cookie of the year
Trust me with your cookies vote quartata
 
And the runner up gets a cookie from last year.
 
9:08 PM
Im surprised the one I nominated is one of the tied ones
 
As long as you eat it before it gets moldy.
 
can we start a tradition where whoever won rookie of the year has to bake cookies for the next year's winner?
2
 
@AlexA. I volunteered to write a challenge about the winner.
Maybe I'll have to write two...
 
@Dennis Can I pin this and unpin the other one?
 
Sure.
 
9:10 PM
@GamrCorps I'm not a huge fan of mailing cookies but I guess
 
Its alright, you can email them
 
> Stack Overstack
—my mom
 
> Cookie Overflow
- me (or is it I)?
 
@Doorknob Hahahaha for real?
 
@AlexA. yes >.<
 
9:12 PM
I'm playing with someone named MR. BUTNER
 
@Doorknob Nice!
 
Any of you here present on academia.edu ?
 
@mınxomaτ I'm not. I don't think the journals that have published papers that I've contributed to would take kindly to reproducing the papers for free.
 
> which is bigger earth or sun
 
ಠ_ಠ
 
9:15 PM
idk better gogle it
 
@mınxomaτ Nope, I don't think people in my field really use it.
 
I like how Google highights 150 million km
"here this number looks helpful have a number"
 
@Zgarb Better yet, in the case of a tie you could make a challenge that features both authors. Even better than that, make a team-based KOTH in which one team is one author and the other team is the other author and they fight to the death.
 
Lets sue google for having unrelated bolded numbers
 
9:18 PM
I'm sure they can afford much better lawyers than any of us could.
 
not if we all pooled our money
wait, nevermind
they would still have better
 
They'd probably be able to spin it like it was our fault.
 
@flawr Have at look at this paper. It shows an improved (kind-of) algorithm built on the one I used (minus my color detection), and p.25 (sec. 5) includes a simple formula for objectively scoring the result of an inpainting algorithm, which might be interesting for assessing the entries.
 
ill take that as a yes
 
The top result is for Google Groups
 
9:20 PM
@mınxomaτ Thank you!
 
Conspiracy
 
@AlexA. KOTH: Rectangular thingies vs mud-throwing fish.
 
Illuminati and Half-Life 3 simultaneously confirmed.
 
lol
 
@Zgarb Flawless
 
yesterday, by flawr
Next time someone calls something so random I'm gonna ask them to verify by calculating the entropy.
3
 
@Doᴡɴɢᴏᴀᴛ also mention how google shamelessly blames us and confirms conspiracy theories
 
@Zgarb I would win since I can assemble a glider army at a moment's notice
 
0
Q: Help me Shut the Box

VoteToCloseThe inspiration for this challenge should be ridiculously obvious at the time of posting. The Task You must create a Shut the Box style program (not function, program). The basics of shut the box are: Players attempt to shut the box by turning a set of levers labelled 1-9. They must do so by f...

 
@MartinBüttner Hm, looking at your "Run all test cases" I never realized how annoying my test case format might be to parse. Should I be adding delimiters between the input/output? Would that make it easier?
 
9:24 PM
> Dear gogle I have calculate entrop and determinnign bold number is so random. pls Will sue if not fixed. MUst kno if sun big earth.
 
> Dear gogle I have googled entrop
ftfy
 
thank
 
dank
 
hank
 
@NewMainPosts Yes. I did that. c: Just because Help me Open the Box reminded me of that fun little game.
 
9:26 PM
Sep 22 '15 at 3:19, by Alex A.
@PhiNotPi hello i have quetions how does juice an avocado i have try for thirtee minut and no juic
5
 
@VoteToClose I love that game XD
 
Is @NotDoorknob going to do a countdown?
 
Oh no, NotDoorknob just joined the room
 
I am going to add the daily Discord meetings as a chat event through some questionable sockpuppetry
 
9:27 PM
MOD ABUSE 11!!1
 
@StackExchange flagged as offensive
 
Jan 5 at 5:08, by Dennis
mod abuse eleven
2
 
@Doorknob yeah, that would help
currently, the delimiter is "two spaces"
 
@MartinBüttner Okay, will do in the future
 
9:30 PM
@StackExchange What'd you need yourself for anyway?
 
Apparently if I scheduled the event, it would have advertised it on the main site sidebar as well.
 
@Doorknob does this start soon
 
@GamrCorps It starts as soon as it's 1:00 UTC
 
so today? I hate being so far from UTC
 
Great. I should be asleep, but now I have an excuse not to!
@GamrCorps 3 hours.
 
9:32 PM
@GamrCorps Yeah, today in the US
 
ok thanks. Alright, I'm going to make a userscript that will automatically convert the timezones for me. brb
 
@Doorknob Wait, so it's settled on Discord?
 
@mınxomaτ I guess we can discuss whether we want to stick with Discord or use Skype or something else during today's meeting
 
@Doorknob Gib discord link pls
 
@mınxomaτ It's in the event description
> Starts in 3 hours (in your timezone, that's 19:00 on Sunday), lasts 180 minutes. This is a regular event, happening every day.
@GamrCorps looks like you don't need that userscript after all :P
 
9:35 PM
No, I'm doing this for all websites. Ive searched "XX:YY UTC to MST" 6 times today
 
 
@flawr ummmm
 
Rain? No way! And I've been awake the whole time!
 
wut. how
 
@GamrCorps Just click on your SE inbox. It has a UTC clock.
 
9:37 PM
That reminds me of how my dog Lucy likes to lay in the sun during the summer. Her fur becomes hot to the touch.
 
@flawr d'awh
 
@flawr Looks like someone forgot the dog was there when they retinted.
 
The starboard is now just transcript links and announcements. I guess that's an improvement over the usual "star this" stuff.
12
 
 
@flawr LOL
 
9:46 PM
1 hour ago, by Dennis
@AlexA. ಠ_ಠ
^ still on the starboard
 
I have a small screen.
 
@Dennis ಠ_ಠing at ಠ_ಠing at tabs is ಠ_ಠworthy itself. :P
 
ಠ_ಠ Overflow
 
@Doorknob so... you like tab s? :D
 
@Doorknob ಠ_ಠception
@CᴏɴᴏʀO'Bʀɪᴇɴ Read it again it's (sort of) a triple negative
 
9:48 PM
@Dennis brb proposing this on Area 51
 
@quartata dಠ_ಠnk mಠ_ಠmಠ_ಠs
 
@quartata damn
 
Translated: getting mad at getting mad at tabs is worth getting mad itself
i.e tabs suck
 
So... tabs are wrong?
 
IE tabs suck too
 
9:49 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Of course
 
@AlexA. So... you are tabs?
 
uh
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That's faulty logic
 
@quartata ... duh.
 
It's not faulty if it's right.
 
9:51 PM
I'm saying it's not necessarily right
 
It's left?
 
Tabs are Alex.
 
@Dennis Politically, at least. :P
 
9:52 PM
Also, why is our starboard full of reposts?
 
function x(r){
alexfor(var i=0;i<32;i++){
alexalexr+=i;
alex}
alexreturn r&i;
}
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That's worse than reverse indentation
 
I have -175 rep for the day!
\o/
 
9:52 PM
replace tabs with "alex" and spaces with "A"
 
@quartata a͔͔͍l̶͕̹e̵̤̭̹̖͍x͍ ͔̝͇̫c̢͕̲̫̙a̘͡n̵ńo͍̱t̴ͅ ̼̜̝̳h̺̺̤̹͔͘o̩͈̮̝l̰̬͖d̮̦
8
 
I wonder if an interesting challenge would be making a language that uses a certain data structure.
(insert jokes about a "rare" challenge type and crashing the market)
There's tons of stack-based languages, why not Bloom filters?
IDK how that would actually work.
 

« first day (1828 days earlier)      last day (3007 days later) »