« first day (1382 days earlier)      last day (3561 days later) » 

11:00 AM
                }
            }
        }
    }
}
well it's not that bad
 
24 mins ago, by Bartek Banachewicz
@Puppy "a C++"
but really, seems like the recruiter wrote the advert, so I'm willing to be a little flexible.
 
Xeo
@BartekBanachewicz ugh
 
std::vector< Face *>* outputVector lol
 
IDGI
vector<Point2f> ShapeModel::shapeMatToVector(const Mat& shapeMat) const {
this looks perfectly fine
It seems like some parts of the code were affected by some bad deadline :|
 
Ell
What code is that?
 
11:02 AM
the codebase at my new job
I got access to it yesterday
 
Ell
ah okay
 
Maybe you should have peeked at the code before accepting the job ;)
 
Ell
@BartekBanachewicz and you're releasing it unto the world already? ;)
 
@Ell seriously a function declaration is such a release
 
dayam bartek, those are company assets
 
11:04 AM
@BartekBanachewicz sorry, but what's the problem with that signature?
 
oh god. I saw some code doing a >> b and IRTA as a >>= b
 
yeah, "assets".
 
3 mins ago, by Bartek Banachewicz
this looks perfectly fine
 
@BenjaminGruenbaum that one is the good one
 
Ah, sorry then.
 
11:04 AM
the others not so much
 
I didn't get it.
 
@BartekBanachewicz or maybe different people and no enforced consistency?
not sure if that'd apply
 
@AlexM. Yeah, what if the Russians get a hold of the pointer to vector of pointers?
They'll land on the moon first I tell ya!
 
lol
I was thinking more like
 
@AlexM. nope
 
11:05 AM
"Bob, how do we find out if someone shared our code?"
 
right
 
"Easy. We google for pointers to vectors of pointers. Only we would do that."
 
@BartekBanachewicz I don't see any circumstance where *>* is useful... anyone mind disproving that?
 
@BenjaminGruenbaum When you need to non-owningly refer to a vector of non-owning pointers.
 
@BenjaminGruenbaum not in C++11 typically
The code is a bit inconsistent, but otherwise in a pretty good shape
 
11:07 AM
I've seen plenty of const vector<T*>&, and vector<T*>* is just that but you can rebind the reference.
 
give me a month with it and it'll shine
Oh look a singleton
3
I'm going to read through all that and take notes
 
@Puppy I guess it's too abstract to ask about here. No point in saying "use shared_ptr" or even "why is that not a reference" without actual context. I'm just wondering if someone can send me to a code base where doing std::vector<T*>* is a good solution to the problem.
 
That would be a very specific and weird example
yay passed level 22
 
Xeo
so slow
 
I haven't played since yesterday vOv
 
Xeo
11:21 AM
I finished in 2 hours or so
Even less, I think
 
22 was pretty hard though
 
Xeo
eh
 
like, 23 and 24 were much easier (just did them)
 
@BartekBanachewicz nullable vs. nonnullable
 
Xeo
As soon as I use lambdas, IntelliSense inverts the highlighting - highlights if syntax error, doesn't highlight if no error
so. fucking. annoying.
 
11:24 AM
@sehe and of course optional didn't make it into C++11. sigh
 
Xeo
I just don't get it
 
I got stuck on 18
 
I'm on 37
 
Xeo
lol
 
@TonyTheLion lol really
 
11:26 AM
yea I stopped playing after that
I did have work to do
 
@Xeo Put the lambda using code in a lambda.
 
Xeo
lol
 
uh 27 looks like another hard one
 
Xeo
@LucDanton Doesn't work :(
 
Well if they can’t even make a proper bug…
 
11:29 AM
What's so damn great about optional anyways? Seems like a good feature to have, but not to use ;-)
 
unless you're dealing with things that can either have a value or none
 
@rubenvb what?
 
e.g. database fields
 
Sometimes you can’t return a value for a very obvious reason, and the call site will deal with that immediately. So an exception is a worse fit.
e.g. map lookup
 
The "damn great" thing is that actually correctly represents a lack of value at type level
 
Xeo
11:32 AM
@rubenvb Wait - how can something be good to have, but not to use?
 
@Xeo Cyanide pill.
 
@Xeo atomic bombs
 
Well played.
 
I really don't think atomic bomb analogy applies here
 
atomic bombs are great to have by a state since they offer warfare superiority and can intimidate opponents
but yeah maybe it doesn't apply
does the cyanide pill apply?
 
11:35 AM
@Xeo It's optional isn't it?
 
Xeo
... sigh
 
2 mins ago, by Luc Danton
Well played.
 
why is something optional inherently bad to use?
 
it's not.
We use sum types all the time.
Optional<T> is just a sum of a given type T and Null.
 
