Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tene
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
61.
▲
by
tene
5y ago
Yes, that's correct, but if you get similar visualization for similar hashes, then you've got a much larger target to hit in your search space if you're trying to produce a value whose hash has a visualization that's clo
62.
▲
by
tene
5y ago
You use some other form of authentication, like a password, or clicking an emailed link, or clicking an "approve" button on the old device if available, or anything else that makes sense for your relationship with your users.
63.
▲
by
tene
5y ago
An error that's extremely common among people doing their first work on a specific domain seems like a good fit for "rookie error". It's easy to believe most professional teams make that mistake at some point. I'd
64.
▲
by
tene
5y ago
Could you explain a bit more about how you see Golang improving this? For me, Go is trickier to use concurrently than Rust, and requires keeping track of more details you need to manage yourself without compiler assistance or checking. For
65.
▲
by
tene
5y ago
I'd guess that the gap you're missing is that one of the namespace types containers use is a mount namespace. During container setup, you get a new mount namespace so that any changes to mounted filesystems are only seen by proces
66.
▲
by
tene
5y ago
For example, the right to freedom of association, and choosing not to employ people who are making reckless choices that impact the safety of their coworkers?
67.
▲
by
tene
5y ago
Persistent identity is fine, it just doesn't belong on individual servers. If the data matters, then it's better for it to be reproducibly managed, durably persisted, etc. For many database needs, there are great options that nat
68.
▲
by
tene
5y ago
It's also bizarre to see claims that unit tests are so new. I can't say I really know about other communities, but Perl at least was doing a lot of unit testing using the Test Anything Protocol (TAP) back in 1987. https:/&#
69.
▲
by
tene
5y ago
In Go, sending a value through a closed channel panics the program, and receiving a value from a closed channel immediately returns the zero value for the channel (and a false, if you use the two-return-values form of the receive operator).
70.
▲
by
tene
5y ago
This kind of trouble is exactly why Rust's channels feel much more intuitive to me than Go's. With channels in Rust, the channel is closed when either all senders or all receivers are dropped. This means that doing the default ob
71.
▲
by
tene
5y ago
Sure, it's all out there, and it's possible to build useful software using Go's channels. I was specifically trying to explain why I say that Go's channels are not intuitive, because they require studying and memorizing
72.
▲
by
tene
5y ago
Channels as a high-level abstraction are pretty simple, but API and implementation details matter. Go's implementation of channels are very simple to use for some very simple use-cases, but Go's API choices mean there are a lot of
73.
▲
by
tene
5y ago
If you're happy with a Pi Zero for your use-case, then there probably isn't anything you'd appreciate about moving to a microcontroller. One big driver for microcontroller use is power, as you've suggested. A quick look
74.
▲
by
tene
5y ago
What you do with the server/cluster after you take it out of service is up to you. Having automation like this to take things out of service means that you can immediately restore production workloads to full functionality. I'm f
75.
▲
by
tene
5y ago
I mean, I agree in that I'd like such a tool too, but given that we don't have this hypothetical more-scalable kubernetes, how is it such an unimaginably shitty idea to build tooling for declarative configuration of clusters? As y
76.
▲
by
tene
5y ago
I don't follow where you're trying to go here, or how you intend this to contradict anything I said. You're right that most people don't run 100k servers. In fact, most people don't run any servers at all, and don&
77.
▲
by
tene
5y ago
I'm in kind of the opposite position, as I feel confused about why I keep seeing so much resistance to higher levels of abstraction here. > It boggles my mind that people look at something like Kubernetes and decide "You know w
78.
▲
by
tene
5y ago
You mention this, but I want to clarify that you only need reference counting due to using only std, not due to limitations in the language. Scoped threads are available in crossbeam, and they're pretty great, as sometimes it's co
79.
▲
by
tene
5y ago
Given that they mention "$16bn" repeatedly, it seems pretty clear to me that their comments are regarding marketing mail specifically, not the full set of services USPS provides. I feel quite comfortable saying that there has been
80.
▲
by
tene
5y ago
I think you'll find that using an old Rust from Debian is not the default development workflow for most Rust users: https://blog.rust-lang.org/images/2020-12-rust-survey-2020/r...
81.
▲
by
tene
5y ago
Non-Lexical Lifetimes were a pretty big quality-of-life improvement. The question mark operator was also quite nice.
82.
▲
by
tene
5y ago
Hey, thanks for the response. I still feel like I'm missing an assumption, or we're otherwise talking past each other. Specifically, it sounds like you're assuming there is (or could be, or should be?) some relation between
83.
▲
by
tene
5y ago
As a huge fan of Rust, I am very interested in people writing comments about what C++ does for them that I'm missing in Rust. I want more C++ shilling in Rust threads, and I don't think I'm alone. Please, give me detailed exa
84.
▲
by
tene
5y ago
I'm curious if you or anyone else can share more detail or some examples regarding cross-cultural differences in societal expectations. I've got some guesses about what this might mean, but I haven't studied this, and don
85.
▲
by
tene
5y ago
It happens to be the case today that Rust doesn't support binary libraries build by different compiler versions, but I don't see any way that editions could interfere with this. Editions only include changes that are crate-local,
86.
▲
by
tene
5y ago
Having said all of that, I do agree that there are many programs where Rust's defaults don't add a lot of value, and it would be nice to have access to shared garbage-collected data without the syntax overhead of Arc<Mutex<T
87.
▲
by
tene
5y ago
My main objection to this take is that ownership is about far more than just memory management. Garbage collection lets you avoid memory leaks, double-free, use-after-free, and that's it. In Go, it's up to you to correctly handle
88.
▲
by
tene
5y ago
How do you check during the hiring process to tell whether new hires will intuitively know when not to interrupt? Have you often worked on teams where everyone intuitively knows when to not interrupt someone? Every office I've ever wor
89.
▲
by
tene
5y ago
I've got some vague opinions about "easier to learn" that I'd like to hear some disagreement on, to help me work out my thoughts more. Please forgive me if I'm not very clear here. I don't know if this is what
90.
▲
by
tene
5y ago
When you want a reference that can transparently become an owned value when mutated, Rust has a type Cow that implements this generally. It's an enum that has two variants, Owned and Borrowed. If you mutate a Cow::Borrowed, it first
More ›