153 karma · joined Nov 26, 2008 (18y ago) · 61 submissions
comment 17y ago · link · parent
What is it that fuels fitness freaks? And where can I get some? Not talking about roids or HGH, here. :)
comment 17y ago · link · parent
Side effects from over-doing it are basically mental slowness and a lack of motivation (even this will go away if you just stop for a while). If you start sucking at your job, your suckiness should show up on your performance review and HR should handle you accordingly. Maybe you get fired. This is how an alcoholic would be handled, anyway.
There is way too much fear and over-analysis surrounding this topic. The tools to manage it are already here. Marijuana is already here, and will continue on just fine regardless of whether it is legal or not. Overachievers like Michael Phelps and Barack Obama will smoke marijuana and go on to do great things, just as they always have.
Just legalize it already so we can finally benefit from California's number one cash crop, out in the open, rather than letting the majority of the profits go into the pockets of people who very often do pose a credible threat to society and require insane amounts of tax dollars to manage.
comment 17y ago · link · parent
Looks like InnoDB supports transactions, no? http://dev.mysql.com/doc/refman/5.1/en/innodb-transaction-mo...
comment 17y ago · link · parent
Serious question. I just get the impression that we have different ideas of what this means, and if we could be more definitive, the 'how to' should become obvious.
This is something I struggle with personally, so I'm very interested to see what others say.
comment 17y ago · link · parent
Can anyone speak from experience on this? Talking about mature Rails apps now. Are Rails migrations a help or hindrance in terms of 'app aging'?
comment 17y ago · link · parent
Ideas from the HN crowd?
comment 17y ago · link · parent
I'm pretty sure Larry Ellison is reading this story from his volcano lair about now, just barely holding back his maniacal laughter. :)
comment 17y ago · link · parent
comment 17y ago · link · parent
Here, look at RDoc's features (from the RDoc website):
--Generates structured HTML documentation from Ruby source. --Authomatically extracts class, module, method, and attribute definitions. These can be annonated using inline comments. --Analyzes method visibility. --Handles aliasing. --Uses non-intrusive and implicit markup in the comments. --Readers of the original source needn't know that it is marked up at all.
Or to come at this from a slightly different angle, don't Ruby's introspection powers provide a release valve for the problems the author is talking about?
Anyway, this is just another occasion to state the old adage, "With great power comes great responsibility." You don't have to crapify your Ruby projects if you don't want to. If you need to enforce clarity at all times, I see no better alternative than Python (which I think makes it a better candidate for scientific or math-intensive projects, MRI slowness aside [although I am curious about the implications of genetic algorithms + Ruby introspection]).
I do speculate that if you take two programmers of equal skill levels and give one Python and the other Ruby, the Rubyist can gain a productivity advantage over the Pythonista via judicious use of Ruby hackery. But this comes at a cost: it does require more thoughtfulness before execution. Maybe you don't want to think that hard, and that's a totally legitimate and respectable position. In the end, which of the two languages you choose will probably have more to do with personal workflow preferences or project management ideologies.
In the case of Rails, yes, it hacks in a DSL and extends Ruby classes, but Rails relies heavily on conventions and things being put in designated areas. It's therefore hard to get lost in a Rails project unless you really have no respect for the conventions (in which case, it doesn't matter what language or framework you're using).