Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 3y ago · link · parent

Not sure, think it's the default Windows 11, haven't noticed any differences. Usually login takes sub-second, just after this specific update that it took long time. After logging in once after the update, subsequent logins are as fast as before.

I have no custom startup scripts what so ever. Everything works just fine during normal operations, just that Windows updates suck and wasting my time, just like macOS.

comment 3y ago · link · parent

I haven't used a HDD for the OS drive for many many years now on any of the OSes, so shouldn't matter.

It's possible I guess that both Windows and macOS upgrades something regarding the boot process, one of the Windows machine (which today went through the ~25 minute upgrade I described in the OP) is a Surface Pro 8, and all the macOS machines are obviously Apple hardware, so very likely there are firmware upgrades happening as well. It's a good guess.

comment 3y ago · link · parent

Yeah, Ubuntu upgrade process is also trash, probably the distribution I've had the most upgrade pains with. No argument there.

But the Windows issue I mentioned happened literally today, and was the reason I wrote the post in the first place. And it was on a Surface Pro 8, which is a Microsoft device so thinking it should be the best device to run Windows on. But yeah, took awful long time and login took forever compared to how fast it normally is. Running Windows 11, as it came with when I bought it.

Not really doing anything extreme with it either, the most "complex" thing I'm doing on it is running WSL2 I guess, but also a official Microsoft project and shouldn't impact the upgrade process as far as I know. The computer is just a couple of months old as well.

comment 3y ago · link · parent

Are you trying to say Windows/macOS won't break if they lose power in the middle of the upgrade process?

I remember long time ago (maybe back in the xp/vista days) when my Windows installation broke when we had a power outage during my upgrade. Haven't happened lately, but searching online I can see bunch of people having the same problem with latest Windows versions and macOS as well, requiring a reinstall to fix.

comment 3y ago · link · parent

So rather than focusing on making sure the upgrades work, they check during the upgrades actually do work? Compared to Linux, which makes sure the upgrades work so no checking is necessary? And this is what takes the majority of time and requires multiple reboots during the installation process and requires a slow first login?

I don't know, that sounds very sloppy if true and not something I'd expect from professional OSes developed by huge companies.

comment 3y ago · link · parent

Usually it's about legacy compatibility. Some system somewhere makes some assumption, this system is hard to change so rather than attempting to change this system, other systems that interact with it have to adjust themselves, as they are easier to change.

For me, restricting the length is a clear indication that they don't properly secure your password. It should be hashed to a consistent length regardless of the actual length of the clear-text, so it shouldn't matter, even for legacy reasons. If I see that, I know that unless the service is vital, try to find an alternative or be prepared for when they finally get broken into, one way or another. Overall their security tends to be weak if they pull stunts like that.

2197.

Ask HN: Why are Windows and macOS upgrades so terribly slow compared to Linux?

10 points · by capableweb · 3y ago · 26 comments

comment 3y ago · link · parent

Probably. Just like email or any other communication medium. I don't think that should stop people from coming up with new ways of doing communication.

comment 3y ago · link · parent

I'm guessing these two commits (one or both) are related to the CVEs:

- https://github.com/home-assistant/supervisor/commit/2ae2d0e1... ("Performance tweaks middleware" but doesn't seem to be about performance but about auth)

- https://github.com/home-assistant/supervisor/commit/3d74e07c... ("Backport core api filter" but doing request filtering based on "potential harmful query string")

No need to be secretive about it. Updates have been automatically pushed + if someone wanted to see how it was fixed in order to exploit it, they'll be able to browse through the commits just like I did, and probably find it even easier as I'm no pentester, just a casual programmer.

comment 3y ago · link · parent

> To be successful this would require a very highly polished set of monitors, otherwise common situations like alert flapping would end up spamming updates. Having a human in the loop increases latency but can also increase the quality of the communication.

Preventing alert flapping is hardly "very highly polished", it's the base level for having even internal monitoring. And if it works for you internally, you could definitely make some automatic information available.

