Saturday, January 31, 2015

Friday, January 30, 2015

Parable of the Thing There is a Thing. It doesn't really matter what it does. The Thing does a thing...

Parable of the Thing

There is a Thing. It doesn't really matter what it does. The Thing does a thing, and that thing can be useful. Or at least amusing. Unlike certain Things , I like this Thing. The idea for the Thing came from a man who wanted a Thing for himself, and who wan...




Thursday, January 29, 2015

I'm a big fan of Droid Sans Mono and sometimes use Inconsolata and Consolas. Was pointed to this font...

I'm a big fan of Droid Sans Mono and sometimes use Inconsolata and Consolas. Was pointed to this font and am tempted. What's your favorite programming font?




Tuesday, January 27, 2015

I never would've thought "Jackson Five" with this one, but then, I'm not Post Modern Jukebox, am I?

I never would've thought "Jackson Five" with this one, but then, I'm not Post Modern Jukebox, am I?




On Market Research: Programmers Are Not People "I have an idea for an app. This web service does A, ...

On Market Research: Programmers Are Not People

"I have an idea for an app. This web service does A, B and C, but I really want it to do D." You sit across the table from me. This is your idea, and you are excited by it. Maybe not as much as you were when you thought it up two weeks ago, but excited enou...




I fret and struggle with function names, even when I am the only developer who will ever see most of...

I fret and struggle with function names, even when I am the only developer who will ever see most of them, and there's only one other who will see the others.




Monday, January 26, 2015

You people on the East coast think you have it bad, with snow-storms and whatever. That's nothing. ...

You people on the East coast think you have it bad, with snow-storms and whatever.



That's nothing. My coffee maker broke, and calling the service hotline says "we're not open today due to inclement weather".



You guys get a little snow, and suddenly civilization breaks down.



My coffee maker is broken and nobody is answering the phone.



And CNN just keeps talking about snow. What about my coffee? Priorities, people, priorities.



What am I going to do without my coffee maker? I'm going to sit here in a corner, crying, that's what.




Challenge Accepted!

Challenge Accepted!




__DATA__ (I added a third _ on each side, so what it shows is what Perl expects, not what G+ wants ...

__DATA__



(I added a third _ on each side, so what it shows is what Perl expects, not what G+ wants for underlining.)



In a Perl program, everything below the above line would be considered data and not code, and you could get everything in it with something like:



my @data=<DATA> ;



In a module, I put a template in DATA rather than creating a separate .tt file, but now, I'm needing to create a second template. So, I need to change this module in a way that doesn't break existing code.



Ah, Mondays.




Why I Am Ambivalent Toward Developing A News Aggregator Tool I am involved with a project that combines...

Why I Am Ambivalent Toward Developing A News Aggregator Tool

I am involved with a project that combines Internet of Things and Quantified Self. Because I'm first and foremost a web/server guy, I'm joining in at the web/server level, and as the team is working on the hardware prototype, there isn't much for me to work...




Today in Geek History: Happy 21st Anniversary, Babylon 5! The first season premiered in 1994.

Today in Geek History: Happy 21st Anniversary, Babylon 5! The first season premiered in 1994.




Millions of men today bear the genetic legacy of Genghis Khan, the famously fertile Mongolian ruler...

Millions of men today bear the genetic legacy of Genghis Khan, the famously fertile Mongolian ruler. New research shows ten other men who have also left a lasting impression on present-day populations. Read more in Nature: http://23me.co/CK5t3y




I was discussing with some friends about single quotes and double quotes in JS. While the JSON specification...

I was discussing with some friends about single quotes and double quotes in JS. While the JSON specification tells us to double quote keys and values, linting tools like Google's closure compiler are recommending single quotes.



Lookin' for an answer, greppin' the Internets, I only found answers like "it's programmer's choice". What's your opinion about this?



For JSON, it is easy. Always use double quotes.



For JavaScript, I recommend using double quotes for strings that make sense outside of the program: error messages, urls, html fragments, etc.



Use single quotes for strings that only make sense to the program: symbols, property names, character constants, etc.



The advice "Programmer's choice" is usually very bad advice. Always look deeper.




Friday, January 23, 2015

This is the most astonishing martial-arts video I have ever seen. Stuff you had no idea was even possible...

This is the most astonishing martial-arts video I have ever seen.



Stuff you had no idea was even possible ... and he makes it look easy.




On the Uselessness of Campus Tech Support, or "Go Away, Kid. You Bother Me." In time, this story will...

On the Uselessness of Campus Tech Support, or "Go Away, Kid. You Bother Me."

In time, this story will be one I think about and laugh. I am not there yet. There is a student-led group whose charter is to find interesting people with interesting stories, coach them a bit, and have them tell those stories to a larger audience. If you t...




Wednesday, January 21, 2015

Watch them melt away in seconds.

Watch them melt away in seconds.




Perl Implementations of anyPass() and allPass() allPass() takes an array of code refs containing tests...

Perl Implementations of anyPass() and allPass()

allPass() takes an array of code refs containing tests, and returns a function which takes a value, runs the tests on that value, returns false if any test fails, and returns true after all the tests. anyPass() takes an array of code refs containing tests, ...




Thanks to Sound Opinions for making me aware of this Remix For No Cash.

Thanks to Sound Opinions for making me aware of this Remix For No Cash.




Me this morning.  EDIT - I'm sharing the achievement with +Jessica Matthews

Me this morning. 



EDIT - I'm sharing the achievement with +Jessica Matthews 




Can't think of a PMJ video that wasn't great. This is no exception.

Can't think of a PMJ video that wasn't great. This is no exception.




Monday, January 12, 2015

How I Post Code /var/log/rant is my code blog. When I want to rant about code, I rant here. And, often...

How I Post Code

/var/log/rant is my code blog. When I want to rant about code, I rant here. And, often, rants about code include code. My old way of handling it is to use Blogger Syntax Highlighter , where I put in a PRE tag where name is "code" and class is the language i...




Wednesday, January 7, 2015

I live Marvin Gaye. I love James Jamerson. This is perfect.

I live Marvin Gaye. I love James Jamerson. This is perfect.




A Higher Order Idea stloen from Ramda.js Start with Paul Bennett, who is a Perl guy I know from Google...

A Higher Order Idea stloen from Ramda.js

Start with Paul Bennett, who is a Perl guy I know from Google Plus. He pointed to a function in Ramda.js, which allows you to create a number of filters as anonymous functions, put them in an array, pass that array, and do that test in one line. // Instead ...