« first day (1873 days earlier)      last day (3061 days later) » 

user1804599
6:00 PM
It asked about the result of some code, but the code had an infinite loop, and "nontermination" wasn't in the list of answers.
 
@rlemon how are you doing bro?
 
The infinite loop probably wasn't intentional :)
 
@Elyse Could you figure out what they meant?
 
@Elyse clearly the correct answer was throw new CorrectAnswer('nailed it!')
 
user1804599
@Jeremy No.
 
6:00 PM
I remember this from high school. I got good at guessing what the test writer meant.
 
@BenjaminGruenbaum fine. little gassy
 
@rlemon needs more bran
 
user1804599
@fredoverflow It wasn't, and the question was discarded.
 
had cream cheese bagel this morning.
I think that did it
 
@BenjaminGruenbaum copy is out and wants me to keep him updated
And I got an eel but I took it out of the water, it didn't survive and I ate it.
 
user1804599
6:02 PM
@fredoverflow don't write parsers in Java. :'(
 
It's a Java lecture, what do you expect me to do?
 
user1804599
Use a parser generator. :')
 
should have done it in JavaScript
 
JavaScript is a much better language than C++.
5
 
@fredoverflow His willingness to explore new (or at least new to him) ground (and no, I'm not being facetious--I'm honestly impressed with his willingness to explore nearly anything and everything). I also think he's progressed a lot as a programmer over a fairly short time.
 
6:10 PM
@Elyse my final exam in high school ("matura") had the same issue
 
Jesus Fucking Christ
 
Ell
@JerryCoffin I think he is extremely adventurous also
 
you could get 12% of the exam simply by being there
 
Ell
I admire his honesty with himself also
 
It's not really about the taste of this shit
It's about drinking 4 liters in 4 hours
 
6:10 PM
@BenjaminGruenbaum @Nooble and I are building an algorithm in both languages, and so far JS has smoked the C++ implementation in terms of performance
 
Ell
Yeah that seems a lot
 
@milleniumbug nice
 
I would feel sick even if it was water
 
@nick Where's @Nooble's impl?
I want to fix it
 
Nooble left the IO in his timings
off course JS is "faster"
 
6:12 PM
btw mine stops at 30 seconds, you can change that though
 
@nick that must mean your C++ is terrible.
 
@TonyTheLion yep
 
@BenjaminGruenbaum probably
you can take a look at the code though
It's not bad
 
Uh.
 
Don't post bad code on Stackoverflow or the trolls are going to get you...
Raise your hand if you have friends that are scared of asking questions on SO...
\o/
 
6:15 PM
@nick read Eric Lippert's "Microbenchmark mistakes"
 
@TonyTheLion the JS code does the same thing
 
@karlphillip hello
 
console output is only done when a solution is found
 
@milleniumbug hi
 
C++ I/O is terrible
 
6:16 PM
which is like, once every 50000 iterations maybe
wild guess
 
still add time
 
@Nooble Oh god, you're invoking the computation thrice
 
@milleniumbug meh, not that bad
I remember seeing that for integers it was pretty good
 
@TonyTheLion Most of the time is spent finding a solution, not outputting. I only output once I find a solution, which hasn't happened in 30 seconds :P
@набиячлэвэлиь I was thinking of caching it too.
 
@Nooble yeah that's what I did
it gave me a little speed boost, like maybe 5-10% but nothing huge
they are very simple operations
 
6:17 PM
@BartekBanachewicz yes, I can.
 
yes you can
 
user1804599
@VillasV lol
 
Ell
@MadaraUchiha What can you do?
You can use the arrow on the right hand side of a message to reply to it
 
He knows.
 
Ell
6:19 PM
We have a gif I think to show the arrow thing
 
user1804599
If you don't understand that files store bytes, and can't comprehend that buffering shouldn't be inherent, you're not qualified to design such APIs.
 
@Ell THE GIF
 
The context isn't from this room. He knows.
 
Ell
@MadaraUchiha Can I know?
 
r/nocontext
is on reddit
not here
 
6:20 PM
r/evenwithcontext
 
Who uses C++ IO for stuff that's not integers anyways ;-)
 
Ell
I suppose we aren't allowed context vOv
 
r/evenwhenitsnotclearwhethertherescontextornot
 
JS masterrace
 
> When you are dead, you don't know that you are dead. It is difficult only for the others. It is the same when you are stupid.
found it on fb
 
6:21 PM
Ok, so here's what's going to happen.. you will all stop begin so serious for a few minutes and stop acting like grown ups, and we will talk some fun sh*t. How about that for a change..
 
@nick Change your equality comparison to comparison with an error margin
 
All work and no play makes you guys boring as f**k.
 
@CatPlusPlus what do you mean?
 
@karlphillip This is a chat for professionals.
 
Ell
@nick you can't compare doubles exactly is what I assume he is implying
 
6:23 PM
hm
 
Or tell me how to tell io.js to run this
 
@karlphillip but your name isn't blue
 
node program.js
 
I have a 1500g bag containing 4 oranges, so each orange weighs 375g. Oranges have 50mg Vitamin C per 100g, which means 187g of Vitamin C per orange. The human body needs 100mg of Vitamin C each day. What happens with the 87g surplus? Is it stored or flushed?
 
Xeo
Flushed
 
6:24 PM
peed out
 
Ell
flushed
 
@Nooble what?! since when... what happened to you guys while I was away?
 
Jesus christ
 
it seems comparisons are a lot slower than finding equality
 
6:24 PM
whom have I offended by referring to urination?
 
Me
 
then go fuck yourself!
 
user406009
@fredoverflow flushed. Only the fat soluble vitamins are stored.
 
awaiting suspension
 
hahahaha "awaiting suspension"
 
6:25 PM
@набиячлэвэлиь No significant difference, but better code.
 
I'll literally peeing by some other end right now
 
user1804599
@fredoverflow you piss it out
 
Nick gets like 240 results @набиячлэвэлиь.
In 30 seconds.
 
Ell
You must implement IProfessional to access this room
 
user1804599
you can eat as much vitamin C as you want
 
6:25 PM
@Nooble Did you try it yourself?
 
@fredoverflow flushed
 
My PC is shitty
 
@набиячлэвэлиь of course
 
Anyway verify correctness and equivalence before comparing benchmurks
 
user1804599
also Biology
 
6:26 PM
@Elyse I have no source (although I'm sure I could google) but iirc you can have 'problems' from too much vitamin c, but it needs to be a crapload and chronic or something
 
user406009
@Ell jokes on you. There are no interfaces in C++.
 
Pure virtual classes are interfaces
 
So eating half an orange would be just as good, Vitamin-C-wise? Interesting.
 
@karlphillip see (or don't) transcript
 
user1804599
@rlemon Dunno.
 
user1804599
6:26 PM
I'm Dutch. I only need vitamin THC.
 
lol
 
I need vitamin C++
 
I thought the Dutch took Vitamin Frugal
 
@rlemon yes you can, I guess you can also get Scurvy by C excess or something similar
 
user406009
@fredoverflow do note that our nutrition science is very inexact. We don't really know if excess vitamins are useful or if there is some limit.
 
6:27 PM
@milleniumbug you've been all brainwashed, dude. I come here ONLY for cat videos... there's none (literally).
 
@VillasV I'm a lemon, I don't get scurvy, I prevent it.
 
I have not been suspended for over a week. Is it some sexist thing because I am male?
 
user406009
@fredoverflow nutrition experiments are like impossible to do properly.
 
user1804599
Getting scurvy is rather difficult in a developed country.
 
@karlphillip cat videos were deprecated, they've been replaced with puppy videos
 
user406009
6:28 PM
Well, at least without violating ethical protocols.
 
@rlemon then your worst scenario is turning from green to orange
 
> The upper limit for vitamin C -- the most you should consume or take as a supplement in one day -- has been set, by the Institute of Medicine, for 2000 milligrams for adults.
So 2g max... interesting, because you can get 50g IV shots of Vitamin C :)
 
@nick Doing a quick look, it appears that we're looking for places where ((n * ((3 * n) - 1)) / 2) == (n * ((2 * n) - 1))? If a little algebra seems to indicate that we're looking for solutions to n^2 + n - 1 = 0 (or n^2 + n = 1). That seems rather faster to solve (to me).
 
@VillasV my worst scenario is if life gives me to someone. I know that doesn't end well.
 
@CatPlusPlus Aha! JS output isn't correct after 5.
 
6:29 PM
@Elyse I gave scurvy to about 50 students this year.
 
@набиячлэвэлиь it's considerably faster up to solution 6
 
user1804599
scheurbuik
 
Ell
Boy politicians are so stupid
 
solution 6 took 200ms on my laptop, solution 7 took 42000ms
 
user1804599
@Ell Yeah, girl politicians are much better.
 
6:30 PM
@Nooble mumble
 
@nick solution 6 is wrong
oeis.org/A014979 <-- The sequence
 
@JerryCoffin ermahgerd
 
Are you guys seriously benchmarking C++ vs JavaScript for efficiency?
 
@nick After changing both to use floating points #7 is 0.808s in C++ version and 2.806 in JS version
 
@Nooble MUMBLE
 
6:31 PM
@JerryCoffin initially I was trying to figure that out but I can't into algebra
ill give it a shot
 
@набиячлэвэлиь in a few minutes
 
Finally the conversation is starting to derail...
 
@CatPlusPlus Well, floating point is JavaScript's only native numeric type, so of course it's gonna excel in that ;)
 
@milleniumbug s/puppy/red pandas/
 
@fredoverflow don't forget NaN
surely that counts as well
 
6:32 PM
Also they both skip solutions so there's that
 
Can you guys at least use the same algorithm for language efficiency comparisons?
 
Matlab would beat both of them
~~purrformace~~
 
I agree, Matlab is way faster than Java/Python/Perl/Javascript combined...
 
My farts are the fastest
 
@CatPlusPlus How exactly does using floats make it faster?
(even when some solutions are skipped)
 
6:34 PM
Hell if I'm going to be comparing disassemblies for you
It might be vectorised
 
@CatPlusPlus can you run both for 60 seconds and tell me what you get?
the JS impl gets faster
 
You can check it yourself
 
in JavaScript , 1 min ago, by SomeKittens
https://github.com/felixge/faster-than-c/
:D
 
Or actually I have nothing better to do
 
@CatPlusPlus meh, i cant into that right now
@CatPlusPlus yess
 
user406009
6:35 PM
Also, you can use an algebraic trick to avoid multiplication.
 
@Lalaland what jerry described above?
 
user1804599
Reasons to use JavaScript: it's the only language available for your platform and outsourcing is too expensive.
 
user406009
hexagonal_function(n) - hexagonal_function(n-1) = 4n - 3 = n<<2 -3
 
NO! Someone did not pasted a Github repository link... That's just wrong, dudes...
 
user406009
@nick No.
 
6:36 PM
@Elyse also it smokes C++
 
user1804599
Smoking is bad.
 
yea
JS vapes
 
Yo momma smoked C++
 
@Borgleader <3 <3 <3 :)
 
