« first day (1899 days earlier)      last day (2935 days later) » 

5:02 AM
what
why does that exist
 
@Mego I will answer all of your questions for one of those
 
Anonymous
@AlexA. Mainly so people can record themselves trying and failing to eat one, followed by them puking
 
Oh
 
Anonymous
@Downgoat Promising you one for answering all of my challenges would go against SE policy, but you can never rule out the possibility of one randomly showing up at your house one day.
 
Anonymous
5:04 AM
Warning: it goes exactly as you'd expect
2
 
@Mego Oh, I've seen this. .-.
 
Anonymous
I need to make a "Michael eating weird stuff" playlist
 
Barbecue sauce
 
Anonymous
McRibs
 
Anonymous
5:14 AM
Warning: they all go exactly as you'd expect. Vomit happens.
 
@Mego I can because where will you get my address
 
Anonymous
@Downgoat I was just going to send one to every address
 
oh ok :/
 
Anonymous
Maybe 2 for Alex
 
> I AM TRAPPED UNDER A 5 LB GUMMY BEAR! FOR THE LOVE OF ALL THAT IS HOLY, SEND THE JAWS OF LIFE!
._.
@Mego how would a bird even be able to lift a 5 pound gummy bear
 
Anonymous
5:17 AM
Hmm... Would a vegan object to eating something that isn't meat, but is in the image of meat or an animal?
 
Anonymous
@Downgoat Well perhaps if two birds carried it between them with some twine
 
@Mego gummy bears might have gelatin which is made from animal parts
 
Anonymous
@Downgoat I didn't say anything about gummy bears :P
 
Anonymous
I was thinking a cow made out of tofu, or a fish made out of cabbage or something
 
@Mego eating raw cabbage is bad enough when it's in a ball.
 
5:20 AM
@Mego Animal crackers are wonderful
 
Anonymous
@Downgoat Doesn't have to be raw
 
Anonymous
@AlexA. Cannibal
 
¯\_(ツ)_/¯
 
TIL there are chocolate ones
 
Anonymous
5:22 AM
Chocolate > almost everything
 
@AlexA. all things come in chocolate flavor
 
Anonymous
...now I want chocolate
 
@Mego That's mega false
@Downgoat Yeah, that's pretty accurate
 
> "Chocolate" > "almost everything"
< false
 
Well, if JavaScript says it, it must be true.
 
Anonymous
5:23 AM
@AlexA. The set of things that are better than chocolate is finite, so the assertion "Chocolate > X" for any given X is almost certainly true
 
@AlexA. who said it's JS
 
@Downgoat Them console arrows, bruv
 
oh, ok
 
Anonymous
>>> "Chocolate" > "almost everything"
False
 
Anonymous
:(
 
5:24 AM
(I learned recently that "bruv" is the British version of "bro")
 
Anonymous
I've heard "b" more often than "bruv"
 
Anonymous
Which I like, because it's golfier
 
haha
@Downgoat I like that there are three votes, one for each option.
 
Anonymous
The Catherine Wheel Slow Mo Guys starts out with Dan saying "B this is not a good idea"
 
@AlexA. I do not like that I am the only one who liked frosted animal crackers
 
Anonymous
5:25 AM
(repetitively)
 
Anonymous
I like frosted animal crackers, but not as much as the chocolate ones
 
@Downgoat They're okay but I prefer regular
 
what is with google's bolding ._.
 
bison
 
Is there anyone active on PPCG who's an animal cracker? I can't think of anyone
 
5:30 AM
@HelkaHomba used to almost sort of be a tiger
 
brb changing myself to Downbison
 
6:12 AM
@Downgoat You will have to find a new profile pic, but sounds funny :)
 
Anonymous
6:27 AM
I should add an unconditional loop to Seriously
 
Anonymous
I find myself doing 1WX way more often than I'd like to
 
Want to have some infinite loop?
 
Anonymous
Always
 
So go for it! shorter is better :D
 
does this break the default loop holes?
0
A: Is it really a comcoin?

orlpPython 2, 62 bytes lambda n:`n`in{bin(i)[2:]for i in range(31)if 0x5d755750>>i&1}

 
Anonymous
6:42 AM
@orlp None that I see
 
If I understand well this challenge, you just have to output true when a number isn't prime in the bases 2-10, right?
 
If there's only a finite number, there's no problem hardcoding
(unless explicitly stated)
 
