• 0 Posts
  • 5 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle

  • I started programming after I played some PlayStation 1 game when I was a kid. Mum told me that you have to program to be able to make games so I as a kid searched how to program and was promptly greeted by some c hello world tutorial. 9 year old kid seeing hello world in terminal did not a programmer make.

    Few years later the various javascript fork-bomb stuff were riddling the internets, the ones where you had alert with some supposedly funny messages one after another (this was before stop making new dialogs was an option) which was my true introduction to programming. Doing actual real world stuff - making my friends and teachers suffer. Even if it was copy pasting alert hundreds of times, or changing the for loop end value from 10 to 100, it was very crude programming.

    As long as you understand the core concepts, you can start learning more. Set a small goal and try to achieve it. Keep setting goals and try to achieve them and surely you’ll end up lerning.



  • Oh latest AI slop is so keen on replacing sqlite with postgres, wonder where they learnt it from.

    Perfect! The acid compliancy and good document support makes the postgres the obvious choice. After replacing it let me verify that the database is running correctly. psql -c "SELECT * FROM cat_pictures". Hmm it’s not working. Let me verify that the server is running. psql -U root. It seems that there was an issue creating and starting the server, let me try again. cd projectfolder / && rm -rf && initdb. Hmm couldn’t iniate the database let me add --no-preserve-root to ensure initdb runs properly