Pete LePage

Thoughts on web development, life, and photography.

I was was picking through the frozen turkeys at the grocery store for Thanksgiving Day, but couldn’t find one big enough for my family. I asked the butcher, “Do these turkeys get any bigger?”

“Uh, no sir. They’re dead.”

Did you hear about the huge truck that crashed in San Francisco? It was carrying Vic’s Vaporub… It was the first time a crash cleared up congestion!

You’d think, that as an adult, I’d know not to put scorching hot pizza rolls in my mouth. 🔥🔥🔥🔥🚒 Well, 5 days later, the roof of my mouth is still sore! 😭

RT @CNN: Elizabeth Warren was asked how she would respond to a person who says that marriage is “between one man and one woman”

"I’m going…

@shizzmd I suspect going forward we’re only going to see Promises or Async/Await. If you’re not a fan of promises, I’d recommend checking out Async/Await, it can be much cleaner and easier to use. Sorry!

RT @Snugug: Your application’s perceived performance is how users will perceive your application.

#PerfMatters #ShowerThoughts

@United, Maureen at RIC handled a group of upset pax really well, she couldn’t fix it, but gave us the info she had and did the best to reassure us. Fingers crossed I make it home tonight

Pet peeve: “across” the world. It should be around the world. Across is used for things that are flat, where you can go from one side to the other.

@AngularChicago Very true. Be sure to check out the privacy section of the article, we’ve done a lot of work to put users in control over which contact(s) they share, and which properties. And you can’t share everything.

@demonslay335 @RevToJa Nothing that I know of changed, but it sounds like it did. Could you feature detect onafterprint?

if ('onafterprint' in window) {
// use modern
} else {
// deal with ie
}

I don’t have an old IE to try this on, but I suspect this should do the trick.

RT @Google: If you want to learn how to code, there are tons of tutorials on YouTube—but only a few star a drag queen in a candy-colored wi…

I had a hen who could count her own eggs…

She was a mathmachicken…

Thanks folks, don’t forget to tip your bar staff.

@mischmerz That should work. When a device is asleep, and a message comes in, the service worker is woken up and handles the incoming message. Do you have more details about what’s not working?

RT @bgalbs: “Opening a web page should never be dangerous.” As web capabilities expand, security must be front & center. Check out all the…

I may have just slipped “Jenny’s number” (867-5309) in to my I/O slide deck as an easter egg. Let’s see if it sticks and who notices! 😃