vi global addressing

published on 2005-10-20 in computing

Something I found very useful today:

ITworld.com - Search and replace with vi -- part 1

There is another form of line addressing called global addressing. It is similar to the % (all lines) address, but allows you to limit the search and replace action by specifying certain text that must appear in a line before the search and replace action is applied to it. An example is show below. The syntax shown below would read "for all lines containing `some text', search for `search text' and replace any instances with `replacement text.'"

:g/some text/s/search text/replacement text/

In effect, you are requesting that two strings must be found in a line, but only one of them is to be replaced.

Web 2.0: 4 Layer Philosophy

published on 2005-10-20 in computing

Good article on 4 layer philosophy in "Web2.0" design.

from http://particletree.com/features/4-layers-of-separation/


Thanks to a lot of progressive education, web developers are starting to regularly practice three layers of separation (structural, presentational, and behavioral) in their projects and applications. Loosely assigned, XHTML builds the structure, CSS defines the presentation and JavaScript (for the most part) creates the behavior. This code segregation allows developers to create web applications that are organized, maintainable and reusable.

I believe, however, that a fourth layer of separation is being neglected: the data layer. This layer is represented by server side scripts that process and retrieve information from a data source. More often than not, we find this layer embedded messily into the structural layer. When the goal is to build modular architectures that are flexible and adaptable, combining structure and data processing is, in the long run, going to be very costly conceptual mistake. Through the use of a very promising XML technology, XSLT, we can free our data processing and retrieval logic from our display and structural logic completely and build web applications that are easier to understand and faster to iterate.
</i>

Collections: Zim and Calvin & Hobbes

published on 2005-10-11 in uncategorized

Both have been finally released:

Invader ZIM - House Box Complete Set (Vols. 1-3 Plus Extra Disc)

Yes YEEEESS! The complete Zim collection is finally MIIIIINEE!! Now I have the resources to bring DOOM to the DOOMED souls that stand in my path of DOOM!

Ahem. I ordered this already. The cool part about it is that if you already own the other DVD's you can just order the box with the extra disk. So many publishers come out with a collection once all the DVD's are out that I waited. Guess I didn't need to. Super cool.

The Complete Calvin and Hobbes is also here. Finally. I've been so confused trying to collect them, they're not numbered and there is a lot of redundancy with the other collection books out there. 3 paperback (archive quality?) volumes of every C&H comic ever made, each with a number so you know what and when you're reading.

But if you don't want to buy this and instead want each book individually (probably better for casual reading), here they are in order:

  1. 'Calvin and Hobbes'
  2. 'Something Under the Bed Is Drooling'
  3. 'Yukon Ho!'
  4. 'Weirdos From Another Planet!'
  5. 'The Revenge Of The Baby-Sat'
  6. 'Scientific Progress Goes 'Boink': A Calvin and Hobbes Collection'
  7. 'Attack Of The Deranged Mutant Killer Monster Snow Goons'
  8. 'The Days are Just Packed: A Calvin and Hobbes Collection'
  9. 'Homicidal Psycho Jungle Cat: A Calvin and Hobbes Collection'
  10. 'There's Treasure Everywhere--A Calvin and Hobbes Collection'
  11. 'It's A Magical World: A Calvin and Hobbes Collection'

I'll probably order Calvin later or maybe put it on my xmas list. (Tracy, you reading this?) ;)

Google Reader

published on 2005-10-07 in computing

http://www.google.com/reader

Super cool. I've been using Gregarious (web based RSS reader) for a while, and will probably continue to do so. But for the average user, this is going to be the tool to use to do RSS feeds. The biggest problem with RSS feeds for me was that I had 6 different places I might look at them. And even OMPL syncing wasn't up to snuff. Different clients, differnet machines, just a PITA. Anyway, check it out, it's worthy. Web 2.0 yay!

Banana's are great

published on 2005-09-20 in uncategorized

I love banana's. I drink a banana flavored breakfast drink every day. I say that oranges are my favorite fruit but really, I eat a lot more banana's than oranges. So does the average american. The apple takes a distant second to banana's as the most popular fruit. The banana that we see in the supermarket may be going extinct:

Can This Fruit Be Saved? - Popular Science: > That sameness is the banana's paradox. After 15,000 years of human cultivation, the banana is too perfect, lacking the genetic diversity that is key to species health. What can ail one banana can ail all. A fungus or bacterial disease that infects one plantation could march around the globe and destroy millions of bunches, leaving supermarket shelves empty. A neat article. Definatly worth a read. Another clip:

