« first day (585 days earlier)      last day (4346 days later) » 

sbi
1:03 PM
@sehe What? Where are you living that a bare-chested man is not safe for work?!
@thecoshman So mail the damn link to your home address and look at it tonight when you're at home.
 
@sbi's got a point.
 
sbi
@EtiennedeMartel Reading 8 months old code and not finding much to improve is a sure sign you haven't learned enough new stuff in the last 8 months.
 
@SteveJessop mmm did you steal my answer just there? :) — sehe 11 secs ago
 
@sbi worth it?
 
@sbi Hollandistan
 
1:05 PM
@sbi To be fair, it's been 8 months since I actually did C# and WPF.
So you might be right.
 
@thecoshman Not in my opinion. Also, the link is here, so mailing it is redundant
 
sbi
@sehe When I traveled across your country (in 1990, admittedly), it didn't come across as such a prude.
@thecoshman Sigh. See here. That works now?
 
@sbi he he he, dedication :P
 
@sbi ... the country didn't come across as a prude? Good. Just a lunatic then :)
@thecoshman you haven't linked the DS yet
 
@sehe ?
 
1:15 PM
May 9 at 8:55, by thecoshman
@sehe DS?
 
oh, savage chickens :P
they've not been that great recently IMO
 
*Jackass
:)
 
sbi
I have, BTW, obtained an image of @DeadMG playing mortal combat.
 
Hi guys i have been looking into something of newbie level for hours and cant find the best solution so here i am again..... What is the best way to concat an std::string and a float ?
 
sbi
@Dev2rights Look into string streams.
 
