Pinned post

The `datetime` attribute of the `<time>` may seem complicated: it accepts a lot of formats in order to deal with 1) moments 2) durations 3) timezone offsets.

I made a package to make your life easier with it. Here’s `datetime-attribute`: github.com/meduzen/datetime-at

As you can see in the screenshot, `datetime-attribute` comes with two functions: `datetime()` and `datetimeDuration()`.

It’s my first JS package and the first time I use unit tests.

Pinned post
meduz' boosted
meduz' boosted
meduz' boosted

Just to give you an idea of how hard and expensive it is to maintain compat, here's a story from the trenches:

Once when I was on the MS Edge team (pre-Chromium), I was debugging a "perf" bug in a site. It showed an infinite loading bar; the site never loaded. Turned out the loading bar was fake – it was hard-coded to expect very precise timing for some JS timer function (requestAnimationFrame or setTimeout, idr) so it worked on Chrome but not Edge. The user was convinced Edge was just "slow."

Show thread
meduz' boosted
meduz' boosted

Ce soir, demain soir et après-demain soir sur twitch.tv/nintendojofr, de 18h30 à 22h30, on refait l’intégrale du lancement de la GameCube ! 21 jeux au total étalés sur 3 jours !

Once fonts are converted (see previous message), here’s the CSS for `@ font-face` rules and font-family declaration with fallback.

Show thread

Been toying with a variable font (Work Sans, available on Google Fonts) and CSS yesterday for the first time.

Interesting reads on that topic for conversion, optimization and fallbacks management:
- clagnut.com/blog/2390
- sarasoueidan.com/blog/glyphhan
- henry.codes/writing/how-to-con
- zachleat.com/web/glyphhanger

meduz' boosted

Hey #Fediverse! Like so many other #FreeSoftware projects, keeping #FDroid up and running is a community effort. Have you ever contributed to any #FLOSS Project?

meduz' boosted
meduz' boosted
meduz' boosted
meduz' boosted

Someone at work is doing NodeJS, and there’s an object that can receive additional properties from the outside world.

You upload a CSV somewhere, and it creates new properties on the fly.

Of course, someone uploaded a CSV with a `constructor` column. :ouaisouais:

meduz' boosted
meduz' boosted
meduz' boosted
meduz' boosted
meduz' boosted

Why is #Switzerland the top country from which the state of #Delaware imports stuff? Would love for someone to dig deeper into this… does this include (financial) services imports? Or is this due to the pharmaceutical companies importing through Delaware? (And, similarly, why is Switzerland #Nevada’s top #export market?)

visualcapitalist.com/top-tradi

meduz' boosted

Any good self-hosted (or paid cloud SaaS without being ridiculously priced) #Sendy alternatives out there?

#Marketing #AskFedi #moa

meduz' boosted
Show older
NintendojoFR

Ceci est l'instance du site NintendojoFR. Elle est réservée aux membres de la rédaction et à nos chers lecteurs qui souhaitent avoir un compte.