Better HN
topnewbestaskshowjobs
Log inSign up

simplotek

1,581 karma · joined Oct 22, 2022 (4y ago) · 796 submissions

Submissions

comment 3y ago · link · parent

> I wonder what exactly they mean by this because JPEG-XL is a ISO standard.

I see there's some confusion. A specification might be formalized in an international standard, but implementations of said standard can and often are experimental.

You don't magically turn code production-ready by having a committee sign off on a document.

comment 3y ago · link · parent

> Pretty sure that JPEG won the format war for the next JPEG, decades ago.

JPEG for lossy image formats, PNG for lossless.

comment 3y ago · link · parent

> Do we know why they chose to remove it?

Phoenix had an article on why Google decided to remove JPEG-XL.

https://www.phoronix.com/news/Chrome-Dropping-JPEG-XL-Reason...

The official justification seems to be a) experimental nature of JPEG-XL, b) lack of demand, c) maintenance burden.

Take it with a grain of salt. Personally I don't buy it.

comment 3y ago · link · parent

> I doubt that countries bordering Russia are keen to have failed chaotic states with economic problems on their borders.

You're somehow ignoring that countries bordering Russia have already a failed chaotic state with economic problems on their border which also is systematically threatening with invasion, destruction, and genocide.

There are very good reasons why Baltic states are the highest per-capita providers of military and economic support to Ukraine.

comment 3y ago · link · parent

> Why is "useful for illegal transactions" supposed to be a bad thing, when these illegal transactions are illegal for extremely dubious reasons?

Straw man based on a made-up quote. The article does not mention "useful for illegal transactions" anywhere. The article mentions legal transactions in only two occasions:

- "Bitcoin is rarely used for legal transactions"

- "Bitcoin has never been used to any significant extent for legal real-world transactions."

If you feel the need to refute what the ECB claimed, show where bitcoing is used in any significant extent for legal real-world transactions.

Not even El Salvador, with their push to adopt Bitcoin as the nation's official currency, Bitcoin transactions saw any significant uptake.

comment 3y ago · link · parent

If you Google for it you'll get the gist of it. Wikipedia redirects "kitchen robot" to "food processor", and companies like Thermomix or Dúvida markets their products as "cooking robots" and "kitchen robots".

comment 3y ago · link · parent

> From this point of view a music box is a "robot".

A blender is also called a kitchen robot, so it's not much of a stretch.

comment 3y ago · link · parent

> You have one political representative group that has the appearance of being relatively aligned with your values, and another group that seems to be actively against many of your values.

To me that doesn't sound like it. As an outsider, republicans project an image of populist demagogues who thrive in bait-and-switch politics. I'd be surprised if the average American expected republicans to actually implement policies that go against what they've been always proposing.

comment 3y ago · link · parent

> I find their explanation pretty reasonable. In 2020 and 2021 money used to be close to free, with interest rates near zero and VCs throwing money at anyone with a growth story.

You're trying to put words in their mouth. Nowhere in their rationale they mention funding or money or interest rates or revenue or results. They only argue that they decided to base their HR policies on a fad. To me this looks like an awfully cowardly way to justify their own decisions on a pseudo-force majeure. Bullshit through and through.

comment 3y ago · link · parent

> What's the context behind this?

From the article:

> Right now, however, there is a ripple effect of uncertainty in our sector. Since the start of Q4, we’ve seen a dramatic shift in how every company’s performance is evaluated. Companies were once praised for growth at all costs. Very rapidly, market expectations have shifted. The emphasis now is on maximizing efficiency.

It sounds like they are cowardly using the Google/Amazon/Twitter workforce decimation campaign as a scapegoat to fire people.

comment 3y ago · link · parent

> You're missing the point -- it was written and still exists,

No you're completely missing the point. If it exists and needs to be managed then anyone in their right mind migrates their cmake project to modern cmake.

Why? Because odds are any weird thing happening in legacy cmake projects happened because either cmake didn't supported things way back then or old timers made a mess for themselves, needlessly.

Maintaining code does not require you to keep messes around. You're expected to pay legacy debt, learn from mistakes, and right whatever wrongs you made. With cmake projects, this means modern cmake. No excuse.

> and still needs to either be maintained or re-written.

It's not a "or". No one forces you to not fix mistakes. You only keep them around if you wish to, and if that's your own personal decision then the responsibility of creating that problem is on you, not on the tooling.

I'm talking from experience. I've maintained a dozen or so legacy C++ projects, some of which with auto tools, qmake, and the deprecated imperative cmake style put together over a decade ago. Porting stuff to modern cmake is trivial. There is no excuse.

comment 3y ago · link · parent

> The C++ folks often don't know what they're missing out on.

This assumption implies that C++ developers are all one-track wonders that lock themselves in a basement and have no contact with any other programming language or tooling.

> But the tooling is just insanely cumbersome (...)

