« first day (957 days earlier)      last day (4007 days later) » 

Xeo
2:00 PM
@CatPlusPlus I feel exactly like that with AS3 / Flash.
 
// Catching exceptions is for communists
 
trying to please everyone => no one will be pleased
 
Is what I've been saying
 
2:01 PM
Oh, wait, I can listen to music on Last.Fm.
PROBLEM SOLVED.
 
What problem?
 
@R.MartinhoFernandes What music to listen to.
 
/**
* If you don’t understand this code, you should be flipping burgers instead.
*/
 
@Code-Guru Thank you for rehashing this 4 year old joke
 
That's it. Daniel Bélanger. GOoooooooo.
 
2:01 PM
You can stop now
 
@CatPlusPlus any time ;-)
I'm a little behind on SO memes =p
 
@EtiennedeMartel I solve that by dumping the library on a playlist and setting it to random.
 
@R.MartinhoFernandes The problem I have is that I do not have my library at work.
 
why doesn't openssl build for 64 bit ._.
 
@Code-Guru They're all not funny hth
 
2:02 PM
TIL how mentally damaged a person can be
 
Getting music isn't the problem, thanks to Grooveshark. The problem is knowing what to get.
 
@EtiennedeMartel Portable drives :v:
 
@CatPlusPlus Oh, look at you and your fancy technology.
 
@thecoshman If one of them wants to step forward and do that, they can be my guest and maybe I would put some time back in. Or we could start from my existing codebase (which, I warn you in advance, sucks).
 
@CatPlusPlus I stream it.
 
2:05 PM
@DeadMG Oh, so that's why we did not start from it.
1 min ago, by Etienne de Martel
@CatPlusPlus Oh, look at you and your fancy technology.
 
@DeadMG oh yes, I recall why we didn't touch your code, your windows fixation :P
 
@thecoshman I'm pretty sure that actually, I used some interfaces for almost all the Windows-specific stuff except the threading (which could have been easily serialized)
 
Hola gents
 
Fuck it, 90125 it is.
OOOOwwwwneeeer of a loooneellyyyyy heeearrrt
 
@CatPlusPlus I guess your sense of humor is more evolved than mine =p
 
2:07 PM
@DeadMG well, perhaps it can be looked at again at some stage, but really, I am more then content ATM working on my platform abstraction stuff :P ¬_¬ and silly build system
 
do we have Lounge<C> on SO?
 
@Code-Guru Yes
 
@thecoshman Fair enough.
 
@VladLazarenko Yep. It's pretty much completely dead though
 
> stackoverflow is
 
2:08 PM
@jalf damnit. Where did all C folks go!?
 
@VladLazarenko What C folks?
 
@jalf Stillborn.
 
They all died of old age
 
Perhaps they got converted to iOS developers :-)
 
@ScottW It's not my favorite song on that album, but yeah, pretty good.
 
2:09 PM
Cat, I am alive and well LOL.. Though getting old is no fun.
 
@VladLazarenko C programmers don't hang out. They stay alone in dark and damp basements.
 
@VladLazarenko You should ask them
 
The number of use cases for C is decreasing slowly (it cannot decrease fast: there is one use case)
 
@ScottW Oh. Who was the singer?
 
I wish C was dead and gone already
That would mean C++ is next
 
2:10 PM
Was it Benoît David?
 
@CatPlusPlus Working on it.
 
Cat, why? C is a nice language. You don't like C++, too?
 
@VladLazarenko Cat doesn't like anything. Especially himself.
 
C is a nice language in the same way sulfuric acid is a nice beverage
 
It rains on Venus.
But the raindrops evaporate before they hit the ground.
 
2:11 PM
i guess it depends on what you want to do...
 
I say this all the time.
It's my favourite Solar System trivia.
 
@VladLazarenko sure, if you want to suffer, it's a wonderful language
 
Yes, C is nice for maintaining C codebases.
 
@R.MartinhoFernandes and Saturn would float if you put it in a big enough pool. :)
 
Don't give C to suicidal people it might be the last straw
 
2:12 PM
Well, IDK.. I like fast compile & run time.
and simplicity. You get straight to the point.
 
@VladLazarenko C# compiles pretty quickly too
 
