photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

244
active users

#code

9 posts9 participants0 posts today
Koen Hufkens, PhD<p>Combining two ideas from my feed.</p><p>First, there is the account of <span class="h-card" translate="no"><a href="https://mamot.fr/@pluralistic" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pluralistic</span></a></span> on how AI are the perfect bullshit machines and spit out hard code bugs. This is especially true when forced upon people (the reverse-centaurs).</p><p><a href="https://pluralistic.net/2025/08/04/bad-vibe-coding/#maximally-codelike-bugs" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">pluralistic.net/2025/08/04/bad</span><span class="invisible">-vibe-coding/#maximally-codelike-bugs</span></a></p><p>Second, an old account on how improper use of image compression algorithms in Xerox scans lied about numbers, at scale.</p><p><a href="https://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_are_switching_written_numbers_when_scanning" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">dkriesel.com/en/blog/2013/0802</span><span class="invisible">_xerox-workcentres_are_switching_written_numbers_when_scanning</span></a></p><p>These two things are related, and someone will take the fall for failure.</p><p><a href="https://mastodon.social/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> <a href="https://mastodon.social/tags/bug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bug</span></a> <a href="https://mastodon.social/tags/DevOps" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevOps</span></a> <a href="https://mastodon.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a></p>
TomKrajci 🇺🇦 🏳️‍🌈 🏳️‍⚧️<p>Wanna be hackers? Code crackers?</p><p><a href="https://www.youtube.com/watch?v=qpMvS1Q1sos" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=qpMvS1Q1so</span><span class="invisible">s</span></a></p><p><a href="https://universeodon.com/tags/Pentium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pentium</span></a> <a href="https://universeodon.com/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroComputing</span></a> <a href="https://universeodon.com/tags/WeirdAl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WeirdAl</span></a> <a href="https://universeodon.com/tags/Rap" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rap</span></a> <a href="https://universeodon.com/tags/Music" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Music</span></a> <a href="https://universeodon.com/tags/Hack" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hack</span></a> <a href="https://universeodon.com/tags/Hackers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hackers</span></a> <a href="https://universeodon.com/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a> <a href="https://universeodon.com/tags/VibeCoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VibeCoding</span></a></p>
rag. Gustavino Bevilacqua<p>Burla tremenda.</p><p>Usate nel vostro codice il carattere U+037E ; (GREEK QUESTION MARK) al posto di U+003B ; (SEMICOLON), e chi deve debuggare vi insegnerà tante nuove bestemmie 😍 </p><p><a href="https://en.wikipedia.org/wiki/Question_mark#Greek_question_mark" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">en.wikipedia.org/wiki/Question</span><span class="invisible">_mark#Greek_question_mark</span></a></p><p><a href="https://mastodon.cisti.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.cisti.org/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://mastodon.cisti.org/tags/semicolon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>semicolon</span></a></p>
marqle<p>I can certainly understand why <a href="https://mastodonapp.uk/tags/emzed" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emzed</span></a> wants to close the <a href="https://mastodonapp.uk/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> <a href="https://mastodonapp.uk/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> base. It's a lot easier to <a href="https://mastodonapp.uk/tags/hype" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hype</span></a> it when you can't see it.</p><p>The bald truth is, it's a lot easier to make an AI that looks like it's working from a distance.</p><p><a href="https://fortune.com/2025/07/31/zuckerberg-meta-open-source-risks-superintelligence/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fortune.com/2025/07/31/zuckerb</span><span class="invisible">erg-meta-open-source-risks-superintelligence/</span></a></p><p><a href="https://mastodonapp.uk/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://mastodonapp.uk/tags/superintelligence" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>superintelligence</span></a></p>
Metin Seven 🎨<p>Source: <a href="https://pridever.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pridever.org</span><span class="invisible"></span></a></p><p><a href="https://graphics.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://graphics.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://graphics.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://graphics.social/tags/release" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>release</span></a> <a href="https://graphics.social/tags/releases" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>releases</span></a> <a href="https://graphics.social/tags/tool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tool</span></a> <a href="https://graphics.social/tags/tools" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tools</span></a> <a href="https://graphics.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://graphics.social/tags/program" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>program</span></a> <a href="https://graphics.social/tags/programme" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programme</span></a> <a href="https://graphics.social/tags/funny" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>funny</span></a> <a href="https://graphics.social/tags/meme" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>meme</span></a> <a href="https://graphics.social/tags/memes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memes</span></a> <a href="https://graphics.social/tags/picture" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>picture</span></a></p>
Thomas Rigby<p><span>just spent an hour debugging a problem before noticing i had </span><code>=</code><span> instead of </span><code>===</code><span>. assigning instead of comparing </span>🤦<span><br></span><a href="https://fedia.social/tags/code" rel="nofollow noopener" target="_blank">#code</a><span> </span><a href="https://fedia.social/tags/developer" rel="nofollow noopener" target="_blank">#developer</a><span> </span><a href="https://fedia.social/tags/facepalm" rel="nofollow noopener" target="_blank">#facepalm</a></p>
knizer<p><a href="https://toot.boston/tags/BostonWeekend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BostonWeekend</span></a> 18/x<br>Sat <a href="https://toot.boston/tags/WEB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WEB</span></a> Its <a href="https://toot.boston/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> Day! Cambridge Crossing, 3-5pm, free hosted by fediverse’s own <span class="h-card" translate="no"><a href="https://icosahedron.website/@cxli" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cxli</span></a></span> and <span class="h-card" translate="no"><a href="https://sunny.garden/@kayserifserif" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>kayserifserif</span></a></span> - come write HTML with us, no experience required<br><a href="https://icosahedron.website/@cxli/114914202375756748" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">icosahedron.website/@cxli/1149</span><span class="invisible">14202375756748</span></a><br><a href="https://boston-html-day.neocities.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">boston-html-day.neocities.org</span><span class="invisible"></span></a> <a href="https://toot.boston/tags/Bostodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bostodon</span></a><br><a href="https://toot.boston/tags/FrontEnd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FrontEnd</span></a> <a href="https://toot.boston/tags/WebPages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPages</span></a> <a href="https://toot.boston/tags/textEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>textEditor</span></a> <a href="https://toot.boston/tags/hacking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hacking</span></a> <a href="https://toot.boston/tags/Boston" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Boston</span></a> <a href="https://toot.boston/tags/CambridgeMA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CambridgeMA</span></a> <a href="https://toot.boston/tags/Firefox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Firefox</span></a> <a href="https://toot.boston/tags/chrome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>chrome</span></a> <a href="https://toot.boston/tags/W3C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>W3C</span></a> <a href="https://toot.boston/tags/HTMLDay" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTMLDay</span></a> <a href="https://toot.boston/tags/Markup" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Markup</span></a> <a href="https://toot.boston/tags/Markdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Markdown</span></a> <a href="https://toot.boston/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://toot.boston/tags/Typescript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Typescript</span></a> <a href="https://toot.boston/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://toot.boston/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://toot.boston/tags/browser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>browser</span></a> <a href="https://toot.boston/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://toot.boston/tags/language" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>language</span></a></p>
Longreads<p>"William is the history: a key to what’s inside me, to where I’m from. My cipher." New on Longreads: An excerpt from Jeremy B. Jones's forthcoming memoir about his ancestor's encrypted diaries, and how the secrets we carry are revealed <a href="https://longreads.com/2025/07/31/code-cipher-family-mystery/#memoir" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">longreads.com/2025/07/31/code-</span><span class="invisible">cipher-family-mystery/#memoir</span></a> <a href="https://mastodon.world/tags/history" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>history</span></a> <a href="https://mastodon.world/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://mastodon.world/tags/cryptology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cryptology</span></a> <a href="https://mastodon.world/tags/books" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>books</span></a></p>
The New Oil<p><a href="https://mastodon.thenewoil.org/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> Kernel Could Soon Expose Every Line <a href="https://mastodon.thenewoil.org/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> Helps Write</p><p><a href="https://linux.slashdot.org/story/25/07/25/1950226/linux-kernel-could-soon-expose-every-line-ai-helps-write" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">linux.slashdot.org/story/25/07</span><span class="invisible">/25/1950226/linux-kernel-could-soon-expose-every-line-ai-helps-write</span></a></p><p><a href="https://mastodon.thenewoil.org/tags/cybersecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cybersecurity</span></a> <a href="https://mastodon.thenewoil.org/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://mastodon.thenewoil.org/tags/FOSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FOSS</span></a></p>
Steve Dustcircle 🌹<p>Can <a href="https://mastodon.social/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> Really <a href="https://mastodon.social/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a>? Study Maps the Roadblocks to <a href="https://mastodon.social/tags/Autonomous" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Autonomous</span></a> <a href="https://mastodon.social/tags/Software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Software</span></a> Engineering </p><p>A team of researchers has mapped the challenges of AI in <a href="https://mastodon.social/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwaredevelopment</span></a>, and outlined a research agenda to move the field forward.</p><p><a href="https://goodmenproject.com/featured-content/can-ai-really-code-study-maps-the-roadblocks-to-autonomous-software-engineering/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">goodmenproject.com/featured-co</span><span class="invisible">ntent/can-ai-really-code-study-maps-the-roadblocks-to-autonomous-software-engineering/</span></a></p>
Feoh<p><span class="h-card" translate="no"><a href="https://mastodon.social/@willmcgugan" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>willmcgugan</span></a></span> I'm super excited to read your <a href="https://oldbytes.space/tags/Toad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Toad</span></a> announcement!</p><p><a href="https://willmcgugan.github.io/announcing-toad/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">willmcgugan.github.io/announci</span><span class="invisible">ng-toad/</span></a></p><p>I think making it available to sponsors for 5K/mo is an excellent idea and I wish you every success not just with this endeavor but with getting the funding you so richly deserve to work on it!</p><p>And I will eagerly but patiently await the public release! I use <a href="https://oldbytes.space/tags/Claude" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Claude</span></a> <a href="https://oldbytes.space/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a> <a href="https://oldbytes.space/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> a bunch and it would be nice to have something better than the default!</p>
Kevin Karhan :verified:<p><a href="https://www.youtube.com/watch?v=9dRSF1htY-4&amp;t=35s" rel="nofollow noopener" target="_blank">THIS</a> is why all <a href="https://infosec.space/tags/Microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Microsoft</span></a> <a href="https://infosec.space/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> <a href="https://www.youtube.com/watch?v=4PirLfRnJT0&amp;t=98s" rel="nofollow noopener" target="_blank">&amp;</a> <a href="https://infosec.space/tags/Xbox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xbox</span></a> <a href="https://infosec.space/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> sucks! </p><p><a href="https://infosec.space/tags/CodeComments" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodeComments</span></a></p>
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕<p>Ich unterlasse dazu mal jeglichen Kommentar…</p><p>»<a href="https://chaos.social/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a>-KI gerät in <a href="https://chaos.social/tags/Panik" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Panik</span></a> und löscht absichtlich gesamte <a href="https://chaos.social/tags/Datenbank" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Datenbank</span></a>:<br>Das KI-Tool, das beim <a href="https://chaos.social/tags/Programmieren" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programmieren</span></a> unterstützen soll, hat über 2.400 <a href="https://chaos.social/tags/Daten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Daten</span></a>'sätze gelöscht. Man könnte meinen, ein Vorteil von <a href="https://chaos.social/tags/KI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KI</span></a>-Systemen sei, dass sie im Gegensatz zu <a href="https://chaos.social/tags/Menschen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Menschen</span></a> nicht emotional reagieren und deshalb bessere Entscheidungen treffen. Doch wie ein aktueller Vorfall zeigt, braucht es keine <a href="https://chaos.social/tags/Emotionen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Emotionen</span></a>, um gravierende <a href="https://chaos.social/tags/Fehler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fehler</span></a> zu machen.«</p><p>🤷 <a href="https://futurezone.at/digital-life/coding-ki-panik-replit-datenbank-geloescht-fehler-vibe-coding/403060377" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">futurezone.at/digital-life/cod</span><span class="invisible">ing-ki-panik-replit-datenbank-geloescht-fehler-vibe-coding/403060377</span></a></p>
d'aïeux et d'ailleurs<p>Mais quelle idée de récupérer en masse le HTML de pages <a href="https://framapiaf.org/tags/BNF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BNF</span></a> ! on trouve de ces commentaires... 🤣 </p><p><a href="https://framapiaf.org/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://framapiaf.org/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://framapiaf.org/tags/comment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>comment</span></a> <a href="https://framapiaf.org/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a></p>

