Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klodolph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
631.
▲
by
klodolph
3y ago
> In order to have a general price increase, there must be more money in the economy to sustain it. I would describe this as “categorically incorrect”. The law of supply and demand normally has two sides—supply, and demand. It’s simplist
632.
▲
by
klodolph
3y ago
> It's all disinformation, and rather easy to refute. For example, if oil price hikes cause inflation, why do we not have corresponding deflation when oil prices go down? What’s the logic here? Are you saying that if oil prices goin
633.
▲
by
klodolph
3y ago
In Excel, every cell has some number of inputs (which are other cells), and a rule for calculating the cell’s value from its input. That is basically how software build systems work, except usually they use files instead of spreadsheet cell
634.
▲
by
klodolph
3y ago
The actual risk is that a cheap charger fails in an unsafe way, and exposes users to unsafe voltages. You need, internally, the right creepage and clearance distances, and you need to use the correct parts in certain places with the correct
635.
▲
by
klodolph
3y ago
There’s a tradeoff between risk and return. It’s not a binary tradeoff where you either have no risk but no return, or good return but unreasonable risk. It’s a gradient.
636.
▲
by
klodolph
3y ago
Should ≠ will. We still have Fortran and Cobol. It’s easy to imagine that Rust will replace C++ Real Soon Now, because you just have to imagine that all of the legacy code disappears, and Rust gets all the tooling support that C++ has.
637.
▲
by
klodolph
3y ago
I can think of a few scenarios for C++ off-hand. Most of them involve integrating with libraries or frameworks that are written in C++, running on platforms that have good C++ toolchains, or working with verification systems that can proces
638.
▲
by
klodolph
3y ago
> The first step to solving a problem is accepting reality. Ok, the first thing I’d like to accept is that C++ is just not safe enough for most applications. And yes—you also can’t throw C++ in the garbage. Both of those statement are pa
639.
▲
by
klodolph
3y ago
> Improving safety has been an aim of C++ from day one and throughout its evolution. Just compare the K&R C language with the earliest C++, and the early C++ with contemporary C++. My CppCon 2023 keynote outlines that evolution, C++
640.
▲
by
klodolph
3y ago
Eh. I’ve worked at companies with large monorepos and I’ve worked on teams with more repos than engineers. At large scale, it takes good tooling to make it work well, and that’s true both for monorepos and for multirepos. I do think that th
641.
▲
by
klodolph
3y ago
Yes, it subjectively more objective. (Like, I’m making a cute response here, but there’s not exactly an objective standard for objectivity , when you come down to it. Turtles all the way down and all that.)
642.
▲
by
klodolph
3y ago
Could you give an example? It would have to be something that doesn’t contain Peano numbers, due to Gödel’s incompleteness theorem…
643.
▲
by
klodolph
3y ago
It also has not been proven that real, correct proofs for 1=0 do not exist. Paradoxes are not all about proofs.
644.
▲
by
klodolph
3y ago
1=0 proofs are examples of a different type of paradox. It is an example of a paradox that does not seem true.
645.
▲
by
klodolph
3y ago
There are various categories of paradoxes and different ways people have categorized them. Quine calls this one a “veridical paradox”, where it seems false but is true. Example of a different types of paradox are: any proof that 1=0, Russel
646.
▲
by
klodolph
3y ago
“Create More Than You Consume” That’s a bit severe. Creation and consumption are both ways that we participate in culture.
647.
▲
by
klodolph
3y ago
It sounds to me like you’re arguing about what the definition of “folders” is. “Any hierarchical path structure is a folder” is maybe your definition of “folder”, from what I can tell. I would say that S3 lets you treat paths as hierarchica
648.
▲
by
klodolph
3y ago
There is really no such thing as a folder in S3. If you have something which is dir/file, then NORMALLY “dir” does not exist at all. Only dir/file exists. There is nothing to rename. If you happen to have something which is named
649.
▲
by
klodolph
3y ago
I have personally never seen the 0-byte files people keep talking about here. In every S3 bucket I’ve ever looked at, the “directories” don’t exist at all. If you have a dir/file1.txt and dir/file2.txt, there is NO such object as
650.
▲
by
klodolph
3y ago
I think the blocks are one part of it, and the other part is that S3 doesn’t support renaming or moving objects, and doesn’t have directories (just prefixes). Whenever I’ve seen something with filesystem-like semantics on top of S3, it’s do
651.
▲
by
klodolph
3y ago
The UI will fake them without even creating the 0-byte object.
652.
▲
by
klodolph
3y ago
I don’t think that’s a defensible standpoint. Folders are an important part of the way most people use filesystems.
653.
▲
by
klodolph
3y ago
“Prefix” is not the same thing as “directory”. I can look up names with the prefix “B” and get Bart, Bella, Brooke, Blake, etc. That doesn’t imply that there’s some kind of semantics associated with prefixes. It’s just a feature of your sys
654.
▲
by
klodolph
3y ago
Yeah, the UI and CLI show you “folders”. It’s a client-side thing that doesn’t exist in the actual service. Behind the scenes, the clients are making specific types of queries on the object keys. You can’t examine when a folder was created
655.
▲
by
klodolph
3y ago
I think if you focus too narrowly on the details of the wire protocol, you’ll lose sight of the big picture and the semantics. S3 is not a filesystem because the semantics are different from the kind of semantics we expect from filesystems.
656.
▲
by
klodolph
3y ago
> Fair enough, basing folders on object names split by / is pretty inefficient. I wonder why they didn't go with a solution like git's trees. What, exactly, is inefficient about it? Think for a moment about the data struct
657.
▲
by
klodolph
3y ago
I see you getting downvotes, but you’re speaking the honest truth, here.
658.
▲
by
klodolph
3y ago
S3 doesn’t have that abstraction. The console UI shows folders but they don’t actually exist in S3. They’re made up by the UI.
659.
▲
by
klodolph
3y ago
That’s kind of stretching the idea of “more structure” to the breaking point, I think. The key is just a string. There is no entry for directories. > the API implies that common prefixes indicate related objects. That’s something users d
660.
▲
by
klodolph
3y ago
Yes. It is, in practice, incredibly different. Imagine you have a file named /some/dir/file.jpg. In a filesystem, there’s an inode for /some. It contains an entry for /some/dir, which is also an inode, and then
More ›