@benjaminhirsch@mastodon.social
@benjaminhirsch@mastodon.social avatar

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
@benjaminhirsch@mastodon.social avatar

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,
@benjaminhirsch@mastodon.social avatar

@khalidabuhakmeh youโ€™re talking about video or audio? Video wise Iโ€™ve started to collect everything I like on blu ray long time ago. ๐Ÿ˜ƒ

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

Increment:

foo++

Decrement:

foo--

Excrement:

foo๐Ÿ’ฉ๐Ÿ’ฉ

benjaminhirsch,
@benjaminhirsch@mastodon.social avatar

@SenseException I guess that's a legit shitpost

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,
@benjaminhirsch@mastodon.social avatar

@michael it should look like this, yes:

benjaminhirsch,
@benjaminhirsch@mastodon.social avatar

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

benjaminhirsch,
@benjaminhirsch@mastodon.social avatar

@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,
@benjaminhirsch@mastodon.social avatar

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

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,
@benjaminhirsch@mastodon.social avatar

@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,
@benjaminhirsch@mastodon.social avatar

@khalidabuhakmeh thatโ€™s super cool. Going to give it a try. My go-to IDE is phpStorm currently. ๐Ÿ˜

benjaminhirsch, to programming
@benjaminhirsch@mastodon.social avatar

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,
@benjaminhirsch@mastodon.social avatar

@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
@benjaminhirsch@mastodon.social avatar

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,
@benjaminhirsch@mastodon.social avatar

@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
@benjaminhirsch@mastodon.social avatar

Does swoole something internally with php generators? Iโ€™m getting really strange behavior when running in a swoole context and working with generators. ๐Ÿค”

heiglandreas, to random
@heiglandreas@phpc.social avatar

Wahlauszรคhlung... ๐Ÿ™ˆ๐Ÿ˜ฑ

Gibt es auf dem Mond eventuell noch Immobilien?

benjaminhirsch,
@benjaminhirsch@mastodon.social avatar

@heiglandreas Alles Neubau, kein Bebauungsplan - kannst dich austoben. ๐Ÿ˜…

dandb, to php
@dandb@mas.to avatar

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

benjaminhirsch,
@benjaminhirsch@mastodon.social avatar

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

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,
@benjaminhirsch@mastodon.social avatar

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

shanselman, to random
@shanselman@hachyderm.io avatar

in America

benjaminhirsch,
@benjaminhirsch@mastodon.social avatar

@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,
@benjaminhirsch@mastodon.social avatar

@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
@benjaminhirsch@mastodon.social avatar

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!

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,
@benjaminhirsch@mastodon.social avatar

@asgrim Congratulations! ๐Ÿป ๐Ÿฅณ

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

deleted_by_author

  • Loading...
  • benjaminhirsch,
    @benjaminhirsch@mastodon.social avatar

    @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,
    @benjaminhirsch@mastodon.social avatar

    @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.

    benjaminhirsch,
    @benjaminhirsch@mastodon.social avatar

    @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.

    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,
    @benjaminhirsch@mastodon.social avatar

    @t3n

    Nein, auch wenn ich weiรŸ wie

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