« first day (630 days earlier)      last day (4304 days later) » 

1:00 PM
Dat std.
 
what is the best argument against global variables?
 
puuh. Back from lab day :)
 
@bamboon not threadsafe
 
@bamboon Strong coupling (inability to change implementation details), inability to test, order of initialisation
 
and that :P
 
sbi
1:09 PM
@bamboon since they aren't passed around, you don't know where they are accessed and changed.
 
just pick any arbitrary positive property you wish code to possess
then you can easily demonstrate that global variables go against this property
 
Why would anyone want to use `std::get<0>(array)` instead of the `[]` operator ? You cannot even pass an int to `get` like:

int i = 0;
std::get<i>(arr)
 
sbi
@Scrubbins "Keeps my employed" is seen as a positive code property by some, too. :)
 
because it's more generic
 
Why doesn't the formatting work when I add linebreak in my text?
 
1:11 PM
template<typename T> void f(T&& t) { auto&& x = std::get<0>(std::forward<T>(t); // could be tuple, or array, or pair }
 
sbi
@ManofOneWay Because then their function template would work no matter whether you pass in a collection of objects of different types or of the same type.
 
ok, thanks guys. I will keep them in mind when arguing about them
 
@sbi Very true. But then actually doing that would probably get someone else employed and you fired :P
 
sbi
@bamboon If you feel the need to argue against global variables, it might be time to look for a better job.
 
globals suck
 
1:13 PM
@sbi oh yeah, but I am not that far yet. You know uni guys and such
 
sbi
@Scrubbins That assumes that the pointy-hairs understand what you're doing.
 
but so does PHP and Java and Singletons
 
if not then call your headhunter :P
 
I don't have a headhunter...
 
me neither
 
1:14 PM
I wonder how many people actually have a headhunter
the company's have headhunters, that find people for them
 
sbi
@bamboon Well, then look for a different gang to solve your problems with. Really, if they haven't heard "globals are bad" in programming 101, they're hopeless cases.
 
not the other way
 
I think it's more of a figurative expression
 
sbi
@TonyTheLion I seem to be listed in many headhunters' profiles. That's what gets me crap job offers up to several times a month. Would that count?
 
from ... Alexandrescu?
someone asked him about what they should do if .. their company didn't use the most recent compiler, I think
and he just goes "Call your headhunter."
 
1:17 PM
@sbi perhaps yea. I get a load of shitty offers for electronics engineers, I don't know how I ended up on there
 
sbi
@Scrubbins Headhunters probably have fist fights for the possibility to offer jobs to such high-profile programmers. Those get high salaries, so the headhunters get a big chunk of money when they get them a job.
 
yeah
 
I might be landing myself a fairly good job on Monday
 
I guess that if you're Alexandrescu, it's probably a lot easier to get headhunted than Average Programmer
 
most likely
 
1:19 PM
it's so damn hot
 
Average Programmer is a pretty cool guy.
 
problem is, there's so many programmers out there, that it's hard to compete.
 
He ain't afraid of anything.
 
@Cicada or girl
:)
 
You don't have to compete, just do what you love and enjoy it. Be passionate about it and someone will take notice.
If he doesn't, his loss. :D
 
1:19 PM
hehe
In my last two job interviews, I really stressed my passion for programming
they liked that, from what I heard
experience is still a biggie for companies in the decision for hiring or not hiring
you can be all as passionate as you want, if you lack experience, that kills it for some, unfortunately
 
too bad they don't take
personal experience
 
@Cicada doesn’t afraid of anything
 
amusing to think, of course
how can you get experience if there aren't enough jobs that take you when you have no experience?
 
catch 22
you have get out of it, and some companies will take you on
and then you have to take what you get, and run up some years of experience
 
sbi
@Cicada I guess the average programmer is afraid he could be The Average Programmer, since he strifes to be more than that.
 
1:23 PM
@KonradRudolph I failed ;_;
 
I wonder where on the scale of Average I belong, if 10 is far higher than average and 1 is just Average Programmer?
anyone care to give me some idea... :P
 
0
 
@sbi He strives*
But what is The Average Programmer ?
 
Java programmer
is average programmer
 
1:24 PM
@TonyTheLion you wanted to hear it^^
 
cause you find them everywhere
 
Average programmer is the dude who writes naked pointers and thinks arrays == pointers. Also, he's a big fan of singletons.
 
fuck average programmers then
 
I like singletons.
 
I like them too. But from a distance. For the lulz.
 
1:25 PM
OMG! you just offended the entire room here :P
 
@Cicada what's wrong with you
no, wait
I also like Singletons- you can instantly know when to fire or refuse to hire any programmer when he says he thinks they are good
 
Well, Cicada watches gay porn, singletons are right up that alley.
 
@DomagojPandža > implying gay porn is bad practice
 
gay porn & singletons, the perfect couple :P
 
1:26 PM
@Cicada Well it sure as hell doesn't look pleasant or useful, or functional.
 
I don't exactly know how to react to that.
 
@DomagojPandža Eh. I'm sure that it meets those three criteria, if you're into that sort of thing.
 
just say 'lol", works for everything
 
lol
 
1:27 PM
Singletons, however, are fairly objectively bad
 
problem is, once you have one singleton, you'll end up needing another, and another and at the end of it, the only thing you have is a bunch of singletons
and your program goes up in singleton smoke
 
And singleton smoke is like only one particle, because your singleton doesn't allow further instantiation.
 
hilarity ensues
 
sbi
@Cicada Are you a math freak or opposed against relationships?
 
1:32 PM
lol
 
sbi
@DomagojPandža Not to you (and me), but if it wasn't pleasant for some people, it wouldn't exist.
 
folks
 
sbi
@Cicada Johannes? You in there? Need help?
2
 
lol
I don't have his haircut yet
But it's incoming.
 
sbi
@Cicada So you say.
 
1:35 PM
@sbi lol
 
Now I just have to randomly flag posts, and there. I'm Johannes.
 
sbi
@Cicada You would also have to come up with an endless stream of totally useless, but very twisted code riddles, none of which ever turns out the way it seems to hint at, and only 10% of which are solved by anyone here. (Now you regret having cut that hair, don't you?)
 
sbi
Well, I think that now, at 3:45pm, I really should take that shower I have been contemplating for hours, get dressed, and go shopping, so I can start relaxing for the weekend. :)
 
@ManofOneWay Compile-time check.
 
1:46 PM
Howdy.
 
howdy
what's up with Robot today?
Eminem has quite hilarious lyrics to some of his songs :P
 
Nothing so far. I just woke up and had breakfast lunch.
 
oh nice
I still need to have lunch
but I had a very late breakfast
 
@jalf Hey! I've emailed you now =)
 
@jalf, how you doing? been a while since last said hi
 
1:50 PM
heya
 
mr Cool Dawg
hi
 
rofl
it's no puppy though
 
no
we already have a puppy here
so no need to post pics of another
lol
 
two, actually
 
@EtiennedeMartel That's true.
 
1:54 PM
where is the porn, i have come for it!
 
Getting more RAM, looks like this ^
 
actually i guess it is blocked in here
 
I didn't really want to give you a clickable link
 
heheheh, there is right-click -> go to the adresss in modern browsers
 
sbi
@SeçkinSavaşçı For a moment there, I contemplated moving that to the PHP room. But then they might start to hate us.
 
1:57 PM
@jalf Just checking, did you receive my email?
 
@sbi haters gonna hate, i guess
 
@ManofOneWay yeah, I did. Will look at it asap
 
sbi
Nope, doesn't work.
 
:)
 
