Better HN
topnewbestaskshowjobs
Log inSign up

makeitdouble

14,525 karma · joined Jun 2, 2021 (5y ago) · 5,901 submissions

Submissions

comment 1y ago · link · parent

I kinda see the original proposition as similar to a RGB framework. The same way we mix RGB to have a whole spectrum of colors, I assume we can mix Mort, Einstein and Elvis to get whole spectrums of engineers profiles.

There will be people looking at pure Green and pure Blue and ask for an Emerald color to get RGBE instead, but that's not how the RGB framework works. And I can't get rid of the feeling that Amanda is that Emerald color people are clamoring for.

I also kinda get why Microsoft got rid of the system for something more abstract.

comment 1y ago · link · parent

Sounds me like what you see in the Amanda type is "balance", landing as Mort mixed with an Einstein.

To quote OP: "None of these personas represent a real engineer - every engineer is a mix, and a human with complex motivations and perspectives"

comment 1y ago · link · parent

Wouldn't refactoring the if soup into an algorithmically elegant solution what the Einstein does ?

comment 1y ago · link · parent

What difference do you see from a Mort ?

If there is no inherent complexity, a Mort will come up with the simplest solution. If it's a complex problem needing trade-offs the Mort will come up with the fastest and most business centric solution.

Or would you see that Amanda refactoring a whole system to keep it simple above all whatever the deadlines and stakes ?

comment 1y ago · link · parent

Lowering the cognitive load by assigning temporary variables requires more thought and skill than credited here.

In particular these variables need to be extremely well named, otherwise people reading the code will still need to remember what exactly is abstracted if the wording doesn't exactly fit their vision. E.g.

> isSecure = condition4 && !condition5

More often than not the real proper name would be "shouldBeSecureBecauseWeAlsoCheckedCondition3Before"

To a point, avoiding the abstraction and putting a comment instead can have better readability. The author's "smart" code could as well be

  ```
  if (val > someConstant // is valid
      && (condition2 || condition3) // is allowed
      && (condition4 && !condition5) // is secure 
  ) {
      ...
  }
  ```

comment 1y ago · link · parent

> the code is only as good as its documentation

This heavily depends on your niche I think. If you're writing closed source vendor software and your client's only guiding light is your documentation, it's 100% true.

If you're working on a 5 people project that evolves at a fast pace, and everyone touching the code is expected to be familiar with the domain and operations, you'll mostly leave comments (todos, meta info, external ticket links etc), not documentation per se.

877.

The fight against labeling long-term streaming rentals as "purchases" you "buy"(arstechnica.com ↗)

61 points · by makeitdouble · 1y ago · 14 comments

comment 1y ago · link · parent

> the organizational structure, infrastructure

Those are things that matter and can't be brushed away though.

What Conway's law describes is also optimization of the software to match the shape it can be developped and maintained with fewer frictions.

Same for infra, complexity induced by it shouldn't be simplified unless you also simplify/abatract the infra first.

comment 1y ago · link · parent

> "Oops, sorry, didn't get around to documenting it".

That's obviously the wrong message. They should say "Go ask the engineering VP to get us off any other projects for another cycle while we're writing 'satisfying' documentation".

Extensive documentation comes at a price few companies are willing to pay (and that's not just a matter of resources. Look at Apple's documentation)

comment 1y ago · link · parent

Would NFS be faster ?

It was years ago but for whatever reason SMB was slow on my Mac even when connecting to Linux boxes. I mapped my user ID to the Synology user and switched to straight NFS instead, per wise it was night and day.

comment 1y ago · link · parent

From the linked comment

> Process engineers for example have to account for human error rates. [...] Designing systems to detect these errors (which are highly probabilistic!)

> Likewise even for regular mechanical engineers, there are probabilistic variances in manufacturing tolerances.

I read them as relatively confined, thus probabilistic. When a human pushes the wrong button, an elephant isn't raining from the sky. Same way tolerances are bounded.

When requesting a JSON array from an LLM, it could as well decide this time that JSON is a mythological Greek fighter.

comment 1y ago · link · parent

> War on Terror

This was just slapping a name and an official policy on something that has been going on for way longer. In a way, 9/11 was the point where it could be put as is on the public place and be accepted politically ?

> Break the rules to get the bad guys

I'd offer you "agencies that have their own extra-legal rules and only need some higher up's approval" as a better description.

The CIA doing it's own drug trafficking to balance its sheets would be a real life example of this.

comment 1y ago · link · parent

That was an interesting take, but "probabilistic" is to me different from "random". In particular other field get error tolerances, LLMs give us nothing like that.

We're introducing chaos monkeys, not just variability.

comment 1y ago · link · parent

I didn't have 9/11 in mind regarding this, so I guess we're in agreement ?

> It’s just because we’re Americans

This is a specific political ideology that I don't think defines the country. In theory, in 20 years the USA could have a completely different political landscape.

