• 1 Post
  • 820 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle
  • My point is that Gaza should have no impact on your voting decision at all because not voting, voting Democrats and voting Republicans will get you the same outcome there, which would also be the outcome you got from literally any other US administration or potential administration (as in candidate that lost) in the entire history of Israel’s existence.

    Which leaves all the other potential considerations. Trust in the Democratic party can certainly be one of those but don’t pretend not voting makes you morally better on the Gaza issue itself. That whole “inaction makes me better” mindset when action and inaction have literally the same outcome needs to die because it is literally not true.



  • Your return will return from the function, not from the for loop as you probably assume. The for loop itself does not return a value. Only loop based loops can use break to return values, other loops do not.

    You also forgot the let keyword in your assignment

    I assume you want to return the value of the href attribute for the first node that has one? In that case you want something like

    fn get_first_href_value(link_nodes: Select) -> Option<String> {
            for node in link_nodes {
                if let Some(href_value) = node.value().attr("href") {
                    return Some(href_value.into());
                }
            }
    
            None
    }
    

    or, more idiomatically

    fn get_first_href_value(link_nodes: Select) -> Option<String> {
        link_nodes.into_iter().find_map(|node| node.value().attr("href")).map(|v| v.to_string())
    }
    


  • Not voting to absolve yourself from moral responsibility for the outcome is a fallacy though. Many people do believe that inaction somehow makes them less responsible but that just isn’t the case. Inaction isn’t the magical option, you still have to live with the outcome and you still have all the same opportunity costs as with any choice on the ballot.

    If you think you aren’t responsible for the events in Israel and Palestine because you didn’t vote for either candidate you are just deluding yourself.








  • I really don’t understand this whole Palestine argument. You have the choice between two candidates who both have very similar positions on the issue in a country that has historically never held any other position on it, regardless of who was in power and somehow you make that the one deciding issue for this election even though it literally makes no difference on the issue who you vote for in the election.








  • I would love to see some new form of having arguments that prevent all that going in circles with the same arguments reappearing again and again. Possibly even one where it matters less if you don’t think of just the correct way of phrasing it in the moment because the arguments can be refined in place and extra info like evidence added later, something like a wiki with a graph of common political arguments.

    Somehow I feel the form of our public discourse, both within the various camps and in greater society, is in large part to blame for the state our political systems are in today. Sound-bites, tweets, short videos at best, headlines. Nuance is required for a lot of modern problems and it just isn’t there.