Buildin’

The motherboard for the machine I’m building is set to arrive today. I’ll be able to finish up the hardware and start on the software. The first motherboard wasn’t compatable with 45-nm. :\

EDIT: The machine’s done. I like ASUS boards. They have a nicer I/O plate.

Published
Categorized as Hardware

Interesting…

On Thursday after the choir concert I started losing my voice, so I stopped talking in an effort to not lose it completely. It worked, and was maybe even a bit fun. I still prefer talking in  the long run though. I also noticed something interesting that happened: I could hear better. I’m not sure if it was just because I wasn’t talking so it was quieter, but it seemed I could hear everything more sharply.  In somewhat related news, I’ve noticed that sometimes when there’s something artistically beautiful or significant, a single tear will roll out of my left eye. It’s weird, yeah, but maybe it has something to do with the creative right side of the brain controlling the left side of the body.

Gloom and Doom

The order of the day.

California and Florida fight local fruit + veggie growers.

Scientist predicts global warming is past the tipping point and we’re all doomed.

EDIT: ISPs and other non-regulated communications industries are providing insufficient service. Many staple ingredients’ costs are skyrocketing due to high transportation (read: diesel) costs. PBS has a piece on the suppression of whistleblowing as well as telecom companies getting immunity for what they insist was simply their patriotic duty. Whoever becomes president will have one heck of a mess to clean up.

Published
Categorized as Politics

State of the World

Wow. We’re just sinking further and further. When will we hit bottom?

Police killed a lady, then said she choked herself to death with a 2-inch handcuff chain. Link.

The war in Iraq will soon be going on for 5 years, longer than either of the world wars. It’s now conservatively estimated to cost the United States alone $3 trillion. Link.

There’s also a study out saying that Daylight Savings Time costs more energy in heating and cooling than it saves in lighting. Link.

Published
Categorized as Politics

Wine

The Ubuntu packages for Wine version 0.9.56 were taking a while to reach the repositories so I could upgrade with just two apt-get calls, which is rare. I got impatient, which is not rare, and just compiled my own version.  I uninstalled the repository’s version with apt-get get, checked running wine to make sure it was uninstalled, and ran a sudo make install after ./configure and make && make depend in the source directory. Easy. The problem was that then wine refused to run, saying it could not be found. I tried running make install after su’ing (changing to root) just out of desperation. It worked! So did sudo wine. That was weird. I tried a sudo whereis wine, and found it to be in /usr/local/bin/wine instead of the /usr/bin/wine that my bash was complaining could not be found. I hopped on the IRC and thought out loud, which I guess was a pretty annoying thing to do, but whatever, it helped. I linked /usr/local/bin/wine to /usr/bin/wine, which fixed the problem. This person in the channel told me I shouldn’t do that, and said that bash just needed to restart. I removed the link, (with the logical unlink) logged off my terminals, then logged back in, and it worked! Yay! Well, now I know what to do if I ever run into something like that again. You learn something every day, huh? 🙂

Published
Categorized as Software

Coding

I recently started trying to set up zoneclient to update my DNS listings if my IP changed. I wanted to have it checked extremely often, yet not waste zoneedit’s bandwidth by checking up with them every 3 to 5 hours via cron. This problem was brought into new light when Irfan tried to pull up my site during Biology class and failed. Tandoc was nice enough to let me check what was wrong after class, (we finished a bit early) and my IP had changed, although I could do nothing to fix it from school.

I was having a problem with zoneedit. Although it claimed to support getting my external IP from my router, for some reason it was checking the wrong page. I have no formal or even really informal experience in Python, and my attempts at poking the code produced nothing helpful. I contacted Kal, the sole maintainer of the code. He replied in close to an hour, which was a pleasant suprise. I explained my problem and gave him my logs, and within 5 hours of email back and forth the problem was completely solved! I now have the script running every 5 minutes. Excessive? Yes.

I’m also writing a C++ fish tank simulation program as qualification for Camp CAEN‘s advanced C++  Game Development class. We’re supposed to draw a fish tank in text on the screen, then when space is pressed, randomize all the positions of the fish and draw again. Multiple fish in one position are shown as a * instead of their type letter. This program is also supposed to be able to read in the number of fish and tank dimensions from a file at runtime. When I started it had been quite a while since I had done any C++. The initial part went relatively quickly, (drawing the fish tank, having the fish randomize) but I was stumped with the memory errors I was getting when I started easing the thing into being dynamic and read its settings in at runtime. After spending quite a while troubleshooting with the help of those in ##C++ on freenode, I found that my problems were because I was accidentally declaring a local instance of the member variables I was attempting to initialize in my constructor. Whoops. Let’s see if I make that mistake again in a hurry.

EDIT: Alter Ego!

Electric Cars!

Here’s a very good idea. There’s an article on Forbes. We need to skip the whole painful hydrogen and ethanol and biofuel psudoadvancement and go right to electric cars. Solar peaks in the day, wind peaks in the night. Balance out the load by allowing utilities to borrow power back from the cars, provided the driver has not disabled this ability. (Like they’re leaving soon or something?) Really, why are we even trying to set up another flawed model of distrubution of liquids for powering vechicles? Electricity really is the renewable way to go. Besides, I remember reading somewhere that two thirds of oil in the US is used for millitary use and transporation trucks and the like. Although changes in consumer technology could definitely help, the millitary and transporation and freighting industry will need to get involved too. The article is here.

Server Reinstall

I’ve reinstalled Debian, I felt there was a buildup of bloat on my previous system. While I did this, I moved the site over temporarily to one of my BOINC zombies. I resized my initial partition into the smallest size possible near the end of my drive. I resized the swap partition from an extravagant 3.8GB to a more logical 2GB. I made the rest of the drive another ext3 partition. During all the pre-reinstall tweaking I did, I adjusted the BIOS. I turned off all the onboard stuff except ethernet. I noticed the SiS onboard video card was sharing 32MB of my RAM, so I disabled that. Oops, no video. I had to go get a spare video card and use that. Nothing fancy, just an ATI Radeon LT. All it needed to do was text anway.

I then installed the system, checking Basic System and Web Server as the packages to install, because it seemed to have frozen when I tried SQL server as well. I installed a few basic packages such as lynx and bzip2, copied over the server log and configuration files, and set up the static LAN IP. After making sure the password protection for some server resources were intact, (they were) I pointed the router at the server again. It seems faster, which is everything I was looking for.