@ChrisJesterYoung It's in a non-public room. It's real, although if you could see the message rchern is replying to it would be somewhat less disturbing
The jist is to use Conway as sort of 'programmers scales' (a la Musical scales)
Corey Haines gave a coderetreat at my place of work last week, and ever since then I've been using that particular exercise to improve my ability to write code.
Very, very unsuitable. Use decimal.
double x = 3.65, y = 0.05, z = 3.7;
Console.WriteLine((x + y) == z); // false
(example from Jon's page here - recommended reading ;-p)
I understand it technically, I don't understand it practically :/
If it prints out 3.7 and 3.7, why are they not equal when compared... is it really preserving two different representations yet displaying them the same?
I understand floats, I don't understand why some languages round them when you don't use a formatting function to tell it to round them... if I assign 0.5 to a variable and it can't be represented exactly, and I print that variable, I shouldn't see 0.5
:wonders if there's a way to enforce some currency rounding scheme (as we currently round all prices to 1/100th of a dollar) where all numbers are representable in binary:
@DanGrossman: Sometime I'll write a webapp, where you can paste in arithmetic expressions and it will print you the result, in full precision (like what you saw above).
That way, you know exactly what you're dealing with. ;-)
It's hard to get into any 1960s TV series unless you have nostalgia for it... but the later series are pretty interesting just from a scifi perspective
@YiJiang, I should have done a copy of your page, didn't realise the data would no longer be available. I wanted to try some other metrics to see if I could improve my correlation :)
Looks like I need to add a smidgin of reputation :)
wasn't there some talk of a downloadable pdf with the results in?
Firecane refers to a hypothetical confluence of meteorological and man-made disasters, whereby a hurricane crossing an oil-laden expanse of water generates lightning which ignites the flammable fossil fuel, creating a vortex of fire. A fearful imagining born of recent cataclysms in the Gulf of Mexico, the term has gained currency in New Orleans, the city inundated by Hurricane Katrina in 2005, and which in 2010 was near the site of the Deepwater Horizon oil spill. Lightning strikes from thunderstorms may cause isolated fires, as happened on a drill ship near the spill.
Another proposed sc...
You may know that http://photo.stackexchange.com/ (this site's parent :) has a "Photo of the week" contest.
Here are all the images featured on the homepage from the beginning in cronological order.
4 November 2010
11 November 2010
22 November 2010
29 November 2010
6 December 2010
...
@Benjol Josh wants a better way of doing the election digest thingadongdong - I said that I can create a GM script to pull in data from messages you select and rerender them using your own template
@YiJiang What you should really do is write a script that analyzes the candidate's complete histories to determine their likely answers to the questions and posts them automatically, so we can skip the THCs completely
It's one small step from that to determining who we'd all vote for, and then we don't need elections
Damn it, that's the third time I've hit the meta maintenance page in the last hour. Either it's been down more often or I've been more active than usual
dumb question, possibly too dumb for SO. if I have two ranges a-b and c-d, what's the simplest way to check that they don't overlap and that they are at least 1 [unit] apart?