Skip Navigation

Posts
23
Comments
438
Joined
2 yr. ago

  • You need to grow some thick skin if you are going to interact with people on the internet.

  • Codeberg, powered by Forgejo. They will also support federation with ActivityPub someday using the ForgeFed extension. So you can just self host Forgejo.

    I'm also not sure what you mean by "using 2fa to stalk"

  • crypto bros' hangout

  • Yeah well, that's not doxxing.

  • COCK.LI IS ON RED ALERT.

    Jump
  • What will happen to my @horsefucker.org email

  • I actually think some URI like fediverse:... might be better. You know, something like the mailto:coolguy@coolmail.com URI that works across all supported email websites or even apps.

  • Yeah, Qwant. Their own index plus bing. Information is still sent to Bing, plus Qwant.

  • Privacy? Ecosia literally forwards your information to Bing. They're also behind Cloudflare.

  • How is linking to freely and publicly available information to their profile links considered doxxing?

  • I agree. I also use Posteo. Their privacy policy and website seem to be one of the most sane ones. They also allow you to use external email clients.

  • I've been using Posteo for a while now. They have the most sane privacy policy out there. They also support IMAP and POP3 ootb for external email clients, unlike some other email providers (e.g. Protonmail).

  • Whatever will they do without algorithms recommending their low effort posts to other users?

  • Thanks for understan

  • here, it definitely is shorter, I'll keep filter_map in mind, thanks:

     rust
        
    fn get_links(mut link_nodes: Select) -> Vec<String> {
        link_nodes.into_iter().filter_map(|node| node.value().attr("href").map(|href| href.to_string())).collect()
    }
    
      
  • it answers your question. you don't expect me to spoon feed you, do you? learn how to read documentations

  • Vanilla Arch.

  • What source? That was obvious sarcasm.

  • Here's what you are trying to do, with a one liner:

     rust
        
    fn get_links(mut link_nodes: Select) -> Vec<String> {
        link_nodes.retain(|node| node.value().attr("href").is_some()).into_iter().fold(Vec::new(), |links, node| links.push(link.value().attr("href").unwrap().to_string()))
    }
    
      

    edit: shorter and updated version:

     rust
        
    fn get_links(mut link_nodes: Select) -> Vec<String> {
        link_nodes.into_iter().filter_map(|node| node.value().attr("href").map(|href| href.to_string())).collect()
    }
    
      

    The retain method is to get rid of all the nodes which don't have a href attribute and the fold method after it is to extract the href out of the nodes and push them into the vector.

    It might work or not, I've written this from my memory and I can't exactly know what that Select is.

    I also hope you begin reading The Book without half assing it.

  • Fediverse @lemmy.world

    2024-11-08 - Lemmy Release v0.19.6

    join-lemmy.org /news/2024-11-08_-_Lemmy_Release_v0.19.6
  • Programming.dev Meta @programming.dev

    Since Lemmy v0.19.4 introduced community visibility settings, why not make this community local only?

  • Ask Lemmy @lemmy.world

    Temporary rule added: no US politics

  • Programming @programming.dev

    How do I store my websites users' user script's logs?

  • Technology @lemmy.world

    Stract: Independent and Open Search

    stract.com
  • Arch Linux @lemmy.ml

    Which is better: Aura or Paru?

  • 196 @lemmy.blahaj.zone

    "mhm, yes"

  • Technology @lemmy.world

    Loops by Pixelfed is finally sending out welcome emails after weeks

    pixelfed.social /p/loops/757934214441611238
  • Ask Lemmy @lemmy.world

    Some random stranger sent me this image in matrix. What do you think?

  • Fediverse @lemmy.world

    Loops by Pixelfed • Public beta (hopefully) launching in 10 hours

    loops.video
  • Fediverse @lemmy.ml

    Loops by Pixelfed • Public beta (hopefully) launching in 10 hours

    loops.video
  • Technology @lemmy.world

    Concerns Raised Over Bitwarden Moving Further Away From Open-Source

    www.phoronix.com /news/Bitwarden-Open-Source-Concerns
  • Selfhosted @lemmy.world

    What are the requirements for a single user Lemmy instance?

  • Fediverse @lemmy.ml

    Loops by Pixelfed • Public beta launching in 16 hours

    loops.video
  • Fediverse @lemmy.world

    Loops by Pixelfed • Public beta launching in 16 hours

    loops.video
  • Fediverse @lemmy.world

    Loops by Pixelfed • Public beta launching in a week

    pixelfed.social /p/loops/744116578847631186
  • Aneurysm Posting @sopuli.xyz

    speech is not spoken until spoke

  • New Communities @lemmy.world

    2024 Anime related active communities promotion post

  • Programming @programming.dev

    Feature requests for a lemmy moderation bot

  • Fediverse @lemmy.ml

    Feature requests for a lemmy moderation bot