balsoft

joined 5 months ago
[–] [email protected] 4 points 2 days ago* (last edited 2 days ago) (1 children)

If you’re determined to join a group like this, the Nix/NixOS Matrix is a better option since it’s already 4k+ strong.

It's also official and its logs are published here: https://logs.nixos.dev/ so the discussions happening there should (at least in theory) show up in search results instead of disappearing forever.

[–] [email protected] 1 points 2 days ago

I think there ought to be a way to do it, it's not going to be pretty (because you'll likely have to manually update some system file somewhere).

[–] [email protected] 34 points 2 weeks ago* (last edited 2 weeks ago) (8 children)

So, here's my attempt

The first portion (^.?$) matches all lines of 0 or 1 characters.

The second portion (^(..+?)\1+$) is more complicated:

  1. (..+?) is a capture group that matches the first character in any line, followed by a smallest possible non-zero number of characters such that (2) still matches (note that the minimum length of this match is 2)
  2. \1+ matches as many as possible (and more than 0) repeats of the (1) group

I think what this does is match any line consisting of a single character with the length

  • divisible by some number (due to the more than 0 condition in (2), so that there have to be repeats in the string), that's not
    • 1 (due to the note in (1), so that the repeating portion has to be at least 2 characters long), or
    • the length itself (due to the more than 0 condition in the (2), so that there is at least one repetition)

Therefore, combined with the first portion, it matches all lines of the same character whose lengths are composite (non-prime) numbers? (it will also match any line of length 1, and all lines consisting of the same string repeated more than one time)

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

90s-late 00s cars are actually on repairability in my experience, because they already have computers which help you diagnose failures easily with a $20 OBD2 scanner (this saved my ass a couple of times, when I could almost immediately see the error whenever my car died, fiddle or re-plug the wiring of the failed component and keep going), and they don't yet have all the over-complicated, designed-to-fail, hard-to-reach crap that a lot of new cars have.

[–] [email protected] 45 points 2 weeks ago (7 children)

I haven't used it in a while, but I think it just sends you an SMS with a code that you can enter manually, so yeah it works on devices without a SIM

[–] [email protected] 2 points 2 weeks ago (1 children)

I mean, yeah, it's nix profile install nixpkgs#vscode and it should kinda work. Although to run it, you might have to also do nix profile install github:nix-community/nixgl --impure and then run vscode as nixGL code because of video driver awfulness.

[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I think you should still pass --cmd Hyprland to it, no?

[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

I've been using nheko as my Matrix client and main Telegram client via mautrix-telegram for the past 4 years. I fixed a couple of annoying bugs myself, and it has been working great for me since. Shame your experience isn't the same, maybe you can report the bugs to the devs (who are amazingly responsive).

[–] [email protected] 3 points 3 weeks ago

There are android phones that are even thicker, with amazing battery life and fall protection. Check out DOOGEE for example.

[–] [email protected] 1 points 3 weeks ago (2 children)

There are a couple of non-electron matrix clients I enjoy: gomuks (TUI, therefore really light-weight), and nheko (Qt-based native app that's about as snappy as telegram, but with less animations and crap).

[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

Yep, that has actually been a dream of mine for a while, I went as far as downloading the source code and setting up the build environment, but then got a bit overwhelmed by the task. It would be amazing to have this.

[–] [email protected] 2 points 3 weeks ago

I think it depends a lot on where you are. Where I am, the government (kinda unofficially) provides excellent quality (<10 cm/px in some cities, and <50cm/px for the entire country) orthographically adjusted aerial imaging, that's a lot better than any commercial solution.

view more: next ›