On learning Ruby coming from Python ...

August 23, 2016
tagged: python, ruby

I am learning Ruby, and coming from Python it's not a an easy thing. Ruby is confusing, it has a weird syntax, and things are not really simple as in Python. There is still tons of stuff which seem like dark magic. There's nil, there are gems and bundler. And there is Rails, which isn't Ruby. Ruby is good for so many people out there, and I am sure you can do amazing things in it. I already know it's never going to be my weapon of choice, but it's not bad knowing my way around it. I'd like to know how to set up a simple project, read and debug code, install gems and package ruby projects. I have been ignoring Ruby for too long.

New version of Pwman3 released (v0.9)

August 10, 2016

Yesterday night I released a new version of my CLI password manager Pwman3. This is a major mile stone, with huge amount of changes and improvements. Read more to find about what changed, and what I learned writing this version.

OpenWRT SSH init script with port forwarding

July 03, 2016
tagged: openwrt, linux, ssh

If you have a publicly available server you can setup a permanent SSH connection to it from your OpenWRT. Add remote port forwarding to the plan, and you get an easy way to always access your hosts where your OpenWRT router is.

Mate Desktop Environment 1.14 for Gentoo

June 09, 2016

I am announcing here the release of the ebuilds collection of mate-desktop for gentoo. All ebuilds support building with traditional GTK+2 and the newer GTK+3.

Morse fun with Python

March 29, 2016
tagged: python

Creating morse code or translating it to ASCII text is fun, even more fun is making your laptop beep morse code. Here how you can do it with Python.

Yet another case of Python vs. Regular Expressions

March 26, 2016
tagged: python

Regular Expressions are really awesome, and If you read the last post you might got the wrong impression I am totally against their use. I love using regular expressions, but sometimes, knowing Python is more than enough.

Python's regex is not always the best option

March 15, 2016
tagged: python

When programming in Python, regex are not always your best tool. This has a few reasons, regex can be computationally expensive, unreadable and unmaintainble, and finally, sometimes there is a better pythonic way without them. Here are a few examples.

Back again to writing

March 10, 2016
tagged: blogging

This blog is back from a long pause

NoSQLite - SQLite, support for JSON field

October 30, 2015
tagged: nosql

Released just recently (14-10-2015) the new SQLite (3.9.*) now has optional support for NoSQL like work flows with the new JSON field type. This is a very brief introduction to the JSON1 extension which enables this support.