My personal website has been using #jekyll for years, but I update it very infrequently, and every time I need to, some jekyll/ruby dependency or another has somehow broken or gotten out of date, and I have to dig around in docs to remember how to fix it.
It's getting real old.
Is there a better, simpler, lighter weight #webdev solution for #markdown based static sites these days?
HTMX is trending again on hacker news, it's making me think more and more about the deno / typescript library I created "HTMX Components" and perhaps revisiting it with fresh eyes. I'd love feedback on the approaches in there. I think @deno_land has the potential to be the first-class server to utilize HTMX. It just makes sense to use JSX... #htmx#html#deno#javascript#typescript#webdev#server
Question for people who make websites, especially hobby websites, that use cookies:
what do you put in those cookies? They're allowed to be up to like 4KB for your whole domain, right?
That both seems like too much for "just" a user/session ID, while also being too little to hold actual state (like, game history & stats) for a website with a dozen toys on it.
@bgawalt incidentally I once worked at a company where I was assigned a weird bug: if you added too many items to their shopping cart, it would eventually push the oldest item out, every time you added a new item.
Turns out they stored the entire shopping cart (sku, quantity, price for each individual item) in the cookie. (Thankfully they did at least do server side validation upon submission of order)
I'm Asahi 95, the 95 in my name refers to #Windows 95 :windows:, cause I love the retro aesthetics of old Windows :ms_heart_eyes:
I'm a person who is a tech enthusiast :ms_computer: and loves #Linux and #FOSS, although I still use some #proprietary#software from time to time :linux: :opensource:
I'm currently learning how to do #webdev stuff such as #HTML, #CSS, and maybe even #Javascript so i could maybe become a web dev in the future!
I joined the #Fediverse :fediverse: mainly because I wanted to get away from centralised services 🔒 and also want to interact with an open and diverse community that respects one another :blobcathug:
I'm a person who is #bisexual and is an avid supporter of the #lgbtqa+ :philly_pride:
I hope I can interact with everybody on the Fediverse and beyond! :blobcat:
I am giving a small tech talk on May 10th about using #OPA as a wrapper around the #Backstage permissions framework and I am terrified 🙃
On a side note, do any web/backend #webdev want to do some sanity checks on my code at some point? Let me know! I'm open to ..friendly.. feedback! :heart_cyber:
#Web nostalgia: I just clicked “surprise me” several times on wiby (a search engine for sites that have no JavaScript at all) and it’s a lot of fun. https://www.wiby.org/ #WebDev#HTML
Premise: I spend an hour talking with someone I know/admire about a mutual interest (#webdev, #videogames, #devtools, etc), then inevitably end up talking about #webextensions
It's like hanging out with a friend, but probably more awkward!
Just came across this article on colour contrast, which I found interesting because of my quest yesterday, of trying to understand why a button with more apparent contrast, actually had a lower (and failing) score by WCAG standards:
And it has pretty robust browser support: https://caniuse.com/dom-manip-convenience
If you don’t care about IE or Opera Mini you should be fine. And in nearly no project anyone cares about these two anymore. (But for Opera Mini you should definitely check your target audience!)
The $$() method returns an array (not a NodeList like the Element.querySelectorAll() method) of matching items. #Coding#WebDev#JavaScript
In Short, #NodeLists aren't a #JavaScript Feature it's an language agnostic Browser API. 🤯 querySelectorAll() and getElementsByTagName() aren’t JavaScript methods either. 🤪
I love how I use JavaScript for about 17 years now and still learn new/old things about it. ^^"