The dropped posts, and 2017 closing

I’m not constant in my writing. Some ideas come, some ideas go, some get written, some get lost.

For the end of 2017 I deleted a backlog of drafts that were half written. Some of them were actually quite nice but unfinished. The problem being that I may have lost the content that was discussed in those posts, or just forgot what I was writing about. It’s not a new year’s thing, but let’s start clean here πŸ˜€

When I was ready to press the button I felt sad for those posts, so here’s a list of the posts lost in battle.

  • Arduino Clock Time Reading. (The arduino clock posts)
  • Arduino Clock Display usage. (more arduino clock posts)
  • (I never got around to even touch those, but looked awesome)
  • A serial terminal with python and custom commands. (Used as a complement on embedded projects at IDNEO)
  • DynamoDB Django Python middleware. (What a combo! but actually I’m using this daily :-p even if I barely remember what I did there)
  • Static websites with Hugo. (Liked the idea, stayed in wordpress so far. With my combo of wordpress + it’s all text + gvim.. sadly It’s all text does not work anymore)
  • Python and Pyinstaller. (It was mostly finished, but it seemed too shallow)
  • Some book reviews (Never was too fond of them anyway)
  • A small map I made after a short hike.
  • A small classification of Barcelona neighbourhoods according to rent price and buildings age (Yes, I did that when hunting for a new apartment)
  • A small labyrinth game in Game Boy assembler.

Nevertheless, 2017 has been a good year for me personally. Changed from an Embedded job too far away from home (1.5h commute by train) to an Embedded Linux job too close (5min walk), been very involved in a personal project and enjoyed my free time playing drums and kayaking πŸ˜€ .

Blogwise it is the first year that I ALMOST accomplished the one post per month mark! (sorry, summer is summer)… I am not a journalist and this blog is not my priority so it is surprising that I’ve found the time to keep it updated and half interesting. This year we had:

And the “previously” page got updated with a bunch of games and books that I liked this year. I played more than what I’ve read….. this is something to think about.

I never talk about the site stats. It is a small place after all. Nevertheless, this blog has maintained something like 1000 visits per month. That feels like a lot to me, so thanks to everyone who read my stuff and got something useful from it πŸ˜€

It has been a long way since I started in 2012, from a 25 year old guy that was bored during a master degree and wanted to improve his English writing skills, to a slightly older guy (you do the math) that is doing something completely different but enjoying it.

That’s it, no more retrospectives, 2017 has ended and we are still alive, let’s go to 2018.

PD: I have nothing written yet for 2018, I’m going to lose my monthly post combo πŸ˜›


Leave a comment

Filed under curious, Life

Tenma DC 72-2540 graphical interface

I was planning to write a post of how to write a simple GTK application indicator. But there’s a really good explanation already from
candidtim that you can follow. It is actually very well explained.

What I’ll do instead is just drop here an update to the Tenma DC 72-2540 command line tool that can be found in the tenma-serial github repo. It is the script, that more or less looks like this:

And note that you can create a small .desktop file, so your desktop environment knows about it πŸ˜€

vim ~/.local/share/applications/TenmaDcPower.desktop

[Desktop Entry]
Name=Tenma DC power supply

Some Links

1 Comment

Filed under tools

Tenma72-2540 Linux serial control

I daily work with a DC power supply to run different boards and prototypes. One day, plugging in the power supply I realized there was a USB and a COM port!
It is not correct from a tinkerer’s to avoid this option. So this day ended up with a small Python program (also golang, but that’s a different story) to use this feature.



Filed under code, tools

Git config

Lots of us use git in a daily basis, myself included. We can say a lot of git, but I would not say that it is intuitive, or that it has nice shortcuts. Similar to what happens with VIM, over the course of some years and some jobs I collected a small list of git configurations that I find very comfortable to work with.

Damn! I failed again, no posts on summer πŸ˜€

List of configs

1 Comment

Filed under curious, tools

Google earth and WMS

A year ago, my sister gave me an awesome present. A big set of small card-sized photos with a set of the highest mountains of Catalunya. The idea is to write on the back when and with whom I “climbed” that mountain.

Last Easter I was planning which closer hikes could I do during the holidays, so I can start filling each card (feels like gotta climb em’ all). It was difficult to know each mountain location from the cards, I fired Google Earth for Linux and started creating points.

It was very easy with the famous ones, since Google Earth finds them directly (Pedraforca, Pica d’estats, etc..), but more obscure ones are a no-no. So I needed extra support to map them.

Mountain Cards

Mountain Cards



Filed under gis, Maps

Vectorize an image using Inkscape

And now, for something completely different.

For a coming event we want to use logos from different bars and cafes around the block. The idea is to do a little of propaganda: banners, t-shirts, mugs all the way!

Some bars have their fancy logos already as a vector image. Other ones don’t even have a computer where the logo is stored.

In this post we’ll see how to create a vector file from a pixmap (jpg, png, whatever raster format that Inkscape can open). With a couple of examples, a graceful one and a crazy one.

There’s a lot of manuals online for this, an in-depth one with good examples can be found in Tavmjong Bah’s website.


1 Comment

Filed under DIY, tools