The other day in the office with a gorgeous view full of sunlight, I was passionately stubbled on our metrics. I thought about statistics about how cool they might be looking on the screen. Imagine extracting all data from different sources like Github, some trending messages from Twitter and unique visitors of your WordPress blog. Then imagine showing it in one place, like some big TV screen for everybody, motivating all of your team members. – No sooner said than done! I thought.
How do you do my dear reader? – Lately, due to unknown circumstances, I somehow became more popular among bots that share adult content such as porn pictures.
Like any human, I care about the time I spend on chores like this, so I don’t like the fact that I need to pay several minutes a week to parse and block them. I don’t want my friends or whoever clicked on the account to be trapped, fooled or something similar. Besides that, I don’t want to be indexed by Google where I hold any kind of relation to these pictures. – I am a married man with an adult-baby cat so would miss Bryant and miss Hart mind to fuck off?
I’ve noticed people like to share their solutions on the Github. No matter how good or bad was the design they still would like to show it to others (and others usually don’t care because they’re too lazy unless you’ve got to implement this problem yourself).
You can make any design for the problem, you can split and isolate as much as you want or you can make almost single line approach with Python.
No matter what your decision is going to be, as always, you have your own why’s – Why did you do it that way. Some people may disagree, someone may agree, but the fact is that the program works and now you can concentrate on the efficiency and its design. Continue reading “Another Mars Rover Solution”
If you are just like me, instead of going to play football (soccer) with your friends, you decide to spend half of your life in front of computer learning how this or that works. Despite all that time used on grinding a massive hole on your chair with buttcheeks, there are still few hours left.
For some of us, it usually sports activities we are lacking. How many developers do you know who often play football (soccer), hockey or just like to jog? I don’t know many people like that either. Most of us usually end up playing table football in the best case scenario.
It’s been a long time! As I don’t follow the instructions blindly but prefer finding my own way, I’ll introduce you to one of the simple but effective features in Atom editor called “Use Regex”.
I know it’s cool. If you are in the ancient VIM, Emacs division or at least had an experience of using it you might be aware of this feature that literally saves your ass from tons of boring copy-paste operations. But if it’s the first time you hear about it? Continue reading “Find and Replace using Regex in Atom”
Besides computer science, I like psychological experiments, scientific analysis, and conclusion made upon the historical data. I think it’s absolutely adorable to learn some new facts standing on true events. Eventually, you may come to the thoughtful consequence. Does it make sense to buy this house? Is it a good idea to own British Pound?
I won’t argue how cool and handy “safe navigation” is but rather I want to warn you that overconsumption of it may lead you to the dead end… – Just like other bad habits. Where you are going to be trapped in your own code base is associated with “what the heck is wrong with it?” enigma.