C is not simple
I like correctness
 
Heck, Python doesn't even need to be compiled
 
And type systems that aren't useless
 
@jalf That's not as interesting (and is it true? WHAT IF HERE I COME).
 
2:13 PM
Not that either
 
Seriously, sulfuric acid rain that doesn't finish raining is so fucking cool.
 
let the holy war begin :)
 
C has a type system?
 
@VladLazarenko "begin"? How about we make it go somewhere else?
 
2:13 PM
Yes
It might as well not be there though
 
@jalf Empirical evidence suggests C# compiles much faster.
 
I'm starting to like C#
2
 
@R.MartinhoFernandes Well, I read it on the internet, so it must be true!
 
But.. .but... but you cannot use C# to contribute to Linux kernel !
 
@CatPlusPlus Yeah - I've noticed on my legacy embedded stuff. Every time I have to go in there, I just know it's gonna be a massive pain.
 
2:14 PM
@VladLazarenko Let's not go there.
 
@VladLazarenko So?
 
@VladLazarenko and how much have you contributed to the Linux kernel in any case?
 
I love writing code where every second line is error checking
 
51
Q: Unusual typedef use in C++

vivekI came across a new use of the keyword typedef in C++. What does this typedef statement mean ? int typedef foo;

 
@jalf: that's what I do — drivers, hacks. Though I don't share, its HFT business.
 
2:15 PM
I consider "This language doesn't let me do something that I wouldn't do anyway" to be a pretty acceptable sacrifice in return for a better language
 
@jalf I'm thinking about it. For something to float the "liquid" has to be more dense than the thing. A pool that can contain Saturn but is denser would have much stronger gravity. So... Yeah, I'll let Randall do the math :)
 
@VladLazarenko great. So if you're not contributing to the Linux kernel anyway, who cares that your C# couldn't be contributed to the Linux kernel?
 
But it's an important use case!
 
Yep
 
I like Ruby though.
Who hates it?
 
2:17 PM
it's critical if you're a kernel developer, and completely and utterly irrelevant otherwise
 
This room hates everything
 
@VladLazarenko As the good programmers we are, we dislike pretty much every language.
 
I mildly dislike Ruby
 
@Jeffrey A room cannot hate anything.
A room has no feelings.
 
Aaaand pedantry has taken the stage...
 
5.times { puts "I love Ruby!" }
 
@R.MartinhoFernandes If you were a language, I would like youuu.
 
@LightnessRacesinOrbit #define AKA typedef
 
lol
how could I?
 
I'll never understand why people use Ruby willingly
 
2:19 PM
@Jeffrey Well, if you open the door, don't get mad when people go in.
 
this lounge is a great fucking place to waste some time at work :)
 
But then again the same applies to C, C++ and Java
 
got to work though, so see ya guys later, enjoy your day
 
@ScottW Haskell, Python, C#
Stuck at Python 2
Not interested
 
Some people swear by the Bible.
 
2:21 PM
If you want Python-like for .NET then check out boo
 
There. Now let's hope Randall picks it up :)
 
Randall?
 
xkcd guy
 
Python2 sucks.
@BartekBanachewicz Randall Munroe.
 
I thought about this
 
2:23 PM
@ScottW I had this beautiful power, once, of seeing the beauty in every person so that I could hide their stupidity very easily and be happy with everyone. The more I grow older this power is weakening exponentially.
3
 
That's a crappy power. Vapourising ugly people with your willpower would be a better one.
 
Have you heard they're going to make Clerks 3?
 
@R.MartinhoFernandes a lightsaber would be even better
 
Am I the only one made uneasy by the "Who is Stack Overflow" thing? It should be "what".
 
2:28 PM
> stack overflow is like the wikipedia article for some extremely narrow
 
@R.MartinhoFernandes now you just have to limit the length of the laser and make it deadly...
 
What's the canonical explanation for the the limited length?
 
Wizard did it
 
