Log in

No account? Create an account
Adventures in Engineering
The wanderings of a modern ronin.

Ben Cantrick
  Date: 2008-08-21 16:41
  Subject:   Best FireFox about:config settings.
  Tags:  reddit

1) Adjust the Smart Location Bar’s Number of Suggestions

In Firefox 3, when you start typing in the location bar, a drop-down list of suggestion URLs will be shown. If you want it to show more than 12 suggestions (12 is the default), you can adjust the browser.urlbar.maxRichResults keys and get it to show the number you want.

Config name: browser.urlbar.maxRichResults
Default: 12
Modified value: Set to your desired number of suggestion. If you want to disable it all together, set it to -1


I just set mine to 5, and I like it much better this way. Changed several other settings too, including "click on URL box puts insert caret where you clicked", which I like a lot better than the default "highlight whole URL" behavior. And I have a feeling that a lot of people will really like the "release memory upon minimize" setting...
Post A Comment | | Link

Ben Cantrick
  Date: 2008-08-21 17:08
  Subject:   Susan Eisenhower goes independent.
  Tags:  politics, reddit

This week, I changed my registration from Republican to independent. The two political parties as they exist today, and the partisanship that they foster, reflect the many fights of the cold war, the Vietnam era, the post–cold war and the 9/11 periods. Today we are in a different place altogether, where our security as a nation is challenged not just from abroad but also close to home. The energy, health-care and financial crises threaten our national prosperity and well-being, just as surely as any confrontation overseas or an attack by radical terrorists.

As an independent I want to be free of the constraints and burdens that have come with trying to make my own views explainable in the context of today’s party. Hijacked by a relatively small few, the GOP of today bears no resemblance to Lincoln, Roosevelt or Eisenhower’s party, or many of the other Republican administrations that came after.


Both Republicans and Democrats would do well to follow her example. Your party is only around because you're too damn lazy to think for yourself.
1 Comment | Post A Comment | | Link

Ben Cantrick
  Date: 2008-08-21 17:26
  Subject:   High-Performance Network Programming in C and Unix.
  Tags:  reddit

We want to be well-behaved citizens, which is where non-blocking I/O comes in. The traditional approach of blocking reads and writes on the network is very easy to program, but if you are interested in filling the pipe available to you by pumping packets, you must use non-blocking TCP sockets. Listing 1 shows a simple code fragment using non-blocking sockets for network read and write.


Also covers select(), poll() and mmap().
Post A Comment | | Link

Ben Cantrick
  Date: 2008-08-21 18:01
  Subject:   Robot to human: "LOL, n00b!"
  Music:Kraftwerk - Showroom Dummies
  Tags:  digg

The video below shows a scenario that is likely to become real as industrial robots improve: a human and a robot work together to assemble an object from its parts. But in the clip from the University of Minho, Portugal, not everything is going to plan. The human gets a stern warning from the robot that they are doing it wrong.

The pair are assembling a foam chassis with two wheels. Although the robot has already attached the wheel on its side of the chassis, the human offers it another. The robot - ARoS - is not impressed. "Ah! you want to give me a wheel. I have already inserted the wheel on my side." When the human makes another mistake - offering it a bolt the robot doesn't need - the robot again refuses. It also points out that the human needs it for himself.


1 Comment | Post A Comment | | Link

May 2015