Fancy leaving your country and your home because someone else wants it?
Fancy leaving your country and your home because someone else wants it?
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!
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, TONS of furries too. It used to be you could just block lemmynsfw.com (and have an alt account just for that instance if you like) but now new communities are popping up on random instances. I never know whether to block the whole instance or just the community every time.
Yeah I’m currently browsing everything and filtering out communities I absolutely don’t want to see. Unfortunately that’s the experience most new users will have here on lemmy too, and think that represents the vibe across the whole platform.
They are over here too! A mod on world news on lemmy.ml was saying that Ukraine probably bombed their own people yesterday. Then when evidence came out that it was Russia he deleted his comment and everyone’s involvement with the conversation calling him out
AoE 4 form relic was so close to 2 that it felt like a 3d remake , and plays wonderfully.
So frustrating how the series went. Dawn of war with all the expansions and factions installed was fantastic. And the dark crusade campaign with the total war style world battle map, perfect!
I really wish they just made an up to date dow1. Maybe don’t encourage monetizing individual chapters, I like that you could paint your own. I was happy to pay for a whole new race and a new campaign in a DLC package but paying for cosmetics can fuck off.
Looks northeastern more than mid western