I want to make a linter rule for our team that you are not permitted to name a variable "data"
const data = JSON.parse(message)
Don't force software developers into using and producing #AI tools. If you want prompt engineers, get prompt engineers, not software developers—these are two vastly(!) different professions (for a reason!).
Otherwise, the industry will beg for coders in a decade, if even that far into the future—mark my words. Because they will either have quitted, unlearned or ever learned coding.
#amCoding #amProgramming #ArtificialIntelligence #generativeAI #genAI #softwareDevelopment #softwareEngineering
Well, finally got through all the dependencies I needed to do a little refactoring to document what I want to do with my fun project. Not sure if "writing documentation" is fun by itself.
Project Layout (v4.0.0, 2025-03-15)
https://d.moonfire.us/garden/project-layout/
https://src.mfgames.com/dmoonfire-garden/project-layout
So, the initial version of v4 project layout that explains that last year or so of my development evolution on private projects:
.config/
for configuration files#artificialIntelligence still can't reasonably(!) replace you (sure, you can be fired due to the #AI hype nonetheless), but AI can destroy the whole industry sector by destroying the trust in honest programmers:
#amProgramming #amCoding #genAI #generativeAI #ChatBot #LeetCode #softwareEngineering #softwareDevelopment
#Laravel 12.x is coming to us on February 24th
Looking forward to it! 🚀
#PHP #amCoding #amProgramming #softwareDevelopment #softwareEngineering #webDev #webDevelopment
Another #CodeGolf puzzle for #JavaScript #WebDev people:
I have n functions that type one argument of the same type and return a boolean.
The current usage is:
function a(b) {
return c(b) && d(b)
}
I boiled down a to
a = (b) => [c, d].every(fn => fn(x))
I assume, this can be further boiled down via bind/ #PartialApplication/ #Currying
What do you think?
#amCoding #amProgramming #webDevelopment #softwareDevelopment #softwareEngineering
Today's log for trying to get fiss
(my Rust CLI for duplicating some of TaskWarrior's functionality using Forgejo issues) doing something useful. Tonight's goal is to get fiss list
showing a list of issues to subscribe forge projects which no regards for filtering.
It's a weekday and I need to figure out how to assemble a weight machine, so hopefully this won't take wrong.
Narrator: Dylan was wrong, of course.
The rest will be unlisted.
One mistake, #Microsoft made by buying #GitHub, is that developers are harder to lie to
#amCoding #amProgramming #softwareDevelopment #softwareEngineering #GitHubCopilot #enshittification #ensh11n #dataCapitalism #CorporateGreed #digitalFeudalism #platformCapitalism #predatoryCapitalism
When using a #MySQL database, is it possible in one go, when adding a new column to an existing table, to use one default value for existing columns (initial migration, so to speak), but another for every new row going forward (real default)?
Scenario: I want to set the value in pre-existing columns to true, but in all subsequent rows to false by default.
#amCoding #amProgramming #softwareDevelopment #softwareEngineering #databaseEngineering #databaseArchitecture #dbms #SQL
Has someone attempted to build a #CodeReview tool that relies more on #git itself like using git notes and git trailers and such?
#VersionControl #VCS #PullRequest #MergeRequest #GitHub #BitBucket #GitLab #Gerrit #Gitea #forgejo #Codeberg #amCoding #amProgramming #softwareDevelopment #softwareEngineering #webDevelopment
Please, please, when talking about runtime stuff, call it #JavaScript, not #TypeScript—String.prototype.toLowerCase() is a JavaScript feature, not a TypeScript feature, so your tutorial "How to change my string to lower case in TypeScript" doesn't make sense
Please, please, when talking about server-side features, call it #NodeJS, not JavaScript—I know, it's also JS, but people WILL get confused, because JavaScript is mostly understood as a totum pro parte for client-side JavaScript
#TypeScript devs: I have the following class, emitting the type error below. How is it that TS isn't able to infer the type of the props correctly and how can I make it?
#amCoding #amProgramming #webDevelopment #softwareDevelopment #softwareEngineering
#TypeScript/ #Vue devs: I have this generic component using defineModel(). Now, I want to make the type conditional:
– if props.multiple, return T[] | undefined
– else, return T | undefined
How would you approach this?
#amProgramming #amCoding #webDevelopment #softwareDevelopment #softwareEngineering
When in doubt if your comment an a #PullRequest/ #MergeRequest/ #CodeReview or the like was substantial enough to be credited via a git trailer (e.g. Co-authored-by), what would you prefer that the other developer would do by default in that case?
#amCoding #amProgramming #softwareEngineering #softwareDevelopment #git #gitTrailers
Was sind eure "dummen*" ersten Worte beim daily standup meeting, wenn ihr sowas macht?
* "dumm" deshalb, weil unnötig/unpassend
#amCoding #amProgramming #softwareDevelopment #softwareEngineering #remoteWork #scrum #agile
Dear #openSource maintainers,
when you are not interested in a change—which, of course, is totally fine—please straight out say so instead of discussing it at length for weeks or months, signaling interest with this, until you just say "no". #FOSS volunteers can waste their time better.
#webDev #webDevelopment #amCoding #amProgramming #softwareDevelopment #softwareEngineering
Listening to the Met Opera Saturday matinee and coding... you?
I am sure. I would love to disable it, but you deliberately didn't include a "disable" button and then sent all the devs into their Christmas and New Year vacation
#GitHub #AI #GitHubCopilot #ChatBot #ArtificialIntelligence #genAI #generativeAI #amCoding #amProgramming #softwareEngineering #softwareDevelopment #ensh11n #enshittification #chokepointCapitalism
#GitHub bot be like: No replies to this issue. Can I close it?
Well, this is because YOUR OWNERS didn't bother to reply yet. Nothing, I can do about this. I hope, you realize that your question comes across rather cynical.
#amCoding #amProgramming #webDevelopment #softwareDevelopment #softwareEngineering