mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#code

12 posts12 participants0 posts today

@willmcgugan I'm super excited to read your #Toad announcement!

willmcgugan.github.io/announci

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!

And I will eagerly but patiently await the public release! I use #Claude #Code #AI a bunch and it would be nice to have something better than the default!

Will McGugan · Announcing Toad - a universal UI for agentic coding in the terminalI’m a little salty that neither Anthropic nor Google reached out to me before they released their terminal-based AI coding agents.

Interesting Git repos of the week:

Detection:

* github.com/ArcHound/asn-check - quickly check which AS an IP belongs to
* github.com/CiscoCXSecurity/AI4 - one of my SOC advisory team's ideas on the use cases and approach for using AI in secops
* github.com/invictus-ir/KubeFor - DFIR for k8s

Bugs:

* github.com/watchtowrlabs/watch - @watchtowrcyber's latest FortiWeb bug, SQLi in a WAF
* github.com/timb-machine-mirror - PoC for the SharePoint snafu

Exploitation:

* github.com/LuemmelSec/Pentest- - a nice little collection of AD & Windows pen testing tools
* github.com/rtecCyberSec/Speech - lateral movement via speech

Hard hacks:

* github.com/alfiecg24/Trigon - a deterministic exploit for CVE-2023-32434 in iOS

Hardening:

* github.com/vet-run/vet - fixing the "curl ... | sh" pattern

Data:

* github.com/basel-a/SMET - semantic mapping of CVE to ATT&CK

Development:

* github.com/trailofbits/vendete - @trailofbits look at copy-pasta detection

#security, #research, #code

A simple tool to check ASNs of IPs. Contribute to ArcHound/asn-check development by creating an account on GitHub.
GitHubGitHub - ArcHound/asn-check: A simple tool to check ASNs of IPsA simple tool to check ASNs of IPs. Contribute to ArcHound/asn-check development by creating an account on GitHub.

Type and Fade User Feedback with jQuery
I wanted to add just a bit of whimsy to a recent project so I made the user feedback from an AJAX call get typed out instead of simply fading in. You can use the jQuery function below by calling it with a selector and a message as the second parameter. It will clear the selector of any previous text and then type the response it then fade it out over a few seconds.

funct
sfndesign.ca/type-and-fade-use
#Code #jquery

SFNdesign · Type and Fade User Feedback with jQuery - SFNdesignI wanted to add just a bit of whimsy to a recent project so I made the user feedback from […]

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 DatenbankBy 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.

#vscode users out there, have you tried #eclipse #theia ? I've been using it more whenever possible. I like that it is very similar to #code out of the box (not a fork/clone), but a completely different architecture.

Vscode plugins work, but theia native plugins are more powerful (haven't written, just read about)

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

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
```

#code#screenshot#rust