11:39 AM
I meant the joke kinda doesn't make sense to me
 
@LucDanton hello again :) input.imbue(locale(new codecvt_utf8)) says i have to write primary expression before the bracket
 
You need <codecvt> and an implementation that provides both that and the type.
Also qualifications.
 
yeah, #include <codecvt> doesnt work. Where do i get one
 
Xeo
update your stdlib and / or compiler (suit)
 
11:42 AM
hmmm, it's gcc 4:4.8.2-1ubuntu6
 
@mekkanizer GCC doesn't implement <codecvt> use clang
 
someone mentione ICU yesterday, can i combine gcc and ICU?
 
No.
 
^ that
 
what about ogonek? :P
 
11:45 AM
code:blocks have "LLVM clang compiler" in settings, is it what i need to download and enable?
 
Thanks
 
@LucDanton will a bachelor's degree suffice?
@Xeo nice compiler suit you're wearing today
 
user1804599
lol
 
user1804599
Fucking globals.
 
Xeo
11:49 AM
@LightnessRacesinOrbit Damn
 
> This message is to inform you that the host that your cloud server 'stacked-crooked' resides on has alerted our monitoring systems as of 11:14 UTC. We are currently investigating the issue and will update you as soon as we have additional information regarding what is causing the outage.
@Puppy ^
This is an email from Rackspace.
 
@StackedCrooked more ambiguous please
 
11:54 AM
> I still think 23 is a better age than 21.
What the hell am I reading
> Being one of the first employees of a startup is a lot like being a founder, in both the good ways and the bad. You'll be roughly 1/n^2 founder, where n is your employee number.
lol
 
wut
 
I found an old article
 
what the hell is that? steve jobs memoirs?
 
Paul Graham vOv
 
user1804599
> 70% of young people do not know where the Holocaust is
 
12:02 PM
LOOOOL
 
brb visiting the Holocaust
 
have fun
 
heard they have nice hotels in that area
 
@AlexM. very warm
the climate control is exquisite
 
user1804599
12:04 PM
> Only three out of ten pupils could identify the Holocaust on the world map. Thirteen young people even thought that the Holocaust was in the Andes.
 
pls can you share the source?
 
user1804599
 
@rightfold can't blame them, look at the fauna there
that bird is so nazi
 
wat
 
12:05 PM
@rightfold they should ask a german then...
I guess it's not surprising that the rest of europe wouldn't like to highlight their own roles in the Holocaust
 
@AlexM. kitty... is that you?
 
wut
 
user1804599
> The food bank will provide USB sticks with pictures of healthy meals. This is aimed at preventing people with little money incur a social disadvantage on the Internet. Now many customers from the food can often only once a week, a picture of a hot meal on Facebook set up, with all its consequences.
 
user1804599
Google Translate sucks.
 
Hi everyone
 
12:07 PM
Hello
 
user1804599
Hi @Sp3c7r00M.
 
<ducks/>
 
<giraffes/>
 
@Sp3c7r00M h3ll0
 
user1804599
Also fuck yeah statically-typed HTML templates.
 
12:07 PM
<barteks/>
 
@BartekBanachewicz Noooooo!
 
:D
 
Xeo
@rightfold ahahahaah, what
 
@Xeo speld.nl
 
user1804599
12:08 PM
speld.nl, noob.
 
user1804599
Hij gaat toch geen textiel kopen?
 
i need a short clarification on typedef
 
No you don't. Or maybe you do, but it ain't here
 
short clarification;
 
user1804599
You don't need anything.
 
12:09 PM
i dont need anything
 
@Sp3c7r00M It works.
 
is this speld thing like the onion?
 
turns around
 
user1804599
@ParkYoung-Bae short typedef clarification; :)
 
walks out
 
12:09 PM
@ParkYoung-Bae typedef short clarification; you mean. I prefer using clarification = short;
 
Xeo
@rightfold wazzat?
 
You have a question on typedef? We have an expert in the room if you want. Just ping him. It's the guy with the dog avatar. He's pretty nice and helpful.
 
user1804599
@Xeo De Nederlandse Ui.
 
@ParkYoung-Bae The venerable canine!
 
sure, it would be nice
 
12:10 PM
@Xeo like the Onion, but dutcher
 
Xeo
sigh
 
Question: T typedef res;
 
user1804599
 
And plonk
 
Xeo
@Sp3c7r00M Funny syntax, but works, yes
 
12:10 PM
I was used to think that typdef is a way for aliasing
 
Xeo
@ParkYoung-Bae Please just stop it
 
@Sp3c7r00M Aliasing is an overloaded word.
 
oh so is it the same as typedef T res?
 
@Xeo What? Stop what?
 
