
I made myself an awesome wallet today. It’s made of Red and Black duct tape I picked up at Home Depot. I originally wanted a clear tape wallet to replace my old store-bought (I know, I know) duct tape wallet since it was super-bulky. But, I decided that if I kept it minimal, it would work out well. This post brought me to this post, and I set to work.
It was difficult to create the duct tape fabric, and I failed a few times, but I managed to get the thing together. I butchered a fresh strawberry plastic container to create the translucent sleeve for my ID. It holds a nice amount of junk for its size, and now I don’t have “clown pants,” as Kelsey called them with my old wallet.
Amazingly, my old wallet is as thick empty as the new one is full! I want to thank Chris Butler and Bre Pettis for the guidance.
More pictures are available on Flickr.







Uncategorized
awesome, diy, duct tape, make, photos, project, wallet
I had some trouble compiling PL/Ruby for PostgreSQL today on Modzer0. I solved it with some clever extconf.rb switches:
ruby extconf.rb --with-pgsql-include=/usr/include/pgsql/ --with-pgsql-version=81
Now I avoid the problems I was having before:
[root@modzer0 plruby-0.5.1]# make
make[1]: Entering directory
#...
In function ‘perm_fmgr_info’:plruby.c:116: error: ‘TopMemoryContext’ undeclared (first use in this function)
plruby.c:116: error: (Each undeclared identifier is reported only once
plruby.c:116: error: for each function it appears in.)
plruby.c: In function ‘plruby_call_handler’:
plruby.c:706: warning: unused variable ‘result’
plruby.c: In function ‘pl_compile’:
plruby.c:875: error: subscripted value is neither array nor pointer
plruby.c:876: error: subscripted value is neither array nor pointer
plruby.c:879: error: subscripted value is neither array nor pointer
plruby.c:889: error: subscripted value is neither array nor pointer
plruby.c:937: error: ‘TopMemoryContext’ undeclared (first use in this function)
make[1]: *** [plruby.o] Error 1
Now I just have to create the language in Postgres. I’m making it trusted since I don’t want anyone doing anything nasty. I might build the untrusted version later like Robby did here.
CREATE FUNCTION plruby_call_handler() RETURNS language_handler
AS '/usr/lib/ruby/site_ruby/1.8/i386-linux/plruby.so'
LANGUAGE C;
CREATE TRUSTED LANGUAGE 'plruby'
HANDLER plruby_call_handler
LANCOMPILER 'PL/Ruby';
Voila!
Procedural Languages
Name | Trusted?
--------+----------
plperl | yes
plruby | yes

Uncategorized
c, centos, linux, make, postgres, ruby
I decided today that I need to make a tutorial to build your own doomsday clock. After seeing this picture, I felt it was necessary:

Uncategorized
make, project, tutorial