Quantcast
Channel: Chris McCormick - News
Viewing all 234 articles
Browse latest View live

An Afternoon's Harvest and Planting

$
0
0

IMAG0037.jpg IMAG0039.jpg IMAG0043.jpg IMAG0044.jpg IMAG0045.jpg IMAG0050.jpg IMAG0051.jpg IMAG0060.jpg IMAG0062.jpg IMAG0063.jpg IMAG0065.jpg

Found: two lettuces, one fennel plant.

Picked: one bucket of olives (now salting), one bucket lemons, several mandarins, four unripened avocados, one handful spring onion sprigs,

Planted: several lettuces, several broccoli plants.

Still haven't got those chickens.


Deviator Sydney Tomorrow Night

FutureBlimp

Bali 2013 - Candidasa and Ubud

$
0
0

IMAG0219.jpg IMAG0220.jpg IMAG0229.jpg IMAG0245.jpg IMAG0250.jpg IMAG0268.jpg IMAG0272.jpg IMAG0276.jpg IMAG0288.jpg IMAG0302.jpg IMAG0321.jpg IMAG0326.jpg IMAG0330.jpg IMAG0333.jpg IMAG0335.jpg IMAG0355.jpg IMAG0187.jpg IMAG0211.jpg IMAG0361.jpg

A family of 8 people can live off 2 kilograms of rice per day. 5 paddy fields will produce about 300 kilograms of rice per harvest, and you can harvest 2 times per year. 2 kilograms of rice per day costs about 8000 rupiah, which is about 78 US cents. An average wage is around 4 US dollars per day.

DIY compact key chain

Australia Pls Vote 2013

Drawing by an Industrial Robot

Dino With Rocks


A Better Xubuntu Lockscreen

$
0
0

Here is how you can have a lockscreen on Xubuntu that just displays a custom logo/graphic and asks for your password. The graphic I have used is a white logo on black background, so the background/foreground settings reflect that but you can change these colours to match whatever graphic you use.

sketch of a padlock

First, you need to create a script in $HOME/bin/xflock4 - this should override the default xflock4 script on your system that XFCE uses as a proxy for launching the lock screen. Here are the contents, which just run the xlock program:

#!/bin/sh
xlock

Don't forget to make it executable with chmod 755 ~/bin/xflock4.

Next, you should create an xpm version of the graphic that you want to use, for example in $HOME/.lock.xpm - you can use the Imagemagick convert program (sudo apt-get install imagemagick) to convert some other image into the correct xpm format like this:

convert myimage.png ~/.xlock.xpm

Make a note of the dimensions of your image as you will need them for the 'icongeometry' option below. The largest size appears to be 256x256 pixels and the man page advises to make it as close to square as possible. You will set the 'image.bitmap' setting below to the location of the xpm file. Finally, you should add the following configuration options to a file called $HOME/.Xdefaults:

XLock*mode: image
XLock*image.bitmap: /home/chrism/.lock.xpm
XLock*image.count: 1
XLock*image.erasedelay: 0
XLock*erasedelay: 0
XLock*icongeometry: 180x180
XLock*background: Black
XLock*foreground: White
XLock*description: off
XLock*info:

You can find out other options by running man xlock.

To test select 'Lock Screen' from the user menu.

Enjoy!

Three Days in London

Rocketship

Cloudpuke

A Book for Scout (With Sourcecode)

$
0
0

A few weeks ago I made a little book of advice for my daughter in a what-if-i-die-in-a-plane-crash frenzy before taking an international flight. The content comes mostly from a blog post I wrote during the week after her birth. Here is the book on Archive.org if you are interested. It is Creative Commons licensed so go nuts. This is a technical blog post about getting the book ready for the JIT printing process.

I used several free software tools in the process:

  • vim (gvim specifically) is my editor of choice.
  • Inkscape - vector graphics, layout.
  • Ghostscript - PDF formatting.
  • PDFtk - PDF manipulation.

I used blurb.com to print the book.

The following makefile converts the source SVG files for each page and the cover into separate PDF files, then assembles them into a single document, and then transforms the document into the PDF-X3 format that blurb.com requires.

SVGS=$(shell ls pages/*.svg)
PDFS=$(SVGS:.svg=.pdf)
PDFS_BLANK=$(foreach pdf,$(PDFS),$(pdf) page-blank.pdf)

all: we-can-do-this-cover_x3.pdf pages_x3.pdf

%.pdf: %.svg
    inkscape --without-gui --file=$< --export-pdf=$@ #--export-text-to-path

pages.pdf: $(PDFS) page-blank.pdf
    pdftk $(PDFS_BLANK) cat output pages.pdf

%_x3.pdf: %.pdf
    gs -dPDFX -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor -sDEVICE=pdfwrite -sProcessColorModel=DeviceCMYK -sOutputFile=$(<:.pdf=_x3.pdf) -dPDFSETTINGS=/prepress ./PDFX_def_wecandothis.ps $<

clean:
    rm -f pages/*.pdf
    rm -f *.pdf
    rm -f _x3.pdf

To get these programs issue sudo apt-get install inkscape make pdftk ghostscript on Debian GNU/Linux or Ubuntu. You can get the complete source files for the book on GitHub so that you can use this as a template to make your own book. The SVG images for the pages are in the pages subdirectory and the cover is we-can-do-this-cover.svg. The makefile builds a "Small Square" (7 × 7 in / 18 × 18 cm) book but you should be able to change the source SVG sizes to make a different sized book.

The font is my own handwriting. The original TTF is here.

Alien Insect

$
0
0

alien-insect.png

Almost certainly exhibits tripedal gait during locomotion.

3d Pintable Sixteen Sided Hexadecimal Die


3d Printable Sixteen Sided Hexadecimal Die

Evenly Distributed

Nomadic McCormicks

$
0
0

Scout in sunglasses

We have gone nomadic. We are having a great time!

Some things/talks I am attending/doing and showing PdDroidParty and algorithmic music stuff at:

April 6th - Los Angeles. Patching circle at Crashspace. That's probably today if you are reading this in the USA. Sorry for the late notice.

April 11th - New York. Patching circle at NYU. I will be co-presenting with Dan Wilcox on Pure Data on Android and iOS.

Early May - Virginia Tech patching circle and a small performance as part of DISIS. Not much detail yet. Will post when I know more.

May 7th - New York. Dorkbot presentation on PdDroidParty.

This next one is later in the year when we are in the EU:

June 26th/27th - Portugal. Algorave performance at xCoAx.

If you are on the east coast of the USA, or in northern Italy, or southern France, or London, we will be located in those regions in the next months, so let me know if you want to have a beer or for me to deliver a talk at yr thing or what have you.

Snowdorks

My Own Code Running On My Wristwatch

$
0
0

Photograph of my Pebble wristwatch

I have not worn a wristwatch for more than a decade. Feels pretty futuristic.

Here is the source code for my custom Pebble app, which is a forked version of another app that fetches information from my server and displays it to me. Notifications are by a different app.

Of course, the compiler is Richard Stallman's.

Not Nice Bear

$
0
0

not-nice-bear.png

Scout came up with this character and I drew them.

Viewing all 234 articles
Browse latest View live




Latest Images