iPC first boot and problems

Posted by Andrew Premdas Sat, 03 Jan 2009 15:02:26 GMT

We are now ready to boot our new osx86 installation. Choose the correct drive using you bios then when you get to the boot menu press any key. Select correct partition. IMPORTANT set boot flags to -f -v

iPC post installation

Posted by Andrew Premdas Sat, 03 Jan 2009 14:33:22 GMT

Once you've installed the iPC osx86 distribution, there are a number of system dependent things you will want to do. Here is what I do on my main system

iPC osx86 distribution

Posted by Andrew Premdas Sat, 03 Jan 2009 13:43:50 GMT

This is my choice of distribution for osx86

Osx86 Overview

Posted by Andrew Premdas Sat, 03 Jan 2009 12:56:18 GMT

Running a hackintosh as my main desktop involves keeping on top of quite alot of knowledge, which I'm prone to forget. This combined with the rapid development of hackintosh technology and the vastness of the osx86 forums means I need to keep more documentation about what I'm doing. Here I'll do an overview

Updating hackintosh

Posted by Andrew Premdas Fri, 02 Jan 2009 13:42:07 GMT

A Long Awaited Update

I've put of updating my hackintosh for ages, but having finally got my replacement raptor from Western Digital, I've bitten the bullet, and in the processed destroyed my old desktop account!!

The osx86 distro I'm using is ipc, see also osx86 forums

The best thing about this distribution is you can just run the iso from a hard disk and install directly to a partition. This is very quick. The worst things about the distro is that its a beta, its cutting edge (10.5.6), it has loads of options and little documentation and it has some bugs.

However I've been able to get it working as follows

Simplest IPC Installation

Run iso and do following with settings

  • deselect Language Translations
  • Drivers | NVidia | NVdarwin 256 MB (works with 2 monitors - nvinject doesn't)
  • Fixes and Patches | DSDT | Patch DSDT

The other setting which I've tried and think I should use is

  • Fixes and Patches | Shutdown/Restart

Shutdown is now working on this install, but it seems slow

Install the above to an "empty" partition and then boot.

Menu Icons

Posted by Andrew Premdas Fri, 02 Jan 2009 12:54:18 GMT

So I was trying to remove my airport icon from my menu bar after migrating settings from mac-air. After 20 minutes of googling found you can command drag unwanted icons of menubar and poof they're gone.

Ruby Programming Language (coerce)

Posted by Andrew Premdas Tue, 02 Dec 2008 16:52:22 GMT

Reading the Ruby Programming Language which seems excellent so far. So may well do a number of blog posts about bits of it just to reenforce my memory

coerce

Method used by numeric types. Idea is to force argument into a suitable type so that the calling type can work with it. Method returns array of two values, the first being the converted value. Some irb will illustrate

>> require 'rational'                                                                 
>> r = Rational(2,1)
>> r.coerce(2)
=> [Rational(2, 1), Rational(2, 1)]

My initial thought was that a.coerce(b) == b.coerce(a). This is completely wrong as shown below

>> 2.coerce r
=> [2.0, 2.0]

coerce is all about convenience for the class it is defined for. So Rational(x,y).coerce is all about making things easy for Rational to do things, whilst Float.coerce is all about making things easy for Float to do things. I'm labouring this point quite a bit, because I don't think the book made this quite clear enough for my slow brain to grok without a bit of further investigation.

Work since 2007

Posted by Andrew Premdas Mon, 10 Nov 2008 19:17:00 GMT

Keywords: Category:

What Have I Been Doing Since February 2007

The short answer is lots and lots. For the longer answer

Complications with users and customers

Posted by Andrew Premdas Sat, 08 Nov 2008 07:13:35 GMT

I find it very easy to get paralysed by complexity. This has been happening on my current project with users and customers. You see I want people to be able to buy things without having to be users. However I also want it to be especially easy for users to buy things. Finally I don't want any particular person to have seperate records in user and customer but a customer can be user.

Now this doesn't really make sense, and I haven't really written the half of it! And all these possibilities have ... well to be frank left me paralysed. Now eventually I might get my head around all of this but is there a better way? Can I use features to explore this problem bit by bit, just dealing with one little piece at a time. Will a reasonable solution emerge

Pluralisations in features

Posted by Andrew Premdas Wed, 29 Oct 2008 16:46:00 GMT

Been a bit of a dummy in this one. Basically each step definition is a regular expression so if we have

When /^I add (\d+) products to the cart$/ do |n|

we can improve this to make allow both

When I add 1 product to the cart
When I add 2 products to the cart

Older posts: 1 ... 3 4 5 6 7 ... 11