It's not rocket science we're talking about. Having a status page that can automatically say "Everything OK" or "Something seems to be not OK" would even be enough, but most companies don't offer something like that.

comment 3y ago · link · parent

Unless the status page show response times and is automatically updated when stuff stops working, assume that the status page is used as a marketing page. Companies who have nothing to hide run proper status pages, the rest that want to appear proper run marketing status pages that takes 30-60 minutes to even be updated in the first place.

comment 3y ago · link · parent

That would explain the scenario when Metrist says something is down but the actual service doesn't say it, because it's manually updated.

But what about the reverse? In what scenario would the platform say something is down but Metrist says it's up? Metrist is fully automated as I understand it, so it should detect it faster and reliable than their manually updated status pages, right?

comment 3y ago · link · parent

Metrist seems to consistently rate "downtime" different than the various services, for better or worse.

Here are some examples where the SaaS says they are down/degraded, but Metrist thinks they're up:

https://app.metrist.io/demo/jira

https://app.metrist.io/demo/circleci

Here is another where Metrist thinks the service is down, but self-reportedly up:

https://app.metrist.io/demo/newrelic

comment 3y ago · link · parent

How are you supposed to use two plugins providing the same functionality? Are you gonna compare them and then uninstall one of them? Do they differ?

As far as I can tell, it seems like you just wanted to plug your own plugin, but I'm happy if I'm wrong. I just to understand how you can use two plugins that provide the same functionality and why you would do that.

comment 3y ago · link · parent

> Does the API offer access to the same model as the one used in ChatGPT web app?

Chat API is this: https://platform.openai.com/docs/api-reference/chat/create

URL that the plugin is using for the API call is here: https://github.com/dpayne/CodeGPT.nvim/blob/1ff70459b170ddaf...

TLDR: yes

> If so it might be way cheaper to use the API than ChatGPT plus?

I haven't used ChatGPT Plus, just the normal one. But at least the demonstration GIF makes it seem kind of slow. One selling point of the Plus service is supposedly that you get faster responses.

comment 3y ago · link · parent

A typical Arch installation has exactly what you've put into it, no more and no less, as the setup forces you to decide what you want to put into it. It's in no way a beginner distribution, but not every distribution has to cater to the same crowd, which Arch is not afraid of making a choice to who they rather cater to.

As a professional, it's really simple (as in "not complex", not as in "easy to start using") and once you've understood your setup, troubleshooting becomes much easier if you have to do it.

comment 3y ago · link · parent

Same here but with Ubuntu and only using the "stable" version. Ubuntu updates have broken my systems over time many times since I started using it around version 9.04 or so, and stopped using it version 16 or 17. Started using Arch after that and the only breakages that have happened since then have been when I've been over-confident in major changes I'm making to my boot process. Never have a normal upgrade broken my system. The experience have been the same for both my desktop and laptop setups, and I'm starting to use Arch for my servers now too.

comment 3y ago · link · parent

Going to https://vanillaos.org/ and scrolling down, I encounter a section with the title "Immutable.." which seems to be what you're looking for?

> ..but also not.

> Vanilla OS is an immutable operating system, core parts of the system are locked down to prevent unwanted changes and corruption from third-party applications or a faulty update. Some paths are still writable, such as the home and configurations directories, this allows the user to keep their files and ensure the normal functioning of applications.

> Core components are only updated via controlled and atomic transactions, which are applied only on success and made available on reboot.

> Need to install a component in the core system? No problem, you can open a transactional shell at any time, make your changes and let the system apply them automatically!

comment 3y ago · link · parent

Hackers and spammers too. Famously bad security (which somehow got PHP got blamed for, rather than specific software) principles.

comment 3y ago · link · parent

Would be nice to have a name to the "philosophy" indeed, but as someone who never heard of Harbor Freight before, maybe something internationally known would be better? :)

comment 3y ago · link · parent

I think the argument is around accessibility and ability to copy it. If it's available from your home, everyone could easily access it and also easily copy it.

