@hi_mayank@hachyderm.io avatar

hi_mayank

@hi_mayank@hachyderm.io

old account

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

firefox will now track your searches by default and you'd have no way of knowing they're doing that unless you look for this random blog post on their website: https://blog.mozilla.org/en/products/firefox/firefox-search-update/

it does look like you can turn it off at least.

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

tech is dominated by cis white dudes, and tech blogs more so. in more specialized domains (like accessibility), it's even worse.

when writing my last blog post, 90% of the resources i linked to were written by white dudes.

if you're part of a group that's underrepresented in tech, i would love to see your blog. if you don't have one, consider starting one (i can help!)

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

proton halved the price of their password manager because they made too much money

https://proton.me/blog/proton-pass-price-change

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

there's a new crypto spam wave targeting open-source projects.

if you're a maintainer, watch out for PRs adding tea.yaml https://connortumbleson.com/2024/02/26/the-disappointing-tea-xyz/

if you're a user, watch out for project maintainers themselves adding tea.yaml to their repos. it's indicative of their values

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

today is the day! shadow dom is here. now.

to celebrate the release of firefox 123, i've published a new blog post:

📝 "a practical guide to using shadow dom" https://www.mayank.co/blog/declarative-shadow-dom-guide

(if shadow dom has yet to click with you, i really hope this post changes that)

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

i was invited by @matuzo to write about bad html patterns that hurt accessibility and usability, contrary to the claim that "html is accessible by default".

now published! https://www.htmhell.dev/adventcalendar/2023/13/

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

came across this cool weird concept called "forever hosting"

> "If we can't charge your card, your site goes into read only mode. Even if something catastrophic happens, your content will remain online."

https://posthaven.com/help#archive-mode

jensimmons, (edited ) to random
@jensimmons@front-end.social avatar

Safari 17.5 is out today! With
text-wrap: balance and text-wrap: stable
light-dark()
@​starting-style
@​import <url> supports(<feature>);
• AV1 for WebCodecs
• WebGL EXT_conservative_depth and NV_shader_noperspective_interpolation
and more!

https://webkit.org/blog/15383/webkit-features-in-safari-17-5/

hi_mayank,
@hi_mayank@hachyderm.io avatar

@BryceWrayTX you just need html { color-scheme: light dark; } (or corresponding meta tag)

https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

if you're gonna use AI to generate alt text, at least verify it before posting

i've found two instances in the last 24 hours, where someone used AI-generated alt text that completely misses the point of the image

worse even, both of these individuals bragged about it, as if they deserve some kind of award for generating shitty alt text

hi_mayank,
@hi_mayank@hachyderm.io avatar

for those in the back: alt text stands for "alternative" text, which means it should be sufficient on its own in absence of the image.

if your alt text misses or fails to emphasize the most important parts of the image, it's not "alternative" text, it's just text.

hi_mayank,
@hi_mayank@hachyderm.io avatar

maybe the fundamental disconnect here is that instead of seeing disabled people as human, techbros see them as a problem that can be "solved" by using more computers

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

three articles from last year that i poured countless hours into:

all published in the same month too 😄

hi_mayank, to CSS
@hi_mayank@hachyderm.io avatar

📝 new post, covering some use cases of the revert-layer keyword https://mayank.co/blog/revert-layer

had a lot of fun writing this one. cascade layers are so damn cool!

zachleat, (edited ) to random
@zachleat@zachleat.com avatar
hi_mayank,
@hi_mayank@hachyderm.io avatar

@zachleat @knowler

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

popover is really here, huh? https://web.dev/blog/popover-api

almost hard to believe, after the hundreds of thousands of hours we've all collectively spent building hacky javascript-based popovers

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

<style scoped> is back! life-changing shit

https://groups.google.com/a/chromium.org/g/blink-dev/c/OEfGbd74QnQ

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

closing 50 tabs

did you know about hover triangles?

📝 https://www.mayank.co/blog/hover-triangles

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

HTML is the future

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

📝 new post: "A custom element base class"

it's a bit niche and i kept it quick, to be improved later in true "digital garden" fashion

https://www.mayank.co/blog/custom-element-base

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

for day 4 of @5t3ph's 12 days of web, i've written about something that rhymes with uh… schleb opponents.

i spent a lot of time writing and rewriting the whole thing until it made sense, so i hope you'll like it. even if you're a seasoned user of this technology, you might learn a thing or two!

and it has snow! ❄️

https://12daysofweb.dev/2023/web-components/

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

lh/rlh now in all three browsers 👀

https://caniuse.com/mdn-css_types_length_lh

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

every once in a while, the idea of global generic components comes up

web developers want to "npm install component" and "import component"

except, this does not work because html imports are not a thing.

there are no generic components. any idea of such components at minimum requires some kind of server framework or a client runtime (or both)

this is the failed promise of "web components" (super misleading term btw)

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

my talk "Don't fear the cascade" starts in ~15 mins!

https://www.youtube.com/watch?v=iLxJ6PtuF9M
https://conf.11ty.dev/

hi_mayank,
@hi_mayank@hachyderm.io avatar

The recording of my talk "Don't fear the cascade" is now available, with accurate captions for proper nouns such as ":where" and "@​acab"!

https://www.youtube.com/watch?v=8Z8H2NEbLtE

hi_mayank,
@hi_mayank@hachyderm.io avatar

i really respect that had speaker honorariums, despite being a free event.

it's super important for conferences to compensate all speakers, who spend dozens (sometimes hundreds) of hours preparing their talks.

personally, i chose to have my honorarium be donated to open source projects that i think need it more than me (namely, @openwebdocs, @servo, @OddBird, and @vite)

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

working on a new blog post 😄

hi_mayank,
@hi_mayank@hachyderm.io avatar

📝 it's live! https://www.mayank.co/blog/live-announcer

a web component that you won't use directly and can't even "see"

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • GTA5RPClips
  • Durango
  • ethstaker
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • kavyap
  • megavids
  • tacticalgear
  • cubers
  • normalnudes
  • anitta
  • tester
  • khanakhh
  • osvaldo12
  • InstantRegret
  • modclub
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines