Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben0x539
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
361.
▲
by
ben0x539
6y ago
">" prompts aren't that uncommon outside of DOS, though $ telnet telnet> $ irb irb(main):001:0> $ echo look at me i'm an unterminated string > I guess python's ">&
362.
▲
by
ben0x539
6y ago
The problem with recognizing that a lot of phrasings are just the polite way to call someone stupid/tell someone to fuck off/etc is that you start seeing assholes whenever someone is just trying to be polite. :(
363.
▲
by
ben0x539
6y ago
I think the main point of the comment was asking why they decided against it. At one point the wording mildly suggests the possibility that no one at github has thought about it: > I would love to know if something like this has been c
364.
▲
by
ben0x539
6y ago
It's bad UX but how far should Firefox go out of its way to support the situation where a (from its perspective) third-party package manager just deleted all its files, replacing them with subtly different/newer ones?
365.
▲
by
ben0x539
6y ago
I'm reading the OP as "use these considerations to determine when to stop trying and instead interrupt me", and the comment I replied to as "you should never interrupt me unless there is no other option". The former
366.
▲
by
ben0x539
6y ago
The OP is pretty much a refutation of your answer, you don't think it has a point?
367.
▲
by
ben0x539
6y ago
idk, expensive cars?
368.
▲
by
ben0x539
6y ago
You'll be relieved to know I've been writing C code of varying quality for like fifteen years on and off. These days I get asked to write Go most of the time and we've gotten rid of the last C codebase we were maintaining a w
369.
▲
by
ben0x539
6y ago
I mean, it's probably infeasible to rewrite everything and it makes sense to focus on the cases where it'd have the greatest impact, sure.
370.
▲
by
ben0x539
6y ago
Yeah? Check out any very public discussion of Rust and to a first approxiation there's always gonna be someone talking about how we should all just be using C instead. It's also not hard to find instances in open source projects o
371.
▲
by
ben0x539
6y ago
Hm, how do I go from the github repo to a language breakdown of the dependency tree?
372.
▲
by
ben0x539
6y ago
Is price a good metric for whether bitcoin is dead or not? It seems trivial to imagine a thing that is very expensive but still has ~no value as a currency.
373.
▲
by
ben0x539
6y ago
Hm, is there some specific criticism of Rust you'd like to see discussed more? It's easy to get side-tracked in these "actually my language is better than your language" with everybody launching whole broadsides of argum
374.
▲
by
ben0x539
6y ago
ripgrep? :)
375.
▲
by
ben0x539
6y ago
Capabilities would probably be helpful :V
376.
▲
by
ben0x539
6y ago
The fearless concurrency sales pitch doesn't overpromise. You're trying to stretch it, but it's pretty clear on what kind of concurrency issues it covers (eg. data races).
377.
▲
by
ben0x539
6y ago
I guess people mostly take source compatibility to mean that you can write the headers for your C library so that it can be used from C++. That's not the same thing as C being a proper subset of C++ or whatever, but it's still a v
378.
▲
by
ben0x539
6y ago
There are a lot of great libraries for sure, but they aren't in the stdlib and C doesn't make it as easy to use external libraries as languages with modern tooling. Everybody gets grumpy about dependencies and a lot of people prob
379.
▲
by
ben0x539
6y ago
Eh, with Arc you can share ownership easily, and there are probably a lot of cleverer concurrent data structures or entity component kinda things that'd just work too. But maybe you can arrange things so that one thread owns the scene
380.
▲
by
ben0x539
6y ago
C evangelism is exhausting too. Maybe we can stick to discussing the merits of each language instead of complaining about how people with differing opinions make us feel.
381.
▲
by
ben0x539
6y ago
I don't know if you are a minority, but Rust is available right now and C-but-with-Rust's-great-ideas isn't. As far as I know no one is working on C-but-with-Rust's-great-ideas, so I don't think it's a good str
382.
▲
by
ben0x539
6y ago
Any book you'd recommend to back up your claims?
383.
▲
by
ben0x539
6y ago
Rust may or may not help you write synchronization primitives safely, but it for sure helps you use synchronization primitives without having to worry about memory safety. If you aren't parallelizing particularly subtle shenanigans, th
384.
▲
by
ben0x539
6y ago
Ah, sorry, when I said "they" I meant a user of a .kz email address, not the service provider.
385.
▲
by
ben0x539
6y ago
I'm sure people can realize the difference, but I'd expect the thought process in Germany to go something like 1) hmm, they have .kz as the TLD 2) apparently thats kazakhstan? TIL 3) kinda weird that they, not being from kazakhsta
386.
▲
by
ben0x539
6y ago
What happens if you drop the task between 1 and 2? Does dropping block until the cancellation of both tasks is complete?
387.
▲
by
ben0x539
6y ago
> My point is that in my opinion the Rust team has chosen to get the mid-term boost of Rust popularity at the expense of the long-term Rust health. I don't think a conscious decision of that sort was made? My impression is that at t
388.
▲
by
ben0x539
6y ago
We've briefly been playing with io_uring (in async rust) for a network service that is CPU-bound and seems to be bottlenecked in context switches. In a very synthetic comparison, the io_uring version seemed very promising (as in "
389.
▲
by
ben0x539
6y ago
Not acknowledging it when someone's causing problems under the banner of "taking offense is a choice" is definitely a surefire way to make problems worse, too.
390.
▲
by
ben0x539
6y ago
> People still work with him That's part of the problem. A bunch of people effectively didn't have a choice but to put up with this sort of communication style because their job required them to interact with the Linux communit
More ›