Xeo
yes
 
12:10 PM
no more questions
 
Trawling
 
:))))
 
@Sp3c7r00M I'm pretty sure that's googleable
 
I'm not trawling!!1
 
@Sp3c7r00M That'll be $68,- ex. VAT
 
12:11 PM
^
 
@BartekBanachewicz I'm pretty sure it's not. Too subtle. Google doesn't make it easy to search for keyword order
 
can I pay by card?
no cash, sorry guys
 
You can. But we prefer virgins (to the Coffin)
 
+1 to sehe
 
next time come directly to me I charge less
 
12:12 PM
oh you
 
when you google it rearranges the words and gives out normal syntax
 
allah googlebar
4
 
@BartekBanachewicz that's an intriguing site
 
@sehe I agree.
 
12:15 PM
Why does the activity tab link to SO?
 
@BartekBanachewicz what is this
 
was this syntax available inolder c++ as well? (98/03)
 
It's unpolished at places
@ParkYoung-Bae my codementor profile
 
Xeo
> advanced template metaprogramming
example? :P
 
12:16 PM
@Xeo I can use vector<int>
 
oh my god I could teach people the sutble art of trolling?
or cuda
 
Xeo
@BartekBanachewicz ...
 
FOR MONEYS?
 
@Xeo you were asking for it.
@Xeo and now for real you keep forgetting that "advanced C++" here and "advanced C++" outside mean two different things
 
Indeed
I use advanced C++ at work all the time
std::vector<int>
look I did it again
 
12:20 PM
you used templates woo
 
yeah I'm good like that
hair flip
 
Xeo
sigh
 
user1804599
Woohoo.
 
user1804599
@Xeo Factorial.
 
meanwhile in Iraq NSFW, Gore, USA-brings-democracy
 
Xeo
12:23 PM
@BartekBanachewicz Y'know, if you say you used "advanced template metaprogramming", what would people like Robot, Luc or I write?
"Have performed magic in C++"?
 
@Xeo Quantum C++
 
@Xeo the same. There's little to no practical difference for people who visit/use that site.
 
Xeo
So you're inflating your qualifications
 
I know that you're order of magnitude better than me
 
user1804599
[1] boris> (string)true;
// '1'
[2] boris> (string)false;
// ''
 
user1804599
12:24 PM
Ugh. Fuck you PHP.
 
@Xeo I'm presenting them in a way meaningful for the reader.
 
Xeo
@rightfold hahahaha
 
@Abyx USA? That doesn't look like USA
 
for most of C++ users out there expression SFINAE is magic
they really don't see the difference between "magic" and "more magic" :P
and so I don't think I'm being unfair or dishonest here.
other opinions welcome.
 
@BartekBanachewicz that's because it is realistically, it's just compiler magic
 
12:27 PM
I got clang, now I have to get <codecvt> header, but how do i update stdlib or what does include <codecvt>?
Because I have the last version of libc6, im unsure where to get the update :|
 
Xeo
get libc++
 
oopsie
I didn't check my email and I should've responded 16 minutes ago
 
this keyboard looks pretty neat
 
@ParkYoung-Bae it's Iraq.
 
seL4 is now open source: the world's first end-to-end verified OS kernel http://bit.ly/1nXtRpw
@AlexM. it's OK.
 
12:30 PM
@Abyx I don't see how that is related to "USA-brings-freedom"
It's more like muslims killing each others
Probably because reasons
 
user1804599
in PHP, 2 mins ago, by Krazii KiiD
here should be a hacker, to bring down this php room, cus is a fake one, with fake people
 
user1804599
ahahah
 
user1804599
This guy stays hilarious.
 
in PHP, 7 mins ago, by Krazii KiiD
you alle are friends, and if some one new comes for your help, you just kick him out
^ /cc @CatPlusPlus (for the lulz)
 
Propaganda is a form of communication aimed towards influencing the attitude of a population toward some cause or position. Propaganda is information that is not impartial and used primarily to influence an audience and further an agenda, often by presenting facts selectively (thus possibly lying by omission) to encourage a particular synthesis, or using loaded messages to produce an emotional rather than rational response to the information presented. Propaganda can be used as a form of ideological or commercial warfare. While the term propaganda has acquired a strongly negative connotation by...
 
12:33 PM
yesterday, by Alex M.
that's because he's krazii
 
@ParkYoung-Bae it's muslims armed by USA to fight in Syria decided to go capture Iraq which can't do anything after war with USA.
 
@ParkYoung-Bae not a laughing matter, really. it's not just "muslims killing each others". it's people who will come to your country after there will be no one else to kill in their country.
 
good luck
 
@Abyx Korea has no problems with muslims. On the other hand, we're being invaded by you russians.
The only muslims we have are the ones from SE Asia.
 
