« first day (1654 days earlier)      last day (3279 days later) » 

12:00 AM
@Mysticial They call it "one way ticket to the hospital"
 
@Mysticial wait what
I thought that's not 64-bit
 
@Jefffrey looks like something from http://thisiswhyyourefat.com/
 
@Mysticial regarding this, I wrote this answer math.stackexchange.com/questions/1251327/…
not sure if I linked
 
@orlp I saw it yesterday. Too busy to look at it in depth though.
 
@Mysticial Yeah it appears that RAX is the 64-bit verson
Or was that not for x86?
 
12:01 AM
I am looking at the a mt everest avalanche video, could not but question: what's the best thing to do if hit by an avalanche while hiking ...
if you have a tent, would it be safer to be inside or outside the tent?
 
Hello everyone! Do you know Kruskal's algorithm?
 
no
 
@user159870 we know about the lounge algorithm: read the rules or be kicked out
 
no
 
12:03 AM
no
 
Even tellkitty is aggressive towards new users. We have reached a new bottom.
 
@chmod711telkitty I don't think a tent is going to help you in an avalanche, babe.
@Jefffrey Do you reach for bottoms frequently?
 
but beats been directly covered by tons of snow?
 
> TIL it is estimated that 40% of all humans to have ever been born did not live past their first birthday.
we're so lucky guys
 
@chmod711telkitty Not really, no.
 
12:04 AM
would trap some air inside at least ...
 
My question is this: stackoverflow.com/questions/29885000/… I hope someone can help me. Thanks in advance!
 
@chmod711telkitty The crushing pressure of the snow will force out all the air before you even notice.
Unless your tent is airtight, sealed, and strong enough to withstand "tons of snows"
 
The only difference is that there will be a thin layer of nylon between you and the snow. That's it.
If anything it may hinder your efforts to escape, but your chances are so astronomically low anyway that I doubt even that makes a difference.
@user159870 Please do not spam your question.
 
Dan Fredinburg is dead?
Nepal.
 
12:08 AM
@user159870 why did you ask if we knew anything about krusty's algorithm if you were going to ignore the answer anyway
I don't get some people
 
Looks like maybe I overestimated the quantity of snow involved, at least in this instance.
 
@user159870 I know about the fact that it uses union-find
 
@AlexM. You don't get any people
 
true, I can't remember the last human being I truly got
except for myself
 
@LightningRacisinObrit "Getting" people should be illegal; that's slavery.
 
12:09 AM
I get myself everyday
 
@AlexM. But when is the question
 
> TIL a police helicopter in Albuquerque, NM landed in a field next to a Krispy Kreme donut shop, the occupants picked up a dozen donuts, then took off again.
one of my goals is to pick up a mate
get a flight to somewhere far away
like New York
 
@AlexM. "a mate"
 
buy 1 x candy, and then come back
 
where do you live
 
