technology

Ubuntu 10.04 and Jupiter

I've been experimenting with Jupiter (currently version 0.0.51) on my Ubuntu 10.04 notebook to see if I could improve the battery life on this old System76 Serval (version 5). Though there is the applet built in Mono to that is accessible to the user to quickly adjust a few options, the real meat are the scripts it places under /usr/lib/jupiter that are run a notebook is placed on AC power or not.

Unfortunately, it looked like the scripts were not detecting whether the notebook was running on AC or battery power properly. While looking around those scripts, I think I found the problem in /usr/lib/jupiter/scripts/state. In the script on line 10, it looks for an AC device in /sys/class/power_supply that contains either a ADP or AC in the name, and on the next line it points to the online file in that device.

Unfortunately, on my Ubuntu 10.04 setup, there was no device with that name, only the battery was shown with the name BAT0. In this device, there is the file status available that seems to contain either "Discharging", "Charging", or "Full" (and possibly other states) depending on the current status of the battery.

Upgrading to Drupal 7

Finally made the plunge and upgraded this and my anime blog to Drupal 7, skipping 6 in the process. It's been running Drupal 5 for way too long and an upgrade was long overdue.

Hopefully, I have some time to fix the now-broken [img_assist...] tags in the old entries. Too bad there was no upgrade path for that feature.

.htaccess and Subdirectories

Well, in interests of getting some content on this rather dead blog, I figured I should post what I just figured out in terms of how to setup a .htaccess file to handle a website that actually setup in a subdirectory under the main webroot directory.

Running on Fiber

I am now running off of LUSFiber Internet. We picked out the top tier with its 50 Mbps symmetrical connection1. Of course, after getting it setup, I couldn't help but run some speed tests on it from speedtest.net2:

:jawdrop: ... I thought I was on 50 Mbps symmetrical? Oh well, I'll take it!3 :)

  • 1. with 100 Mbps to connections inside the LUS fiber loop
  • 2. the system seems to want you to pick the Baton Rouge server, but I couldn't get the speeds past 5 Mbps down or up there. The Dallas, TX server, on the other hand...
  • 3. This definitely is strange, unless that particular server is considered to be within the "100 Mbps" local loop for some reason...

LUS Fiber equipment on telephone pole closeup

Closeup of some LUSFiber equipment. Note the orange LUS tag on it.

Taxonomy upgrade extras:

LUS Fiber equipment on telephone pole

Picture of the equipment install for LUS fiber drops to nearby houses. These were installed every 2-3 poles down the street.

Taxonomy upgrade extras:

Eating Fiber later this month...

Emails from LUS1 announces that Fiber service may be starting this month. I can't wait.

Plans for the weekend

I've set the bar for myself to leave the house some time over the weekend1 and attend Lafayette CampFiber tomorrow. I've been getting a bit down and burnt out lately; hopefully this might get me out of that funk and maybe get me some ideas.

I shot the survey

[img_assist|nid=168|title=|desc=|link=url|url=http://www.alistapart.com/articles/survey2008|align=left|width=640|height=164] I don't remember if I took part in last year's A List Apart survey, but I definitely took it this year. If your employment involves designing and building websites, please take this year's survey from A List Apart.

Version Control in Your Workflow

A List Apart has an article about using Subversion to help with collaboration, especially with contract workers. Though there are some superior version control systems mentioned in the comments, like git, mercurial, or bazaar, they don not have the client support that Subversion has as of now. I especially use the Subclipse plugin for Eclipse for my work and checking code in and out of Subversion is a quick right-click away.

More importantly, how much client support for Subversion there is makes it easier to get other developers on board using it1.

  • 1. Yes, most developers I work with try to do as little as possible on the command line...

Pages

Subscribe to RSS - technology