581 karma · joined May 16, 2011
Twitter: @kevin_london Blog: https://www.kevinlondon.com
[1]: http://smartbear.com/smartbear/media/pdfs/wp-cc-11-best-prac...
My code has bugs and flaws too! That's why I like code reviews, they give me an opportunity to see my blind spots.
Sometimes it can be helpful to split up a method to be called once if it helps readability, for example if it helps split up a loop or abstracts the specific way we get a value.
Couple questions for you. How do you go about choosing which metrics go into a grade when designing the work sample test? Should the process of grading it be completely automated, so as to eliminate bias? What's the ideal length of time for a work sample test, in your experience?
I'm a little confused by this page though: http://mtford.co.uk/silk/request/1907/profiling/. Why is wrapped_target listed so many times for a single blog post query? Is there a hierarchy to the profile calls that's not shown? Oh, does it go deepest level to highest level calls?
Fraud would be problematic and difficult identify specific people. Another worry would be people misunderstanding the ballot or clicking the wrong thing or multiple submissions. I'm just glad, at the moment, that I can register online. That's a good start.
I tend to think of deployment as a challenging thing too but the more I discuss it the less I think of it as a mystery. Thank you for sharing.
Thanks for the amendment to the comparison. In a sense, an ORM can still have ongoing "costs" as it tends to run a little slower and require more processing, so it might require additional hardware eventually as the scale goes up. Maybe I'm belaboring the analogy too much at that point.
I think the key argument for Heroku is that it enables you to delay (sometimes indefinitely) learning the skills required to deploy a production application and managing it. In some cases, such as security, it can be a real bear to keep up with the latest developments in addition to managing the application itself.
Ultimately, I view Heroku as similar to an ORM. With an ORM, it will get you most of the way most of the time, but there's some instances where it starts to make sense to dig into the raw SQL below it and get the performance you want.
I'm working through some of CPU overhead issues with Django now and wishing occasionally that I had chosen to use Sqlalchemy as my primary database tool. Django seemed like the easier solution at the time because of the steep learning curve of Sqlalchemy. I think it's worth learning, especially now that I've hit some edges in Django's ORM. I suppose it's good to know I can always use a crazy hybrid of the two libraries if needed.
I disagree with one of the points the author makes. Here's a quote: "And yet, here we are, in a country with no peasants. (We also don’t depend on peasants in other countries – the US is a big food exporter, not importer.)"
In one sense, that's true. The number of farmers has gone down dramatically with the advent of technology but there's still around 3-4 million migrant / seasonal workers in the US [1] that act as modern day peasants. If you expand the definition of peasant beyond farm hands, it could include things such as low-paid workers in China or the working poor in the US. This particular point doesn't ring true with me.
[1] - www.ncfh.org/docs/fs-Migrant%20Demographics.pdf