12:12 AM
@AlexM. i dont even get myself :(
 
@Borgleader Maybe you get to get harder
 
@chmod711telkitty Depends heavily on the avalanche, and the location of your tent. I know a couple guys who survived an avalanche, and burrowed out through what they estimated to be around 4-5 meters of snow to get out. One was a very experienced guide though, so the tents were in a good location, in a large crack in the rocks, where most of the snow basically flowed past it rather than dropping directly on it. Even so, they were pretty lucky to survive.
 
This means you need more overloads for your getting for the operation to work
 
@AlexM. starbait taken
@AlexM. I'm not convinced you could take a helicopter from Goatland to NYC, NY, USA
 
btw I've converted everything to questions: area51.stackexchange.com/proposals/86662/atomic-coding/…
@LightningRacisinObrit Do you still have problems, m8?
 
12:14 AM
stop faux-replying to things that are parts of different conversations
the whole thing seems more like a blog m8
if you want to keep the many-people-provide-their-own-viewpoint thing, well, that's SO
 
@LightningRacisinObrit QQ this must mean m8 -> m7
 
ok
that was a cinch!
 
@LightningRacisinObrit you forgot , Earth
 
@LightningRacisinObrit Now the only question is "now what"
 
@AlexM. oops
@Cinch yeh I dunno
well I'm going to bed :)
 
12:16 AM
@LightningRacisinObrit Yeah idk what to do now
 
Literally all I've done today is wake up, go for a walk, accidentally find myself back at the pub and have a rip-roaring day on the piss, then come home to cook and eat some delicious lamb. What a waste.
 
@LightningRacisinObrit That's okay.
You don't need drama everyday.
 
@LightningRacisinObrit basically this then
^ this gif makes me smile
 
Wait, C++17 has modules?
 
12:18 AM
s/has/will have/
 
@Borgleader lolye
@Cinch :whoosh:
lol Google really sucks at searches for "C++17"
 
meh
 
@Jefffrey huh, no?
 
> [How does D improve on C++17?](http://p0nce.github.io/d-idioms/#How-does-D-improve-on-C++17?)
...
Even when C++ compilers implement modules and you can finally use them, headers will still survive alongside modules for backward compatibility.
gg markdown
 
What the hell are modules?
 
12:21 AM
@Jefffrey Where does that say that C++17 has or will have modules?
 
You can easily read into it
 
Sure, if you're an idiot
clang has some experimental modules implementation, which is nice
no idea how it works etc
 
Modules sound weird.
.h/.cpp seems fine to me.
 
@Nooble its not, it takes forever to compile
 
@Nooble yeah I don't really get it either but as I said I don't know how modules work so maybe they're amazing shrug
nn all
 
12:28 AM
@LightningRacisinObrit It's on the roadmap.
Or at least that's what Bjarne said.
 
@Borgleader Even with incremental linking?
@LightningRacisinObrit Night.
 
> TIL that American psychologist George Stratton conducted experiments in which he either wore glasses inverting images both upside-down and left-right or a contraption that forced him to see his body from above. He found that it took only a few days for his brain to adapt to the new orientations.
I'm really wondering what would happen once VR becomes commonplace
will it mess with people's reflexes and orientation
will it cause deaths IRL because of this
 
@Nooble slower than it should be yes
one month until this releases
cant wait!!!
 
@AlexM. I'd love to be in third-person mode IRL.
 
I'm seriously curious though
maybe people will like VR gaming so much they'll switch to it completely
and those guys who do 24/24 gaming end up getting ran over by cars because their reflexes are fucked up or can't process reality properly anymore
 
12:34 AM
@AlexM. i find that fascinating, the brain can do such amazing things "oh hey i keep seeing upside, let me switch that for you"
 
Fucking hell, this game is tight.
 
There's a movie about people living only via their own robot which is controlled via a virtual reality machine.
It has bruce willis in it I think
 
@EtiennedeMartel This team is highly capable of losing 4 times in a row, so I'm not even watching.
 
@JerryCoffin It probably works well when only avalanche is involved. Although you probably don't want to be in a crack amongst the loose rocks when a large earthquake hits.
 
@Borgleader Yup, that's it.
 
12:39 AM
@chmod711telkitty Probably--but this was on Pikes Peak, where earthquakes of any significance are extremely rare (essentially nonexistent).
 
> Warning: this article is opinionated.
This won't end well
Thanks @Rapptz
 
@Mysticial do you know if using __lzcnt64 works on MSVC if your target build is not haswell?
 
101 ways to die while hiking: avalanche, bush fire, flooding, hyperthermia, hypothermia, snake bites, poisonous insects, dehydration. Not to mention getting lost, break a leg or two, stalked by a fluffy large kitty, hunted by a pack of doggy wolves or couple of bears.
 
fluffy large kitty \o/
 
GEEEEEE GEEEEEEE /cc @Borgleader
 
12:52 AM
@EtiennedeMartel We won?
 
WOOP WOOP MOTHERFUCKER
 
\o/
 
@EtiennedeMartel ???
 
@Cinch The Montreal Canadiens move on to the next round!
 
12:54 AM
@Borgleader whats habs
@EtiennedeMartel I don't follow hockey?
I like in Hawaii lol?
(Ice hockey in Hawaii lol)
 
OMG CREATED A REALLY NICE README.MD, THEN WAS TOO LAZY TO PULL AND --FORCE'D A PUSH NOW MY FANCY README IS GONE
WAAAAAAAAAAAAH FUCK GIT FUCK GIT FUCK GIT
 
@Columbo Shhh... It's okay. Things will get all better
It's all okay now...
shank
 
@Cinch no they won't cuz my really nice file is gone sniff
 
That's what you get for --forceing without thinking~
 
@Columbo ☑ rekt ☐ not rekt
 
12:56 AM
@Cicada You should never try to force yourself on things.
It never turns out well.
 
all generalization is bad always
 
@Cicada Are you absolutely sure that there are no general absolutes?
Reminds me of an argument.
 
@Cinch Only Sith deal in absolutes
(said a Jedi)
 
@Borgleader "Are you absolutely sure?"
 
@Cicada I'm actually impressed that only one person brought up how bad the comparison is.
The other comments in /r/programming were like "lol GC" or something similarly stupid.
 
1:02 AM
An /r/programming thread on Monday keeps sanity away
> D should throw away exceptions
lel
 
@Cicada D should be thrown away
FTFY ;)
 
> D has a package manager. C++ has none that is popular in its community.
Not true, lucpm is pretty popular around here
 
lucpm for president 2017
 
Nooble for president 2034.
 
I think that 2016 is going to be a hillarious political year for the US.
 
1:09 AM
@Cinch It may look like a comedy from the outside, but looks a lot more like a tragedy from the inside.
 
@JerryCoffin Were your reflexes too fast?
 
@Cinch Four more years! Four more years!
 
@Nooble I don't get this reference.
 
@Cinch I suppose that's possible (but I don't see any sign of it, and at my age it surely seems unlikely).
 
