Showing posts with label geek. Show all posts
Showing posts with label geek. Show all posts

Friday, August 31, 2012

Cheap Macro Photography

Once the cheap (actually free) laser pointer on my desk at work had run down its batteries, I did the obvious thing: I took it apart. Not just because I'm "like that," but mainly because the focusing lense of any cheap red laser pointer makes a passable approximation of a macro photography lense.

Don't believe me? After shoehorning said lense onto my cellphone camera using a bobby pin and some scotch tape, I ended up with the following images taken around the house (be sure to click the images for higher resolution):

A feather.

A flower. (I think it's a violet)

Leaf.


Ordinary fine table salt!


Wholewheat bread. Boring, yet strangely comforting.


Small font on a 1920x1080 LCD monitor.


Left index finger.


An ordinary South African 50c coin.


National coat of arms on the same coin.

Okay, so none of the above images are exactly breathtaking, but it's still a great deal cheaper than a $1,200 macro lense for your SLR.

Addendum: The cellphone in question is a Samsung Galaxy S2. Though its camera is rather ordinary, it does feature a "macro" feature which is, in all honesty, utter shit. I left it turned off while taking the above.

Wednesday, September 09, 2009

Thinkgeek ads

Unless I really suck at advertising, you may have noticed one or two ThinkGeek ads on the blog.  Well, being a happy customer of theirs (I'm eating soup out of my "/dev/mug" latte mug as I type this), and believing that their catalogue of cool items complements the nerdy tone of my blog, I've signed up for their affiliate program.

This raises the obvious question: does this mean that, in the forceful grip of greed, I'm holding Convergence hostage to ads?  I shall attempt to settle this unfortunate query by saying yes... yes, absolutely.

Friday, September 04, 2009

Federation vs Empire

Star Trek vs Star Wars nonsense.  Possibly the nerdiest comment I've made on Facebook thus far:


I stand my ground on the issue, though.

Update: This discussion prompted a lively (and predictable) debate on Reddit.

Thursday, September 03, 2009

Just another Perl hacker

I was lucky enough to stumble onto the first JAPH I ever wrote - a whole two days after I first started learning Perl back in 2004.

It turns out to be something of a word game:

perl -e '$c="ePreh";$k="tonat";$h="ckeJ";$a="ahlr";
$h=reverse($h);$e=$h.$a.$c.$k."sur";
(substr($e,0,1),substr($e,-1))=(substr($e,-1),substr($e,0,1));
$e=reverse($e);$e=~s/stan/st an/;$e=~s/rP/r P/;$e=~s/rlh/rl h/;
$e.="\n";print($e);'

And an analysis with strict, warnings, and mys added (spoiler warning):

/usr/local/bin/perl -w
use strict;
my $c="ePreh";
my $k="tonat";
my $h="ckeJ";
my $a="ahlr";
$h=reverse($h); # $h = "Jekc"
my $e=$h.$a.$c.$k."sur"; #$e = "JekcahlrePrehtonatsur"

# This next part makes my eyes cross when I look at it for too long.
# It switches the first and last character of $e.
(substr($e,0,1),substr($e,-1))=(substr($e,-1),substr($e,0,1));

$e=reverse($e); # $e = "JustanotherPerlhacker"
$e=~s/stan/st an/; # $e = "Just anotherPerlhacker"
$e=~s/rP/r P/; #$e = "Just another Perlhacker"
$e=~s/rlh/rl h/; #$e = "Just another Perl hacker"
$e.="\n";print($e); #append a newline to $e and print it out.

Good times!

Wednesday, October 01, 2008

Geek Nostalgia #1 - The Hacker's Manifesto

When I first read it - at an age when the movie Hackers was new and seemed moderately plausible, when 9600 baud was absolutely smokin', when wardialing for BBSes was the best thing to do with your Saturday afternoon - The Hacker's Manifesto seemed like the coolest thing ever.

Reading it as an adult, however, with my view warped by cynicism and tinted murky by the cold, affectionless lense of experience, it seems obnoxious, conceited, and even irresponsible. Nevertheless, it had a strong effect on me as a kid, being an iconic part of a culture that encouraged me to spend countless hours teaching myself how to write code and fiddle with the phones. I know I'm not alone in this, and that there's an entire generation of 90s "latchkey kid" hackers who gazed upon the Manifesto with doe eyes at one point or another.


                               ==Phrack Inc.==

Volume One, Issue 7, Phile 3 of 10

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following was written shortly after my arrest...

\/\The Conscience of a Hacker/\/

by

+++The Mentor+++

Written on January 8, 1986
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Another one got caught today, it's all over the papers. "Teenager
Arrested in Computer Crime Scandal", "Hacker Arrested after Bank Tampering"...
Damn kids. They're all alike.

But did you, in your three-piece psychology and 1950's technobrain,
ever take a look behind the eyes of the hacker? Did you ever wonder what
made him tick, what forces shaped him, what may have molded him?
I am a hacker, enter my world...
Mine is a world that begins with school... I'm smarter than most of
the other kids, this crap they teach us bores me...
Damn underachiever. They're all alike.

I'm in junior high or high school. I've listened to teachers explain
for the fifteenth time how to reduce a fraction. I understand it. "No, Ms.
Smith, I didn't show my work. I did it in my head..."
Damn kid. Probably copied it. They're all alike.

I made a discovery today. I found a computer. Wait a second, this is
cool. It does what I want it to. If it makes a mistake, it's because I
screwed it up. Not because it doesn't like me...
Or feels threatened by me...
Or thinks I'm a smart ass...
Or doesn't like teaching and shouldn't be here...
Damn kid. All he does is play games. They're all alike.

And then it happened... a door opened to a world... rushing through
the phone line like heroin through an addict's veins, an electronic pulse is
sent out, a refuge from the day-to-day incompetencies is sought... a board is
found.
"This is it... this is where I belong..."
I know everyone here... even if I've never met them, never talked to
them, may never hear from them again... I know you all...
Damn kid. Tying up the phone line again. They're all alike...

You bet your ass we're all alike... we've been spoon-fed baby food at
school when we hungered for steak... the bits of meat that you did let slip
through were pre-chewed and tasteless. We've been dominated by sadists, or
ignored by the apathetic. The few that had something to teach found us will-
ing pupils, but those few are like drops of water in the desert.

This is our world now... the world of the electron and the switch, the
beauty of the baud. We make use of a service already existing without paying
for what could be dirt-cheap if it wasn't run by profiteering gluttons, and
you call us criminals. We explore... and you call us criminals. We seek
after knowledge... and you call us criminals. We exist without skin color,
without nationality, without religious bias... and you call us criminals.
You build atomic bombs, you wage wars, you murder, cheat, and lie to us
and try to make us believe it's for our own good, yet we're the criminals.

Yes, I am a criminal. My crime is that of curiosity. My crime is
that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me
for.

I am a hacker, and this is my manifesto. You may stop this individual,
but you can't stop us all... after all, we're all alike.

+++The Mentor+++
_______________________________________________________________________________


Polite nod in the direction of Reddit for reminding me of this.