Better HN
topnewbestaskshowjobs
Log inSign up

lalaithion

2,422 karma · joined Mar 9, 2016 (10y ago) · 554 submissions

“to teach if we are called upon, to be taught if we are fortunate”
Submissions

comment 1w ago · link · parent

if there’s a vulnerability in a widespread library in an embedded device that can’t be patched, people should go smash the device with hammers.

comment 1mo ago · link · parent

they could just swap the direction for each matching

comment 4mo ago · link · parent

What do you mean the provenance? It was published on livejournal in 2012, that’s the provenance.

comment 4mo ago · link · parent

Yes they have GPUs.

comment 5mo ago · link · parent

What about virtual events between participants in different time zones? Whose do you keep stable if one has their clock moved under them?

comment 9mo ago · link · parent

System.Object is a type of all objects, NOT a type of all types. That is, all objects are System.Object. If one has a class Foo, then every object of type Foo is also of type System.Object. But what is the type of Foo itself? Not of an instance of Foo, but Foo itself. In the languages this paper is about, the type system can recurse upon itself, allowing types themselves to have type. It’s sort of like C#’s System.Type, except System.Type is a class that holds type information for runtime type inspection, whereas the type of types in this paper is for compile-time generics that can abstract over not just types but the types of types as well.

comment 11mo ago · link · parent

This post mixes up “easy for compilers and assemblers to transform and easy for cpus to execute” with “easy for LLMs to understand” and assumes that anything in the first category must also be in the second category since they’re both computers. In reality, the tools that help humans think are also useful for LLMs.

comment 1y ago · link · parent

Yes; because - is on the keyboard and — isn't. (Don't tell me how to type —, I know how, but despite that it is the reason, which is what the parent comment asks about.)

comment 1y ago · link · parent

[flagged]

comment 1y ago · link · parent

The US-UK Mutual Legal Assistance treaty imposes obligations on Ofcom which they have not met, 4chan claims:

“None of these actions constitutes valid service under the US-UK Mutual Legal Assistance Treaty, United States law or any other proper international legal process.”

https://www.courtlistener.com/docket/71209929/1/4chan-commun...

comment 1y ago · link · parent

Protocol buffers suck but so does everything else. Name another serialization declaration format that both (a) defines which changes can be make backwards-compatibly, and (b) has a linter that enforces backwards compatible changes.

Just with those two criteria you’re down to, like, six formats at most, of which Protocol Buffers is the most widely used.

And I know the article says no one uses the backwards compatible stuff but that’s bizarre to me – setting up N clients and a server that use protocol buffers to communicate and then being able to add fields to the schema and then deploy the servers and clients in any order is way nicer than it is with some other formats that force you to babysit deployment order.

The reason why protos suck is because remote procedure calls suck, and protos expose that suckage instead of trying to hide it until you trip on it. I hope the people working on protos, and other alternatives, continue to improve them, but they’re not worse than not using them today.

comment 1y ago · link · parent

They didn’t account for training. From the paper:

> LLM training & data storage: This study specifically considers the inference and serving energy consumption of an Al prompt. We leave the measurement of Al model training to future work.

This is disappointing, and no analysis is complete without attempting to account for training, including training runs that were never deployed. I’m worried these numbers would be significantly worse and that’s why we don’t have them.

comment 1y ago · link · parent

A couple nits, since we're already going above and beyond the normal amount of nitpicking:

1. In Kenji's article on how to cut an onion, he shows a picture after doing the horizontal cuts; he did five of them, not just one or two. (https://www.seriouseats.com/knife-skills-how-to-slice-and-di...)

2. I'm pretty sure I do more than 10 vertical cuts; there's no easy image in the link above and the video cuts before he does all the vertical cuts, but I think he's doing at least 20.

3. In real life, an onion starts flexing and bending when you cut. With a very sharp knife, I'm sure you do get a bunch of the small pieces which throw off the standard deviation for the "more cuts" method, but a bunch of the small pieces won't actually be cut as a layer of the onion is pushed out of the way instead of a tiny piece cut off.

comment 1y ago · link · parent

