Better HN
topnewbestaskshowjobs
Log inSign up

GrantMoyer

2,291 karma · joined Apr 3, 2024 (2y ago) · 376 submissions

Submissions

comment 21h ago · link · parent

It's always legal to make baseless legal threats. It's even legal to initiate meritless lawsuits. Then you don't even need to win the the lawsuit; you just need to convince the party you're suing it's not worth it to defend themselves.

comment 1d ago · link · parent

LLMs are not perfect, like humans, they write bugs all the time. An intelligence that makes no mistakes is probably outright impossible.

Even formal verification systems can only verify things that have been translated into a particular format. They can't verify the translation itself.

So bugs cannot be completely avoided, but they can be made less likely. For humans, we've found that complex representations of systems are a lot easier to write bugs for than simple representations of those systems. This appears to hold true for LLMs as well, and I'd be surprised if it weren't a general property of intelligent systems.

comment 2d ago · link · parent

> The problem is that currently probably nobody can provide food that is cheap, good, healthy and available all year around.

We can, but we feed it to livestock instead of humans. Obviously, we'd want some improvement in quality control for human grade food, but the capacity is there.

comment 2d ago · link · parent

For a sense of scale, compare to the WHO fact sheet for alcohol use in Europe[1]:

> One in every 11 deaths in the WHO European Region is due to alcohol consumption. About 800,000 deaths a year result from alcohol use in the Region, almost a third of the global total of 2.6 million deaths [from alcohol use].

> In the WHO European Region, more than 1 in every 11 adults experiences alcohol use disorders.

> Alcohol consumption is responsible for 1 in 4 deaths of 19–24-year-olds in the WHO European Region, mainly due to injuries.

I don't bring this up to excuse manufactures of harmful chemicals from producing those harmful chemicals, especially when in some cases there's evidence the manufacturers knew the chemicals were harmful and covered it up. Neither do I want to excuse those manufactures from negligently or intentionally dumping potentially or known harmful chemicals into the environment. I don't excuse regulators from allowing these behaviors either, but I do see where the perspective of "the diseases are mostly caused by peoples own choices" comes from, and how problems like harmful pollution might seem lower priority compared to other issues.

Ultimately though, those view don't hold up. Tackling these sources of public health issues can happen in parallel, and some of these relatively smaller scale issues with well defined causes are certainly easier to address than changing peoples behavior at scale.

[1]: https://www.who.int/europe/news-room/fact-sheets/item/alcoho...

comment 4d ago · link · parent

For probably most people, 200$ per month is already a no brainer, just in the other direction.

comment 1w ago · link · parent

I have a bone to pick with Amazon. I believe their return process is intentionally obtuse to get customers to give up and eat the cost of Amazon's poor quality control.

I bought a 15$ music CD sold and shipped by Amazon. They sent me wrong CD. The listing says it's the edition with a bonus track, but they sent me the edition without a bonus track.

I'd like to have them send me the right item, so I look at the return process on the website, but there's no option for "you sent me the wrong thing"; the closest is "the item is defective", but that option specifically says they'll send me the same item after they recieve my return, which is exactly what I don't want. There is no "something else" option.

I look for a support email where I can make a request with the full details. The support website is a labyrinth, and there is no support email.

There is a chat option, so I use chat support and explain the situation. The support person says I have to wait 48 hours after recieving the item to begin a return, I point out that's contrary to Amazon's return policy. The support person doubles down and refuses to start a return.

There's no support phone number, but there's an option to request they call me. I make the request and am called by an automated phone system. It eventually connects me to a human support person. I describe the problem to the support person over the phone, and he redirects me to a different support person. I describe the issue again to the new support person, including that the "defective item" option on the website says I'll be sent the same item. He explains that he cannot resolve my situation, so he reccomends that I file a return through the website with the "defective item" option anyway, but he can't guaruantee they'll send me the right item. He never mentions the supposed 48 hour cooldown period.

I file the return through the website, and drop off the item for return shipping the same day. A month and a half later, I recieve the replacememt item. It's the same wrong item.