@JerryCoffin Hillary -> hillarious
 
1:12 AM
@Cinch Obama is already on his final term, so he can't get elected again for "Four more years".
 
@Nooble Well duh
I appreciate that we cannot have a glorious leader for more than 8 years.
 
@Columbo The second you start to --force stuff you can no longer blame tools
 
#FDR-so-glory
#FDheRo
 
@Cinch Precisely the tragedy (or one of them, anyway) I had in mind).
 
Does anyone know wth the difference is between o and g in .obj files?! they seem completely interchangeable from the ones I've looked at/exported but... they cant be otherwise well... why bother having both. the wiki page for .obj seems to suggest g is nested inside o but... i just exported a teapot from 3ds max and the top level is g
 
1:13 AM
@Borgleader isn't g for debug
 
Wrong obj files
@Borgleader Spec says one is "object name" and the other is "group name"
 
@CatPlusPlus mmmmmmmm... i see neow
 
@Borgleader o is for an actual object. g is for an arbitrary group of vertices. But ultimately, no, there's not really any difference in what you do with them.
 
@JerryCoffin cool, thanks
 
1:29 AM
@Mysticial using __int128 for 64x64->128 bit multiplication instead of inline assembly caused a significant performance regression in my code
probably because the compiler gets stupider with inlining or something
 
How the heck do you get the size of an array?
 
sizeof(array) / sizeof(array[0])
 
Call 0801ARRAYSIZE
 
That returns 1
 
0
Q: expected unqualified-id before 'public' error

