Jul 26, 2012


This is a follow up on my first geeky whatnot post. You can call this the second of its kind, if you want.  In the aforementioned post I used Gist for embedding the code snippet. Although I like GitHub a lot and thank its hype and open-source developer's community for many reasons, I was not entirely pleased with the way the embedded code looked.

Hence, I surfed the web and found some alternatives with differente features. In the following paragraphs you will find a brief summary of the tools for providing embedded code snippets that looked promising by either reason and actually worked in Blogger. The ordering in the list reflects my personal affection for one option or the other, being the last entry the one I liked the less.

For each entry in the list, I took into account several criteria. I reviewed capabilities for version control, configuration of expiration and exposure, quality of syntax highlighting, and tag association. I also considered the user base of each tool and the degree of customization for embedding the code and its looks. Of course, the information reported below is not complete by any means, so I encourage you to look in the corresponding webpage for the specifics of each tool of interest.

gist.github.com: Offered by Github to its users worldwide. Snippets can be associated to an account or be anonymous. It offers highlighting for many languages and version control, and has a well-stablished and promising community. Its downside for providing snippets is the lack of line numbers and the ugliness of the bottom line.

pastebin.com: Available since 2002 with thousands of active users. It offers highlighting for many programming languages. Snippets can be associated to an account and can be made public/private and set with an expiration date. Snippets are not under version control in the proper sense of the word. However, they can be copied into new versions, etc. This service seems like a great starting point not only for code snippets but also for an online portfolio of them. On the downside, I did not like to much the title bar but this is minor.

This one looked very promising from the beginning. It has the same features in terms of version control and community-centric website as gist. I think this is the preferred option by many bloggers. The only thing I did not like was the ugly way the title of the snippet is displayed; I failed on trying to get around this ugliness.

smipple.net: Here code highlighting and the way embedded code looks like are not a plus. The user-base seems to be small too. However, this service offers tags and code comments to the webpage visitors.

codetidy.com: This site provides code snippets for many programming languages. However, it is not user-centric nor based on a community; it is basically a user-whenever-you-need site. This is a bit of a downside for me, since it would be nice to keep track of all snippets by an user. Again, title ugliness is a no-go for me.

Code Vault:
More development seems to be needed here. Specially, code highlighting does not seem to be ready yet, at least for Ruby.

snipt.net: More development seems to be needed here. Although code highlighting is pretty, code rendering is not there yet.

snipt.org: What can I say. I simply do not like the title display and even less the fat bottom of the rendering. If they change this design, I may consider looking at this service again.

All in all, I will stick with gist for a while.  Maybe you can help in completing this list with worthwhile alternatives you like !?

Jul 25, 2012


Maintaining a blog was an idea I explored a few years ago. The problem was that I had no idea (pun intended) on what to focus or the direction of my aim. Apparently, I am out of my senses and have put together the determination to open this blog about some of the things I am passionate about, namely:
  • high quality algorithms
I know how to appreciate elegant and effective coding, in any programming language. Therefore you can expect snippets of code I consider 'pearls', either written by me (believe it or not, I consider myself modest) or found somewhere. Expect the use of any programming language.
  • free (and partial) thinking
You could say I am uncomfortable with the status quo of the preferred economic model, of the interaction of religion with the state, and the superficiality in our societies. Hopefully for you, a very few amount of posts will be about these matters.
  • geeky whatnots
As a book enthusiast, specially of science and science fiction, you can expect sporadic geeky submissions about some of my reads. Please read on your own risk! If you come to visit often enough, you may get unlucky and find something you like, resulting in longer procrastination.
This is good enough for a first post ... and then I am finally ready to officially welcome you to my blog: