5
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 26 Nov 2023
5 points (85.7% liked)
Self-Hosted Main
504 readers
1 users here now
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
founded 1 year ago
MODERATORS
I had gotten stuck on some code, and had someone ask me if I had asked ChatGPT to write a python script to do some BLE stuff in Win11. So we got on a call, and started asking ChatGPT.
It wrote the python code.... for linux. Then decided to dump some WinRT stuff in there to ....make it more windows like? Not sure what it was doing, it wasn't for ble, or GATT. We went through a few times trying to explain that we didn't want anything with linux and it needed to run in Win11.
It told us to install wsl, install python, and run its script through wsl. Ya, that won't work for the environment this is running in. So I spent an hour, searched a bit for the one bit of python code I was getting stuck on, and finished the script. Works for what I need it to do. Doesn't require wsl, and runs in python, along with being converted to an exe that runs on the systems I need it to run on.
Having said all that, it DID do a good job on a powershell script I needed it for a few days later. I think it got hung up in some logic loop thinking that you HAD to have linux somewhere to even do anything with python.
Probably should have started over with a new chat, priming it with some simple windows scripting in python.
That might have worked, anyway.
This is where I learned to create new session. Take the prompts that got somewhere. Made sure to clearly tell it what I didn't want in the first prompt. Also switch between Bard and ChatGPT.