« first day (2979 days earlier)      last day (1976 days later) » 

12:16 AM
Not a problem because C++ containers use unsigned numbers
 
 
1 hour later…
1:24 AM
Google CEO tells Congress why Trump comes up in searches for 'idiot'
I mean, must say, trump has been one major source of entertainment for the year 2018.
would like to see more cat fights between media, tech and government
 
 
6 hours later…
6:59 AM
I don't understand how we developers are expected to build stable applications when we are provided unstable IDEs to build the application on.
It's like to be expected to build a strong castle on a pile of sand.
 
 
3 hours later…
nwp
10:07 AM
@TelKitty What IDE feature is required to build a stable application? Or do you mean "stable" as in "doesn't crash"?
 
10:24 AM
You probably don't use xcode and gradle often enough.
 
nwp
Gradle is a package manager, right? I can see how instability there is an issue.
Why is Qt so bad at documentation? "This is the complete list of members for QStringList, including inherited members". Except it's not. There is also .size() and a bunch of others. And I can't find what they named .resize() because the documentation is missing.
I guess it's my fault for using Qt containers in the first place. But this is old code and I was even more stupid than I am now.
 
10:42 AM
78 public functions inherited from QList
That's where size() lives.
 
nwp
Yup. And they should appear in "the complete list of members for QStringList, including inherited members". I guess someone screwed up the documentation generation.
 
nwp
11:31 AM
Of course QFileInfo::owner doesn't return the owner of a file. That would be too easy. Just use a little WinAPI function I thought. It's been a while since I've laid eyes on such a beauty.
Interestingly they got the name of the language right in the URL and wrong in the document.
And it's not just that it has to be valid C, they also forgot the check the return value of LookupAccountSid. I mean that's a dead write that should be caught by tools.
 
11:55 AM
Is anyone around to give me a couple of pointers with optimizing my c++ code?
 
nwp

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
 
Cheers @nwp
 
nwp
12:06 PM
Apparently they didn't forget. It's just that it's expected to fail and report the required buffer size which is then used to allocate a buffer. Not sure why they captured the success value though.
 
 
3 hours later…
2:55 PM
 
 
4 hours later…
6:56 PM
@Mysticial I think intel has their priorities wrong could be wrong myself...
 
 
2 hours later…
8:30 PM
Thoughts on the x32 ABI?
 
8:47 PM
@Mgetz I'm not sure it's completely wrong. If they scale it up and start selling desktop chips with 1 or 2 very fast cores and a bunch of smaller cores, it might work well with stuff like gaming.
 
9:02 PM
@Mysticial Games are starting to get much better multithreading
even old ones like WoW
 
@Mgetz Most of them still have a single event-loop of some sort that bottlenecks on ST.
AFAIK that is.
 
but they are getting better at offloading the processing from that event loop thread
 
9:35 PM
@Mysticial They do, but that's becoming much much less important very very quickly with Vulkan/DX12/Metal
 
So the reason why current generation games are still ST-bound is because they're shit?
 
or they are still targeting opengl
 
@Mysticial legacy code base largely, it takes time to move. AMD is accelerating this by forcing core counts up. 4K and higher player counts are as well, you just can't process that much on a single core. Most people have at least 4 mid range cores, you can easily get the cycles you need if you can break things up. IIRC COD and Battlefield already use at least 4 threads quite a bit.
That's not to say they don't heavily lean on one core... but it's not the locked to 100% it used to be.
 
This sorta reminds of a conversation I had with a coworker while I was an intern at MS.
 
In what sense? The general trend is to more, cheaper and technically slower cores
 
9:44 PM
He was like, "This multi-core thing is bullshit. NOBODY will ever know how to do it. They should stop with this multi-core thing and invest in (some name I don't remember). It can do 50 GHz."
This was back in like 2008-ish.
 
Yeah... lol, P4 prescott had already shipped by then. Leakage current was a monster the higher clock you go.
 
He was sooo pissed off at the Q6600 we had a workstation.
 
I was ecstatic when I built one of those for a desktop around that time, it replaced my Penryn system
 
Q6600 is before Penryn.
Oh you mean the Prescott.
 
my memory must be fuzzy
because Penryn was the first Core2 quad core drop IIRC
 
9:48 PM
That was Kentsfield - Q6600.
 
and no I started in college with a AMD64 system
 
Penryn was 45nm.
 
I should know what I built back then... but I honestly don't remember
I know I had AMD64 venice in my laptop, and the prior gen in my desktop
 
Q6600, the first quad-core was 65nm.
 
I know I replaced that with an intel core2 duo
and then eventually a Q6600
that got replaced with the system behind me under a dust cover which is an i7 in the 6xxx series
and then finally the 2700x
 
10:27 PM
@Mysticial Hes kinda correct, it would certainly be better if we could have 50 GHz. Probably is we can't.
 

« first day (2979 days earlier)      last day (1976 days later) »