For many years I’ve enjoyed listening to programming podcasts - it’s
the perfect way to make a commute a bit more fun and
educational. RubyRogues was always
one of my favourite Ruby shows and I find it very amusing that
recently I ended up being their guest. I certainly didn’t see this coming!
Seems that a lot has changed since the days I followed it actively, but it
was still fun to make an appearance there.
If you’d like to listen to our conversation about RuboCop, Emacs and
the future of Ruby be sure to check out this
Until next time!
If only there was an easy way to find the first commit in a Git repository…
A bit of Googling unveils some pretty hard to remember incantations like:
$ git rev-list --max-parents=0 HEAD
That returns the SHA-1 hash of the first commit in the repo and you can use
git show to actually see the commit details like this:
$ git show 91938b105b3e4ed86ba96602785123ffb1c0d1eb
Or you can simply combine the commands:
$ git show `git rev-list --max-parents=0 HEAD`
This gets the job done, but it’s kind of ugly and in practice you need
to map it to some Git alias or a shell alias to be able to use it
effectively. Here’s the shell alias approach:
alias git-first="git show `git rev-list --max-parents=0 HEAD`"
At this point it’s time for the twist it our story.
Turns out there’s a much simpler way to get to the beginning of your history:
Simple and sweet!
After dreading the migration of this site from Octopress 2 to Jekyll
for years, I finally found the will to do it today. The process was
actually very straight-forward and took me just a couple of hours
(most of which I spent trying to find new a theme for the site and
tweaking it afterwards).
After 3 years of “waiting” for Octopress 3, I’ve decided I waited
long enough. Today I (spontaneously) migrated my blog to a vanilla
Jekyll setup and I tweaked a bit its appearance. I’m reasonably pleased
with the result and I finally don’t have any excuses not to write.
I realized recently that it has been over 10 years since my first blog
post. I’ve started my humble writing “career” with Wordpress, then
switched to Octopress, and now here we are. One thing never really
changed, though - the quality of my writing. It was always abysmally
bad, as were many of the topics I wrote on. It’s really fun to look
back on all of this - I was reading some of my old articles, in the
process of migrating the blog to Jekyll, and I couldn’t believe some of
the things I wrote. I hope this means I’m getting wiser with age…
In the mean time I’ve started another blog, called Meta
Redux. I plan to do most of my (serious)
writing there, but I might write an occasional short article or two
here as well. My rough idea is to use Meta Redux as a platform for my
more creative writing, and to use
(think) for random stuff, small
Anyways, lately I’ve had this burning desire to share so many thoughts
and that really got me excited about writing. Let’s see if I’ll do
better this time around, or I’ll simply fail one more time…
CIDER 0.9 is finally out and
it’s our best release yet (believe it or not)! It took a lot
more time than I originally anticipated, but at least we managed to
ship in time for EuroClojure!
There are a ton of important changes and new features in 0.9 and now I’ll go
quickly through some of them.