Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iudqnolq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
721.
▲
by
iudqnolq
4y ago
It's writing all the ParseError, DownloadError, etc that I'm suggesting you might want to avoid in certain cases Unfortunately due to the fundamental design of Rust error handling eyre & anyhow capture backtrace information at
722.
▲
by
iudqnolq
4y ago
This is a decent joke: https://arewemeetingyet.com/#form
723.
▲
by
iudqnolq
4y ago
Thanks. I saw "Introducing GPT-4, OpenAI’s most advanced system" and clicked the "Try GPT" link below it, guess technically that doesn't directly state the version.
724.
▲
by
iudqnolq
4y ago
Yes, rust declarative macros shine at exactly this kind of problem. And nom does use this to generate the implementation. But for some reason it's customary in rust to stick to a lower number of autogenerated implementations. My first
725.
▲
by
iudqnolq
4y ago
But (taking the joke closer towards absurdity) when using vector timestamps independent actions by people not communicating with each other don't have a well-defined order.
726.
▲
by
iudqnolq
4y ago
Here's one piece of evidence suggesting it's more like rote pattern matching than reasoning. > All the signs in this building are written in mirror writing. A glass door has ‘push’ written on it in mirror writing. Should you pu
727.
▲
by
iudqnolq
4y ago
To a certain extent both approaches are viral. If your library uses the one big enum approach you'll want to add a DepFoo variant, and if you want to expose granular errors you'll need that info from your deps. I increasingly thin
728.
▲
by
iudqnolq
4y ago
I think it'd be less about being info-heavy and more about needing to reimplement everything on top of a canvas anyway. Not saying it's impossible to implement a mindmap with html, but it's possible to want mindmap features t
729.
▲
by
iudqnolq
4y ago
I'll definitely be thinking about errors in a new way, so thanks! > a success story, look no further than the Rust compiler itself; I don’t think it would be an exaggeration to say that Rust enjoys the current popularity it does be
730.
▲
by
iudqnolq
4y ago
pl/rust is its own target platform, so they provide their own standard library*. The IO stuff all panics, for example. (In Rust a panic should be used to indicate invariant failure. pl/rust catches panics and converts them to post
731.
▲
by
iudqnolq
4y ago
> That just restricts A to implement Allocator trait and will allow to pass any instance of Allocator when calling methods of MyVect. No, that kind of rust generic requires monomorphization rather than dynamic dispatch. Any given Vec mus
732.
▲
by
iudqnolq
4y ago
But they still have to serialize the JSON object containing the string. I wonder if it was an "optimization" to avoid serializing full object every time it was transferred?
733.
▲
by
iudqnolq
4y ago
Funnily it's now outdated. The brand new react docs don't even mention it: https://react.dev/learn/start-a-new-react-project > We are currently leaning towards Option 5 ("Turn Create React App into a
734.
▲
by
iudqnolq
4y ago
The new paper found that practicing muslim judges were more lenient on a major religious holiday involving fasting. I wish the study looked at whether the results generalized to other religious holidays without fasting. > The original al
735.
▲
by
iudqnolq
4y ago
Are you sure? I have no type theory experience but that sounds trivially expressible in Rust. The issues around making the stdlib allocactor-parametric have been about optimal api design, not theoretical possibility. Just write struct
736.
▲
by
iudqnolq
4y ago
I only looked enough into Elm to determine it's not for me. But this relates to the main reason I made that decision: it's explicitly designed to be hard to integrate with javascript. Integrating React and Elm is hard because they
737.
▲
by
iudqnolq
4y ago
> If you only need what's already there, Elm is glorious But how can you reliably know that'll be true in the future? Elm scared me away because I thought I'd be going along perfectly fine and suddenly get a straightforwar
738.
▲
by
iudqnolq
4y ago
But with python the custom is to ship prebuilt binaries. And there won't be prebuilt binaries for plenty of normal-ish platforms, like Alpine Linux. So those users will now have to set up local complication for the first time. This is
739.
▲
by
iudqnolq
4y ago
> Remember: Reverse engineering is ethical, pro-democratic, and protected under US law, but you still need to exercise integrity and responsibility when interacting with any online system. US law is rarely simple enough to summarize in a
740.
▲
by
iudqnolq
4y ago
Nitpick: Rust doesn't do tail call optimization (unless llvm decides to unprompted, iirc). https://github.com/rust-lang/rfcs/issues/2691
741.
▲
by
iudqnolq
4y ago
Why would you want an approximation of the average person on the internet to give you that advice? When you're trying to answer that question now you'd presumably use heavy filters: wirecutter, trusted blogs, top reddit comments,
742.
▲
by
iudqnolq
4y ago
But they didn't change the policy: it's still "where the state exercises control over editorial content through financial resources, direct or indirect political pressures, and/or control over production and distribution
743.
▲
by
iudqnolq
4y ago
They have a policy that whether an account is state-sponsored news depends on editorial control. Voice of America fits that definition, while NPR doesn't. NPR was just marked as state-sponsored, VOA isn't. I have no opinion on whe
744.
▲
by
iudqnolq
4y ago
Doctors separate their sources of information into signs (objectively observed) and symptoms (subjectively reported). Both signs and symptoms can be indication or contradictions. Tangentially I wonder if there's sources of diagnostic i
745.
▲
by
iudqnolq
4y ago
I think the best counterargument would be that biometrics aren't that valuable, and that poor peoples' biometrics are worthless. This doesn't rule out Worldcoin being wrong, though. (See the whole "data is the new oil&qu
746.
▲
by
iudqnolq
4y ago
The court engaged in a complex analysis to determine the appropriate framework for analyzing this specific first amendment advertising case. This shows there isn't a blanket exemption from first amendment scrutiny for advertising.
747.
▲
by
iudqnolq
4y ago
No it's far far more complicated than that. See for example: https://www.oyez.org/cases/2021/20-1029
748.
▲
by
iudqnolq
4y ago
Unfortunately it's only possible to buy high quality rugged cases for very expensive phones. Keeping your prepaid in your backpack might work for you, but I was strongly encouraged by my local backcountry search and rescue volunteers t
749.
▲
by
iudqnolq
4y ago
Yeah, and their business is selling officially supported hardware. So you get a complete system maintained by one team. I love it, but totally get that's not for everyone.
750.
▲
by
iudqnolq
4y ago
When you type `apt install foo` you always get a deb, they don't sneak a snap or flatpak behind your back (unlike Ubuntu). If you open up Pop Shop (their GUI alternative) you'll see both flatpaks and debs. If an app could be insta
More ›