It really isn't. Node.js with npm or yarn is a far greater mess than anything that happened in C++.

I'd say that 9 out of 10 times people complain about the C++ ecosystem, they are actually talking from a place of ignorance and at best are only complaining about the mess they needlessly dug themselves into.

Case in point: who in their right mind feels the need to bolt on a different scripting language to cmake, a build system that only rarely needs a damn if statement in the project? These guys are clearly deeply invested in making their lives far hard and worse than they need to be. I mean, where's the need?

If anything, this wave of contrarian bullshit targeting C++ only shows the high volume of inexperient and clueless developers who decided to skip learning the basics and instead thought it was a good idea o dive head-first into wheels reinvented very poorly, and from there in proceed to depict their own mess as representative of everyone else's experience.

comment 3y ago · link · parent

> The question you should be asking yourself is "why? why does my C++ project need 18 programming languages to build and java needs an xml file, javascript some json, or rust a toml file".

But your C++ project never needed 18 languages.

If you feel it does, you need to take a step back and take a serious look at the mess you're making because you're making at least 17 mistakes.

Tell me, what exactly does your build need that is not met with the following:

project(foo LANGUAGES CXX)

add_executable(foo_exec ${SOURCE_FILES} )

target_link_libraries(foo_exec ${MY_TARGETS} )

comment 3y ago · link · parent

> And in order to either maintain or upgrade, one needs to know both conventions.

No, not really. You only need to know the declarative, target-based modern cmake. Most of the ad-hoc nonsense done with legacy cmake is either features that since the 2.x days were added to cmake, or nonsense that should never have been written to start with.

comment 3y ago · link · parent

> It's already bad enough that the developer needs to understand both target-based CMake and legacy CMake (...)

No. "Legacy cmake" has been made obsolete with the release of cmake 3.0, almost a decade ago. There is absolutely no excuse to use anything other than the declarative, target-based "modern cmake" style.

I'd go as far as claiming that 95% of all use cases boil down to simple straight-forward one-liners with modern cmake, with the remaining 5% corresponding to putting together custom cmake find modules, packaging, and deploying runtime dependencies.

> (...) now there need to be two more languages (slide 13) (...)

I'd argue that if anyone feels the need to write scripts to do something in cmake, they are already doing something awfully wrong to start with.

comment 3y ago · link · parent

These initiatives are quite bluntly idiotic. CMake's scripting language is a collosal red herring. CMake's scripting language is good enough for all conceivable use cases, and if you feel the need to write scripts, let alone complex ones, then you're already doing something awfully wrong and you should just reach out to the documentation to learn how to do things properly.

comment 3y ago · link · parent

> I don't understand this. The core problem with gender dysphoria is that you feel significant discomfort with your biological sex.

Indeed, and that's why you see people undergoing medical treatments to address that problem.

Why anyone in their right mind would be against people seeking medical treatments to address their health issues is beyond me.

> If it were possible to legitimately "re-educate" oneself to not feel this discomfort, that would be considerably cheaper, less invasive and less problematic overall than trying to change one's sex.

You're desperately trying to avoid the point.

I repeat. You can reeducate an impotent man to stop worrying about his erectile dysfunction. You can reeducate a man to stop bothering with being bald.

Why is that somehow not targeted by this authoritarian belief that you're entitled to force upon others to undergo reeducation camps to accept an outcome they don't want nor feel comfortable with?

Why is that only minorities vilified by certain religious conservative pressure groups should have no say in what they can and cannot do regarding their health and personal well-being?

comment 3y ago · link · parent

> I saw this in the school I led, especially in young girls. One of them starts cutting, suddenly we have multiple girls cutting. One of them struggles with bulimia, suddenly the guidance counselor is reporting that she has an inordinate number of girls coming in for counselling about bulimia.

When you showcase suicides on TV you also have upticks in suicides. Same goes for mass shootings, copycat murderers, and even political protests.

When the 101 dalmatians movie was released, there was also an uptick in demand for dalmatians.

I fail to see how this means it's ok to fabricate diseases to downplay the effect that mass media has on people.

comment 3y ago · link · parent

> This is probably going to get downvoted to oblivion, because nobody wants to confront the idea that we can _learn_ to want to be another gender. But I think there's some interesting parallels to be observed here, and discounting that based on "moral virtue" or "denying hate speech" or whatever i'll be attacked with is just moving the target.

I feel you're grossly misrepresenting the issue. It means nothing if you believe people can be re-educated to cease to identify as a specific gender or repress their sexuality throughout their whole lives. That's completely irrelevant. You can also argue that you can re-educated men to be ok with being impotent or be bald or not need glasses, but somehow the conservative side of society is perfectly ok with having whole industries devoted to pumping out erectile disfuncion pills to circumvent natural health issues.

So you have to ask yourself why do you feel it's ok to repress whole segments of society because they don't feel comfortable with who they are, while you are perfectly ok with other segments pulling nature's cheat codes to achieve the exact same thing.