What if your program depends on library a1.0 and library b1.0, and library a1.0 depends on c2.1 and library b1.0 depends on c2.3? Which one do you install in your executable? Choosing one randomly might break the other library. Installing both _might_ work, unless you need to pass a struct defined in library c from a1.0 to b1.0, in which case a1.0 and b1.0 may expect different memory layouts (even if the public interface for the struct is the exact same between versions).

The reason we have dependency ranges and lockfiles is so that library a1.0 can declare "I need >2.1" and b1.0 can declare "I need >2.3" and when you depend on a1.0 and b1.0, we can do dependency resolution and lock in c2.3 as the dependency for the binary.

comment 1y ago · link · parent

Yeah but GET doesn’t allow requests to have bodies (yeah, I know, technically you can but it’s not very useful), and this is a legitimate issue preventing its use in complex APIs.

comment 1y ago · link · parent

How is this related to the linked article? Assemblers won’t delete your code for treating a register with a float in it like an integer.

comment 1y ago · link · parent

It’s a pretty bad system since it takes O(n^2) time to produce n integers but ¯\_(ツ)_/¯. Haskell avoids the extra cost by immutable-self-reference instead of creating a new generator each time.

comment 1y ago · link · parent

The first item yielded from ints() is 1.

For the second item, we grab the first item from ints(), and then apply the map operation, and 1+1 is 2.

For the third item, we grab the second item from ints(), and then apply the map operation, and 1+2 is 3.

comment 1y ago · link · parent

The author says “any lowercase character” but they mean “any character between the character ‘a’ and the character ‘z’”, which happens to correspond to the lower case letters in English but doesn’t include ü, õ, ø, etc.

comment 1y ago · link · parent

The author says “any lowercase character” but they mean “any character between the character ‘a’ and the character ‘z’”, which happens to correspond to the lower case letters in English but doesn’t include ü, õ, ø, etc.

comment 1y ago · link · parent

I think I understand what the author is trying to get at, and if I’m right then I agree with them, but this seems purposefully written in a style that inhibits understanding by the exact group it purports to be addressing.

comment 1y ago · link · parent

One of the ways in which supply is artificially restricted is that getting planning permission is difficult, so you’re not actually disagreeing with OP

comment 1y ago · link · parent

Most trans people have undergone gender affirming medical care. A trans man who has had a hysterectomy and is on testosterone will have a very different medical baseline than a cis woman. A trans woman who has had an orchiectomy and is on estrogen will have a very different medical baseline than a cis man. It is literally throwing out relevant medical information to attempt to ignore this.

comment 1y ago · link · parent

How do you think unions start? Yes, an entire workplace can just up and decide some day to unionize but more often unions start as non-bargaining unions and then at some point get enough support to bargain with the companies.

comment 1y ago · link · parent

I once worked with a 10x engineer who I could hand new backend APIs to and have a brand new ui component that supported the behavior in less than a day, consistently. I have worked with 10x engineers who spend hours on calls walking junior engineers through problems they're having. That's part of being a 10x engineer – what this article is talking about is random 1x engineers with a chip on their shoulder and unshakeable arrogance.

comment 1y ago · link · parent

You can transform a function `f: (Rng, args...) -> A` into a function `f: (args...) -> Set<A>` with very little machinery. Some programming languages allow writing functions that are _generic_ over whether they're random or nondeterministic, such as in this Haskell package: https://hackage.haskell.org/package/nondeterminism-1.5/docs/...

comment 1y ago · link · parent

A deterministic program follows a single path of execution, always producing the same result.

A nondeterministic_1 program follows a single path of execution, but at certain points, it randomly chooses how to proceed, therefore producing different results for different runs.

A nondeterministic_2 program follows multiple paths of execution, at certain points _splitting_ its execution to follow two (or more) paths instead of one, producing a set of results at the end.

A nondeterministic_1 program follows a randomly sampled path from a nondeterministic_2 program, and produces a randomly sampled result from a nondeterministic_2 program.

comment 1y ago · link · parent

It's not "extending" anything, that's the original definition of emotional labor. It's been extended to refer to around-the-house maintenance

> What's the alternative? A customer service job where you can be rude?

There is a lot of room between "faked niceness" and "rudeness". Nothing bad would happen if employees were allowed to behave neutrally towards customers.

12345
19