Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
turminal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
turminal
4y ago
The evangelism is actually hindering adoption.
62.
▲
by
turminal
4y ago
Sure, but that's not a meaningful definition of safety, because according to this definition writing a safe O(log n) binary search is impossible in every single mainstream language in existence.
63.
▲
by
turminal
4y ago
That's a weird way to put it. If your function assumes some constraints on the input it gets and you give it data that violates its constraints, it's going to fail in some way. Sure, C makes it worse by making it harder to verify
64.
▲
by
turminal
4y ago
It's an OS for the web, but the web is increasingly in control of the same entity that controls chromium. And chromium helped them a lot in getting that much power over the web. I don't think that qualifies as improving openness o
65.
▲
by
turminal
4y ago
You are correct, SHA-2 is much more prevalent.
66.
▲
by
turminal
4y ago
Yeah, good luck with that. Nearly nobody installs apps from outside Google Play.
67.
▲
by
turminal
4y ago
This is (sort of) what Cunningham's law is about.
68.
▲
by
turminal
4y ago
Using g++ for C code is a recipe to get badly burnt - for unrelated reasons. Trigraphs are disabled in gcc by default anyway.
69.
▲
by
turminal
4y ago
Maybe they used a char to store the array index and you hit an integer overflow?
70.
▲
by
turminal
4y ago
Arithmetic on INT_MIN is already undefined behaviour.
71.
▲
by
turminal
4y ago
No, but banning them from the cell network is.
72.
▲
by
turminal
4y ago
Even with javascript enabled it looks awful on mobile.
73.
▲
by
turminal
4y ago
If you're writing anything with performance considerations using shell scripts, you're almost certainly doing something wrong. If it includes spawning thousands of processes, you're definitely doing something wrong.
74.
▲
by
turminal
4y ago
Can someone summarize what this means for the average rust programmer?
75.
▲
by
turminal
4y ago
> the Rust community putting a lot of effort into making memory safety a priority for everyone in the industry It would help if they did that in a manner that resembled harrassment a bit less. I realize most of the community means well b
76.
▲
by
turminal
4y ago
> but I am sure it got vastly better battery life than my current mirrorless camera. That sounds about right. Mirrorless cameras need to do a lot of image processing and that affects battery life significantly.
77.
▲
by
turminal
4y ago
> In the end we didn't get rid of SQL cause of SQL Injection. We fixed the frameworks and promoted the solutions. I mostly agree with you, but this is a bad example. SQL injection is sadly still very far from a solved problem.
78.
▲
by
turminal
4y ago
> I think it was LXC Still is :)
79.
▲
by
turminal
4y ago
The point is they can make the forks useless, unless sufficiently many users choose to use forks, which isn't a very likely scenario.
80.
▲
by
turminal
4y ago
Until those features become core web functionality and websites stop working without them.
81.
▲
by
turminal
4y ago
Open source means next to nothing in Chromium's case.
82.
▲
by
turminal
4y ago
Unfortunately a lot of embedded devices can't handle the size of go executables.
83.
▲
by
turminal
4y ago
I'm one of the Hare contributors researching the possibility of adding a borrow checker. I'm still at the start of that journey, and I'm looking at the problem implementation-wise rather than user-wise, but my impression so f
84.
▲
by
turminal
4y ago
Avoiding tons of complexity in the compiler is just one of the reasons why Hare doesn't have generics, and a borrow checker may be a sufficiently compelling reason to introduce some of the that, while generics themselves are not.
85.
▲
by
turminal
4y ago
This has been coming for a number of years now, but the maintainer was just active enough that nobody seemed to care about their wishes to hand over the software. Hopefully this will lead to someone actually taking over now.
86.
▲
by
turminal
4y ago
I wish improvements to the protocols we use were less bigcorp centric and did more to address privacy issues.
87.
▲
by
turminal
4y ago
Except that unlike C and Go it doesn't work.
88.
▲
by
turminal
4y ago
Pass is quite nice but calling it 'standard unix password manager' isn't very appropriate given that it depends on bash.
89.
▲
by
turminal
4y ago
The planned userspace on top of Helios is going to take a lot of inspiration from Plan 9.
90.
▲
by
turminal
4y ago
> Then mark all pages as copy-on-write, and return to the caller. Unix actually copied the memory over initially.
More ›