Email or username:

Password:

Forgot your password?
6 posts total
Francisco Tolmasky

Almost all blogs put “next page” URLs at /2, /3, … /n. These are *bad URLs*, since they’re constantly changing. Instead, do the following: choose how many posts you want per page (p), as usual. But make an exception for the main page, which waits to hit 2*p posts before dumping p posts to the next page all at once. Now your “next pages” won’t change, so they can have persistent URLs! So, number your URLs in *decreasing* order: /n, /n-1, … /1. As a bonus, “/1” conveniently has your first posts!

sayrer

@tolmasky it's a classic. the “next link” should always be a hash of the next posts, and unpredictable. also, some dumbass always says "this is complicated, can't we just use numbers” There’s always someone with a PHP script that can increment an integer!

Miguel de Icaza

@tolmasky this is an brilliant insight I could have used 24 years ago.

Francisco Tolmasky

I hate the font Web API *so much*. There's like maybe 3 things people have ever wanted to do with fonts online, and I swear these APIs go out of there way to *not do them*, or provide decoy APIs so you accidentally use that one instead of the one you want. It feels like the entire design goal of the font Web API is to convince you to just give up and use TypeKit.

Francisco Tolmasky

Password Inception. Remember attention to detail? Password was an app people have been begging for for like 10 years and it feels like they threw it together in a weekend. BTW, if you try to autofill one level deeper, it freaks out and you lose the password popover until you restart Passwords.

Francisco Tolmasky

The number one thing they could add to AirPods is putting a LATCH ON THE CASE. Do a study of people dropping the fucking AirPods and having them pop out like popcorn. I don't want a smaller case, different shape case, I want a case that STAYS CLOSED. #AppleEvent

Francisco Tolmasky

I really hate the term “side-loading.” We shouldn’t need a word for the normal way we’ve been installing apps for the past 40 years. If tomorrow Apple decided they were going to start only letting you visit web pages they approved of, we wouldn’t call some sort of alternating system that let you see *the rest of the fucking internet* “side-paging”. We’d instead call the whole thing bullshit.

[DATA EXPUNGED]
Adam Bell :catPOWER:

@tolmasky huge +1 lol, especially since this term came from android command line dev tools

Francisco Tolmasky

8GB is 16GB. Safari is three browsers. War is Peace. We’ve Always Been at War with Eurasia. Just buy it and shut up.

macrumors.com/2023/11/08/8gb-r

Riccardo Mori

@tolmasky I don’t know why they kept boasting the 128GB of maximum RAM during the event, then. 64GB should be enough, no? Wink wink, nudge nudge.

Go Up