Hello Hi welcome to KionoKitse. I don’t know what this site will be about but over time, it might turn into something a little more well defined.

Recent Activity

P11_00_00 MySQL with JavaScript 2021-01-19
    One of the critical components of this app is going to be the database. I’ve already decided on the database structure and that I’ll be using MySQL to manage that database. This week I just finished doing a MySQL and JavaScript tutorial found here. I found the tutorial to be really easy to follow and cover the basics of connecting to a database, submitting a query, inserting data, updating data and removing data. It also has a section on how to do stored procedures that might be helpful later-on for queries that get called often and can be offloaded to the server. Additionally it covers escaping user inputs that I would like to do at some point. Speaking of security, one thing that I didn’t find was some method to protect the connection details. Having the username and password sitting around in a file isn’t the safest. There is quite a lot that I don’t know about security and I’m very interested in getting updated before this app goes online. What I was able to do though, was to lock down the login credentials in a .env file. I came across this solution from Stack Overflow How to hide connection details for mysql database in node.js?. Additional details for implementation were found on the dotenv GitHub page. The completed tutorial is posted to my GitHub project here.
Category: Software
Tags: Food, JavaScript, P11_00_00, Software, WhatToEat
Project Page

P11_00_00 Taking a new approach 2020-12-18
    In researching the optical character recognition (OCR) functionality, I’ve come across something that I think will need to rewrite the approach I am taking. I know that I will need to use NodeJS for the barcode functionality which restricts me to that platform but the only OCR library I can find that seems to be in use is TesseractJS. In testing that it doesn’t seem to work at all for receipts. That’s not the worst because I can probably make some sort of interface software that can do the OCR on my own. What has got me stuck through, is that I was checking if the web host I was thinking of using doesn’t allow a JavaScript server to be run on its normal hosting plan. For something like that I would need a VPS plan and those look like they are going for >$20/mo at the least. There are other options like Firebase or GCP but I’m having a hard time understanding how they price things. GCP looked like it was going to work well but when I factored in MySQL functionality the monthly price jumped higher than I was willing to pay. Anyway I decided that maybe the best option was to go with a simple PHP and MySQL style website for the app instead of the newer fancy JavaScript stuff. To be honest I enjoy the JavaScript coding but it’s not something that I see for myself in the long run. I’d much rather have an app that functionally works and move on to my next project. Eventually I might end up doing more JavaScript since I see a lot of potential there but I’m not going to stall this project to run a JavaScript server especially if the OCR functionality wouldn’t be included. For now I’m going to start by building the website and remove the options for the barcode reading and the OCR functionality. I’ll look at ways to implement them latter but if I have PHP and MySQL I can get the core functionality of the app working.
Category: Software
Tags: Food, JavaScript, P11_00_00, Software, WhatToEat
Project Page

P08_01_00 Ordering parts on Mouser 2020-12-08
    I’m pretty excited about the solar DC-DC converter ideas I found in my previous post. I don’t have most of the components needed to make them so I decided that now is the time to get some more parts from Mouser. I’m getting:

  • Solar cells
  • ATtiny85Vs
  • 3V zeners
  • 5V zeners
  • Schottky diodes
  • Rectifier diodes

    I think this will probably work and help move this project forward.
Category: Gardening
Tags: Arduino, Domotics, Engineering, Gardening, Home Automation, P08_01_00, Plants, Software, Solar
Project Page