Better HN
topnewbestaskshowjobs
Log inSign up

jbstack

1,239 karma · joined Feb 22, 2023 (3y ago) · 400 submissions

Submissions

comment 9mo ago · link · parent

> The calculation is "what could that engineer be doing instead and what is that worth vs fixing this issue?"

I don't agree with this, because it pre-supposes that there's a limited number of engineers available. The question isn't "shall I pull engineer X off project Y so that he can fix security bugs?", it's "shall I hire an additional engineer to fix security bugs?". The comment above mine suggests the answer to that question is "no, because it's too expensive to do that compared to just paying to clean up security breaches after they happen", which is what I was questioning in my first comment.

comment 9mo ago · link · parent

I didn't say I don't believe it happens. I'm saying I don't believe it's a based on a cost benefit analysis. I.e. that in a multi-billion dollar company someone consciously ran the numbers and decided "it's cheaper for us to pay to clean up the mess if there's a security breach than it is to hire someone to fix security bugs". The cost of the latter is too low for this kind of logic to make any sense.

I think it's more realistic that in any sufficiently large company the bureaucracy is so unwieldy that sensible decisions become difficult to make and implement.

comment 9mo ago · link · parent

I don't buy it. It makes sense for a small company where the cost of fixing it might be noticed. But AMD generates some ~$30bn in annual revenues. How much of a developer's time does it take to change the code to use HTTPS? $1000? $5000? Let's be extreme and call it $10,000. That's 0.00003% of AMD's annual revenue. It's barely even a rounding error on their accounts.

comment 9mo ago · link · parent

Also there's always the risk that the bolt cutter has a defect (perhaps deliberately introduced at some point when it was manufactured) which will cause you more damage than the thing you're trying to prevent by carrying it.

I'm personally a bit wary of introducing a relatively obscure security tool into my setup, to protect against a rare possible attack. The chance that I'll get caught copy-pasting a compromised URL into my terminal is fairly small, and there's also a small chance I'll compromise my system either now or at some later point via a supply chain attack if I use the tool. Which chance is bigger?

comment 9mo ago · link · parent

Maybe I've misunderstood, but isn't the whole point that it outputs to those other formats? So if you like the way Mermaid outputs look, you'd just output to that?

comment 9mo ago · link · parent

What you mean is that you don't find ASCII diagrams useful. Other people do (see other comments). I find them useful for Org Mode where I prefer to work with just text instead of having to keep separate image files together with my .org files. They're also easier to work with if you need to check them into a Git repo and you don't want to be bothered with something like Git LFS or git-annex. The fact that there are people who want them is enough to explain "why there's a push toward" them (assuming there is actually such a push).

comment 10mo ago · link · parent

I don't know how it works in France, but in common law systems opinions of other courts are always at least capable of being persuasive (not binding) precedent, so they are not irrelevant. Other courts can be, and often are, influenced by persuasive precedent when appropriate.

comment 10mo ago · link · parent

