Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DylanSp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
DylanSp
3y ago
There's definitely at least some truth to this. And even when working on both frontend and backend (on a small team), I find it useful to have a clear separation between client-side code and server-side code, with a well-defined bounda
182.
▲
by
DylanSp
3y ago
My guess is that filling the entire entire screen is common , especially on laptops that aren't hooked up to a monitor, but not common enough to assume that'll always be the case.
183.
▲
by
DylanSp
3y ago
The article bringing up that scenario and immediately dismissing it actually convinced me to change my opinion to the opposite of the article's thesis. I generally haven't seen the need for short session expirations in the past
184.
▲
by
DylanSp
3y ago
It felt over-complicated to me, too. Your explanation is significantly more concise and is a lot clearer to me
185.
▲
by
DylanSp
3y ago
Always good to see more examples of this sort of project; making it straightforward to test how systems behave with unreliable networks [1] should make building resilient systems easier. I came across Microsoft's Coyote project [2] a w
186.
▲
by
DylanSp
3y ago
Looks like it's still in beta, judging by the header?
187.
▲
by
DylanSp
3y ago
Also, the langdev SE is still in beta, and pretty early beta at that; posting useful material there helps get it off the ground. That said, I wouldn't be surprised if Alexis also posts it to her blog at some point.
188.
▲
by
DylanSp
3y ago
So it sounds like the rules themselves aren't recursive, just your current strategy for evaluating them; is that correct? Given that, I'm more inclined towards the currently upvoted reply about translating them to JS/Lua and
189.
▲
by
DylanSp
3y ago
I'm curious about a few things: - How many rules are there, and how complex do they get? It sounds pretty substantial if you're running into performance issues (and/or you're working with highly demanding performance req
190.
▲
by
DylanSp
3y ago
Compiling to C introduces the complexity of loading/unloading a shared library at runtime, though, as you and other folks in this thread have been talking about. A bytecode compiler + VM could just be built into your main program.
191.
▲
by
DylanSp
3y ago
Aside from the bytecode approach that other people have mentioned, is there a way you could leverage a SAT solver like Z3?
192.
▲
by
DylanSp
3y ago
I had the same thought; a simple bytecode VM shouldn't be too bad to implement (famous last words...), and the improvement in cache locality might help a lot.
193.
▲
by
DylanSp
3y ago
For anyone curious about the "Disney Trio of Destruction", that's Disney Infinity, Cars 2, and Toy Story 3 (all for the Wii) which have pretty subpar performance on Dolphin. https://dolphin-emu.org/blog/2
194.
▲
by
DylanSp
3y ago
Good to know, thanks! I haven't tried doing either of those.
195.
▲
by
DylanSp
3y ago
FYI - Go no longer uses GOPATH for managing dependencies since the official module system was released in Go 1.11. There's still plenty of tutorials and the like out there that mention GOPATH, but it shouldn't be needed any more f
196.
▲
by
DylanSp
3y ago
Interesting. Question due to unfamiliarity - how reliable are Web Workers? If the main UI thread is up and running, is it safe to assume that any created workers are also running and able to receive/send messages?
197.
▲
by
DylanSp
3y ago
This definitely seems like a potentially powerful approach. The said, maybe I'm missing something obvious, but is the LLM generating both the tests and the implementation? If that's the case, then it seems like there could be issu
198.
▲
by
DylanSp
3y ago
Even if it's buggy, I figure it'd at least be consistently buggy. Part of what spurred me to make this was an issue I had with account setup for a local utility's website; their client-side validity check for creating a new
199.
▲
by
DylanSp
3y ago
Aside from the actually good use cases other comments have mentioned, one idea I've played around with is using it for augmenting an Elixir app with code that can be run in both the browser and the server - use a NIF to run the Rust co
200.
▲
by
DylanSp
3y ago
New Bob Nystrom blog post! Always going to upvote that. More substantially, I was thinking of Typescript's control flow analysis as soon as I started reading through the "Record cases" section, I was already thinking of comme
201.
▲
by
DylanSp
3y ago
A fair amount of compiler optimizations already work like this; I'm thinking in particular of LLVM IR passes.
202.
▲
by
DylanSp
3y ago
Gotcha, that makes sense; I'm probably thinking of Cloudflare Workers, then. It might've come up from kentonv's comments in the recent post about Cap'n Proto 1.0.
203.
▲
by
DylanSp
3y ago
Thanks for confirming this!
204.
▲
by
DylanSp
3y ago
From what I understand, that should be possible with Fly.io, using the fly-replay header to denote requests that need to be run against the primary database. I'm not sure if that's still their recommended approach, though. EDIT:
205.
▲
by
DylanSp
3y ago
I'm glad there's a community working on this; I read the Ink & Switch article a while back, the local-first paradigm is very appealing.
206.
▲
by
DylanSp
3y ago
I've also seen AAA used, but standing for Authentication, Authorization, and Accounting. The Wikipedia page [1] is short, but it refers to the context I've seen that in. [1] https://en.wikipedia.org/wiki/AAA_(
207.
▲
by
DylanSp
3y ago
Definitely some good points here. Using a single primary database seems easier for a lot of more straightforward use cases, and read replicas are probably sufficient for read-heavy workloads that can tolerate some loss of consistency. I t
208.
▲
by
DylanSp
3y ago
Yes, that's what they're short for.
209.
▲
by
DylanSp
3y ago
Thanks for linking this, there's some good discussion at that link. The guide on how to track position information for good error messages without messing up incrementality is really helpful.
210.
▲
by
DylanSp
3y ago
Tangential question: is Oxide using HBM in their racks? My understanding is that part of their value proposition is making hardware tech that's usually built for the hyperscalers available to on-prem datacenters; this seems like the ki
More ›