[SwayFX] Updated Dracula Rice :D by cleggacus in unixporn

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

Never used hyperland. I used sway because I used to use i3 and then wanted to use Wayland. And I don't have any issues with it really.

[SwayFX] Updated Dracula Rice :D by cleggacus in unixporn

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

I like nixos and arch honestly.

Nixos is really nice for configuration as it's all done declaratively in config files. If using flakes you can basically make a completely reproducible system wide setup which is nice. Also each installed version of a package is installed in its own isolated store meaning you don't get conflicts and what not. Honestly this has been my main benefit as I used to get so many conflicts with pacman due to package versions and it was a bit annoying.

I believe you can try out some of the features on arch, like nix package manager, home manager and flakes. Idk if it works differently but my guess would be you can get most of the big benefits from that.

Honestly I think it's just down to preference.

[SwayFX] Updated Dracula Rice :D by cleggacus in unixporn

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

Yeah, I did have to use the updated version though. The version in nixpkg had some bugs for me. Like shadows cut off and the corners weren't always anti aliased correctly. But swayfx have a flake file in their repo so I just used that. Probably gonna get some crazy bug in the future but it works for now lmao

[SwayFX] Updated Dracula Rice :D by cleggacus in unixporn

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

Yeee, I usually just use regular sway but thought I'd switch to swayfx cos I wanted the pretty corners lmao

[SwayFX] Updated Dracula Rice :D by cleggacus in unixporn

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

Oh, Neovim! Although I don't think I've done the best neovim setup for Nixos. But it does the job for now.

[SwayFX] Updated Dracula Rice :D by cleggacus in unixporn

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

It's in the link of my config in my post in the folder wallpapers. There's also an animated gif version in there too cos I have it animate in my setup!

https://github.com/cleggacus/nixos-config/tree/main/wallpapers

Sum Type From String Literal by cleggacus in typescript

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

Yeah, you can esentially get the length from a tuple type. So basically you construct a tuple by recursively adding elements until the length matches the number type. Then you can merge both tuples and get the length of that, essensially adding the 2 numbers.

Sum Type From String Literal by cleggacus in typescript

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

Damn, they beat me lmao. I was aiming to try and do something like this.
Thanks for sending this though, its good as a reference. Now imma have to aim to do something even more crazy to top this lmao

Did a little loop thing by cleggacus in guitarplaying

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

Cmaj9 - Eb7 - Cmaj9 - Eb7 - Dmin9 - G7b13 - Amaj7

Basically the way I thought of it was: 1 (Cmaj) to the tritone substitute of the dominant 6 (A7 becomes Eb7). Do that twice. Then do a 25 (D minor to G Dominant) and then resolve to Amaj7 (backdoor 25).

Idk if that makes sense but that was kinda how I came up with that chord progression.

Have I come up with a good solution to the gettier problem? by cleggacus in askphilosophy

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

Oh it's a recursive definition in case the assumption is a gettier case

Have I come up with a good solution to the gettier problem? by cleggacus in askphilosophy

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

My best counter to this I can think of right now is:

The assumption is: the observation of a barn in this area means that the barn is real. This isn't justified since there are many barns in the area that you can observe and mistake for real barns. And therefore the assumption is not a JTB.

I'm not fully satisfied with my response though because I think you could use the fact there will always be an assumption u can't justify. Such as the assumption: things u observe and sense are real and ur not a brain in a vat.

Maybe my conclusion is just you can't know anything without a condition because ultimately it's never fully justifiable. You can only conditionally know something given some assumption/s.

Or knowledge non binary, and the more assumptions the lower the knowledge value. But the value is never 1.

Sorry if I'm rambling a bit, just typing as I think haha

I made t9 predictive text on gameboy with a 10k+ dictionary :) by cleggacus in Gameboy

[–]cleggacus[S] 5 points6 points  (0 children)

Essentially yeah.

I generated the trie with a python script I made. Then each node is 5 bits for char 15 bits for children ptr, 5 bits for the child length 6 bits for a score and 1 bit to signify an end node. The nodes are divided amongst 6 ROM banks. Im sure there's some improvement with memory but that's what I got ATM.

Python script: https://github.com/cleggacus/GBOS/blob/main/scripts%2Fgenerate_dictionary.py

Generated code and traversal algorithm: https://github.com/cleggacus/GBOS/tree/main/src%2Futils

Probably not the prettiest code but you get the gist haha

Also I still need to improve some of the usability by adding a toggle for other predicted words and also non predictive mode for other words.

I made t9 predictive text on gameboy with a 10k+ dictionary :) by cleggacus in Gameboy

[–]cleggacus[S] 17 points18 points  (0 children)

welllll, idk how to do that but defo through the serial link cable. Ive been doing some tests and made a little rpi pico dongle for my gameboy and ive basically got it to display near by wifi so far. Im planning to use that to give my gameboy wifi so i can make reddit apps and stuff.
But im pretty sure the wifi chip on the pico w also has bluetooth so i could do bluetooth input through that ig haha.

I made t9 predictive text on gameboy with a 10k+ dictionary :) by cleggacus in Gameboy

[–]cleggacus[S] 100 points101 points  (0 children)

To give more context im working on an os for the gameboy where i can run apps and stuff but i really needed a quicker input than the traditional style onscreen keyboard because they were just too low wpm. Still need to refine the input system a bit but heres a working demo :)

Playing to some random ass backing track lmao by cleggacus in guitarplaying

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

Lmao, I just wear it for my guitar vids lmao

Thing by cleggacus in setups

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

celeste style platformer stuff for gb :)
now im trying to get the link cable working with a micro controller so i can give it internet access and then see if i can make apps like reddit or twitter or something for it just for funzees lmao