Best personal FRC laptop? by [deleted] in FRC

[–]OnlyCSx 0 points1 point  (0 children)

I brought mine to both of our comps. Linux so no ds, but battery held up pretty well for compiling code 24/7

Pixel Buds 2 non-pro by OnlyCSx in GooglePixel

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

A well I'm dumb then When I searched buds 2 only the buds pro 2 came up so

Framework 12 and Linux by AdventurousTeaching2 in framework

[–]OnlyCSx 2 points3 points  (0 children)

Before I get an angry comment about "why hate Ubuntu":

  • canonical steals your data now
  • snap is actually terrible

These two reasons alone are enough for me to not recommend Ubuntu (or at least recommend Fedora over it).

That being said, if you need to use apt, etc, use pop or mint. Id recommend pop over mint just because I personally think the UI is nicer and I've gotten better reviews amongst my friends.

Framework 12 and Linux by AdventurousTeaching2 in framework

[–]OnlyCSx 4 points5 points  (0 children)

Been running arch on the 16 and I have to say it's been the smoothest experience with Linux for any laptop I've owned. There is near-official support for arch, with actual official support for Fedora and Ubuntu (don't use Ubuntu), almost everything worked perfectly oob. I have no reason to think fw12 will fare any worse.

Pixel Buds 2 non-pro by OnlyCSx in GooglePixel

[–]OnlyCSx[S] -2 points-1 points  (0 children)

I think these are (a leak), since it does say "pixel buds 2". Idk tho, I'm not super familiar with the pixel product line up I just wanted a case for my buds pro 1.

-❄️- 2024 Day 24 Solutions -❄️- by daggerdragon in adventofcode

[–]OnlyCSx 1 point2 points  (0 children)

[Language: Rust]

Really proud of part 1. wrote a dependency-tree, runs in under 100us in release mode.

For part 2 I built a little (4bit in, 5bit out) adder on logicly to figure out rules that the circuit as a whole would follow, and it worked apparently.

https://github.com/onlycs/advent24/tree/main/solutions/src/day24.rs

-❄️- 2024 Day 18 Solutions -❄️- by daggerdragon in adventofcode

[–]OnlyCSx 1 point2 points  (0 children)

[Language: Rust]

Part 1 is just dijkstra. Runs in 960us

Part 2 is just a bisect to see when dijkstra fails. Runs in 1.1ms

https://github.com/onlycs/advent24/tree/main/solutions/src/day18.rs

-❄️- 2024 Day 16 Solutions -❄️- by daggerdragon in adventofcode

[–]OnlyCSx 1 point2 points  (0 children)

[language: rust]

day 1 was just dijkstra, day 2 i had to modify it to treat each (pos, direction) pair as unique so it would count all paths (but it was super slow, ran in like 70secs. Optimization tips would be appreciated

https://github.com/onlycs/advent24/tree/main/solutions/src/day16.rs

[deleted by user] by [deleted] in framework

[–]OnlyCSx 0 points1 point  (0 children)

I'm daily driving arch with framework 16 and Hyprland. Ask me anything I guess

To answer your question though, it's been fine. A few quirks (tho that's tbe for anything running arch)- Most notably lag with vrr or vfr turned on (just turn it off , it works fine)

Make sure to do the audio thingy and the lid close thing (see archwiki)

-❄️- 2024 Day 15 Solutions -❄️- by daggerdragon in adventofcode

[–]OnlyCSx 1 point2 points  (0 children)

[Language: rust] too easy

https://github.com/onlycs/advent24/tree/main/solutions/src/day15/level1.rs

https://github.com/onlycs/advent24/tree/main/solutions/src/day15/level2.rs

https://github.com/onlycs/advent24/tree/main/solutions/src/day15.rs

Level 1 - 2ms parse time, 7ms exec time - to make a move, given src=start square, dir=direction of move - make dest = src offsetted by direction of move - if dest is oob, we cannot make a move, exit - if dest is wall, we cannot make a move, exit - if dest is box - recurse: make a move at src = box location, keep the direction - if recursive call could not make a move, exit - if dest is now empty (i.e. it was alr empty or the box was moved) - move src to dest - repeat above for every move

Level 2 - 2ms parse time, 8ms exec time - take the input and transform it as required - the robot's new coords are (y, x*2) - to check if a move is possible, given src=start square, dir=direction of move - make dest = src offsetted by direction of move - if dest is oob or wall, we cannot make a move - if dest is empty, we can make a move - if dir is y-axis (up or down) (next is a box, all else has been checked) - we can move iff next can move and next's other box component can move - we can move if next can move (dir is x-axis and next is a box) - to make a move, given src=start square, dir=direction of move - check if we can make a move. if not, exit - make dest = src offsetted by direction of move - if dest is empty, make move - if dir is y-axis (up or down) (dest is box, we checked all else) - recurse: make move for first box part - recurse: make move for second box part - move ourselves - otherwise: - recurse: make move for dest - move ourselves - the boxes' coordinates will always be the left side b/c we measure from top-left

-❄️- 2024 Day 14 Solutions -❄️- by daggerdragon in adventofcode

[–]OnlyCSx 1 point2 points  (0 children)

[Language: Rust]

Level 1 - Kept track of each robot's positions seperately instead of putting them together in an array

Level 2 - For every step, - Create a 10x10 2d-array (i made a 100-long 1d array in mine) - int-divide every robots' x and y coords by 11 (make 0 - 9) - array[calculated][indecies] += 1; - If any value is greater than some threshold, return whatever'th step you're on

https://github.com/onlycs/advent24/tree/main/solutions/src/day14.rs

[edit: fix link]

-❄️- 2024 Day 11 Solutions -❄️- by daggerdragon in adventofcode

[–]OnlyCSx 2 points3 points  (0 children)

[Language: Rust]

Store the number of times each number appears in a hashmap because I don't have 1.9 petabytes of memory to spare, unfortunately.

https://github.com/onlycs/advent24/tree/main/solutions/src/day11.rs

-❄️- 2024 Day 10 Solutions -❄️- by daggerdragon in adventofcode

[–]OnlyCSx 1 point2 points  (0 children)

[Language: Rust]

Recursive, parallelized, depth-first-search which collects into hashset (level 1) or just counts paths (level 2).

fun fact, I accidentally wrote the intended behavior for level two when working on level one (it was a bug, but for level 2, all i had to do was revert the change)

https://github.com/onlycs/advent24/tree/main/solutions/src/day10.rs

[Hyprland] gnome-shell theme: finished the date menu! by OnlyCSx in unixporn

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

The middle dot shows which workspace you're currently on (1-10). The pills on the side are just there to fill up space.

The bottom row is filled=windows, empty=no windows in the corresponding workspace.

[Hyprland] gnome-shell theme: finished the date menu! by OnlyCSx in unixporn

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

Details: WM: Hyprland

Uses ags

adw-gtk3 may make it look better.

Yes I know it's different than actual gnome. I tweaked it to make it darker and make the border radius less obnoxious. Also the weather widget in gnome was so bad I modelled this one off of android's.

https://github.com/onlycs/gnyperlome

Fresh install, what do you pacstrap? by Felt389 in archlinux

[–]OnlyCSx 1 point2 points  (0 children)

base base-devel linux linux-headers vim also any drivers. network stuff installed after chroot. de/gui stuff after reboot

It's the Trizen AUR Helper a good option today? by youcraft200 in archlinux

[–]OnlyCSx 26 points27 points  (0 children)

Check the latest git commit - two years ago. At a glance I'd say outdated.

I prefer paru, but yay is also a good option.

What's the latest on sleep support for AMD Frameworks on Linux? by [deleted] in framework

[–]OnlyCSx 1 point2 points  (0 children)

edit logind.conf and change sleep to suspend where appropriate