set(`n`)==set("01")
is there a better way for that?
 
Python 3.5 maybe?
But you need backticks twice hmm
 
Anonymous
all(x in'01'for x in`n`) would be longer :/
 
6:49 AM
If the input is all digits, I guess max(`n`)<'2'
 
the input is a number
I think that works
 
Anonymous
Should work
 
Conveniently also works for longs because 'L'>'2', but that's a different story :P
 
Anonymous
It was a happy accident that my Seriously submission worked without needing an explicit check for only binary digits
 
Anonymous
Oh wait there are cases where it will print 1 for invalid input >_<
 
Anonymous
6:56 AM
I think...
 
D:
comcoins != jamcoins
comcoins don't have to end in 1
 
I'm going to do homework :sigh:
 
@Solver not allowed here
 
why?
@orlp
 
this is a no-work zone
 
7:09 AM
lol
okay bai then
 
Anonymous
Oh boy, it's the time of night where Chrome decides to stop working
 
@Mego Good luck with that.
 
@Mego FF > Chrome
 
@MarsUltor meh, chrome is better.
 
@Solver It's faster, but it drains battery faster and uses more ram as well
 
7:11 AM
true say
 
Not good for a craptop I take to school
 
Anonymous
@MarsUltor Using the browser that works best for my purposes > having pointless arguments about the ill-conceived notion of browser superiority
 
@Mego But if Chrome's not working, use FF as a backup
 
Anonymous
s/browser/software/g and s/browser/language/g also apply
 
Anonymous
@MarsUltor I suspect the cause of Chrome not working does not lie within Chrome
 
7:13 AM
@Mego How is it broken?
 
Anonymous
Not responding to clicking on links or changing tabs
 
wat
Mouse problem?
 
Anonymous
Given that it's consistently around this time that I start having issues, I suspect the cause of the problem is related to Chrome not being able to get enough memory/CPU time due to some scheduled task or service eating too much
 
Anonymous
The mouse works fine elsewhere; it's only in Chrome that I have issues
 
@Mego Do you have a million tabs open?
 
7:16 AM
@TonHospel the timings are quite interesting... this is for n = 22 and m=0..21 in seconds and the total time for 5 iterations. 0.11, 0.61, 0.75, 2.99, 11.05, 47.59, 193.13, 712.70, 3309.94, 1988.28, 304.72, 97.18, 99.31, 6.26, 0.72, 0.20, 0.09, 0.09, 0.06, 0.06, 0.05, 0.04
@TonHospel so m=8 was dramatically the slowest. Not m = 11 for example
 
Anonymous
The number of tabs does not seem related to the problem, because I have 8 tabs open tonight, but only had 2 open last night
 
@MarsUltor yes I do.
 
@TonHospel 3309.94 versus 97.1 seconds
 
@MarsUltor actually i dont only 47
 
@Solver Stop killing your computer
 
7:18 AM
it's at:
38% CPU
 
@Solver How much RAM does it use?
 
umm...
61%
 
out of how much?
 
@MarsUltor out of 100%
 
*how many GB
 
7:28 AM
i think 16
 
WHat are you doing that uses 8GB+ RAM Oo
 
@Katenkyo GIMPS
Great Internet Mersenne Prime Search
 
Seems legit
 
@Solver 0/10 GIMPS is useless, donate your computer time to BOINC instead
 
I already do :P
 
7:40 AM
Wait, really?
 
@MarsUltor Not part of GIMPS, but I'd like to reject the idea that it's useless
 
@Sp3000 Okay then
Corrected: A lot less useful
 
@MarsUltor yes
 
8:29 AM
Hi, is anyone in this room?
 
@mIllIbyte Yes
 
@mIllIbyte Hi, looks like it
 
@mIllIbyte Yup
 
@zyabin101 Your profile pic is becoming more and more glorious
This unipants is incredibly sweet to see
 
@Katenkyo Yup.
 
8:32 AM
Hi. I have a question. I posted something on the Cop's thread, and someone cracked it, but with a trivial solution which I failed to avoid when I chose what characters to hide.
Can I repost and show one more character to eliminate that solution? I want to see if someone will figure out my initial solution, which is somewhat strange.
 
@mIllIbyte Post a new answer
 
OK, thank you
 
You can try, but I'd recommend trying to crack it yourself so that the same thing doesn't happen twice
 
