Problem

timeobj = datetime.datetime.strptime(my_time, '%Y-%m-%d %H:%M:%S').isoformat()
File "/usr/lib/python2.7/_strptime.py", line 335, in _strptime
data_string[found.end():])
ValueError: unconverted data remains:

Solution

The error was an elusive one. The solution was to make sure that the…

Similarity

  • All of these are used for synchronization

Difference

A mutex provides singular access to a resource at a time, others must wait (sleeping) in a queue. Once the current person is done, the next in the queue acquires the resource.

So access is serial, one guy after another. There…

The information in this post is inspired by “Microservices Patterns
Chris Richardson” book.

What is DDD

The microservice architecture uses multiple services cooperating to achieve an operation. There are many ways to decompose services. Examples are business capabilities or business sub-domains.

DDD prefers to define services by their subdomains. …

$ cat ~/gotostaging

echo “<group number>\n<user-name>\n<password>\ny\n” > /tmp/answers.txt# find the path to the anyconnect executables
#ciscopath=”$(dirname $(find /opt/cisco -depth -name vpnagentd))”
# make sure the anyconnect daemon is running
#[…

Solution

Step 1: Delete Docker from Applications.

Step 2: Check and remove if there is another installation of Docker.

brew remove docker

Step 3: Install Docker Desktop. Check your docker login

How to Fix: Kafka Connector Error ConnectException: Creation of database history topic failed, please create the topic manually

Problem

The Kafka Connect error is misleading. You must look at the `Caused By` in the error string. It could be a lack of privileges or permission. …

A personal development branch has two ways to get merge to the master:

a. Fast-Forward
b. Merge Commit

Merge Commit

Suppose your development branch has 3 commits: c1, c2 and c3. On merge to master, git will create a new `merge commit`.

commit 0abcdefghgtkbkbsvbevkjbevb7877
Merge: 32324hbuyyc
Author: Who am I <who.am.i@xyz.com> …

Simplify Complexity

Golang, Distributed Systems, File Systems, Python, C/C++, Linux

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store