Pinned toot

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 toot
meduz' boosted

@aral

I think you might enjoy (as much as one can enjoy living in a dystopia) this site I built a couple years ago:

sanmateogov.org

I've since re-located my dog out of state, but started getting "final notices" to renew the dog license.

I'm gonna see where this goes, but my current thinking is "if you can buy the data from my vet that I own a dog, you can buy the data from my vet that I don't own a dog"

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

I can’t believe I’m having to write this code in a fucking web server. What a mockery of the web, human rights, and the GDPR.

Fuck you, Google!

#FLoC #Google #SurveillanceCapitalism

The more I work with Jira, the more I think it’s a blocker for quality, sanity and every good word ending by _ity_.

meduz' boosted

RTL support is now available!

Diversity and inclusion is one major Penpot concern. If you write in any RTL language text direction will be automatically detected in text layers.

#OpenSourceDesign #Penpot1.4

meduz' boosted

Question about URL slugs and non-roman alphabets (think: Japanese, Arabic, Bengal…) 

What are good URL strategy for these languages?

Using roman characters, it’s easy to automate and make “My Awesome Article” leads to `mysite[.]com/posts/my-awesome-article`.

But how do people used to other alphabets proceeds?

Do they sluggify things? Do they use random id’s? Do they use other alphabets in URLs?

It seems non-roman slugs are hard to be copied (michaelzanggl.com/articles/cle).

meduz' boosted

midi advice, reboost maybe? 

Okay, so piggybacking on this thread with some positive hindsight and perspective...

I've still got a set of xbox one drums with the pro cymbals.

I know nothing about midi things. Has anyone had any luck using this particular drumset combo for making music over midi? If so, how do?

did i even just ask a question? that's how much i know about midi?

Show thread
meduz' boosted

Friend Camp has about 50 active users and I just noticed we have more than half a million posts here since August 2018! I mean that's 11 a day per person on average but still. That seems wild to me.

Last I checked something like 75% of our posts are unfederated. That's still 125 thousand posts sent to the fediverse. I think local-only posting increases the vitality of community, increasing the volume of overall activity, and contributing more to the fediverse than a less vital instance would.

Question about URL slugs and non-roman alphabets (think: Japanese, Arabic, Bengal…) 

What are good URL strategy for these languages?

Using roman characters, it’s easy to automate and make “My Awesome Article” leads to `mysite[.]com/posts/my-awesome-article`.

But how do people used to other alphabets proceeds?

Do they sluggify things? Do they use random id’s? Do they use other alphabets in URLs?

It seems non-roman slugs are hard to be copied (michaelzanggl.com/articles/cle).

It’s a sign. 

Today we learned a colleague caught COVID because his parents did not tell them they were feeling bad since a couple of days.

Also today: I’ve spent 5 hours on a VueJS/JavaScript bug that was complete nonsense and very hard to backtrack. Finally found the reason: an all-round helper function poorly coded returned a wrong value in a very specific situation. This one really made me wanted to grab the axe.

Then I checked `git blame`: the axe was already thrown. 👼

meduz' boosted
meduz' boosted
meduz' boosted

Posting articles two days in a row?! (Don't worry - this isn't going to be the new normal, I'm far too inconsistent for that :P)

"Create a Mac App Icon with Pure HTML & CSS"

uglyduck.ca/macos-icon-css/

meduz' boosted
meduz' boosted

📝New blog post 🎉

Is WebAssembly magic performance pixie dust✨? Can you replace JavaScript with Wasm and things get faster?

➡️ JS to AssemblyScript
➡️ Benchmarking & Profiling
➡️ Debugging the runtime
➡️ Comparing file size
➡️ also feat Rust & C++

👇
surma.dev/things/js-to-asc/ind

meduz' boosted
meduz' boosted

@mxmehl "Climate change" was a literal fossil fuel industry propaganda term they managed to spread far and wide.

Lots of people are changing, rightly, to words like "climate catastrophe" or "climate emergency", which work very well to communicate what's at stake.
@be @alatiera

meduz' boosted

Python vs. Rust :
Python -> read the docs, find the correct lib, write your shit, build a venv, build a pex
Total time coding: 1h
Total time figuring out how to deploy: 3h

Rust -> read the docs, find the correct lib, write your shit, get bullied by the compiler, write more shit, get the compiler to work properly, build

Total time coding: 4h
Total time deploying: 1m

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.