Ran across this blog post which was confused about how .NET’s Math.Round does rounding (especially back in 1.x). Specifically, when the number happens to be x.5 (1.5, 2.5, 3.5, etc.) it rounds to the nearest even number.
A couple things to note:
1) This behavior has been in previous languages (for instance, VBScript, which obviously has some age on it)
2) Even outside of other languages, the method has been around for awhile - it’s called banker’s rounding
Bookmarks added by del.icio.us user jmanning between January 22, 2006 and January 28, 2006
BradA did a post for progress in a console window awhile back with a
I added a Thread.Sleep in the Main loop (so you can actually see it) and took out the ctor for the spinner class (it was useless, might as well let the compiler generate the ctor if it’s going to only do that). It keeps an index into an array of chars now instead of a switch statement, so it’ll be easier to change which characters you want to use for your particular spinner (the comments on his blog post show others have their own preferences).
class
Programpublic void
Turn()Bookmarks added by del.icio.us user jmanning between January 15, 2006 and January 21, 2006
Because Suzanne said so. Or, well, to be more accurate, because it really was the right change to make.
23:43 [ d2d_zZzz] why the hell is Assembly.LoadWithPartialName flagged as obsolete?
23:49 [ Flav] d2d_zZzz: http://blogs.msdn.com/suzcook/archive/2003/05/30/57159.aspx
It’s exactly the kind of problem where your first thought is the wrong one - initially partial loading looks like a real time-and-effort saver and helps ease development and deployment issues. The path to Dll Hell is paved with API’s with good intentions, after all.
For awhile, I’ve been annoyed that this
I’ve been checking the entries at the Wordpress 1.5 theme competition blog using their theme browser. My requirement was something that used the full (or close to the full) width of the browser and scaled relatively well with varying widths.
I haven’t made a “final” decision as of yet, but here are the ones that made the “must scale with width” cut and the relative score I gave them (descending).
Any thoughts? Any convincing “here’s why fixed really is the right choice” sage advice? (outside of ideal line length arguments, which I’m already familiar with.
The Federal Reserve (hey, it turns out it’s more than just Alan Greenspan!) has put up a decent overview/primer/tutorial on our friend the
What You Should Know About Home Equity Lines of Credit
Much like Clark, they let you know at least one stark fact:
When you open a home equity line, the transaction puts your home at risk.
They also have another, very similar, page that’s a little less on the informative side and a little more on the warning side: When Your Home Is On the Line
This “home equity loan refinancing” site is interesting insofar as it considers refi for the home equity loan. I’ve refi’d my mortgage already, but I can’t personally imagine that it’d be worth doing a refi on a home equity loan unless the balance was very significant, given the closing (and other) costs.
The more I think about it, the home equity line of credit really is the right match, at least for my current context. Maybe if I had to send Sarah to Harvard and knew there was a $100k+ expense coming up, I could see needing the loan, but that’s no time soon :)
[powered by WordPress.]
jour·nal n. A personal record of occurrences, experiences, and reflections kept on a regular basis; a diary.
95. We are waking up and linking to each other. We are watching. But we are not waiting.
— The Cluetrain Manifesto
25 queries. 1.365 seconds