I request another callback from Amazon again the next day. When I get to a human support person, I explain that I was sent the wrong item, then sent the same wrong item again as a replacement. I'm transfered to a "specialist". I confirm that I recieved the wrong item and replacement again. I'm told I need to upload a photo of the wrong item to a link they will send me by email. Immediately after the call, I take a photo and upload it at the link.

12 days later, I haven't heard back. I request a callback for the third time. I explain the situation, and that I called 1 or 2 weeks ago and submitted documentation. I'm told a return is the only option; Amazon will not send me the item I ordered. I double check that there's no way to have the correct item sent, since I just want the CD I ordered, and the support person confirms it's not possible. The support person opens a return, and I drop the item off for return shipping the same day. 12 days layer, Amazon refunds the money to my account.

Overall, the process took over two months, a chat session, three phone calls, and Amazon paying for shipping both ways two times, all for a 15$ CD, and in the end the problem wasn't even resolved. Any sane company would have resolved the problem on the first contact with support with a simple "oh yeah, oops, we sent the wrong item. We'll send you the right one." I have not ordered anything from Amazon since.

comment 1w ago · link · parent

Plus the S&P 500 is not "the market". It's a subset of the total US market that usually performs pretty close to the total US market, but a few percent difference either direction in performance isn't unusual, especially over less than a year.

And I don't think equal weighted S&P 500 is sufficiently motivated.

comment 1w ago · link · parent

I had something like 30¢ of interest income from one bank this year. I entered it on the free fillable form for my federal taxes, but it rounded it to zero.

I looked through the instructions on the forms, and they say you may round to the nearest dollar. In theory, I think you'd need to compute capital gains (sell price - purchase price) at each transfer, but I expect in practice they'd almost all round to zero since USDC is supposed to be equal to the value of the US dollar.

comment 1w ago · link · parent

Isn't trying a plausible sociological intervention then measuring its effectiveness a win regardless of how effective it ended up being? Either way, we know more about what's likely to work for future interventions. It's the scientific method.

These interventions target very complex systems. It's not unexpected that we need to try a bunch of things that don't work before we find something that does, to the extent that most of the things we try are ineffective, right?

Edit: I wrote the above before reaching the end of the article. By the end, the article reaches a similar conclusion, albiet with less science and more mysticism.

Maybe that means it's a good article, leading me to reach its conclusion before taking the stance itself. On the other hand, the article's leading sections gave such a strong impression that the author thought something needs to be drastically changed about the current system — the opposite stance from its conclusion — on seemingly shakey grounds, that I almost didn't finish reading it. I'm not sure what to think, aside from please leave innocent goats alone.

comment 2w ago · link · parent

Many cars use loose tolerance wafer locks[1] which are vulnerable to "raking". Picking a lock involves setting each tumbler individually by feel, and requires significant skill. Raking, on the other hand, is basically just rapidly jiggling a bumpy stick in the lock until all the tumblers bounce around enough to get caught on the edge of the cylinder and the lock opens. It's fairly low-skill, and can be quick enough that it looks almost like using a key[2]. (picking for comparison [3])

Lots of pin tumbler locks like you would find in a door on a house are also vulnerable to raking. It's easy to mitgate; you just use some bumpy pins (security pins) that are more likely to get caught in way that won't let the lock open than will, but lock manufacturers just … don't.

[1]: https://en.wikipedia.org/wiki/Wafer_tumbler_lock

[2]: https://www.youtube.com/watch?v=oztjRNKKTwE

[3]: https://www.youtube.com/watch?v=g0c1UAeuKlw

comment 2w ago · link · parent

> Also take a look at how easily a professional could gain access to your home if they wanted to.

Or an amateur with a mallet, a key blank, a file, and an o-ring.

https://en.wikipedia.org/wiki/Lock_bumping

comment 2w ago · link · parent

The problem is that the choice isn't seeing ads v.s. paying for the content. Instead, the choice is seeing ads v.s. overpaying for the content, then seeing ads anyway when the service decides to indroduce ads back to the paid subscription. By overpaying, I mean compared to what the service itself values its content at when it serves it for free with ads.

How many people would sign up for a 15$ per month subscription to read one article with no ads? How many would pay 1¢ once to read the article with no ads? How many would sign up for one 15$ per month subscription to see no ads anywhere?

