Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Joel Spolsky on languages for web programming
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 159 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dido Sevilla  
View profile  
 More options Sep 1 2006, 7:30 am
Newsgroups: comp.lang.ruby
From: "Dido Sevilla" <dido.sevi...@gmail.com>
Date: Fri, 1 Sep 2006 20:30:02 +0900
Local: Fri, Sep 1 2006 7:30 am
Subject: Joel Spolsky on languages for web programming
http://www.joelonsoftware.com/items/2006/09/01.html

Actually, despite the fact that I love Ruby a lot, I'm inclined to
partially agree with him on this. Presently, our company does have
some Rails-based web applications deployed but they're predominantly
applications geared for use by only a few people (internal client use
only); we've not yet tried to deploy a real public-facing web
application based on Rails. For that, it works really well. We're
taking a wait and see attitude before we attempt to use Rails for any
high load applications; my own experiences attempting to optimize
plain Ruby code for performance have been simultaneously frustrating
and rewarding. I doubt I could do the same with a Rails app. So for
now we're gonna stick with PHP for our public facing web applications,
even if it is even worse for i18n/l10n/m17n applications than Ruby
is...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yukihiro Matsumoto  
View profile  
(4 users)  More options Sep 1 2006, 9:00 am
Newsgroups: comp.lang.ruby
From: Yukihiro Matsumoto <m...@ruby-lang.org>
Date: Fri, 1 Sep 2006 22:00:25 +0900
Local: Fri, Sep 1 2006 9:00 am
Subject: Re: Joel Spolsky on languages for web programming
Hi,

In message "Re: Joel Spolsky on languages for web programming"
    on Fri, 1 Sep 2006 20:30:02 +0900, "Dido Sevilla" <dido.sevi...@gmail.com> writes:

|http://www.joelonsoftware.com/items/2006/09/01.html

I am very proud he mentioned Ruby in one of his essays.  Actually, I
agree with his conclusion:

>that's not a safe choice for at least another year or six. that's not
>a safe choice for at least another year or six.

He is a businessman, not a geek, so he does not have to risk himself
using Ruby (and Rails).  It doesn't matter.  He will not pay me
anything even if he choose Ruby.

But we disagree in the middle.

> (1) it displays a stunning antipathy towards Unicode and
> (2) it's known to be slow, so if you become The Next MySpace, you'll
>     be buying 5 times as many boxes as the .NET guy down the hall.

(1) Although we took different path to handle m17n issue from other
    Unicode centric languages, we don't have any "stunning antipathy".
(2) Although Ruby runs slower than other languages in those
    micro-benchmarks, real bottleneck in the most application lies in
    either network connection or databases.  So we don't have to buy 5
    times as many boxes.

                                                        matz.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Conroy  
View profile  
 More options Sep 1 2006, 9:14 am
Newsgroups: comp.lang.ruby
From: "Richard Conroy" <richard.con...@gmail.com>
Date: Fri, 1 Sep 2006 22:14:33 +0900
Local: Fri, Sep 1 2006 9:14 am
Subject: Re: Joel Spolsky on languages for web programming
On 9/1/06, Dido Sevilla <dido.sevi...@gmail.com> wrote:

> http://www.joelonsoftware.com/items/2006/09/01.html

> Actually, despite the fact that I love Ruby a lot, I'm inclined to
> partially agree with him on this.

He is a good writer, and I really like how he cuts through the
rhetoric and is firmly grounded on practical programming matters.

His core point on technology choice is valid:
"How do you decide between C#, Java, PHP, and Python? The only real
difference is which one you know better. If you have a serious Java
guru on your team who has build several large systems successfully
with Java, you're going to be a hell of a lot more successful with
Java than with C#, not because Java is a better language (it's not,
but the differences are too minor to matter) but because he knows it
better. Etc."

His point is valid too if you have a big Rails guru on your team, someone who
has built large successful Rails systems, then you pick a Rails solution.

The performance/scalability of Rails as an enterprise web-fronted system is
continually questioned. People point to Basecamp etc. as examples that Rails can
do it.

But thats missing the point - those systems are successful becuase those
companies have very good, experienced Rails engineers. Rails n00bs would
probably make a lot of mistakes that clash with the framework and
compromise its scalability.