I like where you are going, Elyse.
 
6:37 PM
@TonyTheLion <3 <3 <3 <3
 
sorry guys, I'm gonna move you to another monitor
 
@milleniumbug I'm moved
@Borgleader how are you today?
 
user1804599
wtf
 
user1804599
this video makes no sound on my machine:
 
user1804599
all other videos do :/
 
maybe there is no sound?
 
@milleniumbug Chat doesn't work great on Secondary monitor, my friend. Be warned.
 
user1804599
@TonyTheLion why would a soundtrack video lack sound?
 
for trolling purposes
 
user1804599
6:39 PM
Maybe it was silenced because copyright?
 
RAISE YOU F******G HANDS IF YOU ALREADY HAVE A TICKET TO WATCH STAR WARS 18/12/2015 ?
 
user1804599
The video worked in the past.
 
@Elyse possible
 
lol getting excited about Abrams film
 
6:39 PM
@karlphillip I don't have a ticket, but I will go see it
 
user1804599
Ah, this mirror works: youtube.com/watch?v=vpY5k77vrGg
 
user1804599
Nice.
 
@TonyTheLion you are a real dude, tony. good for you...
 
Ell
man this is annoyong
I got a USB-OTG cable
 
@Nooble Yep it looks like it switches to SSE instructions
 
