« first day (1545 days earlier)      last day (3628 days later) » 

00:01
@thecoshman I'm imagining a future chip with the shape of a cube and water values that pass water between the major layers of the chip.
It's so fucking cold outside.
It's so warm outside I can walk outside in a t-shirt. It should be -20C.
@R.MartinhoFernandes how long I got left? kindda busy with shit... but I'll try to get to it.
@Mysticial not sure how well that could work...
@thecoshman but that wasn't the unit. Your point is moot. Also, nm³
maybe first you'd see the heat sinks having probes that lock into the top of the die
I'd say we'd need to find something better at pulling the heat away from that tiny blob of sicon
00:06
@CaptainGiraffe Same here, (UK midlands).
I'd say we need to find ways to dissipate less energy.
any way, bedtime for
user1804599
bye pirate
user1804599
byerate
@sehe ... no dissipate better, produce less waste energy
00:06
Pyrie
@thecoshman Right now a chip has a built-in lid that protects the die and you mount the heatsink/waterblock on top of the chip. Perhaps in the future, the water block becomes integrated into the chip. And in addition to mounting the chip on the motherboard, you also need to attach water cooling pipes to it.
@thecoshman umm
@Hector that's not what strongly-typed means. Namespace pollution doesn't mean "not strongly typed". — sehe 1 min ago
@thecoshman ?!?! good luck definine your own jarrrrgon
@thecoshman oh wait, that was a joke (you meant, just hide the wasted energy better then. I think you're missing a fundamental preservation law here, but, you know)
@thecoshman Submerge the CPU in Florinert.
00:24
really strong types pollute even parent namespaces
// Poco's logging library defines macros like:
poco_fatal(msg)
poco_critical(msg)
Lowercase looks better for function-like macros.
@StackedCrooked Really strong types pick up Ann Darrow and carry her to the top of the Empire State Building.
SBI-like types.
The 2005 version of that movie was too much. The scene with the insects. Never again.
@StackedCrooked Never saw it. Guess I didn't miss much though.
It wasn't very memorable.
A few years ago I saw the 1933 version in a kind of temporary open-door theater.
That was a funny experience.
Crowd was roaring with laughter at all the supposedly serious scenes.
I think it should be irrelevant: max vs. ternary vs. ternary, static member vs. max, static member vs. max, static member, out-of-class vs. ternary, static member, out-of-class . Literally the only difference in generated code will be the presence/absense of easy::a in the data segment. — sehe 18 secs ago
I hope this OP will accept a little fact
@JerryCoffin lol
I'm really starting to get the hang of this godbolt thing
Thank you for not telling him about our secret high-rep queue, and perpetuating the myth that it doesn't exist. Can you imagine what would happen if that got out?? Phew, that was close. As Verbal Kint said, "The greatest trick the Devil ever pulled was convincing the world he didn't exist". And thank God that we also have our special secret high-rep user comment box as well to post messages like this in, so that only us high-rep users can read them. I'd hate to see what those lowly peons would say if they ever caught wind of this... — j08691 9 hours ago
^^ lol
Godbolt explorer is great for debunking codegen myths over at #stackoverflow http://stackoverflow.com/questions/27830761/c-template-static-integer-constants-out-of-class-definition/27830856?noredirect=1#comment44068294_27830761 /HT @mattgodbolt http://t.co/W3xDyVq7px
@Mysticial top kek
@StackedCrooked don't worry, I'll stay faithful to Coliru! Just, Godbolt is pretty sweet in its own niche
00:55
Ok. sniff
:D Okay okay. Godbolt Compiler Explorer is freaking awesome. There. I said it.
I said it! — http://gcc.godbolt.org/ Compiler Explorer is freaking awesome. #loungecpp Supports #clang #gcc #icc, ARM, x86_64, colourise!
The use of color markers is nice.
@sehe Wrap it all into an anonymous namespace for optimal performance :)
@StackedCrooked Yup. I used that the other day (see the 'verbose' version)
01:30
How do I go about finding out the code for functions? For instance is std::getline(...) a function that basically runs getchar() until the delimiter is reached? Or do the exception handlers use 'goto'?
@TriHard8 Can you ask a more unclear question?
Most of the time I would say "in the documentation"
@TriHard8 Also, no, std::getline doesn't call getchar repeatably.
More specifically, where is "in the documentation"? if i wanted to see the code for getline is it public somewhere?
There are 4 circles. None of them touch. Don’t hurt yourself. http://t.co/ugXrsgFGw1
my question was meant to be general, regarding where is this documentation? Just wanted to give an example why I was asking as well.
@TriHard8 You can't see "the source of getline", but, you can see how it's implemented in your C++ standard library implementation (but then, you need to know what compiler you use)
01:36
@TriHard8 not necessarily, though it's likely in the <string> header/indirectly
vs13 pro
Maybe our brains are designed to make mistakes - that's why optical illusions work
@TriHard8 Right-click on the call and then "Go to definition"
although I wonder why?
01:40
@TriHard8 That was the simple approach. The more general approach (applies to any compiler) is: a.) You look up on cppreference the function, see "Defined in header <???> b.) You search this file in your compiler installation directory c.) Once you find this file, you search it, or all the files this file includes, for the definition of your function.
or you have a tag database and just say ^] or ^W^]
They wanted to bring France to its knees; but they made it stand up--12 dead and 66 million injured. https://t.co/j7uLfO5zjR @lesxviezvous_
@milleniumbug Thanks. I just realized the external dependencies folder has everything as well. I should probably spend some time just clicking around in the program.
01:57
yes they do: clang++ and gcc. In fact, I proved that your std::max is not essential and in facts generates the same code. I'll state it again: "Perhaps the trailing paragraph of my answer is essential to your real question? If so, obviously you always need to separate the static member initialization into a separate translation unit" — sehe 15 secs ago
'Always include error messages in posts'. Well.. :
http://stackoverflow.com/questions/27831735/cross-compile-glibc-for-arm-got-undefined-reference-to-aeabi-unwind-cpp-pr0
@sehe: You seem to use a better online compiler that this one. — Hector 1 min ago
you seem to be confusing compilation and linking :) — sehe 19 secs ago
I've reduced my witty comment. Guy has a point. He had reason to assume I tested those
Hana generates unique types with decltype_([]{}).
9
Clever guy.
02:12
Pretty clever
I'm still on level 18.
02:25
> Note: many questions I ask are not real situations I've been or am in, but just questions to see how I'd handle something in the future.
This guy is a genius.
Any bets on whether any butthurt will escalate?
0
Q: Is it just me, or are some of the 1k to 10k rep people hostile to newcmers?