I realize we don't have the infrastructure to make high volume 1¢ payments, and probably not for lack of trying, but I just don't think the core problem is that people only want stuff for 0¢ and not almost 0¢.

comment 2w ago · link · parent

Point of clarification: do you work at GitHub?

comment 3w ago · link · parent

I think one of the primary motivations for cryptocurrency was that legal ≠ moral. Therefore, I think cryptocurrency's best use cases are all explicitly illegal.

For example, you can donate to Sci-Hub with cryptocurrency. Sci-Hub has an ideological mission which is widely supported, but it runs afoul of copyright law and is illegal in nearly every country and sanctioned in many. You cannot donate to Sci-Hub with fiat currency.

Unfortunately, I agree that in practice >99% of cryptocurrency's use is for scams.

comment 1mo ago · link · parent

Firstly, TFA has a bright red banner describing the opt-out mechanism. It's probably the second most attention-grabbing element on the page, after the countdown. Secondly, initially Google didn't mention any plans for an opt-out at all[1]. That was was only ceded after pushback[2].

[1]: https://web.archive.org/web/20260312134021/https://developer...

[2]: https://web.archive.org/web/20260328133800/https://developer...

comment 1mo ago · link · parent

> Somewhere, that line exists where the company would financially benefit, I just wish they'd actually define it.

The line doesn't exists. It's most profitable for the company to repeatedly:

1. Have an ad-supported tier and a no-ads tier

2. Wait for most people to move to the no-ads tier

3. Introduce ads into the no-ads tier

4. Wait for people to get sick of ads

5. Introduce a new, higher cost no ads tier

There is no threshold where it's more profitable for the company to never introduce ads at that price point.

comment 1mo ago · link · parent

The benchmark[1] (HN discussion [2]) I read from about 2.5 years ago came to roughly the opposite conclusion. JPEG XL dominated practically all other image formats on compressed size and encoding time.

Superficially, that benchmark and this one seem to be taking similar measurements. They both measure encoded size versus encoding time versus perceptual quality metrics, although they present the data on plots with different axes. I haven't tried to reproduce the results of either, but I have no reason to doubt either benchmark.

I wonder what accounts for the difference. Maybe the libavif encoder got a lot better in the last 2.5 years. The older benchmark uses libjxl v0.10.0 and libavif v1.0.3, while the newer one uses libjxl v0.12.0 and libavif v1.4.2. Or maybe it's the set of images used. The older benchmarks aggregates results for small test sets of images, while the newer benchmark tests individual images. The newer benchmark does find an image where libjxl wins on file size (the weasel), but it still loses on encoding time, whereas in the older benchmark libjxl almost always won on both. Or maybe it's the hardware (M3 Pro vs. M4 Pro).

[1]: https://cloudinary.com/blog/jpeg-xl-and-the-pareto-front

[2]: https://news.ycombinator.com/item?id=39559281

comment 1mo ago · link · parent

I regularly fully read and try to understand paper contracts before signing them. Every time, it's clear that no time was set aside for me to read the contract, and the other party expected me to sign the contract within a few seconds of first receiving it. Often, I get the sense that the other party is annoyed or frustrated that I take time to read the contract before agreeing to it.

I've read that contracts fundamentally require a "meeting of the minds", where two parties come to a mutual understanding of an agreement. At the same time, overwhelming people are expected to not read and understand contracts they agree to. I don't understand how these two facts don't combine to mean the vast majority of written contracts are not legally binding, but apparently judges don't share my confusion.

comment 1mo ago · link · parent

It alienates me, because I cannot relate to it. To me, it reads like the author is going around, running some sort of flowchart for every woman they briefly interact with, like:

  [Are they hot?] -No> <Ignore>
         |
        Yes
         v
  [Are they wearing a ring?] -Yes> <Ignore>
         |
         No
         v
         …
I don't even know what that last step would be. It's not going to be sex. The woman is at work and the two don't even know each other.

Maybe that's not what the author is thinking. I don't know, because I can't understand what the author is thinking. I'm alienated.

comment 1mo ago · link · parent

The comments on women's bodies are not relevant to the narrative, and they alienate readers (women and men). It's bad writing.

comment 1mo ago · link · parent

