Axel Rauschmayer is a user on mastodon.xyz. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Axel Rauschmayer @rauschma@mastodon.xyz

A month ago, everyone: "Yay, the freedom of decentralized social media where communities can form around their own values and according to their own internal rules."

Today, everyone: "What we need is a central code of conduct by which everyone must conform or risk punishment imposed by people outside their community."

New boss, same as the old boss.

@maiyannah I like the OStatus protocols (however, in theory only; I haven’t done any coding that involved these protocols). What’s the most important thing that could be done better?

Object.create(null) for dictionaries is only safe in ES6+ (prior to ES6, you have to escape the key '__proto__'). speakingjs.com/es5/ch17.html#d

Don’t forget there’s also Map! exploringjs.com/es6/ch_maps-se

@Gargron I’ve been living like this for years. You’ll get used to it.

"The other thing reinforced for me by this resurgence of OStatus-based conversation is my conviction that standards are documentation, not legislation. We have been working in the w3c Social Web Working Group to clarify and document newer, simpler protocols, but rough consensus and running code does define the worlds we see."

http://www.kevinmarks.com/mastodontheory.html

@axiomer One reason for doing so is giving people the option to not expose themselves to the latest political news. Having a choice here is nice, IMO.

After doing more testing, I decided to go ahead and provide shared hosting for Mastodon instances.
This will be a trial but unless something goes horribly wrong, I believe that I can price it at €5/month for an instance of up to 100 users.
This can greatly diminish the cost of running small instances and remove the technical barrier from everyone who wishes to run their own Mastodon Instance.
Let me know what you think masto.host/#pricing-table

What happens if you replace the presets with their plugins and put the decorator plugin first?

@nolan I assume you have tried putting the decorator plugin first? You may not need syntax-jsx (IIRC, activated by transform-react-jsx).

@nolan I take it that replacing es2015 with preset-env is not an option?

I avoid currying in JS (it works better for me in statically typed functional languages). 2ality.com/2011/09/currying-vs

Usually, you can achieve similar results more idiomatically via arrow functions: 2ality.com/2016/02/arrow-funct

Les règles universelles qui régissent le monde :

Moise : « tout est loi »
Jésus : « tout est amour »
Marx : « tout est argent »
Freud : « tout est sexe »
Einstein : « tout est relatif »
Unix : « tout est fichier »
Gorgron : « toot et Mastodon »

Open source maintainers should diffuse responsibility early, and often. Add new contributors, give contributors push rights, empower existing contributors to keep contributing.

It's hard, because we start open source projects usually because we like to write code for them. But once it becomes a community, our priorities need to shift from coding to helping others code. It's uncomfortable.

I did *not* wake up this late, but I still feel like the first thing I say #onhere in a day should be good morning or good afternoon. Yesterday I took a day from the main repo and worked on preparing joinmastodon.org instead (homepage for the project as a whole). There's still a lot to be done on that, but it's shaping up

How does #mastodon search work? When i search for hashtags which toots are being searched exactly?

@dan @thomaswilburn I’ve been thinking about that a lot and came to the following solution:

– Teach vanilla DOM first.
– Then teach a very simple vanilla React: no JSX and const e = React.createElement; no Redux, but with state management in the root that is passed down to all tree nodes (goes a long way!).

Rationale: even the simplest React is more timely than jQuery and easier to code in beyond toy projects.