Better HN
topnewbestaskshowjobs
Log inSign up

cangeroo

168 karma · joined Oct 16, 2023 (3y ago) · 70 submissions

Submissions

comment 2y ago · link · parent

I love Kotlin, but don't want to use IntelliJ, and they obviously have strong financial incentives against supporting other IDEs. Has anything changed in this regard?

I appreciate their work on native/wasm, and I think it's great if they could be financially rewarded/sponsored for that work. It's just unfortunate that it has to be in the shape of an IDE dependency.

comment 2y ago · link · parent

I've heard many stories about Chinese food safety.

But is government oversight getting better?

Is this a story of local corruption, or of a larger corrupt system?

And if it has "millions of views" on Weibo, is this an indicator that the government takes it seriously, or just a means of entertaining the public with the latest scandal and establishing legitimacy of government intervention?

comment 2y ago · link · parent

Have you found anything that makes everyone happy and productive?

I sometimes wonder if we'll replace traditional design patterns, especially OOP, with new patterns, that are neither OOP or FP, but perhaps a different paradigm (e.g. how Prolog is wildly different from C++).

comment 2y ago · link · parent

The article is extremely short and by an unknown author, so there isn't much to discuss.

But I've met many people who hated onion architecture with a passion.

I have a few theories:

- Maybe a lot of programmers have ADHD, are autistic, or suffer from dyslexia, and find planning, naming, designing abstractions as excruciating activities.

- Onion architecture etc. is a long-term strategy that mainly benefits the company/project owner, but not the individual contributor. So it basically has to be forced upon programmers, who will resist it in every way possible, because they have no real incentive to use it.

- It's supposed to make writing software easier. But it really requires an IDE that's designed for abstractions, such as IntelliJ, and also requires a different way of working with the code. It's also verbose. So it's really a different paradigm, and it won't work if you use a plain text editor. You'll drown in code and a vast number of files.

- Onion architecture is not OOP, but often mixed in with enterprise OOP, and therefore bad associations that come with enterprise OOP.

Any other thoughts on why people resist it so much?

And what changes in how we work with code, would make onion architecture more practical?

comment 2y ago · link · parent

Yes, in theory.

In practice, however, the source code can be overwhelmingly large or complex, e.g. Chromium.

And yes, even if you're blocked from contributing to the project, you could 'just' fork it. But it would be incredibly hard to maintain a fork, and to get users to use/support it.

It is therefore important to distinguish between community-owned projects (e.g. Linux Foundation) that aim to be inclusive, and those that are privately-owned, and can easily have political behaviors (e.g. intentionally ignoring contributions, e.g. VSCode, because it goes against your interests, e.g. .NET, Copilot, etc.).

comment 2y ago · link · parent

Unfortunately, I don't understand what this article is trying to say, but I respect the author and made a diligent attempt.

Yes, open source is now common place.

But I sometimes wonder if it, too, is a market failure, in that many projects are governed by, or mostly funded by, single entities, e.g. Facebook (React), Google (Flutter, Go, Android), Docker (Docker), and so on...

Is C++ a better example of open source, with broad industry contributions?

What about WebAssembly? Major browsers (Chromium) can pretty much refuse to support some functionality, and that'll be the end of that. The power centralization has severe consequences for openness.

I'm not convinced that community/industry-driven public-good type of FOSS will continue to flourish. If anything, I worry that we'll end up with a bunch of "open source" projects that in reality have built-in limitations (or as the author said "a carefully engineered bottleneck"), that prevent truly open adoption (like HashiCorp preventing contributions that compete with their commercial edition feature offering).

comment 2y ago · link · parent

By Poul-Henning Kamp

comment 2y ago · link · parent

Could DNS responses have been hijacked as well?

Edit: Could this have been used to hijack/create TLS certificates?

comment 2y ago · link · parent

It's impossible to take technology out of the equation. I.e. that one person may have superior insights in their physiology/glucose levels, or a superior diet before the race. And so on.

Similarly in football, by studying your opponents in previous matches, so that you can identify weaknesses during the match, even if playing in isolation.

comment 2y ago · link · parent

A court would likely decide that the supplier is in malicious non-compliance and may be able to assign financial penalties.

So it's important that the penalties are significant enough to deter non-compliance.

comment 2y ago · link · parent

This is silly. Soldered CPU, RAM, SSD. Pretty much the only thing repairable is the battery.

I'd argue that this was a cheap business decision to make. Keep the price gouging on parts, while satisfying regulators on "right to repair", and even get some free marketing from iFixit.

It only takes one part to break for you to have to buy an entire new device.

comment 2y ago · link · parent

Indeed!

I wonder what caused all this madness. Doesn't it degrade productivity? And thereby hurt profitability? And thereby the attractiveness of such strategies?

