« first day (2216 days earlier)      last day (2634 days later) » 

8:25 AM
@Qwerp-Derp It's good. Se réveiller works too but se lever is fine
 
Using sed or something how can I change numbers like 01 00 09 to 1 0 9?
 
@Fatalize I need halp with the other sentence as well: "Je preparé pour quinze minutes pour l'école"
 
Well that's undeniably wrong, I'm not sure what you want to say
 
@Fatalize I want to say "After 15 minutes of preparing for school, I eat breakfast.", and IDK how to say the first bit (i.e. the part before the comma), so I went for an alternative
Preparing = brushing teeth, dressing and stuff
 
@betseg echo "01 00 09" | sed -e "s/ 0/ /g" | sed -e "s/^0//g"
 
8:35 AM
Après quinze minutes de préparation pour l'école, je prends mon petit déjeuner
Basically a word for word translation...
 
Wait I can do "de préparation"?
 
well yes
 
Is there a more general word for brushing teeth, washing your face etc. in French?
So one word that wraps everything together?
 
like morning routine in english?
 
Yeah basically
 
8:37 AM
@KritixiLithos ty
 
I swear I learnt this word but I may have forgotten about it
 
routine du matin or routine matinale I guess works but it's not that idiomatic
 
So basically the first one is good right
 
@betseg Just regex it
 
La toilette du matin is maybe the frencher way of saying it
 
8:39 AM
"Morning toilet"?
 
-.-
It's a bit old-fashioned though
 
So the whole sentence = "Après quinze minutes de mon(?) routine du matin, je prends mon petit déjeuner"
That's right, right?
I'm not sure about the "mon" though
 
Routine is feminine
 
de la routine
 
But you would rather say "Après ma routine du matin de quinze minutes"
 
8:41 AM
Oh
 
because if you say quinze minutes first it sounds like routine du matin is an activity that can last longer than 15 minutes but you just did part of it
whereas with quinze minutes after it states that that activity is 15 mins
 
Dammit my français is nicht gut :(
@Fatalize Should I make a separate room or should we go to the french room
 
You would be understood with both though, it's kind of nitpicky for a non-native
Seems like the other one is frozen
so maybe create one
 
Is "la salle de français" even accurate at all
 
it sounds kinda weird but it's ok
 
Ven
8:47 AM
@Qwerp-Derp it is
 
9:26 AM
I have a bit of a silly question for you all
I'm working on building web apps with Python and Django for my internship, but I do need some sort of Javascript framework for the front-end and event-handling. Got any recommendations?
It's a silly question because, knowing TNB, the first answer is probably, "Don't use JS"
 
Trying to do Project Euler 17, what's wrong? goo.gl/xiYvVr
 
Ven
9:41 AM
@Sherlock9 are you gonna use django just to build a json api?
 
I have an idea for a Quine-like contest that is also provably impossible but theoretically do-able. Contest: "Shortest program to output its own hash"
 
^^^ it writes eight hundred and ten two etc wtf
Solved ^, still wrong :/
 
In C I think I can do this using ___FILE___ pre-processors by accessing my own file during the output
 
@betseg Are you including 1000?
nwm, saw it :)
 
Oh it prints "one hundred and" for 100
I hope this is the final fix
Yup, it worked. Thanks for being my rubber duck.
 
9:50 AM
Now that I think about it more I think any quine program could simply just be copy pasted in but with any md5() function inside the output function, nevermind 😅
 
@Ven Apparently yes
 
10:19 AM
"Write a program that prints whether or not the input program is a quine in the same language"
 
That's undecidable, using reduction from/to the halting problem.
 
10:41 AM
@ATaco [ "$1" == "$('$1')" ] in Bash (I hope)
(output via exit code)
 
0
A: Sandbox for Proposed Challenges

roberto06Digitless digits Introduction What we have feared for so long has finally happened, the robots have gained counsciousness and have risen. There has been a war, a global and violent one, and humans have been defeated. Calcubot, the fearless and tyrannic robot leader, has established a new world...

 
10:59 AM
I soldered my arduino pro mini headers and damn its tilted again
 
11:26 AM
Rip
 
Just had a real long dream, about 20 perceived minutes total
 
Hello
@AlexL. No, Y2.3K
 
