Doctrine not saving ManyToMany

Say you have a ManyToMany relationship, like Post <—> Tag.

When you add tags to a Post and the save the Post, everything is great. But when you add posts to a Tag and then save the Tag, the posts are not saved. Why? Because Doctrine persists changes only on the owning side of a relation. The owning side is…

Read More

How skiing made me a better developer

I’m currently sitting at T-Bar & Grill in Panorama, British-Columbia, Canada. I had a great week of skiing and another week to come. While ripping the slopes at ear-popping speeds, my mind was surprisingly free to roam and explore ideas that lead me to this article. I’m going to tell you how skiing made me…

Read More

Should conference talks be written in advance?

I had a discussion on Twitter today regarding a conference’s selection process. It was suggested that speakers should be forced to write their entire talk before submitting it to a conference, perhaps even presented at a local event. This might work for speakers who give the same talks over and over again, but that’s not the majority. I organize a…

Read More

Anatomy of a Bully

This is a combination of research that I read, what I witnessed and what I personally experienced. I was bullied since childhood, too many times to count. I continue to be bullied on a regular basis. I blocked nearly a hundred bullies and harassers on Twitter alone, and it takes much effort to get on that…

Read More

Fake Facebook Profiles

If you participate in Facebook groups, you have probably seen requests to join. About half of the people who try to join my group are fake profiles. I block them. But how can I be sure which ones are fake? It’s really easy. I look at a number of elements. Date joined Fake profiles would probably…

Read More