He also has a point about his wait-and-see attitude wrt Rails. Rails development
is moving quickly, and in a year's time the major issues like unicode support,
deployment, support ecosystem (tools, etc.) and performance could be
solved problems.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Chesterfield  
View profile  
(1 user)  More options Sep 1 2006, 9:41 am
Newsgroups: comp.lang.ruby
From: Derek Chesterfield <d...@dsl.pipex.com>
Date: Fri, 1 Sep 2006 22:41:29 +0900
Local: Fri, Sep 1 2006 9:41 am
Subject: Re: Joel Spolsky on languages for web programming
On 1 Sep 2006, at 14:00, Yukihiro Matsumoto wrote:

> Actually, I agree with his conclusion:

>> that's not a safe choice for at least another year or six. that's not
>> a safe choice for at least another year or six.

> He is a businessman, not a geek, so he does not have to risk himself
> using Ruby (and Rails).  It doesn't matter.  He will not pay me
> anything even if he choose Ruby.

In the context of the enterprise, I agree too. But only in the sense  
that 'safe' implies availability of skills, and perhaps tools to some  
extent. IMO, Ruby and Rails are 'safe' in the sense that they have  
longevity, which I think would be the next biggest concern of  
enterprise users.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rimantas Liubertas  
View profile  
 More options Sep 1 2006, 10:07 am
Newsgroups: comp.lang.ruby
From: "Rimantas Liubertas" <riman...@gmail.com>
Date: Fri, 1 Sep 2006 23:07:28 +0900
Local: Fri, Sep 1 2006 10:07 am
Subject: Re: Joel Spolsky on languages for web programming

> In the context of the enterprise, I agree too. But only in the sense
> that 'safe' implies availability of skills, and perhaps tools to some
> extent. IMO, Ruby and Rails are 'safe' in the sense that they have
> longevity, which I think would be the next biggest concern of
> enterprise users.

There is another take on what's risky and what's safe:
http://www.infoq.com/articles/From-Java-to-Ruby--Risk

Regards,
Rimantas
--
http://rimantas.com/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Sanheim  
View profile  
 More options Sep 1 2006, 10:20 am
Newsgroups: comp.lang.ruby
From: "Rob Sanheim" <rsanh...@gmail.com>
Date: Fri, 1 Sep 2006 23:20:32 +0900
Local: Fri, Sep 1 2006 10:20 am
Subject: Re: Joel Spolsky on languages for web programming
On 9/1/06, Dido Sevilla <dido.sevi...@gmail.com> wrote:

> http://www.joelonsoftware.com/items/2006/09/01.html

> Actually, despite the fact that I love Ruby a lot, I'm inclined to
> partially agree with him on this. Presently, our company does have
> some Rails-based web applications deployed but they're predominantly
> applications geared for use by only a few people (internal client use
> only); we've not yet tried to deploy a real public-facing web
> application based on Rails. For that, it works really well. We're
> taking a wait and see attitude before we attempt to use Rails for any
> high load applications; my own experiences attempting to optimize
> plain Ruby code for performance have been simultaneously frustrating
> and rewarding. I doubt I could do the same with a Rails app. So for
> now we're gonna stick with PHP for our public facing web applications,
> even if it is even worse for i18n/l10n/m17n applications than Ruby
> is...

I find it amusing that he says Rails is too risky and new, yadda
yadda, but then he goes on to talk about their in-house language,
"Wasabi":

"Wasabi, a very advanced, functional-programming dialect of Basic with
closures and lambdas and Rails-like active records that can be
compiled down to VBScript, JavaScript, PHP4 or PHP5."

So Rails is too risky, but inventing your own language isn't?  Did
someone say "not invented here" ??

Also, I could see how looking at unicode in Rails could scare large
enterprise apps, but the scaling and slowness thing is just FUD.

- Rob
--
http://www.robsanheim.com
http://www.seekingalpha.com
http://www.ajaxian.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Edward Gray II  
View profile  
 More options Sep 1 2006, 10:28 am
