Archive | March, 2009

Books: C++

27 Mar

Currently I am tackling two books at the same time, its probably not the best thing to do when studying programming but I’m not having any problems.

C++

  • Thinking in C++, 2nd Edition, Bruce Eckel

C

  • The C Programming Language, 2nd Edition, Kernigan & Ritchie

Pointers

  • Reading this article of about 50 pages on Pointers by Ted Jensen

Installing Ubuntu on Acer Aspire One

24 Mar

Installing Linux on the Acer Aspire one is a hit and miss proposition as you don’t know how much work you will to do to make it work smoothly and without a hitch.

Until now I had fedora 10 installed without any problems and while I had not tested everything on it the wifi was working out of the box which was fantastic and saved me a lot of trouble of going through the internet and mucking about the system until it worked. The only problem I had was that the font size was on the large side and even though I made adjustments to the font size to make it smaller it kept bugging me. Also note that the fedora software repositories are vast and installing things is a breeze and usually involves just finding the RPM -> download and let the package manager install it.

I gave Ubuntu another try last night and despite my earlier grief I managed to get the wifi working, and now its still working almost 24 hours later although I haven’t updated the system in fear of the wifi failing again.

Installing Fedora or Ubuntu.

Part A
Getting the OS on a USB:

  1. Download the OS from the Ubuntu website
  2. Download Unetbootin
  3. Plug in a formatted USB which is 1GB or more
  4. Open Unebootin and look for Disk Image and select it and where the ‘…’ are press and go to where you downloaded Ubuntu and select it. *
  5. By default it chooses the USB, so all you need to do now is press ok and wait while it creates a bootable USB.
  6. After it is done reboot and press F12 when you see the ACER startup screen.
  7. Choose the USB option.
  8. Select default and wait for the Ubuntu Live CD to load.
  9. * Alternatively you can skip step 1 and use Unebootin to download the Ubuntu distribution you want to use.

    Part 2 coming tommorow.

Programming Challenge: Battle Ships

14 Mar

I have been studying programming for about a year now and want to challenge myself to see how much I know and still need to learn so I decided to make a small game based on battle ships.

Its going to be a fairly simple console based version to which I am hoping to add features and functionality as I learn more and more.

Specifications:

  • Written in C language to be ported later to C++ or C# and made a console program
  • Should display the screen using X
  • The ships will be displayed using DDDD for destroyer, and be allowed to place vertical or horizontally
  • Basic battleships rules apply
  • It will have single player initially and hopefully multiplayer on both the same machine and over a network
  • Cross platform compatibility on Linux and Windows
  • Specs maybe changed or updated at a later date

Software Used:

Tea is yum

9 Mar

It has been a long time since I posted last and since then and I have been making tea a lot, and that got me thinking which kind of tea or method of making tea is the best.

I usually prefer to have black tea steeped in water and boiled for about 5 – 7 minutes and then add a little milk when I have the time to make it. But usually end up having to make my tea in the microwave with with a little milk, its not too bad but I prefer the cooked tea.

When I have green tea I like to put water to boil in a kettle and then pour it in a cup with a tea bag and let that steep for about a minute and a half.

Oh its often nice to have cardamom seeds in with the black tea or cinnamon with the green tea.

So how do you make your tea?

%d bloggers like this: