lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

66
active users

#code

6 posts6 participants1 post today

🆕 blog! “1KB JS Numbers Station”

Code Golf is the art/science of creating wonderful little demos in an artificially constrained environment. This year the js1024 competition was looking for entries with the theme of "Creepy".

I am not a serious bit-twiddler. I can't create JS shaders which produce intricate 3D worlds in a scrap of code. But I can use slightly obscure JavaScript…

👀 Read more: shkspr.mobi/blog/2025/07/1kb-j

#code #HTML #javascript #tts

Random monochrome tiles with the word Numbers Station superimposed.
Terence Eden’s Blog · 1KB JS Numbers Station
More from Terence Eden

PRIVACY FOLKS: Stop fucking forgetting about accessibility. People with disabilities deserve privacy too - and in fact probably need it more than you do.

Signed,
So fucking tired of not being able to use privacy focused alternatives to apple and google, their native aps for various things from email to navigation, and suchlike.

I've been using Claude Code, and I like it. It's produced decent code and configuration files and everything, but I've only so far used it for "evergreen", fully vibe coded projects. So having Claude start from scratch.

Meanwhile, I *have* used Cursor on existing projects to add features, fix bugs, and add tests. And I found that to work pretty well too.

The problem I have is that with Cursor, I can see the diffs of the code in my editor, step by step, and approve or deny individual changes.

With Claude, it seems like it just prints a diff in the console and I have to accept or reject the whole thing there, with no context of the rest of my project, and no ability to tweak it.

Am I just doing something wrong? Is this the reason to stick to Cursor?

Looking for insights.

I know I'm late to the party on this, but when people say "headless CMS" do they kinda mean the database part of the "database publishing" of 20 years ago?

Like it is storing content separately from the HTML/CSS or app interface so one doesn't have to munge that stuff when making content, or munge content when making a site or app or something, right?

Or is there some new magic in "headless CMS" I'm missing?

"We ran a randomized controlled trial to see how much AI coding tools speed up experienced open-source developers. The results surprised us: Developers thought they were 20% faster with AI tools, but they were actually 19% slower when they had access to AI than when they didn't."

bsky.app/profile/metr.org/post

Bluesky Social · METR (@metr.org)We ran a randomized controlled trial to see how much AI coding tools speed up experienced open-source developers. The results surprised us: Developers thought they were 20% faster with AI tools, but they were actually 19% slower when they had access to AI than when they didn't.

PHP people,

I'm trying to convert some python that I wrote many years ago to #PHP. The code takes a word (string) and converts it into IPA(International Phonetic Alphabet) based on an alphabet character=>IPA dictionary (array).

In Python every string is an array, but in PHP it's not.

How do I iterate over a string not just seeking for individual characters but also for groups of characters? For instance the word 'light' I'd want to seek for 'igh', which would be converted to 'aɪ'

TIA

#Programming #Python #ConLang #Code

Edit: With loads of help from lots of people, especially @inguin, I now have this sorted (I think). Thanks to everyone.

CfP: DHd2026 in Wien
„Nicht nur Text, nicht nur Daten“ – unter diesem Motto lädt die Jahrestagung der Digital Humanities im deutschsprachigen Raum vom 23.–27. Februar 2026 dazu ein, über Methoden, Daten, Software und deren Zusammenspiel in den Geisteswissenschaften zu diskutieren.

Deadline für Einreichungen: 01.08.2025
digitalhumanities.de/2025/06/2

digitalhumanities.deCall for Papers DHd2026 – digital humanities im deutschsprachigen raumDHd 2026: „Nicht nur Text, nicht nur Daten“, Jahrestagung des Verbandes Digital Humanities im deutschsprachigen Raum, ausgerichtet von der Universität Wien

Got a bug report for @novelwriter from someone who uses Cuneiform text in their work. These are 4 byte Unicode symbols, and turned out to be very tricky to handle. 😅

The app is built with Python, which will switch a string to UCS-4 when it contains such characters, so the characters always have a single index in the string.

However, the Qt library uses UTF-16. That means 4-byte characters use two slots, creating a mismatch in indices between the two representations.

#Python#Qt#Code
Continued thread

CLUES: Clustering tool for analyzing spectral data

CLUES (CLustering UnsupErvised with Sequencer) analyzes spectral and IFU data. This fully interpretable clustering tool uses machine learning to classify and reduce the effective dimensionality of data sets. It combines multiple unsupervised clustering methods with multiscale distance measures using Sequencer (ascl:2105.006) to find representative end-member spectra that can be analyzed with detailed mineralogical modeling and follow-up observations. CLUES has been used on Spitzer IRS data and debris disk science, and can be applied to other high-dimensional spectral data sets, including mineral spectroscopy in general areas of astrophysics and remote sensing.

github.com/Ompha/CLUES
ui.adsabs.harvard.edu/abs/2021
ui.adsabs.harvard.edu/abs/2025

#space#tech#science
Continued thread

Command Line Orbit Plotting

OK Binaries Interactive Catalog
github.com/mb2448/ok-binaries/

OK Binaries is a tool for identifying suitable calibration binaries from the Washington Double Star (WDS) Sixth Orbit Catalog. It calculates orbital positions at any epoch, propagates uncertainties using Monte Carlo sampling, and generates orbit plots. The web app includes automated daily updates of binary positions and a searchable interface with filters for position, magnitude, separation, and other orbital parameters. OK Binaries can be used online, as a standalone offline browser app, or via the command line.

github.com/mb2448/ok-binaries/

ok-binaries.streamlit.app/

#space#tech#science

The Sequencer: Detect one-dimensional sequences in complex datasets

The Sequencer reveals the main sequence in a dataset if one exists. To do so, it reorders objects within a set to produce the most elongated manifold describing their similarities which are measured in a multi-scale manner and using a collection of metrics. To be generic, it combines information from four different metrics: the Euclidean Distance, the Kullback-Leibler Divergence, the Monge-Wasserstein or Earth Mover Distance, and the Energy Distance. It considers different scales of the data by dividing each object in the input data into separate parts (chunks), and estimating pair-wise similarities between the chunks. It then aggregates the information in each of the chunks into a single estimator for each metric+scale.

github.com/dalya/Sequencer

sequencer.org/

#space#tech#science