PHPNews

Inversive Management

If you are a manager in a software team, your job is to make your people get things done. This is obvious. The question though is how exactly you make it happen. How do you make them do what you want, according to your plans, achieving your objectives, to your quality standards, and within the borders of …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Wednesday July 10, 2019


TDD Misbeliefs

While I was working with a previous article about Test-Driven Development (TDD) I read many blog posts and a few books on the subject and found out that I disagree with a few of them; even some that are pretty important. It seems that most software experts simply misunderstand how software development works. Maybe …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday July 2, 2019


SyncEm: Thread-Safe Decorators in Ruby

I wrote some time ago about thread-safety in OOP and how it can be achieved with decorators . It was also said that it’s very important to make sure objects are thread-safe ( in Ruby and in Java ), especially in web apps, which are multi-threaded (well, in most cases anyway). Well, here is SyncEm , a primitive …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Wednesday June 26, 2019


How Much Do They Suffer?

Remember the famous article Who’s Got the Monkey? The gist of it is simple: good managers always make their subordinates responsible for their own results. When they attempt to send the monkey back to the manager’s shoulders by making excuses, the manager has to be on the alert and not accept the monkey, always …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Wednesday June 19, 2019


Where Do You Seek Help First?

Just a few days ago a friend of mine, who is not a developer but a co-founder of a software startup, asked me to help his programmers with a technical problem they got stuck with. I said “Why not?” and asked them what was going on. They told me that their PostgreSQL server was running slow because it was doing this …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday June 11, 2019


Trust Them to Get the Job Done, Not!

There are twelve principles in the Agile Manifesto . The fifth one says: “Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.” I disagree. Strongly. This formula suggests treating people in a binary way: they are either motivated and …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday May 28, 2019


Please, Don’t Improvise

We all know what happens when a programmer decides how a web site or a mobile app should look. It ends up looking ugly. And why is that? I don’t know exactly, but my best bet is on the left-brained nature of programmers, who mostly are rigid and logical mathematicians. UI design, to the contrary, requires creativity …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday May 21, 2019


0rsk.com: Cause + Risk + Effect

“A project manager’s work should not focus on dealing with problems; it should focus on preventing them,”—this is how Rita Mulcahy started a chapter about Risk Management in her great book PMP Exam Prep . Sounds smart, but how does a project manager know about the problems which are supposed to be prevented? This …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday May 14, 2019


Sibit Demonstrates How Bitcoin Works

Bitcoin was a big technical mystery for me. All the articles I’d read about it sounded extremely complex and absolutely indigestible. Until I got stuck with a task: I had to integrate Zold , our experimental non-Blockchain cryptocurrency, with Bitcoin. I had to study the architecture of Bitcoin and I found this …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday May 7, 2019


Elegant READMEs

Some time ago I wrote a blog post An Open Code Base Is Not Yet an Open Source Project where I suggested a few important qualities of a good open source repository/project. One of them was the well-written README file. Here I will try to give a few hints on how to create a good README file and what mistakes to …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday April 23, 2019


Stop Pitching, Beg Them!

You want your startup to be visible on TechCrunch, right? But you don’t have $15-20K per month to bribe a reputable PR firm to get you there? No worries. This blog post will give you a set of simple instructions on how you can get the attention of those tech journalists who are currently busy writing about Musk’s and …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday April 9, 2019


Software Project Review Checklist

A few years ago I wrote about the independent technical reviews any software project must regularly go through in order to make sure everything is under control. I even said recently that there is no excuse for not doing them. Moreover, the more we trust programmers, the higher the necessity to review their …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday April 2, 2019


Logging Without a Static Logger

How do you organize logging in your applications? I mean web applications or command line apps, or even mobile apps. I bet you have some global variable or a singleton, known as Logger , which has a few methods like info() , error() , and debug() . You configure it when the app starts, or it configures itself via …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday March 19, 2019


How Data Visibility Hurts Maintainability

I’ve been writing so much about object-oriented programming and its pitfalls , claiming that most of the design patterns and “good practices” which we are accustomed to are actually wrong and hurtful , that I totally forgot to explain the bigger picture problem. Someone asked me some time ago in the blog post …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday March 12, 2019


Why I Want to Live in Silicon Valley

You remember my blog post about Why I Don’t Want to Live in Silicon Valley , don’t you? Read it first if you haven’t already. The gist of it is that Silicon Valley is a place with a lot of troubles. No one should want to live there, according to that previous post, right? That is what many of my readers concluded, …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday February 12, 2019


Zache: A Simple Ruby In-Memory Cache

A month ago I stumbled upon a problem: I wasn’t able to find a Ruby gem which would do in-memory caching with the capability to expire on timeout. After some quick research I decided to implement my own and called it Zache (as in “zero cache,” since there is no back end). Here is how it works: First, you create …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday February 5, 2019


My Recipe Against Dependency Hell

Do you specify exact versions of your dependencies? I mean, when your software package depends on another one, do you write down, in your pom.xml , Gruntfile , Gemfile , or what have you, its version as 1.13.5 or just 1.+ ? I always thought that it was better to use exact version numbers, to avoid the so …

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday January 29, 2019