Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)K
Posts
0
Comments
20
Joined
2 yr. ago

  • It's because they wanted to hack control flow functionality into expressions. Returning None is actually returning something, but never is just a placeholder for any type when they want to do things that may exit the expression entirely. This is an example in the docs

     
        
    let num: u32 = match get_a_number() {
        Some(num) => num,
        None => break,
    };
    
      

    Break exits the expression without ever producing a value.

    This is an unfortunate wart to appease a desire to those that want to be able to write code like they do in legacy languages. There should have been better ways to do this without being a hack IMO

  • What I learned in Texas is that almost everything is a toll road too. So you have to pay to use the roads each time.

  • Ya that one has been known for a while

  • An appropriate acronym: American Secret Service = ass

  • This is a pretty straightforward utility function that wouldn't be that hard to test. It's normal to have standards for code coverage as part of the review process, I don't code in C but I'd be surprised if setting any of that up is actually that burdensome.

    I disagree with your reference of that quote being applicable here though. In fact, adding unit tests is the exact opposite: that quote is saying 'if your answer is "make less mistakes" ....' Unit tests in general are an acceptance of the fact that we will fail to be perfect and we need to mitigate that with extra checks. The article already said it had two human reviewers, so they're not opposed to extra process to help ensure quality, unit tests are just another (actually very cheap) extra step.

  • No unit test?

  • Trump wants more local oil production, but the price doesn't warrant it, this is how they do it.

  • What does race have to do with anything said? Is Spanish (or Spaniard idk what's correct) a race?

  • Ya that's true for multiengine in general. I just didn't know if there was any other sequencing needed for the 787 (like move flaps from 5 to 4) because I know nothing about flying such large planes.

  • Also gear should probably be retracted first (though I don't actually know for certain for this aircraft)

  • Boeing has plenty of problems, including many issues with the 787, but air India is not an airline I'd trust. The airline is responsible for maintenance and ensuring their pilots are qualified, if I had to bet, I'd say the issue was in one of these areas.

  • Paintballs can blind you

  • Npr was talking about this yesterday on the radio, it's apparently very common.

  • He was born in New York

  • That's very similar to a line from Hook

  • I think the area is seismically stable, which is a major factor for this kind of manufacturing.

  • Getting customers to have a faster internet connection should mean that they visit more sites/do more searches which should mean more ad impressions, which should mean more pathways to revenue generation for Google. Customers not having access to fast internet is an impudence to Google's future revenue generation.

  • If it's incorporated (not a sole proprietorship or a partnership), the business is a legal entity just as a person, so the company would have to represent itself, but it's not a real physical entity, so it can't.

  • How the fuck can they require you to have an apple device to reset the password?!?