Better HN
topnewbestaskshowjobs
Log inSign up

dandersch

148 karma · joined Mar 20, 2025 (1y ago) · 59 submissions

Submissions

comment 1y ago · link · parent

It's a shame that trackpoints never caught on outside of the thinkpad crowd. I rarely see them get used for custom keyboards, even though they are IMO the perfect fit for a use case like this.

comment 1y ago · link · parent

>It's a condition in which one type of stimulation evokes the sensation of another, as when the hearing of a sound produces the visualization of a color.

So what happens when synesthetes watch a movie that is showing blue colors, but the score that they are hearing at that time is making them see red. Do they perceive that as a dissonance?

comment 1y ago · link · parent

Before knowing about binfmt, I always wondered how wine is able is able to execute .exe files directly, i.e. ./prog.exe instead of wine ./prog.exe. Turns out the wine package (at least on Arch) comes with a handler for them and the Arch wiki mentions that you may want to remove it for security reasons.

comment 1y ago · link · parent

  There was also residual suspicion of European industry among US airliners. [...]
  Against this backdrop, Airbus did everything it could to deemphasize its European heritage as it toured the US.
The European tech industry on the other hand managed to curb that suspicion by becoming a complete non-threat.

comment 1y ago · link · parent

Related: The Preprocessor Iceberg https://jadlevesque.github.io/PPMP-Iceberg/

There you can find a recursive macro expansion implementation (as a gcc hack) that fits on a slide:

  #2""3
  
  #define PRAGMA(...) _Pragma(#__VA_ARGS__)
  #define REVIVE(m) PRAGMA(push_macro(#m))PRAGMA(pop_macro(#m))
  #define DEC(n,...) (__VA_ARGS__)
  #define FX(f,x) REVIVE(FX) f x
  #define HOW_MANY_ARGS(...) REVIVE(HOW_MANY_ARGS) \
      __VA_OPT__(+1 FX(HOW_MANY_ARGS, DEC(__VA_ARGS__)))
  
  int main () {
      printf("%i", HOW_MANY_ARGS(1,2,3,4,5)); // 5
  }
It sounds like the one in the article works for more compilers, but there doesn't seem to be a copy-pasteable example anywhere to check for myself. Also, the "Our GitHub Org" link on the site just links to github.com.

comment 1y ago · link · parent

> I have to use the ancient OpenGL fixed function pipeline

Why do you have to and do you also use parts of the old immediate-mode API?

comment 1y ago · link · parent

I agree. Game devs are better off targeting proton as a platform, but Linux purists complain if there is no native port and you don't get the brownie points for putting in the effort.

comment 1y ago · link · parent

Bad QA for actual Linux games was the main reason I stopped buying on gog. Even when a game had a (gog exclusive) Linux port using their weird "game inside a shell script" approach[0], often times I would run into more problems than just using wine/proton on the Windows build.

[0] apparently using this https://icculus.org/mojosetup/

comment 1y ago · link · parent

Oh, you're right. I guess I default to the less customer-friendly interpretation when it comes to subscriptions.

comment 1y ago · link · parent

> On both the checkboxes/cells examples there's adaptive view rendering so you can zoom out a fair bit.

how do you zoom out?

Also, even with your examples, wouldn't data-replace-url be a nice-to-have to auto update the url with current coordinates, e.g. ?x=123&y=456

comment 1y ago · link · parent

What other interpretation is there?

comment 1y ago · link · parent

> I try to bring awareness of the AI generated content so others can avoid wasting their time on it as well.

Thanks. My own AI detection skills aren't always up to par, so I appreciate people calling it out.

comment 1y ago · link · parent

Can it provide vim keybindings and modes inside a textbox?

comment 1y ago · link · parent

I've run into the restrictions regarding addons.mozilla.org myself using Vimium C, but it didn't happen often enough for me to consider switching my browser over it. I think I'd rather have something that makes my entire Linux desktop environment keyboard centric at that point, like homerow seems to do for macOS.

comment 1y ago · link · parent

>I like Vim

doom emacs

>share calendar/todo

