Another contribution to Symfony merged! \o/
My Pull Request has been accepted by Symfony docs guy and will be merged soon. This is a minor change, but I think it’s a good idea to improve anything we see that can be improved.
This particular change was created because I’ve seen at least 3 programmers getting parameters in service not from injection but from the container. Hope it helps them to understand how to use parameters in a good way 🙂
PR can be seen here: https://github.com/symfony/symfony-docs/pull/8399
Feels good 😎
If you’re writing commands in Symfony then you probably know the ProgressBar component. It’s useful tool showing the current state of operations and, more importantly, ETA and used memory. Cool.
If you’ll to the official ProgressBar component page then at the beginning you’ll see a very cool progress bar, with colors, icons, changing status messages, but… If you’ll look a little further you’ll see a sad, black and white progress bar, that is far from a “promise” made at the beginning 🙁
Heads up! We’ll make it like this 🙂
I wanted to write a manual about installing PHP5.6 and PHP7.1 at the same time, on OS X, using homebrew instead of using Docker (which I find not the best idea on OS X, but maybe I’m wrong?). But someone did it before me 🙂
If you want to have many PHP versions simultaneously then follow the instructions described by Jani Tarvainen on Symfony Finland blog: https://symfony.fi/page/how-to-run-both-php-5-6-and-php-7-x-with-homebrew-on-os-x-with-php-fpm and enjoy native, fast and simple way to work on crappy old projects in PHP5.x and new, shiny ones in 7.1 😛
If you are developing some application that writes a lot of logs use
logrotate to keep them short and don’t allow them to reach gigabytes.
I’m developing in Symfony framework on daily basis. And on the development environment, it creates lots of logs. Every request is logged, every command is logged, every event subscriber is logged. And if you’re using some older version deprecations are also logged. On my computer, every refresh in browser creates over 1 MB of logs! My friend gets almost 10 MB…
My new addition is the Casey Neistat vlog on youtube. He is so damn positive person and his videos are so cool I literally spend hours watching them. And it’s no waste of time (well it’s way better than watching tv for sure 😉).
Check it out yourself 👉 https://www.youtube.com/user/caseyneistat
From some time on I was thinking about some completely different format of posts, the short one. I even had a name for it –
shorties. I have pretty many thoughts on my mind that I’d like to share with you, but they’re too short to make it a proper post. So the idea died.
I changed the application from one class to three with separated responsibilities, wrote some tests and use Travis-CI for continuous integration. Version 0.2.1 is available here.
Since the last post, the application changed a lot. When I had a little time I sat down and just coded. Changes are too small to wrote about separately, but now there are enough of them to do some summary 🙂
I like Fallout video games series. Well, the old ones – the last one I played was Fallout Tactics. But let’s focus on Fallout 2.
The game starts in a temple, and you are the Chosen One. Well, maybe. You have several challenges to overcome: giant ants, scorpions and, of course, the final guardian. If you fail, you will die.
But it’s a video game, of course, you survive and you defeat the guard. Then you will get harder and harder works to do, with the ultimate goal – finding GECK, Garden of Eden Creation Kit, a very powerful device capable of repairing the earth after a nuclear holocaust.
I’ve reorganized Photochooser a lot, changing names and directories. Also wrote my first test in Python, ugly one but still. The code is here.
A couple days ago my project was mentioned (it’s in Polish) by one of the contestants of GetNoticed competition. And it was a very strong motivational kick! Until then I was writing Photochooser just for myself, didn’t bother if anyone like it or not. But now, when I know someone looked at my project and found it potentially useful? It changes everything 😉 I really want to do it right, write useful application, pretty and tested code.
Thank you, Konrad!
I’ve reinstalled my computer losing the environment. So during installation, I’ve made some mockups, that you can try here.
I reinstalled my computer yesterday, so when I sat down today and returned to photochooser I realized that I don’t have the environment! And this it the reason why blogs are just awesome – I get instructions I wrote last time and my computer was ready in just minutes, without thinking what to do now and which app should I install 😎