Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leshow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
841.
▲
by
leshow
10y ago
> can only really be answered by actual scientific discussion between actual experts I fundamentally disagree with this. For one, who gets to decide who the 'actual' experts are compared to the experts that aren't actually
842.
▲
by
leshow
10y ago
I'm a bit confused by this post, the 'enums' in rust are actually 'algebraic data types' and not enumerations like what the author is showing in python. the code here isn't really very equivalent and if anythin
843.
▲
by
leshow
10y ago
Did you look at the form? It's 4 fields. I mean assuming I went to the right page. How much of a summary do you expect? https://wildermuth.com/contact
844.
▲
by
leshow
10y ago
His form has 4 fields... Why on earth he would think he needs either Vue or Angular for that I just don't understand.
845.
▲
by
leshow
10y ago
Rust absolutely does want to market to the web services crowd. They said as much during their year-end conference. The whole push with futures is partly because of that. This year you'll see a lot more development in the web arena. I r
846.
▲
by
leshow
10y ago
When people say garbage collection they usually mean a tracing GC. You can twist words and say that shared_ptr means C++ has 'garbage collection' but I doubt anyone would agree with you if were were to word it like: "C++ has
847.
▲
by
leshow
10y ago
I hope not, I really dislike vscode.
848.
▲
by
leshow
10y ago
Oreilly has an early release available: http://shop.oreilly.com/product/0636920040385.do I have purchased it and it's pretty good. Although it really seems to be geared more towards experienced systems programmers
849.
▲
by
leshow
10y ago
It's really just a worse Either type, if anything, there's nothing monad about it. Although it's sort of hard to be close to an Either without being an algebraic data type. But I see what you're trying to say.
850.
▲
by
leshow
10y ago
> Errors are just a worse Either monad after allm they're much more pleasant to use than exceptions. How are errors in Go at all monadic? They just have a convention where you return a tuple and manually check if something isn'
851.
▲
by
leshow
10y ago
If you go for rocket I believe you'll be back on nightly, it uses some codegen that goes above and beyond what serde/diesel use in order to define routes the way it does.
852.
▲
by
leshow
10y ago
thanks steve!
853.
▲
by
leshow
10y ago
I thought this was already supported for free standing functions? Or is that only in nightly
854.
▲
by
leshow
10y ago
Awesome! I have been stuck on nightly for so many different things because of my dependency on serde. It's very nice to have this on stable now.
855.
▲
by
leshow
10y ago
I don't care whether google, ycombinator, airbnb, etc acted out of their own self-interest or not (for marketing, as you say). I don't think anyone should. I'm not naive enough to think they would act altruistically, all I ca
856.
▲
by
leshow
10y ago
Most guys I follow are either rust or haskell developers. @manishearth - rust - https://manishearth.github.io/ @bitemyapp - writer of haskell: first principles @bartoszmilewski - haskell - https://bartoszmilewski
857.
▲
by
leshow
10y ago
The first few of these types of posts were OK. But now it's a bit ridiculous. You spent 2 days trying a new language and you didn't like it, your opinion means nothing.
858.
▲
by
leshow
10y ago
I agree, but I have an alternate intuition. Humans are only able to understand anything through decomposition to smaller problems, working out those problems, then recomposing to a whole again. This is evident not just in software developme
859.
▲
by
leshow
10y ago
Personally I think the most important thing is a thirst for knowledge. There are plenty of people I finished school with that were much better engineers than me out of school, but they don't learn in their free time and they've st
860.
▲
by
leshow
10y ago
Starting from scratch in any language that isn't a clone of a language you already know with slightly different syntax would take a few weeks. A few weeks seems like a good trade to me for the safety rust provides for a lot of applicat
861.
▲
by
leshow
10y ago
Anything that is usually solved with something like typeclasses, or module functors, or inheritance can only be solved in Elm with typing lots and lots of concrete implementations. Other things can't be solved at all, since Elm is so t
862.
▲
by
leshow
10y ago
I find that somewhat surprising. Are the dozen languages under your belt essentially variations of the same OO paradigms? I am mostly a javascript programmer, and a beginner at haskell, and I found Rust difficult not not that difficult.
863.
▲
by
leshow
10y ago
"TEA is not composable, but through brute force. ... you are stuck building and maintaining some giant types, and writing a ton of boilerplate. The ways around this problem are fairly weak, and amount to, “don’t write components” ...&q
864.
▲
by
leshow
10y ago
They don't have the ability to flat out read messages. If they were to impersonate a contact, you would see that the key had changed (assuming you had this on) and you could choose not to talk to that contact until you verified.
865.
▲
by
leshow
10y ago
BIP39 is a spec for generating secure mnemonics (passphrases) with 128-bit entropy. I've written a version in rust, have a look. github.com/leshow/rust_mnemonic BIP39 generates 12 word or 24 word mnemonics usually. This was j
866.
▲
by
leshow
10y ago
Jesus, no wonder so many people don't have coverage. I have never had to pay anything, even benefits are largely covered by my employer. I think I pay 15 bucks a month for a family plan on vision/dental/eye/drugs/ph
867.
▲
by
leshow
10y ago
I'm not American so forgive my ignorance, but is that the amount you pay monthly?
868.
▲
by
leshow
10y ago
if you dont like whatsapp you can use Signal. it's the open source software that was integrated into whatsapp and is the basis of it's e2e encryption. both are better options than telegram.
869.
▲
by
leshow
10y ago
What does rocket.rs use that makes it different from serde as far as custom derivations go?
870.
▲
by
leshow
10y ago
I noticed that too, because it get's passed after as an argument, Rust is able to infer it's type.
More ›