hhmx.de
cheeaun@mastodon.social
cheeaun@mastodon.social

Chee Aun πŸ€”

(@cheeaun@mastodon.social)

Di 04.04.2017

Beiträge: 3.761Folgt: 604Folgende: 2.877

Product-1st Front-end Engineer, based in Singapore. Currently on a career break since July '22. Working on a Mastodon web client phanpy.social @phanpy

Why follow me: I have interests in , , , , , & . I usually post about my side projects, tech events, weird discoveries, and sometimes local news.

tfr

Projects

cheeaun.com/projects

GitHub

github.com/cheeaun

:thinking_face: :catjam:

πŸ€” 🐱 [TEST :thinking_face: :catjam: ]

mastodon.social · mastodon · 2025-04-22 16:26:17

Föderation EN Di 22.04.2025 04:39:05

Randomly trying out the new CSS-customizable <select>, and… randomly found a bug that will hang and crash the page πŸ€¦β€β™‚οΈπŸ˜© codepen.io/cheeaun/pen/jEEqpeR

Medien: 1

Föderation EN Sa 19.04.2025 03:27:21

πŸ“£ Phanpy folks using non-QWERTY keyboards, now you can test this keyboard-layout-dependant shortcuts on dev site πŸ™‡β€β™‚οΈ github.com/cheeaun/phanpy/issu

For context, currently keyboard shortcuts are keyboard-layout-independant (`e.code`). E.g. for a Dvorak keyboard layout, the physical `c` key is mapped to `j`, so it's confusing. Now with keyboard-layout-dependant shortcuts, it will listen to the produced key (`e.key`) rather than the code (`e.code`).

Föderation EN Fr 18.04.2025 14:21:21

Sometimes I'm quite amazed by my own code 😳

The RTL work last year was quite insane mastodon.social/@cheeaun/11293

Medien: 1

Föderation · Do 17.04.2025 05:37:45

leitete weiter:

Föderation EN Do 17.04.2025 05:32:04

I've been wrestling with implementing content support in Hackers' Pub, our -powered platform for software engineers.


While ActivityPub theoretically supports multilingual content through the contentMap property, the reality is that most server implementations (Mastodon, Misskey, etc.) don't properly handle this content as of April 2025. This creates a significant challenge for us.


We want our users to share their knowledge in multiple languages, but we need to ensure compatibility with existing ActivityPub servers. I'm considering several approaches:



  1. Creating separate posts for each language with clear language indicators, linking them through inReplyTo relationships (so translations appear as replies to the original post)

  2. Using the primary language in content while storing translations in contentMap

  3. Adding "View in other languages" links at the bottom of each post

  4. Implementing inline language dividers that degrade gracefully on non-supporting servers, for example:
    <div lang="en">
    <h3>English</h3>
    <p>This is the English content…</p>
    </div>
    <hr>
    <div lang="ko">
    <h3>ν•œκ΅­μ–΄</h3>
    <p>ν•œκ΅­μ–΄ λ‚΄μš©μž…λ‹ˆλ‹€β€¦</p>
    </div>



I'm leaning toward a hybrid approachβ€”showing content in the user's preferred language when possible while providing easy access to other language versions.


Has anyone tackled this problem effectively? I'd love to hear about your experiences or ideas for making multilingual content work well in the fediverse, especially when dealing with server implementations that don't fully support ActivityPub's multilingual features.



Föderation EN Mi 16.04.2025 07:14:35

Interesting to see the hashtag link drop down menu being copied from Bsky πŸ€”
mastodon.social/@Gargron/11434

Medien: 2

Föderation · Mi 16.04.2025 01:47:56

leitete weiter:

Föderation EN Di 15.04.2025 20:16:15

Sharing some professional news: I've joined Mastodon full-time as Head of Communications! After freelancing with the project since 2023, I'm excited to bring my experience in open source and community to help tell the story of the Fediverse. Read more on my blog.

andypiper.co.uk/2025/04/15/com

Medien: 1

Föderation EN Di 15.04.2025 05:56:06

Side quest sneak peek: a browser extension that visualizes (Service Worker) Cache Storage for web sites.

Decided to build this after seeing how difficult it is too see what's stored in Service Worker cache. They can (accidentally) take up quite a lot of storage space.

Repo: github.com/cheeaun/stakataka
Not released yet, under review in Chrome Web Store.

Medien: 4

Föderation · Di 15.04.2025 03:52:35

leitete weiter:

Föderation EN Mo 14.04.2025 13:35:02

πŸ†• blog! β€œYou don't need an API key to archive Twitter Data”

Apparently there's no need for IP laws any more, so here's a way to archive high-fidelity Twitter data without signing up for an expensive API key.

This is perfect for academics wishing to preserve Tweets, journalists wanting to download evidence, or simply embedding content without leaking user data…

πŸ‘€ Read more: shkspr.mobi/blog/2025/04/you-d
βΈ»

Föderation EN Mi 09.04.2025 15:59:47

Was looking at `api_versions` in Mastodon's `/api/v2/instance` endpoint as this would be sort of like "feature detection" for anything new, instead of the hacky UA version string detection 😩.

They are documented under specific features, e.g.: docs.joinmastodon.org/entities but I was curious to see what's introduced for every version bump on a single page.

So I made one (in Notion, as screenshot here, for now), not sure if this would be useful for other devs πŸ€”

Medien: 2

Föderation · Di 08.04.2025 16:55:23

leitete weiter:

Föderation EN Di 08.04.2025 16:49:42

Pushed a ton of changes to mastoreqs.com that should make it less of an eye chart and much easier to navigate, especially on mobile.

Dependencies are broken out into multiple matrices, notes are color coded, there is also a quick navigation bar on the side to jump directly to particular components.

Enjoy. Also, upgrade your shit . :masto_oops:

Medien: 1