i've just seen it, we have a new tag "teen-drama"
 
1:58 PM
@jalf Great :)
 
@sbi fail
 
sbi
@SeçkinSavaşçı Oh, is that why you were drawn here?
 
for teen drama see @CatPlusPlus. :P
 
no, I've come here for porn!
 
sbi
33 mins ago, by Tony The Lion
just say 'lol", works for everything
 
1:59 PM
he will give you the quick rundown
@sbi fuck
 
sbi
@SeçkinSavaşçı Yeah, we heard that by now. We don't have our dicks in our ears like you, after all.
Maybe sometimes flagging is appropriate, after all.
 
@sbi lol
 
@sbi I didn't get the idiom, I'm not native speaker.
 
@sbi what you gonna flag?
 
sbi
@SeçkinSavaşçı You might want to start out reading the newbie hints, you know.
 
2:01 PM
The Free Country of sbi is gonna be flagged!
 
sbi
@TonyTheLion The guy that does nothing but asking for us supplying him with porn?
 
@sbi I meant the part "our dicks in our ears". What does that mean? Seriously I want to learn what that means
 
@sbi just ignore him, he's obviously too ignorant to have heard of google.com
 
sbi
@SeçkinSavaşçı It's fine, you can't use that saying anyway, because I have it copyrighted.
 
@SeçkinSavaşçı Dicks in ears, exactly as it sounds.
 
2:02 PM
@SeçkinSavaşçı means that we ain't deaf, and that we heard you the first time
 
@TonyTheLion thanks a lot. I learnt a thing for today.
 
TO ALL NEWBIES: There's NO PORN here!
and whatever you may think, it's wrong
 
@TonyTheLion wtf, man, you better get right on sorting that
 
I haven't learned anything yet today.
 
@Scrubbins I refuse
 
