Better HN
topnewbestaskshowjobs
Log inSign up

osmsucks

391 karma · joined Sep 30, 2022 (4y ago) · 98 submissions

Submissions

comment 3w ago · link · parent

My scant research on the touchpad situation tells me that this laptop (TUXEDO InfinityBook 14 Pro) is likely a repackaged UNIWILL IDL (https://www.uniwill.com.tw/?page_id=16918). On Linux, the touchpad is probably handled by the i2c_hid module and I think OpenBSD has sys/dev/i2c/imt.c that might handle it (NetBSD has sys/dev/i2c/ims.c, but no sys/dev/i2c/imt.c).

comment 3w ago · link · parent

> NetBSD's main claim to fame is that it runs on practically everything

That means available number of architectures. NetBSD still support some pretty esoteric stuff, but though I haven't actually counted I would expect Linux to run on a comparable number of architectures.

Now, the kernel will probably boot successfully on a given machine, but whether hardware (i.e. driver) support will be decent enough for everyday use is a completely different matter! For example, NetBSD "works" on this laptop of mine... except for Ethernet card, Wi-Fi card, touchpad, ACPI suspension, external monitors via the docking station, ... :)

I'm trying (for fun) to bridge some of these gaps, but you can see how this isn't appealing to the average user.

comment 3mo ago · link · parent

> For instance, what if Google never sends the source code? What if they claim that no request made it in?

That would be a violation of the license terms. All Google has done so far is, apparently, to make it hella annoying to access the source code (but not impossible).

comment 3mo ago · link · parent

Yeah, I agree. While this is a terrible move IMHO, from my superficial reading of the GPLv2 it doesn't really constitute a violation: the license imposes that the source be distributed to anyone who asks, potentially even charge a fee to cover its distribution costs, but it doesn't require that development happen in the open.

comment 3mo ago · link · parent

Opened this page in Firefox and my CPU fan started spinning like crazy. All this for a background that just renders the whole page unreadable.

Stop. Seek help.

comment 4mo ago · link · parent

I'm in this quote and I don't like it.

comment 6mo ago · link · parent

Since it's a personal project, Linux compatibility is the only thing I care about right now. I'm testing it under WINE as well, just because I can, but I don't have access to Mac OS so I'm skipping that problem entirely for now

comment 6mo ago · link · parent

I feel like one of the takeaways here is that Rust protects your code as long as what your code is doing stays predictably in-process. Touching the filesystem is always ripe with runtime failures that your programming language just can't protect you from. (Or maybe it also suggests the `std::fs` API needs to be reworked to make some of these occurrences, if not impossible, at least harder.)

On a separate note: I have a private "coretools" reimplementation in Zig (not aiming to replace anything, just for fun), and I'm striving to keep it 100% Zig with no libc calls anywhere. Which may or may not turn out to be possible, we'll see. However, cross-checking uutils I noticed it does have a bunch of unsafe blocks that call into libc, e.g. https://github.com/uutils/coreutils/blob/77302dbc87bcc7caf87.... Thankfully they're pretty minimal, but every such block can reduce the safety provided by a Rust rewrite.

comment 7mo ago · link · parent

I noticed the performance issues too. I started using Jan recently and tried running the same model via llama.cpp vs local ollama, and the llama.cpp one was noticeably faster.

comment 7mo ago · link · parent

Thank you. I also found it exhausting to read so many short sentences that just assert little pieces of information without saying anything of substance.

comment 7mo ago · link · parent

In my university, probably because the CS department at the time was an underfunded offshoot of the faculty of Mathematics, we basically didn't have access to computers (and I didn't have a laptop of my own).

We did almost everything on paper, even exams. I admit writing MIPS assembly on paper seemed strange to me at the time, but the effort you put in to put things black on white somehow made the knowledge stick into my mind more effectively. Some of that knowledge will stay with me forever, and I'm not sure the same could be said if I had taken "shortcuts".

comment 7mo ago · link · parent

To us, all the profit. To you, all the risk.

comment 7mo ago · link · parent

So you're saying that the slop thus produced is not the responsibility of the human authoring the PR? I would assume it is, regardless of how it was produced.

comment 7mo ago · link · parent

This article has a weird tone. It directly criticizes the results of this AI-driven coding effort (which the author admits is of bad quality), while at the same time it tries to reassure the reader that they're not here to criticize the author of the PR.

