Spud's avatar
Spud
npub1vgsm...vl5m
I'm a web developer and I like video games and sci-fi and cartoons and I've watched all of Star Wars and the MCU (more than once). Also Aliens, Predator and Terminator are the trifecta of awesome imo and sometimes I don't go to work so I can play video games instead ๐Ÿ˜„
Spud's avatar
Spud 1 month ago
I was going to work on the website last night but then I started watching Die Hard 2 instead and went to bed
Spud's avatar
Spud 1 month ago
Alright got some styling to do before I show any pictures, but I totally got the search working ๐Ÿค˜๐Ÿป
Spud's avatar
Spud 1 month ago
Never made an Undo button before last night and never really thought about how they work tbh. But it makes sense that if you want to be able to undo something you've deleted you'll need to save the thing you're trying to delete somewhere, at least for a little while. Turns out that somewhere is called localStorage! Or at least can be localStorage. Anyway, so now, when she clicks the Delete Recipe button on a recipe, that click actually saves a copy of the entire recipe object including the image into localStorage and then pops the delete confirmation modal. Clicking the Delete button on the modal submits the form and actually deletes the recipe from the database. And I added an Undo button on the "Recipe deleted!" success alert that re-adds the recipe from localStorage in case she gets that far on accident, and then it clears localStorage. I wasn't sure where to put the Undo button really, but I think it makes sense in the alert since it's the thing that pops up on the screen the moment she clicks Delete for real. And it's a dismissable alert that won't disappear on its own on a timer or anything, so it'll just be there if she needs it until she navigates away. #WebDev #WebDevelopment #HTML #CSS #JavaScript
Spud's avatar
Spud 1 month ago
Okay, got a delete recipe confirmation in there and an undo button in case she deletes one on accident
Spud's avatar
Spud 1 month ago
Just saw a sticker on someone's car that said "I โ™ฅ๏ธ milfs" and that seems a bit redundant
Spud's avatar
Spud 1 month ago
Got Like buttons added to each recipe on the index page, got them appropriately boinging and incremented their z-index by 1 so they're clickable above the rest of the clickable recipe. Also made the link for seeing the ones you've Liked actually work by adding a query string called "liked" that filters the index page. Pretty happy with how they turned out overall and that's another thing checked off the To-do list ๐Ÿค˜๐Ÿป #WebDev #WebDevelopment #HTML #CSS #JavaScript
Spud's avatar
Spud 1 month ago
Alright I'm gonna nerd for a sec For the first time in #Stalker2 I just got a suit upgraded enough so that I now have a lead-lined slot for artifacts which means the slot itself can take the maximum amount of radiation that artifacts can give off which means I can finally use the Legendary artifact I found called Hypercube without dying ๐Ÿ˜„๐Ÿค˜๐Ÿป Even I don't know what it does, but the description says it has potential applications in space navigation. And there are those weird warp things you can jump into in this one, I wonder if anything special would happen if I jumped through one while wearing it ๐Ÿค” Anyway, onward! #videogames #gamer #gamestr #streaming #PS5 https://www.youtube.com/live/La416wM1C0k
Spud's avatar
Spud 1 month ago
Added a little UX polish: a way for her to be able to remove any of the ingredients, seasonings or steps of instructions she's added (the little red X's) before she submits the final form in case of typos, or if she just wants to #GettingThere #WebDev #WebDevelopment image
Spud's avatar
Spud 1 month ago
Alright there's validation complete! ๐Ÿ˜… It turned out to be a little more complicated than just "Do the inputs have values?" because the form itself for adding recipes became more involved as I went. It now builds a full-on preview for her with bullet lists as she types, and she can add multiple ingredients, seasonings and steps of instructions before submitting the final form. So validation really became more about "Has she added at least one of everything yet?" than "Do the inputs have values?" All in all it was a bit more involved than I was expecting, but it works exactly how I want it to work now and I'm happy with the flow of adding a recipe. Plus with the validation buttoned up there's nothing left she'll be able to do to generate an actual Express error ๐Ÿค˜๐Ÿป #WebDev #WebDevelopment #HTML #CSS #JavaScript
Spud's avatar
Spud 1 month ago
#Stalker2 with mouse and keyboard let's goooo!!!! Starting with a story mission and then I'm gonna go wherever The Zone wind blows me #Videogames #gamer #gamestr #streaming #PS5 https://www.youtube.com/live/PNA8b8qvtMU
Spud's avatar
Spud 1 month ago
The screens you see when you die in #Stalker2 are also somehow amazing, and for some reason I especially like the ones that say "Torn apart by mutants" ๐Ÿ˜„ A bunch of these little bastards swarmed the area right after I finished another fight and was already almost dead. Gotta keep an eye on that health meter, I did not expect them to be the thing that killed me image
Spud's avatar
Spud 1 month ago
No idea why it took 86 hours of playing #Stalker2 for it to occur to me to try plugging a mouse and keyboard into my #PS5, but I'm so glad it works! I don't mind using controllers, especially for 3rd person games, but I am a #PC gamer at heart and I do prefer using my actual reflexes to aim in first-person games. Mouse and keyboard ftw with no fussing, I am going to be playing this way the rest of the time. #Videogames #gamer #gamestr
Spud's avatar
Spud 1 month ago
Alright responsibilities done for the day, time to play! I'm running off to parts unknown in #Stalker2, just got a new suit, some night vision v2 goggles and I'm trying out a new rare artifact I found called Devil's Mushroom. #Videogames #gamer #gamestr #streaming #PS5 https://www.youtube.com/live/peMhipFKeGg
Spud's avatar
Spud 1 month ago
Well after lots and lots of playing I finally found something I don't like about #Stalker2! Accidentally pressed the button to move the entire contents of my stash box into my inventory which immediately made me ridiculously overburdened. And there's no "undo", but you can easily move everything (including the original contents of your inventory) back into the stash box by clicking the Move Everything button again. But if you want things back the way they were, your only option at that point is to move everything back one item at a time. I especially enjoyed moving all my 1000's of rounds of spare ammo back 30 rounds at a time. #Videogames #gamer #gamestr
Spud's avatar
Spud 1 month ago
I grabbed my 10 year old Nvidia GTX Titan X that had been overheating for some reason this morning and ended up taking it apart, taking THIS MANY screws out of it, cleaning everything, putting on some fresh thermal paste and putting it all back together, all on a whim. And at some point during all of that I wondered who even does this with their spare time? On the bright side, so far so good ๐Ÿค˜๐Ÿป #Videogames
Spud's avatar
Spud 1 month ago
okay I'm happy with the look and boing of the Like button #WebDev #WebDevelopment #HTML #CSS #JavaScript
โ†‘