Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
spion
3y ago
The frontend ecosystem realized (at the time of React) that the (template) DSL isn't really the point. Its the declarative description of what the end result should look like (as well as applying the diff) which is the important bit, n
122.
▲
by
spion
3y ago
I'm getting north of 90% success with GPT4, and while a dedicated tutor or a group instructor would definitely be better, none of the other non-human alternatives come close. Searching the internet and youtube tutorials can also lead t
123.
▲
by
spion
3y ago
Its not certain we'll get to that point, and if we do we'll probably need to rethink society as a whole. We have a lot of training data on human knowledge, discussion and Q&A, but very little on humans actually working and goi
124.
▲
by
spion
3y ago
The internet is sampling the interesting samples, not necessarily a realistic picture. I'd love to see a good research study on this that shows the actual error rate as well as a comparison with other non-human alternatives (e.g. googl
125.
▲
by
spion
3y ago
I'm not sure the error potential is much higher than with average teachers, but I guess it depends on the domain. For coding the error rate is lower than a typical teacher right now. I suspect we'll soon figure out an effective wa
126.
▲
by
spion
3y ago
For most people today, learning / teachers can be far, far worse that even what ChatGPT 3.5 can provide.
127.
▲
by
spion
3y ago
I have no idea what the thought process is for downvoting a post which is answering to someone asking optimists to contribute their thoughts.
128.
▲
by
spion
3y ago
The speed difference is out of this world. I have very long sessions with ChatGPT on the Rust ownership and borrowing system. Its sometimes wrong (would say about 1 in 30 messages), but when it is it becomes clear quite quickly and then I s
129.
▲
by
spion
3y ago
I'm a cautious optimist. If we manage to improve correctness further and set up some guardrails to avoid convincing it to do the work for you, AI can be an incredible augmentation for students and learners, completely transforming educ
130.
▲
by
spion
3y ago
I'm not entirely sure about the centralization part. We already have models that can run on consumer hardware and are freely available to use for anyone (e.g. code-llama 34B is actually a viable gpt 3-5 replacement, if not slightly bet
131.
▲
by
spion
3y ago
PiP, the one feature of youtube that I did not want (in the majority of cases) but got anyway. edit: Sorry for the snark. I think that maps are probably doable with pointer events ( https://caniuse.com/?search=pointer ) and A
132.
▲
by
spion
3y ago
There is some development on that front too. For postgres, check out CrunchyData's postgres operator ( https://access.crunchydata.com/documentation/postgres-operat... ) where with a single config file you get a HA d
133.
▲
by
spion
3y ago
Modern JS frameworks pre-render the components on the server then they attach to them to "rehydrate" and add JS handlers on the client. They also allow mixing of purely-server-side components (essentially templates, no JS or hydra
134.
▲
by
spion
3y ago
For situations where you can afford a GC, Rust but with GC would be an excellent language, due to the ways macros are done, traits work, how errors are handled, tools like cargo, docs.rs, testing and doctests, self-contained binaries with a
135.
▲
by
spion
3y ago
I'm not a fan of Go, but I have to admit that benchmark doesn't make any sense. If you use tail calls in a language that doesn't support TCO, then of course you'll get bad results. I guess its easier to just throw in som
136.
▲
by
spion
3y ago
This is due to a long time of the standard library being seriously lacking. Even today, group / groupToMap still aren't standardized, nor are iterator methods. It used to be even worse though.
137.
▲
by
spion
3y ago
How do you organize a backend for a htmx based frontend? Specifically getting templates that serve as reusable components, but also endpoints (there is some proliferation of endpoints which I remember from my days with ASP.NET MVC partials.
138.
▲
by
spion
3y ago
What other approach gives you that?
139.
▲
by
spion
3y ago
One of the things that tailwind achieves is let you ship style in a way that is encapsulated within components and works reliably across any framework (including server-side rendering frameworks, react, svelte etc).
140.
▲
by
spion
3y ago
No need to be sorry about mentioning Rust :) Yes, can confirm the terraform language server is kinda unreliable. We could both be doing something wrong, but it seems like that's a common outcome.
141.
▲
by
spion
3y ago
Forgot to add this: > I probably could not even make a generalization about what normal closur-ing does or should look like. I would say the key reason why this looks so wrong is that it essentially breaks lexical scope. The closures &qu
142.
▲
by
spion
3y ago
I think its always been built in, but pertains to `computed` values only. Its still possible to create cycles but you need to combine `autorun`, timers/nextTick/similar and actions to do it - definitely not something thats needed
143.
▲
by
spion
3y ago
> My experience with MobX and the greater observable-industrial-signal-complex is that accidental loopiness very much can and does still happen. I have seen codebases with complex MobX computed-changes-graphs that senior engineers were c
144.
▲
by
spion
3y ago
That gist looks like a bit of a list of strawman arguments to me. Most of those have never occurred to me, but lets look at one that has "Stale closures in Hooks are confusing" Seb gives an example under that section that they cal
145.
▲
by
spion
3y ago
I'm honestly pretty happy with TypeGraphQL. TypeGraphQL works code-first and lets you integrate request-scoped DI for resolvers, which makes writing more complex resolves significantly more pleasant. Admittedly for the web front end I
146.
▲
by
spion
3y ago
There are very good reasons to go native for a mobile app. React-native can be a huge time sink depending on what you want to do with the app.
147.
▲
by
spion
3y ago
What if the compiler detected the order itself, found cyclic dependencies and refused to compile if such dependencies exist? It can do that without requiring you to specify your order manually. Ordering by hand or C# are not the only two ch
148.
▲
by
spion
3y ago
So what do you do when you decide that you don't want to use JavaScript anymore on either side of tRPC? (switch to something else on the server, or write a native mobile app, etc)
149.
▲
by
spion
3y ago
How is manual oreding of files a feature? Why would automatic ordering be a problem?
150.
▲
by
spion
3y ago
Does F# still require you to manually order all your source files for the compiler? Sounds like a thing that should've been figured out a while ago (and OCaml doesn't have that limitation anymore with Dune etc)
More ›