Personal vs. Political Lives

I’m sure everyone out there has heard about the cheating South Carolina governor, Mark Sanford.

Picture from USAToday: http://i.usatoday.net/news/_photos/2009/06/24/sanfordaffairx-large.jpg

Picture from USAToday: http://i.usatoday.net/news/_photos/2009/06/24/sanfordaffairx-large.jpg

I don’t politically like the man, he is a polar opposite to my views in almost all ways.

That being said, I don’t care whether he has an affair. Big deal. He fails at his job as a husband. The people of South Carolina did not elect a husband, they elected a governor. As a governor, he isn’t adversely affected by having an affair. Apparently being unreliable is a habit of his, not a new trait due to this incident. He was an idiot to pay for the flights with state money, but obviously he isn’t the brightest governor around.

That goes for all politicians caught cheating or doing other bad things in their personal lives: I DON’T CARE. I highly respect and agree with politicians such as President Obama, for instance. If he was caught in an affair right now, with five seperate women, I would lose some respect for him as a person, but that has nothing to do with how good of a politician he is.

I find it unfortunate that many potentially great politicians have been effectively disqualified from government because the American people have decided that fidelity is more important than how well their elected officials are doing their actual jobs. The examples abound.

Picture from Washington Post: http://media3.washingtonpost.com/wp-dyn/content/photo/2009/06/17/PH2009061703705.jpg

Picture from Washington Post: http://media3.washingtonpost.com/wp-dyn/content/photo/2009/06/17/PH2009061703705.jpg

John Edwards was a fairly promising Presidential candidate when news of his affair broke. Now he is doing nothing instead of being in Washington.

Bill Clinton was the President, and almost impeached because he had an affair. A fairly timid one, at that, compared to others.

The examples go on and on. Why are Americans more likely to condemn a politician for being disloyal to their spouse than, say, corruption?

As an Illinois resident, I can confidently say I have experience bad politicians. Both (!) of our last two governors are currently in prison for corruption, embezzlement, etc. Oddly enough, they have both been loyal to their wives. Morality in one way does not indicate morality in others.

Well, that about concludes my rant regarding fidelity vs. doing your job. Enjoy, share with your friends. Leave comments.

Resuming Posting

I am bored, so I have decided to resume posting to my blog. It’s been a while. Now that I have my aforementioned Android phone, I can post from there as well. I will try.

It may end up being all rants and such, but, hey, why not. I might as well.

I have an android phone

I just got an android phone, and it is awesome. About a million times more open than iphone plus background apps = perfect.

Qwerty keyboard is nice too.

Posted this to see how it works for blogging. I may start posting more often if I can do it from my cellphone…

Why does the YouTube video player suck?

These days, flash players can do amazing things. Look at Hulu, Veoh, and 5min’s incredible players. However, Youtube has used the same, basic, crappy flash player that they have for years. It’s big, ugly, and doesn’t even work well. It has A/V sync issues, can’t handle going to fullscreen and back, no transparency, all of the UI is visible all of the time.

Considering that the player is easily the most important part of the flash player experience, they really need to make a new player.

Not to mention the horrible video quality. Veoh and Hulu in hi-res is actually watchable full-screen, but youtube is horrible.

Gnome users, watch in Movie player! See lifehacker. Don’t forget the Hi-def plugin. much more palatable, and faster as well. another plus is lack of idiotic comments.

Fix for can’t start graphical apps as admin.

Earlier today I would get an error about not being able to read the users Xsession file or something when I tried to start any Administrator program from the menu. sudo worked fine, but gksudo (the graphical password entry thing) didn’t.

Solution: full root partition.

Tips to free up space:

  1. Restart. This clears /tmp
  2. sudo apt-get autoremove && sudo apt-get clean (remove cached and unnecessary packages)
  3. check /var/tmp
  4. Maybe uninstall a hefty program or two. Games take up a *lot* of space.
  5. Don’t be like me and make a 10gb / partition on a terabyte hard drive [facehand].

Simple!

Easy Auto-Update Sunlight Wallpaper

I used a post at Lifehacker to create my own, auto-updating, sunlight tracking wallpaper.

It is quite easy. It assumes that your Pictures directory is located at ~/Pictures. Change it in the script if yours is different. Just put it anywhere and execute it. If it doesn’t execute, just chmod +x changer.

Here is the script:

#!/bin/bash
cd ~/Data/Pictures/Wallpapers/
if [ !-e world_sunlight_map_rectangular.jpg ]; then
wget http://www.opentopia.com/images/cams/world_sunlight_map_rectangular.jpg
fi
wget http://www.opentopia.com/images/cams/world_sunlight_map_rectangular.jpg && rm world_sunlight_map_rectangular.jpg && mv world_sunlight_map_rectangular.jpg.1 world_sunlight_map_rectangular.jpg && echo "Finished."

Save it in your home directory.

Use the normal wallpaper selector to set ~/Pictures/world_sunlight_map_rectangular.jpg to your wallpaper. It’s a pretty big image, so most screens will look fine with it. If you want to do anything else to it, I suggest you look into imagemagick or phatch. Note you will need to put the image manipulation in the script so it is run on the image every time you download it.

Then, install gnome-schedule from the repositories. It will add System > Preferences > Scheduled Tasks, where you need to add a new, recurrent task that runs changer every hour. After that, it should auto-update itself with no help from you.