There is org-caldav that you can point to an org file and it syncs with a caldav server. This way you can have two-way sync from e.g. a phone's calendar to your org file.

comment 1y ago · link · parent

He is implying that he only downloads music from usenet that he purchased in some form somewhere else. Whether that is any less illegal, I don't know.

comment 1y ago · link · parent

It's always crazy to see languages like C being able to beat high-level languages at some ergonomics (which is usually their #1 point of pride) just because C has bitfields and they often don't.

comment 1y ago · link · parent

It can work on a vm, but for Valorant specifically it seems that detecting a vm triggers the anticheat and gets you banned. I believe this is the case for most anticheats except VAC. You can try to evade the detection, but then you just enter the same cat & mouse game as a cheater. Whether allowing/disallowing VMs actually cuts down on cheaters? I don't know.

comment 1y ago · link · parent

Having followed this initiative quite extensively from the beginning, the most baffling thing has been the underwhelming support from developers themselves, both from studios and individual devs.

You would think the very idea of years of your work being rendered unplayable in an instant would be enough incentive to signal boost any effort against this industry practice.

Instead, developer discourse has revolved around just how hard it would be to do what this is petition is asking for. You are an engineer for crying out loud. If you solved a problem but a new constraint arrives in the form of a law, you figure out how to solve the problem under the new constraint. Just because something is hard, doesn't mean it's not worth doing.

It's almost like flexing your skills and signalling your elite knowledge is more important to people than simply defending what's right.

comment 1y ago · link · parent

It's the publishers forcing their hand, to be fair. I don't think any developer who worked for years on a game is thrilled about it not being playable in the future.

comment 1y ago · link · parent

The current state is at the top. It says "Waiting for 3 days for a debate date".

comment 1y ago · link · parent

The original petition died because Parliament dissolved. This is the new one that the UK Parliament has to consider for a debate as of right now.

comment 1y ago · link · parent

>rsshub

This has been one of the key programs for me to move 90% of my "timeline" into an rss reader.

If you self-host it, you can also pass it authentication tokens to RSSify things like:

- your twitter timeline

- github notifications, issues, commits

- discord messages

- youtube subscriptions

- spotify/twitch/steam/etc.

comment 1y ago · link · parent

>And I'd rather keep the library warning free instead of telling the users to switch warnings off.

Why not push/pop warnings to ignore in the library?

  _Pragma("GCC diagnostic push")
  _Pragma("GCC diagnostic ignored \"-Wshadow\"")
  int a = 1;
  {
      int a = 2;
  }
  _Pragma("GCC diagnostic pop")

comment 1y ago · link · parent

Thanks, I'm checking it out right now and it looks really promising. It supports scrobbling (which apparently just means syncing your listening data) from various music players like navidrome & jellyfin.

comment 1y ago · link · parent

Can you elaborate? I'm not aware of musicbrainz having any recommendations/discovery features.

comment 1y ago · link · parent

>The 1880 queen and her daughter were drowning but no one could save them because looking at or touching the queen was forbidden by commoners. So they drowned while screaming for help.

Seems to be a myth: "There is an often repeated myth that the many witnesses to the accident did not dare to touch the queen, a capital offense—not even to save her life. However, this was not the case; the King's diary records that boatmen dived into the water, pulled the queen and her daughter from the entangling curtains, and carried them to another boat, where attendants worked in vain to resuscitate them."

Source: https://en.wikipedia.org/wiki/Sunanda_Kumariratana

comment 1y ago · link · parent

packages on f-droid list all required permissions explicitly, and the mentioned permission seems to be listed as "query all packages: Allows an app to see all installed packages.". It doesn't mark the app as having "anti-features", but you can at least make a more informed decision this way.

comment 1y ago · link · parent

>It stretches the definition of "two-factor"

I always considered the time aspect to be the more important "factor" of TOTP in practice. E.g., if somebody managed to peek over your shoulder or film you while typing in your password. With TOTP, they have under a minute to capitalize on that information. I still have that base covered with my password manager handling the secret key, so I never saw the appeal of tying TOTP to a phone.

12