If you have to go to a dedicated computer, at a physical location (California, US no less), basically only a small percentage of people actually have access to it, and are more or less unable to copy things at a grand scale.

comment 3y ago · link · parent

One thing IA has going for them at least is that even though some material they have cannot be online and viewable by anyone, you can physically access their location and get access to any and all of the content, DMCA strikes be damned or not. Thanks to their library status if I'm not mistaken.

comment 3y ago · link · parent

> Wall-E wasn't supposed to be a utopia, and being trapped for 15 hours per day in Zuckerbergs AI Metaverse is not the kind of 'content' we ought to be looking forward to, even if it costs zero dollars.

It doesn't really matter what you, me or the public thinks. If you set up a system that constantly forces people to optimize for lowest cost and highest profits without concern for other things, you eventually will end up with a race to the bottom, where content does cost zero monies.

And that's the system most of us live in today. There is seemingly nothing else to do about than to join the rat race, otherwise you get left behind and on the streets. You can try to fight it, but eventually capitalism will overrun you, either by force and sneakily. It eats everything around you.

Capitalism and globalism was supposed to be the system that forced everyone to be friends via trade, because why would you hurt your trading partner? Instead we got what we have today, which might be less violent, but maybe the same amount of cruel.

comment 3y ago · link · parent

What tool does Google have, that Microsoft Designer is trying to compete against? Closest I can imagine is the Google Photos editor, but it's not the same scope/audience at all...

comment 3y ago · link · parent

I did get the email too, but didn't have the issue.

From another comment of mine:

> It is not a Figma alternative. Figma is a tool for designers to design. Microsoft Designer seems to be a tool for non-designers to attempt design, with the help of AI. Very different audiences, and trying out the tool, everything about the UI/UX makes that very clear, Microsoft Designer is more like a wizard for creating a initial design, while Figma is a proper tool.

https://news.ycombinator.com/item?id=35067676

comment 3y ago · link · parent

It is not a Figma alternative. Figma is a tool for designers to design. Microsoft Designer seems to be a tool for non-designers to attempt design, with the help of AI. Very different audiences, and trying out the tool, everything about the UI/UX makes that very clear, Microsoft Designer is more like a wizard for creating a initial design, while Figma is a proper tool.

comment 3y ago · link · parent

As someone who does photography and videography, "Gear doesn't matter" is less about that the gear doesn't matter at all, but more that beginners tend to focus more on getting good gear rather than sharpening their skills, before they have the skill to use better/more advanced gear.

A bit like buying really good monitors for audio production before you really trained your hearing so you won't hear any difference between standard and really high quality monitors.

The "return on investment" for sharpening the basic skills in the beginning when learning a new subject is much more important than getting the latest and greatest gear, as that won't give you as much knowledge and experience since you won't really know why it is the greatest gear, and how to fully leverage it.

That's why people say "Gear doesn't matter", because in the beginning, it mostly doesn't. Just like "Premature optimizations is the root of all evil" doesn't mean absolutely all upfront optimizations are indeed evil. If you're sufficiently experienced, you'd recognize when it's premature vs not, when it's worth upfront investment vs not. But for a beginner, it's easier to remember a simple dogma, and let them figure out that it does matter a little bit, once you get better at your subject.

comment 3y ago · link · parent

Yes, conda and miniconda is FOSS while Anaconda is not. I don't think I said something that is not correct.

comment 3y ago · link · parent

Nope, I'm not trying to justify anything and trying to reduce the speculation rather than add to it. I said that we don't know anything about the situation besides what happened publicly, which I also said I didn't like. You're putting a lot of words towards me that are not justifiable as I'm agreeing with most of what you're saying.

The only thing I was saying is that we don't know if he was a productive employee of Twitter or not. Besides that, absolutely horrible how he was treated, productive employee or not. But that doesn't remove the fact that we don't know what happen behind the scenes.

comment 3y ago · link · parent

No, he won't. Things like this are "hot news this week" while the other things are accomplishments in life. He'll surely be remembered for the much more important things he has done and the much more important things he'll do in the future.
1
737475
307