Oh, I see. I will do that, thanks.
 
That's probably going to take too long, but just thinking about what other people might try, other sequences that might fit, etc...
 
8:35 AM
Personnaly, I'd love to see unintended solution when someone cracks my cop post
Also, I think it would be better to just edit and say how you wanted it to be, rather than doing a new answer
 
Technically they did crack it though :/
 
@Katenkyo Yes but I spent a lot of time on it initially. I'd rather see someone else crack the initial thing.
 
@mIllIbyte I know it can be harsh, but posting the same answer with only trivial modification isn't reallywhat we like to do on this site
 
Well, then I will post something new which uses the initial idea.
Rather than just showing one more character.
Since the idea is not really "posted" yet, because it wasn't cracked.
Is that ok?
 
Yep, totally ok, and may result in a great post :)
 
8:53 AM
0
Q: On-topic to ask for help with an already exitsing code golf challenge from another site?

Byte CommanderThere is a code golf challenge on a foreign (not related to Stack Exchange) site with which I have a problem. The challenge is designed for Python 3 and has a length limit of 150 characters. I thought to post the challenge here and even open it up for other languages because there are posts on M...

 
 
1 hour later…
10:04 AM
0
A: Sandbox for Proposed Challenges

LauseLinear Time Sorting code-challenge It was another slow day at Initech Inc. when a feature request came in: New Feature: Ability to sort by cash value in the transaction form. But make it a fast one! Well it looks simple.. but what do the requester mean by fast one? Let's call Jim, from sales...

 
And not one person said 1 hour later... :P
 
This chatrrom have some strange habits..
That may be the reason I keep coming in
 
10:23 AM
Wow, I've never seen more than 500 bytes chucked off an answer. :O — CoolestVeto 11 secs ago
 
36
A: Golf you a quine for great good!

Martin BüttnerPrelude, 5157 4514 2348 1761 1537 664 569 535 423 241 214 184 178 175 169 148 142 136 133 bytes Thanks to Sp3000 for saving 3 bytes. This is rather long... (okay, it's still long ... at least it's beating the shortest known Brainfuck C# quine on this challenge now) but it's the first quine I di...

 
Holy crap.
 
@katenkyo - I did something different now. Is it different enough? meta.codegolf.stackexchange.com/a/8947/52554
 
(Note that I didn't link a Unary golf :P)
 
I wonder what are 500-byte golfs there are?
max(/*every byte count that's struck through*/) - /*the only byte count not struck through*/ /* not including some bonus calculations that may appear here */ :D
 
10:39 AM
0
A: Sandbox for Proposed Challenges

mIllIbyteAnother answer to Find the program that prints this integer sequence Cop's thread, ####=############ main(i){scanf("%d",##); for(i=1;i++/4<#;)##=#; printf("%d",##);} My initial post was this one. However I didn't hide it properly, and it was cracked with a different (and less strange) solutio...

 
11:11 AM
@mIllIbyte I think it is, go for it :)
@Sherlock9 codegolfs with solution above the 500 bytes marks aren't common, so codegofling 500 bytes off a submission may have only happen twice or so
 
That's true
 
11:30 AM
@Katenkyo Thank you
 
@mIllIbyte Also, don't forget to delete your sandbox post and edit it to remove its content and link to the actual post. You mentioned the OEIS in it, you may want to hide this information as much as you can.
 
if [ ! -e reasons-to-live ]
then
    git commit -m suicide
fi
-- heard in class today
 
I think something like kill -rf ~ would have been better
but funny :)
 
killall && git commit -m suicide
 
12:09 PM
@Pietu1998 That's only for serial killers/suicide bombers
 
^
 
12:45 PM
hi all
naive question perhaps but how do you draw in centimetres exactly in common languages?
that is that when you print it it comes out at exactly the right size
 
You need to know/set the printer's dpi, for one.
 
interesting.. you can't just do it as a function of the A4 dimensions for example?
I don't know how postscript/pdf works exactly
but I had assumed they would have a concept of distance independent of dpi
 
I don't know the internals of pdf either, but when you said "common languages", that wasn't what I thought you meant.
I'm sure there's a TeX-y way to do it, for example.
 
@Geobits Hum, I think TeX also uses DPI
 
you can use cm in html/css
 
12:50 PM
@aditsu They aren't really 'common language' ^^
 
