Better HN
topnewbestaskshowjobs
Log inSign up

onei

1,018 karma · joined Apr 27, 2019 (7y ago) · 269 submissions

Submissions

comment 2w ago · link · parent

Some years ago, I ended up on a call with a support team guy, helping him under some parts of a system I worked on. He shared his screen, started drawing diagrams. It took me a whole 10 minutes to realise it was in paint, he was just that good at using it.

Turns out paint was the thing almost every customer had installed/had access to, so he worked to the lowest common denominator and got really good at using it. I guess now he'll need to find a new tool to astonish devs with.

comment 3w ago · link · parent

(Former akamai employee) Akamai have an incident process that handles both "things are bad for multiple customers" as well as "we need eyes on this from multiple departments/stakeholders asap". If you're hitting a wall debugging an issue on your own, especially if it's not overtly customer impacting, declaring an incident is an effective way of getting the attention needed to solve it.

Once you declare the incident, the process includes these status page updates, alongside equivalent internal status updates.

In this case, they probably wanted to maximise coordination, so used the process designed for that.

comment 2mo ago · link · parent

What was it like to work in the film industry, presumably as a software developer? I've heard lots of anecdotes about the games industry, but nothing whatsoever about working on a film.

comment 3mo ago · link · parent

Is that a recent-ish improvement? I feel like HTTP/2 would be roughly the same performance for JSON and protobuf, so maybe this is HTTP/2 vs HTTP/3?

comment 5mo ago · link · parent

It's a tracking tool. You have a bunch of sites embed an image, and requests to those sites also make requests to said image, which you can use to start tracking a client. A single pixel is merely the cheapest image.

I recall Facebook doing it years ago, I imagine they still do.

comment 6mo ago · link · parent

It's no joke for some.

It was some time ago that I read about it, and I'm struggling to find a source now, but there are instances in India of people being declared dead to allow their next of kin to steal their land. In doing so, the 'dead' unsurprisingly lose access to various public resources, health care, etc.

Edit: found a reference: https://en.wikipedia.org/wiki/Uttar_Pradesh_Association_of_D...

comment 6mo ago · link · parent

There's more info about the outcome in [1]. Long story short, the US government passed a law (whilst this case was being litigated) that let AT&T off the hook.

[1]: https://en.wikipedia.org/wiki/Hepting_v._AT%26T

comment 7mo ago · link · parent

Hex is 0-9, a-f. P and q are outside that character set.

comment 7mo ago · link · parent

It's not that the article is inherently unsafe, it's that the UK law imposes a liability the author is unwilling to shoulder.

10.

Full network of clitoral nerves mapped out for first time(theguardian.com ↗)

324 points · by onei · 8mo ago · 165 comments

comment 8mo ago · link · parent

I read that line and thought "so, the solution is code review?". What has to happen to your processes that code review is not only missing, but unironically claimed to be the solution?

I know there are some companies that never did code review, but this is Amazon. They should know better.

comment 8mo ago · link · parent

Assuming I've found the right process-compose [1], it struck me as having much overlap with the features of systemd. Or at least, I would tend to reach for systemd if I wanted something to run arbitrary processes. Is there something additional/better that process-compose does for you?

[1]: https://github.com/F1bonacc1/process-compose

comment 10mo ago · link · parent

It's the Isle of Man to the best of my knowledge, but the people, and language, are called Manx. Like the English are from England.

comment 11mo ago · link · parent

I've used localstack in the past which worked pretty well.

https://github.com/localstack/localstack

comment 1y ago · link · parent

That's what MISRA C [1] is sort of meant to be.

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

comment 1y ago · link · parent

If you want emails from some random internal machine, you can use one of the HPE SMTP servers. There was one for internal email, another for external iirc although I'm not sure there was a difference in practice. Those SMTP servers would do a DNS lookup before accepting the email.

When I set this sort of thing up, I'd get myself a hostname on an internal subdomain. But that was a truly miserable experience. It was a multi-stage form submission on a server I imagine to be the closest possible relation to an actual potato. It was soul-destroyingly slow. Alternatively, you could just pretend your machine was hpe.com - the hostname was valid, even if the IP was totally wrong, and the SMTP server would accept it.

My guess is that there was a bunch of stuff that pre-dated the HP/HPE split and they took the quick and dirty option whenever the old internal domain name got yanked during the changeover. And if your process runs as root, you get root@hpe.com and hope there's something in the subject/body to identify the specific machine.

comment 1y ago · link · parent

I can't speak to the Airs, but I went from an Intel Pro to a M3 Pro in a previous job and the battery life improved massively. I used to be able to heat my study by running a linter, but after the switch I remained chilly. I'm now on a M2 and have broadly observed the same.