It really is a nice effect. Since Gnome-Schedule uses cron, the linux job scheduler, doing this will add no background processes to your computer, or even slow it down in any way.

Most systems can get some sort of program that does this. Now we have one, and all it needs is one file!

I intend to create a script that does the installation at some point in time. I might even package it in a .deb!

The easiest way to rip DVDs ever.

I like to back up my DVDs for ease of watching on my computer. This was hindered when I switched to Linux, as I had no idea how to do it on Linux. Now, after a while, I have come up with the exact perfect way to rip DVDs.

This guide assumes you have done nothing to begin. (I think! I’ve done a lot to my computer, so no guarantees!)

Step 1: Enable DVD Playback

  • Add the Medibuntu repository to get libdvdcss2. [link]
  • now, install libdvdcss2 from medibuntu and libdvdread3.
  • now, open a terminal and run ’sudo /usr/share/doc/libdvdread3/install-css.sh’ That enables the DVD playback.
  • Download the Handbrake CLI from [here]. Make sure to get the Linux one. Extract it to some folder. Your home directory will work just fine.
  • Now you should be ready.

Step 2: Ripping. (this is the one you do every time you want to rip a DVD)

  • Insert the DVD. If a movie player comes up, close it.
  • Go to a terminal. Run ‘./HandBrakeCLI -i /media/cdrom0/ -o DesiredFileName.mp4′. This assumes that Handbrake is extracted to your home directory and you are in your home directory. Also it assumes your DVD drive is on /media/cdrom0/. I t may be cdrom, or something else. I only tested it by myself. Put your desired filename (plus .mp4 at the end), as the final argument.

This uses the Default Handbrake preset. It’s pretty quick, comes out to 700mb-1.3gb, with excellent quality. It should autocrop as well. For other presets and advanced options, see the documentation. I personally like the default. If you have an ipod, there are presets for that as well so it will play better and at a smaller size on it.

Each rip takes a while, depending on your processor. My Intel Core2 Duo 2.0gHz laptop can rip a movie in about half an hour. YMMV.

This happens to take around half the time of doing this the easiest way I found on Windows.

Daniel

Suspend!

Finally, I got the courage to test suspend and hibernate under Hardy. I am rejoiced to announce that it works better!

My previous issues stemmed from the ATI graphics card in my computer. Suspend worked perfectly, except the screen wouldn’t turn back on…

Now, when I suspend it works perfectly (albeit a bit ugly). It restores great. Suspend is all I ever used anyways, so I am overjoyed. Hibernate still dies miserably, eventually returning me to the screen mostly unharmed, but not turning off.

Overall, I am happy. Now if only I can figure out how to get the open-source driver working (although this isn’t too bad).

No more msttcorefonts!

It seems that one of the first things many ‘Ubuntu for Windoze users’ tutorials include installing msttcorefonts, the Microsoft fonts.

Don’t do it.

You will be amazed at how much better the Internet looks when there is no Comic Sans, no Arial. Arial is really a quite ugly font, you know?

Still need them for some reason? I do, because all of my papers for school needed to be written in Times New Roman. That is no longer an issue, thanks to the Liberation fonts. It’s a set of Liberation Sans, Liberation Serif, and Liberation Mono. They are almost identical, in size and style, to Arial, Times New Roman, and Courier New, the only fonts that you should ever need from msttcorefonts. As a bonus, the fonts are open-source, and available with a simple apt-get ttf-liberation.

Good Riddance to msttcorefonts.

WordPress hates apt:// URLS. Just ’sudo apt-get ttf-liberation’.)

Hardy!

After nearly a month of not having my computer (I was at my Dad’s house w/o good internet), I have been messing with my computer a lot. Mostly with Hardy, as I upgraded yesterday. My install went badly. It did great on installation, but would just go to a blank screen after that. It was a graphics problem. The whole laptop with ATI graphics thing is Linux hell. I finally found a page that helped m,e installed the restricted drivers sans GUI. It’s called The Unofficial ATI Linux Driver Wiki. I do want to get the open-source driver working though sometime. I’m getting a new desktop that can be my fancy graphics machine while this one has better battery life.

That fixed my graphics problem. Hardy is great! Specifically:

  • The new version of Gnome is great, I like the clock applet.
  • Firefox 3 is the default browser. It just worked. Flash was perfect, Media files play inside it. No comparison w/ Gutsy there.
  • New versions of everything. I still have a few programs I build from scratch to get the latest SVN versions, but most of the programs are completely up-to-date now. That’s nice.
  • The network manager seems much more stable now. No idea why.
  • Liferea no longer freezes my computer.
  • Bluetooth is way better. It works out of the box. Mates perfectly, explore devices, puts icons on the desktop. Perfect.
  • Overall the entire system seems faster and more stable.

Bad stuff:

  • Evolution is still way too integrated. I happen to prefer Claws Mail, but I can’t use a custom calendar in the clock applet. This a trivial change, so why isn’t it done?
  • Still had graphics install problems.

I like it a lot though. I really can’t wait for Intrepid Ibex.

p.s. Sorry about the break in articles; reason is above. Somehow, however, my traffic like tripled in that time. I’ll be posting more soon.