Unhappy.
I don't want to start making changes to my Project without some way of reverting.
I've never understood Git, and Kraken has not done what it said it would do.
I don't know if I can remove Git/Kraken safely.
I don't want to have to install 6 different Clients, to fail to Save my code.

Any advice would be welcome.

1KB JS Numbers Station

shkspr.mobi/blog/2025/07/1kb-j

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 APIs!

There's something deliciously creepy about Numbers Stations - the weird radio frequencies which broadcast seemingly random numbers and words. Are they spies communicating? Commands for nuclear missiles? Long range radio propagation tests? Who knows!

So I decided to build one. Play with the demo.

Obviously, even the most extreme opus compression can't fit much audio into 1KB. Luckily, JavaScript has you covered! Most modern browsers have a built-in Text-To-Speech (TTS) API.

Here's the most basic example:

m = new SpeechSynthesisUtterance;m.text = "Hello";speechSynthesis.speak(m);

Run that JS and your computer will speak to you!

In order to make it creepy, I played about with the rate (how fast or slow it speaks) and the pitch (how high or low).

m.rate=Math.random();m.pitch=Math.random()*2;

It worked disturbingly well! High pitched drawls, rumbling gabbling, the languid cadence of a chattering friend. All rather creepy.

But what could I make it say? Getting it to read out numbers is pretty easy - this will generate a random integer:

