customizing vim status bar
I've been playing around with vim configuration. And one thing that I really like is to have an always visible status bar with some usefull info:
Just add the following two lines to your .vimrc file:
set laststatus=2
set statusline=%F%m%r%h%w\ [TYPE=%Y\ %{&ff;}]%=[%p%%\ line:\ %l\ of\ %L\ col:\ %v]
References:
out of the rubble
Patti Smith: “Right now I’ve been in this room in this city for so long I don’t see it anymore and you know I’m not being stimulated. Lately I’ve been doing a lot of cleaning inside my brain. My eyes are not seeing anything around me. So I’ve been dreaming a lot, recording dreams and trying to look within, but I’m not worried about it. I’m just waiting for the moment when I’ll get to take a train or plane some place and I know I’ll spurt out because I’ve just got to see new things. I think Rimbaud said he needs new scenery and new noise, and I need that.”
reblogging / vía x
Pytables - Getting the most *out* of your data
PyTables is built on top of the HDF5 library, using the Python language and the NumPy package. It features an object-oriented interface that, combined with C extensions for the performance-critical parts of the code (generated using *Cython*), makes it a fast, yet extremely easy to use tool for interactively browse, process and search very large amounts of data. One important feature of PyTables is that it optimizes memory and disk resources so that data takes much less space (specially if on-flight compression is used) than other solutions such as relational or object oriented databases.
easy_install django-rsscloud
Yes, I'm done. django-rsscloud is already at Pypi to be downloaded or better to be installed with easy_install. Go and rsscloudfy your blog's feed!
My feed is rsscloud enabled!
If you chek its source code, you will see the tag cloud:
<cloud path="/pleaseNotify" domain="rssnimbus.appspot.com" protocol="http-post" port="80" registerprocedure=""> </cloud>
I'm using Chuck Shotton's rssCloud-enabled server called rssNimbus.
And I hope I will be sharing the django app that I have written to make my website rssclod-enabled in the next few days.
Why do I start blogging
I like the words that Mark Pilgrim wrote some years ago:
I have long believed that blogging, when done at all, should be the byproduct of my activity online, rather than an activity in and of itself.
In that sense, a blog is where you keep track of your online activity, a web log. It's different from a web journal, where you register and share your thoughts, fellings, hobbies, opinions, and the like.
So, what I want is:
- to put my thoughts about some of the stuff I read in order
- a personal way to archive, annotate and share my favourite links
- to share my discoveries (and my mistakes too)
- to write useful posts about my projects
- to learn to write better english
- to write in spanish about some stuff only (or mostly) available in english
- an idependent, not centralized way to achive it all (yeah, I'm talking about democracy)
Let me put it in other words: you search, browse, read some online texts. Maybe you bookmark or comment someone's blog entry. That's the web. You do it all the time. You do it once and once again. After reading some posts you will be having a lot of ideas -well, maybe just half an idea, one idea if you're lucky. You search again, browse, read more about it. Then you wanna put all your thoughts in order, to share them, to archive your ideas. That's the web too. And when you do it, you link to your sources. Because that is what the web is: a linked world of ideas. No matter what all those gurus say, web have always been social.
Building my web site
As I've said before, this is a simple Django powered site that I've built integrating some existing apps (the great mingus blog engine, portfolio, pagination and tagging) and my own django-planet app into a site-project. Let me now explain a little about each componet app.
- Mingus is the main component. It`s a blog engine with a lot of useful features I like: oembed support, inline media, dinamic blocks, pages and navbar menu, nice blog urls, disqus integration... Mingus itself provides no models: it's just a chunk of other django reusable apps (basic, disqus, djangodblog, django_extensions, django_proxy, elsewhere, flatblocks, navbar, oembed, sorl-thumbnails, template_utils, tagging) joined together plus an adhoc core app and the project (some simple and nice css themes, the other static files, custom templates, the main urls.py file, and settings and local settings). It's very easy to get it work. Despite the fact that many of these apps lack of documentacion about how to configure centain things (elsewhere links, how to use inline app), it was really easy to get things done.
- Portfolio: It`s a pretty simple app that you can use to show the world your portfolio or the projects you are or you've been working on, the web-way to show your resume: it has categories to group your projects and skills to add to them, allowing to anybody to browse them by category or skill.
- Planet: it's a django reusable app that I'm developing. It's a feed aggregator that allows you to build a planet of blogs or feeds. It makes use of two other nice apps: tagging and pagination.
Mingus powered site using my custom theme.
Also I had modified several templates (from mingus, portfolio and planet apps) in order to make it posible to glue them and make them fit my needs, a few views, added some custom CSS, and created the mingus theme that you are enjoying (or maybe hating :P). I will be contributing back to each project as soon as I get some time to put it all in order and document it of course.