Newsgroups: comp.lang.ruby
From: James Edward Gray II <ja...@grayproductions.net>
Date: Fri, 1 Sep 2006 23:28:09 +0900
Local: Fri, Sep 1 2006 10:28 am
Subject: Re: Joel Spolsky on languages for web programming
On Sep 1, 2006, at 9:20 AM, Rob Sanheim wrote:

> I find it amusing that he says Rails is too risky and new, yadda
> yadda, but then he goes on to talk about their in-house language,
> "Wasabi":

I too found that beyond ironic.

James Edward Gray II


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yukihiro Matsumoto  
View profile  
(1 user)  More options Sep 1 2006, 10:36 am
Newsgroups: comp.lang.ruby
From: Yukihiro Matsumoto <m...@ruby-lang.org>
Date: Fri, 1 Sep 2006 23:36:19 +0900
Local: Fri, Sep 1 2006 10:36 am
Subject: Re: Joel Spolsky on languages for web programming
Hi,

In message "Re: Joel Spolsky on languages for web programming"
    on Fri, 1 Sep 2006 23:28:09 +0900, James Edward Gray II <ja...@grayproductions.net> writes:

|On Sep 1, 2006, at 9:20 AM, Rob Sanheim wrote:
|
|> I find it amusing that he says Rails is too risky and new, yadda
|> yadda, but then he goes on to talk about their in-house language,
|> "Wasabi":
|
|I too found that beyond ironic.

That indicates that he trusts himself, and not me (Ruby).  And I think
he's right.

                                                        matz.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
khai...@enigo.com  
View profile  
 More options Sep 1 2006, 10:39 am
Newsgroups: comp.lang.ruby
From: khai...@enigo.com
Date: Fri, 1 Sep 2006 23:39:36 +0900
Local: Fri, Sep 1 2006 10:39 am
Subject: Re: Joel Spolsky on languages for web programming

> and rewarding. I doubt I could do the same with a Rails app. So for
> now we're gonna stick with PHP for our public facing web applications,
> even if it is even worse for i18n/l10n/m17n applications than Ruby
> is...

An interesting performance test is to take some task and implement it in
Rails or Nitro or IOWA or Camping or whatever, and then implement it in a
PHP framework with equivalent functionality.

I have done some of this using CakePHP, which is a reasonably good PHP web
development framework, and the results are interesting.  While PHP will
benchmark faster than Ruby for isolated benchmark tasks, when one starts
looking at frameworks with equivalent capabilities, PHP loses that
performance advantage, at least in the limited testing that I have done so
far.

Kirk Haines


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
William Grosso  
View profile  
 More options Sep 1 2006, 10:46 am
Newsgroups: comp.lang.ruby
From: William Grosso <wgro...@wgrosso.com>
Date: Fri, 1 Sep 2006 23:46:48 +0900
Local: Fri, Sep 1 2006 10:46 am
Subject: Re: Joel Spolsky on languages for web programming

Well, to be fair, it's not quite that.

Start with http://www.joelonsoftware.com/articles/FogBugzIII.html --
they had a VBScript app and it needed to be on PHP. So they wrote
a VBScript to PHP compiler.

Good choice, given the market pressures.

Three years later, they've extended that compiler a little in the
direction of a FogBUGZ specific DSL and given it a silly name.

Not particularly surprising, nor particularly relevant to language
debates.

Bill

James Edward Gray II wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Edward Gray II  
View profile  
 More options Sep 1 2006, 10:49 am
Newsgroups: comp.lang.ruby
From: James Edward Gray II <ja...@grayproductions.net>
Date: Fri, 1 Sep 2006 23:49:44 +0900
Local: Fri, Sep 1 2006 10:49 am
Subject: Re: Joel Spolsky on languages for web programming
On Sep 1, 2006, at 9:36 AM, Yukihiro Matsumoto wrote:

Really?  I trust you a lot more than me, at least as far as designing  
languages goes.

James Edward Gray II

P.S.  I've used Spolsky's software and read his books and it just so  
happens that I trust you more than him too.  ;)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Sanheim  
View profile  
 More options Sep 1 2006, 10:52 am
Newsgroups: comp.lang.ruby
From: "Rob Sanheim" <rsanh...@gmail.com>
Date: Fri, 1 Sep 2006 23:52:01 +0900
Local: Fri, Sep 1 2006 10:52 am
Subject: Re: Joel Spolsky on languages for web programming
On 9/1/06, James Edward Gray II <ja...@grayproductions.net> wrote:

> On Sep 1, 2006, at 9:20 AM, Rob Sanheim wrote:

> > I find it amusing that he says Rails is too risky and new, yadda
> > yadda, but then he goes on to talk about their in-house language,
> > "Wasabi":

> I too found that beyond ironic.

> James Edward Gray II

On second though, maybe Joel was just trolling a bit here?  Maybe just
a bit of an in-joke, knowing that the bloggers would go nuts about the
obvious contradiction?

It seems to nutty to be true...
- rob
--
http://www.robsanheim.com
http://www.seekingalpha.com
http://www.ajaxian.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Britt  
View profile  
 More options Sep 1 2006, 10:53 am
Newsgroups: comp.lang.ruby
From: James Britt <james.br...@gmail.com>
Date: Fri, 1 Sep 2006 23:53:24 +0900
Local: Fri, Sep 1 2006 10:53 am
Subject: Re: Joel Spolsky on languages for web programming

Rob Sanheim wrote:

> So Rails is too risky, but inventing your own language isn't?  Did
> someone say "not invented here" ??

Where would be but for Not Invented Here?

--
James Britt

http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - The Journal By & For Rubyists
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com     - Playing with Better Toys


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Berrow  
View profile  
 More options Sep 1 2006, 10:54 am
Newsgroups: comp.lang.ruby
From: Mike Berrow <mberr...@pacbell.net>
Date: Fri, 1 Sep 2006 23:54:27 +0900
Local: Fri, Sep 1 2006 10:54 am
Subject: Re: Joel Spolsky on languages for web programming
It seems to me that Joel has accused us of having too much *fun* with
Ruby and with Rails. Way too much. And we all know that fun can't
possibly go hand in hand with productivity and *real* business.

 -- Mike Berrow

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yukihiro Matsumoto  
View profile  
 More options Sep 1 2006, 11:00 am
Newsgroups: comp.lang.ruby
From: Yukihiro Matsumoto <m...@ruby-lang.org>
Date: Sat, 2 Sep 2006 00:00:51 +0900
Local: Fri, Sep 1 2006 11:00 am
Subject: Re: Joel Spolsky on languages for web programming
Hi,

In message "Re: Joel Spolsky on languages for web programming"
    on Fri, 1 Sep 2006 23:49:44 +0900, James Edward Gray II <ja...@grayproductions.net> writes:

|> That indicates that he trusts himself, and not me (Ruby).  And I think
|> he's right.
|
|Really?  I trust you a lot more than me, at least as far as designing  
|languages goes.

To rephrase, he has right to trust himself than me.  I think I am a
better language designer than him.  But at the same time, I think he
is a better programmer to create enterprisy software.

|P.S.  I've used Spolsky's software and read his books and it just so  
|happens that I trust you more than him too.  ;)

I've read his book, but not used his software, so that I may not be
the right person to judge him.

                                                        matz.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Conroy  
View profile  
 More options Sep 1 2006, 11:44 am
Newsgroups: comp.lang.ruby
From: "Richard Conroy" <richard.con...@gmail.com>
Date: Sat, 2 Sep 2006 00:44:36 +0900
Local: Fri, Sep 1 2006 11:44 am
Subject: Re: Joel Spolsky on languages for web programming
On 9/1/06, Rob Sanheim <rsanh...@gmail.com> wrote:

> I find it amusing that he says Rails is too risky and new, yadda
> yadda, but then he goes on to talk about their in-house language,
> "Wasabi":
> So Rails is too risky, but inventing your own language isn't?  Did
> someone say "not invented here" ??

Yes, *Joel* did. He makes quite a strong case for it:
"in defense of not-invented-here syndrome"
http://www.joelonsoftware.com/articles/fog0000000007.html

> Also, I could see how looking at unicode in Rails could scare large
> enterprise apps, but the scaling and slowness thing is just FUD.

The unicode issue is scary to an enterprise mindset, where having
a valid unicode mechanism that is 'non-unicode centric' still qualifies
as 'unicode antipathy'. The enterprise mindset has become happy
with the fact that unicode support is one of those things that they
don't have to think about in the languages/frameworks they favour.