2:03 PM
Check out Brothel<C++> for pron.
 
I'm still pristine.
 
@RMartinhoFernandes lemme teach you something.
 
sbi
@TonyTheLion That's wrong, actually.
 
I was just kidding about porn, so anyway
 
sbi
Jun 4 at 15:05, by Cicada
Just rename this room to Brothel<C++> already
 
2:04 PM
@sbi I ain't seen no naked women in here :P
so no pron here
 
@TonyTheLion Mission failed.
 
@RMartinhoFernandes you knew that already?
 
I used to be a Rubik's cube geek, if you may say so.
 
2:07 PM
@sbi she was saying that she was going to watch gay pron, not post it in this room. Anyways, I don't want to see gay pron. I'm specifically referring to posting pron in this room.
 
sbi
@TonyTheLion My point was that "there's more to porn than naked women".
 
sbi
@RMartinhoFernandes Durn! Yes!
 
@sbi yes I know that, I haven't lived been living in a cave
 
sbi
3 mins ago, by Tony The Lion
@sbi I ain't seen no naked women in here :P
4 mins ago, by Tony The Lion
so no pron here
 
2:09 PM
@sbi you fucking troll, go away.
 
sbi
@TonyTheLion Now to be a troll, all you have to do is point out to others where they fucked it up? Trolls seem to have become really cheap nowadays.
 
you keep repeating yourself
 
sbi
Anyway, I feel dirty now, and will have that shower.
 
I got your point the first time you said
it
 
2:35 PM
someone in the Lounge had a point?
damn, my universe is collapsing
 
Ell
hi guys
jesus christ some people are annoying to talk to
 
easy, ignore them :D
 
sbi
3:09 PM
> the publisher wouldn't let us call it the Goddamn Particle, though that might be a more appropriate title, given its villainous nature and the expense it is causing. — Leon Lederman on how the Higgs boson became known as the "god particle".
 
Yet they say programmers are bad at naming things.
 
sbi
@RMartinhoFernandes Only atheist programmers, of course!
 
3:38 PM
I am not a c++ developer but i do believe this is the bestest chatroom
because c++ developer are bestest here
 
@fluty you better be trollin'...
 
@DomagojPandža Maybe put up the web stuff into a repo, so I can participate in madness.
 
this is far from the best chat regarding c++, far from the best. if you are serious, however, go check out ##c++ and it's related channels at freenode.
 
This is the bestest chat on Internet.
What's that C++ thing you're talking about?
 
@CatPlusPlus that C++ thing? Well, it's kinda the only thing we aren't discussing frequently in the chat room.
 
3:43 PM
##c++ has too much code talk to be fun.
 
sbi
room topic changed to Lounge<C++>: C++ is the thing we are frequently not discussing here. [c++] [c++11] [c++-faq] [teen-drama]
 
yes, is what I meant
 
sbi
Just say No! for whatever reason.
 
I just said "no" for whatever reason
 
@refp i did not say its the bestest room on Internet, but as per my familiarity with c++ chatrooms on internet this is the bestest.
 
3:44 PM
go dereference a dangling pointer you schmuck.
@fluty 'iggah please.
 
sbi
Oh, I left the tag in there. Well, it's somewhat fitting the tagline, so...
 
3:58 PM
hello everyone :)
 
// ooh, a dangerous null pointer!
^comment in my code :)
 
4:24 PM
its so quiet in here xD
 
SHOUTING LOUD SHOUTING LOUD
DO YOU READ - OVER?
 
whispers your transmission came over broken and weak. please repeat.
xD
 
sbi
Sits up. Somebody said something? Yawns. Huh?
 
@ITNinja whispers your transmission came over broken and weak. roger that
 
@sehe LMAO
 
4:28 PM
To get you awake and back to sleep again ^
 
oh cmon' man i just woke u;la;kdsl
so....tired....must....turn...off...music....*gah*
 
lololol one of the questions in the python room "whats different between php and python?" face-palm
 
@sbi Like a boss. Indeed. I don't particularly like the rest of his performance, but that made up for much !
 
Slow day
 
4:37 PM
Somehow, @sbi, this was in the related vids. It is actually kind of funny:
 
How can i possibly have undefined reference error when i am sure i have header file included and it has the function defined
 
It is a slow day.
@Abhishek Namespaces, calling conventions, differing prototypes in general (think ODR rule) and perhaps unresolved symbols (link errors) instead?
 
Nope not link errors
 
Run your code through preprocessor instead to see what the difference might be
 
