What if you could turn
thousands of lines of code into
simple queries?

el-get

I’ve been using emacs for a long time, and a long time it took me to consider learning Emacs Lisp. Before that, I didn’t trust my level of understanding enough to be comfortable in managing my setup efficiently. One of the main problems of setting up Emacs is that not only you tend to accumulate so many tricks from EmacsWiki and blog posts that your .emacs has to grow to a full ~/.


I wrote a book!


Database Virtual Machines

Today I’m being told once again about SQLite as an embedded database software. That one ain’t a database server but a software library that you can use straight into your main program. I’m yet to use it, but it looks like its SQL support is good enough for simple things — and that covers loads of things. I guess read-only cache and configuration storage would be the obvious ones, because it seems that SQLite use cases aren’t including mixed concurrency, that is workloads with concurrent readers and writers.


This time, we are trying to figure out where is the bulk of the data on disk. The trick is that we’re using DDL partitioning, but we want a “nice” view of size per partition set. Meaning that if you have for example a parent table foo with partitions foo_201006 and foo_201007, you would want to see a single category foo containing the accumulated size of all the partitions underneath foo.


Thanks to amazing readers of planet emacsen, two annoyances of switch-window.el have already been fixed! The first is that handling of C-g isn’t exactly an option after all, and the other is that you want to avoid the buffer creation in the simple cases (1 or 2 windows only), because it’s the usual case. I’ve received code to handle the second case, that I mostly merged. Thanks a lot guys, the new version is on emacswiki already!


So it’s Sunday and I’m thinking I’ll get into el-get sometime later. Now is the time to present dim-switch-window.el which implements a visual C-x o. I know of only one way to present a visual effect, and that’s with a screenshot: So as you can see, it’s all about showing a big number in each window, tweaking each window’s name, and waiting till the user press one of the expected key — or timeout and stay on the same window as before C-x o.

Dimitri Fontaine

PostgreSQL Major Contributor

Open Source Software Engineer

France