The DM16L (swiss micros or HP)

Almost half a decade ago (haha, fancy way to say 4 years) I purchased on a whim a beautiful calculator from swiss micros. I’ve been using the spartan dc in the command line since I discovered it and battled to understand what was going on. Quite similar to my first foray with vim almost 15 years go (oh well, getting old here). But since then, I got used to what’s called the Reverse Polish Notation, and swiss micros provides just that, RPN calculators.

This is a very niche post about a piece of hardware made out of love and nostalgia for the old HP calculators. I don’t even know why I write about it, more than it’s been my companion calculator for those 4 years, always in my backpack and I needed an excuse for a post.

more

Advertisements

Leave a comment

Filed under curious

Geo Django Raster Metadata

I’ve been using GeoDjango for some time now, and found myself in a situation where I wanted to retrieve raster metadata using the ST_MetaData function on some datasets stored in PostGIS.

To do so, you can of course use the raw function from the db Manager, but for this I went the extra mile (although, it’s more like the extra half-mile, since it’s very easy)

the ST_Metadata in GeoDjango

Leave a comment

Filed under code, curious, tips

Children of Time

Another book post, how boring!

Children of Time is one of those presents that I knew was coming (Pestering for it for quite some time), and once it was in my hand it took me a couple of weeks to finish, it is one of the most exciting science fiction books I’ve read in a while.

The idea is an interesting one. Humanity has reached a point where it starts colonizing and terraforming other planets, but disaster ensues, and we’re brought back to less technological times, while some of the terraformed planets still inhabited start their own story.

Flash forward lots of years from the fall of that technologically advanced civilization, the earth is dying, and some groups start some sort of Noah’s ark spaceship only with people inside with the hope that they can reach one of those old fabled terraformed planets. But they will have to deal with whatever has evolved there (hint, it has 8 legs).

Interestingly, those inhabitants are not painted as horrible mutations that humanity has to fight, but a relatable nascent civilization that has its own fears and hopes. The book dabbles in both storylines, one of the humans travelling and their social problems inside the spaceship, and the spiders, how their society progresses in strange ways for us, and their own way of seeing the world. All of it coming altogether for the book finale.

This is an open ended book, and as far as I’ve checked online the second book should come soon enough (2019 according to wikipedia)

Leave a comment

Filed under books, curious

Spon book & spoon carving

Continuing with the weirdness and going totally off-topic from the type of posts you usually find here, let’s talk about a book of spoons and what it meant to me!.

The book is a short one, split into three parts:

  • A story about the author, and how he got into spoon carving.
  • Instructions on spoon carving techniques and knife grips.
  • A beautiful collection of spoons, with some words about each one of them.

I’ve never heard of Barn The Spoon, he is a spoon artisan carving from green wood mostly using a knife and an axe. I actually got attracted to this book after seeing it while attending a workshop on wood carving, the idea of such a specific book and the hippie feel of everything related to carving without any advanced tools picked my interest, so immediately ordered it from Amazon.

I can’t recommend this book to everybody, but the vibe that it transmits it’s something felt close. The story of Barn is an interesting one, worth reading. And the included pictures are gorgeous (yes, those spoon photos are actually amazing, kudos to the photographer). The only point where it fails to me is trying to explain the knife grips using only prose, probably my engineer’s mind is tricking me here, but some drawings on what is trying to be conveyed would help.

After skimming it, and then thoroughly reading the book, Armed with a sharp knife, a hook knife and the explained techniques I started to carve my first spoon. Which was ok, chunky and nicer to look at than to use, but a second one followed, then a third… and after half a year spoons keep coming out of my hands!.

That’s the best compliment to give to the book, it made me want to carve and enjoy the carving process in itself. I feel that this was the point of all of it :-D.

some spoons after this

Leave a comment

Filed under curious, DIY

Hugo static website on S3

You are in for a treat, static websites are back from the dead (they never left, but were not prominent nor sexy). Combine this with the cheapness of file hostings like S3 and you have a winner here.

more

Leave a comment

Filed under code, tips, tools

Color2Attribute for Qgis3.x

Well, it didn’t take that much. I ported the small Qgis plugin to Qgis version 3.x. Luckily the renderer classes did not change, so the biggest thing to do was reorganize the code for PyQt5 and all the Qgis2 to Qgis3 API breaking changes. Just one coffee and a morning was enough :-).

It should be available from the qgis repository itself.

Related

Original Post
2.X update
Plugin at the Qgis plugin website
Plugin source

Leave a comment

Filed under code, gis