I love Arch but you may also be interested to try Siduction for similar benefits with less change from what you know (it's still Debian).
- What's that driving game?
- It makes me nervous that they call X11 legacy when AFAIK they may never implement window shading on Wayland.
wish I cluld have just the folders
You can copy or symlink folders around between themes in ~/.local/share/icons/.
Thanks!
I know how stupid this sounds, but I have trouble using or even remembering software until I know how it's spelled and pronounced. Same with human names, really. Does this rhyme with the English word "eyes," or "ice," or neither? Or does it sound exactly like "breeze?"
I know not what I talk about, but maybe daScript?
Factor on github (with comments and imports):
! hand: "A23A4"
! card: 'Q'
! hand-bid: { "A23A4" 220 }
: card-key ( ch -- n ) "23456789TJQKA" index ;
: five-kind? ( hand -- ? ) cardinality 1 = ;
: four-kind? ( hand -- ? ) sorted-histogram last last 4 = ;
: full-house? ( hand -- ? ) sorted-histogram { [ last last 3 = ] [ length 2 = ] } && ;
: three-kind? ( hand -- ? ) sorted-histogram { [ last last 3 = ] [ length 3 = ] } && ;
: two-pair? ( hand -- ? ) sorted-histogram { [ last last 2 = ] [ length 3 = ] } && ;
: one-pair? ( hand -- ? ) sorted-histogram { [ last last 2 = ] [ length 4 = ] } && ;
: high-card? ( hand -- ? ) cardinality 5 = ;
: type-key ( hand -- n )
[ 0 ] dip
{ [ high-card? ] [ one-pair? ] [ two-pair? ] [ three-kind? ] [ full-house? ] [ four-kind? ] [ five-kind? ] }
[ dup empty? ] [
unclip pick swap call( h -- ? )
[ drop f ] [ [ 1 + ] 2dip ] if
] until 2drop
;
:: (hand-compare) ( hand1 hand2 type-key-quot card-key-quot -- <=> )
hand1 hand2 type-key-quot compare
dup +eq+ = [
drop hand1 hand2 [ card-key-quot compare ] { } 2map-as
{ +eq+ } without ?first
dup [ drop +eq+ ] unless
] when
; inline
: hand-compare ( hand1 hand2 -- <=> ) [ type-key ] [ card-key ] (hand-compare) ;
: input>hand-bids ( -- hand-bids )
"vocab:aoc-2023/day07/input.txt" utf8 file-lines
[ " " split1 string>number 2array ] map
;
: solve ( hand-compare-quot -- )
'[ [ first ] bi@ @ ] input>hand-bids swap sort-with
[ 1 + swap last * ] map-index sum .
; inline
: part1 ( -- ) [ hand-compare ] solve ;
: card-key-wilds ( ch -- n ) "J23456789TQKA" index ;
: type-key-wilds ( hand -- n )
[ type-key ] [ "J" within length ] bi
2array {
{ { 0 1 } [ 1 ] }
{ { 1 1 } [ 3 ] } { { 1 2 } [ 3 ] }
{ { 2 1 } [ 4 ] } { { 2 2 } [ 5 ] }
{ { 3 1 } [ 5 ] } { { 3 3 } [ 5 ] }
{ { 4 2 } [ 6 ] } { { 4 3 } [ 6 ] }
{ { 5 1 } [ 6 ] } { { 5 4 } [ 6 ] }
[ first ]
} case
;
: hand-compare-wilds ( hand1 hand2 -- <=> ) [ type-key-wilds ] [ card-key-wilds ] (hand-compare) ;
: part2 ( -- ) [ hand-compare-wilds ] solve ;
Thanks for the report! I'd love to see a screenshot of your set up if you don't mind and get chance.
For reproducible configuration in the Arch world, there's a project which always looks good to me: aconfmgr
https://github.com/CyberShadow/aconfmgr
I think Arch+aconfmgr+yadm+btrfs == a pretty solid arrangement.
Though I'm of course itching for first class Bcachefs support...
I haven't, at least not in years if I ever did. I didn't start enjoying Plasma until 4, and I have a feeling I'd miss a whole different set of features going "back" to a 3-style desktop. Do you actually use it daily?
They might be referencing the fact that technically the DE's name is Plasma, not KDE.
Thank you! While I've heard of Tenacity I haven't heard of this, and I'm already a fan of Hynek.
No. In addition to browsers' prefers-dark-mode setting, there is also the fallback foreground and background color choice, used whenever a website does not specify a foreground or background color. One common case is when viewing a plain unstyled site or txt file.
A dark-mode preferring user might choose for these fallbacks a light foreground and dark background. The problem is then that some designers will carelessly specify either the foreground or background color (and not both), assuming that their choice will happen to have good contrast with every user's browser preferences.
More low contrast examples from the Statamic docs:
In Firefox's preferences page those settings are accessed with the "Manage Colors" button just below dark-mode selection, and look like this:
Notice that I am not overriding any colors specified by the page.