Better HN
topnewbestaskshowjobs
Log inSign up

ximm

604 karma · joined Jan 25, 2018 (8y ago) · 205 submissions

Submissions

comment 2w ago · link · parent

And as far as I can tell, this is the exact same security model that is now used by OpenCode and similar

comment 2w ago · link · parent

Does that mean that it won't be packaged for Debian until zig is also stable? (see https://gracefulliberty.com/articles/four-months-of-zig/#bet...)

comment 2w ago · link · parent

> Every bug any libghostty-vt embedder reports makes everyone else in the ecosystem better. Every feature we ship in libghostty-vt becomes available to everyone quickly and safely. Terminals can move faster with less fragmentation.

Can anyone give a comparison to libvte? There are many terminals that are just thin wrapper around that (gnome-terminal, xfce4-terminal, mate-terminal, lxterminal, sakura, …). It is tied to GTK, so it has a much narrower scope. But still it feels related in spirit.

comment 3w ago · link · parent

I expected a discussion of NixOS specific issues like different versions of libraries that are loaded at the same time. Instead, this article disucces kernel tweaks and disabling system services, which is not specific to NixOS. So the title is a bit misleading.

comment 4w ago · link · parent

Absolutely, this is accessibility 101.

The one counter argument to this that I would accept is that users don't know about font settings. But the proper solution if for browsers to make it easier those settings rather than every single website having to add font controls.

comment 1mo ago · link · parent

Honestly, I really never had specificity issues (apart from some third party CSS adding styling with high specificity)

comment 1mo ago · link · parent

How is that? I also like CSS, but when I looked at the @layers spec I didn't see any immediate use case.

comment 1mo ago · link · parent

But it is really up to the author to decide what "canonical" is. I serve my blog in markdown by default and only switch to html when it is explicitly requested.

comment 1mo ago · link · parent

Not sure if this is the case here, but it might be that you pay in data if you use the app.

comment 2mo ago · link · parent

I have bad news for you: The flatpak developers plan to stop using bubblewrap. They say it is no longer necessary because most distros now support unprivileged user namespaces. https://youtu.be/NsVhkz2Xl0E?si=-ypxvTlRukCZLql9

comment 2mo ago · link · parent

Flatpak itself might not survive, but the underlying protocols (portals, security contexts in wayland, pipewire, and d-bus, systemd-appd, …) are relevant for sandboxing on linux as a whole. While I do not personally with every design decision, I still think this is useful and valuable work.

comment 2mo ago · link · parent

There is also the option of structural funding (Strukturförderung in german) where important organizations receive multi-year contracts instead of short term project funding.

comment 5mo ago · link · parent

> APCA models how human eyes actually perceive contrast, factoring in font weight, spatial frequency, and ambient light — a genuine improvement over the WCAG 2.x formula. […] The research behind it is peer-reviewed and substantive

That's what the author claims, but I have not seen any evidence that it is actually true. In a ticket where they were asked to provide peer review, they instead linked to a bunch of blog posts that in my opinion do not qualify as peer review: https://github.com/w3c/wcag3/issues/29

Also, it is not as if the WCAG 2 formula would not model how humans actually perceive contrast.

comment 6mo ago · link · parent

Corrected version:

A wealth tax of 1% is equivalent to an income tax of 20% on capital gains.

comment 6mo ago · link · parent

Are there any recommendations for testing accessibility for TUI applications? The article mentions speakup, but as far as I understand, you need a hardware synthesizer to use that. Is it also possible to use orca?

comment 6mo ago · link · parent

I am not sure it is helpful to shoehorn terminals into being a second web. The terminal's strength is its simplicity.

For example, I really dislike mouse support in TUIs. 100% of the times I used the mouse on a TUI, I wanted to copy a piece of text. If the TUI hijacks the mouse and does something different with it (e.g. vim switching into visual mode) that is just annoying.

Of course a11y is important. But it barely works on the web and we won't get perfect semantics on the terminal without a lot of work. I say the better option is to strip down the experience to the parts that work well.

comment 6mo ago · link · parent

My experience as a developer (with a preference for simplicity):

- CLI by default

- if I need a GUI, but no access to the local system: web

- if I need a (restricted) GUI with access to the local system: TUI

- else: either start a local web server, or, if nothing else works, go for a GUI toolkit

comment 6mo ago · link · parent

My experience is that often when I think "I wish my email / browser / calendar / … did X" it turns out be a limitation of the underlying protocol. So even if you build all software yourself, you still have to make compromises when you interact with the outside world.

comment 6mo ago · link · parent

Is the text on this page really #bbbdc3 on #ffffff? How is anyone supposed to be able to read that?

comment 6mo ago · link · parent

Looks like a helpful honeypot! Any tool that will public announce support for this spec is a tool I know to avoid because it collects telemetry without explicit opt-in in the first place.

comment 7mo ago · link · parent

I was working on something similar a while back (https://github.com/xi/spreadsheet) but ended up not using it. I just didn't end up being the first tool that came to mind when I was reaching for a spreadsheet. Not sure why.

I will definitely try out your tool and check if it works better to me.

Two random thoughts:

- In excel I often use the dragging feature, i.e. use a formula like $A2 + B$1 and then drag it in both directions. Does your tool have something similar?

- Another nice feature are visualizations. In my tool I added a bar() function that renders a value between 0 and 1 as a bar in the cell. Not sure how flexible that is, but I did have some fun with it.

comment 7mo ago · link · parent

Firefox supports webRequestBlocking with MV3, so even if they fully remove support for MV2, ad blocking is still available.

comment 7mo ago · link · parent

I am working on https://github.com/xi/xiio, a minimal async runtime for python. It is mostly feature complete with a fraction of the code of asyncio or trio. It is great fun to get into low level stuff and hopefully it helps me to better understand the finer details of async programming.

comment 7mo ago · link · parent

I am still confused what exactly this tool is doing. I clicked on "examples" in the hope of finding an example of a generated policy. But it only gives examples of the configuration, not the output.

comment 8mo ago · link · parent

I don't get the frustration with wayland (the protocol) in the comments. This project shows that having a separate window manager was always possible. First we got wlroots as a library that did most of the heavy lifting, and now we got river as an even higher level abstraction.

Sure I agree that wayland (the project) could have provided these abstractions much earlier. But anyone else could have done it, too. We get all of this for free, so we shouldn't complain if other people don't do the work that we could do just as well.

comment 8mo ago · link · parent

I also find building apps for the web is much easier than any of the native frameworks. You can start by writing plain text in a file and then progressively add HTML, CSS, and JS. The app described in the article is trivial to implement in the web.

A lot of that comes down to the huge community and the shear amount of documentation that exists. OTOH, nowadays you will quickly be distracted by frameworks and build systems.

IMHO the biggest hurdle is hosting, but github pages makes even that somewhat easy.

comment 10mo ago · link · parent

The README talks a lot about crypto. But the interesting bit is how you can access the passwords. Is there an API? If yes, how does it protect your passwords from malicious software? If not -- are you sure? (Have you checked for example accessibility APIs by the platform?)

comment 10mo ago · link · parent

I absolutely hate this argument. Everything in CSS is public (as in: can interface with HTML), not global. Think of writing CSS as designing an API.

comment 10mo ago · link · parent

It is a Maneki-neko (beckoning cat / Winkekatze). The video team started putting them on podiums so they could see when a stream was frozen. So it became kind of a mascot.

comment 11mo ago · link · parent

This is probably a Linux issue. Mac OS and Windows implement the FIDO2 Platform API, which allows them to act as authenticators themselves. Linux does not. See https://github.com/linux-credentials.
1234567