Ell
6:41 PM
but it's right angled and doesn't allow the power cable to fit :'(
 
ell problems
 
@karlphillip no, but I really hope Gandalf returns and gets rid of Q this time. The Dementors were really annoying to deal with the last movie.
2
 
AYYYY
 
lmao
 
@CatPlusPlus Any particular reason why SIMD doesn't happen when using ints?
 
6:42 PM
Intrinsics or go home
 
I'm already home :)
 
Actually it does, maybe it's because conversions, dunno
 
@Nooble Because SIMD with integers is a fairly new and in some respects limited development available on stronk machines. This is especially true of GPUs, which are way more limited in this regard than CPUs.
 
Or it simply skips the solutions
 
maybe your mum
 
user1804599
6:44 PM
What the fuck.
 
user1804599
Control+F doesn't work on Twitter.
 
It probably hijacks it
 
How many did nick generate in 30s?
 
A lot of shitty wubapps do that these days
 
I just made 182
 
6:45 PM
@набиячлэвэлиь I suspect nick did really well during the prohibition
 
@Nooble Write code that's verified correct in both and go with optimisations from there
Also make the output the same so it can be easily compared
 
@ElimGarak eyeroll
 
Ell
Nooble I am going to buy a mechanical keyboard for my belated bday present
Any recommendations?
 
