Crespyl's recent activity

  1. Comment on List animals until failure in ~games

    Crespyl
    Link Parent
    re spoiler šŸ¦ŽšŸ
    re spoiler šŸ¦ŽšŸ
    1 vote
  2. Comment on Why I’m launching a feminist video games website in 2026 in ~games

    Crespyl
    Link
    Myers co-hosts a podcast called Triple Click (along with Kirk Hamilton and Jason Schreier) that I've been listening to for a while, and can easily recommend. I've enjoyed a lot of her previous...

    Myers co-hosts a podcast called Triple Click (along with Kirk Hamilton and Jason Schreier) that I've been listening to for a while, and can easily recommend. I've enjoyed a lot of her previous writing and she always has interesting things to say on the podcast.

    I really hope she and the team are able to find a stable base of supporters to make this a lasting endeavor.

    8 votes
  3. Comment on Day 2: Gift Shop in ~comp.advent_of_code

    Crespyl
    Link
    I always jump straight to regex and very literal interpretations of things, so I went with the straightforward brute-force/regex-backref approach. Easy to think about, but a little slow. Clojure...

    I always jump straight to regex and very literal interpretations of things, so I went with the straightforward brute-force/regex-backref approach. Easy to think about, but a little slow.

    Clojure
    (defn invalid? [num]
      (let [s (str num)
            matches (re-matches #"(\d+)(\1)" s)]
        (if matches
          true
          false)))
    
    (defn invalid-part-2? [num]
      (let [s (str num)
            matches (re-matches #"(\d+)(\1)+" s)]
        (if matches
          true
          false)))
    
    (defn find-in-range [f start end]
      (loop [list []
             pos start]
        (if (= pos (inc end))
              list
              (recur (if (f pos)
                       (conj list pos)
                       list)
                     (inc pos)))))
    
    (defn parse-input [input]
      (->> (str/split input #",")
           (map str/trim)
           (map #(str/split % #"-"))
           (map #(map parse-long %))))
    
    (defn part-1 [input]
      (let [ranges (parse-input input)]
        (->> (map
              #(apply find-in-range invalid? %)
              ranges)
             (flatten)
             (reduce +))))
    
    (defn part-2 [input]
      (let [ranges (parse-input input)]
        (->> (map
              #(apply find-in-range invalid-part-2? %)
              ranges)
             (flatten)
             (reduce +))))
    
    1 vote
  4. Comment on Day 1: Secret Entrance in ~comp.advent_of_code

    Crespyl
    Link
    I too wasn't able to participate during the original release, but have been going back and doing some of the problems in (somewhat novice/clumsy) Clojure. Here's day 1: Day 1 - Both Parts (defn...

    I too wasn't able to participate during the original release, but have been going back and doing some of the problems in (somewhat novice/clumsy) Clojure.

    Here's day 1:

    Day 1 - Both Parts
    (defn parse-input [s]
      (let [regex #"(R|L)(\d+)"]
        (map
         (fn [step] [(first step) (Integer/parseInt (second step))])
         (map rest (re-seq regex s)))))
    
    (defn part-1 [input]
      (let [steps (parse-input input)
            pos 50
            max-pos 99
            min-pos 0]
    
        (reduce (fn [state step]
                  (let [new-pos (case (first step)
                                  "L" (mod (- (:pos state) (second step)) 100)
                                  "R" (mod (+ (:pos state) (second step)) 100))]
                    (if (= new-pos 0)
                      {:pos new-pos
                       :count (inc (:count state))}
                      {:pos new-pos
                       :count (:count state)})))
                {:pos pos
                 :count 0}
                steps)))
    
    (defn step-counting-zeros [f pos steps]
      (loop [pos (mod (dec pos) 100)
             steps (dec steps)
             count 0]
        (cond
          (and (> steps 0) (zero? pos))
          (recur (mod (f pos) 100) (dec steps) (inc count))
    
          (and (zero? steps) (zero? pos))
          [pos (inc count)]
    
          (> steps 0)
          (recur (mod (f pos) 100) (dec steps) count)
    
          (zero? steps)
          [pos count]
    
          :else (throw :???))))
    
    (defn part-2 [input]
      (let [steps (parse-input input)
            pos 50
            max-pos 99
            min-pos 0]
    
        (reduce (fn [state step]
                  (case (first step)
                    "L" (let [[new-pos zeros]
                              (step-counting-zeros dec (:pos state)
                                                   (second step))]
                          {:pos new-pos
                           :count (+ (:count state) zeros)})
                    "R" (let [[new-pos zeros]
                              (step-counting-zeros inc (:pos state)
                                                   (second step))]
                          {:pos new-pos
                           :count (+ (:count state) zeros)})))
                {:pos pos
                 :count 0}
                steps)))
    
    1 vote
  5. Comment on Lifetime Windows user seeking feedback for improvements on my Linux setup in ~tech

    Crespyl
    Link Parent
    The one gotcha with Rocket League is that by default Steam may try to run the (now tragically outdated and unsupported) native Linux version. As you say, running the up-to-date Windows version via...

    The one gotcha with Rocket League is that by default Steam may try to run the (now tragically outdated and unsupported) native Linux version.

    As you say, running the up-to-date Windows version via proton usually works perfectly.

    Adding third-party (or "third-party") games to Steam usually works fine, I recently picked up Basilisk 2000 from Itch.io and was able to play it through Steam (after manually enabling proton).

    As a bonus you can use sgdboop to quickly set up icons/thumbnails/splashes for your third-party games so they look nice in your library.

    1 vote
  6. Comment on 2SAXY - Sweetwater music store in Fort Wayne, Indiana (Live saxophone improv session while walking around, 2026) in ~music

    Crespyl
    Link
    Hey, I've been there! The Sweetwater building isn't far from where I live. I got to see Adrian Belew there years ago. It's a nice space, and it seems like there's pretty frequently interesting...

    Hey, I've been there! The Sweetwater building isn't far from where I live.

    I got to see Adrian Belew there years ago. It's a nice space, and it seems like there's pretty frequently interesting things going on.

    Thanks for posting this one, it's a fun video.

    2 votes
  7. Comment on Statement from Mozilla's new CEO in ~tech

    Crespyl
    Link Parent
    Linus used to occasionally rage at people, to the point of probably being outright abusive(?). He's made a point of improving on that point, and he's largely been succeeding as far as I've heard....

    Linus used to occasionally rage at people, to the point of probably being outright abusive(?). He's made a point of improving on that point, and he's largely been succeeding as far as I've heard.

    RMS... is kinda hyper-libertarian in some ways, to the point that (and I don't recall the specifics here, so I'm hedging a bit as I don't want to over- or under-state the issues) some of his statements have been construed as supporting drawn/animated images of children in sexual situations.

    ah fuck, I went and looked it up briefly and it's worse than I remembered. He resigned a position at MIT after making statements in support of Marvin Minsky and Jeffery Epstein.

    I'll always appreciate the principles and movement he was instrumental in getting off the ground; Emacs is an incredible work of software design and engineering; GNU and the GPL are one of if not the reason Linux and the free software movement has succeeded as much as it has; but the man himself is problematic to a degree that I can't support him.

    Be careful meeting your heros.

    11 votes
  8. Comment on Sick of smart TVs? Here are your best options. in ~tech

    Crespyl
    Link Parent
    What's your GPU/connector set up for the CEC component? My understanding is that most consumer/desktop GPUs aren't wired with the pin for CEC on their HDMI outputs. I was once able to work around...

    What's your GPU/connector set up for the CEC component?

    My understanding is that most consumer/desktop GPUs aren't wired with the pin for CEC on their HDMI outputs. I was once able to work around this by using a DisplayPort to HDMI adapter, but I'm curious how others might've solved the problem.

    3 votes
  9. Comment on Clair Obscur: Expedition 33 becomes first indie game to win Game of the Year at The Game Awards in ~games

    Crespyl
    Link Parent
    Devolver Digital is a publisher that specializes in "indie" games. It's a mess, but the games are usually pretty good so I don't care to quibble too much.

    Devolver Digital is a publisher that specializes in "indie" games.

    It's a mess, but the games are usually pretty good so I don't care to quibble too much.

    1 vote
  10. Comment on Clair Obscur: Expedition 33 becomes first indie game to win Game of the Year at The Game Awards in ~games

    Crespyl
    Link Parent
    Oh, you're right! Somehow I missed that! That's something at least, though I still think it deserved more.

    Oh, you're right! Somehow I missed that! That's something at least, though I still think it deserved more.

    4 votes
  11. Comment on Clair Obscur: Expedition 33 becomes first indie game to win Game of the Year at The Game Awards in ~games

    Crespyl
    Link
    Blue Prince not even getting a nomination is tragic, but with (apparently) a lot of international people involved in the decisions I guess it makes sense. It's a game deeply reliant on English...

    Blue Prince not even getting a nomination is tragic, but with (apparently) a lot of international people involved in the decisions I guess it makes sense. It's a game deeply reliant on English wordplay, and it's probably one of, if not the, least translateable game I've ever seen.

    Still gonna be a little salty about it though.

    E33 has a great soundtrack, though I too haven't played the game yet. I'm looking forward to picking it up, probably when I get something beefier than my Steam Deck. Maybe if it goes on a nice sale I'll pick it up earlier and hope it runs ok.

    17 votes
  12. Comment on Tilderinos in ~talk

    Crespyl
    Link
    Tildebeasts

    Tildebeasts

    9 votes
  13. Comment on Who can name the bigger number? in ~science

    Crespyl
    Link Parent
    The article excludes infinities when laying out the rules of the game, though my mind also went to Aleph at first.

    The article excludes infinities when laying out the rules of the game, though my mind also went to Aleph at first.

    5 votes
  14. Comment on Steam Deck now has a display-off low-power download mode in ~games

    Crespyl
    Link
    This will be nice for people who have games that update frequently, or any game with big updates. I'm curious to see how this works (if it does) on other handhelds running SteamOS. Power...

    This will be nice for people who have games that update frequently, or any game with big updates.

    I'm curious to see how this works (if it does) on other handhelds running SteamOS. Power management and the various sleep states have proven tricky to get right even on other well supported hardware/OS configurations.

    10 votes
  15. Comment on Topic marked for review by admin in ~test

    Crespyl
    Link
    "AI Press Solutions"?? An article full of mis-applied Markdown formatting, that gets randomly cut off at the end? @meezuisme, I'm curious what led you to this site and article in particular as...

    "AI Press Solutions"?? An article full of mis-applied Markdown formatting, that gets randomly cut off at the end?

    @meezuisme, I'm curious what led you to this site and article in particular as your first ever post to Tildes?

    9 votes
  16. Comment on Planet of Lana II: Children of the Leaf | Announcement trailer in ~games

    Crespyl
    Link Parent
    It really holds up visually, though the gameplay is a bit stiff in comparison to modern titles. I've always loved it for its ambitious use of vector graphics at a time when most games were...

    It really holds up visually, though the gameplay is a bit stiff in comparison to modern titles.

    I've always loved it for its ambitious use of vector graphics at a time when most games were sticking to pixel art; and its custom virtual machine to handle the rendering (and make it portable). Those two decisions are a big part of why it's still pretty easy to play nowadays.

    2 votes
  17. Comment on Planet of Lana II: Children of the Leaf | Announcement trailer in ~games

    Crespyl
    Link Parent
    I played the first one and enjoyed it! Inside is a good reference, though Planet of Lana is less horror/unsettling and more just an adventure with some light action. It also reminded me of Another...

    I played the first one and enjoyed it!

    Inside is a good reference, though Planet of Lana is less horror/unsettling and more just an adventure with some light action.

    It also reminded me of Another World, with it's focus on cinematic scenes and art.

    3 votes
  18. Comment on What the hell are we doing with hierarchical tags? in ~tildes

    Crespyl
    Link
    I don't have strong opinions on this, but I can speak to (what I presume is) the idea behind tags like "source.youtube". It's not that someone might want to search for "source", but that someone...

    I don't have strong opinions on this, but I can speak to (what I presume is) the idea behind tags like "source.youtube". It's not that someone might want to search for "source", but that someone searching for posts about YouTube wouldn't want to get every post from YouTube.

    In this case, it's more like a semantic namespace to distinguish a bare "youtube" tag from more specific things like "source.youtube", "video hosts.youtube", "google services.youtube" etc. Not that we necessarily have a lot of those other tags to distinguish from yet, but it's nice to set up a good taxonomy early.

    12 votes
  19. Comment on Changes to Advent of Code starting this December in ~comp.advent_of_code

    Crespyl
    Link Parent
    If you can't wait for December, the site has an archive of past events you can check out. My favorite were the (divisive) 2019 puzzles, since there was a big focus on gradually building a little...

    If you can't wait for December, the site has an archive of past events you can check out.

    My favorite were the (divisive) 2019 puzzles, since there was a big focus on gradually building a little "bytecode" interpreter to hang further puzzles off of.

    1 vote
  20. Comment on How many valid JSON strings are there? in ~comp

    Crespyl
    Link
    It took me a minute to realize the author was not talking about the values of strings as defined in the JSON spec (anything inside of "..." pairs), but "JSON blobs encoded as strings" also known...

    It took me a minute to realize the author was not talking about the values of strings as defined in the JSON spec (anything inside of "..." pairs), but "JSON blobs encoded as strings" also known as JSON documents.

    The article explores the number of valid JSON documents of several (small) sizes.

    Neat!

    8 votes