This is probably more suited to be a Stack Overflow answer, but I figured the answer is so interesting, I’d write a Medium post about it.
First of all, let’s define the problem:
Until this day, developers that wanted to create an SSH tunnel for development purposes only had to spin up another terminal and run an SSH command with a forward tunnel command, e.g.
ssh -N -L 3306:mysqlserver.internal:3306 firstname.lastname@example.org
They would then configure their development environment to connect to localhost:3306 for their MySQL server, instead of connecting directly to the unexposed mysqlserver.internal.
In 2020, you are likely using Docker to develop your very cool application, which means your application’s network is no longer your host’s network. This means that naively connecting to localhost:3306 will simply not work. …
As much as Spark and Python are great at data analysis, most of the time, as a data engineer, you just want to start working on your CSV file in the command line.
Well, as it turns out, there’s so much you can do just with Bash. And it’s SUPER fast and easy.
The data set we’ll be using is some random sales database I found online here:
If you start by looking at the file, you get something like this:
cat sales.csv | less -S
As it turns out, there’s this cool tool called
column which makes your CSV file look like…
WeWork has worked hard to position itself as a fast-growing tech company with a bright future. SoftBank agreed to invest in the company at a $47 billion dollar valuation. But is it really worth that much?
Let’s take a balanced view on how much WeWork is worth, looking at the company from a few different perspectives: the “monopoly factor”, the business model, and the strength of the brand.
In Peter Thiel’s book “Zero to One”, Peter speaks about companies being monopolies as a good thing. When monopolies encounter the simple consumer, it can cause unjust harm. But when monopolies encounter businesses, they are actually appreciated. For example, the only company today that has an “Oracle” database is Oracle. If you have an application that is written to work with an “Oracle” database, you simply don’t have any option other than to pay Oracle for a database. …