ChatGPT - How Long Till They Realize I’m a Robot?

Image
I tried it first on December 2nd... ...and slowly the meaning of it started to sink in. It's January 1st and as the new year begins, my future has never felt so hazy. It helps me write code. At my new company I'm writing golang, which is new for me, and one day on a whim I think "hmmm maybe ChatGPT will give me some ideas about the library I need to use." Lo-and-behold it knew the library. It wrote example code. It explained each section in just enough detail. I'm excited....It assists my users. I got a question about Dockerfiles in my teams oncall channel. "Hmmm I don't know the answer to this either"....ChatGPT did. It knew the commands to run. It knew details of how it worked. It explained it better and faster than I could have. Now I'm nervous....It writes my code for me. Now I'm hearing how great Github Copilot is - and it's built by OpenAI too...ok I guess I should give it a shot. I install it, and within minutes it'...

Web Server with RPi 3

Got a web server running a raspberry pi 3 today!

Step 1: Start up the pi and install raspbian

Step 2: https://diyhacking.com/raspberry-pi-web-server/ (follow everything until the stuff about no-ip - then things were different because I'm using google domains)

Step 2.5: (found this out later) Make sure to add a permanent lease for the internal IP address that the RPi has - do this using your router settings.  If you don't, then your router might unexpectedly change your RPi's IP and you'll have to figure out what it is again, and change the port forwarding as well.

Step 3: add 2 entries to the Dynamic DNS section of your google domains page - 1st one is '@', 2nd is 'www'.

Step 4: go on the RPi and install ddclient (sudo apt-get install ddclient) - when the install prompts come up, use the username and password from either of the new DDNS entries in google domains (expand it).  Use wlan0 (unless you're on ethernet now).  I think the rest should be easy to choose in setup.

Step 5: (install vim), and then 'sudo vim /etc/ddclient.conf'
use the following to set it up, so that both 'www.yourdomain.com' and 'yourdomain.com' work:

ssl=yes
use=web
server=domains.google.com

protocol=dyndns2
login=yourlogin
password='yourpass' # don't forget the single quotes
masudio.com

protocol=dyndns2
login=yourlogin2
password='yourpass2' # don't forget the single quotes
www.masudio.com

Step 6: save and go to command line and run:
sudo service ddclient restart
sudo service ddclient start
sudo ddclient -daemon=0 -debug -verbose -noquiet

The last command might take a few minutes - be patient, no more than 5.  Some lines in the output should tell you for each of the 2 domains if the DNS entries were updated.  If you see that they were then you're done, otherwise troubleshooting begins.  This site might help, it showed me how to get the proper ddclient.conf with 2 domains : http://www.mogness.net/dynamic-dns-with-google-domains-using-ddclient-on-debian/

Have fun!

Comments

Popular posts from this blog

ChatGPT - How Long Till They Realize I’m a Robot?

My experience with Udacity

Architectural Characteristics - Transcending Requirements