tuna

u/tuna@discuss.tchncs.de
12 posts · 118 comments

Recent posts

Recent comments

on Read Theory, Darn it! · c/socialism · 4 pts · 352d

Left monitor: theory

Right monitor: geometry dash

Play geometry dash -> take a break -> read theory -> take a break -> 🔁

I'm really liking this loop :3


One suggestion I have is an optional, guided prompt at the end of each resource/section, like "what are the 3 main points?" or "what is [thing] and why does the author argue against it?". I find it quite alarming when I read all the words but feel I missed the big ideas (regardless of whether it has my undivided attention). I think that those prompts would help retrain my mind to read the text actively and digest it better ^^

Edit: On second thought, "guided prompts" really just sounds like another name for homework, which im unsure if you really intend on having in your reading list... up to you :D

I dug even deeper and installed Weston to see how seats are configured. Turns out this is done by attaching a udev property to the device called WL_SEAT, which libinput uses to make logical seats, which Weston uses for seat management. See: https://wayland.freedesktop.org/libinput/doc/latest/device-configuration-via-udev.html

Note: your udev filter (the ones with ==) matters!! I thought I could re-use the filter generated from loginctl (i.e. ENV{ID_FOR_SEAT}=="..."). This led to several confusing hours where I could set ENV{ID_SEAT} but not ENV{WL_SEAT}. Follow the docs above and you'll be fine.

Once I got it working in Weston, I tried it on Plasma, and got my answer: no, Plasma Wayland does not currently support multi-cursor.

It looks like the best solution in our case will be to use the Plasma X11 session. I was able to reinstall the x11 session on my pc and tested multi-cursor there, and it seemed to work as expected.

If the X11 session is too unstable, I guess Weston is there as a backup.

I've been meaning to try out netpbm

If you aren't aware, pbm represents an image with plaintext, which makes it great for when you want to easily create an image with code

I recently learned there is a whole suite of CLI tools which work with the format. Like conversion to/from png, scaling, and overlaying one image on top of another.

I've using localsend and it's great :)

I would normally use KDE Connect (iOS version) but I had some issues with it. The push local clipboard didn't work, and I think receiving files to my phone didn't work either. It also had a hard time reconnecting to my computer after pairing. It might be better now though, this was several months ago.

on Linux Users- Why? · c/linux · 1 pts · 1y

I primarily want something simple I can bend to my will, and secondly I want a good out of the box experience. For me that's been Arch + KDE. The wiki and AUR are great!

I would say every step of the way I just wanted more and more ownership of my system. I make it, I break it. One specific experience which drove me to that camp was the time I had to jailbreak my iPhone and dig through files to disable some deprecated parental control setting... give me ownership over my stuff!

on private String gender; · c/transmemes · 10 pts · 1y

PR: Merged

Good call with using a shared reference so now we can kiss our partner(s) more than once!!

Kissing many partners with one big smooch might be hard tho, maybe we need to change the implementation to use combinatorics so that everyone kisses each of their partners at least once.

Since there's no way to tell who kisses who, i can cheat by printing nCr times :3

pub fn lovers(partners: &[&dyn Gender]) {
    match partners.len() {
        0 => {
            println!("ghost smooch~");
        }
        1 => {
            println!("mirror smooch~");
        }
        p => {
            // p >= 2, safe to unwrap
            for _ in 0..ncr(p, 2).unwrap() {
                println!("smooch~");
            }
        }
    }
}
on private String gender; · c/transmemes · 30 pts · 1y
pub trait Gender {}

// implement your own gender, and if u want, publish online! :3
pub struct Masculine;
impl Gender for Masculine {}
pub struct Feminine;
impl Gender for Feminine {}

// removed old api:
// fn two_lovers(one: Masculine, two: Feminine)
// srry not srry for breaking backwards compat
// new version has more flexible api!<3
fn two_lovers(one: Box<dyn Gender>, two: Box<dyn Gender>) {
    println!("smooch~");
}

// todo: other functions!!

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn me_and_who() {
        two_lovers(Box::new(Feminine), Box::new(Feminine));
    }
}

Someone can correct me if im wrong but I think nullable in C# still doesnt force you to do a null check before accessing properties or methods, however I believe it does give a type error when using a nullable type where non-nullable is expected, which is good. So it might not be 1-to-1 but it fulfills a similar purpose for sure.

Coming from a rust background I would have sure appreciated my workplace enabling the nullable feature on our main codebase from the start. I've run out of patience for null errors :(

Lmfao, it's kind of funny when you think of it in that way xD. But I guess the meme in general works as a progression where as you understand more, you land back on the same opinion you had originally, just with a new perspective. Or an even simpler explanation: both ends same words, middle different words.

on me when rule · c/onehundredninetysix · 1 pts · 1y

For a long time I have not wanted to think about my future, despite people telling me I have good potential. It wasn't until I saw my future as a girl that I can see future possibilities and a life worth living :)

It also plays into a small joke I told myself which is that trans people have the ability to see/predict the future x3

on It's gotten better · c/linuxmemes · 4 pts · 1y

I've had it where my wireless mouse (connected with a usb dongle) stutters when my wifi/bluetooth chip is going full-throttle. I thought it was some polling rate on my mouse, or maybe my mouse was dying, but nah lol. This is next level insane tho