Ashley HHere's a link to my code. Getting the error message and I'm not sure why. Am I overlooking something? My assignment is to write a program that implements and uses the methods fort a class called Rectangle public class Rectangle { //Declare the data members int height; int width; /** * Param...

 
1:30 AM
then your array has one element in it
 
@orlp int a[] = {1, 2, 2};
 
Please let this be a troll
 
I want to reply with a sexist comment
 
That can't be one element.
 
1:32 AM
@DemCodeLines sizeof(array) / sizeof(*array)
 
That returns 1 too.
 
I just linked you
a proof that my method works
 
Are you in the scope where the array was declared or did you decay it to pointer
 
Don't use arrays
 
1:33 AM
you suck
 
Of course it fucking decayed why else would it return 1
 
sizeof(array) / sizeof(0[array])
 
Well, the problem is I have a stupidly simple function that is supposed to check if two arrays have same elements. But it doesn't return the correct answer:
 
dontusearrays
 
Don't post code here sigh
 
1:35 AM
a and b are pointers, not arrays
 
apologies
 
You can't get array size after decay hth
 
Also yeah as anticipated you suck
> Ractive js is the best JS library I have seen in very very long time. I use it in most of my projects. I find it much easier to use than Angular and equally powerful. Disclaimer. I am the lead developed
welp
 
ractive
lead developed
 
@Borgleader I suppose I should add "at least as far as I know". I've written an obj parser, and generated a few obj files without any problem treating them interchangeably, but there are enough things that deal with .obj/.mtl files that it's always possible something out there thinks they should be different somehow.
 
1:37 AM
SO: Post code here
Chat: Don't post code here
I could see how the mistake could be made, despite this not being SO.
 
I wonder why the standard library still doesn't have some sort of std::safe_less that defines a proper ordering between all arithmetic type
 
Chat is not SO
thank god
 
@JerryCoffin i went ahead and dled a library that does .obj parsing to get a hold of their test data (because all of mine was generated using blender) and it seems i should treat top level groups as objects, and groups inside objects just dont seem to "do anything"
 
so you can safely compare unsigned with int, double with uint64_t, etc, without getting conversion errors
 
And how would that work
 
1:38 AM
@Cicada talking to me?
 
My insanity grows the longer I code for sustained periods of time. I need a break.
 
No to the wall
 
There it is.
 
serious please, did you mean me or not?
 
1:39 AM
This wall is very interesting
 
@Cicada No to the wextra!
 
well, any signed type can already safely be compared with any signed type, and any unsigned with any unsigned
 
@DemCodeLines You’re dividing the size of a pointer by the size of the pointee, so you end up with nonsense.
 
unsigned <> signed would involved an explicit negative check
 
What is the point of having unsigned vs signed comparison
idgi
 
1:41 AM
e.g. safe_less(s, u) -> s < 0 || unsigned(s) < u
 
@LucDanton Originally, I did sizeof(a)/sizeof(a[0])
 
Same difference.
 
@Cicada because sometimes you have types of differing signedness you want to compare?
 
Read up on rot and pointer decay
 
@Cicada not always explicitly - think templated code
 
1:42 AM
@orlp That's a huge red flag to me
 
How else would I get the size of the array to put in the for loop?
 
pass by argument
don't use C arrays
up to you
 
@DemCodeLines Pass it in. Alternatively, pass one pointer for the start of the array and one for the past-the-end position.
 
@Cicada You dirty commie
Alternatively drink until you pass out and no longer have to code
 
I had heard of pass by reference. TIL pass by argument
 
1:44 AM
@CatPlusPlus Someone here in HK said to me "you're French so you must be socialist"
 
@DemCodeLines It’s a joke.
@Cicada Was it you?
 
No it wasn't obv
 
You’re crazy enough to talk to yourself.
 
But then who isn't
 
Yeah I can totally picture myself shouting at my mirror "you socialist fuck!"
 
1:47 AM
ikr!
 
wtf
So I guess there is a name for the array-pointer thng
RADK
 
HOLIDAYS today evening finally
I should quit this whole IT thing
move to Korea and teach french or english or whatever
 
@Cicada Who knows
 
> In space being without a fan can make a fart become deadly.
what am I reading
 
Fartart
 
1:54 AM
There you go
3 elements, prints the "vs" string out 5 times
 
use std::array
not this bullcrap
 
At least references instead of explicit size
 
What does that do...? Give more functions?
 
If you insist on using stupid crap you shouldn't be using
 
> Give more functions
 
1:56 AM
I thought this would be simple...(obviously not)
 
it's simpler to type
and then it doesn't work
and then you cry
you see, running over a rope might get you to the other side faster, if you know what you're doing
but you're probably better off slowly crawling over the rope, or else you'll fall to your death
 
The test cases literally go,
int[] a = {a, a};int[] b= (a, b};
 
@DemCodeLines The right way. Produces the same answer when you pass an array, but won't compile if you try to pass a pointer.
 
Wait what, Debian 8 out already? what is going on is this 2017 already
 
Whatever, I'll change, but I am still curious why that stuff is printed out 5 times.
 
2:05 AM
What does this mean?
This +23
 
An offset in bytes
 
@Cinch That's +28. It's saying you're trying to use a value 28 bytes from the beginning, but you've only initialized 20 (5 items, 4 bytes apiece).
 
@JerryCoffin Oh I see.
I didn't know it was in bytes
 
@Cicada Now I don't have to use backports for common shit
WOO SECURITY UPDATES
 
@orlp It will fail silently if you do that. lzcnt is similar enough to an existing instruction that it doesn't crash. Instead it does something undefined.
 
2:20 AM
allright, I'll stick to reversebitscan
 
lol flag
 
@orlp I observed that too in one of my projects. I didn't care enough to try to debug it.
 
Are void pointers a sign of crappy design? I have this problem where I have an unstable list of things and I want to tag the elements with a pointer to something. I can't point to the element because its unstable. But I can point to something that doesn't change from the element... by adding an inconspicuous lil void ptr
It doesn't feel very good though
 
I'll drop this here, and leave very quickly
Bye
 
@Prismatic There are some times where they arise and it’s more or less natural. Outside of those times, yes it’s a bad sign.
 
2:29 AM
How do I know its a bad sign and that I've angered the programming gods?
 
I guess I begged that question :) I’m not sure. To maybe help you find an answer: sure, you have formed a void pointer. Now what do you intend to with it? There are very limited ways you can use such a pointer.
 
