Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MereInterest
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
MereInterest
2y ago
Thank you, and that's probably a cleaner solution than what I've been doing. I've been making a temp directory, hard-linking each file to the appropriate location within that temp directory, then running docker from within t
92.
▲
by
MereInterest
2y ago
> I am not saying that Dockerfiles are good. But I also think that knowing the tool you use differentiates you from being a rookie to an experienced professional. I agree in general, though I'd also add that a tool requiring somebod
93.
▲
by
MereInterest
2y ago
> What's so bad about Dockerfile anyway? Things I've run into: * Cannot compose together. Suppose I have three packages, A/B/C. I would like to build each package in an image, and also build an image with all three
94.
▲
by
MereInterest
2y ago
There are two types of useful documentation: Documentation that builds a mental model for a user, and documentation that answers questions that cannot be answered from the mental model. The first is done through tutorials and quickstarts,
95.
▲
by
MereInterest
2y ago
Exactly. Documentation is useful when a user knows that there are multiple reasonable options for an implementation to take. "Which byte order is used for this protocol?" is a question that can occur to a user and can be looked
96.
▲
by
MereInterest
2y ago
Follow-up question: Does the SHELL need to be set within each stage of a multistage build? Ideally, it could be set once to remove this footgun, but I’m guessing the footgun gets reloaded with each stage.
97.
▲
by
MereInterest
2y ago
I take issue with your use of “magically”. Multistage builds look like a inner scope for each stage, and an outer scope that contains them. In most programming languages, variables in an outer scope are accessible within an inner scope. I
98.
▲
by
MereInterest
2y ago
The abuse of notation is a useful one, as it also captures the sense that as the exponent approaches infinity, the interpolation approaches nearest neighbor interpolation. This seems similar to the “max norm”, described in the wiki link be
99.
▲
by
MereInterest
2y ago
Why would "zero" be the ideal price? A price of zero would mean that everybody who wants the covenant to remain in place would need to constantly be on their guard for a hypothetical overly aggressive developer who wants to chang
100.
▲
by
MereInterest
2y ago
> But here? There's no one to buy off to relax the constraint. It's held in perpetuity by the dead hand of the past. I'd agree that there no one specific with whom you could re-negotiate the condition, but that doesn
101.
▲
by
MereInterest
2y ago
I think I'd put the difference between "invariant" and "assumption" as purely a difference in framing. Both describe a problem in communication between two components of a system. Suppose there are two components,
102.
▲
by
MereInterest
2y ago
The difference is that this bug exists at the border of two distinct components. Suppose `/bin/sh` concatenated all arguments together, then split them back apart. That would be a stupid thing to do, but that stupidity would be e
103.
▲
by
MereInterest
3y ago
> Maybe we need an option to make the compilers output a standard JSON or whatever... While I like the idea, I fear this would go the same route as UserAgent strings, with everybody giving carefully crafted lies. The main issue is that
104.
▲
by
MereInterest
3y ago
Agreed, this is a user-hostile move. The entire point of separating protocols from programs is because the user can choose which implementation should be used on any given protocol.
105.
▲
by
MereInterest
3y ago
> No, it really doesn’t. Saying “4pm at the coffee shop” means that, and this is a big distinction. Some words and phrases, such as "4 pm local time", require some of their semantic meaning to be inferred from context. This d
106.
▲
by
MereInterest
3y ago
> Only in the sense that BIOS systems historically programmed non-DST-aware local time into the RTC I would love to hear proposals on how, at a hardware level, you would track Daylight Saving Time. Not just how a Daylight Saving Time co
107.
▲
by
MereInterest
3y ago
You and I would like to meet at a coffee shop, on a specific date about six months from now, when the clock on the wall of the coffee shop reads "4:00 PM". * The coffee shop may not be located within UTC+00:00. If you show up at
108.
▲
by
MereInterest
3y ago
Because the local time is the thing that you have immediate access to, with no additional conversions applied. Every conversion requires an external source of information. Converting from local time to time zone requires measuring the sys
109.
▲
by
MereInterest
3y ago
Can we update the title to read "Digital Markets Act" instead of "DMA"? On first read, I thought the title was about Direct Memory Access, and what restrictions Apple places on different applications using DMA.
110.
▲
by
MereInterest
3y ago
Not so much plausible deniability, as a clear First Amendment argument. If you’re forbidden from exporting computer code, that was some new-fangled magic thing that nobody could possibly understand. If you’re banned from exporting a book,
111.
▲
by
MereInterest
3y ago
I’m still peeved that they don’t follow that guideline for the Sears Tower, and instead call it the “Willis Tower”. Just because the signage was changed doesn’t mean anybody actually calls it that.
112.
▲
by
MereInterest
3y ago
I learned this when the power button on my Pixel 3 started repeatedly firing. My phone started repeatedly rebooting, opening the camera, and calling 911, all with no user input. Because the phone was booting up and initializing the camera,
113.
▲
by
MereInterest
3y ago
Any detection scheme based on extra information from the client could be defeated by running the chess engine on a separate computer. A human typing in their next move is indistinguishable from a human copying a move from an airgapped ches
114.
▲
by
MereInterest
3y ago
I think browsers should make a distinction between server-provided scripts and local-user-initiated scripts. From what I can tell, CSP should only apply to server-provided scripts. They are a way for the server to restrict the capabilitie
115.
▲
by
MereInterest
3y ago
I can’t say I understand that, either. If the goal is to prevent the mmap’ed file from persisting on disk, using tmpfs handles that. If the goal is to prevent other processes from accessing the mmap’ed file, the systemd fd store would hav
116.
▲
by
MereInterest
3y ago
Then that's an entirely different point. There are many reasons why small phones don't sell well. There's the changing market in which a phone is the primary computer for many people. There's incomplete information, a
117.
▲
by
MereInterest
3y ago
Revealed preferences assumes that there are no confounding factors, no tyranny of small decisions, no information asymmetry and an unlimited selection of products that vary along every combination of features. It’s economic drivel, and ser
118.
▲
by
MereInterest
3y ago
> The simple test for that is, why do people use SSNs as it's not legally required for anything but USG interactions. Because if I want to open a bank account, rent an apartment, or get a mortgage, the other party requires me to giv
119.
▲
by
MereInterest
3y ago
It sounds like somebody assuming a docker build, where everybody’s build will use the same file path. It’s still a very silly restriction, because not everything occurs within docker.
120.
▲
by
MereInterest
3y ago
> It beeps a few times when the status changes Every time I turn it off, the Philips Sonicare plays a loud series of beeps, near my head, at times of day when I'm just waking up or about to sleep, for a toothbrush head that is well
More ›