« first day (902 days earlier)      last day (4050 days later) » 

2:00 PM
hmm
3.2 makes no mention of aliases
oh well
I reckon it probably meets the requirements I had in mind
 
+1 When you say that 'x' is a number, you may want to mention what number it is (it's 120). — dasblinkenlight 2 mins ago
Grr. With 132k (inc. 3k in ), he should know better.
 
@KhaledAKhunaifer You cannot have an infinite number of digits if that's what you're asking.
 
Ell
@KhaledAKhunaifer are those "..." meant to mean recursion?
If so there is no such thing as 0.0 recurring 1
nor 0.9 recurring
 
-facepalm-
 
Ell
well there is. but the latter equals 1
Sorry I did just join mid convo :P
 
How can you obtain the greatest value <1 a float can contain?
 
@kbok Typ pun to int, subtract 1, type pun to float.
 
Xeo
@kbok nexttowards against -infinity.
 
2:07 PM
@kbok 1 - epsilon
 
@FredOverflow Does it "just works" or is it actually legal C++?
@DeadMG AFAIK 1 - epsilon == 1
 
maybe epsilon is considered 0.0 anyway
 
North Korea reminds me of Fallout 3's portrayal of the DC area.
 
man
 
@kbok std::nextafter(1.0f, 0.0f);
 
2:11 PM
that meetingcpp blog poster is a moron
 
meetingcpp as a title sucks.
 
he can't spell or grammar and doesn't even seem to read the papers
for example, one of my papers, he writes "The authors ..." and I'm like, "There's only one author."
 
@kbok I believe it's legal C++ if you go via a char array (write a float to a char array, read an int from the char array, etc)
 
Xeo
@CatPlusPlus Oh, right, against 0 is enough :P
 
@DeadMG the initiative is kewl though
 
2:13 PM
@kbok There you go. The float just below 1 is 0.999999940395355224609375.
 
Xeo
@DeadMG Oh noes, he generalized. Oh nooooesss~
 
@Xeo I'd be less inclined to pick on him if he could spell or grammar.
 
hah
@DeadMG "he can't grammar"?
 
@DeadMG he's German, I believe. How is your German grammar? :p
 
Document yourself about grammar and you will see.
 
2:15 PM
okey, time to meet the visitors
Wish me luck.
 
You guys need to document yourselves.
 
@BartekBanachewicz Oh alright then
 
What's the difference between nextafter and nexttowards?
oh wait
 
2
Q: nextafter vs nexttoward functions in C++ 2011?

VincentWhat is the difference between the nextafter and the nexttoward functions of the C++ 2011 standard library ?

See? It's so much easier.
 
@EtiennedeMartel Yeah I'm on it :)
 
Ell
2:18 PM
Go fuck doc yourself!!
 
yourself.doc
 
Nearly said "Wow! I remember .doc!" I may have been thinking of .wri.
 
@LightnessRacesinOrbit Well, .doc is ancient now compared to .docx
 
@Ell If you were a boat, you could dock yourself.
 
@EtiennedeMartel I think that a self-docking boat might be harder than a self-driving car.
 
2:20 PM
If you were a boat you'd look more like yo momma
 
@Ell If you were a door you could lock yourself
 
really, those were the days
that too
@DeadMG I'm still on .doc TYVM. Well, that and .tex :)
 
@DeadMG I have no idea, but it makes sense.
There's also the whole issue of a self-landing plane.
 
@EtiennedeMartel Last I checked, planes could almost entirely fly themselves, except for takeoff and landing.
 
2:21 PM
@KhaledAKhunaifer Hardly helpful
 
user1357851
this would be a favourite for the terrorists: self exploding toy that looks like a real dog - walks into a busy shop then explodes
 
@DeadMG Yeah, and that's why we still needs pilots. That, and if something goes wrong.
 
For the frenchies.
 
@kbok "Returns the next representable value of <from> in the direction of <to>"
 
6 mins ago, by kbok
What's the difference between nextafter and nexttowards?
 
2:23 PM
nexttowards always promotes second argument
 
There is none, both are bad naming conventions.
 
@kbok Chicken Mythic? Z'étiez trop mous pour le traduire comme du monde?
 
float nextafter( float from, float to );
float nexttoward( float from, long double to );
 
nextafter for enumerations would be a nice thing
like in pascal/delphi
 
C++ enums suck
 
2:25 PM
@EtiennedeMartel McDonald's recipe names are never translated in France.
 
@CatPlusPlus At least it has them. :(
 
@kbok Like everything else, it seems.
 
It also has unions but they're not very useful either
 
People usually violate unions with non-existent anon. structs in C++.
 
Ell
Does anyone want to see my culinary abomination?
 
2:26 PM
no
 
Anything using unions in C++ is more than likely UB :v:
 
Ell
why do c++ enums suck?
 
They're too tied to irrelevant numerical representation, they don't protect you from values that are not defined in enumerators
 
@CatPlusPlus enum class does protect. in VC++
 
2:29 PM
Ah, 50 years from now, on April the 5th, 2063. Zefram Cochrane will make his first warp flight aboard the Phoenix, all the while being protected from 24th century Borg by the 24th century Enterprise crew.
 
user142019
@Abyx no.
 
@Abyx no.
 
VC++ is not relevant and still no
 
@DomagojPandža It will be a glorious day...
 
enum class E { x }; E e; e = 1; // compiler error
 
user142019
2:31 PM
static_cast
 
@DomagojPandža oh shi!
 
There's no implicit conversion but you can still put whatever in there and it's valid
 
@Zoidberg huh? why not c-style cast then?
 
user142019
Because C-style casts are retarded.
 
or maybe union_cast
 
2:32 PM
What
 
wtf is ... nvm i dont want to know
 
Mar 24 at 14:11, by Abyx
Y union_cast(X x) { union U {X x; Y y;} u = {x}; return u.y; }
 
user142019
Don't use union_cast.
 
That's UB
static_cast<enum>(whatever) is valid
 
oh really? it may be not UB, but it's logically invalid
 
user142019
2:34 PM
WTF ABYX
 
@Abyx No, it's not
 
user142019
2363
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are released every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a good C++ book...

 
Also, in March of 2153., 90 years from the first contact flight, Starfleet R&D will find remnants of the Borg in the Arctic which were part of the sphere that was blown up by Picard. They will manage to send off a location signal to the Borg, which will reach the Delta Quadrant in about 200 years on subspace. Just before the beginning of TNG. Causal loop complete.
Now I want to watch TNG again.
But the CG is painful. :(
 
Didn't the humans meet the borg because of Q?
(The Blurays have updated CG iirc, but they cost so fucking much)
 
Surely you would know.
 
2:37 PM
Error 404: Databank blown the fuck up by hoomans
 
run!!!!
 
@Borgleader Yes, Q introduced the Borg to Picard by hurtling them into the Delta Quadrant. But I think the reason they weren't aware of the Borg is because the incident was documented as "alien cyborgs". Not to mention that Starfleet also noted that Zefram Cochrane liked booze and talking about future cyborg zombies.
 
Me, and you and a dog named @DeadMG
 
user142019
onion beh {};
 
2:39 PM
@DomagojPandža Yes yes, I'm just wondering if it's mentioned that the borg were aware of the humans' existence when they showed up
 
user142019
@ScottW no
 
Which they should because of said transmission
 
@Borgleader Yes. It's mentioned somewhere in Voyager.
 
@Borgleader It was coded as XML.
 
user142019
@ScottW Zoidberg
 
2:40 PM
@Borgleader That's the problem when prequels come before sequels. They should've learned from Star Wars.
You had TNG on the crossing from late 80s to early 90s and ENT in the early 21st century.
 
@ScottW @Mysticial
 
It sounds so fancy when I say early 21st century, like we're talking about 200 year old past.
 
no, it sounds silly
 
@DeadMG Hush, my pet.
 
quiet you
I'm meditating
on the billion hours of work I need to put in to Wide
 
2:43 PM
I could really use some foods.
 
@DomagojPandža nice "Relativity" quote!
 
s/meditating/procrastinating/
 
union { Zoidberg, CatPlusPlus }
 
@LightnessRacesinOrbit Yeah, that was a nice episode. Although all time travel in Star Trek is batshit crazy in terms of quantum mechanics, but also contradicts itself in different series. Even sometimes within the same series.
 
2:44 PM
@ScottW I'm a cyborg so my answer should be obvious, @R.MartinhoFernandes
 
The newest consensus with XI+ movies is the closest one to the proposed quantum mechanical model of alternate timelines and propagating as a "parallel universe".
 
@DomagojPandža Sometimes in the same episode (Time Squared comes to mind)
 
it gives a compilation error: I can't handle that.
 
I generally opt not to make a distinction between "alternate timeline" and "parallel universe".
 
@DomagojPandža game Final Fantasy XIII-2 use Time travel and Quantum theory ideas
 
2:47 PM
Some shows' mechanisms contradict that, though. For example, Fringe, which has a basic set of parallel co-existing universes, then on top of that a set of timelines that run literally parallely over them all
 
@KhaledAKhunaifer ?
 
and fuck Primer
 
Primer is awesome.
 
It solves the "knifing grandma" paradox very elegantly. It's simple, she may look like your grandma, have the same DNA. But she's not your grandma.
 
yes but fuck it
 
2:48 PM
@KhaledAKhunaifer Those two entities cannot occupy the same space at the same time.
 
Primer is better
 
Still on my to watch though.
 
I still can't get more than 60% of the way through before losing it
 
Five more times.
What I like about Primer is that I can keep thinking about it.
 
@kbok Needs a detonator.
 
2:48 PM
@Mysticial scott asked which lounger is you fav
 
oh
 
Most other stories involving time-travel break down if you keep thinking about it.
 
also I dislike its depiction of changeable/adjustable timelines
 
I'm a favorite?
 
So I usually choose to not think about it.
 
2:49 PM
I prefer the Novikov self-consistency principle, myself. It does require predetermination in all events, which I'm also completely fine with.
 
well ok s/require/imply/
@CatPlusPlus wtf is this bullcrap
 
s/have/assume having/
 
a bunch of fucking nerd morons
 
2:53 PM
Everything that has happened, that happens, that might happen and that will happen is basically happening "at the same time" in parallel universes "concurrent" to the one we're magically persisting in. So, if you were to find a way to go to "the past", you'd find out that there's no such thing. All of your changes would be applied to a parallel universe in which, in terms of human linear notions of time, is the year 1870. by the "registered state".
Everything else gives rise to silly paradoxes.
I wonder if anyone will ever be able to peer somewhere else.
 
@LightnessRacesinOrbit I like that too but writers suck at making interesting stories out of it.
 
@R.MartinhoFernandes Agreed.
When they succeed, those are the incredibly satisfying time travel stories that I enjoy, nay crave.
"omg it was you all along!!!11"
 
everything that can happen has happened at least once
 
/me attempts to think of even one example
 
Awww yeah
 
2:55 PM
oh, Blink. duh
 
That said, Bill & Ted's Excellent Adventure is cool.
 
2
Q: C++ Teacher told me not to use pointers

C GuyYesterday my teacher told me not to use pointers except if I want to program some really low level stuff. He said the garbage-collector would do everything for me so pointers are basically unefficient and dangerous. I'm irritated because I heard the difference before. So what is right and what ...

 
The Time Traveller's Wife comes kinda close but doesn't make a big enough deal of the looping aspect for my liking
 
Someone downvoted alf.
bahahah
 
It doesn't take itself seriously, which helps not ruining SoD, and for once the main characters show some intelligence. Which is surprising given that the main characters are Bill & Ted.
 
2:56 PM
@DomagojPandža No they didn't
@R.MartinhoFernandes SoD?
 
Someone returned his upvote.
It's 11 again.
'twas 10 for a moment.
 
@LightnessRacesinOrbit Suspension of disbelief.
 
I SWEARZ.
 
@DomagojPandža Nope hes +11/0
 
@R.MartinhoFernandes It's surprising that the main characters show anything given who's playing them
@R.MartinhoFernandes k
 
2:57 PM
@LightnessRacesinOrbit ikr
 
@Borgleader Read below. :$
 
That moment when they decide to exploit Novikov's to get out of a tricky situation is great.
 
Damn, our minds are so small. And according to Sagan, we're the way for the Cosmos to know itself.
 
It's that "omg it was you all along!!!11" moment, but in reverse.
Kinda like "omg it will be you all along!!!11".
 

« first day (902 days earlier)      last day (4050 days later) »