SQL Server as key-value store versus Redis
Comparing SQL Server and Redis performance
Programming is thinking, not typing |
|
Comparing SQL Server and Redis performance
DBMS market share trends of last decade by Gartner on the big picture
The frequently asked problem on interviews.
You have a log of some user activities represented as a table. Every activity record has at least users ID and activity date/time values.
The session is a sequence of activities having less than N minutes between two log records. When the elapsed …
Very old subject I remember to discuss in the middle of 1990s... But some people still says that a clean architecture should remove all business logic from the database.
Let's start from referential and domain integrity rules (constraints). Are they business ones? Yes, of course. The e-mail column should be …
The opaque pointer (pimpl) idiom has been inherited from C language where it is used to encapsulate implementation details. However, both old-school and "modern" C++ dispense you from writing some ugly code, and allow to use interfaces with object factories.
The example of implementation with both pimpl and interface approach …
RapidFort services can optimize and secure your containers. The command line interface (CLI) tools enable you to interact with RapidFort services.
See also the official manuals.
The "native" way is using a Linux distribution on your desktop. However, the majority of desktops are running Windows. Fortunately we have WSL (Windows …
How to extract all combinations (unordered subsets) from a given set in C++?
Let us estimate the count before. Suppose N
is the size of a given set, and K
is the number of elements in the subset. The count of all combinations (unordered subsets) of size K
is
C …
Suppose a string of ordered cyphers 123456789
. You can insert signs "+" and "-" between any cyphers to make a correct arithmetical expression. The problem is to find all expressions which sum is 100.
This problem may be interesting for dynamic script languages having the function of a string expression evaluation.
E …
Unlike Java or C#, the C++ world does not have a unified coding standard. The naming convention is still the choice of programmer teams or enterprises.
However, there are several standards widely used in the software industry.
The singleton pattern has come a long way since early 1990x. The programmer interview question "Write a singleton" in 1995 has evolved to "Write a lazy initialized singleton" in 2000x, and finished by "Why we do not use a singleton?" in 2010x.
Indeed, the unproved using of multiple singletons should …