they're quite common actually
have you heard of this thing called the web? :p
 
Or at least, not 'common programming language'
@aditsu That thing made by spiders under my desk?
 
the question didn't mention programming, and neither did the followup
 
In English (very common): Take a pencil and ruler. Line the pencil up with a starting point on the ruler, and use the markings on the ruler to achieve the desired length.
 
I agree, that's what I'm assuming, because I don't see someone formatting a print in html...
 
12:55 PM
I'm assuming it's something that you print though
html is a fine choice for that; odt or pdf might be better but harder to code
or svg
 
1:31 PM
Hum, in code-golfs asking for output in the form of arrays/list/table etc
could I simply modify the input array by using its pointers ?
 
I think by default modifying the input to give as output is allowed. Unless specified otherwise, of course.
 
@Geobits I think I've read that to, but I don't really output anything, it felt kinda wrong
 
Oh, I see. Yea, I meant modify and output (however output is done in the language).
 
So I have to return it anyway?
 
I'd say if it asks for output, it has to be done in one of the usual ways.
return would work.
That's how I've done it in the past at least.
 
1:36 PM
Hum that's sad, for once one of the feature of lua was handy (tables are always passed by pointer, so...)
 
Feel free to get a second opinion :)
 
I'm going to dig on meta, it may already have been asked
 
I imagine it might be in the default i/o listing post.
 
16
A: Default for Code Golf: Input/Output methods

Martin BüttnerFunctions may output by modifying their arguments or writing to out arguments

I knew I've read that somewhere
 
Nice find :D
 
1:41 PM
@lembik: New faster version
 
@TonHospel cool! What did you do?
 
@lembik: An accident actually. To my surprise working in the lattice reduced basis made the ellipsoid walker a lot faster
@lembik: e.g. 5 times faster...
 
@TonHospel oh! :)
I will run timings and report
did you see the slightly surprising timings I reported earlier?
 
In fact it's so fast on my machinme that I get to n values where for m=n/2 the exponential decay goes so fast that the code gets faster as n grows :-)
 
:)
try m =8 and n = 22 if you want something slow...
 
1:46 PM
Up to the point where I hit the minimum radius that is there for the provable bound (but probably not really needed) and the dimensional expansion starts to win again
 
> Golfed Signature
"Hey, you know those 2048-bit RSA keys we set up? They're golfed down to 512-bits now, it's great"
6
 
Yup. I use Cinnamon Gum to generate a signature based on the sender's name.
I should have used more data.
 
@lembik: 8 22 is 125s on my fast machine
 
@Geobits This reminded me of you: boardgames.stackexchange.com/q/29662/6692
 
@lembik: The problem I really need to solve: Given a positve definite matrix P, find an unimodular matrix (integer matrix with integer inverse) U so that the lowest eigenvalues of U P U^T is as big as possible
@lembik: Even just determine any unimodular matrix that improves the lowest eigenvalue would make me happy
 
1:57 PM
@Rainbolt I'm gonna need a rules app, I think. Was at family's this weekend, and taught his cousin to play so they could fight it out, and they come up with some of the weirdest questions :)
 
There's a hotline you can call to get answers
 
Going to take him to a card shop after school today so he can discover the joy of rifling through boxes upon boxes of commons.
 
They have a live chat? Nice.
 
There's a separate chat for tournament related rulings (like when to hand out infractions and stuff)
 
2:01 PM
Ah. Not worried about that part yet, but nice to know.
 
Great, VPN's aren't working anymore in my company, and I have to figure out how it hsould be working without documentation -_-
 
The joys of working remotely
 
Still better than driving to work every day :D
 
I don't, I have to work out how to re-enable that for others to be able to work -_-
the fact is: I don't even know on which of our server is the VPN server
gonna be a good hide'n'seek buddy
 
I live 7 minutes away from work. I actually like being here
 
2:04 PM
@Rainbolt so you can hang around on TNB :P
 
nevermind, found it on the 3rd server... Now, just have to get things done, even the FTP server is down T_T
 
Being in here allows me to crowd source the occasional question that I am too lazy to ask on SO
3
 
Yea, it's not bad for that in between the avocads and meme faces.
Or did you mean work?
Because that's the main benefit to working on-site I think, too.
 
Peripheral awareness, for me, is the main benefit to working onsite. I don't have a feel for what else is going on in my department if I'm only working from home.
 