undefined reference to `av_register_all'
 
4:41 PM
undefined reference == link error
 
let me show u the whole code barely 10 lines
(o_O)
 
@Abhishek ideone.com, pastebin
 
you're not defining the function anywhere in a source file which's object file is being linked.
 
sbi
@CatPlusPlus That sounds like the beginning of a poem.
 
@rubenvb nope. unresolved is link error. undefined (undeclared actually) is comple error
 
4:42 PM
lol
 
@sehe I have never had anything but ld complain about undefined references.
 
ROOARRRRRRRRRRRRRR
 
@sehe eek i confused b/w symbol and reference error
 
lol i have come to love IDEone haha. Its so useful for showing example code :P
 
4:43 PM
@Abhishek Try removing the extern "C". I do hope you're linking to libavcodec.
 
> Scorpions are the only animal capable of suicide, they can can sting themselves in the head with their tail.
 
@rubenvb well. I may be confused, but in my mind: unresolved => link, undeclared => source
 
dafuq did I just learn?
 
@rubenvb its explicitely written in library documentation to use extern "C"
 
4:45 PM
The work of today. Is a slow day.
 
a really slow day
 
@Abhishek what's your compile and link line? And the exact error?
 
Me: "Have you ever been fired from a job before, if yes, why?"
Interviewee dude: "yes, because I punched my boss in the head".
 
LOL!
did he give a reason why? xD
 
wasn't my interview
 
4:59 PM
oh xD
 
I just couldn't get the quote thingy right
 
@TonyTheLion > you mean this quote thingie?
> Markdown FAIL!
 
yes. that
 
@rubenvb am using ecllipse cdt
 
@Abhishek I'm sure it prints the commands somewhere. Check Google. Can't help without informations.
 
5:04 PM
lololol my display driver crashed for a second xD
 
@rubenvb thats what i am trying to do
Btw whats the best IDE on linux to create C++ apps
 
@Abhishek that comes down to personal preference
 
@Abhishek nonsensical question. Linux is an IDE.
 
g++ -L/usr/lib64 -L/usr/lib -L/lib64 -L/lib -o "ffmpeg-encoder" ./encoder.o
./encoder.o: In function `main':
thats what its doing
@rubenvb
 
5:13 PM
@Abhishek you need to add -lavcodec after your encoder.o
add -lavcodec to the project's libraries.
 
Time to order some pizza.
 
Hi @CatPlusPlus
 
I have some issues with the build system, do you mind coming over on IRC ?
 
sbi
@sehe tl;dw (Did I ever mention that me and TV have, uh, fallen out with each other long ago?)
 
5:21 PM
If I'm here, I'm on IRC.
 
sbi
@TonyTheLion Nonsense. Of course, other animals can suicide, too.
 
@rubenvb thanks :-) now works..
 
@Abhishek You're welcome :)
 
sbi
> } catch exception(wife) { /* .. this is why we have savings. */@TimPost
 
5:26 PM
Is it just me or did the site time out for a second.
 
@Mysticial dunno, just got back to the keyboard :P
 
sbi
@Mysticial Not for me.
 
For a second, I timed out on both SO and meta at the same time.
 
o.o
 
slow weekend...
 
5:29 PM
indeed
im just messing around on Scratch hahaha its so simple, and so amusing xD
and plus, the default sprite is a cat. who doesnt like cats? xD
 
Hah! success!
 
@ITNinja I dislike cats.
 
@RadekSlupik but why?!
 
The only decent animals are humans and fish.
Though I must say not all humans are decent.
Cats are distracting.
Humans just STFU when you tell them to, and fish stay in their aquaria.
 
but thats what makes them great
 
5:44 PM
No, I don't want to be distracted.
Also they need food.
Meh you know, pets suck.
Even fish.
 
xD
 
Teenage Mutant IT Ninja Turtles
 
@RadekSlupik Hah i like that one!
 
Hi Mike.
 
5:47 PM
@RadekSlupik doesnt rhymes
nope
 
What doesn't rhyme?
 
Tennage mutant IT ninja turtles
 
Ell
hi guys
 
dude, that would be a beast show xD
 
“Teenage Mutant Ninja Turtles” doesn't rhyme either…
Oh hi Elliot.
 
Ell
5:50 PM
I'll tell you what pets don't suck. Pet rocks. :D
Oh hi... radek?
 
Today I ate delicious food.
That's where animals belong, in my stomach.
2
Hmm, I might change my avatar to a disgusting picture of the contents of a stomach.
 
meh Radek
 
Ok ok, a crying emo.
 
don't cry
it's ok
 
I don't cry.
A picture of a dead cat will do.
 
5:55 PM
no
 
Q_Q
 
A dead lion.
Ok, a picture of a steak.
 
that's fine
 
A steak made if a crying, dead emocat. xD
Nah I'll just go with the steak tomorrow.
A picture of a crying person with PHP code in the background.
 

« first day (630 days earlier)      last day (4304 days later) »