YottaByte

hacking life….

The First Rule of Fight Club is….. Kinetic Typography

Jul-15-2008

Just awesome…

What the Frack!!

Jun-23-2008

Meh!

You tired of all the “kiddy-speak” that you just don’t understand, are you completely Fracked-off with the whole jibberish??

http://en.wiktionary.org/wiki/ will clear things up…..may be…..

SuppressWarnings Options

Jun-22-2008
SuppressWarnings Options
Option Notes
“all” @SuppressWarnings( “all” ) means suppress all warnings
“allDeprecation” deprecation even inside deprecated code
“allJavadoc” invalid or missing javadoc
“assertIdentifier” occurrence of assert used as identifier
“boxing” autoboxing conversion
“charConcat” when a char array is used in a string concatenation without beingconverted explicitly to a string
“conditionAssign” possible accidental boolean assignment
“constructorName” method with constructor name
“dep-ann” missing @Deprecated annotation
“deprecation” usage of deprecated type or member outside deprecated code
“emptyBlock” undocumented empty block
“enumSwitch” incomplete enum switch
“incomplete-switch” incomplete switch
“fieldHiding” field hiding another variable
“finalBound” type parameter with final bound
“finally” finally block not completing normally
“hiding” shorthand for fieldHiding, localHiding, typeHiding and maskedCatchBlock
“indirectStatic” indirect reference to static member
“intfAnnotation” annotation type used as super interface
“intfNonInherited” interface non-inherited method compatibility
“javadoc” invalid javadoc
“localHiding” local variable hiding another variable
“maskedCatchBlocks” hidden catch block
“nls” non-nls string literals
“noEffectAssign” for assignment with no effect
“null” missing or redundant null check
“over-ann” missing @Override annotation
“pkgDefaultMethod” attempt to override package-default method
“serial” missing serialVersionUID
“semicolon” unnecessary semicolon or empty statement
“specialParamHiding” constructor or setter parameter hiding another field
“static-access” shorthand for indirectStatic and staticReceiver
“staticReceiver” if a non static receiver is used to get a static field or call a staticmethod
“suppress” enable @SuppressWarnings
“syntheticAccess” when performing synthetic access for innerclass
“synthetic-access” when performing synthetic access for innerclass
“tasks” enable support for tasks tags in source code
“typeHiding” type parameter hiding another type
“unchecked” unchecked type operation
“unnecessaryElse” unnecessary else clause
“unqualified-field-access” unqualified reference to field
“unqualifiedField” unqualified reference to field
“unused” shorthand for unusedArgument, unusedImport, unusedLocal, unusedPrivateand unusedThrown
“unusedArgument” unused method argument
“unusedImport” unused import reference
“unusedLocal” unused local variable
“unusedPrivate” unused private member declaration
“unusedThrown” unused declared thrown exception
“uselessTypeCheck” unnecessary cast/instanceof operation
“varargsCast” varargs argument need explicit cast
“warningToken” unhandled warning token in @SuppressWarnings

Dull Gems

Jun-21-2008

Bah!

Today seemed like a good day to upgrade my Ruby on Rails setup, big mistake.

All was going fine up to the point I ran sudo gem update --system then it just went wrong after that. Everytime I tried to run gem after that I got this /usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError) sigh!

Someone forgot something in the gem script file.After digging around on the interweb I came across a blog entry from Nick Peters that fixes this by adding the required entry to fix the problem.Problem solved, for now!…

€3 Portemonnee (Wallet)

May-25-2008
Bit of a weird idea, but my design was inspired by a design on the Instructables website http://www.instructables.com/id/quality-duct-tape-wallet/

Features include:

  • 2 Money compartments
  • 3 Credit card slots
  • 1 ID compartment
  • Closing clasp (made from 9v battery terminals)

Parts required:

  • 1 Roll of Duct Tape
  • 1 Dead 9V Battery
  • 1 Pair of Scissors
  • 1 Craft Knife
  • 1 Brain

and patience

How to make it:

Well I just looked at the instructable, laid out the items from my wallet to get an idea of size and then just made it.

How much?

Well if you don’t buy a 9v battery just for the purpose of pulling it apart for the terminals, the wallet costs the price of a reel of tape, so in my case under €3.

What next?

For the moment I am road-testing this version and once I am happy with it I will make an instructable for the deluxe model which will include, an led light, RFID shielding and coin pouch

Wallet 1Wallet 2Wallet 3Wallet 4

Bokketochie

May-18-2008

Photo’s for our outing on the Bokketochie bike run are available to friends and family. You can access them at http://pictures.yottabyte.net/ If you do not have the username and password just drop me an email and I will send it to you.