315 karma · joined August 25, 2021
I’m working on documenting my knowledge as a developer and creating training material for teaching others.
Message the organizer and post it here too please.
Seeking environments and opportunities that have a lot of derivative values works really well. If you want to be rich and happy, seek a job that pays well, has work you like, and coworkers you learn from and enjoy working with.
These different things all are interrelated. People who work well together are creative and productive so they can earn more.
This is why we should fix society’s problems and not just take care of ourselves. We can’t avoid experiencing other people’s problems. Affordable housing, drugs, nutrition, crime, etc. affects all of us when we see or hear about it.
Being impacted by one of these issues is enough to prevent someone from getting the rest of what they need. Not addressing our issues leads to them growing worse over time and even the ones doing well will feel it.
If we don’t value conservation and sustainability of the system we’re in, we will have a hard pursuing our personal values in the future over our own basic needs.
First, I install python3 packages I think I need from apt and set up vscode plugins for Julia notebooks. Great,I have a repl environment and can use Python library we’re working on.
Now I want to hack the library code. The project docs say to run “just make”. Ok, that’s a rust tool, so I’ll install cargo via apt and get that installed.
The Justfile install just has a pip install with dependencies listed, which appear to be defined in pyproject.toml. I run just install, and at the end it throws errors about dependencies.
In the end, I used conda to set up the environment and get everything installed. But it seems like if the environment doesn’t have something, it gets it from the system instead of installing its own.
The project used setuptools. The python3-pip apt package requires puthon3-setuptools v59. PEP 660 adds editable installs, implemented in setuptools v64.
My takeaway is that you should not use your system installed Python packages for development, and should install as few as needed by your system or else you have to set up more overrides in your project.
Php has psy shell. When it is loaded for a Drupal/symfony site, you can run api calls against the database. This is where things get tricky.
I can imagine better tooling for psy shell that could protect the underlying data to experiment with code before executing it. It would be great to develop system updates this way if we could work on a copy of the data until we’re happy with the output, then run it for real.
I use psy shell to load services and see what their methods do. The environment is not persistent, but maybe I can export my work to a file. Would love to keep results around for testing or running other functions on.