The best quote I’ve read this week

“It is impossible for a man to begin to learn what he has a conceit that he already knows.” — Epictetus

It’s so simple and so smart: you can’t learn something you think you already know.

And another share-worthy quote from a James Altucher blog post:

“The floors are empty. That’s the Citigroup building over there. That’s probably some ad agency there. That’s a bank or a law firm over there. All empty desks, empty floors, empty buildings.

“The middle class has been hollowed out. There’s no need for paper shufflers anymore. No need for middle management. It’s either outsourced to China or technology takes care of it. Millions of people in middle management, in middle class jobs will be fired or replaced by cheap labor and technology and there’s nothing anybody can do about it.

j j j

Daily Email Reports with Serverless & Node.js

I like to receive quick-and-simple reports for my side projects in the email inbox every morning. This helps to have a good understanding of the progress, but without paying too much attention to Google Analytics or getting lost in sql queries.

Problem is, for all my projects the KPIs are different. For some apps it is the daily subscriber count, for others a key API’s usage for example. The technical stack also varied a lot: some project were written in Python, some in Node.js and others in Java. I couldn’t reuse much of the code for all those projects.

The solution was to create a super-lightweight external app that extracts the important data points from the database and sends it out in a nice email.

This new open-source project is then a simple tool, where you can create reports from simple database queries, and send those reports out in pretty emails. (I also did one Google Analytics integration for one of my projects, but that code still needs some cleaning-up before it can be open-sourced.)

This app runs on AWS Lambda, so you don’t need to set up servers or worry about hosting: you just deploy the function and add a scheduler on the AWS dashboard to run it. I’ve set it for daily or weekly mails, but it does support all sorts of triggers too.

Source code & quick start guide on Github.

Enjoy!

j j j

App idea: find your double

Take this idea and run: the find-your-double app. You take a selfie, the app analyses it and tells you where your identical twin, I mean, your identical twin from-another-mother is to be found.

I’d love to have something like this out there, but won’t be able to start a new thing just now. (Insert sad smiley here.)

Another brilliant idea that I had before has just been made by PornHub: the BangFit is a fitness tracker service that tracks a special kind of fitness. Though this one is done by PornHub, so I guess it will eventually measure the mhm, exercise of men’s underarm?

There, a pivot idea for takers: WankFit.

j j j

Scaling up WordPress: 3 advices from the newsletter

In my latest newsletter I’ve asked about whether anyone reading this blog needed (free) advice scaling up WordPress projects. I regularly help out friends with their apps and ideas, and the same topics tend to bubble up all the time – maybe there are more generic advices there that you could use too?

Here, the three questions that came up most.

1. How do I find developers?

Apart from a couple of guys I love to work with, I quite often hire people on Upwork. It’s not as easy as it seems actually: a lot of developers are available, good and bad, and if you don’t know WordPress or to code yourself, it’s quite difficult to tell them apart.

My usual practise is to come up with a small enough part of the project, and test the team’s abilities on a development server. For example, instead of redesigning the whole website in the course of a few months, they will just work on a landing page template for two days. If they succeed they are in for the long run, otherwise I only lost a couple of days altogether.

It’s important to mention that at this point the developers have access to only a copy of the project and non-sensitive data. You’d be surprised to know how many professional-looking development companies went on to accidentally delete all data from my (test) databases.

2. How much more expensive is scalable cloud hosting compared to other providers?

To compare, a non-scalable alternative Hostgator starts at $2.78 per month, which you can’t really compete with on the price level. If you never plan to scale the project it might as well be a good enough solution actually.

For apps that need to scale however, you will need to set up database and file storages, and those are to be paid for separately. (Mind you, using an Amazon EC2 instance or any VPS, and then hosting the static files and database there is pretty much as scalable as Hostgator is.)

To avoid comparing apples to oranges then, let’s just say that the maximum amount of traffic you can serve with standard hosting providers can be easily hosted on the smallest hobby Heroku instance as well, for $7/month. Amazon EC2’s smallest instance would cost around $25/mo.

