The Winter Throat

I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Using Prettier in PHP

Using Prettier in PHP

🇺🇸 englishNovember 2018 (at 28)#php#writing#learning#technology1390 words5 mnto read

What is Prettier? Originally from the Javascript ecosystem, if you're not familiar with it Prettier is a code formatter, which means it takes your code, and makes it as its namme indicates prettier . There are a lot of code formatters, and for a lot of languages – even Javascript has quite a few of them. But Prettier is currently one of the most popular code formatters out there and it has sp...

Thread Carefully

Thread Carefully

🇺🇸 englishNovember 2015 (at 25)#technology#php#writing3731 words12 mnto read

As far as I can remember, PHP has always had a terrible reputation at handling very heavy (or asynchronous) tasks. For a long while if you wanted to parallelize long tasks you had to resort to forking through pcntl\_fork which had its own issues, and you couldn’t really handle the results of those tasks properly, etc. As such, a habit has kind of developed where we go straight for more intricat...

Set Blackfire to the Rain

Set Blackfire to the Rain

🇺🇸 englishNovember 2015 (at 25)#technology#php#writing1702 words6 mnto read

If you’ve ever worked on any PHP application, or package, or anything you know that debugging performance issues is hard . There are several ways to ease the pain a little: debug bars, putting timers a bit everywhere. Or if you’re courageous like I was for a long time, you use xdebug snapshots which requires you to configure it, and then parsing the snapshots which takes a long time, etc. Re...

The Winter Throat

Blog

I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Using Prettier in PHP

Using Prettier in PHP

🇺🇸 englishNovember 2018 (at 28)#php#writing#learning#technology1390 words5 mnto read

What is Prettier? Originally from the Javascript ecosystem, if you're not familiar with it Prettier is a code formatter, which means it takes your code, and makes it as its namme indicates prettier . There are a lot of code formatters, and for a lot of languages – even Javascript has quite a few of them. But Prettier is currently one of the most popular code formatters out there and it has sp...

Thread Carefully

Thread Carefully

🇺🇸 englishNovember 2015 (at 25)#technology#php#writing3731 words12 mnto read

As far as I can remember, PHP has always had a terrible reputation at handling very heavy (or asynchronous) tasks. For a long while if you wanted to parallelize long tasks you had to resort to forking through pcntl\_fork which had its own issues, and you couldn’t really handle the results of those tasks properly, etc. As such, a habit has kind of developed where we go straight for more intricat...

Set Blackfire to the Rain

Set Blackfire to the Rain

🇺🇸 englishNovember 2015 (at 25)#technology#php#writing1702 words6 mnto read

If you’ve ever worked on any PHP application, or package, or anything you know that debugging performance issues is hard . There are several ways to ease the pain a little: debug bars, putting timers a bit everywhere. Or if you’re courageous like I was for a long time, you use xdebug snapshots which requires you to configure it, and then parsing the snapshots which takes a long time, etc. Re...