Here a quickie, since I’ve been silent for so long.
I find myself with a REST service taking way too long to process one of its queries, it’s not bad per se, but it will get bad when this query gets hit more often.
Memcached to the rescue.
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.
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 😛
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
gtkIndicator.py 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 😀
[Desktop Entry] Name=Tenma DC power supply Comment= Exec=/usr/bin/tenmaSer/gtkIndicator.py Icon=/usr/bin/tenmaSer/logo.png Terminal=false Type=Application StartupNotify=true
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.
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 😀
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.