• 0 Posts
  • 10 Comments
Joined 5 months ago
cake
Cake day: June 10th, 2024

help-circle

  • Back when I was in Russia I’d say it’d be Suzdal, famous for the density of churches and other traditional architecture; or Tarusa, known for that one song that everyone seems to know a couple of lines from, Gorodok (here is a random rendition I found just now), both with just under 10k pop according to the wiki. And, as a bit of a stretch since it’s not a town and most people would call it Solovki, Solovetsky settlement, famous for being a prison, with about 800 people. Also Oymyakon with under 600 people, the coldest settlement on earth if you’re into that sort of thing.

    Now in Georgia, I’d say Borjomi with just over 10k pop famous for its water, and Bakuriani (just over 1800 people) for its water and the ski resort. Again a bit of a stretch, but I guess everyone in Georgia at least also knows the ski resort of Gudauri at just under 100 people, as well as mountain resorts of Gomismta and Bakhmaro, both with no permanent residents due to the rough winters. Geography nerds will also be familiar with Ushguli, (arguably) the highest inhabited settlement in Europe, population 220.


  • 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)







  • “NixOS project” did not call anyone nazis, there was no “purge”, this article is clickbait and ragebait. What one contributor, however prolific, says, doesn’t represent the entire project (even though I somewhat agree with him here - there are sadly some bigots in the community).

    Nobody forced Eelco (the founder of Nix) to “abdicate”, but there was indeed pressure to step down as the de-facto BDFL put on him by various people. He’s respected as an engineer, architect, maintainer and mentor, but his community management skills were perceived to be lacking, and there were other perceived issues in the community - which boiled down to the fact that a lot of contributors didn’t feel like they could influence the direction of the project. Note that he’s not expelled from the project in any way, he’s still a maintainer of Nix itself, which AFAIU from my interactions with him is what interests him the most, and he’s more or less happy to leave administrative/community stuff to other people.

    Then began a process to establish a new governance structure. Currently, we’re up to a stage where there’s now formal community values and a new constitution for the project. There’s an election happening right now, with all active contributors able to become candidates or vote (although the deadline for candidate nominations has passed, so now we can only vote).