(I'm sure there is one)
 
> If I remember correctly in one of the novels they explain it this way: The energy blade is actually an arc of energy that is focused by a crystal.
 
2:36 PM
don't look now... but there is an elephant in the room
@Jeffrey 3W is deadly... well, slowly deadly
 
@thecoshman ... and very painfully deadly...
 
Powered by Willing Suspension of Disbelief.
 
@Jeffrey not sure... it could potentially cauterised the nerve endings stopping them from sending pain signals... over send them into overdrive
 
I'm seriously finding an hard time to be coherent with my peaceful principles. I keep imaging his bloody skull getting hit by anything that ranges from baseball bats to my punchs. It's an interesting feeling though...
@thecoshman not every nerve...
 
@Jeffrey obviously only those who are getting hit, the rest will not care
 
@thecoshman also it will take quite a while before reaching the nerve level I think...
 
Xeo
@EtiennedeMartel OC Remixes <3
 
@Xeo I like being able to preview them on YouTube.
@ScottW Me too.
Stop liking everything I like.
 
@ScottW hei! what about me?
 
@Jeffrey huh? if your nerves are not touched, you will feel no pain
no, no need to be able control your own body
 
2:50 PM
I'm too ignorant in this matter to even convince myself to try to reply...
@thecoshman If I make a little cut in your skin I don't touch your nerves, but you feel pain nevertheless...
 
@Jeffrey except you have nerves going up into your skin... which will feel being cut
 
@thecoshman we are full of nerves everywhere right?
 
@R.MartinhoFernandes Where's that?
 
@Jeffrey well, not 'full', there is more to us then just nerves
 
0
Q: Declaring a pointer to a structure variable when we have a pointer pointing to the pointer of the structure to whose member we want a pointer to

Ritwik GLets say I have a structure : struct ABC { char a; char b; char c; } I can declare a pointer to a pointer to the above structure as : struct ABC** abc Now abc is a pointer pointing to the structure pointer *abc and *abc is a structure pointer pointing to the structure abc. Thus; ...

 
2:57 PM
@thecoshman Cauterization wiki page doesn't say anything about pain...
 
@Jeffrey I doubt there is much research on using lasers to burn through flesh faster then pain can be felt for it
 
Hmm, C++14 will have _t variants for the type traits?
i.e add_pointer_t<void()> equals void(*)() ?
 
Xeo
Aliases, ya
 
apparently, they also provide is_class_t<T> that equals integral_constant<bool, V> ?
 
Xeo
no?
 
3:02 PM
they write it in the PDF
 
Xeo
Some people on std-proposals want to push is_class_c<T> for that, but eh...
@JohannesSchaub-litb Ah, that part wasn't adopted
 
ah neat
i wonder whether it wouldn't be better to have them as constexpr variable templates?
 
Xeo
The constexpr T operator()() const for integral_constant was adopted, though
So is_class<T>()()
If you really want a bool
and can't rely on the conversion
 
ah, though I guess that won't make integral_constant<bool, is_class<T>()()> well-formed :)
it's still a function type xD
 
Xeo
That one's tricky, I guess. But you always have ::value for that
 
3:04 PM
posted on May 30, 2013

We must generally assume that adding elements to a vector will invalidate every reference, pointer, or iterator that refers to a vector element.

 
wouldn't template<typename T> constexpr bool is_class_t = is_class<T>::value; be a good choice too?
 
Are there any opinions about using Apache Axis2/C for SOAP web services client access?
 
Xeo
2 mins ago, by Xeo
Some people on std-proposals want to push is_class_c<T> for that, but eh...
 
@Xeo ah i see. I thought you meant that this denotes the type integral_constant<>
i see
 
Xeo
Ah, no, it's for the actual bool
Atleast IIRC
 
@Xeo Isn't std-proposals an embassy of the People's Republic of Madbodia?
(Well known for their principal exports of mixed nuts and batshit).
2
 
Xeo
Most of the time, yes.
 
Tomahawk.
^ Jean Chrétien, former Canadian prime minister.
 
Xeo
@EtiennedeMartel IRTA "Cretin"
 
3:16 PM
@Xeo Guess what was the most common nickname for him?
 
Xeo
lol
 
(Also, "crétin" is a French word. No points if you guess what it means).
 
Xeo
Ahaha, the flagged message
so ironic
 
i came across a new use of static today. what does void f() { int static a; } mean??
 
3:21 PM
@JohannesSchaub-litb Probably the same as static int a.
 
yiz
Julia Gillard, Australian Prime minister - hot!
 
yiz
 
@yiz Kinda.
 
yiz
For once we have an agreement :p
 
3:22 PM
I like how you guys still have a Union Jack on your flag. It's almost as if you still really liked the Queen.
 
This sucks. It appears that there is only gSOAP as a viable SOAP client library for C++.
Apache Axis2/C and Apache Axis C++ seem to be unmaintained.
 
yiz
@EtiennedeMartel some ... not all of us
 
Arent' British justice courts the last instance for Australians?
Or was that just some bad movie I was watching?
 
I hope not.
I mean, Australia is an independent country, not a fucking British Dominion.
 
They apparently have legal prostitution...
 
3:26 PM
Australia is nice, one of the few countries I would consider moving to
 
@ShotgunNinja Well, well.
 
@KerrekSB sometimes that has its uses: friend int32_t ::globalFunction(); will be invalid because the :: will take int32_t. Writing it as int32_t friend ::globalFunction(); makes it well-formed. — Johannes Schaub - litb 1 min ago
 
@ShotgunNinja Most of Europe does that.
 
hmm
it always seems to take the base version, not the latest edit of the comment
 
In Sweden it is criminal to buy, I think, not very up-to-date.
 
yiz
3:29 PM
@JohanLarsson it is - see this entry in my blog
And plenty of friendly wildlifes too :)
 
