@muhdiekuh@ruhr.social
@muhdiekuh@ruhr.social avatar

muhdiekuh

@muhdiekuh@ruhr.social

Consultant with Suora GmbH. ReactJS, PHP (Symfony) and DevOps. You can hire me & my team for consulting/training/development.

he/him
#searchable

This profile is from a federated server and may be incomplete. Browse more on the original instance.

muhdiekuh, to random German
@muhdiekuh@ruhr.social avatar

@isotopp ich bin zu blöd zu googeln: irgendwo hattest du geschrieben, wie du bei der Fahrradsuche vorgegangen bist.
War das mastodon oder im Blog? Ich finde es nicht.

muhdiekuh,
@muhdiekuh@ruhr.social avatar

@isotopp Danke!

Vermutlich ist’s dran gescheitert dass ich nur deutsche Wörter gegen Google geworfen habe 🙈

muhdiekuh, to node German
@muhdiekuh@ruhr.social avatar

Considering that every year we have a new ambitious replacement for in the JavaScript world, @naderman and @seldaek apparently did a very good job when building and maintaining for . Thanks a lot to you two and everyone else involved.

muhdiekuh, to react
@muhdiekuh@ruhr.social avatar

About every time I think about an architectural problem in a application, I think: "This could easily be solved using a context!". Then I remember that the context API does not work with react server components and I'm lost.

:-(

muhdiekuh,
@muhdiekuh@ruhr.social avatar

The next step is tooting about it. And after that, I realize that most of my bubble is still on X (formerly known as twix) and that I'm talking into a void here.

To anyone who reads this: have a nice week! <3

muhdiekuh, to random
@muhdiekuh@ruhr.social avatar

I’d like to implement a „widget“ that contains a form, which others should be able to integrate into their web application.

What tech stack should I choose? Web Components sound like an obvious choice, but I‘d rather work with something more high-level. Something that compiles to
web components sounds good though.

Any suggestions?

muhdiekuh,
@muhdiekuh@ruhr.social avatar

@janl That requires a server side though, right? I forgot to mention that I want something that is not bound to a specific backend solution 🙈

muhdiekuh, to random
@muhdiekuh@ruhr.social avatar

Just stumbled upon GitHub Copilot ads on https://github.com/enterprise.

We all agree that the .then(json =&gt; return json) is completely useless, right?

Did anyone review what the AI generated before they put it in production? 🙈

muhdiekuh, to random
@muhdiekuh@ruhr.social avatar

What Ad-Blocker do you folks recommend?

I know that there are many fishy ad-blockers, I'd like to use one that I'd consider political correct 😅

PS: I actually don't want to use an adblocker. I love how much free content the web gives us with the help of ads. But then there are privacy concerns AND super annoying full screen flashy ads.

muhdiekuh, to random
@muhdiekuh@ruhr.social avatar

@atuin If I accidentally close a terminal and open a new one, is there a way to say "please consider this as the previous session $xyz"? My intention is that searching the "current" session includes items from the previous one. 🤔

PS: Thanks for the great work on atuin :-)

muhdiekuh,
@muhdiekuh@ruhr.social avatar

@Schrank What do you mean by "does this"? It's nothing that should happen automatically, I explicility want to "switch to some previous session".

unrelated: If you haven't tried atuin, you should give it a try! :-)

muhdiekuh,
@muhdiekuh@ruhr.social avatar

@Schrank ah, atuin has both, a shared history and one per session. And one per directory. And a history per host. „Per host?“ you ask? Yep; because it supports syncing the history across multiple servers :)

muhdiekuh, to random
@muhdiekuh@ruhr.social avatar

@patrick_h_lauke just in case you forgot (how could you?!): 14 years ago we met for the first time 😂

shochdoerfer, to random German
@shochdoerfer@phpc.social avatar

