Home
Tony Perrie [entries|archive|friends|userinfo]
Tony Perrie

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Blogs Are Like Cereal For Your Mind [Apr. 24th, 2008|08:03 pm]
The Professor of Magic is perhaps the greatest sociological, psychological, and technology luminary of our times. As an astute observer of the human condition, connoisseur of fine wine and spirits, raconteur, and master of the mythical yellow ball, his knowledge of the universe is beyond mortal comprehension. After an hour in the gym today, the endorphin rush inspired him to bestow the following wisdom unto me.


Hoyhoy: I used to think reading blogs was like giving the middle finger to traditional media, but now I'm not so sure.
Professor of Magic: Consider cereal. There's 5,000 brands, and they're all basically food coloring and 90% sugar. Blogs are like cereal for your mind.
Hoyhoy:Facebook is worse. It's turning the Internet into television except instead of preying on boredom and loneliness, it preys on boredom, loneliness, and vanity. Basically, the Jerry Springer Show was the read-only version of Facebook.
Professor of Magic:And, Facebook apps are the equivalent of ringing somebody's doorbell and running away.
Hoyhoy:Good point.
Professor of Magic: Blogs and social networks are just a waypoint to the eventual conclusion of hooking wires directly into everyone's heads as a means of controlling the superfluous population.
Hoyhoy:Not me. I took the blue and red pills simultaneously.

linkpost comment

New Amazon Wishlist [Apr. 14th, 2008|10:51 am]
My old wish list was filled with a bunch of Burt Bacharach CDs and waffle irons. Who needs that rubbish in this day and age? I don't even own a CD player since I ripped all my mp3s back to vinyl. At any rate, the first person to buy me that 24-pack of Kraft Macaroni & Cheese Spiderman Shapes off the list is going to be my personal hero for at least 10 years after I take delivery.

Update: I forgot to make the Wish List public.
linkpost comment

Another OS X Calamity [Jun. 4th, 2007|11:18 am]
In Address Book.app, what does "Print" do? It seems to accomplish nothing for me.
link6 comments|post comment

Setxattr Errors [May. 3rd, 2007|01:25 pm]
So, old hudge was kicking up a helluva fuss about setxattr errors this morning. I was getting the following errors, over and over and over again in my syslog file.
hudge kernel: post_create: setxattr failed, rc=28 (dev=sda1 ino=8339458)
In fact, I got so many of these errors that they filled up my root partition. The full disk caused mysql to stop working altogether, and the corruption of a couple of tables in my wordpress database. Question is, with SELinux disabled on my box, why would I get 50GB worth of setxattr errors?
link2 comments|post comment

RAID5 Woes [Apr. 10th, 2007|11:01 am]
I have been using a Promise SX4000 hardware RAID5 controller under Redhat 9 for just over three years now. It mostly worked, but it's a massive hassle to keep it running. This morning, one of the drives failed and another one was offline. So, I think the entire 750GB array filesystem is toast. Also, the array was running in a 2.6GHz Athlon XP machine with five internal hard disks was quite loud and prone to overheating. So, I've been quietly thinking of decommissioning that box for a while now.

I'm thinking of buying a Mac Mini and attaching one these or buying two 750GB drives and sticking them into a quieter Pentium 4 system that I have laying around not doing much of anything. The only real criteria for the array are that it be quiet and reliable. I'm pretty ignorant of the commodity software and hardware RAID solutions out there these days. I'm leaning towards using RHEL5 or FreeBSD on a Pentium 4 box with RAID1 mirroring perhaps using a 3Ware controller. Does anyone have any opinions?
link9 comments|post comment

So Right [Apr. 4th, 2007|03:53 pm]
link8 comments|post comment

So Wrong [Apr. 3rd, 2007|07:50 pm]
This seems wrong on so many levels. Taken from http://sfbay.craigslist.org/sfc/cpg/305680083.html:

Building a database of info automatically based on subjects that we specify. Anyone who has experience pulling data from RSS sources IE google reader into a XLS spreadsheet or another use-able format.

IE: PROJECT: populate a spreadsheet with keywords and articles related to Special Widgets.

RESULTS SPREADSHEET HAS 2 COLUMNS

KEYWORD ARTICLE TEXT

special widgets special widgets are great. Some features of special...etc (articles will vary in length but fit into the column in the database or XLS)

if you can script something to do this contact us ASAP.

linkpost comment

Adventure with Nicorette [Mar. 6th, 2007|08:43 pm]

The idea of trying Nicorette has always appealed to me. I've never smoked a cigarette in my life, but always wanted to try nicotine gum. For a while in high school, I plotted with one of my delinquent friends to see what would happen if we put nicotine patches all down our arms, chewed Nicorette and smoked three cigarette all at the same time. Nevertheless, due to lack of initiative and courage, this little stunt never came to fruition.


Read on to discover what Nicorette does to a non-smoker )
link4 comments|post comment

The Strangest Computer Calamity Ever [Feb. 21st, 2007|05:38 pm]

One week ago, Sterrance, my Windows desktop computer refused to start. Touching the switch did not result in the comforting fan whirring and hard disk clatter that used to happen. The switch didn't do anything now. In some ways, it was just like the mystery switch in my last apartment at Gables Grandview that performed no action that I could perceive in my own reality.

I found this problem quite peculiar since I built the computer to crazy specifications (solid gold ram sinks, spinners on the caster wheels, coffee can fan exhaust, NOS and massive VTEC stickers ever on every possible flat surface). My first assumption was that an electrical surge must have fried the power supply. This seemed rather implausible because the machine is plugged in to a UPS which is plugged in to a surge protector. Going through the motions, I earnestly took both spare power supplies that I have on hand and tried them both and got no love from Mr. G. While sitting on the floor with the case open, I noticed something rather queer. The LED on the motherboard and the IDE LED on the case stayed on whilst I was unplugging the power supplies. I started to become perplexed, and dare I say, a bit angry. So, I unplugged every possible Molex connector from the original power supply thinking that it must have been holding a charge in a capacitor somewhere. Even after that, the motherboard LED stayed on. The video card is sometimes troublesome and complains about its power adapter not being attached even though it is. Grasping at straws, I unplugged the video card. Still the LEDs shone like the twinkle in my dad's eye on the day I was born.

Thinking I had somehow entered the twilight zone, I then physically unplugged the new and old power supplies from the wall. Still, the LEDs were lit up worse than a fraternity guy at a kegger. In my confusion, I somehow remembered that printed circuit boards hold some parasitic charge in their capacitors. Then, I shorted the "reset" jumper thinking it would clear any possible charge stored in the board. Still, the LEDs were glowing with the intensity of a neutron star. I was starting to get scared and irrational at this point, and I deleted all of the mp3s that comprised The Police's "Ghost in the Machine" album on my iPod. Still, the LEDs were dutifully glowing like my glimmering life gem after I eat a whole pack of Hobnobs. As a last resort, I started unplugging USB peripherals, speakers, a USB Das keyboard, and finally an additional Model M PS/2 keyboard with marked letters on it that Rachel needed because she's afraid to learn how to touch-type.

Eureka! It was the Model M PS/2 keyboard that was somehow injecting a current into the motherboard. So, as I went take the keyboard off the desk to examine it for the presence of gremlins or perhaps small trolls, I realized that the mouse portion of the cable was attached to my Linux machine. It was physically connected to two machines! The Model M PS/2 keyboard has a Trackpoint nipple nestled snugly between the G and H keys that I caress sometimes when I get lonely. To reiterate, the mouse cable for the keyboard was plugged in to the Linux machine that was on, and the keyboard cable was plugged in to my Windows machine which refused to boot. After disconnecting the extra cable and hitting the power switch, Sterrance booted-up like the clappers!

I realize now that it is a bad idea to have peripherals connected to two machines simultaneously unless they are designed for that purpose. I blame this oversight partially on the Electrical Engineering curriculum at Ohio University where it was never explicitly mentioned to _not_ do such a thing and on Rachel for not wanting to learn how to type on a keyboard with no letters.

link1 comment|post comment

Warning to The Chupacabra [Jan. 4th, 2007|11:09 pm]
I am the original author of yesterday's post, but Chupacabra reposted it to his blog unattributed shortly thereafter. If this is not sorted out, the next time I see old boy's Vespa down at Guero's, one of his cherished homies shall meet a most uncerimonious end.
link3 comments|post comment

Five Things You Don't Know About Me [Jan. 3rd, 2007|09:28 pm]
This is the first Internet meme that I have ever done. It's really too self-indulgent to pass-up though.

1.) I ordered a Roast Beef sandwich from Rax in Athens, Ohio while running two revolving amber lights atop my 1991 Dodge Shadow (The original ghetto sled).
2.) When I was two, I was obsessed with light switches and would inexplicably shout "ZAZZLE!" after every heedless on-off cycle.
3.) Every year between the ages 9-14, my parents would buy me a $100 Huffy bicycle and I would immediately proceed to ruin it by constantly attempting BMX tricks and jumping it over a ramp consisting of a piece of plywood resting on a mason block. Eventually, I would bribe younger kids to lie in front of the ramp so I could judge how much airtime I would get. Lengthwise Benjamin Littel and Scotty Clifford plus width-wise Joey Latham was my final record.
4.) I freely exercise my right to juggle at most three pieces of citrus fruit every time I enter a Super Target. Also, I was once reprimanded by a associate there for bowling a cantelope down an aisle to make sure that it would veer left just like a ripe one should.
5.) I seriously thought donut holes really were left over dough from the center of donuts until about six months ago.
link6 comments|post comment

Planet Genius [Dec. 30th, 2006|12:17 am]
Well, The Chupacabra has finally started a new blog. This prompted me to assemble my ragtag assortment of feeds and jigger them into a planet site for easy consumption on rainy days when I run out of milk (e.g. Tuesdays). As a homage to Chupa paying his $30 to Bob, I have named the site Planet Genius. This site combines all of the A-list bloggers that I know personally (Chupa, Nugget, Bumper, Ivo, Decibel, Doppler, and Moonwick) onto one page on the thirty of each hour just like the clappers. Stay tuned for when I RJS those star ratings and an RSS feed to the page.
link3 comments|post comment

The Waking Dream [Nov. 29th, 2006|07:29 pm]
I’ve grown to dislike how we communicate with each other. Every conversation involves one person rationalizing his or her own importance over another. Adults that have graduated from college really identify with the experience. They’ll say, “So-and-so is smart, but he doesn’t have a degree!” In their world, degrees preclude true enlightenment. Developers that use one platform will deify their own system over all the others. You’ll read things like, “Java is for stupid programmers and using it will evaporate your soul!” Another example is the operating system war that was popular in the late-90s where Unix users exclaimed, “WINDOWS IS FOR MORONS!”

Recently, Joel Spolsky wrote a big story about a developer who started his own business and failed miserably. After that, he proceeded to blast Agile Development. Why did Joel do that? Because he’s frightened of people starting competitive businesses with tools that he doesn’t use. Joel raises perfectly valid points about Rails and Agile development. Unfortunately, his criticisms were the same exact ones that Wordperfect had against using C++ in the early 1990s. They believed that the new level of abstraction was unnecessary, and everyone should develop applications in assembly. Wordperfect was 100% correct because compiled applications are slower than ones written in custom assembly. As a result, it is now the fastest word processor that nobody uses. One day in the future, Joel’s software will be made irrelevant by some young punk kid with better code and propaganda. His words and consciousness are designed to mitigate this risk.

Another example of this communication breakdown is on the Internet where people go out looking for evidence that their mass-produced consumer product is vastly superior than another. Some dude sipping on a latte at Starbucks is currently writing a blog post about how his Mac is better than a PC. He vehemently believes this idea and will defend it to the core of his existence because he identifies with owning Apple products. This is what happens when people believe propaganda. This man does not understand that the commercials he watched were rhetoric delivered to increase Apple’s influence. He bought the hype because his fragile grip on reality doesn’t disregard all commercial messages as irrelevant to his life.

Wars on the Internet are similar to the real ones. One group of people think that the way they are is way more kickass than the any other way. “What, you don’t like how I am? Well, I’ll prove that I’m better than you by using violence!” The entire world will then see how powerful you are by way of your own actions. Everyone is doing it. It’s easy and fun!

