Better HN
topnewbestaskshowjobs
Log inSign up

MatejKafka

106 karma · joined Jan 7, 2023 (3y ago) · 59 submissions

Submissions

comment 1w ago · link · parent

And where exactly is that mythical software with tons of very good features? All I'm seeing is slopped garbage with inconsistently designed buggy features that break when you look at them wrong and inferior clones of proprietary software.

comment 1w ago · link · parent

You don't need a dozen crawlers, just a dozen good search engines that have access to an existing index.

comment 1w ago · link · parent

There's Kagi, and it proves a search engine can get rid of slop and ads perfectly well, if it's in their interest.

comment 3w ago · link · parent

Use Kagi, it mostly excludes spam.

comment 1mo ago · link · parent

If your goal is sprinting 100m, using the dog seems like a better idea then, no matter how good the researchers are in other areas.

comment 2mo ago · link · parent

It does provide a pretty good COM interface.

comment 4mo ago · link · parent

It's not really important whether the text is visible, you can just put the instructions in the middle of a long document, or use a low contrast color, or a small font size, or any other of the myriad of ways to make text hard to read.

comment 4mo ago · link · parent

> By the way, if you don't want a culture war, you gotta stop warring.

I find it hard to understand how could steveklabnik's comment be seen as warring.

comment 4mo ago · link · parent

I haven't seen data that would confirm that the Nim ARC/ORC approach is faster than manual memory management (C/Rust/Zig/...) on programs with non-trivial lifetimes (for trivial lifetimes, Nim elides RC). I'd also be somewhat surprised if it was consistently faster than GC – most languages with automatic memory management use GC over RC because RC adds significant overhead, especially in multithreaded programs.

comment 4mo ago · link · parent

From HN guidelines:

> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

comment 4mo ago · link · parent

I agree that culture makes a difference, but the largest aspect of it is that the average Linux user is fairly technically proficient and would be fairly unlikely to install malware even on Windows.

As for software installation, that is true for software packaged by your distro (for Ubuntu/Debian/Fedora and others, that only includes open-source software by default), and similarly, a lot of Windows software is now available from MS Store. But even on Linux, you'll need to download software manually (e.g., Chrome is not available in default Ubuntu repos, same for Discord, Slack, Teams, VS Code, Dropbox, Spotify and other common software). Even worse, less known dev tools are quite often installed with `curl ... | sh` or equivalent, which is a strictly worse alternative to installers on Windows from a security perspective.

Then, there's the question of phishing, infected torrents, fake movie pirating sites,... Currently, most malware from these sources will target Windows (various .mp4.exe files, Excel macros,...). If Windows users migrated to Linux, malware would adapt and start targeting Linux.

Desktop Linux is currently protected by being a low value target – it has low market share, and most of its users are power users, which makes them harder to trick. The opposite is true for server and embedded Linux, and it's a frequent malware target as a result.

comment 4mo ago · link · parent

To answer in a more constructive way:

No mainstream desktop OS tries very hard to sandbox drivers. Some drivers on both Windows and Linux (not very familiar with Mac) can be implemented as userspace drivers, as long as the performance hit is acceptable, but for many devices (e.g., graphics drivers), you need a kernel driver to get reasonable performance.

Therefore, if your OS supports loading 3rd party binary drivers (Windows do, Linux technically does as well, but tries to make them hard to use in practice), it cannot really refuse to load kernel drivers and only allow userspace ones without breaking a lot of machines.

Even if you have a userspace driver, the device may still get DMA access to RAM. IOMMU is a thing, but due to backwards compatibility, the driver chooses whether to enable IOMMU protection for the specific device on Windows.

If you're willing to write your own microkernel and bootstrap its driver ecosystem from scratch, your claims would be reasonable. With current desktop OS architecture, not really.

As for the accompanying software, there is a good explanation in another comment of all the valid use cases it has (printer dialogs, audio interface configuration,...). LG abusing that to show ads is primarily LG's problem.

comment 4mo ago · link · parent

I expect that process to be mostly automated, I wouldn't expect the MS folks at the testing lab to do much (if any) manual testing, especially for a new version of a previously approved driver.

I'm not surprised that the driver got approved, especially if the previous versions already had some user UI and this update "just" added the ads. What I would hope now is for MS to either pull the updated driver or ask LG to roll the change back themselves, possibly under the thread of pulling their drivers altogether (iirc they done that with other companies in the past).

comment 4mo ago · link · parent

Yes, and it's still fairly easy.

comment 4mo ago · link · parent

Agents work well on Windows for sysadmin stuff - PowerShell gives them an easy way to interact with Registry, event log, WMI and other facilities in a structured way.

comment 4mo ago · link · parent

Use Pro, Home is needlessly limiting for a power user.

comment 4mo ago · link · parent

Read sibling comments to get answers to all your (non)questions.

comment 4mo ago · link · parent

Except there's plenty of proprietary software for linux, you just won't find it in default repos and have to install it manually.

comment 4mo ago · link · parent

Agree with all of those points and there are some partial solutions (IOMMU, userspace drivers, virtualization,...), but we're still quite far from being able to safely connect untrusted hardware and load its driver without effectively giving it privileged access.

comment 4mo ago · link · parent

Yes, but unless all 3rd party drivers can run in userspace (which is not really feasible), Microsoft needs to give vendors the option to install a kernel driver, at which point a vendor can always decide to ship a kernel driver and bypass any restrictions.

Imo, the only thing Microsoft can meaningfully do here from their side is threaten LG with pulling all their drivers if they keep doing this.

comment 4mo ago · link · parent

You know why desktop Linux doesn't have much malware? Because ~no one uses it. That's it. Once you get users, you get malware.

The rest of your comment is just as ignorant.

comment 4mo ago · link · parent

> Autorun of malware when you plugged in a USB drive was also a Windows issue, I'd classify this as the same security problem.

Not really. AutoRun ran whatever was on the USB drive, with no oversight. This installs a driver from a company that's supposed to be reputable enough to get their driver signed by MS and pass validation. LG breached that trust here.

comment 4mo ago · link · parent

How it it a Windows issue that driver developers pack garbage with their drivers? If Linux supported loading 3rd party drivers (it mostly doesn't, and if Windows did that, the whole internet would be up in arms about Microsoft locking down their OS), it would have exactly the same issues.

This is basically the same as downloading a program, running it and when it downloads garbage on your computer, complaining that Windows are dumb for allowing a program to download garbage.

comment 4mo ago · link · parent

You can "spoof" any system where you can load older drivers into giving you admin/root, you just need to find a vulnerable driver. Nothing Windows-specific in that.

comment 4mo ago · link · parent

How exactly do you propose to sandbox drivers running in kernel space? Do you even know how drivers work? (I'm guessing no, based on this comment)

comment 5mo ago · link · parent

How do you expect Mozilla to make enough money from just Firefox to survive if Google ever decides to stop paying them for being the default search engine?

comment 5mo ago · link · parent

It is absolutely great at binary analysis, as long as you give it a decompiler.

comment 6mo ago · link · parent

No, don't. There are many reasons why a user may want to move the temp dir somewhere.

comment 7mo ago · link · parent

It could very well be an actual reachable buffer overflow, but with KASLR, canaries, CET and other security measures, it's hard to exploit it in a way that doesn't immediately crash the system.

comment 9mo ago · link · parent

Personally, I just move SSH to a random high port on each of my public servers. Works like magic, no more log noise.
12