Kremor's recent activity
-
Comment on Tildes Game Giveaway: December 2026 in ~games
-
Comment on To whoever keeps throwing tags onto my posts in ~talk
Kremor LinkThat would be u/mycketforvirrad. They put a ridiculous amount of work into keeping this place organized. We probably don't give them enough credit for it!That would be u/mycketforvirrad. They put a ridiculous amount of work into keeping this place organized. We probably don't give them enough credit for it!
-
Comment on Tildes Game Giveaway: December 2026 in ~games
Kremor (edited )Link ParentI'd like to pick Mega Mosaic and Prince of Persia: The Lost Crown, and thanks.I'd like to pick Mega Mosaic and Prince of Persia: The Lost Crown, and thanks.
-
Comment on Tildes Game Giveaway: December 2026 in ~games
-
Comment on Day 2: Fulminating Farmland in ~comp.advent_of_code
Kremor LinkHere's my solution in Guile Day 2: Fulminating Farmland (use-modules (ice-9 rdelim) (srfi srfi-1) ; take drop (srfi srfi-11)) ; let-values ;; Read input (define (read-file path)...Here's my solution in Guile
Day 2: Fulminating Farmland
(use-modules (ice-9 rdelim) (srfi srfi-1) ; take drop (srfi srfi-11)) ; let-values ;; Read input (define (read-file path) (call-with-input-file path (lambda (port) (string-trim-right (read-line port))))) ;; Part 1 (define (to-val c) (case c ((#\r) 0) ((#\o) 1) ((#\y) 2) ((#\g) 3) ((#\b) 4) (else 5))) (define (ab-dist a b) (if (< a b) (- b a) (+ 6 (- b a)))) (define (calc-dist items) (let loop ((remaining items) (prev 0) (acc '())) (if (null? remaining) (reverse acc) (loop (cdr remaining) (car remaining) (cons (ab-dist prev (car remaining)) acc))))) ;; Part 2 (define (get-max-idx lst) (let loop ((items lst) (idx 0) (best 0) (maxv 0)) (if (null? items) (values best maxv) (let ((x (car items))) (cond ((= x 6) (values idx x)) ((> x maxv) (loop (cdr items) (1+ idx) idx x)) (else (loop (cdr items) (1+ idx) best maxv))))))) (define (remove-idx lst idx) (append (take lst idx) (drop lst (1+ idx)))) (define (calc-dist-part2 pos items) (map (lambda (item) (ab-dist pos item)) items)) (define (longest-dist items) (let loop ((remaining items) (curr 0) (acc 0)) (if (null? remaining) acc (let ((dists (map (lambda (x) (ab-dist curr x)) remaining))) (let-values (((idx max-dist) (get-max-idx dists))) (loop (remove-idx remaining idx) (list-ref remaining idx) (+ acc max-dist))))))) ;; Results (define input (map to-val (string->list (read-file "input.txt")))) (format #t "Part 1: ~a~%" (apply + (calc-dist input))) (format #t "Part 2: ~a~%" (longest-dist input)) -
Comment on Day 1: Dusty Shed in ~comp.advent_of_code
Kremor LinkI'm using Guile to solve the problems. My solutions may not be as elegant because I'm using this as an opportunity to learn the language. And for what I've seen, there's a lot of wheel reinventing...I'm using Guile to solve the problems.
My solutions may not be as elegant because I'm using this as an opportunity to learn the language. And for what I've seen, there's a lot of wheel reinventing in Scheme.
Day 1: Dusty Shed
(use-modules (ice-9 rdelim) (srfi srfi-1) (srfi srfi-13)) ;;; Read input (define (parse-num line) (let ((trimmed (string-trim-both line))) (if (string-null? trimmed) #f (let ((num (string->number trimmed))) (and num (integer? num) num))))) (define (read-file path) (call-with-input-file path (lambda (port) (let loop ((line (read-line port)) (numbers '())) (if (eof-object? line) numbers (let ((num (parse-num line))) (if num (loop (read-line port) (cons num numbers)) (loop (read-line port) numbers)))))))) ;;; Solution (define (group-by-count lst) (let ((counts (make-hash-table))) (let loop ((items lst)) (unless (null? items) (let ((n (car items))) (hashv-set! counts n (1+ (hashv-ref counts n 0)))) (loop (cdr items)))) (let ((pairs (hash-fold (lambda (k v acc) (cons (cons k v) acc)) '() counts))) (sort pairs (lambda (a b) (> (cdr a) (cdr b))))))) (define (get-product lst n) (let loop ((items lst) (i 0) (product 1)) (if (or (null? items) (>= i n)) product (let ((num (car (car items)))) (loop (cdr items) (1+ i) (* product num)))))) (define arr (group-by-count (read-file "input.txt"))) (format #t "Top 3: ~a~%" (get-product arr 3)) (format #t "Last 3: ~a~%" (get-product (reverse arr) 3)) -
Web Rewind: An interactive journey through thirty years of the web
11 votes -
Purrli: Cat purr sound generator
15 votes -
Slopstrap: Make your site look hastily vibecoded
51 votes -
Comment on I've always wanted to be able to do art but not sure how to do it in a way that suits me in ~creative
Kremor LinkNot necessarily what you asked, but I'd recommend to get a copy of Drawing on the Right Side of the Brain Workbook by Betty Edwards. Once you complete the book you'll feel fully confident in your...Not necessarily what you asked, but I'd recommend to get a copy of Drawing on the Right Side of the Brain Workbook by Betty Edwards. Once you complete the book you'll feel fully confident in your abilities.
However, Edwards' method is not the be-all end-all of drawing, rather it's just the start of you journey. After you complete the book I'd recommend to at least do the 250 boxes challenge, and look some youtube videos on how to shade properly, like this one.
-
Preserving thirty years of Salon journalism
13 votes -
Comment on HUMAN.md in ~life
Kremor Link ParentThe link is actually read the .md file at the end of the menu.The link is actually
read the .md fileat the end of the menu. -
Comment on HUMAN.md in ~life
Kremor LinkI have a hard time taking this seriously when everything on it was made with AI. It just seems like a very convoluted and quirky way to say "it's just a tool".I have a hard time taking this seriously when everything on it was made with AI. It just seems like a very convoluted and quirky way to say "it's just a tool".
-
Comment on The tech industry is investing in mega gas plants to power their data centers in ~enviro
Kremor LinkNot too long ago, Amazon founder Jeff Bezos was pledging to use his company’s size and scale to galvanize corporate America to confront global warming. [...] If Amazon “can meet the Paris agreement 10 years early, then any company can,” Bezos said in 2019.
But now Amazon and the other tech behemoths are setting a very different example. Rather than racing toward their net-zero targets, they are driving emissions sharply higher with their quest to expand AI and cloud computing.
To support their data centers, tech firms are driving construction of a new generation of supersized, gas-fired power plants that could lock in hundreds of millions of tons of climate pollution for decades to come.
Some anticipate that its share of global carbon emissions will increase as much as fivefold from 2020 to 2030. That would leave the tech industry churning out more than half the climate pollution created by global aviation or shipping.
Already, Amazon’s carbon footprint reached 80.85 million metric tons last year — 58 percent larger than when Bezos pledged to shrink it. The company has veered far from the path laid out in the Paris agreement, which would have emissions falling steeply by now and dropping to 43 percent below 2019 levels by 2030.
-
The tech industry is investing in mega gas plants to power their data centers
21 votes -
Comment on Big balk: On Big Walk, Independent Games Festival, and the present unpleasantness in ~games
Kremor Link ParentThe government of my country, at every level, uses AI for pretty much all its promotional material.The government of my country, at every level, uses AI for pretty much all its promotional material.
-
Comment on I made a film in Excel in ~movies
Kremor Link ParentThis is just me guessing, but there's a clue at the end. It looks like she cloned the rows containing the graphics and pasted them into the rows below. Each row is basically a frame, then she...This is just me guessing, but there's a clue at the end. It looks like she cloned the rows containing the graphics and pasted them into the rows below. Each row is basically a frame, then she modified each frame until she had an animation. Basically, she made a flipbook animation using Excel rows and sheets—a sheet would be a scene. I also wouldn't be surprised if there's some editing magic to make the transitions smoother.
-
I made a film in Excel
38 votes -
Comment on Wander Console: Discover the small web in ~tech
Kremor Link ParentTildes is interpreting your link as an internal link rather than an external one. BTW, I added you to mine (link).Tildes is interpreting your link as an internal link rather than an external one.
BTW, I added you to mine (link).
-
Comment on Wander Console: Discover the small web in ~tech
Kremor Link ParentWeb rings are still a thing, probably thanks in part to the moderate success of Neocities. I've had bookmarked some I may try to join in the future™. Your comment made me curious about whether a...Web rings are still a thing, probably thanks in part to the moderate success of Neocities. I've had bookmarked some I may try to join in the future™. Your comment made me curious about whether a web ring directory already exists and fond this one
Could I get Odallus: The Dark Path and Say No! More? They look really fun!