I made a heatmap diff viewer for code reviews
#HackerNews #heatmap #diff #viewer #code #reviews #software #development #programming #tools #GitHub
#Tag
I made a heatmap diff viewer for code reviews
#HackerNews #heatmap #diff #viewer #code #reviews #software #development #programming #tools #GitHub
Earlier this year, while designing the songbook for Emma’s Magnolia Sun album, I encountered the challenge of creating “chord over lyrics” style chord charts.
Chord charts in InDesign
 
      
  
            🤖 AI browsers are NOT safe!
There is a thing called "prompt injection" and it works.¹
Funnily the thing that most see as a major issue with AI, the
crawling of the #web and one-way use of it's content, is exactly what makes their AI browsers unsafe.
If you place malicious #code in that very content, the AI scans it & then runs it² on your OS 🤯
This issue has been known to the #tech corps for years³, but they released their #AI browsers nonetheless 🤑
1/2
Déterminer la #valeur d’une #résistance #électrique sans connaitre son #code #couleur ni ayant un #ohmmètre n’était #jamais #difficile si vous #maitrisez la #loi d’ #ohm 😉
#Electro-robot vous propose une #nouvelle #activité pour mieux #comprendre comment vous pouvez #réaliser cela avec des #simples #éléments de base que nous disposons tous nous les #Electriciens :
https://electro-robot.com/les-activites/comment-determiner-la-valeur-dune-resistance-en-ohm
Déterminer la #valeur d’une #résistance #électrique sans connaitre son #code #couleur ni ayant un #ohmmètre n’était #jamais #difficile si vous #maitrisez la #loi d’ #ohm 😉
#Electro-robot vous propose une #nouvelle #activité pour mieux #comprendre comment vous pouvez #réaliser cela avec des #simples #éléments de base que nous disposons tous nous les #Electriciens :
https://electro-robot.com/les-activites/comment-determiner-la-valeur-dune-resistance-en-ohm
»Math.random() is not so random — The Illusion of Randomness in JavaScript:
Don’t Trust Math.random() - Uncovering the Hidden Predictability of Random Numbers.«
In some applications random numbers are very useful but not unique and therefore you should consider where to use it. In this regard, there are for example, UUID v4 or Nano ID and the same.
🧑💻 https://vinitshahdeo.substack.com/p/mathrandom-is-not-so-random-the-illusion
#javascript #random #illusion #coding #js #code #nanoid #notunique #unique #dev #webdev #math #donttrust #uuid #uuidv4
Weirdness going on in nodejs's fs.lstat() gives an "fs.Stats" object, but saying "blah instanceof fs.Stats" evaluates to false.
fs.Stats is a function, not a class or whatever... the real object returned is actually a "fs.StatsBase" which is hidden somewhere inaccessible. Only way I've found to do it is by finding a known fs.lstat() response, getting that object's prototype, then asking if the the object uses that prototype... THere's some wild history here and I wanna know how it got this way.
And even if isPrototypeOf is the only way to do it, typescript doesn't know how to use this for type narrowing anyway. Fun!
If you are headed to  @hackaday later this month and you've been curious about  #Rust, check out my workshop! There are still seats available. You'll get a  #RaspberryPiPico kit to take home and continue your embedded Rust journey 🦀
👇
https://hackaday.io/superconference/
If you are headed to  @hackaday later this month and you've been curious about  #Rust, check out my workshop! There are still seats available. You'll get a  #RaspberryPiPico kit to take home and continue your embedded Rust journey 🦀
👇
https://hackaday.io/superconference/
By default, Godot's autocomplete feature replaces the code when you press enter.
You can press shift + enter to insert the suggestion instead.
You can edit both shortcut in Editor > Editor settings > Shortcuts,
look for "ui_text_completion_replace" and "ui_text_completion_accept".
By default, Godot's autocomplete feature replaces the code when you press enter.
You can press shift + enter to insert the suggestion instead.
You can edit both shortcut in Editor > Editor settings > Shortcuts,
look for "ui_text_completion_replace" and "ui_text_completion_accept".
So this is what one possible database migration scenario looks like in Kitten when you’re storing JavaScript objects (instances of JavaScript classes) in your database.
(In this case, I’m moving a VerifiedAccounts collection comprising VerifiedAccount instances to an Accounts collection comprising Account instances, which introduces an inVerified boolean to the model.)
See the Database App Modules Kitten tutorial for more:
https://kitten.small-web.org/tutorials/database-app-modules/
"Vibe coding" is an euphemism for "automated spaghetti".
Engineering has always used all kinds of automation wherever possible, from parsers, pre-processors, assemblers, and compilers, to generators, linters, verifiers, and memory checkers. It's always been code producing code, hopefully helping to produce better code. When you follow engineering principles and develop something reliable, extensible, maintainable, and sustainable, that's still engineering, independently of whatever form of automation you used.
"Vibe coding" places an emphasis of rapid and not always orderly, reasoned, or principled design. Just getting things done fast, which only helps to create more spaghetti code, bigger attack surfaces, and accelerating unsustainable complexity.
I'm afraid we're going to see a lot more business people pretending they saved money creating code that will be impossible to fix.
There's one big complexity wall we're all gonna hit against in a year or two if they keep going down that road.
#vibecoding #code #coding #dev #webdev #software #softwaredevelopment
"Vibe coding" is an euphemism for "automated spaghetti".
Engineering has always used all kinds of automation wherever possible, from parsers, pre-processors, assemblers, and compilers, to generators, linters, verifiers, and memory checkers. It's always been code producing code, hopefully helping to produce better code. When you follow engineering principles and develop something reliable, extensible, maintainable, and sustainable, that's still engineering, independently of whatever form of automation you used.
"Vibe coding" places an emphasis of rapid and not always orderly, reasoned, or principled design. Just getting things done fast, which only helps to create more spaghetti code, bigger attack surfaces, and accelerating unsustainable complexity.
I'm afraid we're going to see a lot more business people pretending they saved money creating code that will be impossible to fix.
There's one big complexity wall we're all gonna hit against in a year or two if they keep going down that road.
#vibecoding #code #coding #dev #webdev #software #softwaredevelopment
Les #LLM, c'est bien connu, se sont en partie instruit en pompant largement le code #opensource. Mais en retour, je me fais la réflexion que les LLM et tout spécialement la génération de #code pourraient avoir un impact important sur l'ensemble du code open-source.
https://linuxfr.org/users/abriotde/journaux/l-impact-du-llm-sur-l-open-source
Les #LLM, c'est bien connu, se sont en partie instruit en pompant largement le code #opensource. Mais en retour, je me fais la réflexion que les LLM et tout spécialement la génération de #code pourraient avoir un impact important sur l'ensemble du code open-source.
https://linuxfr.org/users/abriotde/journaux/l-impact-du-llm-sur-l-open-source
Mastui – A Retro-Modern Mastodon Client for the Terminal
Tired of clunky Mastodon clients that don’t fit your workflow? I built Mastui, a retro-modern Mastodon client for the terminal. Think multi-timeline views, themes, and even image rendering — all inside your terminal window. It started as a pet project, but it’s
https://schulz.dk/2025/08/27/mastui-a-retro-modern-mastodon-client-for-the-terminal/
#Code #projects #commandline #mastodon #project #python #terminal #textual #tui
When I write tests for code, I often include references to TV or books or other such things.
If I need a text string, I rarely do "Hello World". I used to do "Hello Kitty" but these days I usually use "Hi Bob" (from For All Mankind). I even added a test API header "X-Hi: Bob" the other day. 😁
For errors I often go with "Out of cheese error" or "Divide by cucumber error" from Discworld.
A space for Bonfire maintainers and contributors to communicate