525 karma · joined March 28, 2007
I'll tune in to broadcast TV to occasionally watch Jeopardy while eating dinner, or to catch a new episode of House (pretty much the only show I watch regularly).
I doubt HotOrNot has much more than the brand name and domain, as far as assets are concerned.
RAM is by far the biggest bottleneck for me.
Overall, Slicehost is great. I just wish they'd include more RAM in their plans.
My idea of a complex web application is one that simply cannot be done on the desktop. I'm making one and I don't even include any Javascript libraries. AJAX != Complexity.
If it is RAM, you'd be better off getting fewer servers with more RAM on each.
If it is CPU, you'd be better off trying some software configuration options before scaling horizontally.
If it is bandwidth, you'd be better off getting a server with a fatter pipe.
Glad to hear there's a market for it.
Ruby's current version is 1.8.6, while 1.9 is nearing an official release and 2.0 is still very experimental at this point.
Rails' current version is 2.0.2, but the last release on the 1.x branch was 1.2.6.
I'm going to assume that you meant Rails 1.2.x versus Rails 2.x. Yes, there are a lot of advantages. Mainly though, there aren't really any disadvantages- there's no reason not to use Rails 2.0.
An OS X dashboard widget would be very useful, as well.
Domain tasting will be alive and well until ICANN puts a stop to it.
-AR find works fine for me, in most cases, in those cases you can always fall back directly to SQL (has happened a total of two times for me). The guy very incorrectly states that the :group stuff will choke in Postgres. It does not. There is a separate driver for each database that will make the queries compliant with the specific DB.
-When using joins, you're supposed to use :include, or has_and_belongs_to_many. These are NOT read only, and work very very well. He's complaining that something he is doing the wrong way does not work. That is because he is doing it wrong, and it isn't SUPPOSED to work.
-I agree with his point about understanding Rails and the options hashes. At this point, I really wish that Ruby had named arguments, as the options workaround gets really annoying.
-I don't understand what he means by quality assurance. Rails has an incredibly large automated testing suite. I've been using Rails for two years and I've found one bug. I really just have no idea what he's trying to get at.
-On the last point, about the "big-picture", he is provably false. If you've written a Rails app and there is even ONE XSS injection opportunity, you've done it wrong. Spend two seconds in the API docs and you will find this function called "sanitize":: http://api.rubyonrails.org/classes/ActionView/Helpers/Saniti...
It helps if you read the fucking documentation before you criticize something.
One decent machine running 10 mongrels on a reasonably well-designed Rails app will easily be able to handle 100 requests per second. That is more traffic than you will ever get, I guarantee you.
2) Because it is very easy to implement an idea in a day and see if it sticks. More than that, when you're faced with a task that might not have much reward, it is easier to do if it doesn't feel like work. Programming in PHP/Java/C#/etc generally feels like work. Programming in Ruby generally feels like fun.
Aside from that, I listen to a lot of Of Montreal, other indie pop, some electronic and movie soundtracks (There Will Be Blood and The Fountain OSTs are both great).
def merge(a, b)
c = []
c << (a[0] > b[0] ? b.shift : a.shift) until a.empty? || b.empty?
return c+a+b
end
def mergesort(a)
a.size <= 1 ? a : merge(mergesort(a.slice!(0,a.size/2)),mergesort(a))
end
Language Power > Language SpeedI only backup code and documents though. For other things it might not be such a great solution.