snabelen.no er en av mange uavhengige Mastodon-servere du kan bruke for å delta i det desentraliserte sosiale nettet.
Ein norsk heimstad for den desentraliserte mikroblogge-plattformen.

Administrert av:

Serverstatistikk:

363
aktive brukere

#code

16 innlegg16 deltakere0 innlegg i dag

Ich unterlasse dazu mal jeglichen Kommentar…

»#Code-KI gerät in #Panik und löscht absichtlich gesamte #Datenbank:
Das KI-Tool, das beim #Programmieren unterstützen soll, hat über 2.400 #Daten'sätze gelöscht. Man könnte meinen, ein Vorteil von #KI-Systemen sei, dass sie im Gegensatz zu #Menschen nicht emotional reagieren und deshalb bessere Entscheidungen treffen. Doch wie ein aktueller Vorfall zeigt, braucht es keine #Emotionen, um gravierende #Fehler zu machen.«

🤷 futurezone.at/digital-life/cod

Symbolbild Verzweiflung
futurezone.at · Coding-KI gerät in Panik und löscht absichtlich gesamte DatenbankAv futurezone.at

I think I need an exit plan from my #engineering project

I've had a great time on it, but I'm not sure how I can move it forward from here.

The project sits directly on the intersection of #sofware #space #orbitalmechanics and #radar. I'm a #developer with a lot of self-taught knowledge in the other fields, so it was perfect for me to evolve into sort of a tech-lead

Our initial success led to a (local) revolution in #data collection (95% less time to perform much better overall).

The same underlying algorithms can be applied to other problems, so why not expand those capabilities?

Because we were so successful a lot of subprojects have been built on what we did. The experts on the core team don't have time to push forward on these frontiers I'd like to work on and I don't have the ability to do it by myself.

Also, the #python #code I wrote/designed now has people that could maintain it.

So I'm sort of at a loose end inside my own project.

Maybe I should find another struggling good idea and chip in.

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
Mer fra 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
Mer fra Terence Eden

No Encrypting and compressing files does not always work and especially not if the data is minimal or has compression integrated in the data format – not new but always funny in your own projects.

```tracing
2025-07-19T08:01:20.550231Z INFO myproject: 🔏 file encrypt in 210 bytes
2025-07-19T08:01:20.550610Z INFO myproject: 🗜️ -770.00% file compressed
```

»Softwareentwicklung – Wie ist die Arbeit bei OpenAI?
Kaum E-Mails, viel Code und ein umstrittener Ruf: Ein ehemaliger OpenAI-Forscher berichtet von seiner Zeit im Unternehmen.«

Und ergibt dies nun gute Qualität so wie sichere Software von KI?

🤖 golem.de/news/softwareentwickl

Golem.de · Softwareentwicklung: Wie ist die Arbeit bei OpenAI? - Golem.deAv Oliver Nickel

Satisfies in TypeScript

This is a post about one of TypeScript’s less common features: the satisfies keyword. It’s occasionally incredibly useful, and knowing how to properly wield it is a valuable trick to have up your sleeve. Let’s take a look!

🧑‍💻 frontendmasters.com/blog/satis

frontendmasters.comSatisfies in TypeScript – Frontend Masters BlogThe `satisfies` keyword allows you to assert that a certain value

Been comparing the differences between publishing a library on Maven Central to publishing on NPM.

Minutes for NPM vs the multiple verification steps needed for Maven.

Starting to see why supply chain attacks are _much_ easier with NPM 😬

#GPUHammer is the first attack to show #Rowhammer bit flips on #GPU memories, specifically on a GDDR6 memory in an #NVIDIA A6000 GPU. Our attacks induce bit flips across all tested DRAM banks, despite in-DRAM defenses like TRR, using user-level #CUDA #code. These bit flips allow a malicious GPU user to tamper with another user’s data on the GPU in shared, time-sliced environments. In a proof-of-concept, we use these bit flips to tamper with a victim’s DNN models and degrade model accuracy from 80% to 0.1%, using a single bit flip. Enabling Error Correction Codes (ECC) can mitigate this risk, but ECC can introduce up to a 10% slowdown for #ML #inference workloads on an #A6000 GPU.

gpuhammer.com/

GPUHammerGPUHammer