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

  • 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]

    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]


       
    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

  • 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.

  •        
    16 Aug 2017

    Sometimes...
    Sometimes it's dificult to find a reason to continue.

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

    22 Sep 2011

    When will I realize...
    I've been running for 3 years 6 months and 9 days. I've been 100 pounds lighter* for 2 years 9 months and 3 days. And I still don't feel like this is my body.

    [/musings/self] [permanent link]

    22 Apr 2011

    This makes me sick...
    This is why I was fat. I can't believe I used to eat this way... Although the Guinness Chocolate Pudding does sound good.

    [/musings/self] [permanent link]

    10 Apr 2011

    Acceptance, or lack thereof...
    A few days ago I picked up some dumbbells that had been left out, they were 40lbs each and I lifted them with one hand each. Three years ago the most I could lift, with both arms combined and "lifting with the legs," was 43lbs (the weight of my computer).

    Last month, I ran a 5K in 19:08. Yesterday during a speed workout I ran my two fastest 100m ever, 17.9 seconds and 17.87 seconds. Today I ran a 10K at a 6:24 pace, finishing in under 40 minutes. I've set a new PR in every distance I've raced this year except the half marathon, and that race I set a new record for myself on that particular course.

    I've put lost 126 pounds of fat and gained 36 pounds of bone and muscle. My body keeps getting stronger and faster.

    And I still can't accept my body for what it is....

    [/musings/self] [permanent link]

    17 Mar 2011

    I wasn't born this way; I made myself.
    I heard that Lady Gaga song on the radio the other day, you know the one that sounds like the Madonna song, and it got me thinking. On the surface it seems to contain a very positive message about accepting yourself because you were "Born This Way." You were born like this, you were made this way, there's nothing you can do about it so be happy with it.

    I disagree. Sure, when we're born we're stuck with the genetic material passed on to us by our lineage. But we're more than that, what we are, what we become, is so much more than how we were born. And this made me think about the Incubus song, "Make Yourself." I find the message of that song to be much more positive. While the song has an overt "them vs. you" context, the general theme is one of taking responsibility for yourself and what you become.

    Was I born the way I am today? Judging from the direction my life took in the first twenty-six years, and comparing it to the last three years, the answer is no. I was born heavy, weighing in over nine pounds. I grew into a heavy kid. I was always sad and lonely as a kid. I had few friends. I rarely went outside. I never played sports. I watched a lot of TV. I ate a lot. I got heavier. I got sadder. I got lonelier. But I was born this way, right? I should have just accepted it, right?

    While I was born heavy, I didn't have to stay that way. It was my own choices that made me into the depressed, obese misanthrope I was. Despite my claims that I was born that way, genetically predisposed to those conditions, I really made myself that way.

    And then I decided to change that. I took responsibility for my life. I started exercising. I ran. I ate healthier. I lost weight. I had better relationships with my friends. I started making new friends. I became happier.

    Just as I had made myself into what I was, I made myself into what I am today. The key to this change was taking personal responsibility for myself. No longer did I use the excuse of being born that way. I knew I was like that because of my decisions and my actions. I knew through my decisions and my actions I could change. And I did. I made myself.

    "If you really want to live, why not try and make yourself?"

    [/musings/self] [permanent link]

    13 Jan 2011

    Duality
    Given the infinitesimally small reader base of this weblog, and the fact that most, if not all, of those readers know me personally, there's a good chance that you know I've fairly recently gotten a pair of tattoos.

    The first tattoo, on my right arm, is a "26.2" in a giraffe print. That number, of course, is the distance of a Marathon in miles. Approximately one tenth of one percent of the population has ever completed a Marathon. I am one of those individuals and it is because of the Giraffes, the running team my friends started and pulled me into, that I was able to accomplish this feat.

    The second tattoo, on my left arm, is a 6x8 grid of binary digits which spell out my first initial and last name in ASCII. Beneath the binary grid is a "v3.1" in a more stylized font. I was named after my father who had been named after his father, making me the third, version 3.0 if you will. In the last few years I've "upgraded." I'm smaller, faster, stronger, kinder, more extroverted and more optimistic than I was, but I am not an entirely new person. Hence v3.1.

    There's more to the meaning of these tattoos than the explanations above. They represent the duality of myself. One represents the decidedly geeky nature that has been a part of me for almost my entire life. The other represents a newer aspect of myself, the endurance athlete.

    It has been difficult for me to resolve these aspects. You were a nerd or a jock. There was a perceived inherent conflict between the two. You could be one or the other, not both. I was a nerd. I was never a jock. Now I'm both.

    And I can be both. There is no reason can't, because this is what I've become; this is what I am.

    [/musings/self] [permanent link]