« first day (1467 days earlier)      last day (3482 days later) » 

user1804599
12:00 PM
@Jefffrey || and && are left-associative.
 
Xeo
! > && > ||
 
Yes, I know you guys know it.
Thanks.
Operator precedence matters.
 
user1804599
Associativity doesn't matter in this case.
 
yah i think it is !, && ||
yah?
 
user1804599
x || !y && z is equivalent to x || ((!y) && z).
 
12:03 PM
IIRC: `(x || !y && z)` really means `(x || (!y && z))`. `x`, `y`, `z` are `int`s which are implicitly convertible too `bool` following the rule `0 = false; anything else = true`. So `x` is != `0` which means that the expression evaluates to `true`.

Now `std::cout` will print `1` for `true` for idowncarewhatsthereason, unless you use a specific flag.
great
murkdown is broken in multiline comments
 
@Xeo and for good measure, || > ! :P
 
thanks Jefffry now i understand it, so as long as x is not zero the expression will always be true ?
 
I'm dum.
 
@rightføld eye bee pro
 
sbi
12:07 PM
OH: "<iostream> is a streaming pile of shit."
 
Xeo
> Given an army of very smart eight-year olds and a few caveman grunts how much technology could be mustered?
lol
 
Ell
yay it works
 
user1804599
<iostream> is SRP violation squared.
 
user1804599
it does like everything
 
@MrAbdul Yes, if x is not zero the expression is always true.
 
12:08 PM
¬_¬ good job. Use normal regex, then bloat the explanation of this field with details about what regex is.
 
but what is the other case that the expression can be false?
 
You tell me.
 
Ell
I'm going to give setting a gentoo virtualbox a try
 