1:21 PM
@sbi thanks i was worried you would say that , the Android NDK seems to not have implemented them :_( cheers
 
@sbi looks DeadBeat
 
will look further
 
sbi
@Dev2rights Then you're stuck with the C std lib.
 
Cool thanks
 
@Dev2rights sprintf
 
1:22 PM
@Dev2rights Really?
 
Streams don't require any runtime support. You can just copy the implementation from somewhere else.
Special support, that is.
 
Thanks
Annoying to copy implemetnation just for android as there supported on iOS but still, again thanks for the sage advice
 
sbi
@CatPlusPlus Except for file streams, that is.
 
@Dev2rights there's a ticket on it here: crystax.net/trac/ndk/ticket/29, I suppose it must exist then
 
@sbi Arguably, that could be implemented on top of FILE*.
STLPort does such a thing, IIRC.
 
1:24 PM
yeah crystax is a non official Dev Kit release though, good for open source apparently not so good for releasing final products
 
sbi
@DeadMG Yeah, on top of the C file API, that's true. I hadn't thought about that.
 
Mobile platforms suck.
 
sbi
They don't suck power, though. And that counts.
 
@Dev2rights I see.
 
I like mobile because its as close to 1970's development i will ever get :p
 
sbi
1:26 PM
> Last night, with my curtains closed and bedside light off, I read a book. Wearing sunglasses. Under a blanket. — That guy is hilarious.
@Dev2rights No segmented memory, though. :(
 
Or vacuum tubes
or patch cables
or punch cards
e.t.c.
 
sbi
Oh, right, you were talking about the 70s. Sorry, I'm too young for that computer era.
 
You just need to work with C++ toolchains to experience horribly obsolete development.
 
You know you're talking about prehistory when even the ape doesn't remember :P
@sbi I know :P
 
So am i, just watched a lot of documentaries on the history of computing in the last week and it made me realise how lucky i am to be a developer in 2012 :p
 
1:29 PM
"You haven't voted on a question in a while. Questions need votes too!" - not if they all suck.
 
@Dev2rights Yeah, devs are more valuable than hardware, which is nicer than it bein the other way around
 
@Dev2rights time for a reality check
 
sbi
@rubenvb Downvotes are votes, too.
 
@sbi lol
 
@Dev2rights Ironically, developers in 2050 are going to be saying the same thing about us and how awful it was for us.
 
1:30 PM
@Neil I should hope so
 
I cant define reality so best to ignore rather than check it. @Neil surely machines will code themselves by then
 
user784668
@Neil There will be no developers, nor any other humans in 2050.
 
@Fanael i concour
 
@Fanael Then there will be artificial intelligence saying how difficult it must have been being human AND a programmer in 2012
 
user784668
@Neil In a world without electricity?
 
1:33 PM
@Fanael You have a bleak outlook on the future of the human race, don't you?
I saw a video the other day explaining why exponential growth is actually slowing down and should be expected to halt at 10 billion people.
 
@Neil 'should be' - normative. What's the rational argumentation for it?
Actually, I think it should be expected to dramatically decrease, really. If history is to repeat itself, populations that grow out of control seem to be prone to mass extinction (well, death rate or how would you say that). Now, there's a grim outlook on the future of the human race...
 
nah
the population growth will stop when we run out of resources and not before
 
@sehe He argued that the trend of growth is largely dependent upon the richness of certain countries.
 
but in my opinion, our rapid scientific development makes our current situation unlike any in previous history
 
And despite it all, most countries actually have very low children rates
 
1:37 PM
@DeadMG That is a good argument. And to the point
 
user784668
@Neil I think it should be expected to halt at 0. You know, WW III.
 
children rates, I like that
 
only some countries in africa still have exceptionally high
Most people are near 2 children per woman
 
@sehe Secondly, statistically, it's the poor countries who grow quickly. If they become wealthier then their reproductive rate will drop (statistically).
 
I'll share the link. Decide for yourselves
 
1:38 PM
that's why immigration is a social problem in places like the UK- the native population has been quite stable for some time
and the poorer immigrants are just reproducing faster than the white natives
 
@DeadMG It might drop. Unless they need a lot of child soldiers because they can't afford droid legions to conquer the former 1st world
 
nah
 
Though I think the study was initially done to demonstrate differences in birth rate and religion, though it only seemed to demonstrate that religion has nothing to do with it.
 
eventually, the richer countries will get their act together and just start bombing anyone who does that shit
instead of what's happening now in e.g. Syria where the government is raping the population and the first world is sitting around wanking
 
We went from bleak, to grim to.... DEADMG outlook on the future of human race
 
1:41 PM
actually, I'm quite positive about it
I believe that our population is simply too large and too well-entrenched for any particular disaster to be the death knell
 
Yeah. No problem. The 'right' part of the world will just bomb the 'wrong' part.
 
Except zombies.
 
and I also believe that our increasing wealth and science are, if slowly, surely, eradicating the old problems like militant religion
 
sbi
@DeadMG Actually, I think decreasing human fertility correlates much more directly with women's education than with social welfare and individual wealth.
 
@DeadMG with bombs.
 
1:42 PM
Bomb everything.
 
@sbi As far as I'm aware, then since women's education and general societal wealth also correlate quite directly, then they seem to be equivalent statements to me.
 
sbi
@DeadMG Yeah, we can all clearly see how the increasing wealth in the US eradicates militant religions.
 
@EtiennedeMartel Missed meme opportunity
 
@sbi It's less of a problem than it used to be.
 
Bomb the bombs.
 
1:43 PM
I tried really hard not to reference that meme, actually.
 
Zing
 
although since it was so huge to begin with, it's still not exactly gone away entirely
 
It's a tired meme, really.
 
but it will happen, although not necessarily in any of our lifetimes
 
@EtiennedeMartel You could have saved a few keystrokes in the process
 
1:44 PM
I'm not that lazy.
 
:)
 
sbi
@DeadMG Ha, you young puppy! I remember the times when one could fly, even with Merkian airlines, without having security peek into everybody's assholes. (And I was late to that party, mind you.)
 
Hmm, assholes.
 
@sbi Compared to, say, the Crusades?
 
sbi
@EtiennedeMartel Yeah, it's called "cavity search". But it is peeking into assholes.
 
1:45 PM
Woot. I'm now officially frequently in this room
 
Well, there might be a bomb in there.
 
the recent troubles are just a peak, and people will get over it and the general trend will resume
 
Assbomb.
 
@sehe Running for presidency ownership?
 
Actually, seeing how @DeadMG likes bombs, I'm pretty sure there's one in his asshole too.
 
1:45 PM
especially when NATO finally pulls out of Afghanistan
 
@sbi And never mind that the TSA has caught exactly ZERO terrorists since it's inception
 
sbi
@DeadMG No. Compared to the mid-20th century.
 
Absolutely
Not
 
TSA is banning pictures of guns.
 
@Collin Means it's working well as a deterrent!
 
1:46 PM
How can it strike anyone as effective?
 
@sehe One day, I shall be a frequent dude.
Mark my words.
 
@CatPlusPlus It is effective since it doesn't strike anyone.
 
@RMartinhoFernandes It's not that they can't get weapons on the planes, it's that they just don't want to be patted down
 
user784668
@EtiennedeMartel Thou shan't.
 
The whole thing is so stupid and ridiculous, I don't even.
 
1:48 PM
Look the place it filling up.
several species of small furry animals gathered together in a cave and grooving with a pict lyrics
@Fanael Thou shalt not?
 
Volt.
 
@sehe Yeah, "shan't" is a really funky word.
 
@EtiennedeMartel And really out of character there :)
 
