Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spoiler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
601.
▲
by
spoiler
4y ago
> Unsafe Rust is at best equivalent to C/C++ and at worst it's a false sense of security. This is a bit of a misconception for people who've not worked with unsafe Rust. It's not like the language and most of its feat
602.
▲
by
spoiler
4y ago
So you're nit-picking over the phrasing of the sentence, but should instead focus on the spirit/meaning behind it. It's illustrated in their example below that they if you say you're having a baby, meta can send some typ
603.
▲
by
spoiler
4y ago
> It’s all fun and games until you find the need to unsafe Rust, which opens up a bunch of eldritch monstrosities that are sometimes even harder to tame than C++ Lol what? Unsafe is literally the only "mode" in C++. I'm no
604.
▲
by
spoiler
4y ago
I've personally been doing C and then C++ for about a decade before moving onto Rust 2-3 year ago. I don't think you're missing out on much by skipping C or C++, but I recommend dabbling in them a bit (doesn't matter if
605.
▲
by
spoiler
4y ago
> Leaving that aside, I was still hitting Rust "oh look the developer of this crate on which the entire universe depends still assumes that everything is x86 Anecdotally, I had the same issue recently with a C++ tool I wanted to tun
606.
▲
by
spoiler
4y ago
What are you basing this on? I've found Rust has gotten simpler, and the correct things to do has become more ergonomic, if anything.
607.
▲
by
spoiler
4y ago
> You don't need to know about about 6 different string types Eh, all these "different string" are different because... Well, they have different requirements. Path is not a normal string, it has platform-dependent implica
608.
▲
by
spoiler
4y ago
I'm aware of their failed legitimate attempts to establish a presence in the government. I'm not trying to saying Ukraine is turning to nazism or fascism (I also don't know that much about their politics). But I imagine that
609.
▲
by
spoiler
4y ago
But hasn't the American government constantly meddled in other countries' affairs and justified it using freedom/democracy to its own people? I don't want to be insensitive, but the whole 9/11 thing is such hypocris
610.
▲
by
spoiler
4y ago
Thank you! I really appreciate the effort and thought that went into this response. Great job!
611.
▲
by
spoiler
4y ago
Isn't Putin saying that parts of Ukraine which voted in a referendum that they'd like to join Russia should stop being bullied by Azov neo-nazies[1][2], and that's one of the reasons why this whole kerfuffle in Ukraine starte
612.
▲
by
spoiler
4y ago
Contrary to what you seem to believe, freedom doesn't have to be a zero sum game
613.
▲
by
spoiler
4y ago
I agree with the "don't just upvote cause they're famous" sentiment, just because PG is well known here. Ignoring that, he is a good essayist (regardless of whether people do or don't agree with his opinions). I thi
614.
▲
by
spoiler
4y ago
Intentionally sloppy is someone I would categorise as being persistent sloppy, and showing no interest in improving themselves, but also a resistance to advice, and/or feedback. It sounds silly, because "who wouldn't wanna im
615.
▲
by
spoiler
4y ago
You both make good points. Striving for perfection is a toxic habit (not just to your team, but to yourself too). However, there's also a category of people that write sloppy/unthoughtful code at the expense of their colleagues. O
616.
▲
by
spoiler
4y ago
I usually read hn on the loo (not a shitpost pun/joke) as idle reading, and sometimes I discover interesting products or news. Aside: it feels like being on the toilet is the most "me time" I get lately, so maybe I should cha
617.
▲
by
spoiler
4y ago
Oh wow. That sounds crazy that such slave-like contracts are enforceable. Do you know what their reasoning in court was? I can't imagine the connection between these two topics (satellites and 70s music). Was it just a predatory "
618.
▲
by
spoiler
4y ago
I'm not sure what political beliefs have to do with this. If you're American (don't know if you are), please stop slapping left/right political stickers on every issue. First of all, it's just kinda trashy. An secon
619.
▲
by
spoiler
4y ago
I share the sentiment of learning Rust instead of C myself, so I second this. However, if C tickles you more, then it's not a bad language to know. If anything, you'll be able to appreciate Rust more, if you ever do decide to pick
620.
▲
by
spoiler
4y ago
I personally doubt you'll get anything out of this route, but maybe I'm not seeing a line of reasoning that led to this. On a more helpful note, I'd check out a few books (try https://hackernewsbooks.com ) and then
621.
▲
by
spoiler
4y ago
Wow... Okay. I see you didn't even bother watching the video in full. You somehow managed to ignore all the points of the talk. Like literally every one of them, and I'm not even exaggerating. And then you somehow both managed t
622.
▲
by
spoiler
4y ago
IMO most analogies kinda fall short, but kinda makes sense in my head is: Entity as ID; Components as Columns, but only kinda; Systems as Application code or functions Tables in this database/ECS analogy are just tables here too, or me
623.
▲
by
spoiler
4y ago
Police officers are just people. There's always going to be people who abuse theirs power. Petty and malicious bullies revel in it a even. Unfortunately, the nature of the job attracts those people sometimes. I'm not trying to do
624.
▲
by
spoiler
4y ago
What are you talking about? I don't understand how you've never encountered variables depending on each other. In any moderately complex function you'll have more than one expression, and those can depend on each other. And y
625.
▲
by
spoiler
4y ago
Do these people even hear the words coming out of their mouth? How doesn't this ring some "alarm bells" in their mind... Imagine reducing PLAYERS in a game to NPCs and thinking that's okay. They're the real NPCs of
626.
▲
by
spoiler
4y ago
I'm not sure what you're trying to say. You list a number of problems that are addressed relatively well within Kubernetes whilst staying somewhat ergonomic; or at least more so than Chef, puppet, ansible, etc. I'm not sure i
627.
▲
by
spoiler
4y ago
> The fact that I named five such distributions is a canary of its own That can be said for programming language implementations. Or programming languages as a concept, too. Or configuration formats. Or even arbitrary products or librari
628.
▲
by
spoiler
4y ago
Hi! Thanks for taking the time to explain the concept! I'm familiar with these (and others) now, but I was curious to know what others issues the commenter alludes to
629.
▲
by
spoiler
4y ago
I would be curious to know more about this case too, fwiw! Personally, I've only struggled a bit with the borrow checker in a couples of cases: trying to have self/circular references when trying to model OOP, and when fiddling&#x
630.
▲
by
spoiler
4y ago
> (...) but I feel like in 5 years it's just going to seem lame and dated. Not an expert on media writing[1] (or writing/language in general), but I observed this to be true in at least a couple of languages. Dunno about the ti
More ›