Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
probabletrain
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
probabletrain
6d ago
provider fallbacks are also expensive since you lost the prompt cache. openrouter have a 'session' concept to help with this, but we ended up going direct to providers for higher rate limits and writing our own fallback logic.
2.
▲
by
probabletrain
3mo ago
I'd be very surprised if the very-similar-looking design of corgi's product breaches any copyright law, copyright of design or layout is much more finicky than copyright of code. This seems like more of a moral issue than a legal
3.
▲
by
probabletrain
4mo ago
They're officially yellow. Many people (~50% in my experience) perceive this colour as green though. > Tennis balls are fluorescent yellow in professional competitions https://en.wikipedia.org/wiki/Tennis_ball
4.
▲
Earth's First Personal Robocar
(tensor.auto)
2 points
by
probabletrain
5mo ago
|
0 comments
5.
▲
by
probabletrain
5mo ago
> Looking at the OpenClaw model, where the conversation history is in the chat channel and the agent process and LLM provider are both separated from that, you can’t build the same design on Cloudflare or Anthropic Yes you can - durable
6.
▲
by
probabletrain
5mo ago
I use https://rectangleapp.com/ and enjoy it. I have shortcuts to move windows to the left/right half of the screen, and cycle between monitors. This, combined with native cmd+tab and cmd+` is enough for me.
7.
▲
by
probabletrain
6mo ago
I know that anecdotal experience is definitionally just that, anecdotal. But I've had a handful of attentive London cabby experiences (and enough in-Waymo experiences) that give me conviction that Waymos are far safer than them. They&#
8.
▲
by
probabletrain
6mo ago
recently (past couple of months) they've been much more aggressive in the ways that make a good driver a good driver - confident and assertive when they should be. for me this has anecdotally been a massive improvement
9.
▲
by
probabletrain
6mo ago
If you were choosing between getting into a Waymo or a car driven by a human driver (where Waymo operates, for a route that Waymo would do), the data shows that the Waymo is safer.
10.
▲
by
probabletrain
6mo ago
it's an application built with webgl that plays audio, rather than just an audio player
11.
▲
by
probabletrain
6mo ago
media sound is generally unaffected by the silent mode toggle, which apple suggests is only for notifications. but the toggle inconsistently affects media, muting some things but not others. it's incredibly frustrating. android has muc
12.
▲
by
probabletrain
7mo ago
> We need Claude and Claude Code, with their skills and plugins, with their context, to be first-class participants in our company's Slack. But this problem can't be solved by a Slack integration because of another problem: dat
13.
▲
Improving React page performance with AI agents
(metaview.ai)
1 points
by
probabletrain
7mo ago
|
0 comments
14.
▲
by
probabletrain
10mo ago
I think there’s a difference between what’s expected/acceptable for library code vs application code. Types like this might be hard to understand, but they create very pleasant APIs for library consumers. I’ve generally found it very r
15.
▲
by
probabletrain
11mo ago
> This whole site smells off vibe coded jank. A vibe-coded double pendulum sim should produce a much better result than the physics on this page. Claude Code made this just now off one prompt, the physics are much better: https:/&#
16.
▲
by
probabletrain
1y ago
Not sure how other stacks solve this, but with GraphQL the backend defines a `User` type with a full set of fields, and the client specifies only the fields it wants to query. And with codegen you get type safety. So on the /posts page
17.
▲
by
probabletrain
1y ago
In an ideal world you'd have one source of truth for what the shape of a User could be (which may well be a discriminated union of User and AnonymousUser or similar). Without fullstack TS this could look something like: (for a Python b
18.
▲
by
probabletrain
1y ago
GraphQL is another one, with schema introspection and codegen for queries and types.
19.
▲
by
probabletrain
1y ago
> all the photos where shoot with the Leica M11 + 35mm Summilux FLE These photos look great, but I'm having a hard time figuring out exactly why. The Barbican certainly looks better here than from what I remember of seeing it throug
20.
▲
Cloudflare Acquires Outerbase
(cloudflare.com)
4 points
by
probabletrain
1y ago
|
1 comments
21.
▲
by
probabletrain
1y ago
Navigation isn't usually "undo", conceptually.
22.
▲
by
probabletrain
1y ago
> Previous sync engines really want you to sync all data Linear had to do all sorts of shenanigans to be able to sync all data, for orgs with lots of it – there's a talk on that here: https://www.youtube.com/watch?v=
23.
▲
by
probabletrain
1y ago
I think with good presence (being able to see what other users are doing) and an app that isn't used offline, conflicts are essentially not a problem. As long as whatever is resolving the conflicts resolves them in a way that doesn
24.
▲
by
probabletrain
1y ago
I've used PixiJS and react-pixi-fiber to write a declarative 2D WebGL renderer in React with excellent results. PixiJS also has a Canvas2D fallback when WebGL isn't available. I wonder how this compares.
25.
▲
by
probabletrain
2y ago
I think "tons of code and maintenance" is an exaggeration for this effect, once it's done you'll rarely have to come back to it. Many people value creating and using products with these kinds of details, I disagree with
26.
▲
by
probabletrain
2y ago
I'm a huge fan of this. Apollo doesn't have it baked in as a pattern like Relay does afaik, but I do something similar manually in Apollo, inspired by Relay. Deleting code automatically removes its data dependencies from the root
27.
▲
by
probabletrain
2y ago
What about the benefits/drawbacks of the graphql client in a web app, e.g. Apollo [1], Relay [2]? You get a client-side normalized cache of all data fetched by any query. Here's a handful of benefits: - If data already exists in c
28.
▲
by
probabletrain
2y ago
> clients create re-usable fragments for every object in the system and use it everywhere I quite like Relay's pattern where components define their data requirements, and this is passed up the component tree to some query at the ro
29.
▲
by
probabletrain
2y ago
The desktop-switching animation is too slow on new Macbook pros with "promotion" (high refresh rate) enabled. The animation speed is tied to the display refresh rate, so disabling promotion (setting refresh rate to 60hz) fixes the
30.
▲
by
probabletrain
2y ago
Its real use is the few hours of fun I had making it, this is really a toy
More ›