I guess at a good company that makes sense. I've worked places where even being there didn't give you that.
The lack of communication in some places is just shocking.
 
2:38 PM
RAPTFTD
Yup, Python's very own pip.
 
Ten times in the last month this guy says "I can't build the project." Ten times I tell him to get latest version. Five of those times he retorts, I go sit with him, watch him struggle for a few minutes, and then finally get latest version only to exclaim that something must be wrong with Visual Studio or the machine that hosts our version control. sigh
The joys of working at the office
 
3:05 PM
@Rainbolt actually, something IS wrong with visual studio... Sometimes having to wait 3 mins to create a file gets boring really fast ^^.
 
@Katenkyo What kind of file are you creating that takes three minutes to create?
 
@Rainbolt an empty source file. I know the computer we had back in college weren't that good, but they weren't bad either
 
@Katenkyo I just created a .cs file. It was instant
Or as close to instant as I can see with my own eyes
 
I want to finally post my question, but the sandbox has a downvote. Should I post it anyway? meta.codegolf.stackexchange.com/a/8734/47019
 
probably not then
 
3:14 PM
@Rainbolt I hope it does for you^^. We had problems on every single computer back then, creating a project and some files in it could take up to 15/20 mins xD
 
or go for it and take the rep loss from posting on main
 
@EᴀsᴛᴇʀʟʏIʀᴋ but IDK what is wrong with it...
@EᴀsᴛᴇʀʟʏIʀᴋ YEah I'm just worried about rep loss b/c I dont have much rep
 
@epicTCK you should do a full list of operators
 
@Katenkyo Didnt want to include every operator from every c-like language, so just did some basic ones
 
how do I put parens around 5>x&y<7?x:y; for instance
@epicTCK you don't have to include every single one, but to define the one you want to be used
 
3:16 PM
@epicTCK The definition of what statements to lispify is unclear.
 
^
 
( 5(>)x(&)y(<)7(?)x(:)y)
 
(thanks for explaining, my brain doesn't want to turn the english on actually)
 
@EᴀsᴛᴇʀʟʏIʀᴋ all of them... ?
this is a statement;
next statement;
this(is){not}
 
That is the hard part.
 
3:18 PM
@TonHospel An interesting problem!
 
for(;;) is hard to recognize.
 
so its hard to answer.. that is good, no?
 
@epicTCK that works with a ternary, if I use the : in 'a string':function(), does it still works?
 
@Lembik you and @TonHospel just chuck math problems at each other all day, and try to solve them. :P
 
@EᴀsᴛᴇʀʟʏIʀᴋ well. to be more accurate Ton Hospel's solves things awesomely and I look on admiringly :)
 
3:19 PM
rofl
 
@Katenkyo so your challenge is to write a program to make it work... my job isnt to make the question easy b/c the people answering are lazy
 
@TonHospel good job!
@epicTCK They won't answer if they don't know what to do.
 
But they do know what to do...
 
@lembik: To wich n did you get ?
 
People golf for fun. Not recognition. If it is not enough fun for the effort put in, they won't do it.
3
And judging by the comments, people don't seem to like this challenge.
So feel free to post, but be warned that people may not post answers and even may close vote.
 
3:25 PM
@TonHospel oh sorry I got distracted by trying different m values.. let me try m = int(n/2) now
m=8 , n = 22 took 1464.26711702 for 5 iterations
@TonHospel hmm... something odd.. it's no faster for n = 24, m = 12 afaict
Took 212.82250905 seconds
for 5 iterations
42 seconds per iteration
@TonHospel oh there is huge variance!
let me try again
hmm.... v. fast :) I must have done something wrong the first time
n = 24 and rising
26....
 
3:43 PM
@MartinBüttner Unary arithmetic in Retina is progressing. See the Chapter 1 page.
 
@TonHospel n = 28!
 
@Doorknob do you know Retina?
 
He knows Retina display
 
@lembik: Just found this paper. Completely different, would need restart from scratch, not sure it's really sensible for sane precision: eprint.iacr.org/2016/179.pdf
 
3:59 PM
Chat mini challenge: Write the shortest program/function that counts the number of square brackets, i.e., [ and ], in the input.
 
perl: y/[]// (perl -pe '$_=y/[]//' should be a working full program)
 

« first day (1899 days earlier)      last day (2935 days later) »