10,789 karma · joined May 28, 2010 (16y ago) · 6,160 submissions
comment 13y ago · link · parent
I think I'd use a bottomless bean bin that pulls out with a handle. While it's pulled out, it's over a grid that lets water pass through (and ideally makes it clear that any water added is just going to be dumped right on the counter). When it's pushed back in, the beans fall into the actual bean reservoir.
comment 13y ago · link · parent
Your eyes just start to glaze over (or at least mine do).
If you're only ever using one coordinate system, just use thing.x and thing.y or thing.h and thing.v, maybe with a comment that explains that these are in transformed and scaled units. Your eyes will thank you. :-)
comment 13y ago · link · parent
Given that the Ruby code in the gem has full access to the file system with the privileges of whoever is running it, I don't see how this makes things any worse (assuming you're not installing the gems as root or whatever).
comment 13y ago · link · parent
The theory was that if the story was legit, it would be a nice gesture by the course staff. If it wasn't, the student would have some 'splainin' to do at home.
comment 13y ago · link · parent
Compilers have gotten a lot better about warning about these situations, but they're far from perfect. In any case, "produces a compiler warning" and "doesn't produce a compiler warning" isn't "==" behavior.
We won't even go into why having a logical comparison return an integer result is questionable. Yes, it's very convenient sometimes, but it's still an example of the type of "flaw" that he doesn't like in Javascript.
comment 13y ago · link · parent
"C doesn't bungle such basic things as equality checks, for instance."
2.0 == 2?
False.
Most people would consider that a flaw. As programmers we understand that integers and floats are different in the computer, but that's not how it works in math.
"C also doesn't include idiocy like semicolon insertion."
You must really hate the languages that don't use semicolons at all. :-)
comment 13y ago · link · parent
Wow.
Don't get me wrong, C is outstanding in its problem domain, but it certainly has no shortage of rope with which to hang yourself.
"These people also can see how it lacks the language features necessary for large-scale, multi-developer, distributed development, and then the subsequent maintenance of such projects."
The Gmail team might disagree.
comment 13y ago · link · parent
I'd also be interested in alternatives (ideally, Google would fix the AdSense code so it works, but people have been asking for that for a while).
comment 13y ago · link · parent
comment 13y ago · link · parent
Your site will get a lot more traction if you implement that, I think. Most people (even non-techie folks) are suffering from account proliferation.
comment 13y ago · link · parent