Joined August 2012
·
Drupal logo 1

Daniel Pepin

Senior Web Developer
Senior Web Developer
·
Manchester, NH
·
·

Posted to CSS Structure over 1 year ago

We have adopted BEM where I work, and it's pretty nice: http://coding.smashingmagazine.com/2012/04/16/a-new-front-end-methodology-bem/

Posted to One line browser notepad over 1 year ago

@jasecoop I actually use http://a5.gg/ every day for taking quick notes and keeping track of my timesheet. Thanks!

Posted to PHP count() is very slow. over 1 year ago

This site http://m.metamorphosite.com/php-benchmarks-loops-arrays would suggest that foreach loops are actually very fast most of the time. However, I think they naturally take up more memory when you're using them. But using references can fix that:

foreach($myarray as &$ref){ ... }
Posted to Getting weather via your command line over 1 year ago

@bashir Very cool, didn't know wunderground had a telnet server setup.

Achievements
891 Karma
76,960 Total ProTip Views
Interests & Skills