Sometime last year I created a fantastic contraption level that looks like Abraham Lincoln. I haven’t checked it since then, but, apparently it got rated as one of the top levels, making me #18 in user rankings. Go me!
To list files in PHP, you can lazily use glob(“*”); however, it has no sorting capability. Few minutes of google and I ran into the most elegant way to list files by date.
$files = glob( "../../../feed21/*.xml" ); // Sort files by modified time, latest to earliest // Use SORT_ASC in place of SORT_DESC for earliest to latest array_multisort( array_map( 'filemtime', $files ), SORT_NUMERIC, SORT_DESC, $files );
Credits go to commenter “kbluhm” on this site: http://www.computing.net/answers/webdevel/php-sort-directory-contents-by-date/3483.html
So, I started hosting a public minecraft server, at my own expense. Purpose was just to let people play. Since I work and spend decent time commuting to work, I myself don’t get to play. But then, one evening I logged in and found this- a statue of me made by random internet people.
“Statue of PP.
This chart shows world’s fattest, biggest meat eaters. Or does it? Sadly, USA is fighting for #5 place.
In more precise words, it’s the obesity (BMI) index compared against the worldwide meat per-capita consumption ratio as averaged from 2002-2007. Since the available data is sporadic, only these select countries are shown. Interesting to note that the Slovak Republic is ahead of Czech Republic. Is this an indicator of a foodway-cultural divide – or – difference in available data?
Now, don’t read too much into it.
Shown here are ratios, meaning that even normal obesity/meat consumption ranges look extreme. Here are the extremes, explained:
France has a fairly low obesity index but a fairly high meat consumption rate.
Turkey has the lowest recorded meat per capita consumption rate. However, its obesity rates are “normal,” producing a higher calculated ratio between the two.
* Inspired by pdviz and my growing kangaroo pouch as I chow down my late lunch.
In my professional work I’ve always ignored blog timestamps. I’m not a designer so they were an afterthought to me. After programming, content is king, right?
So I went through my Google Reader list and tried to classify how various (meaning random based on my bloglist) designers dealt with timestamps. End result is this gallery.