How To Set Up a Samba Server in Ubuntu

Samba

So you have a Linux desktop or server and want to share files and/or printers to your Windows PCs or Macs. Luckily, all three operating systems support SMB so let’s use that. With Samba you can share files and printers on your home network and protect your shares with a username and password.

Read the rest of this entry »

Review: Monoprice iPhone External Battery (2200mAh)

Monoprice

Let’s be frank: the iPhone 3G has the worst battery life out of all the iPhones. Add to that the fact that I use my iPhone like a laptop and the battery can die in less than one day. The Monoprice backup battery is only $15 from Monoprice.com and does the job very well. The battery pack should work with all iPods too.

Let’s take a look…

Read the rest of this entry »

Sudoku Solver in Java

SudokuSolver

This is a Sudoku solver that uses arc consistency and domain splitting. Also able to tell if a board has no or many solutions.

Download SudokuSolver

Great iPhone Apps (Free & Paid)

one-billion-apps-hero-20090418

I’ll just list out a few of the apps I have right this moment. If an app costs money, I’ll try to list out some free alternatives. Hopefully you’ll find that they’re useful!

Read the rest of this entry »

How to Use the PS3 Controller (Dualshock 3/Sixaxis) on Windows 7 64-bit via USB

DS3Windows

Get your PS3 controller to work on your PC with MotionInJoy drivers for 32 and 64-bit Windows. This guide will show you how to connect your PS3 controller via USB.

Read the rest of this entry »

Deterministic Linear Time k-Select Algorithm

Code

This is an implementation of linear time selection by Blum, Floyd, Pratt, Rivest, and Tarjon in Java.

Pseudocode:

BSelect(A,k):
    If |A| == 1 return A[1]
    p = GoodPivot(A)
    S = { A[i] | A[i] < p }
    L = { A[i] | A[i] > p }
    If |S| >= k return BSelect(S,k)
    else if |S| == k-1 return p
    else return BSelect(L, k-|S|-1)

GoodPivot(A):
    Divide A into n/5 groups of 5 elements each
    Find the median of each group
    Use BSelect to find the median, p, of the n/5 medians
    Return p

View implementation


Installing eeebuntu 1.0 on an Asus Eee PC 701SD

eeebuntu 1.0

A friend lent me her Eee PC for a few days so I can replace the default Xandros with Ubuntu. Because this install isn’t for me, I’d like to make this setup the least painful as possible to use. After much experimenting with booting without a disc and fiddling with the tiny hardware, I have found the way to install a pretty good setup. In this noob-friendly guide I will walk you through how to install a distribution of eeebuntu and set it up so that all hardware works (more or less).

Before we start let’s take a look at the specs of the Asus Eee PC 701SD:

900MHz Intel Celeron-M
512MB DDR2 RAM
8GB Solid State Drive
Intel GMA 900 Graphics
Realtek Wifi
Attansic LAN

Read the rest of this entry »

Ubuntu 8.10 Intrepid Ibex Experience on a Macbook 2,1

intrepidibexwall

Fresh out of the oven, I test the latest offering from Canonical, Ubuntu 8.10 Intrepid Ibex, on my Macbook 2,1. Currently, I dedicate 32GB of my hard drive to Windows with Boot Camp. Because Wubi for some reason does not work in boot camp, and Disk Utility was being rather wonky, I will sacrifice my whole hard drive to test this release.

Macbook2,1 Specs:

Intel Core 2 Duo 2.16 GHz
1GB DDR2 SDRAM 667 MHz (2x 512MB)
120 GB Hitachi Hard Drive
HL-DT-ST DVDRW  GSA-S10N (LG DVD Drive)
Intel GMA 950 Graphics
Atheros Wi-Fi
Intel HD Audio
Apple Bluetooth

Additional Hardware:

Samsung SyncMaster 225BW External Monitor

This experiment aims to determine the level of hardware compatibility of Ubuntu on the 2nd generation Macbook and not necessarily provide a general review. I will also make comparisons of this release with my Hardy Heron experience post.

Read the rest of this entry »

Review: iPhone 3G FM Transmitter + Car Charger

img_0050

This item appears to be a fairly new product from Hong Kong since I’ve only recently found it on eBay. You can find it there for about $20 and I’ve seen this product in the mall for $45! After a long shipping time I finally received it.

Here is what I have to say…

Read the rest of this entry »

Free iPhone Apps: The Keepers

This page is outdated. New Post.

If you have been having as much fun as I have wih the iPhone apps, then there is no doubt that you’ve come across numerous apps that deserve no more than a few launches. After a few weeks of looking for the best iPhone apps, here are some that I found are genuinely awesome (in roughly the order of appearance on my phone).

This article will be constantly updated as I find more great apps.

Read the rest of this entry »