Alcoholics Anonymous

matthiasott,
@matthiasott@mastodon.social avatar

My son asked for a little web dev challenge, so I tasked him with filtering a list with a few selects.

First of all: he solved it! 🥳

But when I looked at the code, I noticed that he had used HTML data attributes and was accessing them in JS via the dataset property. When I asked him about it, he replied: “Yes, I read that in a post by @chriscoyier on CSS-Tricks.” 🤘😁

(https://css-tricks.com/a-complete-guide-to-data-attributes/#aa-accessing-data-attributes-in-javascript)

flogehring,
@flogehring@mastodon.social avatar

@matthiasott how old is he?

matthiasott,
@matthiasott@mastodon.social avatar

@flogehring He turns 13 this month.

warnoir,
@warnoir@mastodon.social avatar

() 🇲🇲: " Rohingya Salvation Army" () carried out an attack against "Arakan Army" () fighters in State.

ARSA also captured MA-3 Mk 2 rifle, Wa-81 rifles, M79-pattern grenade launcher, MA-5 Mk 2 pistol, MG-1 hand grenades, 40mm MG-4 HEDP grenades and MG-2 rifle grenades.

https://twitter.com/war_noir/status/1782999437163299153

image/jpeg

oatmeal,
@oatmeal@kolektiva.social avatar

/ Gaza reports: Head of aid distribution organization killed in Gaza City

Reports coming from Gaza say the head of the emergency committee in charge of aid distribution and assistance was killed near an aid distribution site in Gaza City.

The official Amjad Hathat, is the fourth person linked to police or aid activity to be killed in Gaza over the last 48 hours.

Sources: Haaretz and https://www.aa.com.tr/en/middle-east/palestinian-aid-official-killed-in-israeli-airstrike-in-gaza-city/3169523

@israel
@palestine

faab64,

@oatmeal
The bastards used the food delivery to identify and locate those who were helping with distribution of food so they can once again use the actions of desperate and starving Palestinians as an excuse to justify their inhumanity and barbarism.

They kill doctors.
They kill reporters.
They kill civil servants.

All in the name of self defense, but with only one goal, to starve and murder as many Palestinians as possible.

@palestine @israel

CAAP, French
@CAAP@framapiaf.org avatar

Pour tous des :

Connaitre la différence entre les modes de déclaration et

CAAP, French
@CAAP@framapiaf.org avatar

L’ADAGP prend des mesures pour protéger ses membres face à la menace des intelligences artificielles génératives

« L’ADAGP publie ce jour une déclaration générale d’opposition à l’utilisation des œuvres de son répertoire par les systèmes d’intelligence artificielle dans le cadre de l’exception de fouille de données, complétée d’un résumé technique au format xml lisible par les machines. »

https://www.adagp.fr/fr/actualites/ladagp-prend-des-mesures-pour-proteger-ses-membres-face-la-menace-des-intelligences

CAAP, French
@CAAP@framapiaf.org avatar
CAAP, French
@CAAP@framapiaf.org avatar

Les bonnes résolutions pour les & cette année : -vous !

apodoxus,
@apodoxus@mastodon.online avatar

Have you ever thought about how Alcoholics Anonymous and Narcotics Anonymous are probably the most successful* living organizations? It's proof that the bottom-up decentralized confederated model works on a global scale.

If you're an anarchist and unfamiliar, I recommend checking out The Twelve Traditions (https://en.wikipedia.org/wiki/Twelve_Traditions).

  • Yes it's actually bigger than the population of in case you were going to bring that up.
apodoxus,
@apodoxus@mastodon.online avatar

@KevinCarson1 Ah, that's a minority and nothing to do with the organization itself; very far from my experience.

apodoxus,
@apodoxus@mastodon.online avatar

@SocialistStan It was certainly partly an attempt at that but I would say it's very far from that today. Where I go, such behavior is hard banned at a more local level and wasn't very popular in California either.

CAAP, French
@CAAP@framapiaf.org avatar

La force du nombre !

CAAP, French
@CAAP@framapiaf.org avatar

Quels sont les cas d’exclusion du régime social des ? - CAAP http://caap.asso.fr/spip.php?article1079
La Sécurité sociale des AA vous exclura du régime :

• à la suite d’un contrôle ;

• Si, vous n’avez encaissé aucune recette artistique pendant 5 années consécutives ;

• Si vous n’avez pas déclaré vos recettes pendant 3 années consécutives ;

• Si vous déclarez avoir cessé votre activité d’ .

CAAP, French
@CAAP@framapiaf.org avatar
AAGuy,

I’m celebrating four years of sobriety today. My life isn’t perfect but my worst day sober is still way better than my best day drinking.

billyjoebowers,
@billyjoebowers@mastodon.online avatar

@AAGuy

Congratulations. Hi five.

SoberStill,
SoberStill avatar

@AAGuy

Well done.

Keep up the good works!

mikemathia,
@mikemathia@ioc.exchange avatar

cdarwin,
@cdarwin@c.im avatar

Fitch downgrades US credit rating from AAA to AA+ - BBC News

, one of three major independent agencies that assess , downgraded it from the top rating of AAA to +.

Fitch said it had noted a "steady deterioration" in governance over the last 20 years.

Treasury Secretary Janet Yellen called the downgrade "arbitrary".

It was based on "outdated data" from the ( Trump ) period 2018 to 2020, she said.

https://www.bbc.com/news/business-66379366

br00t4c,
@br00t4c@mastodon.social avatar
br00t4c,
@br00t4c@mastodon.social avatar

Quiz of the week: Who led the Vikings in Shetland's Up Helly Aa fire festival?

https://www.bbc.co.uk/news/world-68168938?at_medium=RSS&at_campaign=KARANGA

br00t4c,
@br00t4c@mastodon.social avatar

Fuel forecourt prices in 2023 second highest on record, says AA

https://www.theguardian.com/money/2023/dec/22/fuel-petrol-diesel-prices-2023-aa

br00t4c,
@br00t4c@mastodon.social avatar
br00t4c,
@br00t4c@mastodon.social avatar
br00t4c,
@br00t4c@mastodon.social avatar

Potholes: AA advises drivers to avoid puddles to limit vehicle damage

https://www.bbc.co.uk/news/uk-67540985?at_medium=RSS&at_campaign=KARANGA

oatmeal,
@oatmeal@kolektiva.social avatar

/ Gaza reports: Head of aid distribution organization killed in Gaza City

Reports coming from Gaza say the head of the emergency committee in charge of aid distribution and assistance was killed near an aid distribution site in Gaza City.

The official Amjad Hathat, is the fourth person linked to police or aid activity to be killed in Gaza over the last 48 hours.

https://www.aa.com.tr/en/middle-east/palestinian-aid-official-killed-in-israeli-airstrike-in-gaza-city/3169523

@israel
@palestine

br00t4c,
@br00t4c@mastodon.social avatar
blog, (edited )
@blog@shkspr.mobi avatar

I can't use my number pad for 2FA codes
https://shkspr.mobi/blog/2024/04/i-cant-use-my-number-pad-for-2fa-codes/

This has to be the most infuriating bug report I've ever submitted.

I went to type in my 2FA code on a website - but no numbers appeared on screen. Obviously, I was an idiot and had forgotten to press the NumLock button. D'oh! I toggled it on and typed again. No numbers appeared. I switched to another tab, my numbers appeared when I typed them. So I was reasonably confident that my keyboard was working.

I swapped back to the 2FA entry and tried again. Still nothing. Then I tried typing the numbers using the number row on my keyboard. My 2FA code appeared.

WHAT IN THE SAINTED NAME OF ALPHONSE CHAPANIS IS GOING ON?!?!?

Developers often use JavaScript to "improve" the standard features of HTML. For example, using <input type="number"> has some accessibility concerns and using https://css-tricks.com/everything-you-ever-wanted-to-know-about-inputmode/#aa-numeric is great for showing a number key board on mobile, but not much else.

So a developer wants a reliable way to make sure a user can only type numbers. Fair enough.

There are two ways to do this - a right way and a wrong way - using https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent.

One way is to listen for the character being sent from the keyboard - known as the key.

The other is to listen for the - known as the code.

A good demo of this is at keyjs.dev - play around with it to see what keyboard buttons your browser can detect.

When I press 7 on the top row of my keyboard, the key is 7 and the code is Digit7.

But when I press 7 on my number pad, the key is 7 but the code is Numpad7.

The JavaScript on the website was rejecting any key code which wasn't a "Digit"!

Perhaps I am a weirdo for insisting on both having and using my numpad? Perhaps developers need to test on something other than MacBooks? Perhaps JavaScript was a mistake and the Web would be better without it?

Either way, don't be like that website. Let users type in using whatever keys they like.

https://shkspr.mobi/blog/2024/04/i-cant-use-my-number-pad-for-2fa-codes/

br00t4c,
@br00t4c@mastodon.social avatar
br00t4c,
@br00t4c@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • aa
  • DreamBathrooms
  • magazineikmin
  • everett
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • love
  • khanakhh
  • kavyap
  • tacticalgear
  • GTA5RPClips
  • thenastyranch
  • modclub
  • megavids
  • mdbf
  • normalnudes
  • Durango
  • ethstaker
  • osvaldo12
  • cubers
  • ngwrru68w68
  • tester
  • anitta
  • cisconetworking
  • Leos
  • provamag3
  • JUstTest
  • All magazines