« first day (2799 days earlier)      last day (2132 days later) » 

1:08 AM
lazy macbook - I left it on overnight to update xcode, came back this morning, and still 15 minutes to go ...
Lazy ass went to sleep as soon as I did.
 
 
5 hours later…
5:59 AM
Looking back @ some of my old apps, the graphics I have made was not as terrible as I imaged them to be ...
This is one of them.
 
 
2 hours later…
8:12 AM
Morning
 
Its 3:00 am, remotely connect to a work computer, have one hour to setup a new vendor's camera. Will I make it?
 
nwp
Probably not since you are chatting.
 
4am conference or client's overseas?
 
I have one trick up my sleeve, I don't test any of my code.
Also, these jokers implemented a thread class called "qthread" but its not Qt
 
8:41 AM
it’s a flipped pthread
5
 
🤔
 
8:58 AM
Macbook has black screen (in power saving mode) and the music is still playing on my app in the simulator ... @_@
 
9:14 AM
Welp. Ended with a page fault in a non paged area. Can't remotely reboot.
 
 
3 hours later…
12:43 PM
How do we know IDEs have not been designed to torture software developers/programmers?
I mean whoever were designing them had tens of years to make them better. But nope, still many unnecessary manual labour needed to port large working projects and get them to work.
 
maybe that's more the fault of the build system
because there is no unified way of describing how to build something it's very hard to get portable IDE projects
 
@ratchetfreak unless the build system and the compiler are integrated this will always be the case. Even then I'd expect some language fork that does it differently because it's somehow 'better'
 
Hi there.
Does C++ have any sort of concurrent map in any version?
 
no
(lol, what did you expect, features? :P )
 
12:58 PM
@milleniumbug lol, I do not know. I was expecting something since it has rw mutex now.
Or as they call it shared_mutex.
 
no thread-safe containers whatsoever so far
have fun
 
often thread-safe containers are not the answer
 
@ratchetfreak I have this dude complaining about contention: github.com/log4cplus/log4cplus/issues/316
Well, TBB has things. But that would be too big dependency.
 
nwp
folly probably has something too.
 
@wilx why not make it a template parameter that defaults to standard mutex?
let them supply their own mutex
 
1:12 PM
@Mgetz That would make no sense since to leverage the shared_mutex shared access you have to use a different locking mechanism/function. Also, I am not sure adding a template parameter to the class just for a mutex makes any sense.
 
@wilx I was just brainstorming I could have sworn shared_mutex implemented the lockable concept
 
you'd need 2 lockables, one for read and one for write
by default you use the same one std::mutex, but they can supply their own
 
looks like you'd have to use std::shared_lock too
 
@Mgetz Yes.
 
making it a policy is probably silly unless the rest of your code is templated too
 
 
2 hours later…
3:18 PM
 
 
1 hour later…
4:21 PM
Hi guys. I've recently gotten an interest into Game Development and I want to learn C++. I'm currently studying IT so I already have experience in programming. I had a C++ course a few years ago, but I would like to start from scratch. What book would you guys recommend for someone with programming experience?
 
nwp
@Zahand One of those.
 
 
3 hours later…
7:10 PM
Did anybody learn to program from books? Pretty sure the guy should be reading something like intro to Unity3D
 
I did
 
Which one on that list?
 
 
1 hour later…
8:34 PM
@Mikhail for myself: a lot of Scott Meyers, some Herb Sutter and Andrei Alexandrescu
 
 
2 hours later…
10:29 PM
I probably shouldn't be asking this since if there's one person here who knows the answer, it would probably be myself:
6
If the CPU predicts two branches in (both mispredictions), is it possible for it to recover from the 2nd branch before it recovers from the 1st branch?
IOW, if I make the 1st branch dependent on a long cache miss. But I make the 2nd branch dependent on something you know immediately.
If the answer to this question is yes, it is possible to make the 2nd branch recover before the 1st, then AVX Spectre is probably real and exploitable.
 

« first day (2799 days earlier)      last day (2132 days later) »