What is the most elegant line of code you’ve seen?
Surprisingly, a lot of answers have a very weird definition of “elegant”. But still there are quite a few ones that are elegant indeed.
What is the most elegant line of code you’ve seen?
Surprisingly, a lot of answers have a very weird definition of “elegant”. But still there are quite a few ones that are elegant indeed.
Here is a nice idea with a good execution:
I spent some time recently in Google Maps, finding the edges of their Street View image coverage. I’ve always been drawn to the end of the road, to the edges of where one might be allowed to travel, whether blocked by geographic features, international borders, or simply the lack of any further road.
Via kottke.
The Daily Post blog which I mentioned a few times before has started yet another rather useful thingy – a series of posts on how to become a better photographer. Here is the first post, and it’s rather good. There are not too lengthy explanations, bullet point summaries, and, of course, excellent images.
There are several common misconceptions about photography: it’s about art, it’s about light, it’s about subject. All of those things are true, but even before all of that, it’s about people and psychology. (Even photographs that have no people in them!) The photographer makes an interpretation of the scene/subject; on the other end, the viewer makes another interpretation. The very best photographs and photographers convey their ideas cleanly to the end viewer, while still leaving room for imaginative interpretation. This means that to make a good image, you need to be able to recognize one.
Back when photography was one of my primary hobbies, I read a lot of articles, books, and forums. Writing like that is rare. Simple, yet concise language. It’s almost like someone is just talking to you.
http://www.youtube.com/watch?v=ADJhErmJuoQ
I am not the biggest Russell Brand fan in the world, but this is genuinely funny.