HN user

cpmsmith

474 karma

@cpmsmith

https://calum.io

[ my public key: https://keybase.io/cpmsmith; my proof: https://keybase.io/cpmsmith/sigs/FUgdQf8-8IDO3__KoHWZHUT2LwWjTjI20GHBuzrS7TA ]

Posts0
Comments107
View on HN
No posts found.

One thing that stuck out to me about this is that there have only been 32 years since 1993. That is, if it's happened 6 times, this threshold is breached roughly once every five years. Doesn't sound that historic put that way.

Orion 1.0 8 months ago

Yes, but Orion uses WebKit intentionally on desktop as well, unlike Chrome or Firefox which use their own engines on desktop but WebKit on iOS, so it's a bit different in this case.

I don't think any of that means the benchmarks shouldn't be taken seriously. GP didn't say they expect Bcachefs to perform like EXT4/XFS, they said they expected more like Btrfs or ZFS, to which it has more similar features.

On the the configuration stuff, these benchmarks intentionally only ever use the default configuration – they're not interested in the limits of what's possible with the filesystems, just what they do "out of the box", since that's what the overwhelming majority of users will experience.

I'm just getting "invalid response." in a 500 response from the `anubis/api/pass-challenge` endpoint – weirdly, when I added breakpoints and stepped through the code myself, it worked, but if I load again, I get the error. Maybe there's a timing component? (Firefox stable)

Don't animate height 12 months ago

You might be surprised at the CPU usage of rendering a GIF. I'm not sure why, but I've previously noticed Slack takes noticeably more CPU when there's an animated emoji on screen.

Apple Music's library features much more closely mirror the iTunes style, i.e. you have a library you can browse outside of just the "liked songs" pseudo-playlist. For instance, in Spotify (AFAICT) there's no way to browse all the songs in your library by artist; you can only list the artists you've followed, which is unrelated to whose songs you've liked, and go to their general artist page.

Personally, this is the top contender for a reason for me to switch away from Spotify.

This article mentions a notable limitation of the HSL colour model:

Perceived brightness is not at all uniform at equal starting points, it depends on the hue, as well as the saturation.

…but it doesn't mention an (under-discussed) solution available: using a better colour model. OKLCH uses similarly understandable coordinates, "chroma" being roughly the same concept as "saturation", but is designed to avoid just this kind of problem. That is, if you change the "hue" coordinate, you can reasonably expect the perceived lightness and chroma of the resulting colour not to change. Where such a colour does not exist, e.g. a blue with the same lightness and chroma as #FFFF00 yellow, it's simply out of gamut.

There's a colour picker web app[0] that shows the boundaries of the space along with smaller spaces like sRGB, and it's helpful for getting a feel for it. It also links to a post[1] laying out the reasons to use OKLCH in web projects (it's now supported by all three major engines), and the post[2] introducing OKLAB (same space, different coordinate system) is heavy on technical details.

[0] https://oklch.com/

[1] https://evilmartians.com/chronicles/oklch-in-css-why-quit-rg...

[2] https://bottosson.github.io/posts/oklab/

I think your point is that bad PR affects your decision not to use Intuit's products, but I'd argue they're a perfect example of bad PR not being a problem. They have sensationally bad PR, yet they're worth >$100B, one of the 100 most valuable companies in the world, and they dominate their category.

Organic Maps 3 years ago

I know that OsmAnd has fairly granular routing preferences, including a "preferred terrain" setting with "hilly", "less hilly", and "flat" options (as well as a "use elevation data" option which I don't quite understand).

There are a couple of ways they can try to detect devtools being opened. As the sibling comment implies, the most popular way is to detect a sudden viewport resize, and you can avoid that by ensuring your devtools are set to open in a new window before opening them.

The only other ways I'm aware of are:

- Detecting the keyboard shortcut, ⌘⌥i or equivalent, which you can avoid by using the browser menu, and

- More riskily, evaluating a `debugger` statement and detecting whether evaluation paused. I'm not sure you could do anything about this one, but it would certainly be obvious to you whether it was happening.

You're likely missing the Widevine DRM plugin. IIRC, many distros don't include it, or don't enable it by default.

I believe it's not possible for third-party developers to create their own items in Control Center. The widgets in Notification Center, though, can be third-party.

Incidentally the "now playing" section of Control Center does work with apps other than Apple Music, including Spotify and all major web browsers, just like the media keys.

There's some overlap, but ads aren't the only thing using this. Google Fonts is the classic example of something that does add value (nice fonts) to a webpage, and as such isn't blocked by most adblockers (including uBO) by default, but is still able to use this for tracking because the same domain serves the font files on every website using them.

WorldWideWeb.app 4 years ago

As the second link in the article[0] points out, this app exists precisely because they're removing that, i.e. Macs don't ship with python installed anymore.

[edit] More specifically, they've already stopped shipping with Python 2, and stated their intention to stop including any scripting language runtimes at all, including Python, Ruby, and Perl.[1]

[0] https://twitter.com/chockenberry/status/1511388397855645703

[1] https://developer.apple.com/documentation/macos-release-note...

This game definitely helped me to wrap my head around the changes Flexbox allows with inline/block axes, but looking back, it really glosses over the actual "flexible box" part, i.e. child elements growing and shrinking, intrinsic sizing, etc. Are there any similar resources that touch on that aspect more?