October 2007 Archives

Rolling in Internets

| 2 Comments | No TrackBacks

Well, it finally happened. I caved. I bought Internets everywhere with a Sprint plan and the Novatel USB727 doohickey. Bonus points to Novatel for packing a GPS and a EVDO rev A modem into such a small package and providing working Linux instructions involving only standard kernel serial drivers!

Novatel USB727

My critique of the instructions is also a strength: they're looong, repeated several times for various distributions, but also totally idiot-proofed. At the very end, the steps to quickly get the modem dialing from the command line are presented.

Instruction for using the Sprint U727 in Linux, (and very likely the Verizon USB727, too). Here's what works for me:

  • First, add this line to /etc/modprobe.conf:options usbserial vendor=0x1410 product=0x4100
  • Create /etc/wvdial.conf with these contents:

    [Dialer Defaults]
    Modem = /dev/ttyUSB0
    Baud = 460800
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ISDN = 0
    Modem Type = USB Modem
    Phone = #777
    Username = ''
    Password = ''
    Carrier Check = no
    Stupid Mode = yes
  • Then, each time you want to use the modem:
  1.  Insert the USB modem.
  2. Wait for the device to be recognized as a cdrom.
  3. eject /dev/cdrom(since I don't have any other cdrom - you might need to eject /dev/cdrom1 or something)
  4. Wait a beat.
  5. wvdial
  6. route add default ppp0

Things that make MySQL dumb

| No Comments | No TrackBacks

http://forums.mysql.com/read.php?92,133026,133102

Hi. Since the updates on a memory table should be very fast, the locks are taken for a very short time only. I won't expect that they become a bottleneck. But I must admit that I don't have any experiences with applications like this. If they do indeed become a bottleneck, you could try to use a transactional engine that uses row level locks, like InnoDB. But I guess that the overhead will outweigh the improvements in locking. Regards Ingo

Ingo Strüwing, Senior Software Developer - Storage Engines MySQL AB, www.mysql.com

Ouch, man. That's my cerebellum you're destroying.

Coloring in the planet

| No Comments | No TrackBacks

Earth swatchesGrey is so out! Blue? Green? Hmm, how's brown these days?

First of October ToDo list

| No Comments | No TrackBacks

Here we go...

  • Done! Edit draft-ietf-ipv6-ra-flags-option-02 and draft-weiler-dnssec-dlv-04
  • Done! Submit draft-ietf-sieve-refuse-reject-05
  • Done! Release libSieve 2.2.6
    • Update docs
    • New callbacks for address and header parser errors
Saw Raw & Uncut Festival and Balkan Beat Box on Saturday evening. Hurrah for fun!

Tweets

Loading . . .

Categories