@TuxCopter More like Y2.0380502551686960933536276...K
Y2.3K = 2300 ≫ 2038
Let's see, we had Y2K, we'll have Y2.038K, then we'll have Y10K, Y100K, Y1M, Y10M, Y100M, Y1G, Y10G, Y100G, then finally Y292.277026596G
After Y1T, Y10T, Y100T, Y1P, Y10P, Y100P, Y1E, Y10E, Y100E, Y1Z, Y10Z, Y100Z, Y1Y, Y10Y, Y100Y, Y1000Y, Y10000Y, Y100000Y, and Y1000000Y, we'll finally have Y5391559.471918239497011222876596Y
Much time after that, we'll have Y1834652618499343590337415746119712509834124421.548072260582352567003896Y
And so on
 
11:53 AM
@LegionMammal978 The universe would already have died a lot of times
 
@TuxCopter Was just thinking that :P
@TuxCopter Actually, it turns out that it would take 401 iterations of this before entropy is fully completed
 
So it would take 401 times Y1834652618499343590337415746119712509834124421.548072260582352567003896Y for the heat death?
 
@TuxCopter As in, it would be before the maximum of a 2^401-bit signed integer (that's 2^401 bits, not 401 bits)
 
That's a lot of digits
 
Yup, and Mathematica can't calculate 2^2^401
It finally gets overflowed
 
12:04 PM
Not even produce an approximation?
I tough Mathematica was good as this
 
@TuxCopter lol, I just worked with the exponents
And it should take 332192809488736234787031942948939017586483139302458061208 iterations of the process before a new universe forms
 
@TuxCopter Yeah, the actual number is Y10^10^120
 
Which is a lot of years
 
And the larger number corresponds to Y10^10^10^56 (notice the extra "10^"?)
But yeah, after Y10^10^10^56, the universe will repeat on a 10^10^10^56.0026237586778382...-year cycle
 
Huh?
 
@LegionMammal978 r/SubredditHashtags
If you live forever and the heat death is real, what would happen to you after the heat death?
 
0
Q: Calculate Exponents bit by bit

OkxYour task is to slowly calculate exponentiation, with the following steps: Given 2 inputs (in this example, 4 and 8), you must calculate the exponentiation by calculate the equation bit by bit. You would do 4^8, have a greater base value (4) and a smaller exponent (8). You can do this using more...

 
12:48 PM
Why does this give "undefined reference to pow" tio.run/nexus/… but this doesn't tio.run/nexus/c-gcc#NcpNCoAgFATg/…
 
lol
interesting
 
Plz some1 halp
 
Isn't it only happening on TIO maybe?
 
I'm on mobile, also other compilers in TIO have the same issue.
 
Hmm yeah it happens on other compilers as well, just tried one. That's really weird. Maybe a good SO question?
 
12:58 PM
Interestingly it works on Ideone.
 
Makes it even weirder..
I guess it's just those compilers messing up then?
 
Don't know. I asked in:

 talk.tryitonline.net

For general discussion and feature requests regarding tryitonl...
/usr/include/math.h doesn't have pow
Wat
 
did it then!
 
@betseg The heat death wouldn't ever finish
 
Anonymous
2:09 PM
in talk.tryitonline.net, Feb 18 at 12:48, by Mego
@Dennis Regarding ^, the issue seems to be that the gcc wrapper isn't passing through args correctly (in this case, -lm isn't going through to the compiler)
 
Anonymous
math.h does include pow, but only a declaration (as is the norm for C/C++ headers). The actual implementation is in libm, which is added with the flag -lm. However, TIO currently has an issue where compiler/linker flags cannot be added to C programs.
 
2:30 PM
hmm, so PPCG currently has 9 questions on the random hot network questions rotation
that's a lot more than normal; it feels like the question posters recently all decided to make a push for HNQ
 
Ven
it's a plan to make SE notice us.
 
either that, or fix HNQ
I've sent three challenges to HNQ recently; one intentionally, one inevitably (i.e. I could tell it was going to happen but had no way to stop it), and one accidentally (I didn't realise it would get there)
 
Anonymous
@ais523 It's not a conspiracy. It's very very easy for PPCG challenges to end up on HNQ because they get a lot of answers.
 
I'm aware, and have made some posts on Meta SE because of that
we just seem to be doing a bit better than usual
 
Anonymous
"better"
 
2:34 PM
this is actually slowing the rate at which I post challenges; all the HNQing means I hit rep cap in a few hours after midnight
and thus gives me no incentive to post challenges and thus reap the rep from them
I have a zero-byte Perl answer at +57, which I wasn't expecting
and it took a while to get there, too; it was initially upvoted very slowly, but when it reached somewhere around #3 in terms of votes, it suddently started shooting up in terms of vote count
which is quite a demonstration of how FGITW (or more precisely, rich-get-richer) works
you know, if we coordinated as a community, we might be able to get a large proportion of the slots on HNQ (although it's mathematically impossible to get more than half, and the last few slots would be very difficult)
 
One day I will be rich and then I will get richer
 
would be a good way to show how broken HNQ is :-)
 