@CatPlusPlus The whole reaction to 9/11 was "I don't even".
 
1:50 PM
> daren't, shan't, usedn't
 
Norway had it right- "Fuck you, terrorism, MORE FREEDOMS!"
 
How the hell do you pronounce "usedn't", anyway.
 
you don't cause it's not a word
 
@CatPlusPlus "You don't even"
 
It's pronounced "fuck this shit".
 
1:50 PM
You can pronounce a whole lot more than just words.
For example, you can pronounce marriage.
 
@CatPlusPlus Come back when it's in the OED.
 
> didn't used to (much more common)
WTF.
 
Anyway, whatever. Google came up with it for "shan't".
 
-4
Q: Compiler : Which wone is faster?

Devashish DixitI have decided to write a compiler in Java and my friend is doing the same in C. Does the choice of language affects the efficiency and speed of compiler of it only depends on the algorithms we used?

Speaking of strange English words...
 
1:53 PM
rofl, I was just bout to link that myself
what the fuck typo, I mean, it's not even shorter or something like that
 
Be wewwy, wewwy quiet. I'm hunting wabbits.
 
fuck it
I'mma represent add as a 64ary operation
 
@DeadMG And w and o are pretty far away on both QWERTY and DSK layouts.
 
and "one" is a pwetty basic Engwish word
 
Yeah, but I could understand, for example "ione".
 
user784668
1:55 PM
@RMartinhoFernandes And on Colemak, too.
 
agree
> auto-explicative
first time for that too
 
user784668
Does anyone know if std::list::size in libstdc++ has been made C++11-compliant yet?
 
sbi
@DeadMG To my German ears "one" and "whole" start off with the very same sound.
 
@sbi They do (ish), but the spellings are quite distinct.
 
@sbi "Fuck off back to Austria." is a great punchline.
 
sbi
2:03 PM
@RMartinhoFernandes Yeah. Only Merkins would manage to confuse those two.
 
Woot, LLVM 3.1 released.
 
@RMartinhoFernandes Did they add a linker?
 
user784668
Did they add OpenMP support?
 
user406009
@RMartinhoFernandes Does it have lambda yet?
 
2:05 PM
@Fanael Dunno. Check the release notes.
@EthanSteinberg Yes.
 
> Greatly expanded C++11 support including lambdas, initializer lists, constexpr, user-defined literals, and atomics.
Well well.
 
Clang 3.1 has pretty much everything in C++11 except threading in (clang.llvm.org/cxx_status.html).
 
user784668
Clang 3.1 is on par with GCC 4.7 when it comes to C++11 support.
 
user406009
Time to find the download then.
 
2:06 PM
It's GCC playing catch up now.
 
I think Apple's greatest contribution to software development is supporting Clang development.
 
user784668
@RMartinhoFernandes Right, but not by much.
 
@DeadMG AFAICT the clang driver can link bitcode files itself.
 
@RMartinhoFernandes I have no idea what the clang driver is.
 
It's that thing you run.
 
2:09 PM
It's a thing that drives clang.
Isn't that obvious?
 
It's called a driver, because it steers the entire process.
 
It's a driver for clang devices.
 
It's a typo. He meant dang driver.
 
user784668
It's a kernel-mode module you have to be running in order to use Clang.
 
@RMartinhoFernandes AFAICT, it simply forwards to Visual Studio's link.exe
 
2:14 PM
What about llvm-link? It links bitcodes, not object files. Not sure how that affects anything.
 
because it only outputs more LLVM-specific stuff
you can't llvm-link args output.exe
 
Can't you then compile the result with llc?
 
they changed all the docs and I can't even find the list of those things or their documentation anymore
 
But nah, seems the output of llc still needs a native linker.
 
sbi
> How do we really know that hard work never killed anybody, when the only reliable witness may be dead? — Debbie Howard
 
2:19 PM
@sbi Is she finally coming up with quoteworthy things again?
 
@RMartinhoFernandes this irks me
 
