eldersnake

we.loveprivacy.club

No description provided.

Recent twts from eldersnake

@prologic@twtxt.net and any other Golang aficionadoā€¦ interested in opinions on what is considered best practice here, as Iā€™m still quite green here. So if I have a server and client (both written in Go), data is passed as JSON and marshalled/unmarshalled in both cases to structs that are basically identical between the programs, and I want to have these structs ā€˜sharedā€™, should I put the structs maybe into a single file as itā€™s own package and just pull them into the server/client that way?

ā¤‹ Read More

TIL: that the <button> element in HTML5 will cause a form to submit when clicked (instead of any other behaviour you expect) because <button> has a default value of, get thisā€¦ type="submit".

You would think <button> would have a default type of ā€œbuttonā€, but no. Bloody hell lol.

This Stackoverflow answer saved me from further headaches.

ā¤‹ Read More

https://infrequently.org/2023/02/the-market-for-lemons/

Vendorā€™s random walk through frontend choices may eventually lead them to be right twice a day, but thatā€™s not a reason to keep following their lead. No, we need to move our attention back to the folks that have been right all along. The people who never gave up on semantic markup, CSS, and progressive enhancement for most sites. The people who, when slinging JS, have treated it as special occasion food. The tools and communities whose culture puts the user ahead of the developer and hold evidence of doing better for users in the highest regard.

ā¤‹ Read More