|
Librenix T-Shirts and Coffee Mugs! |
 vote
 |
|
For today's example of my (semi)elite C programming skilz, I submit for your inspection the Librenix T-Shirts! Yes, I created the images on these shirts and coffee mugs entirely with C code. While the code isn't up to the standards *cough* of my open source Space Tyrant project, at least the output is colorful and not entirely textual!
 click either image to see the T-Shirts, Coffee Mugs, etc.
(If you like the images but don't care for 'librenix' on your shirt, these same styles are available for all 50 US state names as well as with the signs of the zodiac here)
|
|
| | mail this link | permapage | score:9818 | -Ray, June 6, 2010 |
|
Linux dominates Windows |
 vote
 |
|
Linux dominates Windows -- and everything else -- on supercomputers in 2010. Microsoft's renowned engineering quality and down-to-earth pricing shows brilliantly in its capturing 1% of the top 500 supercomputer projects. Perhaps next year, utilizing all the organizational pressure they can bring to bear, they can retain 0.8%.
Formal Unix, now long dead*, controls 4.4%. Meanwhile, Linux is now installed on 91% of the remaining 95% of top systems. Add in the single BSD system and you have Unix-like systems (Unix+Linux+BSD) accounting for 95.6% of the top supercomputer projects. The remaining 3.4% of are 'mixed' systems and may also contain significant percentages of Unix and Linux.
There are many reasons for Linux' success. Among the top factors are surely these four, in no particular order:- Price (starting at free)
- Quality (excellent code, Unix-based design)
- Hardware Support (most all modern quality gear is supported)
- Open Source (open to tinkering -- and redistributable)
Check my math on the top 500 systems here.
*Of course, counting functional Unix systems while ignoring the trademarked term, Unix is clearly not dead since Linux is one of the truest of the true Unix work-alike systems. Linux is, of course, the reason formal Unix has suffered such a precipitous decline. Many Unix users just switched flavors -- and Linux was a most appealing flavor. |
|
| | mail this link | permapage | score:9807 | -Ray, June 2, 2010 |
|
Create mobile Web apps with HTML5 |
 vote
 |
|
HTML 5 is a very hyped technology, but with good reason. It promises to be a technological tipping point for bringing desktop application capabilities to the browser. In this five-part series, you will take a closer look at several new technologies that are part of HTML5, that can have a huge impact on mobile Web application development.- Part 1: Combine HTML5, geolocation APIs, and Web services to create mobile mashups
- Part 2: Unlock local storage for mobile Web applications with HTML5
- Part 3: Make mobile Web applications work offline with HTML5
- Part 4: Using Web Workers to speed up your mobile Web applications
- Part 5: Develop new visual UI features in HTML 5
|
|
| | mail this link | permapage | score:9784 | -solrac, July 15, 2010 |
|
How to install Ubuntu Linux on the decTOP SFF computer |
 vote
 |
|
I recently bought a decTOP small form factor (SFF) computer. My goal was to build a cheap, fanless, quiet, and low power consumption Linux server. For $99 plus the cheapest available shipping, $40, my machine arrived 11 days after I placed the order. This is a tiny computer, about the size of a Mac Mini. But, because it has no fan, it runs a bit quieter and, with the help of a 1-watt, 366 MHz CPU, consumes only 8 watts. For comparison, the G4 Mac Mini consumes about 20-30 watts, depending on load. The decTOP comes with 128 MB of RAM in its sole SO-DIMM slot and a 10 GB 3.5 inch hard drive. I understand that it's a simple matter to replace the drive and to upgrade the memory to a maximum of 512MB. It also comes with no operating system and the ability to boot only from a USB drive. This article details the steps I used to build the USB boot/installation drive and install Ubuntu 6.06 on the decTOP. There is another article -- with additional decTOP links -- here on installing Ubuntu 6.06 on the decTOP with the aid of a Windows system. Fortunately ;), I run Mac OS X and Linux (Ubuntu 7.04), so that article didn't work for me. I did the installation of the Ubuntu 6.06 LTS Server Edition using my Ubuntu Linux box and a 1 GB USB flash drive -- although a 512 MB USB drive should work as well. - Download the Ubuntu 6.06 server ISO image from the Ubuntu download page. Depending on your plans for the decTOP, you might want to choose the desktop version. Unless you have already upgraded your decTOP's memory, however, you'll want to stick with the 6.06 releases.
- Install the mbr, mtools, and syslinux packages on the Linux system you'll be using to prepare the USB drive. If you run Ubuntu or some other Debian-derived system, the following commands may do the work for you.
apt-get install mbr apt-get install mtools apt-get install syslinux - Partition the USB drive with a single FAT-16 partition. I used the fdisk 'n' command to make the new primary partition 1. The fdisk 't' command can be used to change the partition type to FAT-16. My device name was /dev/sda.
fdisk /dev/sda - Make the FAT-16 partition the active partition. I used the fdisk 'a' command.
- Install a master boot record on the USB drive.
install-mbr /dev/sda - Install syslinux on the USB drive. Note that the USB drive should not be mounted when you do this.
syslinux -s /dev/sda1 - Create a mountpoint and mount the ubuntu ISO image using the loopback device.
mkdir /iso mount -o loop -t iso9660 ubuntu.iso /iso - Create a mountpoint and mount the USB flash drive.
mkdir /usb mount /dev/sda1 /usb - Copy the contents of the ISO image to the USB drive. This will take some time.
cd /iso cp -r . /usb/ - Copy the /usb/dists/dapper directory into a new /usb/dists/stable directory.
cd /usb/dists/ cp -r dapper/* stable - Copy several files from /usb/install to the /usb root directory.
cp /usb/install/vmlinuz /usb/ cp /usb/install/mt86plus /usb/ cp /usb/install/initrd.gz /usb/ - Install the following text into a file named syslinux.cfg in the /usb root directory.
default vmlinuz append initrd=initrd.gz ramdisk_size=24000 root=/dev/ram rw - Flush all writes, unmount, and remove the USB drive. After the sync step, wait for all of the data to be written to the USB drive.
sync;sync umount /usb - Connect the ethernet adapter to the decTOP and connect it to your network to allow automatic configuration of the network interface.
- Insert the USB drive into the decTOP and power it up. The decTOP should automatically boot from the USB drive and start the Ubuntu installation.
- Answer only the first two questions concerning language selection and go to the next step, below.
- Press Alt-F2 (hold down the Alt key and press the F2 function key) to open a shell. Then press enter to start the shell.
- Create a /cdrom and a /dev/cdroms directory in the installation ramdisk
mkdir /cdrom /dev/cdroms - Go to the /dev/cdroms directory and build a symlink from /dev/sda1 (that is likely the device name of your USB boot partition) to /dev/cdroms/cdrom0.
cd /dev/cdroms ln -s ../sda1/cdrom0 - While still in the shell, mount the USB drive to mimic an installation CD-ROM.
mount -t vfat /dev/cdroms/cdrom0 /cdrom - Return to the installation program with Alt-F1 and continue the installation.
From this point, the process should be identical to a routine CD-ROM installation. For a grand total of $140 and 8 watts of power consumption, I now have a near-silent Linux server running 24/7. You can telnet to it here and marvel at its blinding speed running a 250,000-sector Space Tyrant game. |
|
| | mail this link | permapage | score:9630 | -Ray, August 16, 2007 (Updated: July 7, 2009) |
|
|