Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pverheggen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
pverheggen
13d ago
There's an important nuance in the prompt: You are being evaluated on your ability to play chess. We want to measure your ability to beat current best-in-class chess algorithms. The task was to measure chess-playing ability - wo
2.
▲
by
pverheggen
17d ago
2% is just an example figure, the actual rate varies
3.
▲
by
pverheggen
23d ago
All good points. Perhaps rather than saying the fixes are straightforward, I should have said it's a straightforward concept to understand. If your app takes forever to load because of a huge bundle, you need to figure out how to make
4.
▲
by
pverheggen
23d ago
The article acknowledges this in the very first paragraph: > For most of us it’s things like reducing network requests, shrinking the bundle, or making good use of the cache. These are likely going to be your first port of call for perfo
5.
▲
by
pverheggen
1mo ago
Well yes, but a lot of people immediately jump to conclusions based on name alone, it's human nature. Definitely something to consider when you're picking a name for a project. An example that comes to mind is JSON5. People have a
6.
▲
by
pverheggen
1mo ago
These types of projects can have a happy ending, but only if the product is popular enough and the plugins are essential to the core functionality. Plugins usually die off because the sole maintainer loses interest, but popularity and neces
7.
▲
by
pverheggen
2mo ago
Pressure cookers do reduce the cook time of some dishes dramatically, but the flavors don't meld as much compared with slow cooking. If you do a 30-minute recipe like this, it's probably worth letting the soup sit another 20-30 mi
8.
▲
by
pverheggen
2mo ago
I have zero experience with formal verification, just speculating here - but could it be because of the network effects? More users on your preferred tool means a more comprehensive database of existing proofs, and that makes writing new pr
9.
▲
by
pverheggen
2mo ago
Here's the full text of the bill (Articles 88a and 88b): https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL... As written, this doesn't eliminate cookie banners completely, only if yo
10.
▲
by
pverheggen
2mo ago
There's been an explosion of vibe-coded scrapers that behave poorly and ignore robots.txt. Presumably OP disallowed crawling of the search endpoint for the reason stated (that crawling it would result in endless permutations of search
11.
▲
by
pverheggen
2mo ago
Different browsers handle scrolling differently, and people use a myriad of different "pointer" input devices, there's too many permutations to handle correctly. It's for similar reasons why building native inputs from s
12.
▲
by
pverheggen
2mo ago
Great article! I spot a few bugs with event handling, but in some ways that adds to the premise. The implementation assumes that onpointerup is mutually exclusive to the other two, but it fires in addition to mouse/touch events. Only
13.
▲
by
pverheggen
3mo ago
I get that some companies mandate IE11, they may have IE-first internal sites, custom browser plugins, MDM configs - actual systems that would need to be updated. And MS still supports it and releases security patches for it. But being forc
14.
▲
by
pverheggen
3mo ago
A webring is a circular doubly linked list - to insert a new site, you only need two existing sites to update their links. It's decentralized and works with any tech stack, including editing a static HTML file. It's a little silly
15.
▲
by
pverheggen
3mo ago
lol, that's great...the "vulnerability" isn't even in turso itself, it's a helper method inside a unit test.
16.
▲
by
pverheggen
4mo ago
As a general rule, I'd give the Markdown a read for any skills/commands you might find useful, it'll give you a good idea of the specifics it adds. https://github.com/anthropics/claude-code/blob/
17.
▲
by
pverheggen
4mo ago
Agreed. Every time this article makes the rounds, people get hung up on the syntax, and not the performance considerations discussed towards the end. Nystrom wrote a whole book on interpreters, and his main criticism here is the big mess of
18.
▲
by
pverheggen
4mo ago
I pulled up some of those spec's examples in Chrome and viewed the accessibility tree, and weirdly it assigns <dt> an implicit role of `term`, even though the spec says that <dt> should be `listitem` and <dfn> should
19.
▲
by
pverheggen
4mo ago
Yes, that's exactly what I'm saying. You don't end up needing a semantic class like .widget since you likely already have a Widget component in your codebase. Essentially: .widget { border: 1px; } ... con
20.
▲
by
pverheggen
4mo ago
There are a bunch of differences between Figma styles and CSS styles that prevent you from creating a 1:1 mapping: typography inheritance, spacing rules, and variant specificity to name a few. Like yes, CSS by itself is extremely powerful,
21.
▲
by
pverheggen
4mo ago
Sure, but "total ignorance of how CSS is made to work" is also a straw man.
22.
▲
by
pverheggen
4mo ago
Tailwind, JS-in-CSS, and the like have become popular because they work well with the modern corporate UX workflow. A Figma component has a certain set of styles, you apply those same styles to the corresponding React component. And none of
23.
▲
by
pverheggen
5mo ago
I really like this approach, and am going to keep it in my back pocket. However, it's good for e-commerce where there are a subset of "important" operations, but I'd argue the idempotency key is better for a financial AP
24.
▲
by
pverheggen
5mo ago
Not entirely arbitrary - forms that use the GET method instead of POST will append form values as query params. For sites without Javascript, it's great for things like search boxes, tables with sorting/filtering, etc. instead of
25.
▲
by
pverheggen
5mo ago
Yes, they also have wave machines, pendulums, and mobiles :) https://blog.cloudflare.com/harnessing-office-chaos/ https://blog.cloudflare.com/chaos-in-cloudflare-lisbon-offic...
26.
▲
by
pverheggen
5mo ago
If you count basic calculus as high school level, TI89's can do symbolic integration. They're usually banned on tests for that exact reason tho.
27.
▲
by
pverheggen
5mo ago
I don't like that it upgrades to ST4 without telling you, but there's a simple workaround if you want to continue using your ST3 license. Download the latest stable build of ST3 from their website: https://www.sublimet
28.
▲
by
pverheggen
5mo ago
The standard approach these days is to have all of those declared in a config file somewhere in your project. That way, other contributors (and the CI) can lint/format consistently. Even if it's for solo projects, it's nice t
29.
▲
by
pverheggen
5mo ago
This rings true to me as someone who's worked at a few large corps like this. A price hike does not change things when there is a mandate to use MS products over other vendors.
30.
▲
by
pverheggen
6mo ago
FYI, useLayoutEffect gets you what you're looking for. Since it fires before repaint, you can take measurements and modify the DOM without the user seeing any layout shift. It's a creative solution though! I always like seeing o
More ›