The Artima Developer Community
Sponsored Link

Java Buzz Forum
Re: Linux's Curse

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
Re: Linux's Curse Posted: Jul 23, 2004 7:56 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Brian McCallister.
Original Post: Re: Linux's Curse
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

Adrian Sutton comments on Preston Gralla's comments on linux on the desktop. They both miss the point though, I think. The native linux user interface is bash. Gnome, KDE, WindowMaker, Ice, etc are candy to make it easier to see several instances of bash and vim (or even emacs) at once.

This is important. The greatest component and software reuse idiom ever realized is Unix pipes. The pipeline is probably the most successful and used design idiom in the world, in and out of software or hardware. The native linux user interface is all about the pipeline:

find blosxom/entries -name '*.txt' | xargs head -n 1 | egrep -v '==' | sort 

Took 5 seconds (up from 2 because I forgot head was helpful when you gave it multiple files and tells you which file you are looking at) and gives me the alphabetical list of all my blog entry titles.

find blosxom/entries -name '*.txt' | xargs head -n 1 | egrep -v '==' | sort | grep -i ojb

now gives me the ones with (case-insensitive) "ojb" in the title. Note that I didn't type the line in again, I just used:

!find | grep -i ojb

same thing =)

ssh -L9000:localhost:9000 brianm@apache.org -t ssh -L9000:blog.skife.org:80 mccallister@kasparov.skife.org 

And I just set up an http proxy on my local machine, routing through apache.org, routing through kasparov.skife.org, to (eventually) my blog. This seems silly, until you need to do such silly things as talk to services across half a dozen NAT's, or access CVS through half a dozen NAT's, or as happened recently, conveniently access a local website from a variety of hosts in order to figure out why it is timing out for some people, but not others (dns issue it turned out) scattered around the world.

Admittedly, I am using OS X, not linux. If your budget allows, I think OS X blows away any linux distro around for a workstation, but if it doesn't, linux blows away Windows. The native linux UI (bash) has been steadily evolved for thirty years to maximize the productivity of people using it. The standard Windows UI (explorer) has been steadily evolved for twelve (?) years to minimize the number of support calls.

Read: Re: Linux's Curse

Topic: Native Java Continuations Previous Topic   Next Topic Topic: No expects the language inquisition

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use