

What will happen to my @horsefucker.org email


What will happen to my @horsefucker.org email


Seems like Luau will do. Thanks


Thanks for this. Seems like I’ll go with Lua. I actually did try Rhai before posting this and it did work pretty easily and had a very nice and convenient plugin system. But it had no LSP and on top of that, it wasn’t as easy as Lua.


Thanks for the suggestion. Though JS itself is a pretty weird language and has some weird behaviours, I’d rather not use it. It’s also a bit too advanced for my use case. (somewhat simple control flow, maybe some math, etc.)


Thanks for understan


I would’ve considered buying this. That’s a good deal.

it answers your question.


Here’s what you are trying to do, with a one liner:
fn get_links(mut link_nodes: Select) -> Vec {
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:
fn get_links(mut link_nodes: Select) -> Vec {
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.


Linux was optimized to be used as a desktop OS?


Please explain what it is you are trying to do.
As far as I can understand from the function return value and the body of the function, you are trying to compose all of the href attributes in each node into a single String, which is encapsulated in an Option. Is this correct? Something looks weird but I can’t quite catch it. I hope you didn’t take a quick glance over the rust book and just started assuming things work like JS in Rust.
Yes but they have KYC.


you fuck off from this community


I really liked oregairu, clannad and toradora for the romance genre. Oh and fruits basket too.


A meta community is supposed to be only for discussions about the instance itself. What would people from other instances need to discuss here?


What would you suggest?


Yeah sure. Though I’m not really sure if I can be an active mod with the way things are right now.


Yep, he seems to be the current owner.
Can’t wait for the enshittification of this “decentralized” platform.
People are damaging the reputation of real decentralized fediverse platforms like mastodon and lemmy by adding bluesky into the fediverse even though they aren’t even decentralized to begin with. Funny