Coordination
This post show my opinion about how coordination should be. So what’s coordination? Coordination’s the process of organizing work and exchanging knowledge across the organization.
The problem
In some organizations, meetings are needed at every level to gather, package, filter, and transmit information as it flows up and down the chain of command. The higher level you are, the more meetings you attend. The typical day of a top manager consists of back-to-back meetings. Senior partners become “meeting persons”. Decisions are naturally pushed up to the top, as it’s the only place where decisions and tradeoffs can be informed from the various angles involved. With a pyramidal shape, people at the top of organizations will complain about meeting overload, while people below feel disempowered. And the result? Fuck up.
De-duplication (part 1)
Data deduplication is a technique for eliminating duplicate copies of repeating data. This topic provides a brief overview of the techniques and tools used to implement data deduplication that I have implemented.
The Problem
In computing system, to ensure that we don’t lose data, we have to make sure that messages are ‘delivered’. Simple tactic is “retry, retry, retry”.
How to make code more readable with value dispatcher pattern
How often have you written code that looks something like this?
def big_if_function(arg): if arg == "A": # large block of code elif arg == "B": # large block of code if arg.startswith('A'): return # continue with large block of code elif arg == "C": # large block of code elif arg.endswith('Z'): # large block of code else: # some default large block of code return "default"
The consequence of this code is that it is hard to read and understand. As the number of cases increases, it becomes hard to read. If the cases are anything other than simple comparisons, the whole thing quickly becomes difficult to reason about.
Hello world
Hello world