Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,271 karma · joined Nov 23, 2012 (14y ago) · 6,737 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 1y ago · link · parent

This hints at the antithesis to this article

Doing a thing involves doing it, but it's very unlikely that doing a thing will involve exactly one atomic movement. So you have cutpoints at doing the thing.

So to do the thing you first have to decide to do the thing. You have to decide what the thing is, or at least have enough of a vision of the thing to take the first step at doing a thing that might look like the thing.

So "doing the thing" involves a lot of doing things that aren't the thing, but without which you won't get towards the thing.

In other words: sitting down and writing down what the thing is _can very well_ be part of doing the thing.

There's a sort of philosophical point too, about whether the thing is what you think it is. Plenty of people have had the "I thought this feature was going to do X, you thought it was going to do Y, and we all realised the mismatch very late in the process".

I think both visions of the world are valid, and things you can keep in your mind at the same time to deploy as needed.

comment 1y ago · link · parent

To be honest I feel like "this code is easier to review and less likely to require rollbacks" is even more of a valuable take from this article, just in terms of "hey, don't you like it when things don't have to be rolled back?"

Security issues are like bad etc too, just we've heard the security spiel so many times at this point. I just think it's nicer to write most stuff in Rust.

comment 1y ago · link · parent

> I suspect most joysticks sold today come with a USB-C to USB-C cable

while things can be charged with USB-C cables, the only thing I've ever received A C-to-C cable is... a USB-C wall charger. Granted I haven't gotten a USB-C iPhhone yet and I gotta imagine that one is C-to-C.

Generally lots of pack-in cables I've seen in the wild for charging devices continue to be USB-A-to-C. Switch 2 ports are USB-A, PS5 front port is USB-A... we're still getting there.

comment 1y ago · link · parent

  getValue : (b : Bool) -> pickType b
  getValue True  = 42
  getValue False = "hello"
So given something like this, imagine something like the following:

  someBool = flipACoinToGetABool
  thingy = getValue someBool
You're already in trouble here right? what's the type of thingy?

So maybe you write:

  thingy: (pickType someBool) = getValue someBool
which is fine and great!

then you write:

  print (thingy + 3) -- thingy can be an int right?
But at this point thingy is of type "pickType someBool" while + is expecting Int. So it's up to you to restructure your code to prove to the type checker that someBool is in fact True.

For example:

   print ((if someBool then thingy else 5) + 3)
^ and here your code proves the fact! So in practice when you want to explore the results that are hidden behind the dependent types, you will need to have written code that unwraps it like this. But the whole point is the underpinning type theory means that you will be fine while doing it! You've proven that it'll be fine, so if you add thingy to 3 you'll have an integer.

I think of this stuff a bit like encryption password. You have this bundle of data, but to get in, you need to provide proof that what you're doing won't blow up. You'll need to write your code in a certain way to do it. But if you provide the right proof, then we're golden.

comment 1y ago · link · parent

is there any blame to be associated to Tesla for its feature? what's the right percent for you? 20%? 10%? 5%? 0%?

If the wheels of the car fell off, whould Tesla have any blame for that? If we had laid wires all along the road to allow for automatic driving, and Tesla's software misread that and caused a crash, would it be to blame?

When is Autopilot safe to use? Is it ever safe to use? Is the fact that people seem to be able to entirely trick the Autopilot to ignore safety attention mechanisms relevant at all?

If we have percentage-based blame then it feels perfectly fine to share the blame here. People buy cars assuming that the features of the car are safe to use to some extent or another.

Maybe it is just 0%. Like cruise control is a thing that exists, right? But I'm not activating cruise control anywhere near any intersection. Tesla calls their thing autopilot, and their other thing FSD, right? Is there nothing there? Maybe there is no blame, but it feels like there's something there.

comment 1y ago · link · parent

I don't think that's the read? Guy says he wants to work on something small. If you want to work on something big you probably want to be in a big corp to have the resources to do the big thing.

Also absolutely unknown if the "new thing" is AI-related at all!

comment 1y ago · link · parent

Yeah these boat strikes are totally downstream of the drone strike philosophy from the 2000s

“No US troops directly in danger means anything goes” is really the most cynical way to do FP, and all this tech has enabled it

comment 1y ago · link · parent

the wild thing is you _know_ there are so many people at YouTube who speak multiple languages and have issues with this. What engineering team is only filled with single-language-speaking people, especially at a prestige-y place like Google?

comment 1y ago · link · parent

> If not aligned with all parties, we would miss important flaws in the plan.

I think the difficult cases come when people's interests aren't aligned. If you're coordinating with a vendor to basically detangle yourself from their vendor-specific tooling to be able to move away from them, at some level it doesn't really make sense to read them in on that.

