Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kitd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
601.
▲
by
kitd
3y ago
IME, it's stack traces that miss all the context. So an error occurred 20 levels down? What was it doing? With what?
602.
▲
by
kitd
3y ago
I've not used Rust. Do you get to add context at the point of bailing?
603.
▲
by
kitd
3y ago
Shell out from Python and do what you want there
604.
▲
by
kitd
3y ago
Thanks for the detailed reply. Other than being able to maintain your own list of users, are there downsides to using Oauth?
605.
▲
by
kitd
3y ago
Sequence diagrams are good when you're already inside the system. Showing my age here but IMO, for sketching a high-level view of the whole system and how its components interact, nothing beats SSADM's data flow diagrams. You can
606.
▲
by
kitd
3y ago
The threshold for free API usage for modding tools is being increased from 60 to 100 queries per minute https://mods.reddithelp.com/hc/en-us/articles/16693988535309 There are a very small minority that exceed
607.
▲
by
kitd
3y ago
Shame. Missed opportunity to editorialise it to "Ineffective Rust" ;)
608.
▲
by
kitd
3y ago
I hope it isn't the end. Yes there's some garbage on there, but there's also a lot of good content in many thousands of subs. And a sub for virtually any human interest or foible you can think of. The barrier to entry is very
609.
▲
by
kitd
3y ago
Isn't that what the `value` attribute of `<option>` is for? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/op...
610.
▲
by
kitd
3y ago
True, but then you are required to load all possible values for all autocompletable input fields at page load, which in many cases is unreasonable. As mentioned, many (most even?) autocompletes do it on the fly, and probably without you rea
611.
▲
by
kitd
3y ago
Well, they "wait" for a fraction of a second maybe. And you put it behind a typing delay so it responds only when the user is ready. Also, many autocompletes do a round trip anyway. The htmx version just returns the html already r
612.
▲
by
kitd
3y ago
Yes, I've done this with Htmx. Send the input content to the server and respond with the new <datalist> html that gets automatically swapped in. Really simple engineering.
613.
▲
by
kitd
3y ago
One of the reasons for using an ECS is cache coherence. All your game state is lumped together in one chunk or memory. Lookup times are near instant as a result. Moving to SQLite makes theoretical sense, but you lose the benefit of cache co
614.
▲
by
kitd
3y ago
Video describing the engine: https://www.youtube.com/watch?v=0e785YnDmq0
615.
▲
by
kitd
3y ago
I don't think I've ever seen a FORTH programmer and a LISP programmer in the same room; I can't imagine the discussion terminating. The ultimate halting problem?
616.
▲
by
kitd
3y ago
Yes. If people CAN do something with your tool, they will. The moment you say "yeah, no one is stupid enough to do that", they will. Be ready for it!
617.
▲
by
kitd
3y ago
No, it's a Type 2 emulator, so more like Qemu or VirtualBox.
618.
▲
by
kitd
3y ago
The Register has a good range of news articles, presented in a slightly satirical style. Avoid the comments though. https://www.theregister.com/
619.
▲
by
kitd
3y ago
Private usenet is a much better model for corporate discussion than eg Slack and typical alternatives. More natural message threading, integration with email clients, binary and document handling built in. Not sure about search but easily d
620.
▲
by
kitd
3y ago
Indeed https://krustlet.dev/
621.
▲
by
kitd
3y ago
Well, not removed, just downgraded. But yes, it does smell a bit drama-queen.
622.
▲
by
kitd
3y ago
The UK is one of the least forested countries in Europe. It is very doable.
623.
▲
by
kitd
3y ago
Which suggests to me that CO2 extraction from the air should be the next big target for innovation?
624.
▲
by
kitd
3y ago
Writing it in natively compiled language would produce a lean product - Rust, Go, etc. ... Java? You can natively compile Java these days.
625.
▲
by
kitd
3y ago
Yeah, this was great: Hashes are perhaps the holy-grail of computer-science. With a good hash, we can just side-step all the hard problems by trading them for an even harder problem (hash collisions), and then we just ignore that harder pr
626.
▲
by
kitd
3y ago
Agreed. Wrapping all db access in its own class or module is one of the easiest architectural decisions to be made in a project. Allows you to use specific drivers but isolates changes to a few easily found locations. Makes it dead simple
627.
▲
by
kitd
3y ago
Automated pricing, based on user interest. https://sell.amazon.com/tools/automate-pricing
628.
▲
by
kitd
3y ago
Some sellers do this, yes.
629.
▲
by
kitd
3y ago
Toolchain
630.
▲
by
kitd
3y ago
I had this one: https://retrocomputermuseum.co.uk/systems/binatone-tv-master... Saved up £15 pocket money and bought it myself in WH Smiths. One of my proudest moments.
More ›