@ScottW I wanna go to Australia too, maybe we should go together
South Ameristralia
 
I drove in Brisbane using only fifth gear, we bought a crappy car and the gearbox broke. I remember it was pretty hilly.
 
can you have a template with zero template parameters?
i was asked in an interview to show such a template
 
3:45 PM
@JohannesSchaub-litb a specialization on a primary template with only one parameter?
 
@JohannesSchaub-litb you were asked something about templates in an interview and couldn't answer? Which company was that, Google, Facebook and Apple in one?
 
@TonyTheLion that will not be a template
 
Xeo
@JohannesSchaub-litb Only zero or possibly zero?
Also, parameters or arguments?
 
@JohannesSchaub-litb A template which can be instantiated by providing no arguments, perhaps
 
Xeo
3:49 PM
@JohannesSchaub-litb It's snapshotted when pasted
 
@AndyProwl which must be instantiated by providing no arguments because it has zero parameters.
the question is - how can it be done?
 
@JohannesSchaub-litb I would have answered no. What's the point of that thing being a template?
 
@AndyProwl it is a byfall product
 
Xeo
@JohannesSchaub-litb Is this a quiz?
Or do you also not know the answer?
 
@Xeo it is a quiz
 
Xeo
3:50 PM
mhm
 
> Someone once told me that the fastest way to spot the weak point in an argument is to look for the "surely".
 
(i was not really at a interview. this is just to introduce some real feeling on the quiz)
 
@EtiennedeMartel Nice one. But here I would say "it surely does not exist, full stop". Doesn't help much though, since the answer is that it exists
 
Xeo
Mhm, got it
Just expand an empty variadic pack into a template parameter list
 
Nice
It would have taken me an hour I guess
But only after being told that my answer was wrong
 
3:53 PM
@Xeo you're the winner!
 
Xeo
\o/
 
unfortunately you cannot have a template template-parameter with zero parameters
ah wait, you can. silly me. but only with that trick :)
 
Xeo
:)
You can even make it take zero template templates with zero parameters!
 
hey @Andy, congrats on 40k
 
Xeo
3:57 PM
(Okay, this is getting stupid)
Holy shit, really?
That guy caught up fast.
 
You're hereby Spacemarine Warhammer @Andy 40k
 
@BartekBanachewicz Thanks, but I still suck at solving cool problems, as was just shown :D
 
@AndyProwl your false modesty is annoying
 
@Jeffrey What? dem boobs? :3
 
3:58 PM
@Jeffrey old
 
wow, these are good arguments
 
@AndyProwl But you're so good at playing this internet points game
 
Speaking of old things, there's this cool thing.
 
I am quite sure it was older than 2 months
@EtiennedeMartel great poem
 

« first day (957 days earlier)      last day (4007 days later) »