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:
jabberbot: A simple Jabber Bot for Python
Visit: http://thpinfo.com/2007/python-jabberbot/
Published in my bookmarks
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.
How-To Guide for Descriptors (Python)
Visit: http://users.rcn.com/python/download/Descriptor.htm
Published in my bookmarks
Comments on Hacker News
"Object oriented models are fine if you write one application. But they tie functionality to data very closely and that makes repurposing of data for seperate applications much more difficult. So how do they analyse their data or use it in more than one application?" (...) This turns out to offer some big advantages: in my experience, the number-one cause of unwieldy SQL is a schema that's had to grow over time to accomodate ever more edge cases. Maybe it's been done through lots of nullable columns, maybe it's been done through lots of related tables or some other mechanism, but it frequently has to be done and ends up making the database painful to work with. (...) And views are not static (or mostly static) things like the schemas in relational DBs; views are free to evolve over time, you're free to add or remove views in response to changing needs, and the underlying data never has to change as a result. And so you don't need to agonize over the most efficient way to reduce your data to a uniform schema. You don't need to "migrate" your underlying data storage representation to change the types of things you can store or the types of queries you can run.— http://news.ycombinator.com/item?id=684026
Chris Wanstrath Keynote at Ruby Hoedown 2008
My plea to you today is to start a side project. Scratch your own itch. Be creative. Share something with the world, or keep it to yourself.
Side projects are less masturbatory than reading RSS, often more useful than MobileMe, more educational than the comments on Reddit, and usually more fun than listening to keynotes.
Visit: http://gist.github.com/6443
Published in my bookmarks
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!
Paydar project
Playdar is designed to solve one problem: given the name of a track, find me a way to listen to it right now. It will search your local disk (iTunes library, MP3 folder etc.), it will search your home or office network (kinda like searchable iTunes shared libraries) and it will search other sources. You can write plugins for Playdar to enable it to search additional sources. It's fast. If a matching song is within reach, it can start playing in less than a second. This is called Content Resolution. Playdar is a "Content Resolver" - it will take metadata (artist, album, track names) and resolve them to a location of a matching music file. This might be on your disk, or over the network - regardless, sources are always presented as URLs that point to your local machine. Playdar runs a lightweight webserver on your machine - this is how you talk to it, and it's how other desktop apps and web apps talk to it.
Visit: http://www.playdar.org/
Published in my bookmarks
OpenSearch standar
OpenSearch is a collection of simple formats for the sharing of search results.
The OpenSearch response elements can be used to extend existing syndication formats, such as RSS and Atom, with the extra metadata needed to return search results.
Visit: http://www.opensearch.org/
Published in my bookmarks