Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Mawr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
721.
▲
by
Mawr
3y ago
More timestamps: - Graph on time to become sufficiently productive in Rust to comfortably contribute to a codebase: https://youtu.be/6mZRWFQRvmw?t=27149 - Graph on time to become as productive in Rust as in other languages:
722.
▲
by
Mawr
3y ago
> and I’m being generous with “emerging” here, the Either monad is more than an emerging consensus around the right default for error handling It is clearly the right way, but Go's error handling already has 80% of its benefits. Swi
723.
▲
by
Mawr
3y ago
Ridiculous. You must be talking about learning only the syntax of a new language. Truly internalizing how to wield a new language will take months to years. A dev that switched from language X to Y "in a few days" will just writ
724.
▲
by
Mawr
3y ago
You can just do it yourself as you mention and the compiler does force you to check: https://gist.github.com/MawrBF2/0a60da26f66b82ee87b98b03336e...
725.
▲
by
Mawr
3y ago
No, just a few false positives. I don't have issues with null in my projects in the first place though.
726.
▲
by
Mawr
3y ago
There's some tooling out there: "NilAway: Practical nil panic detection for Go" https://news.ycombinator.com/item?id=38300425
727.
▲
by
Mawr
3y ago
Unfortunately, the sort of soft trolling he keeps doing is allowed on here. It reflects extremely poorly on the mod team and is frankly just pathetic.
728.
▲
by
Mawr
3y ago
Your anecdote is exactly the same as all others claiming to be able to tell the difference - there's not enough information in it for anyone to be able to make a judgement either way. I would expect that a person conscientious enough
729.
▲
by
Mawr
3y ago
> When I met Johanna, far from there, in a university town, she made a deep and perplexing impression on me: the precision of her attention and the intensity of her curiosity were unlike anything I had seen, and yet, despite this, she wa
730.
▲
by
Mawr
3y ago
> I did a (non-blind) comparison of steel versus carbon fiber, and they felt very different to me. Meaning, you switched out the frame on a bike from steel to carbon, keeping everything else, and felt a difference?
731.
▲
by
Mawr
3y ago
A treat for you: https://youtu.be/CTV-wwszGw8?t=289 :)
732.
▲
by
Mawr
3y ago
If 2 tons of steel hit you at 40mph+, you will die. You can be dead wearing a helmet if you wish. Trying to find a way out of that situation is futile, you're trying to fight the laws of physics. The solution is to not be there in the
733.
▲
by
Mawr
3y ago
Please, you've been reading too much PR from the Java side and not looking at benchmarks and real-world performance enough. What you're claiming is inherently not possible, cherry-picked benchmarks notwithstanding.
734.
▲
by
Mawr
3y ago
That's only a valid comparison if the "fastest Java" and "fastest Go" implementations are either the same or at the limit of what each language allows. The more interesting comparison anyway is performance of the st
735.
▲
by
Mawr
3y ago
That you put Rust among those languages says it all. Do some basic research.
736.
▲
by
Mawr
3y ago
It wasn't, you're just being hit with the standard obnoxiously disingenuous HN responses. It's very clear what you meant by 'hate' in your post.
737.
▲
by
Mawr
3y ago
Huh? An autoformatter is just a one big pure function, so it's easy to test. It'd be odd for it not to be solid. If it's not even fast, then nothing of note was even achieved. Anybody can write a slow formatter that conform
738.
▲
by
Mawr
3y ago
You shouldn't have setters in the first place. What's the point of encapsulation if anyone can just set properties at will?
739.
▲
by
Mawr
3y ago
Well this doesn't make much sense. If you rightfully find bash inadequate at some point, just switch to the next most natural tool - Python. Nobody's going to be surprised when they see a Python script. If you start feeling Python
740.
▲
by
Mawr
3y ago
Technically there's nothing wrong with it. That's the problem. These "gotcha" takes that some random language from 20 years ago already had feature x so talking about it now makes no sense are as common as they're m
741.
▲
by
Mawr
3y ago
An easy position to hold when it's physically impossible for a cyclist to harm you in your steel cage but you can kill them on a whim by slightly turning a wheel.
742.
▲
by
Mawr
3y ago
> I can drive to work in twelve minutes. Then you can cycle there in ~20 minutes. The difference would be that cycling infrastructure is dirt cheap, bikes are dirt cheap, you can fit way more bikes on a path than cars, you get daily phys
743.
▲
by
Mawr
3y ago
Because it's an incredibly US-centric POV. Of course public transport will be unsafe if 95% of the population drives, leaving only the marginalized groups to use it. You won't get beaten with a hammer in your car, you'll just
744.
▲
by
Mawr
3y ago
Better = more efficient. People in aggregate don't have any preferences actually. They just want to get to their destination in the cheapest/most convenient way, which is mostly dictated by what has been designed to be that way. I
745.
▲
by
Mawr
3y ago
Ah, taking manufacturer-provided TDP numbers at face value. So much for all the pretending you know anything about CPUs. Your very own source gives the M1 a 75 vs 59 score on power efficiency. They don't seem to provide a benchmark for
746.
▲
by
Mawr
3y ago
Teaching every single kid to be cautious doesn't scale. Kids are inherently irresponsible anyway and it's not like cars only kill kids either. > Yes, drivers should slow down in neighborhoods They shouldn't. If they need t
747.
▲
by
Mawr
3y ago
I think SF Mono is the best as well. The closest fonts to it that I know of are Commit Mono, Source Code Pro and Consolas.
748.
▲
by
Mawr
3y ago
Why would anybody need to buy 12 liters of milk when the store is 5-10 mins away on foot? Reality in a lot of european cities is fundamentally different to most of the US.
749.
▲
by
Mawr
3y ago
Have you considered paying the full cost of living in a non-urban area via taxes?
750.
▲
by
Mawr
3y ago
Similar accidents: - Alaska Airlines Flight 261 - https://youtu.be/gAYzBJxOeLw?t=2106 - Lauda Air Flight 004: https://youtu.be/WsYU7tjOvm0?t=1196
More ›