1,066 karma · joined Jul 26, 2024 (2y ago) · 436 submissions
comment 1y ago · link · parent
A lot of those failure mode examples seem well suited to client-side retries and appropriate rate limiting. If we're talking file uploads then sure, there absolutely are going to be cases where the benefits of having clients go to the third-party is more beneficial than costly (high variance in allowed upload size would be one to consider), but for simple upload cases I'm not so convinced that high-level client retries aren't something that would work.
> if they never got called in the first place due to misconfiguration
I find it hard to believe that having more components to monitor will ever be simpler than fewer. If we're being specific about vendors, the AWS console is IMHO the absolute worst place to go for a good centralized logging experience, so you almost certainly end up shipping your logs into a better centralized logging system that has more useful monitoring and visualisation features than CloudWatch and has the added benefit of not being the AWS console. The cost here? Financial, time, and complexity/moving parts for moving data from one to the other. Oh and don't forget to keep monitoring on the log shipping component too, that can also fail (and needs updates).
> The protocol provided by S3 is available through dozens of vendors.
It's become a de facto standard for sure, and is helpful for other vendors to re-implement it but at varying levels of compatibility.
> It only matters if it is of equivalent or lessor cost.
This is precisely the point, I'm saying that adding boxes in the system diagram is a guaranteed cost as much as a potential benefit.
> Yet you explicitly ignore these
I repeatedly mentioned things that to me count as complexity that should be considered. Additional moving parts/independent components, the associated monitoring required, repository sprawl, etc.
> No, I just read the documentation, and then built it.
I also just 'read the documention and built it', but other comments in the thread allude to vendor-specific training pushing for not only vendor-specific solutions (no surprise) but also the use of vendor-specific technology that maybe wasn't necessary for a reliable system. Why use a simple pull-based API with open standards when you can tie everything up in the world of proprietary vendor solutions that have their own common API?
comment 1y ago · link · parent
It also forces you to address all the non-existent problems first, the ones you just wish you had like all the larger companies that genuinely have to deal with thousands of file upload per second.
And don't forget all the new infrastructure you added to do the job of just receiving the file in your app server and putting it into the place it was going to go anyway but via separate components that all always seem to end up with individual repositories, separate deployment pipelines, and that can't be effectively tested in isolation without going into their target environment.
And all the additional monitoring you need on each of the individual components that were added, particularly on those helpful background workers to make sure they're actually getting triggered (you won't know they're failing if they never got called in the first place due to misconfiguration).
And you're now likely locked into your upload system being directly coupled to your cloud vendor. Oh wait, you used Minio to provide a backend-agnostic intermediate layer? Great, that's another layer that needs managing.
Is a content delivery network better suited to handling concurrent file uploads from millions of concurrent users than your app server? I'd honestly hope so, that's what it's designed for. Was it necessary? I'd like to see the numbers first.
At the end of the day, every system design decision is a trade off and almost always involves some kind of additional complexity for some benefit. It might be worth the cost, but a lot of these system designs don't need this many moving parts to achieve the same results and this only serves to add complexity without solving a direct problem.
If you're actually that company, good for you and genuinely congratulations on the business success. The problem is that companies that don't currently and may never need that are being sold system designs that, while technically more than capable, are over-designed for the problem they're solving.
comment 1y ago · link · parent
And to add, this rarely indicates anything about the depth and/or breadth of the 'used to' experience.
A lot of the strongest individual contributors I see want to stay in that track and use that experience to make positive and sensible change, while the ones that move into the management tracks don't always have such motivations. There's no gatekeeping intended here, just an observation that the ones that are intrinsically motivated by the detailed technical work naturally build that knowledge base through time spent hands-on in those areas and are best able to make more impactful systemic decisions.
People in senior tech leadership also are not often exposed to the direct results of their decisions too (if they even stay in the company for long enough to see the outcome of longer-term decisions, which itself is rare).
While it's not impossible to find the folk that do have breadth of experience and depth of knowledge but are comfortable and want to be in higher-level decision making places, it's frustratingly rare. And in a lot of cases, the really good ones that speak truth to power end up in situations where 'Their last day was yesterday, we wish them all the best in their future career endeavours.' It's hardly surprising that it's a game that the most capable technical folks just don't want to play, even if they're the ones that should be playing it.
This all could just be anecdata from a dysfunctional org, of course...
comment 1y ago · link · parent
This matches my experience. It's very difficult to argue against costly and/or inappropriate technical decisions in environments where the 'Senior Tech Leadership' team are just not that technical but believe they are, and so are influenced by every current industry trend masquerading as either 'scalable', 'modern' or (worst of all) 'best practice'.
comment 1y ago · link · parent
As a more serious point related to this though, I was under the impression that organ replacement didn't address issues with telomere length?
comment 1y ago · link · parent
[1] https://en.wikipedia.org/wiki/List_of_non-coherent_units_of_...
[2] https://en.wikipedia.org/wiki/List_of_humorous_units_of_meas...
comment 1y ago · link · parent
Sampling bias, there are no complaints about it because no-one uses it (jk).
It's subjective of course but despite the name TOML never really seemed that 'Obvious' to me, in particular the spec for tables. I also think the leniency in the syntax isn't necessarily a good feature and serves to make it less 'Minimal' than its name suggests.
comment 1y ago · link · parent
And lists.
> Pythonic
Pythonic in the way that Python's 'There should be one...' is expressed through the existence of tuples, named tuples, dataclasses, regular classes and attrs (not part of the standard library but it seems to be as much of a goto as requests is)? ;)
comment 1y ago · link · parent
Completely agree, but I also think there's value in re-watching within a short period of time. I find you retain enough memory from the previous viewing to be able to see subtle details and connect things that you maybe wouldn't have been able to in a first viewing.
And also, you can just drop the analytic brain and immediately rewatch something because you find it to be a beautiful film moment-to-moment.
comment 1y ago · link · parent
A friend of mine made a similar animated GIF type captcha a few years ago but based on multiple scrolling horizontal bars that would each reveal their portion of the underlying image including letters, and made a (friendly) bet that it should be pretty hard to solve.
Grabbing the entire set of frames and greyscaling them, doing an average over all of them and then applying a few minor fixups like thresholding and contrast adjustment worked easily enough as the letters were reveleaed in more frames than not (I don't think that would affect the difficulty much though if it were any diffierent). After that the rest of the image was pretty amenable to character recognition.
comment 1y ago · link · parent
Interesting. I've tried blocking things via hosts file to add that kind of friction, but it's too easy and often I'm waiting on something that takes longer than the time it takes me to 'fix' the hosts file.
> At work, I often log out of HN.
This works for me for posting but doesn't help so much with the FOMO of new threads. If I had to be logged in to view I imagine I'd read far fewer threads.
comment 1y ago · link · parent
The key point here I think is that there's a cost and some kind of friction to making the change.
It's easy to think that reducing friction is always a good thing, and for people in positions in companies trying to maximise user clicks on the Call to Action that does make sense, but for one's own personal attention and focus some kind of friction can actually be a good thing as it can imply and even reinforce deliberate action, which I believe is what's sorely missing from environments that promote multitasking.
comment 1y ago · link · parent
1 HN comment a day is interesting as it would also introduce a lag into the speed of development of threads as you wouldn't know ahead of time what threads you would want to post in until they've all been created.
Something I think about personally is what would be the result of requiring people to invest a personally meaningful amount of time and/or money into posting. "I have to pay to speak?!" people ask. Well, yes.
Of course, this immediately seems to tie someone's ability to post to personal finances which isn't the intention. But the key idea is that it has to be something personally costly enough that it implies an honest and intentional signal, which always seems to end up as either time or money.
Some forums implement time-gated posting which is interesting. If you have to wait a minute to be allowed to post, can you still be bothered? But would I have paid to write this specific comment? I'm not sure, I guess that depends on the market rate for posts at the time. I have no doubt there are tens of ways this system breaks down that I haven't thought through.
comment 1y ago · link · parent
I found not only incorrect 'reasoning' but also even after being explicit about why a certain deduction was not correct the same incorrect deduction would then appear later, and this happened over and over.
Also, there's already a complete database of valid answers at [1], so I'm not sure why the correct answer couldn't just come from that, and the 'reasoning' can be 'We solved this here, look...' ;)
[1] The wonderful https://pixelogic.app/every-5x5-nonogram
comment 1y ago · link · parent
My god, we've discovered a genuine perpetual motion machine.
> this is static linking in another dress
Although static linking usually seems to result in small binaries that just run on the target machine while this needs all the Docket machinary (and the image sizes can get horrendous)
comment 1y ago · link · parent
Even if there was no mention of this or the implication that it’s linked to the notifications Apple sends for targeted attacks, is it fair to say this kind of backdated security patch implies a lot about the severity of the vulnerability? What’s Apple’s default time frame for security support?