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/)P
Posts
0
Comments
43
Joined
2 yr. ago

  • Aluminum is the fifth most common element on Earth, and is naturally present in pretty large quantities in soil.

    Are you sure you aren't confusing it with lead?

  • If you were as confused by this as I was:

    Shortly after the vote, the U.S. Chamber of Commerce said it would sue the FTC to block the rule

    The US Chamber of Commerce is a right-wing lobbying group for businesses, unrelated to the US Department of Commerce which is an actual government agency.

    https://en.m.wikipedia.org/wiki/United_States_Chamber_of_Commerce

  • No, sorry. Ethically, this technology can only be used for torture.

  • Hardware cloth is a metal mesh.

  • Then, you could take those comments, and have the compiler use them to ensure you're using the right variable in the right place. Oh wait, we just invented a type system.

  • Works even better in Ruby, as the code as given is valid, you just need to monkey patch length:

     
        
    #!/usr/bin/env ruby
    
    module DayLength
      def length
        if ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"].include? self
          "24 hours"
        else
          super
        end
      end
    end
    
    class String
      prepend DayLength
    end
    
    day = "Monday"
    
    x = day.length
    
    print(x)
    
      
  • It could be Ruby; puts is more common, but there is a print. With some silly context, the answer could even be correct:

     
        
    #!/usr/bin/env ruby
    
    module DayLength
      def length
        if ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"].include? self
          "24 hours"
        else
          super
        end
      end
    end
    
    class String
      prepend DayLength
    end
    
    day = "Monday"
    
    x = day.length
    
    print(x)
    
      
  • What? You said you don't like pride parades and the response was "don't go then". Not everything is for everyone.

    Do you want everyone who enjoys pride parades to change them to specifically cater to you?

  • I'm sorry to hear that. I think at one point in my past, about half my job was tracking down nil dereference errors in Ruby. And probably a quarter was writing tests for things a good type system would catch at compile time.

  • Unfortunately, the answer to that doesn't lie in science but in politics.

  • I assume you meant trillion and not million for those gdp figures? Even then, they're low.

  • But you can delete your copy, ask others nicely to delete theirs, and refuse to accept more copies of the same thing.

    I'm not sure if Lemmy supports any of this, but it seems pretty important for e.g. child porn.

  • By vertical tabs do you mean tabs on the side instead of the top? If so, check out the tree-style tabs extension, it's great.

  • Your white led is a blue led with a phosphorescent coating.

  • Pray it just works? Get consumer-friendly legislation to pass in the US somehow? Maybe a genie wish or an infinity gauntlet could be used for this purpose.

    Apple has never been great at enabling developer testing. I certainly don't see why they'd care if shit works on third party browsers. The more broken apps are just means the more users who will give up and use Safari.

  • Amumu is a character in League of Legends. One of his abilities is to cry, which causes damage to anyone near him.

  • It's still wild to me that I visited Hawaii as a kid, and then several years later. When I went back, a road I had driven on as kid was covered in lava.

  • What? The people who made him buy it got paid already. I'm sure they're laughing every time they see it drop in value.

  • Python with numpy/matplotlib/scipy.