From a82acc526c7a99da67847d109713a8c0a607de70 Mon Sep 17 00:00:00 2001 From: Bram Barbieri Date: Tue, 19 Mar 2024 11:59:37 +0100 Subject: [PATCH] BramDocs --- .../documentatie/FirstDocumentation.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/LearningProcessBram/documentatie/FirstDocumentation.md b/docs/LearningProcessBram/documentatie/FirstDocumentation.md index fa8c5c4..a1ecda4 100644 --- a/docs/LearningProcessBram/documentatie/FirstDocumentation.md +++ b/docs/LearningProcessBram/documentatie/FirstDocumentation.md @@ -204,8 +204,8 @@ And here is the the board working: ### Python For Dummies. My job was to make a connection between the WebSocket and the database we had set up, and to do this we wanted to use python. I had never used python before and was totally new to the entire code structure and wording. -Because I was totally new to all of python, I asked ChatGPT for and example and some concrete code. -I asked it my question which was the assignment I was given and tried to reverse learn this way. +Because I was totally new to all of python I began asking friends for advice and started asking chatgpt for some examples. +and worked in reverse in order to understand python fully. I went and looked up fitting tutorials on W3SChools. The following were used: @@ -245,3 +245,9 @@ Even if it looked simple, this was the ignition I needed to understand python be ### Python for dummmies pt2 after some intense trail and error, I managed to connect to the websocket. After wich i also managed to send infromation to the database by including details like pasword and such. +I began investigating deeper and asked for other people their vision on my code. +It wasa hard to notice what problems there were, but eventualy me and a classmate found out that the problem was inside of the database itself. +So after fixing some issues with the primary keys and some tesing with the code, I managed to fix the issues for the time being. +Now the code is able to send websocket data to the database under the name of node "1". +This will have to be updated so all names could be sent to the database without causing issues. +But the current code does what we expect from sprint two but I will surely continue working on making it perfect.