Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
anp
7y ago
Great idea on the intro. Moved some things around, should be online soon. Thanks for the kind words <3
122.
▲
by
anp
7y ago
> traditional desktop GUI programmers finally realize FWIW, I'm not a desktop GUI programmer nor am I an...uh...professional GUI programmer of any kind. Not sure exactly who is doing the realizing here, but if they are, then great!?
123.
▲
by
anp
7y ago
> some kind of customized ergo keyboard I use an ErgoDox, and while my layout isn't customized for writing mox invocations, it hadn't occurred to me that this might be a blind spot in my thinking about ergonomics. Good point!
124.
▲
by
anp
7y ago
Yeah, I'm not the biggest fan of the syntax still either. That said, the phrasing of your comment is unkind and its contents don't provide any useful feedback.
125.
▲
by
anp
7y ago
Ah, that's a good reference for a more modern "control loop" idea. I agree that there are many similarities with that specification and I need to read in more depth. Thanks! Honestly, there's limited advantage over vanil
126.
▲
by
anp
7y ago
Fairly well, although I need to manually format it. VSCode's syntax highlight for rust doesn't do anything fancy for tags and attributes, but literals and block expressions are highlighted correctly.
127.
▲
by
anp
7y ago
It seems like Materialize has some interesting approaches in mind: https://www.youtube.com/watch?v=zWSdkGq1XWk
128.
▲
by
anp
7y ago
Thanks for the tip! Should show up shortly.
129.
▲
by
anp
7y ago
Heartily agreed re: Materialize, and I've also been nerd-sniped by Adapton, although less literally than incr_dom.
130.
▲
by
anp
7y ago
I think there are some very strong parallels between the approach Svelte has taken and what I'm trying out in moxie-dom: https://twitter.com/anplolol/status/1121128610918567936?s=20
131.
▲
by
anp
7y ago
screenshot? how does reader mode look on your phone?
132.
▲
by
anp
7y ago
Author here. I'm trying out an optional email Q&A format on the post, but will also be keeping an eye out here.
133.
▲
Moxie: Incremental Declarative UI in Rust
(blog.anp.lol)
400 points
by
anp
7y ago
|
190 comments
134.
▲
by
anp
7y ago
How do you feel about using someone's name?
135.
▲
by
anp
7y ago
I think BuddyBuild is an interesting point similar to Fastlane because they were IIRC acquired and shut down the cross-platform side of their operation. I’ve always been curious about the motives for that move, given the apparent organizati
136.
▲
by
anp
7y ago
Id say that in Rust’s case, we’ve already seen several painful examples of Hyrum’s law. http://www.hyrumslaw.com/
137.
▲
by
anp
7y ago
It does depend on this yes, but the random seed isn’t part of the public API. An RNG API in std would need to pick an algorithm and make that part of its stability guarantees.
138.
▲
by
anp
7y ago
(past edit window) This was written with hostility I don’t feel. Sorry Raph!
139.
▲
by
anp
7y ago
The API you describe, IIUC, can’t be serviced faithfully on the OSes targeted by std while being backed by real entropy.
140.
▲
by
anp
7y ago
How do you accommodate breaking changes to the public interface of std?
141.
▲
by
anp
7y ago
I agree that in many cases a much simpler API would suffice, but it strikes me as odd to suggest adding a convenient but insufficient-for-security API to the same standard library that protects HashMap against DoS.
142.
▲
by
anp
7y ago
In a Rust implementation of your example, you might not necessarily spawn the two sub-operations as separate tasks. Awaiting them directly in a parent async function (probably using FuturesUnordered, like Promise.all in JS) will cause all o
143.
▲
by
anp
7y ago
Was this work a part of the post's unnamed self-driving car company project?
144.
▲
by
anp
7y ago
> The idea that you can ignore the real hardware is particularly unhelpful in Rust, because it's a great fit to low-level problems where the real hardware is a big deal. For example, at work, we have a Rust program where we routinel
145.
▲
by
anp
7y ago
> If you want JavaScript's behavior around failure, you make the final value a Result, it's not built-in. Fun bit history: the first pass at Futures did return an error type explicitly: https://docs.rs/futures&#
146.
▲
by
anp
7y ago
How’s the OCaml multi core rollout going these days? IIRC shared memory parallelism requires FFI still.
147.
▲
Compose from First Principles (Android's New UI Runtime)
(intelligiblebabble.com)
3 points
by
anp
7y ago
|
0 comments
148.
▲
by
anp
7y ago
What’s your opinion on the password management that chrome offers these days?
149.
▲
by
anp
7y ago
Pattern matching as is in Rust has many notable precedents that IIRC the C# folks considered as prior art, not least of which being F#.
150.
▲
by
anp
8y ago
This resonates quite strongly with me, and I would recommend Suikoden 1/2 for the same reasons.
More ›