Shrapnel

Late Night Links – Sunday March 30th, 2014

It’s that time of the week again, and since I’m going to be away next weekend today’s post is almost certainly going to have to hold you for two weeks.

And that’s it! We’re done for a couple of weeks! Talk to you soon, internetters.

Shrapnel

Late Night Links – Sunday March 23rd, 2014

It’s that time again! It’s been a particularly busy week of looking at junk on the internet, so I have much to get through. We’d better get started.

And we’re done for another week! Until next time, internet!

Shrapnel

I purchased the stupid $400 headphones that I’ve mentioned once or twice before.

I already love them. Last night while Flo was out walking the dog I tried listening to a bunch of different types of music (some hip-hop, some classic rock, and some classical) and it all sounded amazing (currently playing: Kleerup’s self-titled album).

When she got home she was in the bedroom doing something, and I was vaguely aware of some noises in the apartment. I hit pause and I could hear Charlie barking. It sounded so much like he was outside in the hallway that I actually got up to go see what was going on, and let him in if he’d somehow been left out there.

Once I’d taken the headphones off and I didn’t have the benefit of noise cancelling I could hear that he wasn’t actually in the hallway at all – he was standing about eight feet from me.

Shrapnel

I purchased the stupid $400 headphones that I’ve mentioned once or twice before.

I already love them. Last night while Flo was out walking the dog I tried listening to a bunch of different types of music (some hip-hop, some classic rock, and some classical) and it all sounded amazing (currently playing: Kleerup’s self-titled album).

When she got home she was in the bedroom doing something, and I was vaguely aware of some noises in the apartment. I hit pause and I could hear Charlie barking. It sounded so much like he was outside in the hallway that I actually got up to go see what was going on, and let him in if he’d somehow been left out there.

Once I’d taken the headphones off and I didn’t have the benefit of noise cancelling I could hear that he wasn’t actually in the hallway at all – he was standing about eight feet from me.

Blog

Five Essential Windows 8.1 Time-Saving Tweaks

I just installed Windows 8.1. It only took about 10 minutes to get things set up the way I wanted them, but I hated the default settings.

Also, this: How to Sign Into Windows 8 Without a Microsoft Account

Five Essential Windows 8.1 Time-Saving Tweaks

Blog

Do Not Trigger Real Event Names with jQuery!

I post this link because I was writing some code earlier in the week and I was about to do exactly what this article tells us all not to do. Then I happened upon David Walsh’s article here and it actually led me to an even better solution than the one he suggests.

Until I read this I had no idea you could define your own custom events in jQuery and then trigger them later, but the winning solution is actually proposed by somebody in the comments section on David’s site: you can namespace your custom-named events. So:

$('#element').on('click.tabs', function() {
   ....
}

gets triggered when the element is actually clicked, or can be triggered programmatically with

$('#element').trigger('click.tabs');

the beauty here is that no other click events assigned to that element or its parents get triggered – we’re specifically targeting the namespaced event. If you’ve accidentally defined two .click() handling functions, or if there’s a .click() function on the parent element, the programmatic trigger doesn’t flow through to them.

Here’s a demo of what I’m talking about. Check out the difference between the three “trigger” links.

Do Not Trigger Real Event Names with jQuery!