872 karma · joined Oct 4, 2022 (4y ago) · 265 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Non-permissive open source licenses have been on a slow death march for over a decade. They're effectively pointless now.
Either you decide to give your code for free to everyone or you don't. Adding a bunch of restrictions defeats the purpose of OSS.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
There are no completely safe investments.
comment 3y ago · link · parent
comment 3y ago · link · parent
The only hope for downtown LA is to convert a giant chunk of it to residential and entertainment and restaurants and put something in downtown to draw people, like a museum or something. The only thing even close to there now is the staples center, but even that doesn't have a neighborhood or stuff to do around it.
comment 3y ago · link · parent
People who collect things, or have a workshop in their garage, or go fishing, or hunting, or real hiking, or any outdoor activity really, or who have children (especially more than one).
If I lived in the city, I would probably get rid of my car and just rent one when I needed it. But I just don't really want to live in the city because none of the stuff I enjoy most is there.
comment 3y ago · link · parent
The only real solution is to take that sort of administrative discretion out of the hands of as many government employees as possible. Leave that discretion to judges.
The problem is that whenever these types of abuses go to court, the judicial branch has consistently given wide amounts of discretion to the executive branch of government unless the legislature has explicitly limited it. We need more legislators that are willing to dictate the limits of power to the executive, but that just hasn't happened in a long time.
comment 3y ago · link · parent
And while that is a simple pattern, it's not a good pattern, and quickly becomes unmaintainable in a program of any size. Using *kwargs because of Too-many-arguments and so you can violate the Liskov substitution principle isn't good programming. Just because it can be done doesn't mean we should start bastardizing typing to make it easier.
comment 3y ago · link · parent
Also, we've been using non-standard type hints for nearly all of python 2, they were just non-uniformly specified in docstrings and weren't easily referenced or introspected for tooling and IDE's to work with them.
comment 3y ago · link · parent
Not really. It's only complex when they're used with poor design decisions. There are plenty of languages that allow you to do things that aren't a good idea. Python is no exception. Type hinting just makes those shortcomings more readily apparent.
> Callable doesn't even support kwargs
PEP 544 and Protocols have existed for 5 years, and they support keyword only type hinting for callables.
comment 3y ago · link · parent
comment 3y ago · link · parent
Less overall cyclists means less visibility and less awareness by motorists (ie. if you encounter less bikes, you're less likely to watch out for them)
comment 4y ago · link · parent
Mandating a technology standard, purely for personal preference and convenience reasons -- not for reasons related to safety, or pollution, or security -- especially for things that change as fast as phones, is one of the most short-sighted and naive things any government could do.
There's a long history of Apple using proprietary connectors to achieve performance specifications above what the currently available standardized connectors could provide. Hell, in all likelihood, Apple is likely to ditch a charging connection altogether in favor of wireless charging in the near future. The EU is mandating technological stagnation. They will always be behind the market.