12:41 PM
got this one and still no codecvt header found
http://i.imgur.com/DbZNBg6.png
 
Xeo
Hm yeah, that should be fine
 
You want c++11 not c++1, obviously
 
there wasnt any "11"
so i thought this one would do
 
Xeo
@ParkYoung-Bae stop it
@mekkanizer the 1 is just the library version
 
The Islamic State of Iraq and the Levant (ISIL), alternately translated as the Islamic State of Iraq and Syria (ISIS) or the Islamic State of Iraq and al-Sham (referring to Greater Syria; Arabic: الدولة الاسلامية في العراق والشام‎ al-Dawlah al-Islāmīyah fī al-ʻIrāq wa-al-Shām), also known by the Arabic acronym DAESH (Arabic: داعش‎ Dāʻesh), now called simply the Islamic State (IS) (Arabic: الدولة الإسلامية‎ al-Dawlah al-Islāmīyah), is an unrecognized state and an active jihadist terrorist group in Iraq and Syria. In its self-proclaimed status as a caliphate, it claims religious authority over all...
 
12:43 PM
@Xeo you can't stop me (and I know that deep inside, you like it)
 
^ "ISIS runs a soft-power program" it says
 
@Abyx all the shit in the middle east (currently happening) is a direct result of the US involvement in the russian intervention in Afghanistan in the 1980s
 
Xeo
Also, wtf google, I search for "libc++", so don't give me results for "libstdc++"
 
and indirectly the Iranian revolution
 
google knows better what you need
 
12:44 PM
@Mgetz lol, hardly.
 
@Mgetz bullshit. it was 40+ years ago
 
that area has been fucked up for centuries.
and a good deal of the fuck-uppage recently was the Allies carving it up after WW1 and WW2.
 
Just watch the vimeo I linked
 
no thanks.
 
Sums up the situation pretty well
There's no "no thanks", do watch it and share it and all that
 
12:46 PM
no thanks
 
:rolleyes:
 
@ParkYoung-Bae it's quite an old video. and it's just wrong.
 
It's fairly accurate
Also IDGAF about what you think and age is irrelevant
 
that one creates a /usr/lib/x86_64-linux-gnu/libc++.so.1, maybe you tell me the exact name of dynamic lib that should be stored there, and i google which package contains it
 
@ParkYoung-Bae it misses one important thing - foreign help to all those "fighters for democracy" who destroyed Libya, tried to destroy Syria and now formed ISIL
 
12:49 PM
or maybe just open /usr/lib/x86_64-linux-gnu/ and accidentaly find it there so that I'll understand it's a misconfiguration codeblocks, it has some problems with including libraries (even from default places) into proects
 
@Abyx Maybe because that happened after the video I don't know
 
btw, why do you think all the news about those "Syrian fighters for democracy" recently stopped appearing?
 
Because Eurovision and World Cup
LIKE A PHOENIX
I have no idea how to spell that in english
 
@ParkYoung-Bae oh really? but what about the news from Ukraine? they didn't stop
 
Yes by the way if you could stop shooting down planes that'd be great
 
12:53 PM
@BartekBanachewicz sh*ats
 
@ParkYoung-Bae the plane is not that important.
 
Shut up get out
I'm tired of your dumbassery
 
@ParkYoung-Bae don't switch the topic.
 
Death of a hundred is all but "not that important"
 
switching the topic
 
12:56 PM
@ParkYoung-Bae precisely. it's just a single accident with some victims.
 
@sehe hi sehe how have you been
 
I'm fine. Debugging, profling a website where the initial query to load the main dashboard takes 3'09s on a cold database
 
omg where am i
 
Also, rescued my boss from a Vim session about an hour ago
 
@sehe Wow that's quite slow
 
12:58 PM
@jajdoo here
 
I have a project like that
 
See, I rescue all kinds of people from many places. ZQ
 
My solution was to put it on SSD
2
And forget about it
 
@CatPlusPlus gonna frame that for the future generations
 
12:59 PM
@ParkYoung-Bae On a warm database it's 1 sec. But there's MANY more bottlenecks (all DB/WebService related) and duplicated code too :(
 
Told ya several times database servers have different IOPS requirements :v
 
@CatPlusPlus It's already clustered/farmed
 
@CatPlusPlus nananananaa
 
@ParkYoung-Bae my point is that in Ukraine army kills tens of civilians daily, I mean like fucking today, and that plane is just a single accident.
 
@CatPlusPlus lies
 
12:59 PM
@sehe Ooh I see
 
It's fun work, actually. A lot more entertaining than revamping a Java GUI :)
 

« first day (1382 days earlier)      last day (3561 days later) »