Dunno how well that would be received
 
The rep cap guarantees that no one will ever be able to surpass Jon Skeet, since he repcaps every day.
 
@Pavel I saw some calculations about that: they actually think that if he stopped posting, he'd be overtaken after several years
because there are other people who can repcap every day and get accepted answers and bounties
(Jon Skeet also gets those, of course, but couldn't if he stopped posting)
 
2:40 PM
Accepted answers and bounties bypass the rep cap?
 
the +15 from posting an accepted answer does (the +2 from accepting doesn't)
 
Bounties do, yes
 
Interesting
 
Considering that they can be as much as +500 by themselves
And the repcap is 200
 
bounties don't affect it in either direction (receiving doesn't count against the cap, but posting a bounty also doesn't open up a gap beneath the cap)
 
2:41 PM
@Pavel Fair point
 
btw, right now I'm only caring about reputation for badge purposes; the actual numerical value is probably too high
and I've decided to be freer with awarding bounies myself
for a while I cared about the leaderboards but I've decided they're broken because you lose leaderboard status for placing bounties, and even things like downvoting
 
Anonymous
@ais523 Jon could still get bounties on old answers, but he's not likely to get more accepted answers (since his are very frequently accepted)
 
incidentally, if my understanding of how the rep cap works
it should be possible to earn rep by undownvoting, so long as the downvote was made on a previous day on which you didn't rep cap
because the undownvote counts against the day when the downvote was made
but the leaderboards will count it against the day of the undownvote
you could get at most 35 rep like that, though, so getting bounties is probably a better option
 
Anonymous
Also that would probably invite some questions from the mods
 
perhaps
I don't think undownvoting 35 times in a day is actually a problem, though
especially if you find legitimate undownvotes to do
a few days ago I voted on 40 questions in an hour; mostly upvotes, a few downvotes
that wasn't anything sinister, they were all votes I was planning to do anyway
I just saved them up for the same day, to get the badge for it
(more unintended consequences, I guess; the badge meant that my feedback from voting was a bit delayed)
 
2:51 PM
According to C, 5¹¹=48828124 :/
 
the last digit there seems wrong
and actually, I'm curious as to how it ended up with an even number; you can't do that even with int overflow
so I'm guessing this is either a weird consequence of undefined behaviour, or else there's a mistake in the algorithm
 
0
Q: Does it fit? programing puzzle

Dave JonesChallenge Make the shortest program to determine if the figures in the input will fit into the space in the input. Requirements The input will be in the format of this example: Input: +----+ -- +--+ | +----+ | | | | +--+ | | +---------+ Output: +----+ |+--++-...

 
@ais523 last digit should be 5, all good except that
And float double is +1 byte
 
oh, you did it with floats? no wonder it became inaccurate
why not use long? that's -1 byte and, on 64-bit systems, more accurate than a double at storing integers
 
Which is one of the things that irritates me about PowerShell
 
2:58 PM
@ais523 pow takes float or double
 
hmm, would be nice if there were an integer pow, but I'm not sure there is
 
If you don't explicitly declare the variable type, PowerShell assigns it as an [int], but if that overflows, PowerShell helpfully promotes it to [double], even though there's a perfectly good [int64] type as well.
 
Nice. Helpful.
 
for anyone who's curious, doubles can store up to 53-bit integers safely
any more than that and they start rounding
 
Anonymous
@betseg Incorrect. For the past 18 years, pow has been a macro that delegates to either powf or powl, depending on the types of the arguments. If you call it with long args, it goes to powl, which uses longs.
 
3:02 PM
May 12 '16 at 15:22, by TimmyD
PS C:\Tools\Scripts> for($a=2147483645;$a-lt2147483650;$a++){"$a - " + $a.GetType()}
2147483645 - int
2147483646 - int
2147483647 - int
2147483648 - double
2147483649 - double
 
@Mego oh I didn't know that. Nice.
 
3:44 PM
@mbomb007: I disagree (with the post you made on my challenge); you forgot about the existence of A Pear Tree, and it wouldn't 100% surprise me if there were some other esolang not designed for the purpose that could pull it off
 
3:59 PM
0
Q: In Soviet Russia, code writes you!

FracturedRetinaInput Two words separated by a space. It is assumed that the first is a verb. Output The "Soviet counterpoint" to the input phrase, in the form of a punchline to an "in Soviet Russia" joke. "break law" --> "In Soviet Russia, law break you!" Accounting for correct grammar is unimportant. Sh...

 
@ais523 It was a joke
It took 15 minutes for that ping to notify me.
grumble grumble.. lazy pings .. grumble
 
What the hell? I just answered a question after it was closed
 
@DJMcMayhem I did too...
 
It's a feature
 
If you're in process of typing, and the question gets closed, you're given a small leeway to finish putting in your answer.
 
4:20 PM
Hello
It takes me sooooooooooooo long to even write one challange
Most my ideas get shut down in SB
 
Hey guys I ask this a lot but does anyone have any questions mathematica solves with a builtin. I am working on a sandboxed question and am struggling to find the last few examples.
 
51
A: Fibonacci-orial

Martin EnderMathematica, 10 bytes Fibonorial Another Mathematica built-in soundly beaten by a golfing language without the built-in.

 
prime factorizations
 
4:37 PM
Drawing any flag
 
Mathematica has a builtin for determining goats. I don't know how to feel about that. — Robert Fraser Feb 10 '16 at 15:21
 
@BusinessCat Thanks
 
What the
WHY DOES MATHEMATICA HAVE A BUILTIN FOR THAT???
WTH are they doing??
Anyone going to post an answer on the PSG question by pavel?
You have 3 minutes to inform me if you will or I will be awarding my bounty
 
0
Q: Print a Hello World - Tricky challenge

sadp#include <cstdio> int main() { /*INPUT*/ return 0; } your main objective is to write the text "Hello World!" to standard output. you must put your code : Max 50 chars. You can't use : "main", "asm", "puts", "printf", "putc", "write", "builtin", "#", "*", "&", "_", ";", ",", "\" You can ...

 
4:52 PM
89726   golf-a-brain-flak-integer                              False
I would be very happy if mathematica had a builtin for that
 
Don't we have a challenge to "given an input integer, output the most-compact Brain-Flak" or similar?
 
yes
also for Underload and Modular SNUSP
 
@ais523 Blame the "this is a duplicate" on how SE handles people choosing different close votes. Personally, I voted it as lacking objective winning metrics.
 
@AdmBorkBork isn't that the question in the codeblock?
 
what's the correct reaction when a post gets closed with a blatantly incorrect close reason?
mod flag?
 
4:56 PM
prolly
 
(that is, assuming that the post needs to be cloesd)
actually, if someone downvotes it to -3 I think it can just be deleted, that'd solve the problem
 
@Riker Oh, lol, didn't realize that was a question ID
 
lol
20
Q: Golf a Brain-Flak Integer

NeilIntegers are tedious to represent in Brain-Flak. There are 8 operators: () Evaluates to 1, but does not push anything on any stack [] Evaluates to an indeterminate value for the purposes of this question {} Removes the top of the stack and evaluates to it <> Switches to or ba...

 
I cast a delete vote; it's offtopic in multiple ways, is badly specified, and is uninteresting (this last doesn't make it deletable but it makes me less inclined to try to save it)
 
@Riker I really really like that challenge. It's both interesting and useful
 
5:01 PM
lol
 
Also, there's this now: brain-flak.github.io/integer
 
:o
tha'ts epic
 
Anonymous
@ais523 I tossed on the last delete vote for the same reasons
 
5:17 PM
I'm astonished it isn't closed on SO yet
 
what isn't closed?
 
I can't see it being ontopic there, and it's at -11 (with quite a few answers)
the puzzle that just got closed and deleted here, it was posted to SO too
 
ah
 
OK, this HNQ thing has gotten out of control; I just got a gold badge for the palindrome question
that's not the sort of thing you should be getting by accident :-(
 
@WheatWizard py2... :(
 
@ais523 I'm not understanding. You posted a challenge, and it is popular. What's the problem?
 
he's saying that HNQ is really broken
 
I am really surprised that my submission for Lost in Translation has ended up safe
 
which one?
 
@Riker Sorry for not getting to your PR sooner. Apparently I wasn't watching the repo so I didn't get any notification about it whatsoever.
Either way, It's merged now
 
5:37 PM
This one. It's really easy once someone spends a bit of time on it
 
@DJMcMayhem ah ok
@DJMcMayhem cool, thanks!
now to make a welsh translation
 
@muddyfish Thanks for your work on it!
 
@DJMcMayhem you mean the people's python thing?
 
@DJMcMayhem Btw I just had a look at your People's Python and you made a mistake in the last line "zip":"quartata" it should be the other way around
 
it only took ~20 mins with what had already been done
 
5:41 PM
@KritixiLithos Not me, I've done literally zero work on it. :P
Either way, it's fixed now
 
But it's your repo...
 
yep
it was really muddyfish
 
Wait, Calvin made the first commit, and it's your repo, how does that work?
 
calvin owned it first
 
Helka had the idea, gave up on it and transferred it to me, and then I did nothing and riker/muddyfish worked on it
 
5:43 PM
and then transferred to dj later
yeah ^^
 
it was fun
 
You can trade transfer repos in GH? TIL
 
I've used the tokenize module before when working on my version of QFTASM
 
For whatever reason, new messages aren't loading as I type, so I can't tell what the conversation is until I hit send. :(
 
@KritixiLithos it's in the part labeled "danger zone"
 
5:44 PM
@muddyfish oh the tetris thing?
 
@Riker yeah
 
@DJMcMayhem >_> your avatar looks like lynn's
 
@muddyfish Heh, it has been inactive over the past few months
 
I can't remember why I stopped with that
 
or at least her old one
 
5:45 PM
@KritixiLithos actually I did some over christmas
17/12 is last modified date
 
Btw, did you fix the bug (can't remember what it was)
 
Smokey just got featured on meta.
 
@KritixiLithos Maybe
I can't remember what it was either
I do remember it existed though
 
@quartata let the drama commence
 
@DJMcMayhem s/drama/boatloads of rep for Andy/
 
5:48 PM
Why not both?
 
Sure.
 
6:10 PM
@ConorO'Brien @Riker RDFTD
3
 
@muddyfish Ah, it was with not
 
@VoteToClose 10/10
 
You know it's good when it starts with air horns
 
@KritixiLithos oh yes. Converting stuff to booleans implicitally
 
@VoteToClose ye
 
6:11 PM
@AdmBorkBork the problem is that popularity isn't really a good indication of anything other than popularity, yet the rewards for it are disproportionately large; this gives people a strong incentive to post popular answers and questions rather than good answers and questions
 
@Riker Surpassed only by this beauty in its level of memery.
2
 
NO PLS
@VoteToClose omg just watched that and wtf
 
@Riker I know, right?
 
@muddyfish Come to the Quest for Tetris chatroom, I found and fixed a bug with one of the bool operators
 
Thing is, there are more of those. Whoever figured out how to do that was dedicated
 
6:17 PM
@KritixiLithos arrived
 
6:32 PM
@ais523 The rewards for popularity? You get a gold badge. Yay? Not sure how that's "disproportionately large" ...
I mean, you can get a gold badge just for visiting the site every day for a while.
 
I have ~280 rep on SO and have a gold badge
 
I'm like 20 rep away from the editing priveleges
 
cave johnson is mental
> Now, if you're part of control group Kepler-7, we implanted a tiny microchip about the size of a postcard into your skull.
> tiny microchip... about the size of a postcard
@KritixiLithos fanatic?
 
@DJMcMayhem Wait what how high do the privileges go?
 
6:45 PM
@DJMcMayhem 19 from your profile
 
Idk, like 20-25k I think?
 
@WheatWizard ? editing is 2k on graduated sites?
@WheatWizard oh they go to 25k iirc
 
@WheatWizard ftr, I was talking about SO not PPCG
I got editing on PPCG like a year ago probably
 
@DJMcMayhem 20k is VTD answers, 25k is see site analytics
 
@walpen what am I missing here:
Hi @enderland, you might have posted this in the wrong challenge. This looks like it's meant for [1, 2, Fizz, 4, Buzz]( codegolf.stackexchange.com/questions/58615/1-2-fizz-4-buzz?r‌​q=1) which is a straight FizzBuzz challenge. Also code snippets are rarely acceptable as answers, so you would have to write this as either a function (lambdas are also good) or as a program that takes input from STDIN, command line args or another standardly accepted source. — walpen 1 hour ago
@walpen I made it a function, sorry. I'm... not sure what you mean by "wrong challenge" - this outputs exactly what the question is requesting here. — enderland 3 mins ago
I don't understand most of your comment
 
6:49 PM
@enderland The input on that challenge is the length of the total FizzBuzz string, and your code needs to output what n that string counts up to.
 
oh
 
Your Python code instead generates the string itself.
 
Oh, hi @enderland, Welcome to PPCG!
 
0
Q: Alphanumerical order

PrzemysławPTask is to output this text: ABCDEFGHIJKLMNOPQRSTUVWXYZA A 00000000000000000000000 Z B Y C 101010101010101010101 X D W E V F 2101210121012101210 U G T H S I ...

 

« first day (2216 days earlier)      last day (2634 days later) »