426
427
428
Mermaid v11.13.0: Venn and Ishikawa (content.mermaidchart.com)
 
 

Venn example

cross-posted from: https://programming.dev/post/49143802

Two entirely new diagram types — Venn and Ishikawa — land alongside a significant fix that restores backward compatibility with v10, plus a pile of improvements across flowcharts, ER diagrams, Gantt charts, state diagrams, gitGraph, and more.

429
Slava's Monoid Zoo (factorcode.org)
430
 
 

A ~200 LOC Rust crate benchmarked against ten other languages — came out ahead of a monomorphized C++ lib by ~4× at sub-fanout dispatch. Hot loop is six instructions. Can you make it faster?

431
432
Laws of Software Engineering (lawsofsoftwareengineering.com)
submitted 3 months ago by to c/programming@programming.dev
433
 
 

A minimal Node.js wrapper around ClamAV that scans any file and returns a typed Verdict Symbol:

  • Verdict.Clean
  • Verdict.Malicious
  • Verdict.ScanError

Zero runtime dependencies. No daemon. No cloud. No native bindings. Works locally via clamscan or remotely via clamd TCP socket (Docker-friendly).

npm install pompelmi

Repo: https://github.com/pompelmi/pompelmi

434
 
 

Alright, so I'll get laughed at here, but one of my 'goals' for work this year is I wanted to take the 4 hour VBA course on youtube and then write a small program after it that does something.

Before you laugh at me using an outdated language, I only chose it because a co worker suggested learning it, and we do use some VBA coded macros in our spreadsheets. We're not a very up to date company.

The reason I never get anything done with learning programming is I never know what to do . And if I do come up with something to do, it will be WAYY too complex over my head, i'll fail at it, then never touch it again. If it's too simple, I won't even want to bother. (Yay ADHD)

So I'm just looking for a couple suggestions for a fun little program to make (and consider the goal 'done'). I know calculators of some sort are an option...I can't really think of anything else. I guess it doesn't actually have to be a useful program but it would be cool if it was.

435
436
 
 

Hi folks,

I've been practicing game loop logic and input handling by building a small browser shooter entirely in vanilla JavaScript. No frameworks, no build tools—just a single index.html file.

Tech highlights: • Custom virtual joystick with unified mouse/touch input • requestAnimationFrame game loop with velocity-based movement • Boundary collision and smooth 60FPS rendering • ~300 lines of readable, commented JS

This post: Gameplay video showcase of the current prototype.

Looking for feedback on: • Code structure: Any anti-patterns or modern JS improvements? • Input handling: Is the joystick math clean enough? • Performance: Any obvious bottlenecks for low-end devices?

Happy to share the source code if anyone wants to review or tinker. Thanks for your time and constructive thoughts!

437
438
439
440
441
 
 

Found this gem. A single well made video in a channel. The Channel owner probably made this channel just to house one video I guess.

I havent watched it all the way through but it seems to have alot of substance. By the looks of it the guy probably has spent atleast a year developing professionally in C++ and is pretty pissed to make that video as a ventfest

See if you cant agree with something he said

442
 
 

Hey, I made a thing! It's called doink. Doink gives you dynamic git remotes by using DNS TXT records as pointers.

I wrote a bit about how it works and what it's useful for.

Anyway, do you ever thing about how DNS is a basically a decentralized key-value database? I think about it a lot :)

443
 
 

I have a feeling I'm stuck in tutorial hell, and I need to start actually building things. But I don't know where to start :/

Also I'm really bad at syntax. I only know concepts like for loops, while loops, if-elif-elses, etc...

So maybe something that helps me learn more about coding syntax would be helpful.

Thanks!

444
445
 
 

A design flaw – or expected behavior based on a bad design choice, depending on who is telling the story – baked into Anthropic's official Model Context Protocol (MCP) puts as many as 200,000 servers at risk of complete takeover, according to security researchers.

446
447
 
 

How do I convert a batch of .pngs into a single .apng?

448
449
450
 
 

I'm trying to get to a reason on this, but my point reach to a limit.

I've the feels that scraping the internet for public accessible data, like for example open and public music on Spotify wouldn't be a crime, but the distribution would be. At the same token, this is seem as a crime, while Google does the same and nothing happens, even worse, if this get regulated, Google would have a huge advantage on anyone else.

So, my deeper question is: "Is copyright dead?"

view more: ‹ prev next ›