Not sure it's good as a starter distro, but other than that I agree. I was put off NixOS for a long time despite loving the principles behind it. Then a few weeks ago I had ChatGPT give me a short course on it, including flakes and the basics of the Nix language. I completed that in a few hours and achieved more than I ever had reading the Nix docs and blogs etc. Now I'm able to use an LLM to help me write flakes while also understanding what it is doing (I'm not a fan of blindly using AI generated code).

comment 10mo ago · link · parent

There are so many distros that it really depends on your use-case and it's hard to make a generic suggestion. Ubuntu is a common recommendation for first timers, mainly because as the most popular distro you'll easily be able to Google when you need help with something, and it also uses the most popular package format (.deb). There's also Linux Mint which is basically Ubuntu but with some of the latter's more questionable choices removed (e.g. snaps) and minus the big corp owner. By using one of these you'll also be learning skills relevant to Debian (which Ubuntu is derived from) which is a solid choice for servers.

Regardless of which distro you choose, your "desktop experience" will be mostly based on what desktop environment you pick, and you are free to switch between them regardless of distro. Ubuntu for example provides various installers that come with different DEs installed by default (they call them "flavours": https://ubuntu.com/desktop/flavors), but you can also just switch them after installation. I say "mostly" because some distros will also customise the DE a bit, so you might find some differences.

"Nicest desktop experience" is also too generic to really give a proper suggestion. There are DEs which aim to be modern and slick (e.g. GNOME, KDE Plasma, Cinnamon), lightweight (LXQt), or somewhere in between (Xfce). For power users there's a multitude of tiling window managers (where you control windows with a keyboard). Popular choices there are i3/sway or, lately, Niri. All of these are just examples, there are plenty more DEs / WMs to pick from.

Overall my suggestion would be to start with something straightforward (Mint would probably be my first choice here), try all the most popular DEs and pick the one you like, then eventually (months or years later) switch to a more advanced distro once you know more what your goals are and how you want to use the system. For example I'm in the middle of migrating to NixOS because I want a fully declarative system which gives the freedom to experiment without breaking your system because you can switch between different temporary environments or just rollback to previous generations. But I definitely wouldn't have been ready for that at the outset as it's way more complex than a more traditional distro.

comment 10mo ago · link · parent

You only have to run through a modern Windows installer to understand how screwed you are if you install it. Last time I did this for a disposable Windows VM (a couple of years ago) I remember having to click through a whole bunch of prompts asking about all the different types of data Microsoft wanted my computer to send them. Often the available answers weren't "yes" or "no" but more like "share all data" vs "share just some data". After that I recall being forced to sign up for an outlook account just to create a local login unless I unplugged my network cable during the install. I've heard they have closed that loophole in recent installers.

I'd already long since migrated away from Windows but if I'd been harbouring any lingering doubts, that was enough to remove them.

comment 10mo ago · link · parent

Suggestion: improve the opening summary paragraph:

"Radicle is an open source, peer-to-peer code collaboration stack built on Git. Unlike centralized code hosting platforms, there is no single entity controlling the network. Repositories are replicated across peers in a decentralized manner, and users are in full control of their data and workflow."

From this, I can't tell how it's any different to just plain self-hosted Git. A well written introduction should tell the reader immediately what the software actually does. If it's meant to be an alternative to something like gitea / forgejo then say that, with a brief summary of features that build on top of Git.

comment 10mo ago · link · parent

> This reminds me of the people who think they can build docsend in a weekend.

The author is very clear that that's not what they are trying to achieve:

"Now, don’t get me wrong, Jabber is not “production quality.” I would never sell it as a product or even recommend it to other people, but it does what I needed from Wispr Flow, and it does exactly the way I want it to."

comment 10mo ago · link · parent

At the risk of sounding repetitive, my comments are in the context of the OP's article which is specifically about a scenario where you lack control in macOS. If you're someone who doesn't care about being able to do what the article wants to do, then your use case doesn't fall within the scope of what I'm referring to.

comment 10mo ago · link · parent

Again, my comment wasn't isolated. It was a response to the article. In that article, the person was concerned with tracking down 500+ potentially unneeded processes, and lamenting the difficulty and time consuming nature of doing so.

Perhaps I could have phrased my question better, but what I'm really asking is: for that type of user, why would you pick macOS over Linux when such things are trivial (relatively speaking) in Linux by comparison. Note that I didn't ask "what advantages does macOS have?" I qualified it with: "which makes it worth sacrificing the ability to run your machine the way you want?". I wasn't suggesting that there are no advantages at all. Nuance matters here.

comment 10mo ago · link · parent

NixOS is an extreme case, and I only mentioned it as a counter to the OP's article which was talking about the mammoth efforts required to remove unwanted processes. More generally, there are plenty of Linux distros which "just work" out of the box for most use cases.

comment 10mo ago · link · parent

No insult intended. I genuinely wasn't aware of what advantages macOS offers for a power user (by which I mean someone who wants to do tasks more advanced than browsing, email, etc.). From quickly skimming the replies the common theme seems to be a mixture of battery efficiency, hardware compatibility, and Mac-only software.

> Been there done that. I have too many other things that need to get done to build up a distro.

Yes, but my comment wasn't made in isolation or directed at people with your objectives. The OP's article is about doing exactly this, but in the opposite direction (expending large amounts of effort to remove unneeded processes). See for example: "if we assume that we need to identify just 500 candidates, and each takes an average of one week to research, that would take over 10 person-years".

Starting with that as the baseline (as opposed to starting from your position which is that you're not interested in spending time on this issue), building up from zero is a lot more straightforward. And, if you use something like NixOS, you generally only have to do it once since the idea of "reinstalling" the OS (e.g. for new versions) largely goes away: subsequent effort is just about changing your mind about what software you want, or what version you want (as with any OS).

comment 10mo ago · link · parent

Such public shaming loses its value when it's overused though (see: boy who cried wolf). The "written by AI" accusation is thrown around so much, when it often isn't even true, that it just triggers scepticism as the initial reaction. At least, it does for me.

comment 10mo ago · link · parent

I've never personally understood the point of macOS for power users (other than cases where you're required to use one e.g. for work). I can understand it for casual users who just want something simple that works for basic tasks, but what does macOS offer a power user that Linux doesn't, and which makes it worth sacrificing the ability to run your machine the way you want? In Linux you'd solve OP's problem by just building up from a minimal distro like Arch or NixOS.

comment 10mo ago · link · parent

I feel like HN should have a policy of discouraging comments which accuse articles and other comments of being written by AI. We all know this happens, we all know it's a possibility, and often such comments may even be correct. But seeing this type of comment dozens of times a day on all sorts of different content is tedious. It almost feels like nobody can write anything anymore without someone immediately jumping up and saying "You used AI to write that!".

comment 10mo ago · link · parent

As a matter of adopting sensible definitions, I think you need to draw the line somewhere between what is gambling and what is not.

If the risk taken can, in principle, be shifted in your favour (i.e. to produce positive expectation) through application of skill, then it isn't gambling. For example, in my mind, betting on whether you will win a game of chess is not gambling. On the other hand, if you cannot influence the outcome in your favour through skill, then it is gambling. Roulette is generally a good example of this (with the caveat that in some very specific circumstances it's possible to beat with skill).

If we're limiting the definition to merely risk-taking (you might win or you might lose) without factoring in skill, then virtually everything in life becomes gambling. For example, you gamble when you deposit money in the bank because it might go bust.

There's also the legal definition, in which case it's just a matter of checking whether the jurisdiction you are in considers the activity to be gambling or not.

comment 10mo ago · link · parent

If you need a strategy to mitigate it (roll back and change approach) then it isn't really fair to describe it as "silly". If it's silly you could just ignore it altogether.

comment 10mo ago · link · parent

It's not really a fair analogy. Restaurants don't want you taking food away because they want to limit the amount you eat to a single meal, knowing that you'll stop when you get full. If you take food out you can eat more by waiting until the next meal when you're hungry again.

You don't "get full" and "get hungry again" by switching UIs. You can consume the same amount whether you switch or you don't switch.

comment 10mo ago · link · parent

That's not the debate we're having here. See the comment I originally replied to:

> What precise process do you suggest to tell them apart at Google scale?

The suggestion is that scale makes a difference. I was refuting that.

comment 10mo ago · link · parent

> You may want to limit Google size by forcing them to perform human reviews for all their customer service interactions

You've inferred that, but I didn't make this claim. A sensible strategy would involve automating as much as possible while allowing for the ones that matter (e.g. OP's example) to be escalated.

Clearly you can't do that if, as in OP's case, you don't even perform any automated ID checks before telling the complainant that their ID hasn't been verified.

> Again, you're talking from a moral standpoint

Not at all. I'm taking the legal standpoint. I say nothing about whether this particular law, or any other law, is moral or not. Complying with the law is a basic requirement that any company has to satisfy. Why should Google be any different just because it's big? You seem to be suggesting that laws should only apply to small entities and that once you go above a certain scale, you are above the law.

Again, if you simply cannot comply with the law for some reason (as you seem to be suggesting applies to Google) then you shouldn't be running that business at all because, after all, doing so implies doing something illegal.

comment 10mo ago · link · parent

I'm not sure how this is a reply to my comment. What you said applies whether you are hosting 1 video a month or 1,000,000 videos a month. My point was that scale isn't an excuse. What applies to large applies to small and vice versa.

comment 10mo ago · link · parent

Why does scale matter?

If I have 100 customers and I have to spend 1 hour a week dealing with legal compliance requests then if I have 200 customers I have to spend 2 hours a week dealing with legal compliance requests, but I also have more resources to do it with.

In fact, scale usually makes it easier rather than harder because you can take advantage of economies of scale to streamline the process.

And, in the end, if you aren't able to comply with the law then you shouldn't be in that business regardless of your scale.

comment 10mo ago · link · parent

I have a crazy idea... how about we take action on legitimate cases AND don't take action on fake ones?

comment 10mo ago · link · parent

As someone who runs a charity, it surprises me how often people equate "non-profit" with "doesn't get paid" or "does everything for free". Non-profits still need money, they just don't use that money to make profit that is paid to shareholders. Instead, they use the money to further the stated objectives of the organisation.

NB: I'm not trying to imply anything about whether Anna's Archive is non-profit or not. Just that the fact that it aggressively tries to raise money isn't a relevant factor.

comment 10mo ago · link · parent

You can also mitigate a lot of the "familiarity penalties" by planning ahead. For example, by the time I made the decision to switch from Windows around 15 years ago, I'd already been preferring multi-platform FOSS software for many years because I had in mind that I might switch one day. This meant that when it came time to switch, I was able to go through the list of all the software I was using and find that almost all of it was already available in Linux, leaving just a small handful of cases that I was able to easily find replacements for.

The result was that from day 1 of using Linux I never looked back.

comment 10mo ago · link · parent

You can't really make blanket statements like this about "Linux" in general because it depends on what distro you use. For example, in NixOS to fix this type of problem all you have to do is rollback to a previous configuration that is known to work. I've not used it, but I believe Arch has something similar.

Even with imperatively configured distros like Ubuntu, it's generally much easier to recover from a "screen of death" than in Windows because the former is less of a black box than the latter. This means its easier to work out what the problem is and find a fix for it. With LLMs that's now easier than ever.

And, in the worst case that you have to resort to reinstalling your system, it's far less unpleasant to do that in a Linux distro than in Windows. The modern Windows installer is painful to get through, and then you face hours or days of manually reinstalling and reconfiguring software which you can do with a small handful of commands in Linux to get back to a state that is reasonably similar to what you had before.

1
567
14