@Nooble Mumble
 
@CatPlusPlus What do you mean by verified correct? I know it skips solutions, I just don't really know why.
@Ell It depends. Here, I'll get the links.
 
Ell
6:46 PM
what on?
 
@Nooble DAMMIT, MUMBLE YOU SKRUB
 
Ell
I know nothing john snow
 
user1804599
@Ell If you are going to use it in the presence of other people, don't get a mechanical one at all.
 
Ell
@Elyse because it's too loud?
 
@Ell Your switch preference and if you'd like a full-sized keyboard. Also your budget.
 
6:47 PM
Just buy the cheapest keyboard you can find, you'll throw it away anyways
 
user406009
 
Ell
I mean, to be honest I'm happy with my current membrane keyboard
I feel like I'm missing out though
I'll show you what I have
 
user1804599
@Ell Even the quietest ones are louder than the burps of your mom after she's drank yet another gallon of milk.
 
@Nooble That it generates the same sequence in both cases at least:v
 
user406009
Note how you can avoid a lot of the multiplications in the inner loop.
 
user406009
6:48 PM
The timing appears to be twice as fast as Nab's version.
 
Ell
 
Also don't time noise like I/O or string formatting
 
Ell
^I have this and it's fine and also loud :P
 
I'll play in a minute~
 
You don't really need a mechanical keyboard, you just think you do, bby
 
Ell
6:49 PM
> BAD ASS TYPING
Elite typists don’t look down at the keys. High-quality mechanical keyboard. Rated #1 mechanical keyboard on LifeHacker.
this is definitely for me ;)
 
user406009
@ElimGarak There are lots of things we don't technically need to do, yet we do them anyways.
 
Like living?
 
@Ell eeewwwwwwww
 
6:50 PM
I'm currently using a CODE keyboard.
Works really really well.
 
wtf is that
 
the band audition went terrible
 
@Nooble Get on Mumble you scrub
 
6:50 PM
How terrible? Details pls
 
That's the keyboard you give to people that you don't like.
 
@ElimGarak we were done after 5 minutes
 
really terrible iow
 
Well, that is bad
 
user1804599
6:51 PM
I want a keyboard without a numpad so my mouse can be closer to the keys I actually use.
 
Did you try to argue about Haskell with them?
 
user1804599
But they are so hard to find.
 
The bassist basically said "nah we don't get to play anything"
they were all 2 leagues above me
 
@Ell Most people get the keyboards in either MX Blue, Brown, Clear, or Red variations. I personally prefer the MX Blue, since it feels the best. It's also loud.
 
user1804599
Maybe I should practice lefty mouse.
 
Ell
I think I want full size keyboard
 
Ell
@Nooble does the loudness impact feel?
 
@Ell Not really. It's audible, but the sound itself doesn't do anything to the feel. Although in this case, there's a correlation between how loud and how tactile the keyboard is.
 
user1804599
6:52 PM
@BartekBanachewicz Not an option. It is too loud.
 
s/keyboard_pics/cat_pics
 
browns feel significantly different to Blues
 
Ell
I guess I'd go for mx clear then
 
@Elyse mx brown version then?
 
user1804599
Also too loud.
 
6:53 PM
@BartekBanachewicz Razer?
 
