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

  • Sure, there are cordless power tools. I am not sure what you're saying.

    As for your dishwasher: I'm sure it has received surface treatment as the people designing it made the connection dishwasher ——> water in their heads, so you end up with a surface that, while proudly displaying every fingerprint, at least doesn't immediately pick up surface rust. Or it features one of the 20 types of alloy that are more resistant to rust. That apparently didn't happen for the Cybertruck.

    In any case, what I was saying: maybe plain stainless wasn't such a great choice for the body of a car. Maybe if you really lean into it and intentionally add to the rust / accentuate the shoddy exterior, the overall design could work as DIY'ed, end-of-the-world, Armageddon - style Mad Max vehicle. I could see that.

  • Yes, you can get the "Powershare" option which will include 2 110V outlets in the cabin, 2 in the bed and 1 additional 240V outlet in the bed.

    They have enough power to run an angle grinder, but that's also about the only positive thing I can say about that car.

    I can't believe how run down it looks in OP's picture, given how recently it was made available.

  • I am aware of what you are saying, however, I do not agree with your conclusions. Just for the sake of providing context for our discussion, I wrote plenty of code in statically typed languages, starting in a professional capacity some 33 years ago when switching from pure TASM to AT&T C++ 2, so there is no need to convince me of the benefits :)

    That being said, I think we're talking about different use cases here. When I'm talking configuration, I'm talking runtime settings provided by a customer, or service tech in the field - that hardly maps to a compiler error as you mentioned. It's also better (more flexible / higher abstraction) than simply checking a JSON schema, and I'm personally encountering multiple new, custom JSON documents every week where it has proven to be a real timesaver.

    I also do not believe that all data validation can be boiled down to simple type checking - libraries like pydantic handle complex validation cases with interdependencies between attributes, initialization order, and fields that need to be checked by a finite automaton, regex or even custom code. Sure, you can graft that on after the fact, but what the library does is provide a standardized way of handling these cases with (IMHO) minimal clutter. I know you basically made that point, but the example you gave is oversimplified - at least in what I do, I rarely encounter data that can be properly validated by simple type checking. If business logic and domain knowledge has to be part of the validation, I can save a ton of boilerplate code by writing my validations using pydantic.

    Type annotations are a completely orthogonal case and I'll be the first to admit that Python's type situation is not ideal.

  • I'm not talking about type checking, I'm talking about data validation using pydantic. I just consider mypy / pyright etc. another linting step, that's not even remotely interesting.

    In an environment where a lot of data is being exchanged by various sources, it really has become quite valuable. Give it a try if you haven't.

  • I wholeheartedly agree. The ability to describe (in code) and validate all data, from config files to each and every message being exchanged is invaluable.

    I'm actively looking for alternatives in other languages now.

  • I'm aware of that, but let's be honest here: social and political changes are not introduced, let alone solved, by technology.

    You said it perfectly: this is about business needs. I'd like to argue to make the barrier for entry even higher (tie it to a form of citizen identity) and mandate the petition must be reviewed / acted upon once it has become significant - frameworks like this do exist already in several countries.

    Everyone has multiple email addresses today, does that not fundamentally erode the validity of change.org as a platform for direct democracy then? I do believe this is the case, so I'd love if another website would at least stop violating already existing standards and force their erroneous interpretation of how email addresses work down our throats.

  • The local parts of email addresses are standardized, and there is an RFC handling subadressing as well, see RFC 5233 - it's not like Gmail invented this behavior.

    Also, RFC 5321 clearly states (2.3.11) that the local part of an email must only be interpreted by the receiving server, so that part should not be parsed, modified or mangled in any form - the assumptions poor web forms or validation libraries make these days are incredibly annoying and simply not compliant.

    So no, non of your suggestions are good, let alone ideal. Ideally, people would simply implement the specs and stop making lazy and false assumptions. In the case you cited, it turns out email validation is simply not the proper tool to limit how often the form can be submitted. Similar websites use e. g. text messages.

  • Uh, maybe say something that doesn't include the word "rape" in a sentence?

    "Just passing by, in a hurry... sorry to bother you" has always worked just fine for me.

    Hey just so you know, I'm totally not going to rape you 😏 Jesus man, that'd creep me out, too.

  • Your USB ethernet adapter is down according to this output.

    In case Ubuntu server comes with e. g. dhclient installed, you should be able to get a working network connection by ensuring a cable is properly plugged into your USB ethernet adapter and running

    sudo dhclient -v enx949aa9857457

    You might want to post the output of that command here. Alternatively, configure the USB adapter using one of the management tools mentioned in this thread already.

  • As a general rule, maybe don't use shorthand terms you invented in posts that are supposed to provide information to the people trying to help you, just so you don't confuse them any further.

  • How do you guys block thousands of communities? I have blocked around 10. I can exhaust my /all feed around twice a day, there isn't even enough content showing up for me to block 1000+ communities.

  • You can admire the rock. You can just hold the rock, meditate over its roundness. The rock can become your friend, your little secret, a comfort you can take anywhere. The rock is eternal. If you cradle it for a lifetime, you might contribute a miniscule amount to its perfect shape. Your life can have meaning.