and he’s back
Stack Overflow makes me more and more jaded and cynical
2
 
Those are some good traits to have.
 
my comments get trollier (is that an adjective? well, it should be!) by the day
 
2:22 PM
I'd go with trollishier, it's got a better ring to it imho.
 
With the average post quality, that's not really surprising.
I've noticed that participating can make me actually tired.
 
Most problems can be fixed with a google search
 
Well, it's quite difficult to google search if you don't actually know what your problem is :)
 
@KonradRudolph Who's back?
 
Guess who's back!
 
2:25 PM
> In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt.
 
C++ programs, too.
And all Java code ever written.
 
user784668
Programs, in general.
 
Really, just indent the authors.
 
> If Java had true garbage collection, most programs would delete themselves upon execution.
 
@ScarletAmaranth True, but you gotta know what your problem is if you're typing up a question on SO
 
2:27 PM
This shit is solid gold: scriptol.com/programming/quotes.php
 
@EtiennedeMartel So that's why C++ doesn't want one.
 
Unless your question is, "What do I want?"
 
Money.
 
@EtiennedeMartel That's kinda old.
@Neil Obedient subjects. Lots of them.
 
sbi
@ScarletAmaranth He Who Must Not Be Named?
 
2:28 PM
> Writing in C or C++ is like running a chain saw with all the safety guards removed.
 
@ScarletAmaranth Slim Shady?
 
More like dancing on a nuke.
 
@EtiennedeMartel +1 ;)
 
@EtiennedeMartel I wanted to say that, but it felt too obvious. :.
 
Tututu.
 
2:29 PM
Yet another test tomorrow. I want to do something fun, not study. Gaah.
 
Don't worry, it'll be over soon.
 
Two more weeks of tests, exams and whatnot.
 
@RMartinhoFernandes I am :)
 
The most shocking thing about this code, is that it is still able to shock me with how bad it is
 
@RMartinhoFernandes I think we can all agree with that. Preferably undead, right?
 
2:40 PM
No. I want my subjects to have brains.
The only crippling thing about them should be the perfect and unavoidable obedience to me.
 
@KonradRudolph I venture that becoming a moderator on Skeptics (!) .SE was a significant move in that respect
 
@RMartinhoFernandes You heretic!
 
3 hours ago, by sehe
Note the Konrad Rudolph♦ 11 mins ago on Skeptics.SE
 
I saw this programming language the other day and I think I should learn it just for the lulz: en.wikipedia.org/wiki/LOLCODE
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
 
@Neil Late to the party, aren't you?
 
2:41 PM
@EtiennedeMartel What'd I say?
 
Well, LOLCODE has been going around for a while now.
Still no LLVM front end, though.
I think.
 
@EtiennedeMartel Well I'm excused if there's something on the internet I haven't found yet, right?
 
Of course.
Being late isn't wrong, you know.
 
@EtiennedeMartel It isn't?
 
@sehe No, actually. In fact, I’ve given Skeptics the cold shoulder since then (unintentionally, and unfortunately) and haven’t done a whole lot of modding
 
2:44 PM
@DeadMG Oh, you.
 
@KonradRudolph Skeptic about skeptics. Down that path lay apathy, cynism, eventually: death
 
I sense some dark side talk coming up.
 
@EtiennedeMartel Unless you are really late. As in, the late Etienne Martel
 
You missed a "de".
Unless you're talking about a different person.
 
2:51 PM
@EtiennedeMartel Sry. I'm late (hah). Too late to edit
 
Har har har.
 
OK, question time
can I write this without the first template argument that has to be provided explicitly upon calling?
template <typename U, typename... T>
auto make_array(T&&... values) ->
        std::array<U, sizeof...(T)> {
    return std::array<U, sizeof...(T)>{std::forward<T>(values)...};
}
 
What is the U supposed to be?
 
well, you’s call it like this:
auto a = make_array<int>(1, 2, 3, 4);
 
Oh, I see.
CommonType<Decay<T>...>
 
2:56 PM
something like this, yes
I’ currently looking of just using a first_type<T...>::type template …
 
Decay<T>
You don't want to store references, I suppose.
 
Probably not
 
explicit is best, IMO
 
so just remove_reference?
 
If you want by-value, it's std::decay.
That's what it exists for.
 
2:59 PM
true
 
@KonradRudolph And drop consts too. And change function types to function pointer types. And probably other things.
std::decay handles it.
 

« first day (585 days earlier)      last day (4346 days later) »