Author: mark

  • My cat likes the taste of rabbit

    I’ve written about my orange tabby’s adventures before and here’s another….

    It’s 11pm on the east shore of lake Sammamish. I’m coding upstairs and my wife is sewing downstairs. We hear the cat door flick open and then silence. Then Kerry shouts up – hey is Joey chewing a bone up there? Um, no? Oh, because there are crunching sounds coming from somewhere down here.

    So I find my cat in the downstairs bathroom about halfway through eating a rabbit he just caught. Not a mouse that looks like a rabbit or some sort of rabbitygroundhog thing but an actual fully grown bunny rabbit that weighed in at about 2 pounds.

    Now, Kerry’s been vegetarian for 16 years, so she didn’t quite appreciate the heroic effort that must have gone into taking that sucker down. But me? I’m a meat eater. And my cat and I understand that what he achieved tonight is unbelievable. In case you’re wondering, it wasn’t road kill – I’ll spare you the gory details of how I know, suffice it to say it was still warm.

    So I have a newfound respect for the Ziggers. The way I see it, if the shit really hits the fan with the US economy, he can hunt and I’ll cook.

  • Something for Obama fans and for Clinton fans

    If you’re an Obama fan, read this. If you’re a Clinton fan, read the rebuttal here.

  • Putting food in our Fords…

    Update: I noticed on my Feedjit that I got a bunch of visitors from CNN.com today. I think the blogs section below the story linked to this page at some point today.

    Maybe using corn to produce gas for our cars isn’t such a great idea. Check out CNN’s headline today. Personally I’m pro-nuclear power – and ultimately using electricity from nuclear to power our cars. I grew up a few miles from a nuclear power station in South Africa and it was by far the cleanest industrial site around – compared to things like an oil refinery a few miles away that gave many kids down-wind from it asthma attacks. Sure radioactive waste is scary, but only because it doesn’t leave the power plant via a smokestack and go somewhere else so we can pretend it doesn’t exist. France has 59 nuclear reactors and they have so much power that they export it. We’re stuck back in the stone age digging up coal and pumping it into the air to make electricity – that is when our corporations aren’t gaming the power grid and providing rolling blackouts.

    CNN) — Riots from Haiti to Bangladesh to Egypt over the soaring costs of basic foods have brought the issue to a boiling point and catapulted it to the forefront of the world’s attention, the head of an agency focused on global development said Monday.

     

     

    art.bangladesh.afp.gi.jpg

     

    Bangladeshi demonstrators chant slogans against high food prices during weekend protests.

    “This is the world’s big story,” said Jeffrey Sachs, director of Columbia University’s Earth Institute.

    “The finance ministers were in shock, almost in panic this weekend,” he said on CNN’s “American Morning,” in a reference to top economic officials who gathered in Washington. “There are riots all over the world in the poor countries … and, of course, our own poor are feeling it in the United States.”

    World Bank President Robert Zoellick has said the surging costs could mean “seven lost years” in the fight against worldwide poverty.

    “While many are worrying about filling their gas tanks, many others around the world are struggling to fill their stomachs, and it is getting more and more difficult every day,” Zoellick said late last week in a speech opening meetings with finance ministers.

  • Puzzle

    Got this via email today.

    Can you solve this puzzle?


    You are riding on a beautiful white horse.
    On your left side is a drop off.
    On your right side are several ostriches being chased by a lion.
    In front of you are four large gazelles that won’t get out of your way
    and you can’t seem to overtake them.
    Behind you is a stampede of horses.
    What must you do to get out of this highly dangerous situation?
    For the answer click and drag your mouse from star to star.
    * Get your drunk ass off the merry-go-round. *

  • Baidu hearts Obama

    Chinese search engine Baidu.com has Obama on their home page today. Kerry (my wife, in case you’re new here) attended the second democratic caucuses as one of Obama’s delegates a few days ago in Issaquah. There were 36 Obama delegates to Clinton’s 12 – going on to the state caucuses. So WA is definitely Obamaland.

    The NYTimes had an article this morning on how kids are being influential among their parents, some of whom are superdelegates.

    A former Seattle CEO and friend thinks Obama would win among delegates but Clinton would win the popular vote. The last time I was in Houston and I spent time with around 70 members of my extended Texan family at a reunion, we had a few chats about Politics. What I found was that we had a lot of common ground. And I found that it’s not the democrats that Texas republicans hate, it’s the Clintons. There’s just something about Bill, and by association, Hillary, that gets republicans very riled up.

    Can Hilary win the popular vote? No way. The fact that Obama recruits new voters to the caucuses speaks volumes.

    But moving away from the negative…

    The reason I’m an Obama supporter is because he brings people together behind a common cause.

    Hillary’s message is: “I’m an experienced Washington insider who knows how to work the system to your advantage”

    Obama’s message is: “Lets all come together around the common cause of making this country great again.”

    As my wife says, when I walk away from an Obama speech I’m energized and I want to get out and do something to make things better.

  • Troubleshooting

    It’s funny how when you’re troubleshooting a performance issue on your servers that suddenly made the load average spike to 14 (350% with four CPU cores) at 6:30am on a Sunday morning (yay!) all the stats look like garbage until you figure out what it is and then it’s so glaringly obvious that you spend the rest of the day kicking yourself for not seeing it immediately.

    Note to self: Next time make coffee, drink coffee, and only then log on to munin to troubleshoot.

  • The problem with myspace…

    I know this isn’t new but… I joined myspace about a year ago and added one friend because I wanted to check it out. I literally logged in once and never logged in again. It’s housecleaning day today on my gmail account and here’s what I came up with searching for “would like to be added as one of”. A total of 156 requests averaging about 1 every two days. …and they’re all girls.  It’s amazing myspace still has so much traffic compared to facebook.

  • Facebook friends not real friends?

    An article on techmeme today talking about a judge in the UK ruling that FB friends are real friends. It reminds me that many people use social networks in many different ways. My 16 year old nephew has over 6,000 friends on myspace and he’s never met most of them. I have about 100 friends on Facebook and I’ve met 95% of them face to face. And everyone I know completely ignores “how do you know this person” on FB when adding a friend. So really the so called “social graph” is a graph where the links vary in strength so much as to make the data a lot less meaningful.

  • Aground

    [warning: non-geeky personal blog entry for benefit of extended family] A few weeks ago mum and dad were sailing their boat up an inlet in a group of islands called the Andamans. (They’re about halfway between India and Thailand and belong to India) They ran aground on a coral reef on a spring tide thanks to some bad local directions – although dad takes the blame for sailing unknown waters on a spring tide. There was one more tide that was a couple of inches higher that evening so they had one shot to get the boat off the reef. Luckily she ran aground level on both keels so they sat it out without causing too much damage and on the evening tide she just floated right off. On inspection both keels had a few scratches but no serious damage. I should add that they’ve managed to get halfway around the world without getting into a pickle like this. 🙂

    Here’s what things looked like at low tide with mum on the foredeck:

  • Linux is Obsolete!

    A lame video on techcrunch today inspired me to go hunting for the original argument between Linus Torvalds and (Professor) Andy Tanenbaum and here it is. Titled Linux is Obsolete, it’s a post by the author of Minix in 1992 telling Linus he’s just created an obsolete OS that’s running on obsolete hardware (the 386) that won’t be around in a few years.

    Andy’s ideas are a great example of how an academic approach to software design can lead to layers of abstraction that kill performance. You see this mistake often in web applications because web development teams are separate from the operations team and don’t have to think about performance under load. So their focus stays on the manageability of the code base rather than its performance. They make language choices and design decisions that help them write beautiful code in as few lines as possible that any university professor would be proud of.

    Find me an ops guy who loves Ruby on Rails and I’ll find you a dev who loves hand-crafting SQL statements.

    Here is AST’s original email:

    Subject: LINUX is obsolete
    From: ast@cs.vu.nl (Andy Tanenbaum)
    Date: 29 Jan 92 12:12:50 GMT
    Newsgroups: comp.os.minix
    Organization: Fac. Wiskunde & Informatica, Vrije Universiteit, Amsterdam
    
    I was in the U.S. for a couple of weeks, so I haven't commented much on
    LINUX (not that I would have said much had I been around), but for what
    it is worth, I have a couple of comments now.
    
    As most of you know, for me MINIX is a hobby, something that I do in the
    evening when I get bored writing books and there are no major wars,
    revolutions, or senate hearings being televised live on CNN.  My real
    job is a professor and researcher in the area of operating systems.
    
    As a result of my occupation, I think I know a bit about where operating
    are going in the next decade or so.  Two aspects stand out:
    
    1. MICROKERNEL VS MONOLITHIC SYSTEM
       Most older operating systems are monolithic, that is, the whole operating
       system is a single a.out file that runs in 'kernel mode.'  This binary
       contains the process management, memory management, file system and the
       rest. Examples of such systems are UNIX, MS-DOS, VMS, MVS, OS/360,
       MULTICS, and many more.
    
       The alternative is a microkernel-based system, in which most of the OS
       runs as separate processes, mostly outside the kernel.  They communicate
       by message passing.  The kernel's job is to handle the message passing,
       interrupt handling, low-level process management, and possibly the I/O.
       Examples of this design are the RC4000, Amoeba, Chorus, Mach, and the
       not-yet-released Windows/NT.
    
       While I could go into a long story here about the relative merits of the
       two designs, suffice it to say that among the people who actually design
       operating systems, the debate is essentially over.  Microkernels have won.
       The only real argument for monolithic systems was performance, and there
       is now enough evidence showing that microkernel systems can be just as
       fast as monolithic systems (e.g., Rick Rashid has published papers comparing
       Mach 3.0 to monolithic systems) that it is now all over but the shoutin`.
    
       MINIX is a microkernel-based system.  The file system and memory management
       are separate processes, running outside the kernel.  The I/O drivers are
       also separate processes (in the kernel, but only because the brain-dead
       nature of the Intel CPUs makes that difficult to do otherwise).  LINUX is
       a monolithic style system.  This is a giant step back into the 1970s.
       That is like taking an existing, working C program and rewriting it in
       BASIC.  To me, writing a monolithic system in 1991 is a truly poor idea.
    
    2. PORTABILITY
       Once upon a time there was the 4004 CPU.  When it grew up it became an
       8008.  Then it underwent plastic surgery and became the 8080.  It begat
       the 8086, which begat the 8088, which begat the 80286, which begat the
       80386, which begat the 80486, and so on unto the N-th generation.  In
       the meantime, RISC chips happened, and some of them are running at over
       100 MIPS.  Speeds of 200 MIPS and more are likely in the coming years.
       These things are not going to suddenly vanish.  What is going to happen
       is that they will gradually take over from the 80x86 line.  They will
       run old MS-DOS programs by interpreting the 80386 in software.  (I even
       wrote my own IBM PC simulator in C, which you can get by FTP from
       ftp.cs.vu.nl =  192.31.231.42 in dir minix/simulator.)  I think it is a
       gross error to design an OS for any specific architecture, since that is
       not going to be around all that long.
    
       MINIX was designed to be reasonably portable, and has been ported from the
       Intel line to the 680x0 (Atari, Amiga, Macintosh), SPARC, and NS32016.
       LINUX is tied fairly closely to the 80x86.  Not the way to go.
    
    Don`t get me wrong, I am not unhappy with LINUX.  It will get all the people
    who want to turn MINIX in BSD UNIX off my back.  But in all honesty, I would
    suggest that people who want a **MODERN** "free" OS look around for a
    microkernel-based, portable OS, like maybe GNU or something like that.
    
    Andy Tanenbaum (ast@cs.vu.nl)
    
    P.S. Just as a random aside, Amoeba has a UNIX emulator (running in user
    space), but it is far from complete.  If there are any people who would
    like to work on that, please let me know.  To run Amoeba you need a few 386s,
    one of which needs 16M, and all of which need the WD Ethernet card.