22
draagc
7y

Hello there, I'm new here and decided to post something from my short experience as a developer.

A few weeks ago I was working on the software for a Uni project (using a Raspberry Pi to create a combination lock "safe"), and as I was using one of the University's Pi's, I was writing the Python code on my laptop (because University computers don't have Sublime Text), then copying it to the uni computer and ssh into the Pi to run it.

As I had to make a few changes, I decided to use IDLE on the uni computer to do them, but when trying to run the code I couldn't see the changes made. I spent 30 minutes trying to figure out what's wrong and then I realised... I was saving the changes to the local machine, not the version of the file on the Pi.

It was a very frustrating experience..

Comments
  • 1
    Welcome to devRant. Here is your first ++.
  • 2
    Welcome!!!!
  • 1
    The best errors are the most unexpected of all. Enjoy your rant!
  • 3
    Edit on local dev PC, run the test on a different PC that you are driving via VNC. And have the program editor open on both PCs so you forget which one has the actual changed code. Had to break myself of the habit of editing on the test PC and only edit on my local dev PC so there was only one place where I was doing the changes.
  • 4
    Welcomes!
  • 2
    Welcome to Devrant :-)
Add Comment