IsaiahIt is quite annoying to go through the hard work of using an on-screen keyboard to type a question to just get 99% negative feedback. From what I've seen, the users with around 300 to 900 rep tend to be the most useful as they don't bash when you're trying your hardest. On the other hand, the peo...

@Mysticial It always does :P
> It is quite annoying to go through the hard work of using an on-screen keyboard to type a question
Top kek
@Mysticial I wanted to adapt the 5 stages of grief to SO rep grinding, but I got bored after 3.
@Borgleader I'm surprised by the lack of comments.
02:35
Same
Now I'm tempted to post a semi-snarky comment that correlation doesn't imply causation.
GirlsMirin is a subreddit about girls admiring people.
So I'm reading a bunch of forum posts about how Haswell will overvolt the CPU if it's running AVX. The result is that code that runs AVX will easily run 20C or so hotter than "normal" code. And overclockers who find themselves stable at X settings still instantly crash or fry their chip when they run anything that has AVX.
So ASUS recommends that you don't run anything with AVX... um...
I guess that explains why my two Haswell chips can't even get within 400 MHz of what everyone else is getting. (everyone is getting 4.5 GHz+)
Because I'm stressing them with my own code - which uses AVX.
Ell
Ell
Wut
My in between row
Not in uze
Wot on ert
Oh rebooting fixed it
Phew
03:16
^ In case you forgot.
(I didn't even know the rules.)
03:44
@Mysticial I read that as 'Haskell' :)
@Mysticial So all you have to do is slow down your code by a factor of 2, and then you'll be able to speed up the clock by almost 10%. Huge win (as long as all you care about is that screen shot showing a the clock speed).
04:28
I have never seen T&&& in someone's code
if you have that many layers of references, you are probably doing something wrong
Hello C++ Boys and girls :P
Ell
Ell
Hi
Most of us are asleep
Yeah , Since Majority are from EU
Ell
Ell
Indeed
Myself included
I'll be sleeping soon
What timezone are you in?
04:43
I'm from Central Asia
Ell
Ell
What time is it for you?
GMT+6
I guess GMT+2 is yours
Ell
Ell
So almost 11amM
Nice calculation :P
Ell
Ell
@ProblemSolver I'm GMT
I think. Im in the uk. I forgot how summer time thing works
It's 04:45 here
04:47
@Ell Oh. I see .. Why did you get up so early? sorry for the dumb question in advance :P
Ell
Ell
@ProblemSolver its fine :p and its not that, I haven't gone to bed yet
I'd just been staying up socialising with friends
But I'm in bed now
@Ell Lol. Ok. I guess in UK a lot places where you can to hang out lol.
Even though I don't know which city you are in :P
Ell
Ell
I'm visiting my brother at uni so we went clubbing for a while
@Ell I see , So I guess the C++ is your interest since you are here. What projects you are working with using C++?
Ell
Ell
Erm Im kind of making a little racing game but that's very intermittent
Im not doing much programming lately
How about you?
04:57
Likewise, I'm just new into Game Developing recently . Currently playing with Unity 3D and unreal engine. It's a huge fun actually. I believe it may become my passion :P
Ell
Ell
I'm using opengl
I'm about to fall azleep thiugh
Nice chatting good night
Developing game from scratch is not that fun actually. I tried to play with OpenGL libraries .. I have to say I F*** it up to create something..
@Ell Yeah, Night :)
05:11
@JerryCoffin I wonder what's gonna happen with AVX512. Instead of people just frying their chips, it sets their house on fire as well.
AVX 1024: the day the world caught fire!
Ever dealt with numbers so big, you had to memoize a tetration function?
I'm computing Ackermann(6, 6) mod 14^8 ;_;
Ackermann(4, 4) took almost no time
Ackermann(5, 5) took 10 seconds
measure twice and cut once - what if you measure twice with 2 different instruments and from different angles but came with different measurements?
whoever said "measure twice and cut once" never worked on a construction site
 