The scaling/slowness thing though I can kind of understand (the
concern that is). I get
the feeling that Rails performs properly when you stick to the promoted
model, but if you deviate from it (processing too much, rather than
using the stack properly) you can choke your performance. Other
languages are probably more forgiving in this respect.

Don't forget the original context of Joels post: "Which web technology
would you bet your company on" (and by implication you house &
savings and whatever other assets you have used to get capital)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Kellett  
View profile  
 More options Sep 1 2006, 12:08 pm
Newsgroups: comp.lang.ruby
From: Stephen Kellett <sn...@objmedia.demon.co.uk>
Date: Fri, 1 Sep 2006 17:08:55 +0100
Local: Fri, Sep 1 2006 12:08 pm
Subject: Re: Joel Spolsky on languages for web programming
In message <44F8494F.7080...@gmail.com>, James Britt
<james.br...@gmail.com> writes

>Where would be but for Not Invented Here?

Paying homage to Doug Englebart rather than Steve Jobs.

Stephen
--
Stephen Kellett
Object Media Limited    http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Harper  
View profile  
 More options Sep 1 2006, 1:05 pm
Newsgroups: comp.lang.ruby
From: Ben Harper <rogo...@gmail.com>
Date: Sat, 2 Sep 2006 02:05:54 +0900
Local: Fri, Sep 1 2006 1:05 pm
Subject: Re: Joel Spolsky on languages for web programming
I suspect the 'fun' thing is a bit of a stab at the frequency of the
word 'fun', as well as the 'programmer happiness' thing in Ruby and/or
Rails evangelism. I myself don't like such terms too much when used to
describe what I do.
I love my work, and some of it now involves ruby, but 'fun', in written
english, has connotations that perhaps do not suit the way myself and
like-minded people describe how we feel about our work. I would use it
in conversation, but I would not use it in a banner advertising my
working environment.

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
M. Edward (Ed) Borasky  
View profile  
 More options Sep 1 2006, 2:00 pm
Newsgroups: comp.lang.ruby
From: "M. Edward (Ed) Borasky" <zn...@cesmail.net>
Date: Sat, 2 Sep 2006 03:00:58 +0900
Local: Fri, Sep 1 2006 2:00 pm
Subject: Re: Joel Spolsky on languages for web programming

Yukihiro Matsumoto wrote:
> Hi,
> (2) Although Ruby runs slower than other languages in those
>     micro-benchmarks, real bottleneck in the most application lies in
>     either network connection or databases.  So we don't have to buy 5
>     times as many boxes.

Allow me to rant on what we performance engineers do for a living ... :)

Most web applications I've encountered are not engineered for
performance -- *ever*. There's this little slogan they teach
programmers, which I've heard repeated numerous times on this list:

Beware premature optimization.

As a performance engineer, I don't consider premature optimization a
sin, of course. But leaving that aside, what it translates to is "make
it work, then make it pretty, then deploy it." Once it's deployed, it's
faster to "throw hardware at it" than it is to do the performance
optimization aka performance *re-engineering*.

Incidentally, the person who coined that slogan, Edsger W. Dijkstra,
said also that programming should separate the concerns of correctness
and efficiency. He *never* said to *only* worry about correctness. Part
of the discipline of programming is to pay attention to the efficiency
in equal measure to the correctness. That somehow seems to have been lost.

OK ... on with the rant: :)

1. Those of you who claim to be doing "test-driven development": If
performance testing isn't part of your test-driven development, you
aren't *really* doing test-driven development.

2. Micro-benchmarks are important. A few weeks ago, I ran and profiled a
micro-benchmark on "Matrix", which I posted to the YARV mailing list and
on my RubyForge project page. It's four times as fast in YARV as it is
in Ruby 1.8.5.

Whether it's YARV or some other low-level implementation techniques
really isn't important. What *is* important is that the Ruby "inner
interpreter", to borrow a term from Forth, *must* be as fast as it can
be given the other design constraints like compilers and portability.
The way to achieve this is with profiling on micro-benchmarks.

