I just created my first C program!!

I'm very excited. I followed a tutorial here:

and coded a cute little calculator app you can run in the terminal (under any linux box, but if you have windows you'll need to have a C compiler and you'll need to compile it)

Here's the compiled version

To run, open a terminal and drag the file into it and then press enter. The program should start. I'm not sure, however, because I have an AMD64 processor, so it might not work with 32-bit. If that's the case, follow directions below.

And the original code to compile yourself/edit/look at

To compile under linux (works without any problems under ubuntu default):

Open up a terminal and type in:
cd /home/your_username/Desktop/ (or wherever else you downloaded the file)

Then type in:

g++ calc.c -o calc

(you'll get this error: calc.c:52:157: warning: trigraph ??! ignored, use -trigraphs to enable, but that's normal)

Then type into the terminal:


to run the program.

EDIT: I changed the program around a bit so that it now looks better and quizzes you! Get the code/compiled here:


to compile do the same as above, except the command should be
g++ calcquiz.c -o calcquiz

Compiled (on AMD64):


Feisty is OUT!

The new version of ubuntu has been officially released! What they say about it:

The Ubuntu community have been working to bring you the latest and greatest software the Open Source Community has to offer. This is Ubuntu 7.04 and it comes packed with a host of new features including data migration from Windows, new and easier ways to install multimedia codecs, binary drivers, as well as networking improvements and of course, GNOME 2.18, the 2.6.20 kernel and more.

You can find out more about ubuntu by going here: http://www.ubuntu.com/getubuntu/releasenotes/704tour


Feisty Successfully Installed on Father's Laptop

Now, he still has Windows on it (he wants to be able to access audiobooks from the library, and they use some WinDRM stuff (grrrrrr....), but that's ok.

Anyway, the reason that I put it out there is I am very excited to say that though his computer has quite low specs it still managed to do the "desktop effects" (that's Compiz, from which Beryl comes) quite well. I was very surprised when I saw wobbly windows on the laptop!

Also, since my dad has a newer hard drive than I do on this awesome computer upstairs in my room, everything runs really fast (unless there's some heavy cpu processing involved). I am actually quite envious of my dad's laptop now, and am hoping that sometime soon I can get a SATA hard drive or two. I have about 5 SATA ports built-in to the motherboard, and that's great but I need the hard drives.

Then my computer would be absolutely perfect (well, not really because I'd need to get 4 gigabytes of RAM first, but that's ok) and I would have no complaints about the hardware.

I am extremely satisfied with the computer when I consider the price I paid for it, though: ~$350! (that includes a 256MB graphics card and an AMD64 cpu)

OK, back to the laptop.

My dad uses a Belkin wireless card for his Winternet, and when we plugged it in under Ubuntu, the lights didn't go on. But by some amazing coincidence the complete, perfect directions for using ndiswrapper had just been on digg a few days ago, and I had bookmarked the page. Following the directions, the wireless WORKED and now there's nothing keeping from my dad staying on Ubuntu, except the New York Public Library and that annoying OverDrive Media Console that they use.

Here's the guide that is awesome for ndiswrapper: NdisWrapper: The Ultimate Guide - LinuxQuestions.org

I am very happy with the Ubuntu Feisty Beta that I and my dad are using now. One annoying thing is that you have to download about 45MB of updates per day... But that's not a bug or anything--the release is next week!

Still having problems with the kernel, and am going to try a fix suggested for me right now.

A Pretty Nice Blog

This is a schoolmate's blog. It's contains pretty funny videos and music. I like it, so I've subscribed to the feed on Google Reader.

Perhaps you would like to too.



Windows XP to be phased out by year's end despite customer demand [DIGG.COM]

Computer makers have been told they'll no longer be able to get Windows XP OEM by the end of this year, despite strong ongoing demand for the OS. Analysts and computer makers are wondering if the move is premature given Vista's ongoing issues -- Dell has even reintroduced XP on a range of machines due to customer resistance to Vista. >> GO UBUNTU, GO!!!!!

read more | digg story


Ubuntu Feisty Fawn Default Wallpaper

I couldn't find it anywhere else on the web, so I decided to upload it here directly from my computer. It's quite nice in my opinion, and I wanted to put it on my Mac (I use the mac for Skype video).

You can find it on your Feisty computer under /usr/share/backgrounds/warty-final-ubuntu.png . I have no idea why it's named that (that was the name of the ugly brown warty theme), but it's obviously some beta thing that will be changed... OR WILL IT?!?!?