There are degrees to this, and I think you can argue both sides here (so ultimately it's a question of what you want to do), but parties are rarely neutral. So the tough discussions come from ones where one party is going to be losing out on something.

comment 1y ago · link · parent

To be clear I'm describing a point of view, but not always ascribing to it.

I tend to lean towards thinking backchanneling makes sense as a general vibe, if only because it's a way of doing things that lets people have dignity, and the costs _can be_ low.

comment 1y ago · link · parent

Some people are very confident in their understanding of a problem! Others will discount the validity of the stakeholders involved having good judgement.

I think most people have at least one issue where they discount one of the stakeholder's judgement, it's all fairly contextual. But hey, if you're the CEO of some company you have the ability to act on that discounting.

comment 1y ago · link · parent

Yeah sure, I feel like back channeling stuff is generally just the respectful thing to do, so I'm not on the side of the debate I'm expanding upon in most cases.

Just that lacking context one really can't make that many blanket statements.

comment 1y ago · link · parent

CS comms are tricky, I agree! You have to reply to stuff, often before you have any form of full picture. Just think you gotta be careful then, and the message they posted was not good on that front.

I do get what you're saying, and it's not like I think the CSM should be fired for the message. I just think it's bad comms.

Here are some alternative choices:

- post nothing, figure out more internally (community support is also about vouching for people!)

- post something more personal like "Thank you for posting this. I'm looking into who is working on this bot to get this information in front of them". Perhaps not allowed by Mozilla's policies

- Do some DMing (again, more personal, allowing for something direct)

But to your point... it's one person's message, and on both sides these are likely people where English isn't their native language. I'm assuming that community support managers are paid roles at mozilla, but maybe not.

And like... yeah, at one point you go into whatever company chat and you start barking up the chain. That's the work

comment 1y ago · link · parent

long and slow consensus building that weighs existing stakeholder's opinions heavily vs doing "the right thing" from the outset. So you move slowly and end up having very annoying conversations and compromises instead of just pushing something through. And the formal process is just a formality anyways, so then anyone not in the informal chatter just gets to experience the capriciousness anyways

The sort of consensus building ultimately involves having to do stuff to make people's opinions feel taken care of, even if their concerns are outright wrong. And you end up having to make some awkward deals.

Like with all this "Japanese business culture" stuff though, I feel like it's pretty universal in some degrees or another everywhere. Who's out there just doing things without getting _any_ form of backchannel checking first? Who wants to be surprised at random announcements from people you're working with? Apart from Musk types.

But of course some people are very comfortable just ripping the band aid off and putting people in awkward spots, because "of course" they have the right opinion and plan already.

Why context matters in judging whether some practice is good or not.

comment 1y ago · link · parent

>I'm sorry for how you and the Japanese community feel about the MT workflow that we just recently introduced. Would you be interested to hop on a call with us to talk about this further? We want to make sure we trully understand what you're struggling with.

- No apology

- No "we stopped the bot for now"

"We're sorry for how you feel" is enterprise for "we think you're whining". Maybe not what the person meant but how anyone is going to read it.

The original sin here is Mozilla just enabling this without any input from the active translation community.

This isn't a new problem, loads of Japanese translations from tech companies have been garbage for a while. People sticking things into machine translation, translators missing context so having absolutely nothing to go on. Circle CI, when they announced their Japan office, put out a statement that was _clearly_ written in English first, then translated without any effort of localization. Plenty of UIs just have "wrong text" in actions. etc etc.

Anyways the point is just that one side of this relationship here clearly cares about the problem way less, and _even when presented with that fact_, does not even pretend to be actually sorry for the damage they are causing.

comment 1y ago · link · parent

I think the idea is that the kind of organization that would create the wayback machine in a world prior to the wayback machine is one which will also continue to push boundaries beyond that

I think that argument has a certain stasis to it, and kind of assumes that organisations maintain their energy and people (and those people are not changing!)… but there are realities where the initial push is by some people and then future maintenance is by others.

But I think the IA is a uniquely tough project because of how much the ground is shifting around them constantly. It’s not Wikipedia

comment 1y ago · link · parent

I do think it's worth considering that FDR got elected for 4 terms (granted, congressional control went through various flows).

The push for the ideal might have locked in something generational. Maybe.

comment 1y ago · link · parent

Figuring out how to do db backups _can_ also be fairly time consuming.

There's a question of whether you want to spend time learning AWS or spend time learning your DB's hand-rolled backup options (on top of the question of whether learning AWS's thing even absolves you of understanding your DB's internals anyways!)

I do think there's value in "just" doing a thing instead of relying on the wrapper. Whether that's easier or not is super context and experience dependent, though.

comment 1y ago · link · parent

I feel like people who crave stability pull all the wrong lessons from how to get to stability when doing this sort of "ok we'll make _one_ major version with all the breaking changes we've built up over time".

This feels like a repeat of the Python 3.0 strategy, though obviously at a much smaller scale. Some stuff is of course hard to roll out but to me it feels "obvious" that having a 4.0 with the inheritence change (or even better, a 2.1 with a toggle on that change!), then a 5.0 with some other changes, then a 6.0 with other changes... all feels way easier to manage than a 4.0 with all the changes at once.

We have version pinning! People who want 2.0 can have 2.0 "forever", so version numbers that go up very high are not actually a problem. Many releases can of course be a bit of a frustration from a release maker's perspective, but given that htmx is the way it is (ain't even getting type checking helping you out on any of this like you would with React!), having the gradual path seems way better.

