benjaminhirsch

@benjaminhirsch@mastodon.social

Developer, mostly php. Learning Rust and Go lately. Co-Founder of https://www.buffed.de & https://www.playata.com. Loves playing games, especially MMORPGs, FPS and RTS, watching Movies & Series. Writing a wild mix of DE / EN about development, games, tech and other stuff.

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

benjaminhirsch, to CSharp

I would argue that Entity Framework Core ( ) has the same pros and cons like any other ORM no matter what language.

Those ORMs looking appealing at first, but once you start doing more advanced things, they start to get in your way and getting slow.

Instead I use ADO.NET (Npgsql), Dapper and Fluent Migrator. Having the ability to write your queries in plain SQL and using Dapper for object mapping matches they way I do it in

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

The dream of streaming is dead. I'm actively considering buying physical media. I should check if my library has physical copies of movies.

benjaminhirsch,

@khalidabuhakmeh you’re talking about video or audio? Video wise I’ve started to collect everything I like on blu ray long time ago. 😃

michael, (edited ) to php
@michael@thms.uk avatar

I've just updated to 2024.1 among others because I'm excited for the new terminal.

You are supposed to be able to enable this at Settings | Tools | Terminal | Enable New Terminal, but I don't have that setting.

Am I missing something?

[Edit: Turns out this is for the new UI only]

benjaminhirsch,

@michael Hmm - that is strange. Guess you have to raise an issue here then: https://youtrack.jetbrains.com/issues/WI

Maybe it's a problem with mac?

benjaminhirsch,

@michael it should look like this, yes:

benjaminhirsch,

@michael Maybe you are using a different shell? Currently, it only supports Bash, Zsh, and PowerShell, with other shells still under development.

benjaminhirsch,

@michael dump question: You really have started the 2024.1 version? :)

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

Increment:

foo++

Decrement:

foo--

Excrement:

foo💩💩

benjaminhirsch,

@SenseException I guess that's a legit shitpost

khalidabuhakmeh, to rust
@khalidabuhakmeh@mastodon.social avatar

What’s neat about is the polyglot nature of it. I'm writing a library that I later consume in a solution, all without switching context.

I can also run my .NET solution and run my tests. That's a nice workflow.

benjaminhirsch,

@khalidabuhakmeh that’s super cool. Going to give it a try. My go-to IDE is phpStorm currently. 😁

benjaminhirsch,

@khalidabuhakmeh thats indeed really cool if you are working in a polyglot project. I like that. Are the keyboard shortcuts easy to learn if you are already used to JetBrains IDEs?

benjaminhirsch, to programming

What is your go-to OS when it comes to development? Mine is Linux, currently Ubuntu but I'm also very used to openSUSE. Now that I'm on Ubuntu, I kind of miss the rolling release of Tumbleweed.

benjaminhirsch,

@shochdoerfer I'm actually in the same position right now. My company is also using O365 and it's the worst if you are working exclusively on Linux - especially Teams is really a pain. So I can feel why you are prefer this setup. :)

benjaminhirsch, to random

Is there something similar in php land like kotlin has with kotlinx.html? A DSL to build HTML only with php in a type safe and strict manner? 👀

benjaminhirsch,

@Crell @benjaminhirsch That’s something I thought about as well, but haven’t had time yet to do testing or benchmarking. What specific would you consider problematic performance wise. Creating lots on objects?

benjaminhirsch, to php German

Does swoole something internally with php generators? I’m getting really strange behavior when running in a swoole context and working with generators. 🤔

dandb, to php
@dandb@mas.to avatar

Nullsafe array access would be nice. Eg $array?['key'] or something

benjaminhirsch,

@dandb $array['key'] ?? 'your-null-value' does the job

heiglandreas, to random
@heiglandreas@phpc.social avatar

Wahlauszählung... 🙈😱

Gibt es auf dem Mond eventuell noch Immobilien?

benjaminhirsch,

@heiglandreas Alles Neubau, kein Bebauungsplan - kannst dich austoben. 😅

asgrim, to php
@asgrim@phpc.social avatar

The coolest place to be for the right now? Definitely the @roave Discord, which you can join: https://discord.com/invite/roave 🔥🌶️

benjaminhirsch,

@asgrim @roave I thought the cool people are on IRC.

shanselman, to random
@shanselman@hachyderm.io avatar

in America

benjaminhirsch,

@shanselman How is this even possible in a developed country like the USA? Reading this makes be believe society has failed hard. Sad 😢

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

The 𝕏 logo is genuinely shit. I hate it.

benjaminhirsch,

@khalidabuhakmeh the whole rebranding was bullshit, but I don't care anymore. I stopped using it as my main social media platform and thinking about deleting my account as well - would be only consequent.

benjaminhirsch, to php

In case you're not aware, is more then just Laravel or Symfony. If you are looking for alternatives, I have good news for you! There are plenty of Frameworks out there which are battle tested and production ready.

Let me name some:

Have fun, fellow php developers!

koehnlein, to random German
@koehnlein@mastodon.social avatar

deleted_by_author

  • Loading...
  • benjaminhirsch,

    @koehnlein Ich hoffe das sehen noch mehr so. Letztendlich ist auch BlueSky eine Firma mit Interessen, auch wenn diese vor hat, ein offenes Protokoll zu bauen - was irgendwie interessant ist, da es ja schon eines gibt. 🤷‍♂️ Selbiges gilt auch für Meta, mal gespannt, ob ActivityPub wirklich implementiert wird in Threads.

    Ich glaube viele vertehen einfach nicht, was das Fediverse ist und warum es ein Gewinn für alle wäre, wenn es mehr nutzen würden.

    benjaminhirsch,

    @koehnlein das hat bei mir tatsächlich gut geklappt. Die meisten meiner Bekannten / Freunde haben Threema oder Signal zusätzlich installiert. Wenn die Personen ernsthaft Interesse haben mit einem in Kontakt zu bleiben, ist das in der Regel kein Problem.

    benjaminhirsch,

    @koehnlein Korrekt - das ist ja das Dilemma dabei. Aber ich denke mehr Aufklärung kann die Beweggründe sich für das Fediverse zu entscheiden trotzdem positiv beeinflussen.

    asgrim, to random
    @asgrim@phpc.social avatar

    OMG I made my yearly blog post - this year, here's a tip on labelling stdout/stderr output when developing Bash scripts: https://www.jamestitcumb.com/posts/bash-stdout-stderr

    benjaminhirsch,

    @asgrim Congratulations! 🍻 🥳

    t3n, (edited ) to ChatGPT German
    @t3n@t3n.social avatar

    Jede:r spricht darüber, aber wer nutzt KI-Tools wie ChatGPT, Midjourney und Co. wirklich effizient im Arbeitsalltag? Nutzt du KI-Tools im Arbeitsalltag?

    benjaminhirsch,

    @t3n

    Nein, auch wenn ich weiß wie

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