Krzych Jończyk

Modern PHP, soft skills, productivity and time management.

Tag: Daj Się Poznać

Keep your logs short with logrotate

tl;dr

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…
Continue reading

Photochooser – version 0.2.1 released!

tl;dr

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 🙂
Continue reading

About getting out of the comfort zone

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.
Continue reading

First tests in Python! #GetNoticed2017

tl;dr

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.

Motivational kick

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!
Continue reading

Photochooser – mockups! #GetNoticed2017

tl;dr

I’ve reinstalled my computer losing the environment. So during installation, I’ve made some mockups, that you can try here.

Today…

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 😎
Continue reading

Photochooser – one step back #GetNoticed2017

I wanted to describe and show here some mockups of applications, but… I won’t 😛 I’ve started to setting up the environment, then creating a release for old application, then checking if everything is properly set up, then… just write some code. And continue reading Python 101 book. It’s very basic, but it has already give me some ideas, so it’s worth reading.

tl;dr

I’ve set up the environment using Python 3.5.3 and PyQt 5.8.0 and wrote some code for displaying image from selected directory.

Environment

I’m using Python in version 3.5.3 and PyQt5 in version 5.8.0.
Continue reading

Photochooser – the starting point #GetNoticed2017

As I wrote in the previous post, I’ll continue writing an application for managing photos. What is the starting point then?

Local environment

There is none. I’m using OS X and I have only preinstalled Python in version 2.7.

Plans:

1. prepare env with Python 3 and PyQT (4 or 5)
2. prepare requirements.txt with required modules and libraries
3. use virtual env for simplicity and usability

Code

Photochooser was my first attempt to Python application, so the code is very messy. It has no single test written. You can see it on GitHub, but there is nothing to boast 😉

Plans:

1. learn Python a little bit (I’m reading Python 101 by Michael Driscoll)
2. …
Continue reading

Daj Się Poznać 2017 (Get Noticed 2017)

Here it comes again – the awesome programming contest Daj Się Poznać (some people use the English name: Get Noticed), created by Maciej Aniserowicz. I participated last year creating a very simple game with Python and PyQT – you can find the whole process of creating the game here (it’s in Polish, though).

In fact, this blog was created as a result of that contest. Some people convinced me that writing blog in English is a better idea and gives me more opportunity to share knowledge. They were right 🙂 This post, for example, has almost 4k views and 50 upvotes on Reddit! Crazy.

This time…

Ok, I won’t be original – this year I want to use Python and PyQT again. Not for a game – Unity3d is a better choice – but for a desktop application. Application for managing photos. You always have millions of photos every year. Do you view them? I don’t. Ok, from time to time, but very rarely. But I like to view my wedding photo album – several dozens of the best shots. Millions of photos with dozens of duplicates and crappy ones or a couple of the best shots?

If only exists some application for simple managing photos…
Continue reading

© 2017 Krzych Jończyk

Theme by Anders NorenUp ↑