"I think I've handled the 10 changes in between 2.0 and 4.0... but forgot the 11th change" is a constant annoyance with these huge major version bumps.

I will once again point to the Django strategy of having breaking changes be rolled out over several releases, including in between releases where "both" models exist. It is a very nice way to do release management when rolling things out, gives good checkpoints for pushing things out, and overall means users are seeing less bugs. Going from `XMLHttpRequest` to `fetch` really might not be a feasable thing to toggle, but a lot of the other stuff in that list feels like it.

comment 1y ago · link · parent

I don't like their fixes, so now I'm dealing with imperfect fixes to problems I don't care about. Tedium

comment 1y ago · link · parent

Sure, I agree with the "levels of automation" thought process. But I'm basically experiencing this from the start.

If at the first step I'm already dealing with a robot in the weeds, I will have to spend time getting it out of the weeds, all for uncertain results afterwards.

Now sometimes things are hard and tricky, and you might still save time... but just on an emotional level, it's unsatisfying

comment 1y ago · link · parent

I understand the pitch here ("it finds bugs! it's basically all upside because worst case there's no output anyways"), but I'm finding some of these agents to be ... uhhh... kind of agressive at trying to find the solution and end up missing the forest for the trees. And there's some "oh you should fix this" stuff which, while sometimes isn't _wrong_, is completely besides the point.

The end result being these robots doing bikeshedding. When paired with junior engineers looking at this output and deciding to act on it, it just generates busywork. Not helping that everyone and their dog wants to automatically run their agent against PRs now

I'm trying to use these to some extent when I find myself in a canonical situation that should work and am not getting the value everyone else seems to get in many cases. Very much "trying to explain a thing to a junior engineer taking more time than doing it myself" thing, except at least the junior is a person.

comment 1y ago · link · parent

I would imagine that in... "soft realtime" might be much but in performance sensitive scenarios the actual cost to having some coordination code in that space might start mattering.

Maybe actor abstractions end up compiling away fairly nicely in Rust though!

comment 1y ago · link · parent

A meta-idea I have: look at all usages of `select!` with `&mut future`s in the code, and see if there are maybe 4 or 5 patterns that emerge. With that it might be possible to say "instead of `select!` use `poll_continuing!` or `poll_first_up!` or `poll_some_other_common_pattern!`".

It feels like a lot of the way Rust untangles these tricky problems is by identifying slightly more contextful abstractions, though at the cost of needing more scratch space in the mind for various methods

comment 1y ago · link · parent

I guess one big question here is whether there's a higher layer abstraction that is available to wrap around patterns to avoid this.

It does feel like there's still generally possibilities of deadlocks in Rust concurrency right? I understand the feeling here that it feels like ... uhh... RAII-style _something_ should be preventing this, because it feels like statically we should be able to identify this issue in this simple case.

I still have a hard time understanding how much of this is incidental and how much of this is just downstream of the Rust/Tokio model not having enough to work on here.

comment 1y ago · link · parent

So a couple of things:

- I don’t know for France but for Japan one of the ID cards (My Number cards) have RFID chips in them. This means that KYC procedures can involve both scanning the card with your phone, and then doing some video “turn your head” verification stuff

- even absent that, video-based KYC flows (which I see a lot of) just leave less margin of error for fraudsters. And for people being honest, a national ID card is yet another way for someone to have proof, despite their other circumstances

There’s always going to be people in edge cases of course, I just feel like leaning on ID cards that many jurisdictions have is straightforward

comment 1y ago · link · parent

I don't know about the rest of the EU but France just has national ID cards with your address printed on the back! No need for anything fancy there.

In both Australia and Japan there are tax numbers used for corporate identity verification (remember: here we're talking about a Wise account used for a business)

1
151617
225