s = Math.ceil( Math.random()*1000 );

But a list of words would be tricky. There's not much space in 1,024 bytes for anything complex. The rules say I can't use any external resources; so are there any internal sources of words? Yes!

Object.getOwnPropertyNames( globalThis );

That gets all the properties of the global object which are available to the browser! Depending on your browser, that's over 1,000 words!

But there's a slight problem. Many of them are quite "computery" words like "ReferenceError", "URIError", "Float16Array". I wanted all the single words - that is, anything which only has one capital letter and that's at the start.

const l = (n) => {    return ((n.match(/[A-Z]/g) || []).length === 1 && (n.charAt(0).match(/[A-Z]/g) || []).length === 1);};//   Get a random result from the filters = Object.getOwnPropertyNames( globalThis ).filter( l ).sort( ()=>.5-Math.random() )[0]

Rather pleasingly, that brings back creepy words like "Event", "Atomics", and "Geolocation".

Of course, Numbers Stations don't just broadcast in English. The TTS system can vocalise in multiple languages.

//   Set the language to Russianm.lang = "ru-RU";

OK, but where do we get all those language strings from? Again, they're built in and can be retrieved randomly.

var e = window.speechSynthesis.getVoices();m.lang = e[ (Math.random()*e.length) |0 ]

If you pass the TTS the number 555 and ask it to speak German, it will read out fünfhundertfünfundfünfzig.

And, if you tell the TTS to speak an English word like "Worker" in a foreign language, it will pronounce it with an accent.

Randomly altering the pitch, speed, and voice to read out numbers and dissociated words produces, I think, a rather creepy effect.

If you want to test it out, you can press this button. I find that it works best in browsers with a good TTS engine - let me know how it sounds on your machine.

🅝🅤🅜🅑🅔🅡🅢 🅢🅣🅐🅣🅘🅞🅝

With the remaining few bytes at my disposal, I produced a quick-and-dirty random pattern using Unicode drawing blocks. It isn't very sophisticated, but it does have a little random animation to it.

You can play with all the js1024 entries - I would be delighted if you voted for mine.

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

🆕 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