#amProgramming

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-12-14

scrambled letters are essentially just a race condition

#amCoding #amProgramming #softwareDevelopment #softwareEngineering

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-08-14

#ADHS #devs, I want to test a theory: How good are you at/how are your feelings towards debugging?

#amCoding #amProgramming #webDev #webDevelopment #softwareDevelopment #softwareEngineering #computerScience #neurodiversity

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-08-06

Proposal to rename the type assertion operator in #TypeScript (`as`) to "gaslighting operator"

#amCoding #amProgramming #softwareDevelopment #softwareEngineering #webDevelopment #webDev

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-07-29

Is there a locale flag (POSIX or BCP47) to indicate how "educated" the expressions are (formulas vs formulae, choice of entirely differet words, etc.)

But I assume, this would be hard to standardize

#amProgramming #amCoding #computerScience #Linguistics #webDev #webDevelopment #softwareDevelopment #softwareEngineering

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-07-26
Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-07-19

I scored 13/28 on jsdate.wtf and all I got was this lousy text to share on social media.

But jokes aside, I had great funβ€”and quite a few headscratches, yaw drops, and sighs πŸ˜…

jsdate.wtf/

#amCoding #amProgramming #softwareDevelopment #softwareEngineering #webDevelopment #webDev #JS #JavaScript #ECMAScript #js_dates #wtfjs

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-06-18

Fellow people in #softwareDevelopment: How do you do "#CodeReview post-processing", meaning what do you do with the review comments that either weren't (considered) directly actionable during the MR/PR (e.g. follow-up tickets) or contained general feedback/shortcomings that have to be addressed outside the scope of the MR/PR (e.g. improve our handbook, "replace this in the whole codebase", "we need to discuss this as a team" etc.)?

#amCoding #amProgramming #softwareEngineering #webDevelopment

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-05-20

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

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-03-04

#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:

linkedin.com/posts/intrepidkar

#amProgramming #amCoding #genAI #generativeAI #ChatBot #LeetCode #softwareEngineering #softwareDevelopment

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-02-08

#Laravel 12.x is coming to us on February 24th

Looking forward to it! πŸš€

#PHP #amCoding #amProgramming #softwareDevelopment #softwareEngineering #webDev #webDevelopment

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-02-04

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

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-01-30

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

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-01-30

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

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-01-28

#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

class MyClass {
  readonly key: string | number | boolean
  readonly value: string | number | boolean
  
  constructor(key: string | number | boolean, value: string | number | boolean | undefined) {
    this.key = key
    this.value = value ?? key
  }
}

enum MyEnum {
  A = 1,
  B = 2,
}

const myInstance = new MyClass('A', 'a')
const myIndex = MyEnum[myInstance.key]
// Error: Type 'false' cannot be used as an index type.(2538)
// Error: Type 'true' cannot be used as an index type.(2538)
Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-01-28

#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

<!-- GenericComponent.vue -->
<template>
	<select v-if="multiple"></select>
	<select v-else multiple></select>
</template>

<script lang="ts" setup generic="T">
  const props = defineProps({
    multiple: Boolean
  })
  
   defineModel<T | T[] | undefined>()
</script>

<!-- SomeComponent.vue -->
<template>
	<GenericComponent @update:modelValue="(model: string) => console.log(model.toLowerCase()">
</template>
<!-- Error: Cannot call toLowerCase() on string[] -->
<!-- Error: Cannot call toLowerCase() on undefined -->
Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-01-16

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

Zuri (he/him) βŒοΈπŸ‘‘ πŸ• CETshaedrich@mastodon.online
2025-01-13

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

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst