Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
carlmr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
961.
▲
by
carlmr
4y ago
That I'm completely on board with, you need to start somewhere.
962.
▲
by
carlmr
4y ago
>What surprises me a little though is that there is zero memory error even in unsafe Rust. There has to be some unsafe code somewhere, for low level data structures and things like that. Even unsafe Rust has more strict typing and borrow
963.
▲
by
carlmr
4y ago
Those OSes and browsers do show memory safety issues time and time again. They are some of the most hardened codebases, and still fail in light of the issues with C and C++.
964.
▲
by
carlmr
4y ago
Exactly, For small-ish tools RiiR works, but not for large proven-in-use codebases. While a rewrite would probably squash memory errors you would often get logic errors because you forgot to port some condition. I'm not against improve
965.
▲
by
carlmr
4y ago
I personally expect there are still some unfound memory errors in there, but it's such a stark contrast to C++ it's amazing. However memory errors in C++ account for 70% of vulnerabilities. I'd expect 30% to thus remain. Edit
966.
▲
by
carlmr
4y ago
>After all, I have worked for decades to make it possible to write better, safer, and more efficient C++. In particular, the work on the C++ Core Guidelines specifically aims at delivering statically guaranteed type-safe and resource-saf
967.
▲
by
carlmr
4y ago
Another one: sometimes, especially in large organizations, there are so many rules that you can't find anyone who actually knows them. Making it unlikely they're being followed. In large org thinking, if something bad happens, and
968.
▲
by
carlmr
4y ago
I'll try that test maybe. Interesting!
969.
▲
by
carlmr
4y ago
I think a huge issue we have is that we are now at a point where we know a lot. We even know there's some causation here between latent infections and plenty of neurodegenerative disorders. However, as the author pointed out, it's
970.
▲
by
carlmr
4y ago
You are sort of implying that people just aren't trying hard enough. That is your experience, sample size = 1. If you strike that sentence from your comment nobody would be rubbed the wrong way by it. There may be many reasons why some
971.
▲
by
carlmr
4y ago
>Recommended following distances are nowhere near "instant stop of vehicle in front of you plus reaction time". But the nothing can instantly stop, it's physics. The recommendations, at least in Germany are so that you hav
972.
▲
by
carlmr
4y ago
>I start with the best intentions but quickly get into situations that are far too difficult for me so I spend a lot of time covering up my problems with work for fear of being fired. ADHD plays a big part too. Things can get very diffic
973.
▲
by
carlmr
4y ago
>Deanonymized peer review has no chance of working since identified reviewers would fear retaliation for rejecting someone's manuscript. Rejecting would not be deanonymized, only accepting something with glaring mistakes like here.
974.
▲
by
carlmr
4y ago
If you like baking bread and you have the space, I would suggest getting a steam-convection oven, like the one from Anova. You can also steam-slow-cook meat and get juicy tender chicken.
975.
▲
by
carlmr
4y ago
>I am involved in scientific programming, and it's getting kind of crazy. This is a domain where programming is purely utilitarian, and what you are programming is more important. In my experience this leads to a lot of bad programm
976.
▲
by
carlmr
4y ago
Didn't they have this AI to predict the toxicity of certain compounds with extreme accuracy? If you combine the two it sounds like a solution with some remaining risk, but if the disease is bad enough that risk may be worth it.
977.
▲
by
carlmr
4y ago
Exactly, and if performance at some point matters: benchmark! And I would bet 9 times out of 10 it won't be the bottleneck or even make a measurable difference.
978.
▲
by
carlmr
4y ago
Inflammation is your body increasing blood flow, heat and nutrient supplies somewhere. The usual function is to heal something in a specific place (good inflammation), diet, lack of exercise, environment, and other factors can cause inflamm
979.
▲
by
carlmr
4y ago
I see this all the time, "coding interviews suck", "leetcode doesn't test if you're a good coder", but in the end it's better than nothing, and having worked at places without coding interviews there'
980.
▲
by
carlmr
4y ago
>I don't know of other options for operations that aren't built-in to the language extension Comby and semgrep come to mind. Semgrep works in fewer vs cases but has more features, comby can be quite good in others.
981.
▲
by
carlmr
4y ago
>it looks as if 2/3 of a Go program is pure error handling and no business logic. This is exactly why it's good. It forces developers to think about things outside the happy path business logic. And it does this at the point wh
982.
▲
by
carlmr
4y ago
In Germany we had a lot of migrant workers from Turkey after the war. The lack of diversity in immigrant populations is still causing problems today. Because there were so many immigrants from the same place, a lot didn't learn German
983.
▲
by
carlmr
4y ago
Bazel is definitely worth it if you have a large enough repo. But if you have such a large repo you can and should have a team that's dedicated to CI, builds, etc. If you have a small team and repo it's probably not worth the effo
984.
▲
by
carlmr
4y ago
>Germany > the world, yes I've heard that theory. Until the world see it in practice with example like dieselgate, BER etc... You really hate Germans, don't you. I think you have Germanphobia. Asking for a basic equivalence
985.
▲
by
carlmr
4y ago
I agree. Schematics, documentation, software should be in government escrow, otherwise you're not allowed to patent. Software updates have to be saved here as well. If the company goes bankrupt all IP will be released to the people. At
986.
▲
by
carlmr
4y ago
I haven't taken antibiotics in decades either. Whenever a doctor suggests it I ask for evidence of bacteria. I.e. do a test, and if that reveals a bacterial infection that won't pass on it's own, give me the antibiotics. I fi
987.
▲
by
carlmr
4y ago
I guess I was too impatient, switched to F# right away because it felt more complete.
988.
▲
by
carlmr
4y ago
How is this outside of politics? He was dealing with the royal family.
989.
▲
by
carlmr
4y ago
Because the name sounds somewhat like cadmium? Or why do you bring it up?
990.
▲
by
carlmr
4y ago
>the US economy has a structural dependence on this kind of labor exploitation. This sounds like the South arguing that slavery is necessary. In fact it wasn't, the US thrived, and it thrived in large part because it made it possibl
More ›