It sometimes seem to me like profit motive has been replaced by a power motive, like money isn't real anymore, but the legitimacy of private ownership is. Basically aristocracy 2.0.

I'd be happy to hear your thoughts on this, and why there aren't competitive alternatives in an otherwise free market.

comment 2y ago · link · parent

Isn't it just a PR stunt?

They get to use her voice for some time, generating hype. Then get even more coverage over the controversy, for free, while talking about their new product.

Not desperate at all.

This is modern marketing.

comment 2y ago · link · parent

Why didn't they reference the study by title and author names? Who conducted the study? How can we fact check it?

This is bad journalism.

comment 2y ago · link · parent

Are you saying that the problem of monopolies should not be solved through regulation, but by tax-funded public service alternatives?

Regulation tries to restore a free market by reducing barriers and allowing other companies to participate, such as in the app store market. Especially where limitations are not warranted, i.e. iPhone being hardware, the coupling with Apple's App Store is arbitrary and self-serving.

comment 2y ago · link · parent

Maybe it's a way to funnel government money into an obscure international entity?

comment 2y ago · link · parent

That's a specieist argument.

https://en.wikipedia.org/wiki/Speciesism#%22Discontinuous_mi...

comment 2y ago · link · parent

What's different?

I imagine that it's increasingly hard to contribute or even participate in the ongoing research, which is dominated by major companies?

I work in a different field, but the way of working now is so different from when I started. It feels like factory work / hamsterwheeling. It used to feel more like the work of an architect, a mixture of art and engineering.

comment 2y ago · link · parent

Is anyone else using Qubes OS or airgapping at work? E.g. finance, trading, ... ?

Do you use specialized equipment and processes, e.g. PDF-to-PNG rendering, one-way diodes, and such?

Also, I'm surprised to hear so many stories about crypto theft. Aren't there any airgapped solutions? And why aren't they mainstream?

comment 2y ago · link · parent

It's when you turn on flight mode, right? /s

(You have to physically remove the wifi and bluetooth hardware)

Also, one-way diodes are fine, mostly.

But I agree completely. There's a major lack of awareness.

I'm quite angry that firewalls on phones isn't a thing - and that you have to use a VPN workaround. Why is such a basic feature missing? (Oh wait, I know: advertising revenue, and uh, intentional vulnerability)

comment 2y ago · link · parent

You're a great educator!

I'm surprised that other people here cannot separate their subjective opinions, whether they agree with your judgment, from fact, whether you're a good educator.

It would be more reasonable to say: A good educator would help students understand that PDF files should have a small file size, and if a student fails to notice that, you will have to downgrade them for lack of attention to important detail.

And, of course the acquisition is bad news. Americans are the only people I've encountered that seem to celebrate the dystopian monopolized unfree market that we're headed towards.

Although I wouldn't be surprised if Canva has people to distort social media to downvote anyone who disagrees with them, as other companies do.

comment 2y ago · link · parent

Do foreign nationals have the same rights as Americans?

Foreign companies shouldn't have the same protections.

And in many countries, locally-operating subsidiaries are required to have majority ownership by citizens, partly to prevent foreign influence.

comment 2y ago · link · parent

I have a similar question. It seems to me that the software engineering salary distribution is bimodal. I'm simplifying a bit here, but basically into those that make <100k USD or >200k USD a year. What makes the difference? Is it management vs codemonkey? FAANG vs "small" <10k employee corporate? I like engineering, but my impression is that management often lies to engineers saying "oh, 80k USD is a high salary", when it's clearly not. The divide seems to be between those that know, and those that don't.

comment 2y ago · link · parent

Then why do people use Airbnb?

comment 2y ago · link · parent

I think anyone talking about TikTok's content is doing themselves a disservice, because it fails to understand that the content is heavily curated by the algorithm.

I tried installing TikTok on a blank developer phone, and the content was vastly different from what I was used to. Absolutely appalling content, the worst that humanity has to offer.

But my own feed is nothing but serious and mature content.

The question is rather how those algorithms can have a negative influence on people's perception of reality.

Who decides what is bad content? Sociologists? Should we suppress it, to save democracy? Or does that kind of censorship lead to fascism?

comment 2y ago · link · parent

What about affordable hotels with reasonable living conditions?

Maybe the hotel industry needs disruption?

Every hotel I've been to was incredibly wasteful.

comment 2y ago · link · parent

Absolutely.

But they also monopolized the market and prevented alternatives.

DMA is about fair markets.

Without Google, Apple, or Tiktok, we'd have other platforms. Maybe fairer platforms? It's not like there'd be zero innovation in every category without those companies.

comment 2y ago · link · parent

Isn't F# more like a nephew of OCaml and cousin of C#?

F# "originated as an OCaml implementation", which runs on .NET with some C# interop support?

123