Bananas have always been a technology incubator. Because they're a time-sensitive product—they need to be harvested green, then delivered to market just at ripening time—systems had to be developed to bring precision to the picking and shipping processes. Leonel Castillo, a banana-production consultant who grew up in Chiquita's corporate compound near the city of San Pedro Sula, on Honduras’s northern coast, explains that the old way was “to wait until you could see the ship coming over the horizon toward port.” Then banana workers would engage in frantic nonstop harvesting and rush the crop to the boats. Chiquita engineers developed the first radio networks in the tropics as a way to bypass this antiquated system. The fruit’s popularity also led to the development of ripening rooms whose controlled environment can slow or speed the way picked fruit ages; refrigerated steamships; and early precursors to bar-coding that allowed each bunch to be tracked by field, plantation, originating country and shipping container.

More from wikipedia: http://en.wikipedia.org/wiki/Banana

more quakes

published on 2005-09-03 in uncategorized

Info for event ci14181056

Another quake, a 3.9. There have been a lot lately.

Cricket Chirps to Temperature

published on 2005-08-16 in science

"To convert cricket chirps to degrees Fahrenheit, count number of chirps in 14 seconds then add 40 to get temperature. "

The Old Farmers Almanacis so cool.

Today is Moon Day

published on 2005-07-21 in uncategorized

Moon 1st Try

Look up at the moon tonight and think about a few hundred footprints, left 36 years ago today by a few good men.

Retirement of the CTRVAX

published on 2005-07-15 in computing

VAX6000 Series
Advertizement So the first internet connected computer system I ever used has been retired. "CTRVAX" was a VAX6000 series machine that served as one of the primary computing resources for Vanderbilt University in the late 80's and early 90's. I think the year that I used it was 1992 or 1993, I don't quite remember. My mom, a teacher, was taking a computer training course at Vanderbilt/Peabody. I tagged along with my mom as the little kid that was super into computers. After asking me a few basic computer questions, a kind admin saw it fit to grant me an account as well...'hubbarn' was the username. My mom's was 'hubbarf'.

I don't remember a lot about the class...I was too busy playing around with stuff they weren't teaching. I think they were teaching e-mail...which I had of course already mastered on my local BBS. At the time however, I didn't have real internet access at home, instead relying on AOL and 'The Nashville Exchange', a local internet connected BBS...so this was a new and exciting world for me. I immediatly found the 'Remote Hosts' and 'Internet' menus and started playing with NNTP and remote BBS's. I tried to get onto other servers but couldn't really figure out what was going on and ended up looking for files with Archie. I remember using 'Gopher' and 'FTP', which I thought was pretty neat. This was before the 'web' so that was about as close to you could get to what most people today think of when they hear 'internet'. I remember downloading the Anarchists Cookbook, which I already had downloaded from a local BBS at home, but it was neat to do it over the 'Net. I think it was stored in my CTRVAX account...hopefully for a suprized admin to find when they cleaned my account. After the few hours were over, we left and I was hooked. I convinced my parents that the internet was the future.

Anyway, kinda sad to see the CRTVAX go...but quite remarkable that it was rendering services up until a month ago.

/nostalgia

London and the Social Net

published on 2005-07-09 in uncategorized

First, I would like to say that what has happened in London is a complete tragedy. Whatever s**thead organization that did this needs to be drawn and quartered. Or turned into a glowing hole in the ground. Violence begets violence, whatever.

I am completely amazed at how blogs, flickr, technorati and wikipedia have provided coverage of this event. It's a testament to how well these social systems work. I went to CNN long enough to not be satisfied with the content. I went to Google News, but only got the same Reuters crap. Then I was sent a link for the London bomb pool for Flickr, which showed me pictures of the tragedy and the famous double-decker bus that the media kept mentioning. Which was totally ripped to shreds, horrible. Then I hit up Technorati for 'London' and read Londoner's blogs on the subject, a great number of which had been affected by the event. Then I hit up the Wikipedia article, which was marked as a 'current event - information may change rapidly'. And it was, at a rate of 4.17 edits per minute (2 hour average around lunchtime yesterday). Totally incredible that I got this much coverage without really checking out mainstream news channels. The "blogosphere" has been on my critical systems for communication map for a while, but Flickr just stepped into place along side it.

Back on 9/11, I calmly drove to work that day, talked to my co-workers who were trying to set up cable so we could check out CNN. I browsed Slashdot and found a few links to digital cams and digital pics that New Yorkers had put up of the event. At one point, I found someone who had a big directory of all the images that they had found and more were popping in by the minute. But it was instantly killed by huge amounts of traffic. A mirror popped up, I quickly mirrored it locally and provided everyone at work with the coverage of the event we couldn't get on CNN's site, thru the TV or other 'hub and spoke' style media outlets. If we had Flickr, Technorati and if blogs were more prolific back then, it would have been vasly easier to get the 'news' when we all needed to see it. It's apparent to me now more than ever that the mainstream media will be relied on less and less as enabling software becomes more and more popular.