897 karma · joined August 31, 2019
This is the reason I use NeoStore to install apps like NewPipe on my family members' phones. Before, when Newpipe broke they wouldn't know how to update it, now it just stays updated all the time.
[1] https://www.f-droid.org/en/packages/com.machiav3lli.fdroid/
With more complex types, I've found it isn't necessary to do anything more complex than specifying the element type of a list or dict most of the time. I have typehinted lambda function arguments before, but just using the plain Callable typehint is usually enough. When I forget if I need to use an Iterator or an Iterable (which is every time), then I just try one and run the type checker and change it to the other if i guessed incorrectly.
Type checking Python can become complex if you expect to be able to express everything in the typehints, but Python's type system isn't powerful enough for that. I feel its strength is that it lets you add as much detail to the types as is convenient.
You can normally tell when someone uses the incorrect stroke order because things will be the wrong size. For example, when writing 因 you're supposed to write the outer ㄇ first, then the inner 大 and then the bottom horizontal stroke of the 口. If you start with the 大 then it's harder to write the outer 口 the right size.
Again, this is all from a beginner, so take it with a good amount of salt.
I found RedFrames [1] recently which wraps Pandas dataframes with a more consistent interface, it's probably what I'd use if I had to write data transformations that had to be compatible with Pandas.
[1] https://forgejo.org/ [2] https://codeberg.org/forgejo/forgejo/issues/59
sort(x)
returns the sorted object, but sort!(x)
returns a "nothing" and mutates the object in place. julia --project=. -e 'import Pkg; Pkg.instantiate()'
Not as clean as running python -m pip install -r requirements.txt
but it's something. --platform linux/arm64
argument with Docker Desktop and that seems to be working for them.You can use both languages in one project, so I'd recommend trying GDScript at first. It's a very simple language so it can be picked up quickly, but as soon as you feel yourself reaching for LINQ or wanting a proper type system then switch that script to C#.
> If they cannot afford proper safety equipment then the business is a liability.
And
> If buying safety equipment causes an employer financial distress then it is a liability.
But I think most people would agree with the first statement and disagree with the second.