3. The future of "throw hardware at it" is multi-core processors and
storage array networks (SANs). If you aren't designing your applications
to take advantage of multi-processors, or if you aren't paying attention
to the "lower-level" I/O characteristics of your applications, they're
going to throw hardware at someone else's code.

Speaking of throwing hardware at it, there are ways to know what *kind*
of hardware to throw at it. Learn them. :)

4. An application with a network bottleneck is very often poorly
designed. One of the goals of performance engineering is *minimizing*
the amount of traffic between the client and the server.

Of course, if you're streaming audio, displaying high-definition video,
etc., the network traffic *is* the application, but an on-line banking
application should *not* have to send back more than a couple of
kilobytes to confirm that I've made a payment.

5. Database "bottlenecks": Most of the "industrial strength" databases
-- Oracle, PostgreSQL, MySQL, SQL Server 2005, DB2, etc. -- are
co-optimized with the operating systems and the platform hardware.
They've done their homework; they've done their performance engineering,
profiling and micro-benchmarking.

As good as they are, a poorly engineered database schema can make the
RDBMS work much harder than it needs to, requiring more hardware than is
necessary.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
M. Edward (Ed) Borasky  
View profile  
 More options Sep 1 2006, 2:07 pm
Newsgroups: comp.lang.ruby
From: "M. Edward (Ed) Borasky" <zn...@cesmail.net>
Date: Sat, 2 Sep 2006 03:07:17 +0900
Local: Fri, Sep 1 2006 2:07 pm
Subject: Re: Joel Spolsky on languages for web programming
Ben Harper wrote:
> I suspect the 'fun' thing is a bit of a stab at the frequency of the
> word 'fun', as well as the 'programmer happiness' thing in Ruby and/or
> Rails evangelism. I myself don't like such terms too much when used to
> describe what I do.
> I love my work, and some of it now involves ruby, but 'fun', in written
> english, has connotations that perhaps do not suit the way myself and
> like-minded people describe how we feel about our work. I would use it
> in conversation, but I would not use it in a banner advertising my
> working environment.

Yes ... I do what I do for a living (mostly in Perl and R, not yet Ruby
or Rails) for two reasons: I enjoy doing it and I get paid well for it.
Take away either of those and I'd go job hunting.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
khai...@enigo.com  
View profile  
 More options Sep 1 2006, 5:13 pm
Newsgroups: comp.lang.ruby
From: khai...@enigo.com
Date: Sat, 2 Sep 2006 06:13:09 +0900
Local: Fri, Sep 1 2006 5:13 pm
Subject: Re: Joel Spolsky on languages for web programming
On Sat, 2 Sep 2006, M. Edward (Ed) Borasky wrote:

> 5. Database "bottlenecks": Most of the "industrial strength" databases
> -- Oracle, PostgreSQL, MySQL, SQL Server 2005, DB2, etc. -- are
> co-optimized with the operating systems and the platform hardware.
> They've done their homework; they've done their performance engineering,
> profiling and micro-benchmarking.

> As good as they are, a poorly engineered database schema can make the
> RDBMS work much harder than it needs to, requiring more hardware than is
> necessary.

It is very easy, though, for even simple queries on a simple, optimized
DB schema on a well tuned engine to be the single largest bottleneck for a
dynamic web site or web based application.

Take, for example, a site that I am working on today.

It is dynamically generated using data from a simple db, but it is ok for
there to be a short latency between changes to db data and changes
appearing on the site pages.

Querying everything from the db for every request was netting around 35
pages per second -- a little under 3 hundredths of a second per page
generation.  Changing the code so that it queries no more than twice a
minute, operating off of cached data between queries, dropped the page
generation to around 5 or 6 thousandths of a second -- about 170ish a
second.  For comparison, on my development server I get about 620 page
loads a second from a static version of the content.

The database presents a significant bottleneck that I can fortunately work
around through a little bit of caching.  If, for whatever reason, I could
not employ this caching, that db bottleneck could be a much more
significant issue than any Ruby speed issues.

Kirk Haines

BTW, just for comparison, a version of this content rendered and delivered
through CakePHP on PHP4, with no db data caching, renders about 17 pages
per second.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Squeamizh  
View profile  
 More options Sep 1 2006, 7:06 pm
