Journey's End

Mar 11
2010

My First Galaxies (Kinda)

I finally managed to find some galaxies last night. This has been something that has eluded me due to my location, inexperience, and frankly inadequate equipment. (You in the back! Stop snickering!)

Last night, with my Canon 1000D I caught the barest glimpses of M83 and NGC 5128, aka the …

Mar 11
2010

Auto-generating CoreData Classes

Screenshot2010-03-11at6.42.57PM.eAfsUHuqsZyt.jpg
If you have a xcdatamodel file, open it, and using the menu: File > New File > Cocoa Class, you will see an extra item: Managed Object Class. This will autogenerate the required header and implementation files for your CoreData entities so you can use the convenience accessors instead of [setValue:forKey …

ts=07:52 tags=[code]

Feb 08
2010

Yet Another Arduino Float Print Function

Note: in arduino-0017, floating point printing is supported by default. The function below is not necessary.

``` brush:c void floatPrint(float f, int places=6) { int _d; if (f < 0) { Serial.print("-"); f*=-1; }

    _d = (int)f;

    if (!places)
    {
            return;
    }

    Serial.print(_d, DEC);
    Serial.print('.');

    while(places--)
    {
            f-=_d …
ts=13:12 tags=[arduino,code]

Jan 28
2010

Shorty Awards Audit

After reading the sordid tale of ballot stuffing via twitter over at Bad Astronomy, I wonder if @mercola has the same "problem". Further, I wanted to know if it was also affecting @DrRachie.


To that end I wrote a python script to "audit" shorty award votes. Given a username, the …

ts=00:29 tags=[internet]

Jan 28
2010

Shorty Awards Audit Part 2: Exception or The Rule?

After discovering previously that @mercola had 64% valid votes (IMHO) where as @DrRachie had 88% valid votes, I wonder if this is an phenomenon is the same in other categories. In other words: is @mercola's valid vote percentage the exception or the rule?

To answer this question, I ran the …
ts=00:19 tags=[internet]

Jan 10
2010

An Idea for Personal Domains

Given that we can have purely numeric domains, i.e. 131500.info, why not have domains that map to our mobile phone numbers for personal use?

What's the point? For one, you can give out your public mobile number instead of your website, since it is much easier to communicate …

ts=04:20 tags=[internet]

Jan 05
2010

Introducing GeoNote AR (2.0)

Some of you might know I have been working on a little iPhone app called GeoNote (iTunes link). Its basic goal is to allow you to annotate the real world by allowing you to leave little messages (notes) which are "pinned" to real world locations. These little messages are visible …

ts=10:53 tags=[software]

Dec 31
2009

Order Matters With XCode's Build Phrases

I use a custom script to insert the current git commit into GeoNote, so when I get bug reports I have a better idea of which version the user is running. The script is as below:

``` brush:c

import os from Foundation import NSMutableDictionary

version = os.popen4("/sw/bin/git …

ts=09:03 tags=[code,software,osx]

Dec 31
2009

Dec 22
2009

Don't Worry About the Pirates.

So you are an indie musician, and you are worried about pirates – those naughty people who are allegedly stealing food off your table and from the mouth of your children.

Well I am here to tell you there is no need to worry – pirates may just be the best thing …

ts=02:01 tags=[rant,IRL,IP]

Dec 21
2009

Dec 17
2009

Dec 09
2009

Get it right Apple

GeoNote v1.2 was approved last week, and went live. This would normally be a Good Thing, except this time it shipped with a rather nasty bug that slipped by me and Apple's fabled reviewers.

This means there is an faulty build of GeoNote on the App Store, and I …

ts=04:11

Dec 07
2009

Oct 11
2009

qrbackup

I generated a gpg keypair for myself today, and I was looking for a fairly safe way to back it up. I don't particularly trust DVD/CDs, and keeping it on flash is even more worrying. I wanted a means of backup I can see and touch.

Paperbak would be …

Oct 01
2009

We are all pirates

The goal of copyright is to encourage production of creative works which
enrich society. This is achieved by granting authors temporary monopoly over
their work, at a cost to society. Society accepts this cost because it gains
new material from when the monopoly ends.

This is the arrangement copyright law …

Sep 30
2009

Homeopathic logic

On Dr Karl on Triple J Podcast recently, and a lady called in (lets call her B) to say homeopathy works for her. She said her children were never vaccinated, and only receives homeopathy treatments, just like all her friend’s children, and that they are all healthy. B thus …

ts=10:52 tags=[rant]

Sep 26
2009

Sep 21
2009

Sep 09
2009

Dealing with rkhunter warnings

rkhunter often warns on file property changes after upgrade and such, and sometimes you just aren't sure whether it is due to recent upgrades, or because you really were compromised. The following script was written to compare the checksum of all files rkhunter warns about against the originals in a …

ts=05:01 tags=[code,software,linux]
← Previous Next → Page 6 of 27