shivan.xyz

shivan.xyz

@shivan.xyz

Web Developer & Optometrist https://shivan.xyz

161 followers271 following946 posts

Just came in the post. I'm officially part of the club. The learning never stops, and I am open to some tips. What's next?

What are some good ways to keep track of films watched and books read? For my site, I'm considering creating a new content type for books read and films watched.

Should dark mode be supported by web applications as a minimum? Warning video does have significant contrast switching.

Call me crazy (and also a little bit messy - dust appears 0.001ms after cleaning...), here are some items I have on my desk to create a sense of joy for work.

1. Split keyboard to help with ergonomics 2. Ergonomic mouse that I use with Windows machines (I use the (3.) touchpad for MacOS) 3. Magic Trackpad that I use with MacOS. 4. Timer that shows a more physical representation of a countdown 5. E-ink Display 6. Pen Ink for my fountain pen

7. The morning ritual involves dark chocolate paired with homemade espresso flat white. I usually have this in a heated cup (not pictured) which keeps the brew warm 8. Misc. such as items to clean my desk as a mobility ball to roll out my wrist

shivan.xyz reposted

ONE LESS CONFIG! ONE LESS CONFIG!

Simon H@dummdidumm.bsky.social

Say goodbye to svelte.config.js - you don't need it anymore! The newest version of SvelteKit allows you to configure everything via its Vite plugin, and VS Code, svelte-check and SvelteKit itself can all read from it. On file less cluttering your project root.

And for some completeness. Pen ink :)

shivan.xyz@shivan.xyz

A pen that writes and a watch that tells the time (and month and day). Am I crazy to appeal to the analogue?

shivan.xyz reposted

Svelte pro tip: I surprised myself writing this very cool pattern You can make a prop be either an attribute or a snippet: very handy when you want to provide two "size variants" of the same content!

A pen that writes and a watch that tells the time (and month and day). Am I crazy to appeal to the analogue?

shivan.xyz reposted

the single biggest criticism svelte has received over the years is 'you can't have multiple components in a file'. so we fixed it! by making them unnecessary. with declaration tags (svelte.dev/docs/svelte/...), snippets/each blocks/etc can have their own state: svelte.dev/playground/a...

Antoine@antleth.fr

@const is dead, long live const! Svelte 5.56 allows for raw let/const ANYWHERE in the markup within {} brackets, deprecating {@const} This is huge! svelte-changelog.dev/pull/sveltej...

Here I want to demonstrate the benefit of `oklch` vs `hsl`. Each row is supposed to demonstrate the same applied "lightness". Is it obvious that for one swatch, the perceived brightness varies (hsl), but in the other it seems quite consistent (oklch)?

I am starting to write content and make short videos on things I learn in the dev space. They aren't particularly difficult or "interesting" topics so I wonder if it's still worth sharing these things or is it a waste of time?