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.

  •        
    24 Dec 2012

    Christmas Eve
    On Christmas Eve, I headed out around 7:00PM to take a look at the Christmas lights and decorations around town. There was a snow storm predicted for around 9:00PM, so I decided to take the DeLorean out for one last drive before the Wonderful Winter Weather(TM).

    The snow started much earlier than expected. The snow was light and slow, and despite the car not handling well in slick conditions, I kept going for a while.

    As I was driving I had the realization that I was having an experience no one else in the world has ever had. I was driving a DeLorean through my town on Christmas Eve, admiring Christmas lights and listening to Christmas music as snow fell.

    I looked over at the empty passenger seat and wished there had been someone, anyone there to share this with. So for now, until circumstances like this arise again, I will continue to be the only person to have experienced this.

    When I got home, I took this photograph.
    Snow Covered DeLorean

    [/dmc] [permanent link]

    02 Dec 2012

    Happy Birthday

    I'm starting to get used to celebrating my birthday at TBM concerts. This year it was about a week prior to my birthday at a show on December 1 held at New York's Gramercy Theatre.

    Along with the tickets, I had also purchased the "VIP package." This package included an autographed poster signed by all members of the band, a "VIP" laminate on a lanyard, and... the opportunity to meet the band prior to the show!

    You may be thinking, "But they stick around after shows and mingle with their fans anyway," and "You've already met them a few times!" Both are true. And even with this "VIP" package meet-and-greet, they still make time for all their fans after the show. What this provided was a somewhat quieter meeting in a more intimate setting.

    In fact the meeting was in a small lounge beneath the concert hall. Dim mood lighting, mirrors, and couches set the atmosphere. I spoke with Rainbow, Michael, and Nate first. Rainbow informed me his name was Michael also and made a joke about the "power of the three Mikes lighting the room." After a bit, they started moving me to Chibi who was sitting on a couch after injuring her knee during a show two nights prior. She tried to walk to me, but I told her not to. She said, "I'll meet you half way then."

    I gave her a get well card, knowing she had had surgery on her vocal chords about 8 weeks prior and recently injured her knee. Someone decided we needed a photo of that and she gave me the card back so I could give it back to her. I believe it was Owen who said, "Act natural and hold it for 30 seconds!"

    I asked Rainbow about writing "Unfamiliar" because both he and OE were given credit in the liner notes. He said it was mostly OE; OE started it and Rainbow had finished it. I said I wanted to thank them because it was a song that had taken on some greater meaning to me and I relayed a brief version of the story of the moment I recognized that. It turns out "Unfamiliar" is one of Chibi's favorite songs too.

    Every one of the bands that night were amazing. All, remarkably, were performing as duos. Creature Feature was a real fun band to see. Their music is heavily influenced by old horror movies which gives them a dark yet fun sound.

    Aesthetic Perfection put on a good performance. Their drummer is amazing and fun to watch. They heavily synth-based and while there was a dark tone to most of their songs, they still had fun and lightened things up with a Fine Young Cannibals cover.

    William Control was the only other act I had heard before the show (Thanks Last.fm!). He was great live and I'd love to see him again. He reminded me a little of Dommin in that Dean Martin meets Glen Danzig sort of way.

    The Birthday Massacre was great. They played a good mix including songs from every album. For most of the set Chibi was sitting on a speaker placed near center at the front of the stage, wearing a knee brace. She stood up and moved around occasionally, but not much. At one point Rainbow sat down on another speaker and stuck out one leg in a similar fashion to how Chibi was seated and laughed a little. It was easy to tell by their interaction here that Chibi and Rainbow are close.

    If you care (or even if you don't), their set list follows:
    • Night Shift
    • Down
    • Control
    • Always
    • Red Stars
    • Video kid
    • Lover's End
    • Forever
    • Pins and Needles
    • Happy Birthday
    • Alibis
    • Calling
    • In the Dark
    • Sleep Walking
    • Midnight
    • -- Encore --
    • Leaving Tonight
    • The Long Way Home
    • Blue


    The band did not leave the stage prior to the encore as they normally would. Chibi said, "This is the part of the show where we say thank you and leave and you clap and we come back out and play some more. But I'm not going to walk down those stairs anymore than I have to, so do you want to hear three more songs?"

    [/musings] [permanent link]

    Happy Birthday

    I'm starting to get used to celebrating my birthday at TBM concerts. This year it was about a week prior to my birthday at a show on December 1 held at New York's Gramercy Theatre.

    Along with the tickets, I had also purchased the "VIP package." This package included an autographed poster signed by all members of the band, a "VIP" laminate on a lanyard, and... the opportunity to meet the band prior to the show!

    You may be thinking, "But they stick around after shows and mingle with their fans anyway," and "You've already met them a few times!" Both are true. And even with this "VIP" package meet-and-greet, they still make time for all their fans after the show. What this provided was a somewhat quieter meeting in a more intimate setting.

    In fact the meeting was in a small lounge beneath the concert hall. Dim mood lighting, mirrors, and couches set the atmosphere. I spoke with Rainbow, Michael, and Nate first. Rainbow informed me his name was Michael also and made a joke about the "power of the three Mikes lighting the room." After a bit, they started moving me to Chibi who was sitting on a couch after injuring her knee during a show two nights prior. She tried to walk to me, but I told her not to. She said, "I'll meet you half way then."

    I gave her a get well card, knowing she had had surgery on her vocal chords about 8 weeks prior and recently injured her knee. Someone decided we needed a photo of that and she gave me the card back so I could give it back to her. I believe it was Owen who said, "Act natural and hold it for 30 seconds!"

    I asked Rainbow about writing "Unfamiliar" because both he and OE were given credit in the liner notes. He said it was mostly OE; OE started it and Rainbow had finished it. I said I wanted to thank them because it was a song that had taken on some greater meaning to me and I relayed a brief version of the story of the moment I recognized that. It turns out "Unfamiliar" is one of Chibi's favorite songs too.

    Every one of the bands that night were amazing. All, remarkably, were performing as duos. Creature Feature was a real fun band to see. Their music is heavily influenced by old horror movies which gives them a dark yet fun sound.

    Aesthetic Perfection put on a good performance. Their drummer is amazing and fun to watch. They heavily synth-based and while there was a dark tone to most of their songs, they still had fun and lightened things up with a Fine Young Cannibals cover.

    William Control was the only other act I had heard before the show (Thanks Last.fm!). He was great live and I'd love to see him again. He reminded me a little of Dommin in that Dean Martin meets Glen Danzig sort of way.

    The Birthday Massacre was great. They played a good mix including songs from every album. For most of the set Chibi was sitting on a speaker placed near center at the front of the stage, wearing a knee brace. She stood up and moved around occasionally, but not much. At one point Rainbow sat down on another speaker and stuck out one leg in a similar fashion to how Chibi was seated and laughed a little. It was easy to tell by their interaction here that Chibi and Rainbow are close.

    If you care (or even if you don't), their set list follows:
    • Night Shift
    • Down
    • Control
    • Always
    • Red Stars
    • Video kid
    • Lover's End
    • Forever
    • Pins and Needles
    • Happy Birthday
    • Alibis
    • Calling
    • In the Dark
    • Sleep Walking
    • Midnight
    • -- Encore --
    • Leaving Tonight
    • The Long Way Home
    • Blue


    The band did not leave the stage prior to the encore as they normally would. Chibi said, "This is the part of the show where we say thank you and leave and you clap and we come back out and play some more. But I'm not going to walk down those stairs anymore than I have to, so do you want to hear three more songs?"

    [/tbm] [permanent link]

    07 Oct 2012

    Signs of the Apocalypse
    A friend told me this was from Glee. I found it amusing; thought I'd share.

    It's a fact that the book of Revelations predicted Twitter. It's one of the seven signs of the apocalypse; Along with porn, unexplainable weather anomalies, martian rovers, Barney Frank, the middle east and MSNBC. It's like Kirk Cameron said, "It's never too late, until it's too late."

    [/musings] [permanent link]

    29 Aug 2012

    Migraine
    I hate waking up with migraines.

    [/musings] [permanent link]

    28 Aug 2012

    freebsd-update
    I'm attempting to update my laptop from FreeBSD 9.1-Beta1 to 9.1-RC1. The freebsd-update(8) utilitly was reporting an error finding the public key. A quick search found this thread. As per tangram's suggestion, I used

    env UNAME_r=9.0-RELEASE freebsd-update upgrade -r 9.1-RC1

    and then the update began working.

    [/unix] [permanent link]

    20 Aug 2012

    unHide
    After a friend's computer became infected with some malware that hides files in your home directory and tries to extort money from you in order to "recover" your data, I was inspired to write this little program.

    All it does is search for hidden, non-system files and unhides them. It defaults to the user's home directory (My Documents), but other directories can be chosen.

    If anyone wants to try it out, please do. If you do try it, let me know what parts I can do better. I primarily work on embedded systems and Unix daemons professionally; the user only knows my software exists when it isn't working. As such, I have very little experience with GUIs or human-computer interactions. Any feedback would be much appreciated.

    The Windows executable can be found at: http://www.skinnymf.com/~mforde/unHide/. Source code is available upon request.

    [/code] [permanent link]

    01 Jun 2012

    Fun little alias
    I use a console based RSS reader written in Ruby. It crashes often and will delete my list of feeds in the process. It also has a tendency to not fully exit, leaving a ruby process sitting in the background soaking up close to 100% CPU time. For such occasions, I've added the following alias to my .cshrc file.

    alias killraggle kill -9 '`ps ax|grep raggle|grep -v grep|awk '\''{print $1;}'\''`'

    [/unix] [permanent link]

    01 May 2012

    Volunteers Needed
    The Lincoln Park Triathlon needs volunteers. If you'd like to help out, please visit www.lincolnparktriathlon.com/volunteers for more information.

    This event isn't possible without the help of volunteers. If you or anyone you know would be interested in helping, please contact us.

    [/musings] [permanent link]

    29 Mar 2012

    Lincoln Park Triathlon


    Registration for the 2012 Lincoln Park Triathlon is now open. If anyone is interested in volunteering, please email volunteers@lincolnparktriathlon.com.

    [/musings] [permanent link]

    01 Mar 2012

    Just a Question
    Given the following code fragment, I was asked to implement foo such that the program would output "America." How would you do it?

            int main()
            {
              char *p = "Hello";
    
              foo(         );
              printf("%s",p);
    
              return 0;
            }
    

    My solution involved allocating new memory from the heap to store the new string, and changing p to point to that buffer. They didn't like that answer. They preferred the method of putting the new string in the data segment as well.

    I personally would always avoid that, whenever possible. "Hello" is stored in a read-only area of memory as is "America" in their preferred solution. Any attempt to alter those strings will trigger a segfault. This is an accident waiting to happen.

    [/code] [permanent link]

    17 Jan 2012

    Races, Races, Races
    I've been busy the last few weeks or so; I've done a few races.

    • On October 30, I ran the Marine Corps Marathon in Arlington, VA and Washington D.C.
    • On November 5, I ran the Beavertown Fall Classic 5K in my hometown.
    • On November 6, I ran the New York City Marathon for the second time.
    • On November 19, I ran the Knickerbocker 60K Ultramarathon in Central Park.
    • On December 3, I ran NJ Winter Trail Series Race #1 Half Marathon in Wayne.
    • On December 10, I ran the NYRR Jingle Bell Jog in Prospect Park.
    • On January 7, I ran the Walt Disney World Half Marathon, part one of Goofy's Race and a Half Challenge.
    • On January 8, I ran the Walt Disney World Marathon, completing the Goofy Challenge.

    In 10 weeks I ran a 5K, a 6K, two Half Marathons, three Marathons, and an Ultramarathon, plus a few training runs in there...

    And last night Wii Fit called me a couch potato.

    In defense of the game, I hadn't used it in 547 days, and I'm now 11 pounds heavier than when I had last used it. It has no way of knowing that the vast majority of that weight gain was lean mass. It also has no way of taking into account all that I've done outside the game.
    Even with that in mind, it's still a little frustrating to be called a couch potato after running a marathon and a half last weekend.

    Each of these races were pretty special. I ran MCM alongside some fairly awesome people; people who I consider to be among my closest friends. In the Beavertown 5K, I somehow managed to take 12th overall and 5th in my age group without really trying.

    At NYC and then at the Knickerbocker, I ran with the friend who got me started running in the first place. I credit him with saving my life, and it was an honor and a pleasure to run with him.

    The trail half was my first trail race (not counting my time on the high school cross country team) and I ran that with a friend I hadn't seen since our days on the high school track & field team (she was a runner, I was thrower). We have both run full marathons in less time than it took us to complete this half.

    The Jingle Bell Jog was a fun race with bells and hot cocoa, and it was the first time I ran alongside my friend and former physics TA. And lastly, I ran the Goofy Challenge alongside another one of my close friends and training partners.

    These races were a lot of fun. Some of the courses were quite amazing to see, and these races were opportunities to spend time with some pretty awesome people.

    [/running] [permanent link]

    04 Jan 2012

    Disgusted
    With the Goofy Challenge just 3 days away, I should be carb-loading. And I am. And with each bite of my lunch I hate myself more. Every time I eat, I feel fat. And every time I ingest anything that isn't ultra-lean protein or high-fiber, I disgust myself. But I sit here, shoving food down my gullet.

    [/musings/self] [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.

  •        
    10 Dec 2013

    Thoughts on National Computer Science Education Week
    This week is apparently National Computer Science Education Week. Code.org is organizing the "hour of code" to promote teaching of Computer Science and Programming in schools. They're also organizing petitions to make CS courses count as credits in Mathematics or Science for High School graduation requirements.

    In High School, my CS courses were by far my favorites, Programming in Pascal, AP Comp Sci in Pascal, Programming in C++, and AP Comp Sci in C++ ( the language for the exam switched my junior year). I learned a lot about structured code, elegant, efficient code. I learned enough about Data Structures and Algorithms that I didn't have to study for my college CS classes until Computational Structures (Discrete Math II with Scheme, essentially) in my third semester. I had an amazing Computer Science teacher who also taught me Calculus and the proper order of precedence in life: God, Family, Math. I wouldn't be where I am today without that educational opportunity I had in High School. I want others to have that opportunity too.

    However, this is where I differ with the opinion of the Code.org folks. I do not believe that CS classes should count toward the Math or Science requirements. In this state, CS counts toward the "practical or performing art" requirements, I'm assuming under the "practical" label. I think this is a better place for it at the High School level.

    Computer Science is not a hard Science. It's not Physics. It's not Biology. It's not Chemistry. There's a saying that if the subject has science in its name, it's not really a science. That is true with Computer Science. It's not studying the how and why of atoms, of molecules, of living systems, of anything really. It's not science.

    Computer Science is really applied mathematics. I am very fortunate that the college program I went through was very strong in mathematics: Calc I and II, Linear (Matrix) Algebra, Discrete Math, Discrete Math II in the guise of Computational Structures, Probability and Statistics, Theory of Computation, Algorithmic Analysis... the list goes on. All of these mathematical foundations were then applied to a machine, to make the machine carry out a task in an efficient manner. It's those mathematical foundations that are the true core of Computer Science.

    While mathematics is the core of Computer Science and Computer Science is essentially applied mathematics, I do not believe it should count toward the Math requirements. The CS classes would likely detract from other mathematics courses such as Geometry, Trigonometry, and Calculus. These courses are far too important to an education to be replaced by a Computer Science course. Many, maybe even most, High School Computer Science courses focus more on "programming" than the fundamental mathematical theories. They will pick the language du jour and teach you the syntax and semantics. They'll teach about basic data structures like arrays, and linked lists. The AP exam currently focuses not on implementing lists, trees, stacks, queues, and sorting and searching algorithms, but on arrays and lists using Java library calls. This is not math. This is learning Java syntax.

    [/code] [permanent link]

    05 Nov 2013

    Normalcy
    I realized that if and when I have children, they will grow up thinking it's normal to have a DeLorean.

    [/dmc] [permanent link]

    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]

    16 Oct 2013

    [mini-rant]
    I hate bash. I hate it. I hate how it bastardized bourne by adding half-assed implementations of features from ksh and tcsh.

    [/unix] [permanent link]

    12 Oct 2013

    Problems with loader.conf

    First the background. The story of how I got into this mess:



    I'm trying to get ACPI working on my laptop under FreeBSD. Specifically, I'm trying to get Resume to work properly. Suspend works, and resume seems to partially work. The fans spin up, the keyboard's backlight comes back on, but no screen. And without video, it's a little hard to figure out what's going on.

    ACPI works great on my server. It's running the same FreeBSD 9.1 x86-64 build that the laptop is, but the biggest difference is that it's an intel motherboard. The laptop is an Alienware, for our purposes, I might as well just call it a Dell.

    I started comparing the ASL output from both machines and noticed some things. First, the Alienware's ACPI implementation looks for the OS to be various forms of Windows or "Linux." The intel ACPI implementation also looks for these Windows variants and "Linux" but it has an additional OS string. It has an entry for "FreeBSD."

    I figured the easiest next step was to use iasl co compile the intel ASL source and load that DSDT onto the laptop.

    I calculated the odds it would work vs the odds I was doing something incredibly stupid... and I went ahead and did it anyway...

    I compiled the asl and I set /boot/loader.conf to override the DSDT with the intel one I had just compiled and I rebooted. At first everything was good. The machine went down, I got the boot loader, and the FreeBSD kernel started to load. Seconds into the kernel load, it rebooted itself. After the second time, I powered off and tried a cold boot. Same problem just as I had feared.

    Now i was in a situation where I couldn't successfully boot because of an error in loader.conf I needed to find a way to edit it.

    And here's the solution:



    The FreeBSD bootloader, like many others, works in stages. At a certain point, it can be interrupted at which point it provides a set of simple yet powerful commands to control various aspects of the loading process. If you still have that default menu at load, I beleive the option to chose is 6. I disable that menu so during a brief countdown I hit escape before the boot loader turns control over to the kernel.

    Once in the boot loader prompt, I entered the following commands:

    unload
    load kernel
    boot
    


    Pretty simple right? The unload command does what it says, it unloads the kernel and any modules loader.conf had pulled into memory. The load kernel command grabs the kernel and loads it into memory... but only the kernel thus ignoring the broken DSDT in loader.conf. And of course boot tells the boot loader to continue booting the system.

    Once booted, I removed the bad DSDT from loader.conf.

    [/unix] [permanent link]

    10 Oct 2013 05 Oct 2013

    1381017534
    Good night, demonslayers.

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

    [/mobile] [permanent link]

    1381006292
    --_CEEC49CB-DE1D-4A1E-9DFE-114E3B54D3CB_
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset="Windows-1252"

    Test blog

    Sent from my Windows Phone=

    --_CEEC49CB-DE1D-4A1E-9DFE-114E3B54D3CB_
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html; charset="Windows-1252"


    pe>


    Test blog R>
    Sent from my Windows Phone
    =

    --_CEEC49CB-DE1D-4A1E-9DFE-114E3B54D3CB_--

    [/mobile] [permanent link]

    1381005175
    Corning is a quaint little town. Looking forward to exploring.

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

    [/mobile] [permanent link]

    09 Aug 2013

    chafing...
    WARNING: possible TMI

    I thought I had healed from the chafing left after Saturday's River to Sea Relay... Until I ran in the rain yesterday. To quote a friend, "It feels like someone took a cheese grater to my crotch."

    [/running] [permanent link]

    22 Jul 2013

    Why do I run?
    So, why do I run? Here's one reason:


    [/running] [permanent link]

    15 Jul 2013

    Windows 8.1 in Virtual Box
    I was attempting to run the Windows 8.1 Preview in a VM using Sun's Oracle's Virtual Box on a Windows 7 host. I ran into a minor problem.

    The OS wouldn't boot. I received an error stating:

    Your computer needs to restart. Please hold down the power button. Error Code: 0x000000C4 Parameters: [redacted]

    Looking for the error code online led me to this article describing the issue and a fix. The key to fixing this was running the command:
    "c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "" VBoxInternal/CPUM/CMPXCHG16B 1

    The CMPXCHG16B is an instruction in 64-bit X86 processors that allows for atomic operations on octal words.

    [/musings] [permanent link]

    21 Jun 2013

    Excluding directories while using pax(1)
    My primary disk is failing. There are large segments that are generating low level IO errors during read or write operations. Most of the files written to the bad area were under /usr/ports/ where the FreeBSD Ports collection is installed. A few files were under the web server's root.

    Figuring I'd take care of things prior to the disk actually failing to the point of it being irrecoverable, I purchased a new disk early. I installed it, partitioned it, and formatted it.

    To copy the data over, ignoring the areas that were causing the IO errors, I used mv to "move" the files from the web root under /usr/ports and used the following command as root:

    pax -rwvpe -s':/usr/ports/.*::gp' -X / /mnt/newdisk/

    The -X prevents pax from traversing into mount points that have a different device ID than the one on which it was started. This prevents an infinitely recursive loop from happening when the new disk's mount point would have been hit. It also prevents data on the non-failing disks from being copied as well.
    the -s option allows for sed search and replace scripts to be run. In this example, the : is used as the delimiter and any path matching /usr/ports/* is replaced by a null string. With this replacement all directories under /usr/ports are excluded from the copy.

    [/unix] [permanent link]

    18 Jun 2013

    Senator Elbert Guillory
    Elbert Guillory, a state senator in Louisiana, has switched his party affiliation from Democrat to Republican. This website has a short commentary on the matter, as well as an embedded video of Senator Guillory explaining his decision.

    [/politics] [permanent link]

    30 Apr 2013

    I LOL'ed

    PATIENT: "The problem is that obesity runs in my family."
    DOCTOR: "No, the problem is that no one runs in your family."

    [/running] [permanent link]

    02 Apr 2013