Eponymous
   



About
My Infrequently Updated Blog. The web-based journal of M. Forde, computer nerd, endurance athlete, and DeLorean owner


contact

Subscribe
Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

Flavors
There's more than one way to view this weblog; try these flavors on for size.

  • index
  • circa 1993
  • Sections

  • main
  • musings
  • running
  • DeLorean
  • code
  • unix
  • album
  • TBM
  • Archives

  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012
  • 2011
  • 2010
  • 2009
  • 2008
  • 2007
  • Disclaimers, Copyrights, Privacy, Etc.

  • ToS
  • Copyrights
  • Links

  • olix0r.net
  • netmeister.org
  • Giraffes
  • Eat. Run. Sleep.

  •        
    28 Apr 2014

    Looking back...
    As I look back at code I wrote a decade ago as an undergrad, I often find lots of little things that can be done better. For instance, in one file I found that reversing the order in which two functions were called would have eliminated a half dozen conditionals from one of the functions and would have resulted in the same expected behavior, but with fewer lines of code and a lower cyclomatic complexity.

    [/code] [permanent link]

    07 Apr 2014

    1396881317
    Gear Tip: Dry Out Soggy Sneakers | Runner's World http://www.runnersworld.com/running-shoes/gear-tip-dry-out-soggy-sneakers?cm_mmc=F

    ==================================================================
    This mobile text message is brought to you by AT&T

    [/mobile] [permanent link]


       
    Eponymous
    Eponymous
       



    About
    My Infrequently Updated Blog. The web-based journal of M. Forde, computer nerd, endurance athlete, and DeLorean owner


    contact

    Subscribe
    Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

    Flavors
    There's more than one way to view this weblog; try these flavors on for size.

  • index
  • circa 1993
  • Sections

  • main
  • musings
  • running
  • DeLorean
  • code
  • unix
  • album
  • TBM
  • Archives

  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012
  • 2011
  • 2010
  • 2009
  • 2008
  • 2007
  • Disclaimers, Copyrights, Privacy, Etc.

  • ToS
  • Copyrights
  • Links

  • olix0r.net
  • netmeister.org
  • Giraffes
  • Eat. Run. Sleep.

  •        
    17 Oct 2013

    ... On man pages, a mini-rant
    I really despise the linux man pages. They're useless at best and wrong at worst.

    From the man page for setsockopt: "The include file <sys/socket.h> contains definitions for socket level options, described below."

    1) The options are not "described below."
    2) No, that file actually doesn't contain those definitions.

    On the other hand... The FreeBSD man page for setsockopt does actually describe the options and under FreeBSD the <sys/socket.h> file does indeed contain the definitions.

    [/unix] [permanent link]


       
    Eponymous
    Eponymous
       



    About
    My Infrequently Updated Blog. The web-based journal of M. Forde, computer nerd, endurance athlete, and DeLorean owner


    contact

    Subscribe
    Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

    Flavors
    There's more than one way to view this weblog; try these flavors on for size.

  • index
  • circa 1993
  • Sections

  • main
  • musings
  • running
  • DeLorean
  • code
  • unix
  • album
  • TBM
  • Archives

  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012
  • 2011
  • 2010
  • 2009
  • 2008
  • 2007
  • Disclaimers, Copyrights, Privacy, Etc.

  • ToS
  • Copyrights
  • Links

  • olix0r.net
  • netmeister.org
  • Giraffes
  • Eat. Run. Sleep.

  •        
    31 Oct 2009

    NJ Governor Endorsement
    I officially endorse anyone who is not Jon Corzine.

    [/politics] [permanent link]

    29 Oct 2009

    Last night I ran...
    15 miles because I felt like it, again.

    [/running] [permanent link]

    26 Oct 2009

    I just ran...
    15 miles because I felt like it.

    [/running] [permanent link]

    23 Oct 2009


    Android Lust Resolution
    Excellent music. Go check out Android Lust now.

    [/musings] [permanent link]

    19 Oct 2009

    C#, XNA, and 8 Queens
    I spent some time this weekend learning some C# and getting working a bit with the XNA framework. I implemented a solution for the 8 Queens problem in C++, then ported that class to C#. After getting that working in Windows, I started moving it to the Xbox.

    It works there with little issue, but, as expected, writing to system.console doesn't produce useful output. My next step is to get some sort of graphical representation of the chessboard displayed with the solution set.

    [/code] [permanent link]

    17 Oct 2009

    XNA
    As of this morning, I am now a member of the XNA Creators Club.

    [/code] [permanent link]

    14 Oct 2009

    Staten Island Half Marathon
    Sunday was the Staten Island Half Marathon. I've been dealing with overuse injuries as of late, my IT-band has been acting up and I strained my right hamstring.

    I wasn't sure if I'd be running or not, and the temperature was predicted to be in the low- to mid-50's, so I wore my coldgear; I didn't want to end up with hypothermia again if I was standing around for 2 hours in shorts.

    It turned out that one of my teammates, Liz, wasn't sure if she'd be able to finish. We decided to run together. And we did. We finished with the exact same time of 2:34:00. I kept her from stopping and she kept me from going to fast and re-injuring myself.

    It took me an hour longer to finish the race than it normally would, but I think it went quite well. My hamstring actually felt better after the run. My IT-band was a little sore the next day, but it was better by Tuesday.

    Running at the slower pace, I was able to actually look around and enjoy the scenery. The shores Staten Island were not as bad as I was expecting. Over all, it was a good recovery run. A 13.1 mile recovery run.

    [/running] [permanent link]

    Bing!
    It has come to my attention that searching bing for pictures of closed doors yields pictures of my DeLorean.

    [/dmc] [permanent link]

    Self Documenting Code
    Despite what you think about your code, it is not self documenting. When writing code add comments, describe what a function does, explain why you're using that convoluted pointer arithmetic and bit shifting. I'm sure it makes sense now, but someday you'll have to go back and look at it and figure out what the hell you were doing. Or worse, I'll have to go back and look at it and figure out what the hell you were doing.

    Sometimes it is important to have some sort of separate documentation for the code; maybe some UML or ER diagrams, maybe some English text. Use what ever it takes to explain what you were doing. Do not paste snippets of your code into the text and call it documentation.That is not documentation, that is code.

    [/code] [permanent link]

    11 Oct 2009

    AFI: Starland Ballroom, October 10, 2009
    Show was great last night. Here's the setlist from the show:

    • Torch Song
    • Leaving Song Pt. II
    • Veronica Sawyer Smokes
    • Ever and a Day
    • Kill Caustic (With Lou Koller of Sick of It All)
    • End Transmission
    • Love is a Many Splendored Thing
    • Beautiful Thieves
    • Dancing Through Sunday
    • Leaving Song
    • On the Arrow
    • Death of Seasons
    • Medicate
    • Love Like Winter
    • Just Like Heaven
    • Miss Murder
    • Silver and Cold


    I'll write more later, now it's time to get ready for the Staten Island Half Marathon.

    [/musings] [permanent link]

    04 Oct 2009

    It exists
    As part of the DeLorean's restoration, I've been considering a backlit dash. I had considered sticking with the stock dash with the white light bulb in front of the gauges, but I thought a red backlit display would be better for night vision.

    Then came the issue of whether or not something like that exists. Turns out it does. Speed Hut carries a line of customizable gauges for the DMC-12 as part of the EL-Glo line.

    [/dmc] [permanent link]

    02 Oct 2009

    Gmail and mutt
    I like mutt. Of all the mail clients I've used over the years, it sucks the least. It works well with my mail server.

    Despite having my own domain and mail server, I still use gmail for certain things; things I don't mind being retained for 3 years after I delete them, or more specifically, things I want retained for 3 years after I delete them.

    I don't like the gmail web interface. I find checking my gmail to be annoying because of this. I remembered gmail offering POP and IMAP. I figured I could use that to get my gmail. Shouldn't be too hard right?

    A quick search of Mr. Yahoo and Mr. Google gave me two good starting points: Lifehacker.com and MattCutts.com.

    I read the sites and the getmail man page and figured out what I needed to do. First I enabled IMAP for my gmail account. Next, I created the .getmail directory in my home directory then created a getmailrc file there. I want all gmail mail to be delivered to a specific mbox file without going through my normal mail delivery channels. The contents of the getmailrc file are quite simple:

    [retriever]
    type = SimpleIMAPSSLRetriever
    server = imap.gmail.com
    username = username@gmail.com
    password = usernamespasswordgoeshere
    mailboxes = ("inbox",)
    
    [destination]
    type = Mboxrd
    path = /usr/home/mforde/Mail/GMAIL
    
    The retriever section defines how getmail will retrieve the mail. In this case it uses IMAP over SSL to connect to imap.gmail.com. The mailboxes setting can be used to specify only certain gmail labels to retrieve, but I want anything in the inbox.

    The destination section tells getmail what to do with the mail once it has grabbed it from gmail. This configuration dumps it into an mbox file I've named GMAIL.

    I chose IMAP over POP because of the slightly-less-than-documented "feature" of gmail only allowing 99 messages at a time over POP.

    So to get the initial batch of 7000+ emails, I ran
    > getmail -vvv -l 
    
    to get verbose output and to leave messages on the gmail server. When that was done I pointed mutt at the GMAIL mbox and like magic, there was my gmail, organized nicely in my terminal.

    Now, I want to check to get the latest mail fairly often, and I don't want to download messages already copied over. To accomplish this, I added a crontab to run every 10 minutes and invoke
    getmail -l -n -q
    
    This tells getmail to leave copies on the server, only get new messages it hasn't already retrieved, and be quiet about it.

    This has worked out well for me. If you're interested in setting up something like this, I highly recommend reading the article at matcutts.com. That article also links to several sample getmailrc files.

    [/unix] [permanent link]

    Happy Anniversary
    The Twilight Zone premiered 50 years ago tonight. Slashdot has a bit about it.

    [/musings] [permanent link]

    01 Oct 2009

    Marathon Tune-UP
    This past Sunday was the Marathon Tune-Up, an 18 mile run through Central Park. My goal was to run it maintaining roughly a 7:30/mile pace. I had set a range of 135 to 140 minutes for myself. I would have been satisfied with any finish time in that five minute span.

    At the 10 mile mark, I was averaging 7:27/mile. During that 11th mile, I decided to use a Gu energy gel. I was still feeling pretty good at that pace and I was hoping to time the gel right so as to not "hit the wall" at mile 14 or 15.

    Instead, the gel started giving me stomach cramps. At mile 12 I was still well under an 8 minute pace and at the half-marathon mark, I was a minute off my best official half. I was clearly slowing down as the stomach pain increased.

    I struggled through miles 14 and 15, alternating running and walking every quarter mile. By mile 16, I could not run. The pain was almost unbearable. I ended up walking the last two miles, in the rain, with all my blood concentrated in my core, dealing with the Gu in my stomach. By time I crossed the finish line, I was a half over my 135 minute goal and had almost no feeling in my hands or feet.

    I went to the medical tent and told the volunteer that I had severe stomach cramps and I was so cold that I couldn't feel my hands. He responded, "We don't got no blankets or nuthin' so we can't do nuthin' for ya." So I walked away.

    I went to the tables where volunteers were handing out gatorade and pretzels. I stood there, shaking, until another runner came up to me and asked if I was okay. Before I knew it, another runner was keeping me from falling over while the first runner was coming back with two NYRR volunteers. One of them wrapped me in a plastic bag to keep the rain off while the other went for help. I explained what happened at the medical tent.

    Two more people from medial came back and put me on a gurney and took me back to the tent. I told them what had happened at the tent and explained what I was feeling. At the tent I removed my soaked shirts and was wrapped in a mylar sheet and two blankets. I pointed out the guy who told me they couldn't do anything for me.

    I managed to get in touch with my fellow Giraffe who ran back to our car to get my dry clothes. After about a half hour or so, I was feeling much better and feeling had returned to my extremities. I got in my dry clothes and my teammate and I walked back to the car.

    So taking a Gu ended up with me being treated for hypothermia. I had had mild stomach irritation when using Gu in training, but never this bad. I'm glad I found out now instead of next month in Philadelphia.

    during my 22 mile training run at the Tourne, I used prepared bottles of GuBrew and Gu2O. These liquids never caused the irritation that the gel did, so I should be okay using them during the race.

    I've purchased a bottle that gets strapped to your hand for the purpose of carrying the GuBrew with me. I filled it with water and ran with it on the treadmill last night. It seems a little awkward, but it shouldn't be too bad. I'll use it to carry the GuBrew with me during the Staten Island Half Marathon on the 11th and see how that works out.

    [/running] [permanent link]


       
    Eponymous
    Eponymous
       



    About
    My Infrequently Updated Blog. The web-based journal of M. Forde, computer nerd, endurance athlete, and DeLorean owner


    contact

    Subscribe
    Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

    Flavors
    There's more than one way to view this weblog; try these flavors on for size.

  • index
  • circa 1993
  • Sections

  • main
  • musings
  • running
  • DeLorean
  • code
  • unix
  • album
  • TBM
  • Archives

  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012
  • 2011
  • 2010
  • 2009
  • 2008
  • 2007
  • Disclaimers, Copyrights, Privacy, Etc.

  • ToS
  • Copyrights
  • Links

  • olix0r.net
  • netmeister.org
  • Giraffes
  • Eat. Run. Sleep.

  •        
    30 Nov 2009

    Product Review: ASICS Cumulus-11
    This is the third installment of my running product reviews. Last time I said I'd discuss my "current running shoe" but my again I'm a liar. I'm still going to discuss the ASICS Cumulus-11, but it is no longer my current running shoe.

    I purchased the Cumulus-11 based on my love of the Cumulus-10, without really trying them. This turned out to be a mistake. The Cumulus-11 is a fine update to the Cumulus-10; however, the changes are better for some runners than others.

    The heel of the Cumulus-11 is noticeably firmer than that of the 10. Because of this change, I no longer get adequate compression and cushioning from these shoes. These shoes are not as firm as the Tailwinds previously reviewed either and are closer to the Cumulus-10 than to the Tailwinds. I never had the feeling of running in clogs with the Cumulus-11, but they were firm enough that old injuries were aggravated.

    The Cumulus-11 is still on store shelves (at least it was at Fleet Feet this past weekend) and should also be available on-line through retailers such as EastBay. I recommend this shoe to a runner who liked the feel of the Cumulus-10 but had issues with it being too soft.

    Next time, we'll discuss my current running shoe, the Nike Vomero+ 4. No really, I have three pairs of these to burn through, I'll be using them for a while.

    [/running/reviews] [permanent link]

    23 Nov 2009

    Philadelphia
    The night before I woke up every hour, looked at the clock, said "I have N hours before I need to get up" and went back to sleep.

    I lost a lot of fluids because I couldn't turn the temperature in the room down and spent the night sweating. When I got up I drank a lot of water and GuBrew, but as it turns out, not enough.

    The weather was good, about 46 at the start. It was sunny, which was quite a problem when I got a migraine at mile 8. It took me about a mile to get my imitrex out of my pocket and actually take it. At the half I was still close to the 3:20 pacer and I considered taking the turn for the finish line, but decided to keep going.

    As the nausea from the migraine subsided, I started getting a stomach cramp. At mile 17 I stopped at medical. After some back and forth the decided the cramp was likely due to dehydration and they made me sit and drink in front of them for 15 to 20 minutes before they cleared me to continue.

    After that I went on my way at a much slower pace. At about mile 24 one of my teammates, Tom, caught up to me (this was his 19th race at marathon or greater distance). He paced me and got me through to the end.

    I ended up finishing at 3:55:46, far off from my goal. But now I know I can finish the distance so it's just a matter of doing it faster. I'd like to get two more in before New York next November.

    Right now, I feel much better than I thought I would. It was weird, when I woke up this morning, I was walking around the hotel room for a half hour feeling just fine. Then I put my shoes on and everything from my feet to my shoulders started hurting. That's more-or-less subsided now, thankfully.

    [/running] [permanent link]

    18 Nov 2009

    SATA Weirdness update
    A BIOS update from Intel corrected this issue.

    [/unix] [permanent link]

    08 Nov 2009

    Beavertown Fall Classic 5K
    Saturday morning was the third(?) annual Beavertown 5K. I had been training with a group of people for the two months leading up to the race. We registered as a team for the event, the Beavertown Runners.

    I set out with the goal of finally breaking 20 minutes. With Philly so close I decided the PR wasn't worth risking an injury and I'd slow down if something felt off.

    I didn't slow down. I finished in 6th place overall with a new PR of 19:51. The team rankings were determined by each team's top 3 finishers and, in our category, the Beavertown Runners took first.

    [/running] [permanent link]

    02 Nov 2009

    19 days 23 hours...
    Just under 20 days remain until the start of the Philadelphia Marathon. Last week I ran 60 miles and felt pretty good; my hamstring and iliotibial band are healing nicely.

    I've gotten some advice from some people who have run Philly before and I'm thankful for that. Among other things, they stressed the importance of tapering. It's going to be difficult to run less when I feel so good.

    [/running] [permanent link]