making the world a stranger place

Site menu:

Archives

Meta

Links:

Tags

Thursday Twitter Haiku

Haiku are Nature.
Computers aren’t Natural,
But Oak Express is.

Hackintosh

Totally got me a hackintosh running.

From: About this Mac

Model Name:    Mac
Model Identifier:    Mac Pro
Processor Name:    Intel Core 2 Duo
Processor Speed:    2.13 GHz
Number Of Processors:    1
Total Number Of Cores:    2
L2 Cache:    2 MB
Memory:    2 GB
Bus Speed:    1.07 GHz
Boot ROM Version:    Hack.int.0sh

Wasn’t too hard to get running either, once I figured out what I was doing. I’m running an Asus P5B motherboard with a 2.13gig Intel Core 2 Duo processor, 2gig of Corsair XMS2 DDR2 RAM, and an nVidia GeForce 7900 GS 256m video card. It’s got a 160g samsung and a 120g maxtor IDE drive, one with XP Pro and one with OS X Leopard. I’m able to use VMWare Fusion to boot windows inside os x, just as if it were installed with bootcamp. I’m also able to dual boot using the Windows boot loader.  So far, I haven’t noticed anything weird about the leopard install. It seems to run fine, without any problems.

I used the kalaway 10.5.1 dvd, and skiped the vanilla kernel, loaded sse2 support, nvidia desktop drivers, no sound drivers, no network drivers, and mbr boot. I also partitioned the harddrive with mbr instead of guid. I did have to install 3rd party drivers for the audio to work, but it was pretty straight forward, and the drivers are avaliable from the insainely mac forums.

I use a Macbook Pro at work, and I’m glad to finally have a mac I can use, and can force my wife to use, at home.

Subversion Best Pratices

I’m looking to write a subversion best pratices guide for work, so the developers can keep conflicts to a minium, and everything repository-wise keeps running smoothly.

I’m looking for things like, when to create branches, when to merge back into trunk, when to commit, etc…

Leave some suggestions in the comments, and I’ll try to roll them into a catch-all guide that maybe some other people can use.

RSpec Stories On Rails

Congrats on Passing that Test SuiteUsing a story to drive your development tasks is a good idea, even when there is only 1 team member. Writing stories helps you stay focused on the requirements without getting side-tracked into something that isn’t working toward the end goal of your app. There’s always time for script.aculo.us later! Using RSpec stories also means you have tests to run against your code so you know that fixing something probably didn’t break something else.

First thing you want to do is get the RSpec on Rails plugin installed, and generate the RSpec code.

$ ./script/plugin install git://github.com/dchelimsky/rspec.git
$ ./script/plugin install git://github.com/dchelimsky/rspec-rails.git
$ ./script/generate rspec

Stories are broken down into 2.5 files:

  • 1. The Story file - Where the plain text story resides
  • 2. The Step file - Where the different steps in your story are defined.
  • 2.5 The Story runner file - The ruby code that kicks everything off.

Read more »

Compiling MySQL Native Bindings on OS X + MacPorts

 Playing around with the partitions on my mac yesterday, i accidently deleted the efi partition (dumb of me, i know), but I figured it was about time for a reload, so i just sucked it up and wiped the mac clean. 

Going through and installing all the stuff i needed for development, i ran into a problem installing the native mysql bindings for ruby.

Read more »

New Hardcore Mix

Another Bangin Hardcore mix! Hour and a little bit long. Really energetic, good for workouts and other things.

Grab It Here

  1. Top Cat - Walking on the Moon
  2. Vagabond - World of Unknown
  3. Implex - Lost It
  4. Antix - HtID + Dougal & Gammer - Nobody likes the Records
  5. Brisk & Vagabond - Eyeopener 2007
  6. Dougal & Gammer - Fires in the Sk
  7. The Acolyte feat. Amy - When the Rain Comes
  8. Scott Brown - I Don’t Need Nobody
  9. Ultrabeat - Elysium (Scott Brown Remix)
  10. S3RL - Weekend Has Come
  11. DJ Demo & Mickey Skeedale - Love U Now
  12. Euphoria - Drunk With Love
  13. Implex - Silent
  14. Brisk & Ham - Crazy Love (Scott Brown Remix)
  15. Evil Activities - Nobody Said it was Easy
  16. Amnesys - Catastrophes
  17. Yael Naim - New Soul

