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.

  •        
    18 Jun 2016

    FreeBSD Unix on Dell Precision M4800
    I installed FreeBSD 10.3 on the laptop I recently acquired and almost eveything worked out of the box. The gigabit ethernet and wi-fi coards worked fine and by setting the BIOS to discrete graphics only, the nVidia Quadro was recognized.

    I installed the binary driver from nVidia, because they support FreeBSD because they're awesome like that. The nvidia-xconfig(1) program was useful to streamline the process of getting X.org to use the Quadro.

    There were a few things that did need some tewaking though. First there's the sound card. Because the quadro supports HDMI (in addition to VGA and DisplayPort), it includes an HDA-compliant sound card. This card is recognized before the primary HDA-compliant sound card in the machine, the one that's actually connected to the speakers.

    I did some research and there were some suggestions about using sysctl(8) to control soundcard GPIO pins to connect the nVidia sound device to the speackers but what ultimately worked was using sysctl(8) to change the default primary sound device to the dedicated card. There were a few ways to make this happen but the one I found that actually worked was to place sysctl(8) command lines in /etc/rc.local.

    First I found the device I wanted as the default:

    mforde@gaz:~> cat /dev/sndstat 
    Installed devices:
    pcm0:  (play) default
    pcm1:  (play)
    pcm2:  (play) 
    pcm3:  (play)
    


    Device pcm2 was the one I wanted so I added the following lines to /etc/rc.local
    sysctl hw.snd.default_unit=2
    sysctl hw.snd.default_auto=2
    


    Now when boot completes pcm2 is set to my default and sound "just works" and sndstat shows pcm2 as the default.

    I found ACPI support has some weirdness as ACPI support often does. What I found was that Suspend works from console, but resume doesn't... HOWEVER After I start X ACPI suspend and resume work just fine. Normally I prefer to boot into a console and only start X if I really need it, but because I want suspend and resume to work "by default" I've enabled X to start at boot by allowing the xdm console in /etc/ttys.

    But this had one last issue. See, when manually starting X, I added the -dpi 143 option to get graphics and text to be appropriately sized for my screen. XDM needed to know about this.

    This probably wasn't the best place to do it, but I edited /usr/local/lib/X11/xdm/XServers and modified the call to X(7) to add the -dpi 143 option. Now when Xdm loads at start up, the DPI is set correctly.

    The function keys for adjusting the screen brightness don't work; however, xbacklight(1) works just fine. Similarly the volume keys don't work but I can adjust the volume quite easily with aumix(1).

    I've submitted my dmesg output to NYCBUG's dmesgd repository.

    I suppose I've posted this for two reasons. The first is so I have a record of how I eventually got these little things working in case I have to do it again. The second is in case anyone has similar issues with their hardware; if they happen to stumble upon this, it might give them some hints.

    [/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

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

  •        
    05 Jan 2008

    Google blocks browsers
    Netmeister has an interesting blurb about experience with Google blocking various UserAgents.

    From the posting:

    For example, perl's LWP::UserAgent sets the agent string per default to
    "libwww-perl/#.#". Google apparently doesn't like that and will not
    return results to you. Setting it to something like "Mozilla/5.0 (X11;
    U; NetBSD i386; en-US; rv:1.8.1.3)" would work.
    
    Interestingly, they appear to whitelist agents, rather than blacklisting
    them.
    


    What was that about not being evil?

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

  •        
    27 Feb 2011

    Why does tomorrow have to be Monday?
    Today I decided to be awesome. My friends decided to be awesome too. It was awesome.

    We packed up and drove down to Westfield and ran the CJRRC Hangover 5K. It was supposed to be held January 1, but was rescheduled multiple times due to the weather.

    I ran a PR today finishing in 19:22. I was 4th in my age group and 15th over all.

    My friends ran the race too, all except one who has a broken toe. Everyone was happy with their time and met their goals for the day, ranging from sub-25 to "eh, taking it easy, seeing how it goes..."

    After the race we went cycling. This was my first bike ride outside. I've been working with an indoor trainer for the last few weeks and this was the first time I had been on a bicycle, outside, actually moving, in about 16 or 17 years. My friends have been cycling longer and more recently than I have, so today's 17 mile ride was rather easy for them.

    I was freaking out quite a bit, but they calmed me down, gave me pointers, and just helped me out in general.

    As we rode, I got more comfortable with the bike and I realized comparing this bicycle to my last bicycle is like comparing my DeLorean to my old Mercury Sable. It takes a while to get used to the differences, but once you do it handles far better and offers more control.

    [/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

  • 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 Oct 2010

    It's been a while...
    I haven't updated this blog in quite some time. A lot has happened since the last post.

    First and foremost, I spent about two months volunteering as the Cross Country team's coach for the local Middle School. Due to budget cuts, all athletics programs were cut. The local Police Athletic League stepped up and volunteered to take over the programs. Many of the teachers who have coached in previous years did not want to do so now, so the PAL went looking for volunteers within the community.

    A friend of mine with whom I train put me in contact with the PAL and after an application and vetting process, I became a Rutgers Certified coach and began my duties.

    The team was relatively small, seventeen boys and six girls. Having never really worked with kids before, I was glad that this year's team was half the size of last year's; however I was still apprehensive about working twenty-three middle-schoolers. Thankfully, several parents helped me throughout the season. One in particular was there with me for almost every practice and every meet.

    I tried to emulate the aspects of my middle and high school coaches that I thought worked, and tried different approaches in an attempt to avoid the aspects I had never liked. I wanted to motivate and inspire these kids.

    I told them about my history as a runner: my experience in 8th, 9th, and 10th grade, my first 53-minute 5K on the treadmill in March of 2008, my marathons, my personal records, and my improvements over the last two years. I told them I would never make them do any thing I wouldn't do myself in training. And I ran with them. Whether the day's training was 100 and 200 meter repeats, running the course, "time on feet" running, or fartlek's, I ran along side them.

    During one session I was catching up to the lead group, the fastest of the 7th and 8th graders, and asked, "Are you really going to let an old man with bruised ribs keep up with you?" One of them turned and said, without breaking pace, "You're not that old and you run marathons."

    During the Cross Country season, in the last six weeks or so I've run a few races and set a few PRs. On September 19, I ran the Marathon Tune-Up 18 mile in Central Park. I set a new 18-mile PR at 2:27:34, taking 18:56 off my time from last year. Also of note, I didn't end up in medical being treated for hypothermia this year.

    The following week I ran the 5th Ave Mile. I shaved 9 seconds off from last year's race and 3 seconds off my previous best in training. My new mile PR is 5:25.

    About 2 weeks later I ran the Hartford Marathon. My friend and I got there very late the night before the race. Because we were stuck in traffic for about four and a half hours, my friend missed the on-site registration. He debated what to do while we went to dinner at a local tavern. I promptly felt sick after eating.

    The next morning we got and got ready to run. I still felt sick from the night before and threw up the previous night's meal shortly before we went to the registration packet pickup. I got my bib and timing chip and my friend failed to convince the race officials to let him enter. When he asked, "can I run unsanctioned?" the response of the somewhat sympathetic official was, "I can't tell you that you can." So my friend decided to run unsanctioned. After all, no one said he couldn't.

    We lined up in the corral. Despite the way I felt, I knew I had to go out there and run my best marathon. I had told the Cross Country team what Prefontaine had said, "To give anything less than your best is to sacrifice the gift." I had to go out there and try to PR. But as Yoda said, "Do or do not; there is no try."

    I started the race keeping the 3:45 pace group in my sights. My friend kept along side me for the first three miles then fell back a bit. I had some conversations with two runners in the pace group, Gavasker, the pacer, and Jen, a woman who was looking to BQ. I kept with them the whole way and finished in 3:43:32.

    Unbeknownst to me at the time, my friend dropped out at mile 8 and made his way back to the start/finish area. He was there at the finish line, waiting for me as I crossed the line just ahead of Jen who BQ'd with 2 minutes to spare.

    The next morning I went out with some other friends and ended up running another 24 miles putting me at 50 miles for the weekend. Monday evening I ran in a charity 5K with another friend, and then took a few days off.

    Since then, the Cross Country season has ended. They had their last meet, a few more days of practice, and then this past Wednesday they had team photos followed by an end-of-season pizza party.

    At the party the kids presented me with a plaque to say "thank you." I damn near cried when I unwrapped it and saw the photo taken at one of our practices. But if anyone asks, I'll deny that part.

    Plaque

    The 6th and 7th graders also asked me to come back and coach next year. During and since the season, I've run across some of the kids in town. Every time, they come up to me and say, "Hey coach!" And that means the world to me. It makes me think I've succeeded, that there's a possibility I've inspired them to keep running. Hopefully they'll love running as much as I do, if not more.

    I've encouraged the kids to enter our town's annual 5K next weekend and several of them have signed up. I'm looking forward to running with them again.

    [/running] [permanent link]