mstum (@mstum) profile picture
Joined May 2008
Photo by mstum (@mstum)Photo by mstum (@mstum)Photo by mstum (@mstum)Photo by mstum (@mstum)Photo by mstum (@mstum)Photo by mstum (@mstum)Photo by mstum (@mstum)Photo by mstum (@mstum)Photo by mstum (@mstum)
Oh you poor, naive child.
15
81
5
718
Eye drops are technically blinker fluid
2
7
Interesting that Interlocked.CompareExchange doesn't support booleans. I wonder how bool is implemented in .net and if it could have magically been treated as an int. That's what I did now, have a private int and a public bool that checks if _privInt == 1.
5
1
Based on a suggestion here, I threw together this gist. Need to test it in an actual multi-threaded environment. gist.github.com/mstum/c351da…
1
One of the least believable aspects of Science Fiction is that the ship's computer warning messages are always concise and helpful. "Coolant leak detected" instead of "Sensor ENTMPF1 has been outside threshold for the past 5 minutes" between 600 other downstream failure logs.
1
6
Replying to @mstum
In VB bool true represented as -1, because it allows using the same ops for bitwise and logic operations In asm (at least for the 8086), equality is tested by jumping if subtracted value is 0/non-0. That's why I think most languages also picked 0/non-0 to differentiate bools
1
1
When you are Shielding, I study the Blade.
1
Those are some motivational instructions!
Yoshi's Crafted World releases soon - I wonder if Yoshi will declare the income from the game on his taxes next year?
1
One nice thing about replacing CFL with LED Light Bulbs is that I no longer have to figure out where I can dispose them. (Do NOT throw CFL Bulbs in the trash, they contain Mercury and are toxic)
2
1
(the same goes for Li-Ion Laptop batteries BTW, they are also not meant to be thrown in the trash.)
I had some doubts at first, but the PS put me at ease that this is totally legit.
1
4