Category: Other musings

  • The Java Hammer

    The Java Hammer

    Back in Olden Times, I was a craftsman, with my ever-versatile Java Hammer always by my side.

    The Java Hammer (made by the Sun Quality Tool Company) was a magnificent specimen, wielded across the world in equal measure by the adept, and the inept – used to construct a mind boggling proportion of the digital world during that age. There were other tools available, falling in and out of favour as time went on, but none surpassed the popularity of the Java Hammer, leading to an awe-inspiring range of compatible Java Nails being produced to fulfill whatever construction need was on the bill.

    A digital painting of a proud engineer craftsman wearing a t-shirt, holding a cup of coffee, wielding a big hammer. Thanks DALL-E

    The things I regularly hit with my Java Hammer included:

    • Applets to run in the browser
    • Desktop applications with Swing and JWT/SWT
    • Games with JOGL
    • Web services (smaller construction projects) with Play and Spring
    • Web services (cross-country sprawling construction ventures, mired in bureaucracy and unnecessary complexity) with Java EE
    • Simulations with Akka
    • Controlling Lego robots with Lejos
    • Games for Feature Phones with MIDP and J2ME
    • Android apps and games
    • Data processing with Hadoop and Spark
    • Interfacing with hardware projects or lower-level libs with JNI
    • Making Java Cards (smart cards) do silly things

    Nowadays, my Java Hammer is a bit worn around the edges, the handle has all but fallen off, and it gives me splinters. After decades of additions to the Java Hammer (with a combination of gaffa tape and Java Nails), there are so many bits dangling off, it’s difficult to know how to use it properly.

    Worse still, some of the types of Java Nails I used to depend upon have stopped being manufactured, and the supposed replacements (Instant Grab Adhesive by the JavaScript and Canvas Corporation, or High Tack Grip Filler by Electron LLC) give me a headache from the fumes.


    Over the last 30 or so years, I have amassed quite an arsenal of weaponry to tackle some of the things that Java Hammers were capable of (not necessarily “good at” but got the job done):

    • Basic (even VBA/VBS on occasion)
    • Pascal (with Delphi/Kylix)
    • C/C++ (with QT/GTK+/wxWidgets/Dear ImGui/FLTK, Unreal)
    • C# (with WPF, Unity)
    • Z80 ASM (my calculator needed some love)
    • Prolog
    • Python ❤️ (with django, flask, …)
    • PHP (with Cake, Silex, Symphony, Laravel, and of course WordPress!)
    • Ruby (and Rails)
    • All the “Web Stuff” (html/js/css, Ajax (lol), Prototype, jQuery, script.aculo.us, MooTools, AngularJS, Angular, React)
    • JavaScript (node and everything alongside it)
    • Dart / Flutter
    • Erlang ❤️ (with Cowboy)
    • Go (with Gin)
    • Rust (with winit, warp)
    • Nim
    • Zig

    and probably a few more along the way that I’ve built the odd cabinet here and there with. This doesn’t even touch on all the auxillary stuff (build tools, hosting providers, infrastructure management, containers, monitoring, …..)

    So nowadays, when I want to build something new, what do I pick? I have a few standard gotos for “boring stuff”, but if it’s a new idea, I’ll pick up my absolutely enormous toolbag, rifle around inside until I find a tool roughly appropriate for the job, and immediately realise the ecosystem has changed so dramatically in the last 12 months that the tools I thought I knew have changed shape. There’s a parallel trend to make everything in the browser (or outside the browser, in a browser wrapper like Electron) – and that feels odd too. There’s a growing hype-movement towards Rust For Everything – maybe that’s the future?

    Maybe I just want my Java Hammer back.

  • Hi, I’m Seb 😁

    I’m a tech director and engineer from England, currently focused on building back-end stuff for games.

    I’ve been working with everything to do with games, web services and cloud for the last 25 years on a variety of projects, and I’m currently Technical Director of Live Services for Creative Assembly.

    I also do a fair amount of freelance web work, building things like CMS, ERP, eCommerce whatsits and associated paraphernalia.

    I live with my wonderful wife and kids in Seaford, and when I’m not technical directing, I’m probably near a piano.

    I put a tune on Spotify (and Apple Music, Youtube Music, Deezer…. thanks DistroKid)! See https://hyperfollow.com/sebmaynard for more details, and contact spotify@seb.so if you’d like to request a song!

  • Seb’s guide on how to see

    EDIT (2011-07-18): This is a brief summary of my experience of laser eye surgery. It’s now almost a year since I had it done, and I’ve still got perfect vision. Absolutely worth every second of discomfort!

    The short version

    To do laser magic, they slice a flap in your eye, peel back the flap, laser it a bit, then put it back together.

    And you have to be awake and watch the whole thing for some reason…

    • Intralase: expensive. Safer. Better results. For my eyes, expensive==better. They make the slice with another laser instead of a knife.
    • Wavefront: expensive. Dunno really what it does. Didn’t care. As above.

    I opted for Intralase + Wavefront


    The long version

    • Consider it. Decide on it.
    • Save up for it.
    • Give up saving, take inheritance money.
    • Get quote: £1895/eye
    • Say “no. £3,000 all up ok?”
    • “Yes ok.”

    Wait a bit

    • Pay.

    Wait a bit more

    • Wake up
    • Put on glasses
    • 10:30am, go to optical express in the shopping centre.
    • Go upstairs, still in the shopping centre.
    • Sit in waiting room
    • 10:35am they take you in and put some drops in (dilate and anaesthetic)
    • Pupils go the size of watermelons. Actually bigger than your head.
    • Eyes feel like they’re not in your head anymore
    • Get put on “laser chair”.

    Here goes……

    • First, to hold your eye in position, they put this see-through suction cap on the eyeball.
    • Then press. REALLY, REALLY HARD.
    • (I think my eye might pop?)
    • (ow)
    • (ow)
    • (OOOOOOOOOOOOOOW)
    • “Oh dear. It fell off. Oh well, let’s try again”
    • *PRESSSSSSSSS*

    Well that hurt.

    • Surgeon moves the Intralase (the flap making laser) into position, gear it up
    • It then gears down immediately.
    • “Oh.” says eye surgeon
    • “That’s odd. It seems to have stopped.”

    Pause. Panic.

    • “Hmm. How strange. You work in computers don’t you? You know how computers can get themselves in a bit of muddle…”

    WHAT THE FUCKING FUCK!?

    • “Oh, it’s ok. It’s started again. “
    • “Right. Let’s have another go shall we?”
    • *bzzzzzzzzzz*

    FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUCK

    • Feels like they’re jabbing your eyeball with needles.
    • Turns out the anaesthetic isn’t that strong…
    • “Good. Next eye”
    • *bzzzzzzzzzz*
    • Hmm. Didn’t hurt that time.
    • *POP* remove the suction caps

    Now it gets a bit messed up. Actually, really fucked up.

    • Surgeon says “Right, just going to move the flap out the way”.
    • He fiddles around with a pair of tweesers on your eyeball trying to grab the flaps – really, really digusting.
    • Moves the flap out the way, everything goes crazy frosted glass looking
    • They swivel you into place for the actual laser bit
    • *CLICK CLICK CLICK CLICK*
    • Happens for about 35 seconds – each click is the laser lasering a bit
    • *sniff*

    Hmmm?

    • *sniff*
    • *sniiiiiifff*
    • WHAT THE FUCK IS THAT SMELL?
    • “Um, why can I smell burning hair?”
    • “Oh, that’s your eyeball.”

    • Job done, more fannying around with tweesers to put the flap back
    • Flap in place, bit sore, can’t really see anything – everything’s really, really bright
    • Into darkened room for 10 minutes.
    • Send you home – can’t really open your eyes at all because it’s all too bright.
    • Get home, put on stupid sleeping goggles, sleep for a bit
    • Wake up, listen to radio, keep eyes closed.

    Full night’s sleep later…

    • Saturday morning, wake up.
    • Open eyes.
    • I can see.

    Well that’s clever.

    • Head back to Optical Express for 10:30am
    • “Ah Mr. Maynard. Please try and read the bottom line of the sight chart”
    • “Yep, perfect. Thanks. You can drive yourself home now.”

    The end.