Running out of blog post ideas for the @bitexpert blog :(

Will this be the end to my (almost) 2 year habit of publishing one new blog post per week?

Anything specific you are interested in reading?

muhdiekuh,
@muhdiekuh@ruhr.social avatar

@shochdoerfer @bitexpert „why are we publishing content on this blog?“

Honest suggestion. Maybe with some stats about visitors?

Schrank, to random
@Schrank@phpc.social avatar

Can I tell which type a call has?

$country->getIso() is string|null, but I'm sure it is string - or at least I'm fine ignoring the unexpected case 🙈
Or do I neet to put it in a var to add a /**@var to it?

muhdiekuh,
@muhdiekuh@ruhr.social avatar

@Schrank I think the best would be to use an assert library (such as beberlei/assert or webmozart/assert) and the corresponding phpstan-plugin.

That way you write:

$iso = $country-&gt;getIso();  
Assert::notNull($iso);  

and after this code, phpstan should consider $iso not-null.
The upside of this is: if $iso turns out to be null, the assertion will throw an exception and end your code. AKA: This way you don't lie to yourself :)

muhdiekuh, to typescript
@muhdiekuh@ruhr.social avatar

Everyone: "Don't use abbreviations"
fp-ts: import * as N from 'fp-ts/number' (https://gcanti.github.io/fp-ts/modules/Set.ts.html)

I really thought we agreed on this point, but apparently, we don't.

Other examples are the "receiver" in go (suggest to be one character) or generic type parameters in most typed languages. (Wait, you don't immediately know what E & A stand for? export declare function separate&lt;E, A&gt;(EE: Eq&lt;E&gt;, EA: Eq&lt;A&gt;): (fa: Set&lt;Either&lt;E, A&gt;&gt;) =&gt; Separated&lt;Set&lt;E&gt;, Set&lt;A&gt;&gt; )

isotopp, to random German
@isotopp@chaos.social avatar

deleted_by_author

  • Loading...
  • muhdiekuh,
    @muhdiekuh@ruhr.social avatar

    @janl @isotopp was für ein OS hast du dann auf dem Mac Mini laufen, wenn du ihn für home server needs nutzt? 🤔

    muhdiekuh, to random
    @muhdiekuh@ruhr.social avatar

    I am super excited that we just signed the contract with the first non-male software engineer for our team.

    One in seven is still not good enough for my own standards, but hey: It's a first step. It's progress. I hope we'll improve this further, but for now, let me celebrate the first step :)

    muhdiekuh, to random
    @muhdiekuh@ruhr.social avatar

    Unpopular opinion:
    Being late to meetings because an earlier meeting is running over time is a choice you make, nothing that "happened to you".

    heiglandreas, to random
    @heiglandreas@phpc.social avatar

    German is weird. But I think other languages as well...

    I mean... Usually you can add a questionmark after a sentence or even a word...

    Though it looks like that doesn't work with "coffee"....

    I mean...

    how can that ever be a question!

    muhdiekuh,
    @muhdiekuh@ruhr.social avatar

    @heiglandreas i used to be very efficient wirh a coworker in slack.

    He‘d write „?“, I‘d respond with „!“ and we knew: we‘re meetinng at the coffee machine in a minute.

    afilina, to random
    @afilina@phpc.social avatar

    F*ck cancer.

    muhdiekuh,
    @muhdiekuh@ruhr.social avatar

    @afilina i am very sorry for your loss. Good to hear that he was at peace.

    muhdiekuh, to random German
    @muhdiekuh@ruhr.social avatar

    It's not that I am against AI or that I am not impressed by ChatGPT et al, but…

    So many great pieces of software I use suddenly stopped innovating and only focus on integrating AI. :-/
    Yet another UI for talking to ChatGPT is not a USP. I hope they will get back to innovating soon.

    (Intentionally leaving out names here, but I guess you all experienced that as well)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • thenastyranch
  • GTA5RPClips
  • tester
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • kavyap
  • JUstTest
  • cisconetworking
  • khanakhh
  • normalnudes
  • osvaldo12
  • cubers
  • tacticalgear
  • Durango
  • ethstaker
  • modclub
  • anitta
  • provamag3
  • Leos
  • lostlight
  • All magazines