2,116 karma · joined Aug 14, 2007 (19y ago) · 566 submissions
comment 16y ago · link · parent
PHP is a very pragmatic, simple language with a complex and baroque set of libraries. It's great for hacking together websites, but working with PHP (even for many years) doesn't tend to teach you the kind of technical and aesthetic judgement that differentiates an assembly-line coder from a productive, engaged hacker.
Learning Ruby or Python might be the shortest path to another gig, but it probably won't push you outside your comfort zone far enough to really improve your programming if you stick to the usual Rails/Django garden path. If you want to really push yourself and grow as a developer, learn something completely unrelated to the standard LAMP stack.
Lisp (especially in a modern form like Clojure) is a good choice, as are Smalltalk and Erlang. C++, Java, or C# may let you jump up a pay grade or two, but tend to lead into dead-end "enterprise" coding, unless you're lucky enough to stumble into a top-notch shop that happens to be using them for their efficiency rather than their "manager-approved" status.
Most importantly, I'd suggest actually building something in whatever language(s) you decide to pick up. Reading blog articles and tutorials is all well and good, but it's far more impressive for you to be able to show code and talk from experience about the relative strengths and weaknesses of the languages you've worked with. Even a half-finished side project hosted on GitHub (or hauled into your interview on a personal laptop) will go a lot further than regurgitating buzzwords on demand.
comment 16y ago · link · parent
comment 16y ago · link · parent
Linux may have gained real acceptance as a server OS, but businesses overwhelmingly still prefer Windows on the desktop.
comment 16y ago · link · parent
Also, if you're hiring programmers who can't pick up a new language to work on your project, you're doing it wrong. Most of the capable folks I've worked with loved learning new tech; the problem is usually keeping them from jumping onto a new platform for every project.
comment 16y ago · link · parent
That discipline, coupled with an honest daily status report to my team, effectively ended ~10 years' worth of my own bad coding habits (procrastination, under-estimation, and insistence on clever/perfect/fast solutions where "good enough" was in fact enough) in about a year.
The extra pressure of a YC demo day may help increase your pace in the short term, but you eventually need to learn the discipline to show continual improvement without the pressure of a room full of VCs criticizing your every word.
comment 16y ago · link · parent
I've been involved in a number of searches for developers at much less visible or "sexy" shops, and would say from my experience that screening 80-100 interviews for every position is pretty normal.
comment 16y ago · link · parent
That being said, both #1 and #2 above are plain wrong.
Django template tags are a PITA to write, have weird inconsistencies (largely due to the first issue causing them to be implemented in a very hack-ish way) and don't have access to any request or application state that isn't explicitly added to the template context. Rails template helpers are powerful, easy to write, and ubiquitous. Those properties also make them easy to abuse for functionality that should absolutely be in a model or view function.
South, on the other hand, is powerful, complex, and not part of the Django core. That simple fact immediately makes is less useful. Any Rails developer (and by extension, any Rails codebase) will be familiar with AR migrations. No extra dependencies, training, or versioning issues to worry about.
I mostly agree with #3, though I definitely still find some funky edge cases with Django form validation. They aren't a terribly gently introduction to the "Right Way" of doing form handling for someone more comfortable with HTML than Python, either.
comment 16y ago · link · parent
This is where you need a smart, ambitious CEO with a strong vision. They place the goalposts so that everyone can measure their own progress and contribution, as well as that of their group. It also gives investors and shareholders something on which to evaluate the company other than simple financials.
comment 16y ago · link · parent
http://docs.djangoproject.com/en/dev/ref/contrib/sites/
Second, you could define a database backend per customer (using the Django 1.2 multi-DB support) and write a custom database router that is aware of your custom FastCGI environment variables:
http://docs.djangoproject.com/en/dev/topics/db/multi-db/
Third (and best, IMHO) would be to run separate FastCGI processes for each customer, and route appropriately from Nginx. This approach is obviously the most complex setup, but it has the major advantage of letting you run every customer's FCGI backend under a different user id, offering yet another level of protection against data leakage and other security issues.
comment 16y ago · link · parent
I think this might suggest an additional criteria for extra code review scrutiny in systems (like CouchDB) that are built in functional langages: any code that "feels" stateful or procedural should probably be examined with additional care, as it is the most likely to contain exactly this classic sort of stateful logic error.
comment 16y ago · link · parent
The Droid does have a physical keyboard, but after owning both a G1 and a Palm Pre, I don't really trust any sliding keyboard mechanism to not get crunchy and/or loose after a few months' use.
comment 16y ago · link · parent
(Of course, if the code on a candidate's GitHub page or blog is terrible, that tells you something too...)
comment 16y ago · link · parent
comment 16y ago · link · parent
Sadly, this means I'll probably be canceling my NY Times subscription next month, as the free iPad app offers enough content to make the $20/month Kindle-only sub pretty unappealing.
comment 16y ago · link · parent
It's hard enough to run tests on the legitimate Android configurations active on the market. Trying to account for homebrew setups like Cyanogen would be a recipe for lots of pain and effort with very little payoff.
comment 16y ago · link · parent
I'm not trying to downplay the importance of Smalltalk to DabbleDB, but it was just one piece of the puzzle. The same "use the right tool for the problem" attitude seems to be increasingly pervading Twitter these days, which I think has helped as much as anything else in their improved stability and scale over the last year or so.
comment 16y ago · link · parent
Regardless, I have a lot of respect for the Smallthought guys. Their presence at Twitter HQ does only good things for my opinion of their business and technical direction.
201.
Ask HN: QA testing for Agile teams
1 points · by rcoder · 16y ago · 1 comment
comment 16y ago · link · parent
If the background listeners/workers are heavily resource-constrained and subjected to limited API access, you might be able to maintain most of the battery life and performance advantages of the current single-task model, while still allowing apps to perform some amount of background processing. Any "heavy lifting" involving a full app UI, the GPU, or outbound network access could still require user confirmation and a task swtich.
comment 16y ago · link · parent
comment 16y ago · link · parent
comment 16y ago · link · parent
http://portland.craigslist.org/clc/eng/1651760592.html
http://portland.craigslist.org/clc/eng/1651753399.html
We're launching 2-3 new substantial web projects this year, and need some great hackers to help us.
We're based in Milwaukie, OR -- just a couple of minutes south of Portland. On-site strongly preferred, but c'mon, you know you've been wanting to move to Portland anyway...
comment 16y ago · link · parent
Where Yelp has allegedly crossed a line is in manipulating the user-generated reviews of a site according to whether they pay for advertising, while claiming that no manual intervention is happening.
The truth is likely more murky than either party's depiction, of course; I wouldn't be at all surprised to hear that their "automated filter" does take the "ad partner" status of a business into account when deciding how many reviews to flag for moderation or removal.
Of course, you're right to suggest that at a certain level, Yelp can do whatever they want. They just shouldn't misrepresent what you're buying with your ad dollars.
comment 16y ago · link · parent
How exactly would you propose cramming a usable Python runtime into a download that was substantially less than 1.5 MB in size? On the OS X 10.5 box I'm sitting at right now, the 'libpython2.6.a' static library from my source build of Python 2.6 is over 6 MB. The actual 'python' binary is nearly 2 MB, and stripped of all debugging symbols, still comes in at about 1.4 MB.
If you had some really good compression, and included only a small part of the standard library, I can see getting a CPython package in around the 2-3 MB mark, but not much more.
comment 16y ago · link · parent
Going down to the metal may help squeeze the last 10-20% out of your hardware, but the the really interesting and challenging work in coming up with a scalable hosting platform is elsewhere: security, monitoring, process spawning/reaping, deployment, et. al. If working in Python gives you a time-to-market advantage, then go for it. You can hire a C hacker when you have enough business to make the improvement in your hardware utilization efficiency pay off.
comment 16y ago · link · parent
Clever? Insane? Horribly un-portable and prone to breakage depending on compiler, libc, and OS versions? All of the above!
(And yes, I have seen this coding style used in multiple projects at a major corporation. It was a favorite of a coder-turned manager, which means it tended to sneak in on any project he supervised.)