What resources do you use to find #guile functions? Is there something like Javadoc you can search through? I know about the info page, just looking for something more
What resources do you use to find #guile functions? Is there something like Javadoc you can search through? I know about the info page, just looking for something more
Continued with the #adventofcode puzzles day 2 in #guile:
Part 1:
https://codeberg.org/ZelphirKaltstahl/advent-of-code-2025/src/commit/248a9591bf21f65e0585914e714d07df5acfff90/guile/day-02/part-01.scm
Part 2:
https://codeberg.org/ZelphirKaltstahl/advent-of-code-2025/src/commit/248a9591bf21f65e0585914e714d07df5acfff90/guile/day-02/part-02.scm
I have a hunch, that there is some mathematical trick to speed this up. But I am thinking: "I need to sum up those numbers, so I don't only need to know how many there are, but also which ones there are. So I must somehow reach them."
I guess the puzzle could have sabotaged my approach with very long ranges though. Glad it did not.
#adventofcode in GNU #guile :
day 01, part 1: https://codeberg.org/ZelphirKaltstahl/advent-of-code-2025/src/commit/46f9596d9036b58a2fbfbb3250387d1b5ce40631/guile/day-01/part-01.scm
day 01, part 2: https://codeberg.org/ZelphirKaltstahl/advent-of-code-2025/src/commit/46f9596d9036b58a2fbfbb3250387d1b5ce40631/guile/day-01/part-02.scm
@taxorubio @jjba23 Unless you need highly adaptable code (use #guile), #rust is by far the best programming language to use today. This is a very nice demonstration of it.
oh man... i am still in pain from day 3 AOC 2025 🎄 ✨
but it works.... after scrapping my naive combinations approach (i was trying to compute 121 billion combinations and compare them, my computer glitched and shutdown haha) now i went with a greedy stack based comparison....
https://codeberg.org/jjba23/aoc-2025/src/branch/trunk/days/day-3-lobby
#adventofcode #aoc #guile #scheme #guix #lisp #challenge #leetcode #functional #programming #fp #emacs #stack #greedy #push #pop
Still rainy.
Still no #AdventOfCode #aoc in #Guile started.
Still wish you a good hacky day ! ❤️ 🌧️
I've completed "Printing Department" - Day 4 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/4 in #guile #scheme
Managed to get both parts tonight. Spent most of the time learning about the Array data structure in Guile.
Probably some more performant or easier to read ways to calculate the adjacency weights, but having a functioning solution is worthwhile. Having the recursive call for removing all rolls making the part 2 call a single line was :blobchefskiss: .
https://source.tube/ballpointcarrot/aoc-2025/src/branch/main/2025/day4.scm
Ohooo :robot_surprised: Guile 3.0.11 has just been released. The SRFI-207 String-notated bytevectors look kind of nice. And inbuilt threading functions too 7.5.48 SRFI-197: Pipeline Operators.
ok day 2 is in as well for the AOC 2025 🎄 ✨
this felt easier than day 1 to be honest
https://codeberg.org/jjba23/aoc-2025/src/branch/trunk/days/day-2-gift-shop/main.scm
#adventofcode #aoc #guile #scheme #guix #lisp #challenge #leetcode #functional #fp #emacs
Oops… Already late on my #AdventOfCode with #gnu #guile 🤦
solved the first day 🎄 ✨
ok ok, this was a mindf*ck, the 1st day of advent of code 2025... need a break 🧠
but it's there, and under the 100 lines of code, also purely functional style, no mutations 🫧
done in Lisp (Guile Scheme)
it's also quite fast (much faster than my first naive list shifting idea)
https://codeberg.org/jjba23/aoc-2025
hope I manage to solve ALL the challenges 😃
#lisp #scheme #guile #aoc #adventofcode #guix #functional #fp #emacs #challenge #leetcode
You can find four #books I wrote on my website:
https://www.draketo.de/#books
And you can get them in print!
❤️ 📚 ❤️
Three are about #programming:
- Naming & Logic with #Scheme:
https://www.epubli.com/shop/naming-and-logic-9783565028139
- Naming & Logic with #Wisp:
https://www.epubli.com/shop/naming-and-logic-programming-essentials-with-wisp-9783565093199
- From #Python to #Guile Scheme:
https://www.epubli.com/shop/going-from-python-to-guile-scheme-9783737568401
One is about #roleplaying:
- Ein Würfel-System 2.6:
https://www.lulu.com/shop/arne-babenhauserheide/ein-w%C3%BCrfel-system-1w6-regeln-261/paperback/product-21368221.html
Sent wayland-scm (#guile scheme #wayland client bindings) to #guix
https://codeberg.org/guix/guix/pulls/4564/
This package is kinda non-conventional to guix. I foresee a very long way conversations on the way to merge it. Participate if possible
#adventofcode day 2 completed!
Solution in #guile #scheme : https://source.tube/ballpointcarrot/aoc-2025/src/branch/main/2025/day2.scm
What a wonderful morning!
What a new Guile release!
SRFI-197 (pipeline operators) is now builtin, custom ports and a lot of other features and fixes are finally landed.
https://www.gnu.org/software/guile/news/gnu-guile-3011-released.html
Now, it's time to update Guile package in Guix and we are ready for a release of Arei/Ares 1.0!