This is exactly the point: the authoritarian motivation behind repressing minorities, and the hate speech that goes along with it.

comment 3y ago · link · parent

> Exactly, the "C" in CRDT is a little misleading. They are "conflict free" in as much as they are able to merge and resolve in the basic sense. That does not mean that the resulting state is valid or meets your internal schema.

I disagree, the "conflict" in "conflict-free" is not misleading at all. As I see it, your issue with the "conflict" lies in a misunderstanding of what a conflict actually is in the context of CRDTs and what eliminating them entails. Concurrent updates can be free from conflicts but still end up with a semantically inconsistent document, and that is perfectly fine.

The whole point of CRDTs is to allow collaborative editing without resorting to mutex locks or forcing users to retry cancelled updates. That's why Yjs merges two captions added to a figure, and also why other CRDTs don't stop concurrent updates that make no sense semantically, such as having users concurrently writing incoherent sentences. Document-wise, there is no conflict or inconsistence.

comment 3y ago · link · parent

> Anecdata but the more "official" covid subreddits /r/coronavirus and then /r/covid19 brought started off pretty free speech but then began bringing in more and more moderation (...)

Aren't you talking about the growth in conspiracy nuts fabricating all sorts of conspiracy theories and assorted loony claims, such as the infamous "covid is caused by 5G" idiot fest, which were flooding covid-related forums?

Are we now expected to turn a blind eye to all the sadly avoidable deaths that conspiracy nuts and antivaxxers with their bullshit claims brought upon the world in the last couple of years? I mean, countless people ended up queuing veterinarian supply stores to gargle on horse dewormer thanks to these morons. Depicting these loonies as innocent truth-seekers that just asked questions and fought conspiracies is intellectually dishonest.

comment 3y ago · link · parent

> Something like this is on my roadmap,

Superb!

> would you mind telling me a bit about the metrics and the scale you'd expect?

It will depend mostly on what the service offers.

If the service only supports running a single isolated container without any scaling whatsoever then it would be helpful if we could monitor básico stuff like CPU and memory utilization, and also network traffic, free disk space, and also disk IO. If the service supports auto-scaling then it would be helpful to track all resource utilization rates along with all alarms and events involved. Auto-scaling also implies load balancing thus if that's the case then it would also be helpful to track the basic load balancing indicators, as well as request logs.

In the end it really depends on what services you're planning on offering, and how you'll charge for it. As a user I would need to monitor any metric which is directly and indirectly involved in determining cost, and on top of that I need to monitor performance.

> Would you expect always on or more of an ephemeral container?

The most pressing need would be always on containers to be able to go the lift-and-shift onboarding route to managed services, but ephemeral containers sound like function-as-a-service and those are pretty exciting as well.

comment 3y ago · link · parent

> Please do a managed Kubernetes next.

If we're taking requests, I would love a Fargate-like service. It would be absolutely fantastic if Hetzner provided a service where users uploaded a Docker image, and Hetzner took care of handling the networking bits and running it, and gather metrics.

comment 3y ago · link · parent

> Needless to say, people are pretty happy with smartphone photography. Which is optically pure shit, but clever software fixes that quite well. And not just that, it's idiot-proof. Those are two monumental achievements.

In the past photography was optically pure shit, and we could only take 36 photos at a time before cranking out a new roll of film, and we had to drive to a photo store to pay to get those 36 photos developed and only them we could see if the photos were any good.

comment 3y ago · link · parent

> It could also be that extended lockdowns caused a ton of deaths

Do you have any evidence at all that comes close to suggest this hypothesis, let alone substantiate it?

comment 3y ago · link · parent

It's also important to note that all the emergency public health measures put in place to curtail covid infections also contributed to lower the spread of the flu, thus it's expected that the number of flu cases behind excess deaths is significantly lower than the baseline.

comment 3y ago · link · parent

> So a code monolith I can just dump on a Linux box is in again?

Aren't you grossly extrapolating a tad? Nothing suggests there's a "code monolith" involved in the story. Just because the topic is single-tenant instances. Also, single-box deployments are completely orthogonal to "code monolith". Finally, just because a company offers a product that does not mean there's a major architectural shift in the industry.

comment 3y ago · link · parent

> FWIW - we run secret detection in our trunk check precommit action - so we make sure that secrets are never committed into local or remote branches.

Irrelevant. You're describing a failsafe. It's like claiming that you don't need to care about speed limits because a road has guardrails. The whole process is broken if it fails to address the main reason confidential info can be pushed into repositories.

comment 3y ago · link · parent

> circumstantial evidence, but nothing that was definitive

That's not how things work. The role of a Certificate Authority is to act as a trusted third party. If that third party is unable or unwilling to demonstrate that they are trustworthy then naturally they can't be expected to assume that role.

1
202122
27