Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
spion
3y ago
I have a softer rule for myself, which is "If you are going to be clever, make a (depends on the size of the abstraction): README, detailed API docs, possibly even a landing page. Specify behavior, write diagrams, explain what and why,
152.
▲
by
spion
3y ago
Am I the only one that doesn't like the win95 look anymore but still appreciates designs that are similarly conservative about whitespace? Is there any design system out there that is like that?
153.
▲
by
spion
3y ago
Are Apple selling ads on the web?
154.
▲
by
spion
3y ago
Maybe we should. Its costing us over a trillion now and costs have gone up 10 times in the past 50 years.
155.
▲
by
spion
3y ago
Its greedy and random :) Instead of a paper, I would recommend the algorithms of most LMM implementations (rwkv.cpp has a relatively clean implementation in python https://github.com/saharNooby/rwkv.cpp/blob/m
156.
▲
by
spion
3y ago
Specifically for multi-choice string enums (essentially dropdowns), I wonder if this would work better if the full (joint/product) probability given the logits is considered when picking the final choice, rather than using a greedy alg
157.
▲
by
spion
3y ago
There is a subtle grain of truth to it - the implied "declaratively" here. React has went south quite a bit, but the basic idea of JSX where HTML becomes a language with first class objects, functions and bindings is extremely com
158.
▲
by
spion
3y ago
I've been advocating for 3-point estimation for quite a while. [1] Unfortunately it doesn't happen very often (mainly because tooling support for this has been missing in popular trackers such as Jira). In situations where I was t
159.
▲
by
spion
3y ago
There is no should/shouldn't. If you don't have a specific error in mind and how to handle it, you shouldn't handle it. In practice most errors can be left unhandled all the way to e.g. server response, so this works qui
160.
▲
by
spion
3y ago
Exceptions are not unsafe. That said, not modelling them in the type system is a mistake. But the model has to be useful - knowing what functions can or cannot throw is useful, knowing what they throw, less so. (They are safe because of try
161.
▲
by
spion
3y ago
A few questions if its the same... - In case of errors, do we get a full backtrace of function calls across service boundaries? - Is the function call as cheap as passing an argument? What if we're passing 1KB? 1MB? 1GB? - Can we use a
162.
▲
by
spion
3y ago
It might sound weird, but you can actually ask it to do this too. On the surface it makes no sense to do this since it already gave you an answer. But that's not how LLMs work - they can simulate a variety of different "humans&quo
163.
▲
by
spion
3y ago
We need entries for Rust and Zig
164.
▲
by
spion
3y ago
Google is pretty bad at semantic understanding too. Try searching for "implementing stackoverflow in typescript". You will get "implementing in typescript" results that come from "stackoverflow". (Then for a go
165.
▲
by
spion
3y ago
I think the rendering pipeline for D3 is actually the hard/strange part, and to be honest, the less-valuable part too (can be swapped with React). The rest of the API is great. The new strange, unordered observablehq examples with extr
166.
▲
by
spion
3y ago
Really happy that this feature is finally seeing the light of day. When I switched my code from callbacks to promises in node 10 years ago, it seemed like the most natural thing to add that would finally resolve all the resource management
167.
▲
by
spion
3y ago
Not the OP, but clean code misses the point. Its is very subjective and depends on one person's previous experience and patterns they've been exposed to. "Reasonably readable" is what I strive for nowadays, and a key asp
168.
▲
by
spion
3y ago
Its very different from Java. In Java and many other languages, the expectations are declared at the callee site, which is a completely wrong place to do it. Only the caller knows whether the situation is expected or not. Lets say I'm
169.
▲
by
spion
3y ago
If you read the article, you'll see some interesting measurements on that topic.
170.
▲
by
spion
3y ago
The box fan is analyzed in a separate article. See https://dynomight.net/2020/12/15/some-real-data-on-a-DIY-box... .
171.
▲
by
spion
3y ago
> We would if we were rewarded for that. No, we wouldn't do such blatant fabrication for something we clearly understand the mechanics of. A human which answers the question > Would it be a good behavior for a large language mode
172.
▲
by
spion
3y ago
Humans that know how citations work and are honest aren't going to invent completely false ones. We'll make up a lot of things, we might even convince ourselves that a citation source says something it doesn't say. But we won
173.
▲
by
spion
3y ago
Better than very attentive, careful and well rested humans? Sure. Just better than the average human driver sampled at any given time? Not so sure.
174.
▲
by
spion
3y ago
Citations needed indeed - ones with formal tests / experiments being carried out and constructed that would show the problems. Speaking of those, my best example of ChatGPT not having a good model of the world are citations. ChatGPT cl
175.
▲
by
spion
3y ago
The final output is not what matters for this classification.
176.
▲
by
spion
3y ago
Its still a structural template system, even if the output is a string
177.
▲
by
spion
3y ago
And JSX is not a string templating system at all.
178.
▲
by
spion
3y ago
I see the downvotes. I can't stress how important this has been when talking to people trying to test the waters with k8s. microk8s goes a long way of making this as simple as possible, but having a super-simple out of the box secure (
179.
▲
by
spion
3y ago
The fact that you need a container registry drastically increases the barrier for initial adoption.
180.
▲
by
spion
3y ago
The Gentoo Handbook taught me what excellent documentation should look like, and I'm forever grateful.
More ›