comment 1y ago · link · parent

> 1960-70's sensibilities

I'd argue there was more to that.

The political climate needed the public to be aligned with meddling a lot with foreign countries (and the Vietnam war was still happening), and passing it as something that isn't just happening, but needs to be done.

The more modern equivalent would be 24h (the tv series), which basically shoved to the public the notion that torturing and going extra-legal ways was something heroes had to do.

comment 1y ago · link · parent

Those are of course valid points. The counterpart being that a vendor might not have an API because they actively don't want to (Twitter/X for instance...), and when they have one, clients trying to circumvent their system to basically scrape the user UX won't be welcomed either.

So most of the time that path of "build a tool once" will be adversarial towards the service, which will be incentivized to actively kill your ad-hoc integration if they can without too much collateral damage.

comment 1y ago · link · parent

80 / 80 is sure close to reality.

As alternative explanation, even if there's no pressure to do so, the thing is these people came to do dev, and probably enjoyed their job enough to get recognized for their work.

So when asked to split between dev and management, outside of a few exceptions they'll want to do 80% of tech by choice. But the management part doesn't go away of course, so it will still be at least 50% (and 80% if they want money, because that's the part they're actually evaluated on)

comment 1y ago · link · parent

I'd assume most countries don't bother remapping when it comes to Street numbers ?

France has a suffix system, so you if a buildings are added between 24 and 25 you'll get 24 bis, 24 ter etc.

Japan doesn't care about the ordering in the first place, so a block added between 24 and 25 and 26 will be 32 without any issue.

comment 1y ago · link · parent

Yes, it's that song.

The station is named after a beer company that operates there, and they used their beer CM song for the station chime as well.

comment 1y ago · link · parent

Sorry, I just have pattern matched the 2015 release year instead of properly counting.

comment 1y ago · link · parent

> hilariously probably Windows

That's probably true.

> 15 y/0

It's a matter of expectations, many laptops that old still work decently enough with a refreshed battery. Funnily enough win10 was released 15 ago, and one can still get support for it for at least another 3 years until 2028, even on the customer license.

comment 1y ago · link · parent

I'd make an argument about the need for Slack to go beyond.

As you point out it's wildly successful and is the backbone of many groups internal communication. Many companies would just stop working without Slack, that's a testament to the current team's efforts, but also something that critical would merit better perfs.

I'd make the comparison with Figma, which went the extra mile to bring a level of smoothness that just wouldn't be there otherwise.

comment 1y ago · link · parent

Isn't the most common complaint against Slack that it's not optimized enough for what it does ? That's how I read the rants against its electron app, and people are already choosing the electron app against using it straight in the browser (as they'd do for Gmail or Calendar for instance)

comment 1y ago · link · parent

Yes, SPAs are inherently a very niche concept that has been applied to too many things for the wrong reasons.

On react, it's funny that sites where the frontend part is really crucial tend to move away from generic frameworks and do really custom stuff to optimize. I'm thinking about Notion, or Google Sheets, or Figma, where the web interface is everything and pretty early on they just bypass the frontend stacks generally used by the industry.

comment 1y ago · link · parent

But Apple is also the one locking Safari to the OS, IE style. Having to buy a new machine to get the latest and secure version of a browser is a pretty heavy requirement.

comment 1y ago · link · parent

You're not just reviewing the individual lines, but also which context, and which files are impacted. And automating that part would still mean reviewing the automation and the 1000+ changes to move to it.

Sure 1000+ changes kills the soul, we're not good at that, but sometimes there's just no other decent choice.

comment 1y ago · link · parent

Thanks! Do you deal with the logic getting split/shared around the code ? For instance on the credit card example there will be probably be one central class (the transaction class?) but you'd need to know the whole logic in the card registration part or the webhooks as well. I guess you don't stick a diagram everywhere ?

comment 1y ago · link · parent

Looks like Monodraw a mac only BTW. That should be fine if macs are mandatory for all the devs on a project, but it would otherwise create a kinda weird situation.

comment 1y ago · link · parent

Sounds super interesting, where do you put these diagrams ?

It's an issue I'm seeing even for comments touching too much on algorithmic stuff. To take a somewhat common example, if you were dealing with a credit card payment flow, where would the explanation of how a transaction goes through a few states asynchronously, which all trigger a webhook callback ?

Obviously the people working on the code need to be aware of that, so documentation is somewhere needed. I've seen people put whole blocks in class headers, other sprinkle it all inside the code, personally I ended up moving it outside of the code. Where would you put it?

comment 1y ago · link · parent

This was the Rabbit R1's connundrum. Uber/DoorDash/Spotify have APIs for external integration, but they require business deals and negociations.

So how to evade talking to the service's business people ? Provide a chain of Rube Goldberg machines to somewhat use these services as if it was the user. It can then be touted as flexibility, and blame the state of technology when it inevitably breaks, if it even worked in the first place.

1
293031
197