home.social

#common_lisp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #common_lisp, aggregated by home.social.

  1. I just completed all 12 days of Advent of Code 2025!
    #AdventOfCode #commonlisp #common_lisp adventofcode.com/

    github.com/argentcorvid/aoc-20

    well, I guess i did it. I had no idea how to do part 2 of day 10, so I translated the dijkstra approach from the reddit thread from python.

  2. I just completed "Playground" - Day 8 - Advent of Code 2025 with Common Lisp!

    Not the most efficient at 16 seconds for part 2, but it gets it done.

    adventofcode.com/2025/day/8

    github.com/argentcorvid/aoc-20

    #commonlisp #common_lisp #AdventOfCode

  3. I just completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 with Common Lisp!

    P1 was pretty easy. But part 2 is very vaguely defined. I'm not proud of my solution to dump each tick to an ASCII PBM and look through the images manually, but it got it done. I had some ideas of what to do to automate it, that might still work with some tweaking now that I know what specifically I am looking for.

    adventofcode.com/2024/day/14

    #adventofcode #common_lisp #commonlisp

  4. Hello, does anyone have any experience with "#haunt" #SSG (static site generator) that is written in #guile #scheme ?

    There looks like there are some neat sites made with it.

    I'm looking for a static site generator, I'd like to be doing any html template etc, with something like hiccup, and write prose content (blog posts, etc) in #markdown and #orgmode . I would have thought that there would be something in #clojure or #common_lisp but I don't see anything.

  5. I just completed "Claw Contraption" - Day 13 - Advent of Code 2024 with Common Lisp!

    This one was easy with some middle-school algebra. The Hardest part was parsing the input.

    adventofcode.com/2024/day/13

    github.com/argentcorvid/AoC-20

    #AdventOfCode #common_lisp #commonlisp

  6. What is the correct way to print a string without quotation marks surrounding it, but retain the automatic line-ending, in #common_lisp #lisp ?

    (print "hello") ; has quotes
    (princ "hello") ; no quotes, but no line-end

    (format t "hello") ; no quotes, no line-end, and it seems like abusing format to me

    I'm aware there's probably something I can pass to print to remove the quotes, but I can't see it at a glance :/

  7. Every time I use #common_lisp, I'm shocked what people tolerate in other languages. Which is not saying that we should all be using #lisp, but how do languages not have inspectability into running programs in the year of our lord 2024?

  8. Gah! I just got bitten, again, by the fact that `case` in Lisp uses `eq`, so it won't work for strings. 😢

    #Lisp #CommonLisp #common_lisp

  9. changing fragment shaders on the fly, as a beginner, this is cool

    #common_lisp #lisp

  10. I just started implementing graph theory from one of my courses in my Common Lisp math repository #common_lisp #lisp

    github.com/colfrog/math