26 Apr '13, 5pm

This rings true at the core of my soul.

Server daemons (such as PostgreSQL or Nginx) and applications (such as a Rails or Django app) sometimes offer a configuration parameter for a path to the program’s logfile. This can lead us to think of logs as files. But a better conceptual model is to treat logs as time-ordered streams: there is no beginning or end, but rather an ongoing, collated collection of events which we may wish to view in realtime as they happen (e.g. via tail -f or heroku logs --tail ) or which we may wish to search in some time window (e.g. via grep or Splunk). Using the power of unix for logs Unix provides some excellent tools for handling streams. There are two default output streams, stdout and stderr , available automatically to all programs. Streams can be turned into files with a redirect operator, but they can also be channeled in more powerful ways, such as splitting the streams to multi...

Full article: http://adam.heroku.com/past/2011/4/1/logs_are_streams_not...

Tweets

Using Lasers to Find Land Mines and IEDs

Using Lasers to Find Land Mines and IEDs

spectrum.ieee.org 25 Apr '13, 12pm

Today we rely on dogs to sniff out hidden explosives. The problem is, you can't debrief a dog, so you can't identify the k...

Samsung admits to using tin linked to child labor, deforestation; Apple mum on sourcing

Samsung admits to using tin linked to child lab...

news.mongabay.com 25 Apr '13, 8pm

Samsung admits to using tin linked to child labor, deforestation; Apple mum on sourcing mongabay.com April 25, 2013 print ...

Earth's core is much hotter than thought

Earth's core is much hotter than thought

channelnewsasia.com 26 Apr '13, 2am

WASHINGTON: European scientists said Thursday that a new laboratory experiment shows the Earth's core is likely much hotte...

China market: Qualcomm, Spreadtrum cutting quad...

digitimes.com 26 Apr '13, 5am

China market: Qualcomm, Spreadtrum cutting quad-core processor prices Cage Chao, Taipei; Jessie Shen, DIGITIMES [Thursday ...

Who is the core American runner?

runnersworld.com 24 Apr '13, 4pm

Are you a 39-year-old woman who runs 20 miles a week, or a 43-year-old man who runs 25 miles a week? If so, you're not alo...

Using Analytics To Grow Blog Traffic And Improve Your Link Building

Using Analytics To Grow Blog Traffic And Improv...

seomoz.org 22 Apr '13, 7am

Any good blogger with a relatively new blog should already be doing a couple of things. Firstly, you should be writing exc...