Let's have some fun with #fft ( #fastfouriertransform ) in the programming language #R :
22.01.2026 22:23 β π 1 π 0 π¬ 0 π 0@frank-schwidom.bsky.social
Let's have some fun with #fft ( #fastfouriertransform ) in the programming language #R :
22.01.2026 22:23 β π 1 π 0 π¬ 0 π 0Between all this #AdventOfCode and #projecteuler stuff we must not forget also to chill out a bit.
www.youtube.com/watch?v=TCIQ...
#AdventOfCode #ProjectEuler I just finished projecteuler.net/problem=68
29.12.2025 01:45 β π 2 π 0 π¬ 0 π 0This stuff was completely new to me. And it was the hardest task for me in 12/2025 so far. But I learned a lot. Also about continued fractions. It is amazing what others already discovered hundreds of years ago.
23.12.2025 22:54 β π 1 π 0 π¬ 1 π 0#AdventOfCode #ProjectEuler I just finished projecteuler.net/problem=66
23.12.2025 19:39 β π 2 π 0 π¬ 1 π 0
One Idea has maybe a chance under certain circumstances. You calculate the density ( tiles to set / area) and by constructing you try to keep the density consistent over the construction steps. This reduces the search space a lot.
16.12.2025 01:01 β π 0 π 0 π¬ 1 π 0Also a good approach is the tetris approach: bsky.app/profile/fran...
16.12.2025 00:54 β π 1 π 0 π¬ 1 π 0I wasted 2 days in bin packing research before I saw the same solution like you. But I think some ideas I've found aren't bad. For instance what about looking for pairs of packed shapes and an appropriate estimation of the density and then trying to combine the packed shapes further recursively.
16.12.2025 00:47 β π 0 π 0 π¬ 1 π 0Now that the #AdventOfCode is over, its time to chill out a little bit.
www.youtube.com/watch?v=YTDD...
#AdventOfCode adventofcode.com/2025/day/12 the aftermath
15.12.2025 01:43 β π 18 π 0 π¬ 3 π 1I just completed all 12 days of Advent of Code 2025! #AdventOfCode adventofcode.com
14.12.2025 23:11 β π 11 π 1 π¬ 1 π 0I just completed "Reactor" - Day 11 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/11
11.12.2025 18:21 β π 6 π 0 π¬ 0 π 0... And allowed me to find the minimum allowed SUM.
11.12.2025 02:50 β π 1 π 0 π¬ 0 π 0That worked. But the interesting part was: I was able to use the precalculated SUM - range from clpfd to find the lowest number where a Z3 calculation was no longer unsat. Even when clpfd was not able to complete the formula as a whole it was able to restrict the allowed range of the SUM variable.
11.12.2025 02:47 β π 1 π 0 π¬ 1 π 0Then I thought I switch to a solver in Swi Prolog : clpfd. The example data were processed even faster but only some of the input data I was able to process. Some were just too slow. After a while I decided to connect via the janus library from prolog to python and use Z3 there.
11.12.2025 02:42 β π 0 π 0 π¬ 1 π 0Some words to #AdventOfCode adventofcode.com/2025/day/10 Part 2.
First I tried to use a prolog typical BFS by increasing a depth variable and limiting all sub calculations by creating a sum which is that depth. It worked after enabling tabling. But it wasn't enough for tie input data. ...
I just completed "Factory" - Day 10 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/10
11.12.2025 01:24 β π 2 π 0 π¬ 0 π 0I solved the task of day 8 in prolog and after that I wrote the start data and some data during the calculation in separate files which I then read into an R program. The visualization in R is made with the rgl library. Thanks for the kudos.
10.12.2025 00:11 β π 0 π 0 π¬ 0 π 0#AdventOfCode adventofcode.com/2025/day/8 : the aftermath
09.12.2025 23:50 β π 17 π 0 π¬ 2 π 0I just completed "Movie Theater" - Day 9 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/9
09.12.2025 21:45 β π 6 π 0 π¬ 0 π 0I just completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/8
08.12.2025 23:05 β π 7 π 0 π¬ 0 π 0And here is all the #AdventOfCode - Code : github.com/schwidom/Adv...
07.12.2025 12:46 β π 9 π 0 π¬ 0 π 0I just completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/7
07.12.2025 12:25 β π 10 π 0 π¬ 0 π 0I just completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6
06.12.2025 16:47 β π 8 π 0 π¬ 0 π 0I'm aware of that. He has been working on SWI Prolog for 30 years.
05.12.2025 19:37 β π 1 π 0 π¬ 1 π 0