Autorestoring previous pane zoom in tmux

Excerpt from a message I sent to tmux-users mailing list: I just began to use the recently added zoom feature and came across an anoying thing. You have panes A and B. A is zoomed, if you switch to pane B, then A is forcibly unzoomed. This is expected, of course, otherwise B would remain invisible. If you switch back to pane A I expect to get A zoomed again because it wasn’t me who unzoomed it.

To left or not to left GNOME

I’m just another user who loves GNOME and suffers the blessing of its developers. I’ve had the Close Button in the left since it was set by default in Ubuntu 10.04 and I liked it, and the button stayed in the left until GNOME 3.8. GNOME 3.10 introduced Client Side Decoration (CSD), ie, now the application can paint the window border and buttons. Quoting from the linked site above:

Looking up encrypted passwords in ansible

Ansible 1.2 is out of the door. Go and check the changelog to see how many new features and fixes this version brings, my favorites being the new {{ }} syntax for variable substitution and support for roles. This version also includes a patch I submitted for adding encryption support to password lookup plugin. In case you weren’t aware, ansible 1.1 gained support for generating random passwords as a lookup plugin.

A trivial contribution to linux (the kernel)

Old and trivial, just fixing a build error, but anyway it made me proud at the time. Years ago I acquired a TV-Tuner. When I bought it I was aware that both is wasn’t working in Linux and a driver was being written for it. Having not enough knowledge and free time for anything besides testing the driver, and needing the device working, I began to pull, compile and see-if-it-works in a daily basis.

Python gets a new ignored context manager

I was reading What makes Python Awesome? presentation and saw the following construction in slide 22: with ignore(OSError): os.remove(somefile) This construction is more concise without being less readable than the typical try ... catch ... pass. I had never seen that ignore before and got curious about where is it defined. It isn’t a CPython keyword neither part of the contextlib module. After some search I found that an ignored (note the trailing d) context manager was recently added to the upcoming python 3.

Managing prebuilt OS images with Ansible

Prebuilt OS images Prebuilt OS images are usually available for virtualization environments, for example see lists for OpenVZ, Vagrant, EC2, VirtualBox (also here) or Proxmox. As you can guess, some machinery is needed for building and maintaining them all. There is veewee for Vagrant, template creation guides for OpenVZ, dab for Proxmox, and so on. The chroot connection Ansible got support recently for executing tasks chrooted inside a local directory.

Installing ruby/rbenv with Ansible

Ansible is a relatively new kid in the town of Configuration Management. If you don’t know it already go see this introductory video: System Provisioning with Ansible. Having a Puppet background, I got impressed by how state is defined in Ansible with simple YAML files without necessarily sacrificing powerfulness. I actually find very pleasant both reading and writing playbooks (and that is not to mention the cow). Using the current ssh infrastructure is a bonus point, you can instantly get going.

Xen guests isolation and ebtables concurrency

Concurrency is evil When using bridging for Xen Networking and your guests machines (domUs in Xen parlance) are fully managed by third parties, some sort of isolation is specially needed. A rogue admin can change the IP and/or MAC address(es) assigned to its domU and potentially cause an IP address conflict. Xen provides an script called vif-bridge that takes care of adding domU’s virtual interfaces to dom0’s bridge, bring them up and add iptables rules allowing datagrams whose source is one of the assigned IP address(es) coming in through domU’s virtual interfaces.

es_CU locale landing in GNU libc

Just reading GNU libc 2.15 release announcement and found this nice surprise: New locales: bho_IN, unm_US, es_CU, ta_LK a quick search got me to the merge request. The locale was merged last december 22nd (commit) and it seems it is being maintained by the UCI. Google didn’t give out any result searching for es_CU glibc other than the few merge request messages (thread) and the bug report itself.

III Taller Internacional de Software Libre (part 2)

If you haven’t read the part 1, I think you should. In the afternoon the opening was a panel with people of Infomed, INFOSOC, UCI, Joven Clubs, MINED and MES, talking about the steps Cuba has given toward Software Libre inclusion. (I didn’t forget the link for UCI, it actually don’t have one) Some steps I can remember: Creation of a national group which will manage the migration. Creation of the Software Libre Cuban web site.

III Taller Internacional de Software Libre (part 1)

Last friday I attended the III Taller Internacional de Software Libre, one of the events of the Fair Informática 2005, held in Havana. I got firstly impressed with the size of the assigned room. I thought there was pretty more than 300 people. Last year, the Taller was in a little room, with about 60 attendants. The first talk was given by an executive of Telecom Italia, basically publicizing his company, talking about the big changes that is experimenting the Telecom Italy Network.