class Hello {
def get() {
"Hello, world!"
}
}
I would prefer to see this and then let someone have a routing config somewhere else if they want to move the /hello endpoint.316 karma · joined June 12, 2009
class Hello {
def get() {
"Hello, world!"
}
}
I would prefer to see this and then let someone have a routing config somewhere else if they want to move the /hello endpoint.Aside from using the phone to make calls, of course.
I don't mean to glorify USENET. The web based forums brought many cool new features -- you could post images that worked reliably, the Slashdot-style moderation stuff was a big boon, etc. I just meant to point out that the internet moves in cycles, and those cycles seem to lead towards newer technology and more centralized control.
In the 90s, USENET was lively and active. It was federated, decentralized, and you could use any client you wanted to access the information. Web based forums came along and shifted that control away from the loose internet and into the owners of the forums.
If they want to improve receipts, why should they stop making the movies that make the most money? You might not like sequels and comic books, but apparently most people do.
http://www.the-numbers.com/interactive/newsStory.php?newsID=...
I think it is very interesting that the specific test produced in the original post is actually faster under Rails 3 and Ruby 1.9.2 than it is under Rails 2 and 1.8.7.
My only grief with you, fauigerzigerk, is that you claim the Rails team doesn't "give a shit about performance", when the performance problems seem to be related to people using an older version of Ruby. I think you are making an extraordinary claim -- that the rails team doesn't "give a shit", in in fact, they clear do give a shit.
Except that exception handling is so fast in 1.9.2 that it made this change a performance optimization in 1.9.2. Look lower in this topic for benchmarks showing that Rails 3 is faster in 1.9.2 than rails2 is under 1.8.7.
>performance-wise it almost certainly will always be slower
Except, it wasn't slower in the Ruby that most people running Rails 3 should be running (1.9.2).
I also point out, again, that they immediately fixed this problem when someone pointed out how slow it was in 1.8.7.
Its easy enough to spout platitudes like "don't use exceptions for flow control", except remember two basic facts about the commit that I linked:
1. It was using exceptions for flow control as an optimization 2. That optimization was indeed faster on 1.9.2
On top of that, when the rails team was notified about how bad this "optimization" was in 1.8.7, they immediately fixed it.
I just don't see how any of this fits into "don't give a shit about performance".
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/...
What was originally a performance optimization on 1.9.2 caused a terrible slowdown on 1.8.7. It was reported and fixed within two days.
Does that still fit into your "not giving a shit about performance" critique? I think the "real problem" is that there are two major releases of MRI Ruby (not to mention JRuby) that have very different performance characteristics.
It was extremely annoying. The last few times it happened I just didn't play for a while because I didn't want to bother with reauthenticating; that's when I realized that I didn't enjoy the game that much any more and cancelled my account.
Of course its also possible that you just got lucky and Heroku came back up for you when you redeployed. Could be a coincidence.
http://www.nytimes.com/imagepages/2010/03/01/business/01eboo...
So $4 out of the $26 I pay for a hardcover book goes to the person who is actually responsible for the content? I submit paying $22 in rent is ridiculous, and as long as something like this holds true, thepiratebay looks pretty good.
I buy a lot of ebooks in the $10 range, and I would buy even more in the $5 range -- especially if the $5 went to the person who actually wrote the book.
I think this is a natural extension of the work programmers do these days. We don't spend a lot of time trying to figure out a better compression algorithm, but we sure spend a lot of time trying to figure out why some third party tool is throwing an error after upgrading some other third party tool.
If 1.9.2 really made every HTTP request go 2x as fast, don't you think every Ruby shop would have switched to 1.9.2 at least a year ago?
1.9.2 is much faster for calculating Fibonacci numbers, sure, but since webapps are mostly IO bound it just doesn't matter.
If I was a small/startup, I would happily give over some percentage -- possibly even 30% -- of my revenue to Apple in order to avoid building my own payment system. The App store is really nice, and if they want to compete on the merits of the store, then that's great.
But Apple isn't doing that. They are using the power of their marketshare to force publishers into paying a 30% tithe to Apple just to put an application on the device. It doesn't matter if you are Amazon or the New York Times and already have your own subscription system -- you have to eat the 30% cut.
That's what bothers me about this. If Apple wants to compete by providing a more cost effective point of sale system, then that's great; everyone wins. But they are abusing a monopoly position to force publishers into their system, and in that game, Apple is the only winner.
I'm just saying, I'm not Amazon. I'm a content company that sells content to users in print form, and on the web (primarily on the web these days). Customers can only get to my content if they subscribe. Most of them get to that content via our website. Pretend I'm the Wall Street Journal (but I'm not).
I'd like to make a IOS app to allow my users to get to their extremely expensive content in a native application, but now that I have to pay a 30% tithe to Apple, I won't do that. Now I'll make a web based version which will suck more, and we'll let that ride until Apple pulls that out from under us too.
Anyway, Apple clearly wants this to apply to XaaS, where X = anything and S = subscription. Or by this time next year, Xaa$.
I'm not sure what "open alternative" you are referring to. My website -- built on "open" everything, other than the subscription cost -- is doing fine. I would like to provide a native IOS app to access that content. But I can't accept a 30% revenue cut.
I've been reading through some of this HBGary stuff, and I have come to the conclusion that Aaron Barr is kinda a dipshit.
Read the email analysis at http://www.wired.com/threatlevel/2011/02/spy/ and its filled with Aaron Barr "hacking" into people's facebook accounts and then posting pictures of their kids as if he made some awesome discovery.