I read somewhere in the last two days their last quarter sales were somewhere around 10,500 units. So 55,000 would in line with that quarterly production rate.
It's like the author knew it was a bad idea too (he put noexcept(false) on the destructor; without which in C++11 the program terminates immediately when an exception is thrown from destructor).
If there's some way to avoid terminating when there's a double exception in the destructor, that would be good to hear!
One simple way I can think of is to reuse the same variable instead.
This will not work, as `throw_on_error` is not going to be destroyed at the end of the printing statement. Sure, you could wrap the whole thing up into a local scope, but as this trick was invented to save a couple of lines of vertical space, the usefulness of doing it seems little.
In particular, the fact that it's using inline asm directly (for cpuid, ud2, some others). Maybe with 'as' but that's not exactly pure bash (and I suspect not embedding it in C would need a non-trivial main function anyway).
Reading an arbitrary memory address (for the cpuid scans) might be a bit tricky too, though it could be doable with /proc/$PID/mem.
No. All binary programs access the CPU directly. Only certain instructions require being in a certain "ring" (i.e. access level). The CPUID instruction is non-privileged, meaning you can access it from user space.
It would be a lot easier to get their attention if there was an actual 'adb bugreport' attached to the bug.
There's very little context on what the bug is and how to reproduce it besides some vague references to PressureNET (which means very little to someone who hasn't used that before).
I found this really fun, I tried half the languages there. But why do the lower level languages like C/C++ have actual logic in them (e.g. if/else/||/&& ) while the higher level languages just have module/class definitions?
It's not exactly an apple-to-oranges comparison. Like I just got 100+ wpm in Ruby but what's the point of feeling good about that when it's just typing out a list of symbols over and over again?
This isn't any different from sharing the password with your family members (who you should trust anyway, right?). Why not make it more useful and allow the person you share with to play games from your library at the same time you're playing?
(but different games. if I want to play TF2 and the family member wants to play Dragon Age, I don't see why that shouldn't be possible!)
Heck, you can already play single/multi player games simultaneously just by sharing passwords and using offline mode. Color me unexcited.
Here's even a quick config file change you can make so that your Steam always starts in offline mode and doesn't force-logout the other person already logged in. http://forums.steampowered.com/forums/showthread.php?t=25474... (tried this with my dad and it works great as long as he doesn't need to patch).
Is this a typo, or are they really selling this few cars? Must be the SF bay area bubble, I see a Model S all the time!