206 karma · joined Jan 15, 2011 (15y ago) · 153 submissions
comment 12y ago · link · parent
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.
ThrowOnError throw_on_error;
std::cout << libfoo_create_widgets(1, &c1, throw_on_error) << libfoo_create_widgets(2, &c2, throw_on_error);comment 12y ago · link · parent
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.
comment 12y ago · link · parent
comment 12y ago · link · parent
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).
comment 12y ago · link · parent
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?
comment 13y ago · link · parent
(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).
comment 13y ago · link · parent
Chapul (Chaco Bar) ingredients:
* Dates
* Peanuts
* Toasted Oats
* Chocolate Chips
* Walnuts
* Agave Nectar
* Cricket Flour
* Gryllus
* Flax Seed Meal
* Salt
Exo (Cacao Nut) ingredients: * Raw Almonds
* Dates
* Coconut
* Honey
* Cricket Flour
* Raw Cacao Nibs
* Raw Cacao Powder
* Vanilla Extract
* Sea Saltcomment 13y ago · link · parent
What is the market for desktop CPUs where the desktop buyers don't also have dedicated video cards which can do a almost a magnitude better job than the APU?
comment 13y ago · link · parent
comment 13y ago · link · parent
Apparently the security hole was that you just needed to provide the email and birthdate to the tech support, then they'd go ahead and reset your info.
At least there's no way to transfer the goods onto another account like there is on Steam (yet).
The worst part about all this is when you ask the tech support how your password got reset, they always say it's your fault (you got a virus, keylogger, etc) and never that it's theirs (social engineering, database lost, etc). Guess you gotta keep face.
comment 13y ago · link · parent
For example..
Positives:
* Person is a go getter, gets things done, doesn't get blocked
* Person is meticulous, pays careful attention to detail
* Person is a good communicator, articulating explanations eloquently
Negatives: * Person stumbles around an incorrect solution until hints are given
* Person jumps to conclusion without considering the bigger picture (or the edge cases)
* Person doesn't seem to get it, or at least can't explain himself/herself well
---------And this can then be inferred from the technical "coding" question, or in more traditional companies they will ask direct questions (usually known as "behavioral" questions) that focus on just those personality traits.
To give a particular example, at Amazon the "culture fit" of a candidate is how well they adhere to the company's leadership principles:
comment 14y ago · link · parent
The question is, how will they balance a hardcore gaming community which hates paying to get better (stats-wise) items vs monetizing F2P? Will they charge only for cosmetic items, or will they drive away their core Dota fanbase?
comment 14y ago · link · parent
Even if it's not true, shouldn't Google pushing for the GPU drivers to be fixed? This is a pretty obvious huge flaw [that has been pretty much solved on Desktop].
comment 15y ago · link · parent
Hopefully they're at least using some kind of compiler analysis to only use the same lock across transactions if it's touching the same memory addresses (pessimistically of course)?