Better HN
topnewbestaskshowjobs
Log inSign up

mkehrt

746 karma · joined May 17, 2013 (13y ago) · 398 submissions

Submissions

comment 2d ago · link · parent

Wow, how did that work?

comment 3d ago · link · parent

I'm just describing the issues I ran into convincing people to join the union. There's no moral valence here, just a thought about how the union could convince more people to join.

comment 3d ago · link · parent

Yeah, they did a bunch of session a couple years ago and interviewed a lot of the membership to see what they cared about. The focus on job security came out of that. It is (was seven months ago) most of their talking points internally.

comment 4d ago · link · parent

When I left Google like seven months ago, the union had decided (based on feedback from members) that it was primarily interested in job security related things, such as buyouts and severance packages. I don’t know if that’s changed or what.

comment 4d ago · link · parent

For someone making hundreds of thousands of dollars a year, there’s a lot of sticker shock.

comment 4d ago · link · parent

If you don’t understand the title is sarcastic, uh I don’t know what to tell you you.

comment 4d ago · link · parent

As someone who spent a fair amount of time at Google trying to get people to join the union, this is 100% true. Almost everyone who I asked about it cited union dues as their main concern. Extremely frustrating.

comment 1w ago · link · parent

Thanks, this is a much clearer explanation than the article.

comment 1w ago · link · parent

What the heck does "not cyber-related" mean? It's a bug.

comment 1w ago · link · parent

Yeah, that's what it is.

comment 1w ago · link · parent

That's different, though. The point of the ant thing is sometimes things just happen, but if they happen twice, that's a very different matter.

comment 2w ago · link · parent

I (slightly joking) think this is amenable to zero-one-many. The first time your user base grows tenfold, rewrite. The second time, you need to rewrite again to plan for arbitrary scaling!

comment 2w ago · link · parent

I'm baffled by the claim that live debugging of this sort was ok in 2018. That wasn't that long ago. In 2018 we definitely knew this was a terrible idea.

comment 2w ago · link · parent

I agree with part of this. I don't know what Instagram is doing, but their ads are remarkably well targeted. The rest of the internet needs to do whatever they are doing.

comment 2w ago · link · parent

That's correct. We shouldn't be convicting people unless it's obvious.

comment 2w ago · link · parent

Yeah, I was really shocked to read that.

comment 2w ago · link · parent

This is just 100% wrong. The API should be designed to prevent mistakes. You're arguing in favor have having more memory safety bugs.

comment 3w ago · link · parent

Aha, thanks!

comment 3w ago · link · parent

You've exactly described the answer, but to people who don't know much about dependent types, this may be a little unclear. The point is that there are two sorts of dependent types.

When people who don't know much about them think of dependent types, they are probably thinking of functions, which can take a value on the left hand side to be used in the type on the right. Confusingly, these are normally called "dependent products" in the type theory. However since this is confusing and they are generally written with a capital Pi, they are often just referred to as "Pis". For example

    Pi x:nat . Vec x string
is a function that takes a nat (non-negative number) and returns a Vector whose length is that nat and which is encoded in the type.

On the other hand, you are talking about pairs (confusingly: "dependent sums", here "sum" being something like a union/enum in type theory), often called "Sigmas". These are pairs (2-tuples) of values in which the type of the second value depends on the value of the first. So, your example, a pair where the vector length is held in the first element and the vector itself in the second. In this contrived example, Vector may not know its own length at runtime, so we need to package them up together.

        Sigma x: nat . Vec x string
These are both "dependent types", but people who are only passingly familiar with them might mostly know about the first.

(Why are functions "dependent products" and pairs "dependent sums"? I've never understood this but I've heard hand-wavy explanations that infintitary products are functions and infinitary sums are products ¯\(ツ)/¯)

comment 1mo ago · link · parent

To me as an American this sounds perfectly fine.

comment 1mo ago · link · parent

I’m not sure that’s true. We have literal billions of years of training.

comment 1mo ago · link · parent

I absolutely cannot remember the details, but we did typesafe, macro based generic data structures in C in an undergrad class I took ~20 years ago (CMU Operating Systems). The idea has definitely been around, though I don't know if the implantation was the same.

comment 1mo ago · link · parent

Take it up with Isaac Asimov, I guess.

comment 2mo ago · link · parent

Well, we were using it to talk about things like cache invalidation and lax memory models rather than properties of algorithms.

comment 2mo ago · link · parent

As other comments have pointed out, this is just not true in general usage.

When I was a grad student studying this stuff (~20 years ago), we used "parallelism" to mean running on different cores at the same time and "concurrency" to mean preemptive multithreading on a single processor.

comment 2mo ago · link · parent

> You could literally "reduce" and array of integers to a cancellation token, or a state object, or anything else

This is what reduce does, though? It reduces a list to a single thing. It seems like you're thinking of filter.

comment 2mo ago · link · parent

You can disable this misbegotten feature with

stty -ixon

comment 2mo ago · link · parent

This is a readline feature. You can enable it in bash (and other shells?) with:

bind '"\e[A": history-search-backward'

bind '"\e[B": history-search-forward'

comment 2mo ago · link · parent

Interesting; I assumed the write to stdout would just hang for the writing program.

comment 2mo ago · link · parent

Sorry, by "official support" I mean that there is support within MSR to investigate these tools as a research project, no that there is a plan to actually do the conversion.
12345
14