Raspberry Pi

Raspberry Pi

Utilities / Application Utilities / Internet of Things Hardware
Escape Room Host at The Ruse Escape Rooms·
Needs advice
on
Notepad++Notepad++
and
Visual Studio CodeVisual Studio Code

I'm just starting to learn coding with the specific purpose of maintaining the Raspberry Pi-controlled Arduino boards that control our puzzles. I'm learning basics with Scratch 3, and I'm learning how to create a custom block and control its function, shape, and category. I've mostly worked in the service industry and maintenance/Demo since I left the Army Infantry, so I'm definitely kinda dumb; But I've also been selected for some of the more technical jobs involved in those fields, so I'm not stupid... Thank you for your input on the pros/cons.

READ MORE
9 upvotes·9.9K views
Replies (1)
Senior Developer at CVS Health·

I work primarily with the Microsoft stack but have worked with many other technologies over the years. I see that you are using Visual Studio Code which is a great choice since it has over 40k extensions covering most technologies and stacks. A good language to start with is Python. Python is easy to get started with but is also a powerful, widely used language. Download MySQL or Postgresql for a database. Write a program that takes inputted data and stores in the database. Download Azure Data Studio to connect to your database. Start with basic querying of the database.

If you want to work with the Microsoft stack, download the Visual Studio IDE Community version which is a powerful IDE.

Find simple sample projects to start with. Learn how to debug your code. As you debug, analyze what is happening with each statement. Learn how to examine variables and call stacks. You will learn a lot about the behavior of the code the more you step into the code and see how it unfolds. I used to get frustrated because I could not remember syntax off the top of my head but realized memorizing syntax is not important. It's concepts and how you put the pieces together and knowing where to find best practices and approaches to creating a solution.

Regarding your comment about "being dumb". I felt the same way you did about 30 years ago. I've had a very successful career as a developer. I had situations at that time where I felt that I was not smart enough to learn the development language (C language) being used. Well, I persisted and learned so much along the way. The process of wrestling and struggling will make you a better technologist. You go down paths that will not necessarily solve your issue but you will learn so much along the way. All the things you learn from failing will broaden your knowledge. Do not give up - put in the time - believe in yourself - you will get it!

When Einstein was asked how it felt to fail 1,000 times, he is credited with saying “I didn't fail 1,000 times. The light bulb was an invention with 1,000 steps.”

Good luck - just stick with it and enjoy the trip.

READ MORE
3 upvotes·8.8K views
Needs advice
on
BookStackBookStackOutlineOutline
and
Wiki.jsWiki.js

Looking for a lean wiki that can run on Raspberry Pi 4 model B 4gb.

For now i'm not looking for solutions that require any form of containerization like docker or podman. Should be able to run on a bare metal 64-bit arm version of Debian.

It'd be great if you could provide some context as to why you chose what you chose.

Thanks in anticipation.

READ MORE
5 upvotes·8.7K views
Developer ·
Needs advice
on
ElectronElectronNode.jsNode.js
and
Raspberry PiRaspberry Pi

Kiosk App on Raspberry Pi

  • I have a personal project that I'm developing into a Kiosk app and am considering deploying it on a RaspberryPi as a semi-portable controller user interface.
  • I'm new to RaspberryPi, I know my way around Debian though, and so I've researched a few Electron tutorials on using Electron on a RaspberryPI and they seem to be what I'm looking for.
  • However, I'd love to hear your comments and suggestions in working with Electron on the RaspberryPi, in particular in Kiosk with a touchscreen for user input.
  • What's the performance like, are there memory constraints, any reliability issues I should be aware of?
  • Once the project is at a working stage I plan to open source it on my GitHub for further input and development.
  • I'm a long term JavaScript developer (since the late 90's for real I was there when JS was first released, unashamed Vanilla.JS fanboi)
  • I write for the browser and server backend environments using Web technologies and Node.js.
READ MORE
7 upvotes·48.4K views
Replies (2)
Owner at dreizehnelf - IT Beratung·

Hey subz390,

I think the Raspberry will fit your bill just fine. What I'm not really clear about is why you'd want to use Electron for the Kiosk App. Electron itself bundles a browser which then executes a web application - so in essence I do think you should be able to totally ditch Electron and just load up your web application in a browser (i.e. Firefox) in Kiosk mode. That could save you some complexity in your stack and maybe even some resources.

READ MORE
8 upvotes·1 comment·14.8K views
subz390
subz390
·
January 12th 2022 at 12:23PM

thanks for the feedback, it would be possible to do what I'm doing in a web page and bundle it in a PWA with `display: standalone` and then run the nodejs server as a separate process.

·
Reply