Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidatbu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
davidatbu
3y ago
I'm curious, which episodes are describable as "not only programming"? I ask since I can't think of one.
92.
▲
by
davidatbu
3y ago
I never meant to claim "it's the same thing". I was just suggesting, if, by "react-like" code, you meant "a UI library that uses a vDOM to transform functionally written code into DOM nodes", Yew fits the
93.
▲
by
davidatbu
3y ago
It's still bad for my use case though. My use case being: (1) figuring out rails magic, and (2) coming up with ways to twist the Rust borrow checker into submission.
94.
▲
by
davidatbu
3y ago
> Where HTMX really shines is being able to bring the experience of writing React-like code without a nodejs environment. FWIW, if that's all you're after, and you've mastered the Rust borrow checker, Yew (a React-like ex
95.
▲
by
davidatbu
3y ago
The loudest voices in Rust that I know (pcwalton, steveklabnik, burntsushi, on HN for example) clearly acknowledge that Rust makes tradeoffs. No one denies that there are "simpler ways to achieve memory safety". Stop-the-world gar
96.
▲
by
davidatbu
3y ago
Meant to say "... there isn't space ..."
97.
▲
by
davidatbu
3y ago
From what I know from skimming the docs and listening to Richard's podcast, their focus currently is on achieving great compiled performance. Plus, from what I can tell, Richard is still a fan of Elm, so I'd guess he thinks there&
98.
▲
by
davidatbu
3y ago
It is my understanding that roc aims to "bring Elm to the backend", so it does not at all look like a substitute for Elm.
99.
▲
by
davidatbu
3y ago
Definitely learnt from that link, thanks! That still hasn't won me over from prioritizing definitely-memory-safe languages over "fairly-memory-safe" nim tho.
100.
▲
by
davidatbu
3y ago
You know: this always tempts me, but I hold back because nim is not memory-safe (or has a clearly delineated memory-safe subset like Rust), and I would rather pick up an actually memory-safe (even if GCed) language even if some perf-cost (l
101.
▲
by
davidatbu
3y ago
That would be interesting! You might already be aware. But there's mypyc[0], which is an AOT compiler for Python code with type hints (that, IIRC, mypy uses to compile itself into a native extension). Wanted to give you a head-start on
102.
▲
by
davidatbu
3y ago
I also have extensive experience with mypy and pyright, also even going as far as trying to fix a mypy bug (also unsuccessfully). For pyright, the dev was so responsive that I only had to report bugs for them to be fixed (sometimes in a cou
103.
▲
by
davidatbu
3y ago
Ah, I get what you're saying now. When you said > "you'd be surprised how many Rust engineers think unsafe somehow 'encapsulates' memory bugs inside the block itself," you essentially mean: > "you&#x
104.
▲
by
davidatbu
3y ago
I've also used with diesel async for personal projects, and I have ran into no rough edges at all, fwiw.
105.
▲
by
davidatbu
3y ago
> [It's not true] that unsafe somehow "encapsulates" memory bugs. I believe this real-life, 4-year, 1.5 million-line-of-code experiment disagrees with you directly [1] > In general, use of unsafe in Android’s Rust appea
106.
▲
by
davidatbu
3y ago
Since we're both not providing data, I'd be interested in hearing your personal experience on this (if it's not too much of a bother, feel free not to respond!): What do you do for a living, and do you find GPT-4 helpful for
107.
▲
by
davidatbu
3y ago
> Subscription? How many people will pay a sub for it? I'm a programmer, and I pay a subscription for GPT-4 because it's ridiculously worth it. I'm curious, what do you do that you don't think GPT-4 is worth it?
108.
▲
by
davidatbu
3y ago
I'm curious, why would there be doubts? GPT-4 is incredibly useful, and it's clear there's so much straightforward bits of additional product development on top of it in various verticals that will be incredible productivity
109.
▲
by
davidatbu
3y ago
Thanks for the ideas! Separating out presentation crate into it's own crate sounds like a great idea. Re "temporarily stopping rust-analyzer", I came across this trick[0] to make RA use a different build path (trading off dis
110.
▲
by
davidatbu
3y ago
> What's wrong with TypeScript. I love typescript, but, from my PoV, what I miss in typescript is: - An actually sound type system: This is a big one. Can you figure out why this[0] is unsound? - I regularly have to do `as ` asserti
111.
▲
by
davidatbu
3y ago
While I'm usually a no-macros kinda guy, but (I believe) leptos and dioxus provide tooling to hot-reload markup-only changes without (incremental) recompilation. Do you think that would be possible withour macros?
112.
▲
by
davidatbu
4y ago
Can I ask: what did you find funny / worth remarking about?
113.
▲
by
davidatbu
4y ago
In other words, you are saying that an HTTP server can detect distinguish between when the client is doing `curl $url | sh`, and when the client is doing `curl $url | sh -c 'cat > /tmp/file'`. I'd love to hear th
114.
▲
by
davidatbu
4y ago
Yes, I do think that the most promising path we are aware of to AGI is exactly the route that OpenAI/Deepmind/Anthropic/FAIR/etc are taking. In fact, I don't think anyone would disagree with that statement.
115.
▲
by
davidatbu
4y ago
> OpenAI is a company that can barely ship a functioning website, or have proper security for basic stuff. You'd not expect this company to be the future of AI, do you? In case you didn't know: ML researchers are infamous for b
116.
▲
by
davidatbu
4y ago
Yeah, I guess we're disagreeing about a very non-concrete proposal, so there isn't much point to our convo :)
117.
▲
by
davidatbu
4y ago
Mind explaining why? I just tried it, and it works fine.
118.
▲
by
davidatbu
4y ago
Is what you're suggesting that one has to pass that `tokio_context` into every `.await()`? If so, I personally would be in strong opposition, cuz I don't think the verbosity cost is justified, in any of the use cases for async I&#
119.
▲
by
davidatbu
4y ago
Thanks! I guess it's more common than what my personal experience suggests (which is that it never happens).
120.
▲
by
davidatbu
4y ago
Can't one do `curl $url | sh -c 'cat > /tmp/file'`?
More ›