For a personal tool that runs locally I can handle some bloat in the name of safety!
For a personal tool that runs locally I can handle some bloat in the name of safety!
Awesome, thanks for the info. Definitely super useful for debug mode whilst I’m fixing and tampering!
Because I’m relatively new at this type of thing, how does that appear on the front end? I’m using a js/html front end and a jsnode backend. Would I just see a popup before I make any changes?
I did when I made the query a year ago. Dumdum sleep deprived brain thought it would look more organised this way
Me only know caveman. Not have big brain only smooth brain
Thanks, I’ll look into it! I’m interested in why you got downvoted though! 😅
It is after the event that I find that postgres’ WAL journalling is off by default 🙃
Oh I did that like a year ago.
And then last night had an error that led me back near this code and stupidly thought “hey it’d look neater if those numbers were in order”
My only education is a super helpful guy from Reddit who taught me the basics of setting up a back end with nodejs and postgres. After that it’s just been me, the references and stack overflow.
I have NO education about actual practises and protocol. This was just a tool I made to make my work easier and faster, which I check in and update every few months to make it better.
I just open vscode, run node server.js to get started, and within server.js is a direct link to my database using the SQL above. It works, has worked for a year or two, and I don’t know any other way I should be working. Happy to learn though!
(but of course this has set me back so much it would have been quicker not to make the tool at all)
Yeah I thought the same, but I think I’m doing a good job! Doing great at looking after her, not so great at looking after myself.
I know you are not serious
Allow me to introduce myself
It’s 4:14, I need to be up to look after my daughter at 7. 👌🥱🫠
Radio is chaotic evil for sure
No choice, no knowledge of what might be next in the library, very small track list so loads of repeats and SO MANY ADS
So you just sleep breathing in the smell of shit all night? Jesus christ
You just let it soak into the floor or furniture?
I’m tired all the fucking time but if an animal puked in my house I’d be wide awake to deal with it before it becomes a bigger issue 😂
Why would you go back to sleep knowing an animal is being sick somewhere 😬
First time I’ve seen a post from that side of the verse. This seems pointless and harder to read than standard Lemmy 😅 I’m assuming the mastadon UI makes it make more sense.
What’s going on with all these @ tags
I hate when it does this. Real “fellow kids” vibes. Every time I mention to be casual
That’s closer to what I need but perhaps too far in the casual direction. I think we need to meet midway and have something that more resembles casual natural speech
I’m up to 537 lines of server code, 2278 lines in my script, and 226 in my API interfacing, I’m actually super proud of it haha.
But you’re totally right, there are things I read that I just have no clue what they even mean or if I should know it, and probably use all the wrong terminology. I feel like I should probably go back to the start and find a course to teach me properly. I’ve probably learned so many bad habits. It doesn’t help that I learned JS before ES6 so I need to force myself not to use var and force myself to understand and use arrow functions.
I absolutely know that the way I’ve written the program will make some people cringe, but I don’t know any better. There are a few sections where I’m like “would that actually be what a real, commercial web app would do, or have I convoluted everything?”
For example, the entire thing is just one 129-line html file. I just hide and unhide divs when I need a new page or anything gets changed. I’m assuming that’s a bad thing, but it works, it looks good, and I don’t know any better!