Newsgroups: comp.lang.ruby
From: "Squeamizh" <sque...@hotmail.com>
Date: 1 Sep 2006 16:06:26 -0700
Local: Fri, Sep 1 2006 7:06 pm
Subject: Re: Joel Spolsky on languages for web programming

James Edward Gray II wrote:

> On Sep 1, 2006, at 9:20 AM, Rob Sanheim wrote:

> > I find it amusing that he says Rails is too risky and new, yadda
> > yadda, but then he goes on to talk about their in-house language,
> > "Wasabi":

> I too found that beyond ironic.

> James Edward Gray II

Do you know what ironic means?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Edward Gray II  
View profile  
 More options Sep 1 2006, 7:25 pm
Newsgroups: comp.lang.ruby
From: James Edward Gray II <ja...@grayproductions.net>
Date: Sat, 2 Sep 2006 08:25:54 +0900
Local: Fri, Sep 1 2006 7:25 pm
Subject: Re: Joel Spolsky on languages for web programming
On Sep 1, 2006, at 6:10 PM, Squeamizh wrote:

> James Edward Gray II wrote:
>> On Sep 1, 2006, at 9:20 AM, Rob Sanheim wrote:

>>> I find it amusing that he says Rails is too risky and new, yadda
>>> yadda, but then he goes on to talk about their in-house language,
>>> "Wasabi":

>> I too found that beyond ironic.

>> James Edward Gray II

> Do you know what ironic means?

ironic |īˈränik| |aɪˌrɑnɪk| |ʌɪˌrɒnɪk|
adjective
using or characterized by irony : his mouth curved into an ironic smile.
• happening in the opposite way to what is expected, and typically  
causing wry amusement because of this : [with clause ] it was ironic  
that now that everybody had plenty of money for food, they couldn't  
obtain it because everything was rationed.

-=-=-=-=-=-

My usages of the term seems OK to me.

Joel bashed Ruby for being unproven, then went on to say that they  
were using a custom language they invented.  By his own definition,  
that is unproven.  That's "happening in the opposite way to what is  
expected" because of his earlier statements and it also causes me  
"wry amusement."

Did this attack on my grammar serve some purpose?

James Edward Gray II


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joel VanderWerf  
View profile  
 More options Sep 1 2006, 7:32 pm
Newsgroups: comp.lang.ruby
From: Joel VanderWerf <vj...@path.berkeley.edu>
Date: Sat, 2 Sep 2006 08:32:24 +0900
Local: Fri, Sep 1 2006 7:32 pm
Subject: Re: Joel Spolsky on languages for web programming

Squeamizh wrote:
> James Edward Gray II wrote:
>> On Sep 1, 2006, at 9:20 AM, Rob Sanheim wrote:

>>> I find it amusing that he says Rails is too risky and new, yadda
>>> yadda, but then he goes on to talk about their in-house language,
>>> "Wasabi":
>> I too found that beyond ironic.

>> James Edward Gray II

> Do you know what ironic means?

After gem install MerriamWebster, ri irony outputs:

3 a  (1) : incongruity between the actual result of a sequence of events
and the normal or expected result  (2) : an event or result marked by
such incongruity b : incongruity between a situation developed in a
drama and the accompanying words or actions that is understood by the
audience but not by the characters in the play -- called also dramatic
irony, tragic irony

In this case, "tragic irony" seems apt.

..Just another Joel

--
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bil Kleb  
View profile  
 More options Sep 1 2006, 8:42 pm
Newsgroups: comp.lang.ruby
From: Bil Kleb <Bil.K...@NASA.gov>
Date: Fri, 01 Sep 2006 20:42:45 -0400
Local: Fri, Sep 1 2006 8:42 pm
Subject: Re: Joel Spolsky on languages for web programming

Joel VanderWerf wrote:

> After gem install MerriamWebster, ri irony outputs:

Dang cool.  I missed that one.  However, I only get:

  Attempting remote installation of 'MerriamWebster'
  ERROR:  While executing gem ... (NoMethodError)
      undefined method `name' for -517611318:Fixnum

on ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.0]

Later,
--
Bil Kleb
http://fun3d.larc.nasa.gov


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 159   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google