0
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 15 Nov 2023
0 points (50.0% liked)
Homelab
371 readers
2 users here now
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community
founded 1 year ago
MODERATORS
I learned Oracle by setting up bunches of Oracle VMs, doing horrible things to them, getting rid of the bodies, and starting over. Their sacrifices have helped me be a competent entry-level Oracle DBA. I’m learning Python on a VM configured with Eclipse and another VM with Jupyter. I’m actually a SQL Server DBA, and we don’t have much of a SQL Server test environment where I work. I test what I can in VMs in my homelab. Flashed a consumer router with OpenWRT and learned tons about networking, and confirmed why I never aspired to be a network engineer LOL. Trying to access my homelab remotely taught me a lot more about information security. Wanting to know what’s going on with my infrastructure (InfluxDB+prometheus+Grafana) has given me greater insight into SRE.
Do horrible things to Larry Ellison and half the world will help you get rid of the body.
What about the other half?
The easier way to do any kind of pregaming lab stuff is to set up a VM with Ubuntu server or any other distro with ssh and then running visual studio code on your computer and connecting to the VM through ssh. With Python I suggest using poetry for environment management and then you can also run Jupyter notebooks in visual studio code and you don’t need to bother with the actual web interface.
Is there a reason you use Jupyter and Eclipse? And specifically in their own VMs? Seems like a lot of overhead for just learning python
I’m new to Python so part of the learning is trying out different development environments. In the beginning at least, I wanted to keep those environments separate to rule out possible conflicts or other problems. I used Jupyter more for the initial learning of the language so I may decommission that VM (and keep the most recent backup). It’s a little early to tell though.
Ah okay. If you haven't already done, look into virtual environments or venv's and the pip package manager. You can create a venv and manage your packages individually for each project. It basically serves the exact reason you created VMs, to rule out possible conflicts.
Also instead of Eclipse I recommend either working just with a text editor like vim/ sublime that way you don't even need a GUI or if you want a GUI you could try VS Code/ PyCharm. PyCharm is an IDE specifically made for Python.
BTW you already have a homelab so running your own version control tool like Gitea or GitLab could be interesting for you.
More rabbit holes to fall down, thank you LOL! I’ve been thinking about VS Code but the tidal wave of search results kept me from finding out about PyCharm. Right now my code “management” is simply copying the latest version of my code to my NAS, so I’ll give Gitea a go as well.