sbi
@rightføld That was the foundation of that statement. (I thought I wouldn't have to repeat this here.)
 
user1804599
@sbi That's a very basic message.
 
sbi
12:11 PM
@rightføld I still thought the pun is funny.
 
@MrAbdul What does it mean for the expression to be false? It means that both x and (!y && z) have to be false, right?
 
yah
because it is or
no
hold on it is or so not both have to be false
 
user1804599
@sbi I didn't even notice that pun!
 
@MrAbdul When does (A || B) evaluate to false?
 
sbi
@rightføld That's a very basic failure.
 
user1804599
12:13 PM
I'll make it more acidic, H t H.
 
if A and B are false
 
So both x and (!y && z), must be false, right?
 
user1804599
If || is overloaded to return false when given A and B!
 
yah
 
sbi
Oh c'mon, guys, are now really down to explaining boolean algebra?!
 
12:14 PM
@MrAbdul When is (!y && z) false?
 
if y or z are false
 
Xeo
@Jefffrey when (y || !z)!
 
Just bought some insurance off a broker called "allrisks" ... why would I dealing with a company that is "all risks"
 
user1804599
@MrAbdul No, if !y or z is false.
 
user1804599
So if y is true or z is false.
 
12:16 PM
^
@Xeo Oh, you are such a morgan.
 
user1804599
I want to dance.
 
user1804599
goedemorgan
 
middag
 
user1804599
@nightcracker Because A may be specialized later. Here is fix: coliru.stacked-crooked.com/a/076bbe4b72438a7c
 
12:20 PM
can't the compiler infer this->x from x like it does normally?
oh wait, nvm
 
user1804599
x is not in scope.
 
that'd make it indeed rather annoying if specialization is allowed later
 
sbi
@nightcracker That's an FAQ.
 
@nightcracker can't the compiler infer this->any_random_garbage_or_maybe_just_a_typo from any_random_garbage_or_maybe_just_a_typo like it does normally?
It can, but why would it?
 
@R.MartinhoFernandes well, it does normally
 
12:22 PM
(Because it's MSVC garbage)
@nightcracker No, it does not.
 
sbi
Hey, @R.Martinho, what's the verdict?
 
yes it does? struct A { A() { any_random_garbage_or_maybe_just_a_typo = 3; } int any_random_garbage_or_maybe_just_a_typo; };
not this->x
yet it infers it
 
@nightcracker That's not any_random_garbage_or_maybe_just_a_typo.
 
sbi
@nightcracker That works with templates, too.
 
it is now
 
12:24 PM
lol
 
sbi
You might want to go and actually read the FAQ I pointed out. It explains it.
 
@sbi I understand it now
 
thanks Jefffery i appriciate your help
 
12:30 PM
fuck sake, people using a wiki for asking support questions
 
user1804599
@thecoshman You mean Stack Overflow?
 
no, I mean using an internal wiki system (confluence) to ask support questions
 
hola
 
So I am thinking of learning C++ because I already know PHP and hey, let's know it's dad.
is there any DECENT tutorials out there? I have looked through loads and they seem just, RUBBISH! I kinda wanna use it for games development (if that affects anything) because that is an area of software engineering I haven't touched up on yet, I'm a web developer and AI developer by experience.
 
Fun quote by Bartosz Milewski: "People keep calling function objects functors. It’s like calling Luciano Pavarotti an “operator,” because he sings operas."
8
 
12:40 PM
a very overloaded operator
 
@AndyProwl smooth
 
user1804599
@seanyt123 nope, there are no decent tutorials.
 
user1804599
This is your only hope:
 
user1804599
4276
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 published 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 well-written...

 
@seanyt123 Get a book. C++ is about as badly taught as PHP.
 
12:41 PM
@rightføld wtf did all the other answers got deleted there?
 
user1804599
@TemplateRex because they were useless.
 
@TemplateRex ahaha
@seanyt123 C++ tutorials on beginner level are mostly bad. As Etienne suggested, a book will be better. Use a list on Stack Overflow.
 
user1804599
@TemplateRex So Luciano Pavarotti is an opera object?
 
Ahaha I had to freaking FORGE my way through PHP, it was hellish, didn't feel like doing it again and hoped for something easy this time, but hell, if I have to teach myself, I've become good at it!
 
12:43 PM
@sbi dude, NSFW
 
pussy scrolling
 
sbi
@thecoshman But it's a computer mouse!
 
user1804599
I know a lot of people hate these, but I prefer them to touchpads.
2
 
@sbi I was joking :P
 
I used to look at the pictures of those penthouses of skyscrapers and admire the views from them, nowadays I look at those amazing scenaries and thinking "the residents are going to get sunburnt real fast if they don't draw those curtains up while in them". Then I remembered that most metropolitan cities have haze that's going to cut down the sunshine ... but damn, that will also kind of ruin the view. Night views are going to be great, you wouldn't get sunburnt or see the haze
you wouldn't see much full stop ...
 
12:46 PM
lol
 
user1804599
lol
 
IIRC they actually found him the same day
 
171cm, tiny little bugger, no wonder they were looking for him
 
> Awesome work - do we get to see the new mug shot??
haha
 
12:55 PM
> PLEASE PLEASE post the new mugshot. Get one where the cops are standing all around him smiling with doughnuts in hand!
 
@sbi ahah, just noticed the upper left picture has a "G-point" ;-)
 
why did they use the letter 'G'
 
Must be some inner joke.
 
I dunno, but the pic is rubbing me the wrong way
 
1:03 PM
Not very productive argggsgsgsgsg
 
some progress github.com/Jermim/3D
 
do you guys use std::regex regularly (or ever)?
 
> ...
Bilal jermim authored 33 minutes ago
nice, dat commit message
 
@AlexM. my hands are typing words
 
My feet are cold.
I think it's time
maybe not
> ETA 23 hours
I can't wait to make my yearly computer reset
Almost forgot to backup my vimrc and bash profile
 
user1804599
1:13 PM
But them on GitHub.
 
it's not really the case for bash profile
it contains some sensible env variables
 
@nightcracker leaning more towards "never", if I'm doing something which requires regex personally I take that as a hint that I shouldn't write it in c++
 
hey dog
hallo
 
it ain't over until the Dutch take it over
 
prima
lol
 
user1804599
1:17 PM
 
this throws std::regex_error: std::regex("[a]")
I have a suspicion clang's regex implementation isn't up to standards yet :P
 
user1804599
It doesn't support PCRE so it's shit.
 
Maybe std::regex("/[a]/")?
 
nope
it's just broken
 
so
first CV sent
wish me luck :S
(that's the company I think I want to work for now)
 
Xeo
1:23 PM
Any specific kind of luck you want?
Or are you fine with any?
 
I suppose I need the "give me an interview" luck right now.
 
Xeo
I rather meant "good" or "bad"
 
stuff like "fucking shit google PDF converted fucked up my CV layout a bit and only noticed now" :/ :/ :/
 
@rubenvb I fail to see how that's irony
 
1:27 PM
@Xeo well, I'll need all luck in the world to get the job as soon as I need it :S
 
@rubenvb I guess the branch was...
hard to swallow
YEAAAAAAAAAAAH
 
@nightcracker The title says "achievements" which implies something was achieved. The text says literally "it fell short of all published goals".
@AlexM. BOOM!
Good one though :-p
 
@rubenvb You can achieve things outside of your published goals
 
@BartekBanachewicz I thought you were looking for a job? Shouldn't you want "give me a job" luck right now? :-p
 
@ScottW yes they do? > Unladen Swallow did produce some code which got added to the main Python implementation, such as the cPickle module
 
1:39 PM
ugh
 
whatever
 
but can you pick nits?
god damn it, who the fuck stared xkcd ¬_¬
 
@rubenvb well
 
I'm compressing everything
To save that to dropbox
In 24 hours I'll be resetting my computer, I'm so excited.
It's like a rebirth for me.
 
o_0
what sort of dodgy set-up you got running?
you just using a huge ram-drive or something?
 
1:52 PM
Why?
 
compressing everything to save to dropbox?
 
I'm compressing ebooks, project folders, images, etc...
Iunno, so I can spend less time uploading this shit at 36Kb/s.
Wait a second
Yes, that's the only way.
 
You have no spare HDDs?
 
I don't have other memory to put this thing into
 
Or you can't seperate that from the part of your computer you're resetting?
Lesson 1: seperate data partition.
 
1:58 PM
I'm resetting everything, that's the way I always do it.
A friend of mine is going to lend me a 64GB HDD for movies and stuff, but I ain't going to upload dem images to his hard drive.
I don't want any chance of them being leaked.
may* be
 
@Jefffrey lol
 
they are images and videos of old times, when me and my friends did stupid things and recorded them
just memories
no nudes or w/e you are thinking you perverts
see?
I've never done anal sex
without you*
why would I record moving blankets?
 
@ScottW I have about 8tb altogether. I've physically lost two of the drives - they're under the benches somewhere behind other stuff.
 
Holy fuck
40 hours
That's a huge nope.
fuck this shit
I may have a dvd somewhere
 
> they're under the benches somewhere behind other stuff.
if you can lose a HDD, its time for a thorough cleaning
 
2:16 PM
@Jefffrey what did you expect?
 
20?
 
@Jefffrey lol compressing images
 
@CatPlusPlus what about it?
 
Most images are already compressed
 
so what's the harm?
 
2:26 PM
It's waste of time and might actually make them bigger
 
haha true that.
Unless you use a more efficient algorithm, in which case the images weren't that compressed after all.
> just start C++ through a series of youtube tutorials - from here
 
General algorithm is unlikely to beat a specialised one, esp lossy ones
 
void usernameGet(string *a)
{
        getline(cin,*a);
}
wat
 
looks like google coding style
 
Ahahaha what.thedailywtf.com/t/discopaedia/3866/3 cc @R.MartinhoFernandes
6
 
2:49 PM
¬_¬ I hate trying to sort out build system stuff, takes so long for the pkg to build.
@CatPlusPlus make that a nicer link, and you get some stars, stars man!
 
> Discoursistency adjective A state of consistent inconsistency.
 
@Griwes lol what the
 
@BartekBanachewicz see the @rubenvb 's link above that
 
Discobug - noun A bug that won't be fixed because the user is Doing It Wrong™
 
lol, Discourse Syndrome
 
2:55 PM
WHAT THE HELL NEW THEDAILYWTF LOOK
MY LIFE WILL NEVER BE THE SAME
 

« first day (1467 days earlier)      last day (3482 days later) »