File storage depends on the traffic and the size of the static files: for this blog with ~3000 monthly unique visitors I pay less than $0.1 in a year, but more traffic and bigger files (like hosting videos for example) would cost you more.

Cloud MySQL databases start at $3.5/mo from ClearDB, Amazon RDS starts around $20/mo (though you can use that for multiple projects).

All in all, a small website is around ~$10/mo on scalable cloud solutions versus ~$3/mo on Hostgator. The big difference is that if you suddenly need to support a higher load of traffic, it only takes a few clicks to scale up on Heroku – while Hostgator just slows down.

3. Why am I pushing for Heroku as opposed to Amazon?

Most development companies are familiar with Amazon EC2 and simple VPS solutions. Those are actually excellent products and are very flexible, but the exact reason I like to recommend Heroku is that it’s more strict.

For example, you can only copy files to Heroku via a Git repository, and you can’t access them via FTP. Developers like to argue that they could also use git to push code to an EC2 server. However, they can also just modify the code directly, and if that’s quicker and easier, that’s exactly what they will do.

Developers tend to get lazy and fall back to harmful defaults, like, storing files on ephemeral disks. All those bad decisions would then keep the project from scaling up quickly in the future — but if those options are not even available, at least that’s one less thing to worry about.

j j j

My swimming habit in the US

Swimming in New York is almost impossible if you’re from elsewhere. In Manhattan all clubs seem to be members-only, so for a single session I would end up paying the $150+ enrolment fee plus $25 for the entrance. I don’t like the idea of a 45+ minutes ride to a more public pool in Queens either.

I take my new swimming habit quite seriously: starting this year, I went every single week. No matter how much work I needed to be done otherwise, no matter which city or country I was in, or no matter how tired I felt. Once I went directly from the airport after an overnight flight, getting my first sleep at noon that day.

New York was the first to stop me, but I was heading out and the week wasn’t over yet.

Chicago offered a brilliant alternative right off the bat: you can use Hotel Intercontinental’s gym even without being hotel guests. Built in the 1920s and finished just before the stock market crash, the building itself is part of the national heritage, and, it features a junior olympic size pool. Just perfect for a Home Alone style splash.

pool

I don’t think Intercontinental advertises this anywhere — on a weekday the pool was as deserted as a Kanye West concert should be –, but if you walk up to the hotel concierge and don’t look like an idiot, it’s quite likely that you’ll be let in. Entrance was $70 with tip, for the two of us, including sauna and gym. Can’t think of anything to better spend that money on.

Swimming this week: check.

j j j

Wind in the city

The south side of Chicago is where all the drug addicts and the very-very poor people live — my friends rushed to throw this fact in, about where to stay in Windy City. Yet here we are: 11pm at night, sitting in a car and heading south.

The scenery does indeed change block-by-block. Once we pass south loop, the road becomes full of patches and potholes, and at one point we suddenly smell the very distinctive smell of marijuana. In the car, with the air filter on, in the middle of a four-lane road we ask ourselves: where can this smell possibly come from?

The weed cloud comes from one of the cars around. It’s not uncommon to smoke-and-drive here.

Could be worse.

My friend from high school, our guide for the night, works here in one of the world’s most famous hospitals: University of Chicago is where the first controlled chain reaction has been carried out. “Quietly, in secrecy, on a squash court under the west stands of old Stagg Field.”

Some of the hospital’s patients have AIDS, some Hepatitis A, B or C, and as you might have guessed: there are patients with all of those. Yet, it could be worse.

When we drive around the houses, we see many demolished buildings. With so many homeless people out there it’s hard to see what sense it makes to break houses down, but I’m actually impartial on this: if everyone moves out from one house, drug addicts and their dealers quickly move in. The state demolishes these houses to keep violence out, which does bring some transparency into a neighbourhood.

