4
43
anonymouse

@sh.itjust.works

anonymouse 91 points 2 years ago

Same, staying with bitwarden for now

path: 0 9577918 9578304, hotness: undefined, score: 91, children: 8
anonymouse 43 points 3 years ago

FTW. For years I thought it meant "Fuck The What". Even now that's the first thing that comes to mind and have a hard time remembering the actual meaning.

path: 0 6472489, hotness: undefined, score: 43, children: 22
anonymouse 22 points 2 years ago

I saved and older post where this was mentioned: https://imginn.com/ Seems like it's still working and comments are available

path: 0 14258411, hotness: undefined, score: 22, children: 0
anonymouse 20 points 2 years ago path: 0 9577430 9577504 9577732 9577818 9578385, hotness: undefined, score: 20, children: 0
anonymouse 20 points 2 years ago

Anya Taylor-Joy

path: 0 10087603, hotness: undefined, score: 20, children: 1
anonymouse 16 points 2 years ago

Uhm... Are two of them in that pot?

path: 0 10280642, hotness: undefined, score: 16, children: 1
anonymouse 11 points 2 years ago

Tiny Darkhounds?

path: 0 14719966, hotness: undefined, score: 11, children: 0
anonymouse 10 points 3 years ago

Nice username! Stormlight right?

path: 0 6229690 6233155, hotness: undefined, score: 10, children: 4
anonymouse 9 points 3 years ago

Love this game, both playing it and watching it being streamed, there is a great tournament happening at the moment.

path: 0 6530724, hotness: undefined, score: 9, children: 4
anonymouse 9 points 2 years ago

Coming in the future for custom domains as well, amazing!

path: 0 9578490, hotness: undefined, score: 9, children: 1
anonymouse 7 points 2 years ago

I haven't been able to find an active community on bitcoin or crypto in general, unfortunately. Got the feeling there is no big overlap in Lemmy users and Crypto enthusiasts. Feeling also supported by the other comment on this post 😅

path: 0 9637714, hotness: undefined, score: 7, children: 2
anonymouse 6 points 2 years ago

Interesting read. Does anyone have experience with the Bitwarden implementation of passkeys? Already on the Proton suite, but still using BW for passwords at the moment since I like the app and extension, but might switch

path: 0 9207922, hotness: undefined, score: 6, children: 3
anonymouse 6 points 2 years ago path: 0 11081113 11082491, hotness: undefined, score: 6, children: 0
anonymouse 6 points 3 years ago

I think it's related to the replacement of words with digits. There are some overlapping words, for example in "eightwothree" the "t" is used for both "eighT" and "Two". In this case the order of replacement differs your result. It either becomes "8wo3" or "eigh23".

path: 0 5720397, hotness: undefined, score: 6, children: 1
anonymouse 5 points 2 years ago

Jacha-chacha-chacha-chow!

path: 0 9180361, hotness: undefined, score: 5, children: 0
anonymouse 5 points 3 years ago path: 0 7530450, hotness: undefined, score: 5, children: 1
anonymouse 4 points 3 years ago

Rust

Feedback welcome! Feel like I'm getting the hand of Rust more and more.

use regex::Regex;
pub fn part_1(input: &str) {
    let lines: Vec<&str> = input.lines().collect();
    let time_data = number_string_to_vec(lines[0]);
    let distance_data = number_string_to_vec(lines[1]);

    // Zip time and distance into a single iterator
    let data_iterator = time_data.iter().zip(distance_data.iter());

    let mut total_possible_wins = 1;
    for (time, dist_req) in data_iterator {
        total_possible_wins *= calc_possible_wins(*time, *dist_req)
    }
    println!("part possible wins: {:?}", total_possible_wins);
}

pub fn part_2(input: &str) {
    let lines: Vec<&str> = input.lines().collect();
    let time_data = number_string_to_vec(&lines[0].replace(" ", ""));
    let distance_data = number_string_to_vec(&lines[1].replace(" ", ""));

    let total_possible_wins = calc_possible_wins(time_data[0], distance_data[0]);
    println!("part 2 possible wins: {:?}", total_possible_wins);
}

pub fn calc_possible_wins(time: u64, dist_req: u64) -> u64 {
    let mut ways_to_win: u64 = 0;

    // Second half is a mirror of the first half, so only calculate first part
    for push_time in 1..=time / 2 {
        // If a push_time crosses threshold the following ones will too so break loop
        if push_time * (time - push_time) > dist_req {
            // There are (time+1) options (including 0).
            // Subtract twice the minimum required push time, also removing the longest push times
            ways_to_win += time + 1 - 2 * push_time;
            break;
        }
    }
    ways_to_win
}

fn number_string_to_vec(input: &str) -> Vec {
    let regex_number = Regex::new(r"\d+").unwrap();
    let numbers: Vec = regex_number
        .find_iter(input)
        .filter_map(|m| m.as_str().parse().ok())
        .collect();
    numbers
}
path: 0 5842523, hotness: undefined, score: 4, children: 5
anonymouse 4 points 3 years ago

Fantasy book series by Brandon Sanderson!

path: 0 6229690 6233155 6238984 6239571, hotness: undefined, score: 4, children: 0
anonymouse 4 points 3 years ago

I started on the Tawny Man triology by Robin Hobb, love it so far!

path: 0 6303528, hotness: undefined, score: 4, children: 0
anonymouse 4 points 2 years ago

Had The same issue yesterday, was probably related to all the digital issues in NL yesterday. I tried again and its working now, just thought to let you know!

path: 0 12037009 12050161, hotness: undefined, score: 4, children: 1

thanks for using Leebra!

go to feed...