comment 1y ago · link · parent

I'm not sure if you've misunderstood, so apologies if this is old news. US companies may have teams of engineers in various other countries. But they almost always pay local market rate. In much the same way US companies will pay teams in India their local market rate (which is less again).

My last company paid 2-2.5x a UK salary for a US engineer. Perhaps the ratio for a company like Meta is closer, but I doubt it's equal. For startups you may find random roles that have equal pay globally, but they're relatively uncommon.

comment 1y ago · link · parent

The UK monarch's power is largely based on convention more than active decision making. For example, a government is formed at the invitation of the monarch, but that's long reflected the results of an election. Getting rid of a PM generally happens when they run out of luck. That sometimes coincides with the ruling party/coalition imploding. The next PM is then shortlisted by MPs and selected by a minority of the electorate.

I guess the US equivalent is the leader of the house being unable to hold their majority together. In some ways the presidential election feels more democratic if a relative outsider (like Trump was) can win. But a 2 year lead up is crazy.

comment 1y ago · link · parent

To clarify a bit further, the UK head of state is King Charles III, as he is for a bunch of other countries in the Commonwealth.

Head of state in the UK is a bit weird compared to countries that abolished or never had a monarchy.

comment 1y ago · link · parent

It's not even just your users. I work on a S3-compatible service where a good chunk of the test suite is built on the AWS SDK.

In reality, AWS are the reference S3 implementation. Every other implementation I've seen has a compatibility page somewhere stating which features they don't support. This is just another to add to the list.

comment 1y ago · link · parent

HCL is Hashicorp Configuration Language: https://github.com/hashicorp/hcl.

It's basically a DSL used by a bunch of Hashicorp products.

It's sort of a programming language. Someone I worked with implemented 1 or 2 advent of code exercises with it a couple of years ago, but it's far from a general purpose language.

comment 1y ago · link · parent

Is Tiktok genuinely manipulated by the CCP? I could never quite tell if that was merely scaremongering and hypothesising by American politicians, or based on evidence of past transgressions.

comment 1y ago · link · parent

That seems like short-sighted advice. My company probably isn't paying me to write crypto, web frameworks, database drivers, etc. If it's not where I'm adding business value, I would generally try to use a third-party solution, assuming there's no stdlib equivalent. That likely means my code is an overwhelming minority of what gets executed.

If C dominates your codebase or you're squeezing out every inch of performance, then sure, you may well have written everything libc is missing. In Python, or another language that had a thriving ecosystem of third-party packages, it seems wasteful to write it all in-house.

comment 1y ago · link · parent

But does it not make you more vulnerable to competitors? Losing one of your few big customers will hurt regardless, but it likely hurts less if you have a pool of SMBs to act as a buffer.

comment 2y ago · link · parent

When RuneScape and Old School RuneScape Wikis forked, the license was changed from CC-By-SA to CC-BY-SA-NC. As a result, all new changes come under the new license. To copy changes back to Fandom, they'd need to update their license to match and as I understand it so forfeit some of their ability to use so much advertising. I'm not sure if that license update was also applied to Minecraft or LoL, but it's a possibility.

The only use of CC-BY-SA-NC on Fandom I can recall is Memory Alpha (Star Trek Wiki) which was acquired with that license. There were some extra hoops to jump through to be able to advertise there - I think they granted themselves the ability to do so through Terms of Use that override the license.

comment 2y ago · link · parent

There's a recent rough breakdown of costs and funding in [1]. In short, most funding is from ads. I don't think that takes into account funding for the newer Minecraft or LoL wikis, but it'll either be funded by ads or the game devs.

[1]: https://meta.weirdgloop.org/w/Forum:Board_Meeting_-_2024-03-...

comment 2y ago · link · parent

The go CLI does exactly the same. Python's pip (via setup.py) will do the same, and in an arguably less transparent way iirc. I don't disagree that there are better ways, but it's good enough to get you off the ground.

comment 2y ago · link · parent

From that article (and a few others)

> In fact, staff at Fujitsu, which made and operated the Horizon system, were capable of remotely accessing branch accounts, and had “unrestricted and unaudited” access to those systems, the inquiry heard.

This has always bothered me. Sure, it's possible to build APIs that audit access completely. But I can easily write code that circumvents those APIs. Code isn't like a building where the walls are impenetrable and the doors the only possible access points - we can redecorate without ever touching the door. Building in an unaudited backdoor for operators seems bad, but if you can edit the source code the backdoors are infinite.

comment 2y ago · link · parent

Were there any particular themes that stood out as you when understanding the causes of IT incompetence? I'm hoping there's a less depressing answer than "some people will never care".
12345
9