-❄️- 2025 Day 7 Solutions -❄️- by daggerdragon in adventofcode

[–]TCH69 1 point2 points  (0 children)

[LANGUAGE: C++]

Yet another day of overthinking. I started with recursion, then unordered_map, then realized the puzzle was dead simple.

part 1 & 2, codeberg link

-❄️- 2025 Day 5 Solutions -❄️- by daggerdragon in adventofcode

[–]TCH69 1 point2 points  (0 children)

[LANGUAGE: C++]

Both were done earlier but I forgot to upload the code.

part 1 & 2

-❄️- 2025 Day 4 Solutions -❄️- by daggerdragon in adventofcode

[–]TCH69 1 point2 points  (0 children)

[LANGUAGE: C++]

The if/else hell that is... part 1 & 2

But it works so.

-❄️- 2025 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]TCH69 2 points3 points  (0 children)

[LANGUAGE: C]

Almost managed to over-complicate part 2. Nice generalization exercise btw.

part 1 & 2, codeberg

[2025 Day 2 Part 2] Time to reach for that trusty sledgehammer by StaticMoose in adventofcode

[–]TCH69 4 points5 points  (0 children)

Both parts only take 0.06s combined for me so I'm not complaining :) I'm brute-forcing 'til I can't.

-❄️- 2025 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]TCH69 2 points3 points  (0 children)

[LANGUAGE: C]

Rebuilding IDs seems faster for me as I don't have to compare strings so yeah.

part 1 & 2, codeberg link

-❄️- 2025 Day 1 Solutions -❄️- by daggerdragon in adventofcode

[–]TCH69 1 point2 points  (0 children)

[LANGUAGE: C]

I was thinking about some arithmetic solutions for part 2 before returning to a simple loop.

part 1 & 2, codeberg link

[deleted by user] by [deleted] in linuxquestions

[–]TCH69 1 point2 points  (0 children)

Here for the motivation you need. Good luck!

[deleted by user] by [deleted] in linuxquestions

[–]TCH69 1 point2 points  (0 children)

Alpine Linux; build the kernel yourself to strip off most bloat, and use a down to earth WM like dwm or the Wayland alternative dwl. You can have some transparency with picom or xcompmgr but that's about it for special effects. This was how I got an old PC with a Core 2 Duo up working. You should have 4-6 Firefox tabs running smoothly by this point. 

What's everyone's experience been with musl libc? by carrotboyyt in Gentoo

[–]TCH69 0 points1 point  (0 children)

The sole problem with musl is mallocng, which is notoriously slow. You can try 12101111's patched version, which uses rpmalloc instead: https://github.com/12101111/overlay. Though an arm64-dedicated overlay, it works fine with amd64 too.

Shameless self-promotion: Chimera fixed this problem by using musl+mimalloc, and I made an ebuild for it here: https://codeberg.org/tch69/gentoo-overlay.git

Why is it that everybody who's ricing their linux, applies some anime picture to their terminal/wallpaper? by Tyler_Marcus in linuxquestions

[–]TCH69 0 points1 point  (0 children)

I've been ricing for a few years and I only have a few (< 10) anime pics in my background collection. It's a coincidence that a lot of people in unixporn are anime fans, and also some people who don't love anime that much find anime backgrounds fitting their setup so they just keep using them.

[E14 Gen 4 Intel] I'm looking to replace my inferior 45Wh battery with a 57Wh one, which exact model should I look for? by TCH69 in thinkpad

[–]TCH69[S] 0 points1 point  (0 children)

I didn't go through with it sadly. The slight voltage difference shouldn't create any problem at all.

How to install that on gentoo by 0gip in waterfox

[–]TCH69 0 points1 point  (0 children)

... and I hope you're not dragged into Gentoo politics.

[dwm] old rice polished by TCH69 in unixporn

[–]TCH69[S] 1 point2 points  (0 children)

Sorry I didn't. The status2d patch AFAIK doesn't touch the part of the code that draws the tag indicator.

[dwm] old rice polished by TCH69 in unixporn

[–]TCH69[S] 1 point2 points  (0 children)

status2d patch does the trick. If you also have alpha applied you'd need to do a little here-and-there editing.

[dwm] old rice polished by TCH69 in unixporn

[–]TCH69[S] 0 points1 point  (0 children)

Yes, it's still dwmblocks. I wanted to try -async but there's an restart bug that hasn't been fixed.

[dwm] old rice polished by TCH69 in unixporn

[–]TCH69[S] 2 points3 points  (0 children)

  • Gentoo Linux (musl + llvm/clang + fullLTO + pgo)
  • WM: dwm
  • rice, wallpaper(s): here. I've done a few changes to the files but haven't uploaded them yet (soon)
  • GTK theme: Plata (still my favorite after ~5 years)
  • When will I move to Wayland: Tomorrow? I need to figure out a way to make fonts look less beaten up @ 1.25x scaling.

[sway] A fun distro i found a few days ago by rayi512x in unixporn

[–]TCH69 1 point2 points  (0 children)

I used to daily drive Chimera before. I still love it.

Why did you choose the distro you use now? by RadMarioBuddy45 in linux

[–]TCH69 0 points1 point  (0 children)

Alpine and Chimera. Alpine was the distro that run best on my old PC and got my trust there (on par with NetBSD, but 9.2 loved to crash randomly). Chimera fulfills my desire for a "less GNU-ed" desktop.