Alan Hogan

Things Alan Hogan feels like sharing.

These are my comments on music, movies, books, web development and programming, Mac tips, and life in general. Enjoy!

Mon Mar 8
This irrational offer lasts until pi day (3/14/2010). Dada Mail hits version 4.
Fri Mar 5

Julian Casablancas hasn’t made me cry yet. But damned if it hasn’t gotten close. (Also, his album is only $5 on Amazon. Yes, that’s an affiliate link. No, I’m not posting this for the 1¢ I might make off my two followers.)

Tue Mar 2
Complicated mammals on the wings of robots Julian Casablancas — “11th Dimension”
Fri Feb 26
Take all your fears, pretend they’re all true.
Take all your plans, pretend they fell through.
But that’s what it’s like
That’s what it’s like for most people in this world.
Julian Casablancas, Out of the Blue
lyrics

jQuery confirmation dialogs

The coolest jQuery snippet I wrote in a while (sorry about the wrapping):

$('.users form.delete, .user form.delete'
).submit(function(){
    var name = jQuery(this).parents('.user-details').find('.user-name'
    ).text().replace(/^\s*(.*\S)\s*$/,'$1');
    if(name==''){name='this';}
    return window.confirm('Are you sure you want to delete '+
    name+'?');
}).append('<a href="javascript:void(0)" '+
'class="delete_btn_surrogate">Delete</a>'
).children('input[type=submit]').hide();
$('form.delete a.delete_btn_surrogate').click(function(){
    jQuery(this).parents('form').submit();
});

It looks for the name of the person (user) being deleted, in the markup, and inserts it into confirm() dialog box. This works on two completely different pages, the list of many people, and the specific page view for one person. It feels like I invented my own microformat.

Wed Feb 24

Browser market share

Internet at large: <10% Webkit* traffic
My website: 40% Webkit traffic

The point is, when someone like FontFont says that by covering IE and Firefox, they have compatibility with 90% of the Internet, that in no way means they have compatibility with 90% of your target market or visitors.**

* Safari and Chrome are the primary Webkit browsers.
** They do however have a TypeKit partnership to cover Webkit.

Tue Feb 23
Sat Feb 13
Mon Feb 8
Fri Jan 29
After the lecture I was so annoyed and insulted by the lack of talent and amazing luck this [well-known] designer had, I remember saying to myself as I walked back to my car “if this guy can do it, I sure as hell can.” I went home, picked up the Fontographer manual and spent the night sketching my first two type families that would later be released by T-26. Neil Summerour, quoted in Creative Characters
Mon Dec 21
Daring Fireball gets about twice as many page views from MobileSafari as all versions of Internet Explorer combined on a typical weekday. John Gruber
Sat Dec 19
curvedwhite:

The Clock Clock by Humans Since 1982

It is impossible for the “Clock Clock” to show times that require the digits 3, 6, 8, or 9 very well (without adding a third hand to the clocks). Even the time in this shot has a rather sad-looking 9, if one looks closely.

curvedwhite:

The Clock Clock by Humans Since 1982

It is impossible for the “Clock Clock” to show times that require the digits 3, 6, 8, or 9 very well (without adding a third hand to the clocks). Even the time in this shot has a rather sad-looking 9, if one looks closely.

Fri Dec 4

I enjoy the times when an unknown doesn’t really matter.

Is your profile picture sideways, dear 20-something MySpace user, because you are too unintelligent to rotate it properly, or because you think it’s cool that way?

It doesn’t matter. I’ll judge you a little bit either way.

Wed Nov 25