Via Geeks Are Sexy, I came across Twaggies – a website full of funny tweets converted to imagery. Funny stuff!
Year: 2011
Debugging with git bisect
Via Sebastian Bergmann’s blog I’ve learned about git bisect and how it can used for debugging. Â Sebastian demonstrates the functionality together with PHPUnit. Â I am a git newbie, so that was quite interesting for me.
git bisect can be used to find the change that introduced a bug. It does so by performing a binary search on the list of commits between a known good and a known bad state of the repository. A tool such as PHPUnit can be invoked at each step of the binary search to check whether or not the current state is broken.
Here is a shortcut on how to actually use it:
$ git bisect start $ git bisect good someVersion $ git bisect bad someOtherVersion $ git bisect run someCommand -with SomeArgument
There are, of course, more resources online covering the feature. Â I found this section of the Git Community Book helpful. Â Hopefully, I’ll remember about it when I actually need it.
Day in brief
- Shared: On feature-branches and pull-requests – Alexey Zakhlestins blog » php http://bit.ly/fdRM3T #
Day in brief
- Free fonts at UrbanFonts.com http://bit.ly/gPxrVD #
- I'm at FXCC (16, Spyrou Kyprianou ave, Divine Clock Tower, Limassol) [pic]: http://4sq.com/goNxlJ #
- My hosting company (cheapvps.co.uk) is experiencing a power cut. All sites are down for a few minutes already. Hopefully they fix it soon. #
- Apparently, power cuts affect the same data centers that were power tested a week ago. Weird. http://ph-status.com/ #
- I favorited a YouTube video — Hot Wheels Secret Race Battle – 3D projection mapping in… http://youtu.be/6GcighIL9w0?a #
- The sites are up. #
- 50 Extremely Useful PHP Tools http://t.co/cPoAlty via @smashingmag #
- I'm at Tototheo Group (89 Omonia ave, Limassol) http://4sq.com/gAYDfP #
Japanese tragedy continued
Big Picture continues the series on Japanese disaster. Â As on of the comments says:
It’s just incredible how tragedy is heaping upon tragedy – the earthquake, then tsunami, then reactor problems, volcano – and now frigid weather. Love and strength to the people of Japan – your grace through fire is an inspiration to all.
I’ve only seen scenes like this one in the movies about World War II and in post-apocalyptic video games.  This one is not a result of someone’s imagination.  It is actually how things are now, today, a mere 10,000 km from me.  Unbelievable.