The waking dream is to realize that everyone is telling a story. Actively avoid defining our own existence in terms of others’ thoughts. Invent your own consumer products and propaganda. Better yet, create your own philosophy and vehemently proselytize it. Philosophies are more exciting than consumer products anyway. After you’ve successfully converted everyone over to the clearly superior philosophy, construct another. That old one was holding you back anyway.

Blanket generalizations are the last refuge of the irrelevant. Michaelangelo never scuttled around exclaiming, “If you buy a Craftsman hammer, you can chisel out a David statue ten times faster than those unenlightened Luddites using Stanley hammers!” His life was a single-minded, frenetic burst of action devoted to his own art. This is the right way to be. Then again, maybe I’m rationalizing that the way Michaelangelo lived was superior than how we are living today.
linkpost comment

Generating MP3 Durations with PHP and DBDO [Nov. 16th, 2006|06:19 pm]
I had to update a MySQL database full of mp3 names with the inherent track, album, and genre metadata. So, I grabbed the Zend mp3 library and sorted it out like the clappers using the DataObjects ORM.

    $m = new DataObjects_Tracks;
    $m->addWhere("filename RLIKE '[.period.]mp3'");
    $m->find();
    while($m->fetch()) {
        $mp3 = new MP3($m->filename);
        $mp3->get_id3();
        $mp3->get_info();
        $m->duration = $mp3->info["length"];
        $m->album = $mp3->info["album"];
        $m->title = $mp3->info["title"];
        $m->update();
    }
If ORMs were automobiles, DB_DataObject would be somewhere between a 1976 Pinto and an Edsel, but it gets the job done OK. The most annoying thing about it is that you have to run php DB/DataObject/createTables.php every time you alter the database. Unfortunately, the more I use DBDO the more it makes me miss the ActiveRecord sauce in the same way a munted man misses his libations. Once you've driven a Porsche, you don't want to go back to the old Rustang.
linkpost comment

Exploiting the Triangle [Nov. 2nd, 2006|10:16 am]
[Tags|]

Well, last night was pretty much the best nuclear taco night ever. I won't attribute any of these, but here are some of the highlights.

"If it wasn't for the plow, Britney Spears wouldn't even exist!"
"The town crier was mass media in the 1700s!"
"Britney Spears and Shakespeare are the same thing."
"There are no self-made men."
"British MPs gave me a T-Shirt that said 'Fort Niagra 1814' when I was in Belize, and I didn't know why it was so funny."
"One time I'd like to come here and have Cow do most of the talking"
"My daddy dropped me on my head as an infant. That's why I couldn't take the FE."
"I DIDN'T EVEN STUDY FOR THE FE AND I GOT A 95%!"
"It's not exploitation, it's a symbiotic relationship!"
"You need to learn to exploit the triangle. It has always existed."
"GET OUT OF MY HOUSE!"
"You have to have deceit in your heart before you can sense it in others."
link1 comment|post comment

Randoword.sh [Oct. 30th, 2006|12:33 pm]
[Tags|, ]

I've had variations of this script kicking around in my .bash_history for quite some time now. The first version of it merely printed a random word from my dictionary file at a rate of one per second. This served as a source of inspiration/entropy for irc conversations and Flickr titles. Today, I decided to extend this one-liner to generate eight-words-at-a-time at a variable rate and jigger the output into an irssi process to amuse the good netizens. Here is the implementation for randoword.sh.


#!/bin/sh
i=0 
while true; do 
  let i=$i+1
  dictionary="/usr/share/dict/linux.words"
  dl=($(wc -l $dictionary))
  echo -n "randowords #$i: "
  for j in $( seq 1 8 ); do 
    head -n$(($(head -c4 /dev/urandom | od -An -tu4) % $dl))\
    $dictionary| tail -n1
  done | xargs
  sleep $((RANDOM % 3600))
done

Update: I never really understood how to use random numbers within a bash script without invoking perl (or equivalent). In light of [info]_fool's comment, I rewrote my script using only bash and POSIX commands. I had to break-out /dev/urandom and od because bash's $RANDOM variable only produces random values up to 32767. Technically, it'd be a whole lot faster for a C program to use a pointer to jump around randomly in the dictionary, but that seems too much like work.

Update 2: The seq command probably isn't POSIX.

Update 3: In Ruby: ruby -e ' $w=STDIN.readlines; 8.times{print "#{$w[rand(483523)].chomp} "}' < /usr/share/dict/linux.words

link13 comments|post comment

New Versions of the Web [Oct. 20th, 2006|05:19 pm]
[Tags|]

I wish I could could claim this as my own, but this one comes from infamous footballer, Gabriel Jones. This is what we in the business refer to as "pure genius".

Web 2.0 --- you know it, you got it --> basically junk

Web 3.5 --- all 5 senses enabled via appropriate tech software and hardware

Web 4.0 --- all 5 senses enabled to viewer, plus virtual intimacy (with bouncer present of course)

Web 6.0 --- 6 senses enabled to viewer, plus virtual intimacy (no bouncer present) and ability to see dead people

linkpost comment

Cinnamon Toast Equations [Oct. 6th, 2006|12:36 pm]
[Tags|]

Infamous civil engineering juggernaut Jeremy Ghent sent this one to me o'er the Intarweb.

Variables:
A = Roommate 1
B = Roommate 2
C = Neighborly Fellow
D = Sugar
E = Bread
F = Milk
G = Cinnamon
H = Messy Sugary-Cinnamony Outline

'A' enters residence of 'C'. 'A' complains that 'B' is eating his food. 'A' is certain because he keeps cleaning up 'H'. And 'B' has never purchased 'D', 'E', or 'G'. 'A' proceeds to complain that his 'F' is nearly empty and 'A' has not had any all week -> 'B' must be consuming 'A's 'D','E','F',and 'G' and leaving 'H' for 'A' to clean up. 'A' leaves residence of 'C' and proceeds to residence of 'A' + 'B'. 147 sec later 'B' enters residence of 'C'. 'B' states "Man 'A' is pissed off and I didn't even do anything." 'C' inquires as to the circumstances. 'B' states "'A' just walked in saw me and went to his room and slammed the door. 'C' asks what 'B' was doing at the time 'A' entered. 'B' responds " Nothing I was just standing there eating cinnamon toast and drinking a glass of milk." 'C' just shrugs shoulders and contains violent laughter.

Please solve for 'B' (Hint: 'B' likes to call dogs cats, is known to play drums, is generally noisy, has recently taken a liking to artificial water foul and apparently has the occasional hankering for Sugary-Cinnamony Goodness)

linkpost comment

The Ascent of Man [Sep. 24th, 2006|07:31 pm]
[Tags|]

In 1973, Jacob Bronowski produced a marvelous thirteen episode programme for the BBC called "The Ascent of Man". In this series, Jacob travels around the world and investigates the great scientific minds and discoveries that have shaped the evolution of human society. Jacob chronicles the history and context of human understanding of the natural world and exploration of the universe. The beauty of this series is that it puts the entire history of scientific knowledge into perspective with great clarity and detail. Bronowski follows in the footsteps of Sir Kenneth Clark's thirteen part Civilisation which aired on BBC 2 in 1969. This format was also followed by James Burke's Connections, David Attenborough's Life on Earth and Carl Sagan's Cosmos.

It's an absolute tragedy that all of these documentaries aren't recommended viewing in public schools. I feel extremely sad about the fact that I wasn't aware that any of these programs existed until last month. It's amazing to me how important media like this is discarded in favor of the schlock that is regularly viewed by Americans on broadcast television. If you haven't seen any of these series, I'd highly recommend all of them.

link2 comments|post comment

Quitting IBM [Sep. 15th, 2006|11:33 pm]
[Tags|]

I resigned from IBM on Tuesday, September 12th to work at a startup-company in downtown Austin called Small World Labs. I've gone from working on microprocessors to writing social networking software. Social networking software runs on a microprocessor. It's not that different when you think about it. PHP is interpreted by a C program which was interpreted by a compiler to run on a microprocessor. So, it's all the same. I'm just a machine to turn coffee into code. Caffeine is my programming fuel. Step back away from the Sun Type-6 keyboard kids and let the old man have a go. Ah, that's nice. Now where did I put my copy of K&R?
link3 comments|post comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]

Advertisement