Book!

I have literally no idea why I might have ordered this book, but I’m unpacking stuff.  And just look at this cover:

That’s just totally fabulous.  And the book feels fantastic.  I want to read it right now!  But I’m not going to.  Probably next week.

Note To Self

This is how you set up the digitemp device the next time the SSD breaks down and you’ve forgotten to back up the /etc directory:

[larsi@stories ~]$ cat /etc/udev/rules.d/20-digitemp.rules
ATTRS{idVendor}==”0403″, ATTRS{idProduct}==”6001″, MODE=”0666″, NAME=”digitemp”

It’s “ATTRS” now, not “ATTR”.  Or “SYSFS”.  Thanks a lot, udev people.  Changing the names to be used in the conf files all the time really helps.  A lot.  Thanks.

stories:~# digitemp_DS9097U -s /dev/digitemp -i -c /etc/digitemp.conf
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU General Public License v2.0 – http://www.digitemp.com
Turning off all DS2409 Couplers
..
Searching the 1-Wire LAN
2815ECE002000053 : DS18B20 Temperature Sensor
ROM #0 : 2815ECE002000053
Wrote /etc/digitemp.conf

Now we have a conf file, so we can use the device:

[larsi@stories ~]$ digitemp_DS9097U -q -c /etc/digitemp.conf -a
Jun 28 13:55:11 Sensor 0 C: 23.81 F: 74.86

Couldn’t be simpler.

Useful Consumer Review

I’m going to the Kongsberg Jazz Festival this weekend, but the schedule on Saturday is the weakest it’s been in years.  So we thought we’d do a micro-hackathon.  And then I needed a laptop with functioning built-in 3G. 

And I needed a new one for work purposes, anyway.  I’d never use it for anything but work.  It’s a work laptop.  Not a Gnus hacking laptop.  Nuh-uh.  So there.

So I got this Lenovo Carbon X1, because it has a trackpoint mouse thing.  I hate trackpads.  I installed Fedora 19 on it, and everything basically worked, except the 3G.  Naturally.

But after duckduckgoing (that verb should be shortened) a bit, I found the cause and the solution.

Apparently, the 3G cell phone thing doesn’t support something called “nbim”:

[larsi@building ~]$ lsusb
Bus 003 Device 002: ID 0bdb:1926 Ericsson Business Mobile Networks BV 







This is fixed by this tiny conf file:


[larsi@building ~]$ cat /etc/modprobe.d/avoid-mbim.conf
options cdc_ncm prefer_mbim=N

Reboot, and then it just worked.

So now I’m installing bzr Emacs and git Gnus, and then I’m ready to go.  Hopefully some Gnus bugs will be closed on Saturday.  If the amount of beer at the hackathong is just right.

Chirp

Every night at 2AM this bird starts chirping outside my window:

After a while, it realises that just because it’s getting lighter, it’s not actually morning yet, so it goes back to sleep, and doesn’t get up until 7.

But what kind of bird is it?  It makes a lot of varied sounds, and I haven’t been able to actually see it.  It’s hiding in the trees.

Inquiring mind wants to know.