Street safety is a priority issue, especially since Chicago overtook Los Angeles in homicide rates. A dark police car is stationed at the corner of every second block. Perhaps that’s going to help, but I’m crossing my fingers now: “let’s not get a flat tire here”.

After the quick visit we are heading back downtown and have a cocktail in one of the clubs. There is Kooks on the radio, I put my phone on charge, and realise that I haven’t made any pictures in those last three hours.

How stupid.

Yeah, could be worse.

j j j

Compromise

We are in New York with my girlfriend for some time. NYC is one of my favourite cities in the world: it’s big and smelly and exciting. It’s so creative and moves so fast that it propels everyone who comes around.

It’s a wonderful place, but I couldn’t live here: it’s really-really far from my family in Europe.

London is a good compromise. It’s close to all my family members, but it also is: big and exciting and beautiful. It too, attracts all the creative minds and inspires the hell out of them. When I tell Londoners that I find this city to be a good compromise, they are of course happy: we all understand that compromise is a good thing, and as such, London is pretty good in every aspect, though not the best in all of them.

Berlin is a good compromise too: it is exciting and inspires people, but they say that it doesn’t move that fast so you can have an actual life. It’s spacious and cheap, so you can work on side projects or book ideas or startups aside. When I tell Berliners that I find their city to be a good compromise, they seem to feel hurt. ‘You think Berlin is not the best in every way? Well, fuck you then!’

Well, fuck you too, for missing the point.

People who think that they are better than every other person in every existing aspect, are: not much fun to live with.

j j j

Predicting the global economy

Let’s all look at this chart: the International Monetary Fund forecasts the global economy’s growth each year.

Predicting the Global Economy

Breaking it down, these are the numbers of 2010:

Predicting the Global Economy

…so the IMF forecast seems to be rather optimistic:

Predicting the Global Economy

That’s a near miss, the actual numbers in 2011:

Predicting the Global Economy

Sure enough, that’s a depressing trend, but it’s probably over, right?

Predicting the Global Economy

Nope, still doesn’t seem to be correcting. Maybe next year? Or the year after that? What do you think of the 2016 predictions?

Predicting the Global Economy

From this interview with George Soros:

“…it’s much better to face harsh reality than to close your eyes to it. Once you are aware of the dangers, your chances of survival are much better if you take some risks than if you meekly follow the crowd. That is why I trained myself to look at the dark side.”

j j j

It’s the same person

Dust Brothers are famous for their work on the soundtrack of Fight Club, many of Beck’s songs and on what’s pretty much Hanson’s only hit.

What’s astonishing is that all those works are completely different from each other: not many people would put Fight Club’s soundtrack and MMMBop on the same playlist.

While writing this post, I’m listening to Dead Man’s Bones’s In The Room Where You Sleep. At the mic, it’s the same person who played Lars in the movie Lars and the Real Girl, then, a few years later the hot guy in Crazy, Stupid, Love: Ryan Gosling.

Danny Boyle directed and John Hodge wrote some of my all-time favourite movies like the Shallow Grave, Trainspotting or The Beach.

This sort of genius is not uncommon. Creativity seems to be this unstoppable thing that pursues you to stay up late and follow the voice in your head. People who have the voice don’t seem to be able to get rid of it. They are bound to meet like-minded folks and then put out whatever they are capable of producing together.

Another one of my favourite examples used to be Prince: he wasn’t only a musician but mastered many instruments, produced movies or wrote crazy songs for other artists.

It will never seize to be inspiring.

j j j

Users can’t be copied

“My philosophy on consumer-based Internet companies is that you don’t need to worry about the business model initially. If you get users then everything else follows. Basically any technology can be copied, any concept can be copied. In my opinion, what makes these companies valuable is the users. That can’t be copied.”

— Mark Fletcher, founder of Blogline, in Jessica Livingston’s Founders at Work.

After many failed attempts on building social networks, I couldn’t agree more. My few successful projects that worked out well, worked only because the idea had enough traction before the product became any good.

j j j