Color2attribute in QGIS Plugin servers

Something like 7 years ago I created a very small plugin for Qgis (V1.x and V2.x later on).

This plugin was available via my github on a clone and copy fashion.

Yesterday I stopped being lazy and fixed that, The plugin is now available directly from the QGis plugin servers. And can be installed from Qgis itself.

Although I’m late as always since It does not work on 3.x versions.. oh well (look at this changelist!).

QGIS Color to Layer

Related

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

Advertisements

Leave a comment

Filed under tools, gis, code

Restoring an old chest

Well, what have you been up all those years? With no update on anything?

Mostly programming, jumping different jobs, started freelancing on my own, wrote a lot of Python, Golang, C. The usual suspects…

And now, for something completely different!. How I spent 4 months of my life restoring and old piece of furniture πŸ˜€

show me

Leave a comment

Filed under DIY

The Fisherman


(Spanish cover, since I like it better)

This blog is dead :-O, so why not create a small entry with the latest book I’ve read that I enjoyed more than usual?

Quite an inventive horror story. I’m not a big horror reader (mostly Stephen King, some of Poe and Lovecraft), but the theme was one of what I believe is classic cosmic horror (Leviathan and incomprehensible things) with some original sprinkles.

The book is split in two stories. What I would consider the main story (Dan and Abe), and a long flashback (Rainer and the origin of the evilness). And this seems to be quite divisive between the readers of this book. I’m leaning on the side that the main story is fantastic, while the flashback takes too long to develop and eats half of the book for no added benefit.

That nitpick apart, the story of Abe the widower and how meeting Dan transforms his life, for good and bad, is an amazing one, and John Langan knows how to paint the scenes beautifully. Let me tell you, that there’s a couple of passages that gave me goosebumps, and if I have to go take a leak at night my brain ensures that I remember them.

Leave a comment

Filed under books

Memcached and Django

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.

more

Leave a comment

Filed under code, tools

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)
  • littlebits.cc (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 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 πŸ˜€

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

[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

Some Links

1 Comment

Filed under tools