Slow Samba on OS X

I’ve been using FreeNAS for about a year now to host content for my XBMC and other things, such as my iTunes Library and family photos. One thing that’s always bothered me is on Windows, it’s been fast and responsive, but on my MacBook Pro (running tiger) it crawls at about 150-200kbps, even when plugged into the same switch as the NAS.

Today, I was copying over an audio file (AK1200 Live in San Francisco to be exact) and i finally decided enough is enough. Finally found a way to fix it, that was apparently posted in 2005 (i’m a little slow). It’s not the actual blog post, but the comment under it. So, just in case anyone is having the same problem, here is the solution.

This didn’t work for me, but setting the sysctl parameter net.inet.tcp.delayed_ack to 0 did! For me, the results were dramatic: drag-and-drop of a 100MB .wav file from the samba server took 45 minutes before the fix, and < 2 minutes after the fix. Wahoooo!

Found the info here: http://julipedia.blogspot.com/2006/02/samba-performance-under-mac-os-x.html

[in case that link vanishes, here's the short version:
use 'sudo sysctl -w net.inet.tcp.delayed_ack=0' on command-line to try it (persistent until reboot) and put the line
'net.inet.tcp.delayed_ack=0' in /etc/sysctl.conf to fix it 'permanently' -- note: I haven't tested the latter yet. I had to create the sysctl.conf file, and haven't rebooted yet]

and a good discussion of *why* it works, starts at the bottom of that same blog entry, then links to the crux of the problem here:
http://mail-index.netbsd.org/tech-net/2003/01/28/0004.html

[It's a TCP bug inherited from the FreeBSD stack - the same bug was fixed in NetBSD back in 1997, and Apple has known about it since before Jaguar release]

Tags: , , , ,

2008 Summer Mix

Made a new mix the other day. It’s only 40min long but it’s pretty cool. Newer hardcore stuff. Check it out.

Grab It Here

DJ Ham - Jam for Me
Druid & Stormtrooper - Panic Relick
Sy & Unknown - What a Great Drug
Expression - Total Darkness
Druid & Stormtrooper Ft. Kristy - Electrified
DJ Ham - The Beat Kicks
Brisk & V.A.G.A.B.O.N.D. Ft. DMO - In Control
Matt Envy - Twisted Love
Robbie Long & Stormtrooper - Reach for the Sky
Brisk & V.A.G.A.B.O.N.D. Ft. DMO - Away from Here
September - Cry For You (Darren Styles Club Mix)
DJ Seduction - In Dreams
DJ Ham - Right Now
DJ Ham - Night to Remember
Sy And Unknown Feat. Lou Lou - Right Here
Matt Envy & Frooty - In Your Arms
Robbie Long & Devastate - Still Got Power
DJ Seduction - At Night (Energize)

Switching to WordPress

I know, you’re tired of me switching blogging engines every few days, but i promise you, this will be the last…for now.

Testing the audio thing. This is a song by DJ Earworm, United States of Pop.

Re: Re: Five Ways Vista is better than OS X

I was reading Chris Pirillo’s blog tonight, catching up on some stuff, and came across this: Five Ways Vista is better than OS X? where he gives his side of a blog article by Preston Galla’s article (by the same name)

Chris claims he is tired of the bickering between OS X and Windows users (as is just about everyone else) and tries to counter-argue the points brought up by Preston, and I couldn’t help but throw my hat in the ring of fire too! I’m going to throw my comments inline with Chris Pirillo’s commentary. Read more »