That guy can still run in the olympics with any other set of prosthetic legs but this one. It was just deemed that these gave him too much of an unfair advantage.
525 karma · joined March 28, 2007
That guy can still run in the olympics with any other set of prosthetic legs but this one. It was just deemed that these gave him too much of an unfair advantage.
Having a social life is pretty much the best counterbalance to a career in software development. If you don't have one, you're doing it wrong.
http://weblog.jamisbuck.org/2006/10/18/skinny-controller-fat...
I've pastied an example of how this approach should help.
http://rafb.net/p/P4YMM359.html (Pastie.caboo.se is down now for some reason, so this is good enough for now)
Generally, the only major issue I see throughout is the repeated Fueling.find(:all) calls. Not only will that hit up the database quite a bit (Rails 2.0's query caching would help a little, but that's beside the point), but it would take up a crazy amount of memory once you get a lot of fuelings in the system.
Keep at it!
I've also tried a Joyent accelerator, and wasn't very happy with it.
The main market is traveling salesmen and businessmen who are away from home for extended periods of time. If you're in China 3 weeks every quarter, for instance, a service like this is immensely valuable. But it became obvious to us that it was a niche product, and while cool, wouldn't really fly. And it is definitely not worth a $13.3 million investment.
You're fundamentally mistaken. The technology is 1%. Execution is 99%. You need to stop being so obsessed over technology and focus on the execution of the technology. Build great stuff on top of Comet and it won't matter what mindshare it has or whether PG has heard of it or not.
The end point is that businesses, whether Web 1.0, Web 2.0, or what have you, need both a good idea and to have it be executed well. Trying to believe that the business is immune to those laws just because it is executed over the Internet is asinine. The people who found these companies and the people who invest in them will get burned.
And they should. And it will be good for the industry.
If you really want the "automatic blah blah blah" approach, you can always use fcgi with Apache. Many people do (including 37signals).
That is exactly how page caching in Rails works, and has been implemented for two years. It seems like Django's idea of "page caching" is equivalent to Rails' "action caching".
I seriously hate gloating, but Rails' page caching has been around for two years. I must be mistaken.
edit: After browsing the Django documentation, it appears that I'm right. While you can store the output of a view in the filesystem (or memcached, or whatever), cached hits still need to go through the framework to get dispatched. This appears to be the first way to skip the framework (aside from Squid or similar), which is what Rails' page caching does.
Page caching creates the cached page on the first request, and dishes out the cached output until it is swept (after a new create/update/delete). This seems like the "no duh" approach. The Django "standard" way of setting a timed expiration seems silly and inflexible.
Turning off syntax coloring on the active line definitely makes the problem easier. Wish I would have thought of that. Strange how you can spend days on a problem but never think of the "easy" solution.
But the point is that just because it was a bad idea, doesn't mean Koz is categorically a bad developer, or that he's any of the things that Zed called him. I heard him talk at RailsConf, and I have to admit that he sounded kind of like an egotist, but didn't actually know how to code all that well. But do I call him a fat fucker? No. That's taking it a little too far.
Before he wrote mongrel, it seemed like he had a pretty decent working situation. After he wrote mongrel, he was jobless and nearly homeless for an extended period if time.
That just doesn't sit right with me as being truthful. How can a person, who is otherwise a qualified developer, write one of the most well-known pieces of the Rails infrastructure, but suddenly be jobless? I wrote a shitty weather app and got 3 gig offers within a day. How can you be a household name within the Rails community and not have a job?
By being an arrogant asshole? By demanding outrageous fees? By demanding outrageous control over projects? All three?
(This is Erik Peterson. We met at ATL Startup Weekend. Damned Internet handles. Using your name is a good idea, huh?)
Doing geolocation would be sweet. I'll try it out.
I have a table that has the lat/long of zip codes so that I can find the closest observation station.
Edit: If I can't find the zip, I'll default to that state's center. So even invalid zip codes like 12345 will "work"- in this case, it'll go to around Schenectady.
It took me about a day. It is written in Rails. It contains about 100 lines of application code.
So instead I'm reading, walking ~10 miles a day and generally doing things that I've neglected for the past 2 years.
namespace :deploy do
desc "Custom stop task"
task :stop, :roles => :web do
#My custom "stop" command
end
end(as a side note, does anyone know how to do code formatting on here?)
2) I think from what you're saying- it is deploying correctly, but you're confused as to why it is asking for your password three times? This is common, and I think it is a bug with Subversion. I deploy using svn+ssh as well and get the same thing. If I remember correctly, you only have to enter in your password correctly for the first one, and can just hit enter through the other 2. Alternatively, you can make sure you have your SSH keys set up correctly.