Recently in Grumblings Category
root@spencer-laptop:~# cat /etc/modprobe.d/wlan.confoptions iwlcore led_mode=1
So I did the upgrade and after I noticed something new and very annoying. I use an HP laptop- Compaq 8510w, which has two led indicators for wi-fi. They have always simply been on when my wireless is on, or off when it is off. Never more than that. Well, after the upgrade those leds started blinking according to my wireless usage. At first I was like, "what the heck? What did I do to make that happen?" What ever it was, I was not pleased. It was so distracting that I was thinking of covering up those leds with black tape.
I then searched on google for any one else with a similar problem and I found one. Unfortunately I can't find it again right now, but the post I found mentioned the same latop and a similar problem but on Fedora.
I've been using Ubuntu for a few years now and quite like it. And when I saw they had released 10.04 I was excited to upgrade. The last two releases I did an upgrade-in-place with their upgrade tool and I didn't run into any major problems. So I did the same thing for this release. But that's where this story begins.
First I noticed that I was getting warnings and errors related to my X.org config. This was very alarming since I've never seen that before and I don't run any thing unusual in my x.org config. I tried a few different things to address it but could never really solve the problem. Then I noticed that rhythmbox was always crashing on me. Like all the time. Oh and my startup applications would never start up as they were supposed to. And compiz wouldn't work due to complaints about in correct driver even though I did install the correct one.
So after complaining about it for a week to my coworkers they suggested that I back up all my important stuff and then do a fresh install. Complety wipe it and install from scratch with 10.04. So I bought an external hard drive (500G) and did that. The fresh install was soooo easy and quick. I then carefully restored data back to my home folder. If you are doing this be careful not to copy back .gnome2 or .gvfs or anything .g* or at least be very cautious in doing so. Those could break things on an upgrade like this.
Conclusion- the fresh install worked beatifully. Ubuntu 10.04 works great and i'm not seeing any of the problems I had earlier. In fact it also fixed a completely separate issue I was having with my wireless card. So I'm definately still an Ubuntu fan.
Sleep is an interesting thing. For some people it is an absolute necessity for basic functioning from day to day. For others it is just a nice-to-have optional sort of thing. However, when you go for long periods of little-to-no sleep, anyone will feel the effects.
I'm trying my best to keep my lack of sleep from affecting my day to day behavior and general happiness, but it's hard. One of the main things that helps is good food and a good shower.
ORMs (Object Relational Mappers) are a basically a way to have a OO layer between your application code and your RMDBS. There are some basic "features" of an ORM, but not all ORMs support all of these. In any case here is a list of common features:
- OO interface to tables, rows, functions, etc, in your database. So you can use native application code and OOP to interact with your data.
- A more elegant/simpler API to interact with your database. Many ORMs use some other database API under the hood, but add routines and interfaces (or simplifies calls) that the normal API lacks.
- Object (data object) persistence. So that you can create an instance of some data you are modeling and then be able to store that object and revive it later with state preserved.
- Abstract the interaction between your application code and your database such that in the future if/when you need to move to a different database you application code will require as little change as possible. Ultimately, changing databases should be a matter of configuration files, or perhaps even less work. And your app code wouldn't even know the difference between Postgres, MySQL, SQLite, or something else.
