Using a 1D array like a 2D (or 3D) array

So I’ve been working on a 3D graphics project for school, and I’ve come across an inconvenience: while g++, the linux compiler, will happily let you declare a new multi-dimensional array with a variable as the size, Visual Studio (the MicroSoft compiler) complains that such a daunting task is too difficult — “I expect a [...]

No Comments »

Torrent Management System with rTorrent and Bash

I do a fair amount of torrenting, mostly for TV shows. A college student’s schedule doesn’t always allow for sitting in front of the TV on a certain night during a certain timeslot . Nor does it allow for micromanaging my torrents — making sure I have enough, but not too many, [...]

1 Comment »

Auto-Update Sun Map Wallpaper in KDE4

Yesterday, LifeHacker posted an article on setting up an auto-rotate wallpaper in Gnome. Now, KDE4 comes with this functionality out of the box - just point the desktop configuration to an image folder, and it will rotate the images in user-specified intervals (with a minimum of one hour). However, one comment by joelena [...]

2 Comments »

Hosting a Website: The Server

A server, in the basic sense, is a computer which runs a program (also called a server or server application) that provides a service to other computers. This could include an HTTP (or web) server, a DNS name server, a mail server, a VNC server, an SSH server, an FTP server — and many, [...]

No Comments »

Install the Latest rdiff-backup

Lately, I’ve been setting up a home computer backup system using rdiff-backup. I use rdiff-backup because it stores incremental backups and it can send the backups to a remote server over SSH. This means that, once you get passwordless SSH running, you can set up various cron jobs to backup your files to [...]

No Comments »