Big update for Bag today, test coverage has been improved dramatically, finding and fixing several bugs in the process. Now at 98.8% with an MSI of 84%.
I also added some missing docs:
Mapping, which allows you to map both input and output names, great for casting from/to JSON with snake_case, while using camelCase in your code: https://dshafik.github.io/bag/mapping.html
Bag gets it's first major new feature today, Transformers: create Bag objects from any input value. JSON string? Bag::from($jsonString), Model object? Bag::from($model), HTTP request? Bag::from($request).
Hey folks, I’m looking for a new role in senior engineering leadership, preferably for a PHP-based team. I’ve spent the last ~3 years building a Laravel SaaS on top of Google Cloud and would love to help your team level up. Resume and details: https://www.daveyshafik.com — DMs open.
I'm really struggling with what is happening in Israel and Gaza right now. I'm in a somewhat unique position to be the son of both a Jew and an Arab. And while my dad was from Egypt, and Christian to boot, he was still very much an Arab.
I have never been comfortable with the Palestinian displacement that occurred to create Israel. I am obviously sympathetic to the plight of the Jews, I am one, my family lived through the Holocaust as Jews. And yet. It feels like we should've done better.
So it's Earth, Wind & Fire day… or is it? The lyric is "the 21st night of September". Is the first night of September the morning of the first? That would make yesterday Earth, Wind & Fire day… I guess what I'm asking is, is it zero based or nah?
Watching Silo on AppleTV+ and this is really the perfect depiction of my personal dystopian hell. Not the secrets and the facism, just all the fucking stairs. Screw that.
Why is easier to find romantic connections (e.g. all the dating apps) than platonic ones in this day and age? I don't understand why we prioritize a single (usually!) romantic connection over the support and love of a community of close platonic friends?