1 hour later…
06:31
I was thinking about a problem and I thought "Why not try some task-based multi-threading" so I googled how to do threading in C++03...
My gosh. Not really sure it is worth it.
VCL has a thread object. I could inherit from that and overload it's Execute() method with the function I want to be threaded. Right. Because that is how I want to do it.
 
1 hour later…
07:36
Morning
-2
Q: C code under performance on Intel Xeon E5-2650

Prapanch NairI have a c code (Open MP parallelized) that takes more than twice as much time to run on an Intel Xeon E5-2650 node (with all 16 cores) as it takes on a desktop with intel i 7 processor. With standard benchmark cases my compute node gives satisfactory performance. I realize this has something to ...

^^ lol, I still remember more than 6 years ago when I started teaching myself multi-threaded programming.
Only did I learn how to properly used a quad-core machine was I allowed to upgrade the machine to 8 cores by adding the second processor.
That sentence is so hard for me to process.
Which?
> Only did I learn how to properly used a quad-core machine was I allowed to upgrade the machine to 8 cores by adding the second processor.
My sentence? Or the one in the question?
Oh
aha
I bought one of those dual-socket motherboards. Initially it started out with 1 CPU and 16GB of ram. A few months later - after I had some working code, I was allowed to fill up the rest of the motherboard. Which meant, adding the 2nd CPU and filling up the rest of the ram slots.
07:47
@StackedCrooked decltype_? Is that a typo or...?
It's not a typo.
decltype([]{}) won't compile
What's that (decltype_)?
If I search it on cppreference it redirects me to decltype
It's a mystery.
I assume it's one of Hana's utilities.
constexpr type_detail::decltype_ decltype_ {}
@sehe no, you said we need to find ways to 'dissipate less energy'... which I think I see what you mean now, but what I meant is that we should do two thing. Try to work out how to reduce the amount of energy that results in heat, and also work on better ways of getting what heat we do produce away from that wafer.
08:33
@thecoshman "the amount of energy that results in heat" which, incidentally, is known as dissipation. And in the grand scheme of things it's not helpful to look at how we can become better at wasting energy (because it will lead to (much) more energy waste, with the continued increase of scale) - indeed if no energy is wasted, no heat is going to have to be transported
@StackedCrooked preemptive compiler compat hack?
@StackedCrooked I should still watch that :|
My recommendation: Grab a friend, find whoever wrote that, and have your friend hold him down (it'll be a him) while you beat him about the head and shoulders with cold spaghetti. — T.J. Crowder 7 mins ago
cold spaghetti is the new horsehead
@sehe note how I didn't say we only need to look at dealing with the heat.
> "no, dissipate better"
Dissipate better is silly target. It can only mean dissipate more. And this is what increases the problem. If you mean transport/re-use heat more efficiently, ok. But "dissipate better" is like saying ... ermmm....
ok maybe: "make locking more efficient" instead of "reduce sharing"
@T.J.Crowder Why is the fact that it will be a "him" of any relevance? Are you being sexist? — Jefffrey 20 secs ago
08:49
@sehe no, I mean being able to draw away more heat from the chips. Yes, no doubt it's better to work out how to reduce the heat produce in the first place, but you don't want to have to throttle your chips just to keep them cool. With better cooling technology, we can push the current hardware further. This is, I need not say, a new idea.
@Jefffrey: It isn't, wish I could edit, and arguably yes I am (misandrist in this case, I believe). I just wrote "hold him down" and did my usual "am I being exclusive here?" and decided that every attitude-laden pack-it-all-in-one-expression jockey I'd ever met was male and threw that in. Shouldn't have. — T.J. Crowder 2 mins ago
:c
Now I feel bad for making the "joke".
I'd love it if C/Gpus produced so little heat that you didn't even need a passive heatsink
@Jefffrey what was the joke?
Also I was tempted to write something like T.J. the second I saw that title
didn't click it tho
3 mins ago, by Jefffrey
@T.J.Crowder Why is the fact that it will be a "him" of any relevance? Are you being sexist? — Jefffrey 20 secs ago
... you know what I mean... not a great big one, just the plate thing the silicon is currently fused to.
08:51
"joke"
@thecoshman What's "C/Gpus"
@Jefffrey ...
It's more of a troll attempt.
@BartekBanachewicz ¬_¬ don't give me that shit.
@thecoshman ?
you know perfectly well I mean processing units in general
08:52
oh god now I see it
I don't.
have you meant "CPUs/GPUs" ?
ooooh
yeah, doing those bad things to acronyms is bad
It would be "C/GPUs"
08:53
@Jefffrey I'll give you that
@thecoshman precisely. Actually, the things are annoyingly imperfect and we've been putting up with it. It's as if we would all still be driving cars with dark clouds billowing out of the exhaust pipe. And we "solved" it by mounting a largish balloon on a trailer and dumping it when we fuel up. We should, in fact, not put up with the pollution
making cooling better isn't going to help the industry/world progress. It's just going to enable the NSA to spy more at the expense of environment. :/
any way, time for work :(
I honestly didn't get it initially.
Here too
I thought it was some misspell of "C/Cplus" or something
08:54
@Jefffrey me neither, though I couldn't care enough
@Jefffrey :)
peeps $(echo -n {CG}PUs), 'kay ?
@sehe fancy
laters
@thecoshman I just came to work
@BartekBanachewicz eewww
there's 3 people here including me because our producers had to go back to our previous office
08:56
you pervert
Also I am pretty sure there's really nothing pervert in "coming to work"
yeah, that would be "coming at work"
who's the perv now, eh
@BartekBanachewicz Something about evolution. I cannot decipher the last two.
@VáclavZeman bad use of statistics and misunderstanding of word "theory"
@VáclavZeman And a claim that you only use 10% of your brain in the last frame.
After the attack on Charlie Hebdo ... A police officer got shot this morning. Sigh
WTF is wrong with people. It's dead fucking simple: don't kill others. How hard can it be?
@Griwes it's not hard unless you add a social control measure that's badly designed, a.k.a. religion
Basically all religions say "if you kill someone, you've done fucked up".
09:14
what they say indirectly is another story though
and what they make people believe they say is a whoooole another story
Well, you don't need religion to have extremists.
not even mentioning the competition of "my religion is better than yours"
Just blame extremists, not religions, and carry on.
@Griwes yes, but religions produce the most extreme extremists
religions do exacerbate the situation I believe
09:15
@BartekBanachewicz Yeah, that's just plain stupid.
although you're right to a certain extent that if you're a nutter you'll kill for any reason and if doing it for your God is the most convenient reason that doesn't matter that much
Yeah.
Mental illness can drive a lone nutter to it. But an organised group needs an extreme motivation – faith, in something like a god or nazism.
I think he made a very valid point here.
Blaming religions which explicitly say "if you kill someone, you are fucked" for killings isn't the smartest thing ever. Just sayin'.
@Griwes admittedly you don't hear about nearly as many christians blowing themselves up
09:18
they also say that you should stone people to death and kill non-believers and spread them with any means.
@BartekBanachewicz That's simply a product of Christianity's age. Go back a few centuries to when they were Islam's current age and you'll find plenty of examples of religious wars.
He made a point, but again - I think that it's the extermists' leaders who need to be blamed, not the ideologies they abuse.
@Puppy Yeah, crusades and inquisition were extremely dumb.
@Griwes The reason that abusing them works is because they're so fucked to begin with. If they did not contain anything about killing nonbelievers and spreading themselves to everybody then they would not be abusable.
what you suggest is akin to blaming hackers instead of people who write C for security vulnerabilities
FTR ideologies like communism were also abused and ended badly
brb
capitalism has hardly ended well it seems
it's just taken a bit longer than communism to get there
09:20
point being, are the benefits of still using religions to control society good enough compared to the damage caused by extremists
@BartekBanachewicz Isn't that obvious?
and I'm not only talking about blowing yourself up, I'm talking about christianic homophobes in polish Sejm
because, y'know, god forbids you're a homosexual after all. Or maybe you can be one, but then you're basically worse.
Good mourning
which incidentally popped up another idea in my mind
Would you agree that to have an unbiased discussion about religion, you have to be an atheist or an agnostic?
no
09:27
@BartekBanachewicz no. atheist can be biased
@LoïcFaure-Lacroix that's backwards
everyone can be biased towards their own perspective
I'm not saying "all atheists can have unbiased discussions"
I'm saying "only atheists can have unbiased discussions"
well agnostic might not be much biased as they do not have opinion or perspective
which is a subset of atheists that can have unbiased discussions
09:28
there's no reason to believe that anybody else is more biased towards their own perspective
@Puppy I supposed admitting to faith is admitting to that bias.
after all, you choose a particular belief without any concrete reason other than your own views
(talking about "chosen" believers, not people indoctrinated in their youth)
bartek in theory anyone can have an unbiased disccussion. Yet it will be hard to back up when religion isn't based on facts
@LoïcFaure-Lacroix "unbiased" and "based on facts" are orthogonal, I believe
yeah different things. Then what kind of discussion an atheist and a christian would have? Talking about tomatoes
Well, I specifically mentioned discussions about religion(s). I can see them talking about tomatoes perfectly fine
09:33
well in that case, I'm sure an atheist vs christian would still argue about god that doesn't exist which is a bias per se in my opinion
@Puppy Exactly, Islam and Christianity have switched roles
@Rerito they haven't really switched roles. Islam is just where Christianity was and Christianity is on a further level
@BartekBanachewicz That only directly implies that you have views; not that you can't consider other views.
@LoïcFaure-Lacroix Kind of switched actually. In the middle ages, islamic civilizations were way more tolerant than christian ones (other religions were allowed, the believers paid a tax and werent granted some rights but still ... They could believe what they wanted without being slaughtered)
It's just sad to see the path walked from this "golden age" to today :/
(And how such a few amount of people can fuck up the world)
half the problem is that the Europeans effectively succeeded at the end in colonizing many places, and then promptly destroyed everything there in a couple of giant world wars
09:43
Honestly I wouldn't be too worried about Islam terrorists. You should check statistics on death caused by terrorist acts
right, if 10 people die it's a tragedy. Death of thousands is statistics.
those statistics are only for Western countries.
The war on terrorism started by Bush made a lot more death than terracts
@BartekBanachewicz Being religious doesn't stop you from being able to look at the topic objectively.
consider the statistics in Iraq.
09:45
@Griwes Actually...
@LoïcFaure-Lacroix The worrying fact is not the death toll, it's the cadency of such attacks which is growing (in France anyhow)
@Puppy they aren't only for western
so you mean to tell me that way more people are killed by car crashes in Iraq than by IS?
@LoïcFaure-Lacroix you should, however, be worried about terrorist actions in general.
It's a basic "don't live with broken windows" or "slippery slopes" kind of deal. Cf. corruption: if you "don't worry" about a bit of it, you just send the message that it's a viable way to achieve your goals
Only 3 headlines of Charlie Hebdo made a scandal in these last years. The common point ? They were about islam...
09:51
@Griwes Narrowing "religions" down to selected catch-phrases like that isn't the smartest thing ever, either. Just sayin'
(you're just prompting the opponent to sling back twice the number of quotes that say otherwise; and yes this goes for a good many religions)
> If you meet Buddha in the middle of the road, kill him
eh, this -> decltype(auto) syntax is a bit meh
auto fn (params) is coming in C++14 right?
@chmod711telkitty Excellent. But as with all facts, it's how you slice & dice them:
@BartekBanachewicz It's there in c++14
@sehe Nice one.
right, I forgot C++14 is already there
Grats on your love affair with MSVC :)
09:56
vOv
I was told to hold my horses with C++14 adoption at my company anyway
C++14 achieved so little I don't see why anyone would really hold back from it.
I'm glad enough that I have for (:)
user1804599
lol
@BartekBanachewicz Don't complain I'm stuck with C++98 :(
user1804599
In this paid Wi-Fi hotspot you get a login page.
09:58
@Puppy precisely because MSVC
user1804599
If you just submit the form without any form data you are logged in. Doesn't happen when you submit empty fields, but does when you submit no fields at all.
well, actually I am constrained by MSVC'13 and newest clang now
@rightføld lol
@BartekBanachewicz I don't really see what that has to do either. You just keep upgrading versions as they come out, rather than any explicit horse-holding on your part.
Except i.e. community edition is still at 2013
09:59
@BartekBanachewicz Wait. Are you in favor of loops now? I fought on your side :(
I didn't realize 2015 was out
It's right out!
@rightføld The question is, why did you find out

« first day (1545 days earlier)      last day (3628 days later) »