My god I'm watching Exodus: Gods and Kings
It's so... bad.
 
@Jefffrey What is that god damn sound?
 
2:45 AM
0
Q: Standards compliant way to compare float to integral?

orlpLet's say I have two objects i and f of respective types I and F. I know that std::is_integral<I>::value is true, and std::is_floating_point<F>::value is true. Is there a fully standards-compliant way to find out if the value of i is smaller than the value of f? Note the emphasis on 'fully stand...

 
biology is just an extremely difficult reverse engineering project
 
Yeah just that
Keyword: just
 
@MichaelMitchell Got a 18/20. I'll get lower on the second draft I recently submitted because i forgot to double side it, which is -3. sigh.
and my edits were bs anyways, lol
so i expect to keep the -2.
 
@Blob meh
 
so from a 90 to a 75 because i didn't fucking double side it
 
2:55 AM
@Blob Cruel
 
my cure, in hindsight, is stupid as fuck
oh well
 
3:36 AM
@Blob Mostly, but not all (breeding and such are...forward engineering).
 
Well when I see some people I'm not so sure about that
 
0
Q: Checking two arrays for similar elements, returns correct values for some tests, incorrect for others

DemCodeLinesI have a function which intends to see if two arrays contain similar elements. This is the main function: int arr[] = {1, 2, 2}; int arrb[] = {1, 2, 1}; int a = (sizeof(arr)/sizeof(arr[0])); int b = (sizeof(arrb)/sizeof(arrb[0])); cout << checkForSimilar(arr,arrb,a,b); and the following funct...

Sorry, I just had to.
InB4Downvote
 
3:51 AM
@Cicada I was thinking more along the lines of things like rice or corn. Human breeding has only fairly minimal basis in objective criteria (though perhaps more than we realize--iirc, neural networks can recognize whether a person will be perceived as good looking or not.
 
It was just a joke on how dumb some people are
 
@JerryCoffin ...
 
@Cicada Yes, I figured that (but choose to ignore it).
 
Your constructivism is lost on me
 
4:14 AM
Sup guys
Annyenghaseyo?
 
People can't stop avalanche, earthquakes or tsunami, they can't accurately predict them, and they can not outrun them. I would not say just some people are dumb - we all are.
Oh yeah & weather people predicted those natural disasters ... after they had killed hundreds/thousands of people.
 
4:34 AM
@chmod711telkitty What would outrunning anything have to do with intelligence? In any case, your theory is apparently that there are only two possibilities: intelligent enough to predict these specific events, and "dumb"?
 
In some cases animals happen to predict earthquakes and try to run away from the area ahead of us. I guess those animals are then somewhat comparable to human. Ahhh that's why my cat's so genious heheehehe
 
@Columbo I hope you are aware off the fact that Richard S. (the author of the DR you tried to use as proof of it being ill-formed) posted that it is well-formed (as far as he knows), which is why I haven't replied to your message (mostly because it seemed as if you were grabbing for straws - I have no idea how you landed at your conclusion judging the relevant section). keep it up though
 
5:19 AM
posted on April 27, 2015 by Scott Meyers

We've just put a new excerpt from Effective Modern C++ online. This time it's Item 41: Consider pass by value for copyable parameters that are cheap to move and always copied.It's available at the same place as all the other Items we've put up, namely here. This Item grew out of my concern that move semantics is causing pass by value to lose its traditional reputation of being unreasonably ex

 
@DeanSeo 안녕하세요.
 
@Cicada Hi
@Cicada Getting ready well for Korea in May?
 
Booked the ticket already
Tonite going to Philippines! /cc @MarkGarcia
 
@Cicada Awesome.
@Cicada Line ?
 
Korean Air
 
5:29 AM
@Cicada Cool. If you wanna hang, let me give you my Kakao.
ㅋㅋㅋ
KKK
 
Alright, gimme, I'll add you
 
Kakao me at 'goodssh'
~_~
(^(oo)^)v
 
There
 
Got it.
 
5:43 AM
@CatPlusPlus damn
 
Some people have too much time on their hands
 
omg I managed to fit the entire cluster on my PC
I can actually test everything working together now
Never enough fucking RAM
 
I prefer regular RAM
 
What? who's fucking RAM?
 

« first day (1654 days earlier)      last day (3279 days later) »