LostFocus

Hi, I'm Dominik Schwind, friend of the internet. Here is /now.
Say hello to me on Twitter or maybe even subscribe to my weekly newsletter.

Opened twitter dot com, didn’t see a single tweet by someone I followed. Well done, great product design.

Opened twitter dot com, didn’t see a single tweet by someone I followed. Well done, great product design.

A screenshot of twitter after I removed clicked "dont show" on every "based on your likes" tweet. It says "We won't suggest this Topic anymore" 12 times and doesn't show a single tweet.

In reply to https://jamesg.blog/2022/05/19/owning-my-links/. I like the idea – how compatible is it with rel-me?

In reply to https://jamesg.blog/2022/05/19/owning-my-links/.

I like the idea – how compatible is it with rel-me?

Owning my links | James' Coffee Blog

Tantek shared that he has links on his website that post to other social media profiles he owns. This became a topic of discussion in the IndieWeb chat (if you are not a member and like talking about the web, you should definitely join us!). We have not yet fully…

Owning my links | James' Coffee Blog

Likes https://about.sourcegraph.com/blog/developer-productivity-thoughts/.

Likes https://about.sourcegraph.com/blog/developer-productivity-thoughts/.

A dev's thoughts on developer productivity

Developers are systems thinkers and yet, most measures of developer productivity are metrics-based, instead of systems-based. In this post, Sourcegraph co-founder and CTO Beyang Liu presents five charts that visualize what really matters for developer productivity.

A dev's thoughts on developer productivity

In reply to https://cdevroe.com/2022/05/17/11399/. Email: constantly RSS: four or five times per day micro.blog: two or three times per week Mastodon: one or two times per day Twitter: too often Facebook: never TikTok: two or three times per day

In reply to https://cdevroe.com/2022/05/17/11399/.

Email: constantly
RSS: four or five times per day
micro.blog: two or three times per week
Mastodon: one or two times per day
Twitter: too often
Facebook: never
TikTok: two or three times per day

Poll: (be honest!) how often do you check… EmailRSSMicro.blogMastodonTwitterFacebookTikTok___________ Responses and boosts appreciated.

Likes https://scribe.rip/@fosta/on-design-thinking-8426ecf328b3.

Likes https://scribe.rip/@fosta/on-design-thinking-8426ecf328b3.

Likes https://www.gocomics.com/pearlsbeforeswine/2022/05/16.

Likes https://www.gocomics.com/pearlsbeforeswine/2022/05/16.

Likes https://notiz.blog/2022/05/15/wpsr/.

Likes https://notiz.blog/2022/05/15/wpsr/.

WPSR

Auf dem CloudFest Hackathon im März, hab' ich mich ein wenig mit Alain Schlesser über WordPress und Plugin-Entwicklung unterhalten. Alain meinte, dass er, wenn es das Plugin hergibt und es zeitlich möglich ist, immer zuerst eine generische Library bauen und diese dann über ein WordPress-Plugin implementieren würde. Vor ein paar…

WPSR

I have inherited a Symfony application where two OneToOne-entities share a primary key. This is modeled in two entity classes like this:

class A
{
    /**
     * @ORM\Id
     * @ORM\OneToOne(targetEntity="App\Entity\B", inversedBy="a", cascade={"persist"}, fetch="EAGER")
     * @ORM\JoinColumn(name="id", referencedColumnName="id", nullable=false)
     */
    private B $b;
}

and

class B
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    private ?int $id = null;

    /**
     * @ORM\OneToOne(targetEntity="App\Entity\A", mappedBy="b", cascade={"persist"}, fetch="EAGER")
     */
    private A $a;
}

which is not ideal but mostly works. Now there is another entity which has a more “traditional” OneToOne doctrine relationship with A:

class C
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    private ?int $id = null;

    /**
     * @ORM\OneToOne(targetEntity="App\Entity\A")
     */
    private ?A $a = null;
}

But as soon as I try to use the repository class for C to fetch a C entity with find(1) everything just falls apart: Typed property App\Entity\A::$b must be an instance of App\Entity\B, int used

I am pretty sure it is either https://github.com/doctrine/orm/issues/8255 or https://github.com/doctrine/orm/issues/8745 or probably both.

There are the versions of the libraries in my composer.lock:

doctrine/annotations                 1.13.2
doctrine/cache                       2.1.1                                                                
doctrine/collections                 1.6.8                                                                
doctrine/common                      3.2.2                                                                
doctrine/dbal                        2.13.8                                                               
doctrine/deprecations                v0.5.3                                                               
doctrine/doctrine-bundle             2.5.7                                                                
doctrine/doctrine-migrations-bundle  3.2.2                                                                
doctrine/event-manager               1.1.1                                                                
doctrine/inflector                   2.0.4                                                                
doctrine/instantiator                1.4.1                                                                
doctrine/lexer                       1.2.3                                                                
doctrine/migrations                  3.3.2                                                                
doctrine/orm                         2.10.5                                                               
doctrine/persistence                 2.4.0                                                                
doctrine/sql-formatter               1.1.2                                                                

With the arrival of a little backhoe I can now proudly say that all my neighbors have or had an active construction site in the last two years. This is probably worse for my mental health than the pandemic.

With the arrival of a little backhoe I can now proudly say that all my neighbors have or had an active construction site in the last two years. This is probably worse for my mental health than the pandemic.

I thought it was a good idea to listen to the Lost Highway soundtrack first thing in the morning. Now let’s see how I am functioning at work in that mindspace.

I thought it was a good idea to listen to the Lost Highway soundtrack first thing in the morning. Now let’s see how I am functioning at work in that mindspace.

Likes https://www.youtube.com/watch?v=twAP3buj9Og.

Likes https://www.youtube.com/watch?v=twAP3buj9Og.

Who made these circles in the Sahara?

Someone left these marks in the sand. We had to find out who.Subscribe and turn on notifications 🔔 so you don't miss any videos: http://goo.gl/0bsAjO Deep i...

Who made these circles in the Sahara?

Likes https://www.youtube.com/watch?v=2paNFnw1wRs.

Likes https://www.youtube.com/watch?v=2paNFnw1wRs.

【UE5】etchū-daimon station - 越中大門駅

My latest environment, freely based on a real-life train station in Toyama, Japan.The environment is running in Unreal Engine 5, lit with Lumen. I didn't use...

【UE5】etchū-daimon station - 越中大門駅

Likes https://www.youtube.com/watch?v=5Eqb_-j3FDA.

Likes https://www.youtube.com/watch?v=5Eqb_-j3FDA.

Coke Studio | Season 14 | Pasoori | Ali Sethi x Shae Gill

Let’s transcend boundaries and bridge distances through compassion, love and identity.#Pasoori #RealMagic #CokeStudioSeason14 #SoundOfTheNationListen on Spot...

Coke Studio | Season 14 | Pasoori | Ali Sethi x Shae Gill

Likes https://www.youtube.com/watch?v=2saWSGoWmrU.

Likes https://www.youtube.com/watch?v=2saWSGoWmrU.

PSY - '이제는 (Now)' feat. 화사 (Hwa Sa) Performance Video

PSY - '이제는 (Now) feat. 화사 (Hwa Sa)' Performance Video* '이제는 (Now) feat. 화사 (Hwa Sa)' is now available on all streaming platforms including Apple Music & Spo...

PSY - '이제는 (Now)' feat. 화사 (Hwa Sa) Performance Video

Ah, yes. The season of the double act “So nice to finally go back to conferences!” and a few days later “Oh no, I tested positive.” is upon us.

Ah, yes. The season of the double act “So nice to finally go back to conferences!” and a few days later “Oh no, I tested positive.” is upon us.