Melding Technology

Vancouver, BC

Some Fun with Py2Exe

Making small binaries with Py2Exe. Can be a bit tricky, there are few steps needed.

One of the trickiest parts is building the dll exclude list, and module exclude. A bunch of modules get included by default which will push up the size of the executable.

A few tricks about doing this. Don't build an all in one executable till you get this resolved. Once you build it, you can take a look inside the zip file and figure out which modules are currently included. Going over the list there are a few you can exclude, depending on if you need it or not you can exclude Unicode which will save a fair bit of room.

Executable built with py2exe have a nice side effect of being almost free artefacts and hard to disassemble. Which is a nice side effect at least for certain purposes.

PiCade build

A few month back there was a kickstarter for a nice premium mini arcade cabinet. Having backed the project I received my PiCade Maxi, the larger of the two versions made sporting a nice 13" display.

Below are a few photos from the build. It when together fairly easily, taking about 2h to put together.

The only real thing to note is that the arcade buttons don't feel nearly as nice as some of the others ones I have, and I will need to swap those out in the future.


Pirate, Monkeys! and a mountain of parts!


Back off the PiCade putting in the filling.

PiPlay Splash

The finished product! Running PiPlay (aka PiMame)

Small GoLang Executables

Go is a newer programming language from Google. Being a compiled, yet highly multithreaded centrio language, yet fast to develop in. It compiles down to an exe, and can easily make system call to windows dll via the syscall and unsafe modules.

Having compiled a simple hello world, the size of the executables becomes a concern.

So what can we do about that?

package main

import "fmt"

func main(){
    fmt.Printf("Hello World\n")

All the following is compiled with go1.3rc1

go build hello.go -> 1,955,328 bytes So stock compile, no extra options, no packer or anything sort of the baseline.

go build -ldflags "-s" hello.go -> 1,425,408 bytes Now with a linker flag set to strip, we can shave off over 400kb! Not bad at all.

Packing the "stripped" one with mpress we can get down to 302,592 bytes. So about 295kb not bad at all.

Motorcycle Helmet Cubical Hook Revisted

After some adjustments to reduce the amount of material and to make it fit better, the cubical I'm currently on is now one of the thinner walled ones, with a wall thickness of around 1.5" rather then 2.5" of the older cubicals.

Have yet to print it. Use at your own risk.

Feedback or improvements welcome.

Motorcycle Camping Gear List

List of gear for a weekend getaway of motocamping.

Best way to think of it is, ultralight backpacking, on two wheels. Keep gear to a minimal, you have access to most of what you could ever want at almost any gas station.

Motorcycle Stuff

  • Bungee Cord
  • Cargo Net
  • Ear plugs
  • Gloves
  • Jacket
  • Motorcycle pants
  • Boots
  • Helmet
  • Visor cleaner
  • Spare keys

Motorcycle Tools

  • Tire path kit
  • Leatherman tool


  • Padded shorts
  • Jeans
  • Poly pro/silk underwear
  • Shirts
  • Shorts
  • Socks
  • Sweater
  • Swim suit
  • T-shirts
  • Tennis shoes/Sandals
  • Underwear


  • Tablet
  • Cellphone
  • Cellphone charger
  • Solar charger/batterie
  • Sena headset


  • Bug repellent
  • Cable ties
  • Flashlight
  • Freezer bags
  • Duct tape
  • Extra batteries
  • First aid
  • Ibuprophen
  • Sunscreen


  • Space blanket
  • Sleeping pad
  • Sleeping bag
  • Pillow
  • Knife
  • Headlight
  • Lantern
  • Hammock
  • Rainfly
  • Rope
  • Pegs
  • TP


  • Camp stove
  • Fuel
  • Pot
  • Cup
  • Bowl
  • Fork/Spoon/Knife
  • Water bottle
  • Dishsoap/pad
  • Trash bag


  • Drink mix
  • Coffee powder
  • Snacks
  • Freeze dried meals