And even if the theorem prover has no errors, the math behind the theorem prover could be inconsistent according to Gödel's incompleteness theorem. So even in principle, we can never be completely certain about the soundness of Rust, though the more theoretical concerns tend to be dwarfed by basic human error.

I think it's a good thing to keep in mind, that the actual implementation of Rust almost certainly isn't sound. Even an "ideal Rust" still has unsafe, which can affect the soundness of even faraway safe code. But I don't think it's nessesarily wrong to talk about Rust as if it were safe. Much of our communication has implicit assumptions, and the way we talk about Rust is no different. It would be exhausting to qualify every discussion of saftey with "assuming the compiler has no bugs", "assuming all unsafe code follows the (not fully specified!) rules", etc.

Ultimately it's like any other implementation of theory into practice. The theoretical model of Rust lets us reason about and design an implementation to achieve certain practical goals even though the model is a simplification of reality. In Rust's case, practical use has demonstrated it achieves design goals like reducing bugs and reducing development time (compared to peers like C++) to a substantial degree.

comment 1mo ago · link · parent

It's surprising this bug went unnoticed for so long, but at least it's easy to fix, since it's not a bug with the type system itself; it's just a bug in the compiler. The compiler should always have been rejecting that code according to lifetime rules of Rust's type system, so the fix is to just make it reject the code, rather than having to change the fundamental rules of lifetimes.

comment 1mo ago · link · parent

Let's take a simple example: writing past the end of an array. Allow me to argue with myself for a moment.

> Surely the compiler can just check if each access is valid.

Well, sometimes it can, but sometimes it doesn't know how long the array is. What if the array is passed as a pointer?

> Maybe each array could be annotated with its size at runtime, and accesses could be checked at runtime too.

That works, but it adds runtime cost that may legitimately be too much for some applications, for example, a Gameboy game (set aside that many Gameboy games were written in assembly).

> Fine, so we'll make the programmer promise to ensure array accesses are always valid. Maybe they'll make a mistake sometimes, but what's the worst that could happen? Throwing your hands in the air and saying the compiler is allowed to do anything, that's just stupid.

Well, maybe it's stupid, but this is one thing that could happen if you accidentally write past the end of an array: https://www.youtube.com/watch?v=Vjm8P8utT5g. I'm sure neither the programmers nor compiler writers intended that.

Ultimately, the compiler can't guarantee any behavior if its assumptions are violated. The example may seem contrived, but it demonstrates that, given the right circumstances, the results of the logical contradiction are unbounded. This is a direct consequence of the "Principle of explosion": https://en.wikipedia.org/wiki/Principle_of_explosion. On second thought, maybe the runtime costs of array bounds checking are an acceptable trade-off after all.

comment 1mo ago · link · parent

Windows has, for a while, had Windows Imaging Component for images (https://learn.microsoft.com/en-us/windows/win32/wic/-wic-lh) and Microsoft Media Foundation for video (https://learn.microsoft.com/en-us/windows/win32/medfound/mic...). Not sure how widespread actual use is though.

comment 1mo ago · link · parent

With or without a comma, without a conjunction like "and" the example is a run on sentence and is ungrammatical. You should join the clauses with a conjunction, and including a comma before the conjunction is a common style.

There's a caveat where some style guides permit using a comma without a conjunction in specific contexts, but most don't.

comment 1mo ago · link · parent

English has no central authority, so the lines between grammar and style can get fuzzy. Most guides would say you need an "and" after the second comma, but some make an exception if the clauses are "very short and alike in form". See Wikipedia's article Comma splice if you are interested in the pedantics. https://en.wikipedia.org/wiki/Comma_splice

comment 1mo ago · link · parent

Informally, commas are "misused" regularly even by native writers, and almost no one notices or cares unless the misuse is frequent and egregious.

Formally, most comma use is an issue of style, not grammar, and style guides differ on when they should and shouldn't be used. The main rule that's actually a matter of grammar is this: commas cannot be used to join two "clauses" (phrases which could be independent sentences) without a conjunction.

comment 1mo ago · link · parent

Depending on the shell, `somedir/*` excludes files whose names start with "." and may expand to a literal "*" if there are no file names to expand to. Basically, globbing has more edge cases to deal with.
12345
13