Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wtetzner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
541.
▲
by
wtetzner
4y ago
> Go is a great example of fast compilation and strict typing IMO. I think an even better example might be OCaml. Ocaml's compilation speed (last time I checked) was on par with Go, but it provides a much nicer (IMO) type system.
542.
▲
by
wtetzner
4y ago
Except that it's self-reported symptoms, from people who know whether or not they had COVID. Doesn't seem like especially reliable data.
543.
▲
by
wtetzner
4y ago
I think the point is that you run the unicode validation once on your [u8] array, which gives you a &str (or String for the lossy variants). From then on, you know you have valid unicode and don't need to keep checking.
544.
▲
by
wtetzner
4y ago
There actually were quite a lot of changes. I remember using it in 2014, and then 1.0 in 2015, and found 1.0 to be much more approachable. Also, since 2018 with non-lexical lifetimes and some nice error handling improvements, Rust now tends
545.
▲
by
wtetzner
4y ago
The first commercial typewriters became available in the late 1800s.
546.
▲
by
wtetzner
4y ago
> People asking "Is it fun" are missing the point. Are they? I thought the whole point of the entire project was fun.
547.
▲
by
wtetzner
4y ago
And if you want to ensure the underlying representation is preserved, you can use #[repr(transparent)]
548.
▲
by
wtetzner
4y ago
Actually, I think types are erased in most typed languages, unless they support runtime reflection.
549.
▲
by
wtetzner
4y ago
> Are you giving legal advice to ignore letters from lawyers? The only advice I saw them give was to hire lawyers to help them deal with it.
550.
▲
Is Iced replacing GTK apps for the new COSMIC desktop?
(old.reddit.com)
16 points
by
wtetzner
4y ago
|
0 comments
551.
▲
by
wtetzner
4y ago
That's so weird to me. It means that somewhere someone is matching the string "null" and converting it into an actual null value.
552.
▲
by
wtetzner
4y ago
> Languages that use async/await do not require you to say "async" at the call site. Nope, but if you start calling an async function from within a non-async function, then that function now has to become async, and all of
553.
▲
by
wtetzner
4y ago
But games are loading enormous textures, meshes, maps, etc. UIs don’t need any of that.
554.
▲
by
wtetzner
4y ago
I think the reasons green threads can work in languages is that the runtime understands the language semantics, and can take advantage of them. The OS doesn't understand the language and its concurrency semantics, and only has a blob o
555.
▲
by
wtetzner
4y ago
I can see you having objections to their arguments against async/await, but what makes you say async/await is somehow the better solution?
556.
▲
by
wtetzner
4y ago
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration." - Stan Kelly-Bootle
557.
▲
by
wtetzner
4y ago
My biggest concern would be that Go's runtime is likely not optimized for functional programming.
558.
▲
by
wtetzner
4y ago
> However, (stable) OCaml not having multithreading support is still a gigantic limitation. OCaml 5 still seems a lot more real and coming-sooner than the imaginary OCaml-on-Go. Sure, it's not ideal that multicore OCaml isn't y
559.
▲
by
wtetzner
4y ago
As long as the new syntax generates an XML DOM, you should still be able apply any existing schemas to it.
560.
▲
by
wtetzner
4y ago
OCaml-on-Go also doesn’t exist…
561.
▲
by
wtetzner
4y ago
It's not about bundling software with the OS, but _preventing other pieces of software from being installed_. iOS disallows alternative browser engines. When you install Chrome or Firefox on iOS, it's just a wrapper around the Saf
562.
▲
by
wtetzner
4y ago
Hopefully we'll get modular implicits some day, which should help with the typeclass envy ;)
563.
▲
by
wtetzner
4y ago
Isn't link tracking orthogonal to IMAP? If you don't follow the links/load remote images/etc. on the client, then tracking doesn't occur. Unless I'm missing something?
564.
▲
by
wtetzner
4y ago
> Practically, would anyone use it to browse the web anyway? Yes, I think that's the point of the browser: to allow users of SerenityOS to browse the web.
565.
▲
by
wtetzner
4y ago
> Stop doing shady stuff. If PayPal requires an SSN or EIN, why do they even allow you to create an account without one?
566.
▲
by
wtetzner
4y ago
Having grown up with both, I strongly disagree. You can build very strong bonds with cats, but you have to earn their trust first. Just because they don't feel that the purpose of their existence is to please their owner doesn't m
567.
▲
by
wtetzner
4y ago
That's just playing on words though. Not every kind of "test" requires the same skills and abilities.
568.
▲
by
wtetzner
4y ago
Then you couldn’t use it to browse any of the existing web…
569.
▲
by
wtetzner
4y ago
I suspect something we're eating more of now (seed oils, chemicals in processed foods, something else?) is causing us to store more fat that we otherwise would have. i.e. we seem to store all excess calories as fat, but maybe that'
570.
▲
by
wtetzner
4y ago
> I'm very skeptical. I think there are some things that may make us "feel hungrier" but there's nothing changing our metabolism. > If we are to believe this, it would mean that "plastic" is making our bo
More ›