um what?
 
That's overpriced garbage.
 
@EtiennedeMartel lol
 
Ell
@Nooble cool
 
6:53 PM
@EtiennedeMartel Don't start no sh*t with Razer keyboards...
 
user1804599
Scissor switch is also really rare for non-laptop keyboards. :(
 
Ell
I want a subtle click I think
 
user1804599
They're the best.
 
Did you guys play anything, @BartekBanachewicz?
 
@EtiennedeMartel you could use sticking your head out of your ass time to time
@ElimGarak a bit.
I was a tad stressed because you know bands and shit
certainly wasn't best me
 
6:54 PM
@Ell If you come to mumble, I can let you hear the loudness of my keyboard :P
 
Yeah, performance anxiety is a thing, unfortunately
 
@BartekBanachewicz Oï, I'm talking about keyboards there, and you have to go and make it personnal? The fuck?
 
sorry to hear it was awkward
 
I'd go with either clears or blues.
 
but he said outright that he wants someone who can pick up their pieces in less than few minutes from hearing
 
6:54 PM
Browns feel weird to me.
 
@EtiennedeMartel oy, mate, love from Croatia
 
Topre is love, topre is life
 
@EtiennedeMartel sorry then mate. Your opinion's uninformed shit but you're totes cool.
 
Alright guys, it's decided. Let's all go on Twitter and start some rumours saying that
"Stack Exchange gives their employees Razer keyboards to work with."
3..2..1.. GO GO GO!
 
Xeo
Okay @karlphillip, did you contribute anything constructive today?
 
6:55 PM
Who is this karl guy?
 
Xeo
I'm getting annoyed with you
 
Man, $150 on a keyboard is a lot of money
 
And why is he telkitting?
 
@Xeo I did dude, just not in chat.
 
Xeo
Take this as a warning.
 
6:55 PM
@Nooble MUMBLE!
 
@VillasV eh I dunno.
 
Ell
@Nooble carn't atm :/
 
it's a piece of gear you use rather often
 
Guise.
 
makes sense to pay more for it
 
6:56 PM
@Ell Ah I'll get an audio clip.
 
Guise
 
Never mix tooth paste and cream. Terrible.
 
like for example when I was picking glasses I just said "give me the best lenses outright"
 
Never had that thought
 
I have Hoya ones now and they're just ohsobetter than cheaper ones.
 
Ell
6:56 PM
@BartekBanachewicz doesn't make sense to overpay for it thoguh
 
@BartekBanachewicz and you thought about Haskell lenses :P
 
@Ell Also you can get PBT keycaps. Rather expensive but they're resistant to shining.
 
Well, you wash your teeth and then you have some cream-covered hot white chocolate. And those things don't mix.
 
How about ergonomic keyboards? Anyone gave them a try?
 
@Nooble Dammit, get on mumble
 
6:57 PM
Icicle failed with a mechanical keyboard
nooble is doomed
 
@Ell "overpaying" means paying more than you thought was apt. If you get absolute best it makes sense to pay 10x the price of a regular kbd iff you're actually gonna benefit from that.
I've already mentioned that in the case of phones
 
@Xeo Just imagine how cool would it be it if Razer actually picked up on that tweet and sent those guys some free keyboards...
 
@karlphillip Not really...?
 
Ell
right of course, I think etienne is implying your valuation strategy is bad
 
I don't mine paying twice as much for an Apple phone than for an Android phone if I get actual gains out of that
 
6:58 PM
Razer is overpriced for the same reason Apple is overpriced. You're paying a hell of a lot just for the name.
You could equivalent quality elsewhere for a lower price.
 
@EtiennedeMartel you're wrong.
@EtiennedeMartel you're also wrong here.
 
Where exactly can I buy a laptop of the same build quality as an MBP?
 
for me it looks like you're running on FUD and not actual observations
 
@EtiennedeMartel I agree with that in case of Razer, not with Apple
 
6:59 PM
@Jeremy sexy
 
@ElimGarak You can check a user profile on Stackoverflow simply by clicking on his profile picture.
 
@ElimGarak You can't anymore, any non-Apple laptop sucks now. But a few years ago you could.
 
@rlemon I want a white one
I just have a couple black on black
 

« first day (1873 days earlier)      last day (3061 days later) »