Only of these can be true at the same time.

comment 8mo ago · link · parent

Helix is my default, as it's a more mature/stable editor. I fire up Flow Control from time to time to follow how it's developing and for more casual editing. They both do an excellent job overall, but my muscle memory binds me to Helix for now.

(I know Flow Control provides Helix keybindings, but I haven't tried that yet and I generally like to retain the default behavior of an editor so that my user experience is more "portable" across machines.)

comment 8mo ago · link · parent

I, too, mourn the death of Howl. It was a quirky yet surprisingly "comfortable" editor.

But I am now at home with Helix and Flow Control.

comment 9mo ago · link · parent

Okay, you go get treatment at that facility if it's working as well as you insist.

Besides, whether the facility is (partially!) operational today is besides the point. Your original post insisted that "Israel has destroyed no hospitals", while it clearly has. The picture I linked is from 2024. The fact that Al-Shifa was brought back to a partially operating state in late 2025, after months of partial ceasefire, doesn't disprove that it was destroyed in 2024. Sources like https://en.yenisafak.com/world/al-shifa-hospital-begins-reco... show that the situation is far from positive.

And, again, this is just one example of the many.

comment 9mo ago · link · parent

...What an odd and dishonest framing of the problem. Do you define "hospital not destroyed" as "some walls are still standing"? Because an easy counterpoint to your claim is the Al-Shifa Hospital, which you will certainly agree cannot be operational in this state and thus can be defined as "destroyed":

https://upload.wikimedia.org/wikipedia/commons/5/5a/%D9%85%D...

And this is one example out of the many: https://en.wikipedia.org/wiki/Attacks_on_health_facilities_d...

comment 9mo ago · link · parent

  size_t size = nullptr;
wat

comment 9mo ago · link · parent

Porkin' across America! https://www.youtube.com/playlist?list=PL4NL9i-Fu15jdlr2KQf_l...

comment 9mo ago · link · parent

The quality of the benchmark code is... not great. This seems like Zig written by someone who doesn't know Zig or asked Claude to write it for them. Hell, actually Claude might do a better job here.

In short, I wouldn't trust these results for anything concrete. If you're evaluating which language is a better fit for your problem, craft your own benchmark tailored for that problem instead.

comment 10mo ago · link · parent

Great timing: I just received a Copilot spam email from GitHub. I don't remember opting in to such marketing communications, instead I generally opt-out from such communications as soon as I sign up to a service...

comment 10mo ago · link · parent

I came here to suggest the same! It's incredibly handy and I use it all the time at work: there's a process that runs for a very long time and I can't be sure ahead of time if the output it generates is going to be useful or not, but if it's useful I want to capture it. I usually just pipe it into `less` and then examine the contents once it's done running, and if needed I will use `s` to save it to a file.

(I suppose I could `tee`, but then I would always dump to a file even if it ends up being useless output.)

comment 1y ago · link · parent

There is a C backend, so you can also compile Zig into C if you want.

comment 1y ago · link · parent

There are way too many TLDs for this to be even practical: https://data.iana.org/TLD/tlds-alpha-by-domain.txt

I agree that especially larger players should be proactive and register all similar-sounding TLDs to mitigate such phishing attacks, but they can't be outright prevented this way.

comment 1y ago · link · parent

Yes, practically all of my projects are private and visible only to me. Servers IIRC are located in the Netherlands. It's free to use with limitations, and financed by donations from supporters.

More:

  - Annual financial reports: https://disroot.org/annual_reports
  - Someone's review: https://proprivacy.com/email/review/disroot

comment 1y ago · link · parent

For personal projects, I'm hosting them on <https://git.disroot.org/>. It's backed by Forgejo, and for my simple needs it's plenty.

comment 1y ago · link · parent

In defense of Foot, I installed the corresponding Nerd Font and it worked with no extra configuration at all. Well done!

comment 1y ago · link · parent

Yep, and that's all configuration I'd rather not have to spend time on. I was giving the Ghostty example to show how one of them Just Works™. (But the project goals might just be different, I'm not here to discredit Foot which is a really good terminal emulator.)

comment 1y ago · link · parent

Precisely this. With OSC-52 you don't even need copy/paste keybindings under tmux.
1234