Advanced Redis data structures

A few days ago I gave a talk at PyCon Belarus regarding advanced Redis structures.

Follwing projects are presented:

  • redis_wrap: A Pythonic wrapper that makes it nicer to work with builtin Redis datatypes
  • redis_graph: A sample graph database
  • redis_simple_queue: A simple queue implemented on the list structure
  • bitmapist: a powerful analytics library using Redis bitmaps, great for retention and cohort tracking
  • fixedlist: a fixed list structure that can optimize timelines (and other things)
  • How to use Lua scripting for more advanced data structures and better performance

These are Python projects, but some of them (like bitmapist) have been ported to other languages.



One slide that shows why WhatsApp is worth much more than $19bn

There is a great presentation by Benedict Evans that explains why mobile is very important: Mobile, Context and Discovery.

In this presentation there is a graph that shows industry scale. Mobile networks lead with over 1 trillion dollars in revenue and are much bigger than anything else, such as online advertising.

WhatsApp is disrupting part of this industry (the SMS part, which globally has over $100bn in revenue). Facebook's current revenue can't even be visualized that well on this graph.

Industry scale

24. Feb 2014 Stuff Permanent link

WhatsApp acquisition: You have to have the right people

I am really fascinated by Facebook acquisition of WhatsApp for a whooping 16 billion USD in cash and stock [link].

The more interesting parts for me isn’t that much the price, but what WhatsApp has built with **only** 50 people (and only 32 engineers):

  • A platform that’s used actively by 450million people, growing 1million by day
  • Processing 50billion messages pr. day using Erlang
  • They have invested $0 in advertising
  • Their business model was unique: it was a paid service that cost $1/year
  • Only 8million USD in investment
  • More stats

Never in human history was it possible for 50 people to create so much value (regardless if we think they are worth 16B).

In technology to touch the lives on millions and create a lot of value you don’t have to have a lot of people. You have to have the right people.

20. Feb 2014 Stuff Permanent link

This week's reading list

Each monday I'll share the 5 best articles I read from last week.

Here's the list for this week:

17. Feb 2014 Reading list Permanent link

Warren Buffett - The World's Greatest Money Maker

A documentary about Warren Buffett, the greatest investor of all time. His decisions about buying shares and companies have beaten the stock market year after year and made him the richest person in the world - thought to be worth 37 billion dollars.

11. Feb 2014 Interesting · Life Permanent link

"The young Bosnian that wants to improve the productivity of the world"

There's a small article on me in - Chile's biggest newspaper.

El Mercurio article

3. Feb 2014 Announcements · Productivity · Todoist Permanent link

Launch of Todoist Next

We have released Todoist Next. Check it out!

I am so proud of the team for delivering a world-class result.

Todoist Next

22. Jan 2014 Todoist Permanent link

12 Lessons Steve Jobs Taught Guy Kawasaki

Great talk by Guy Kawasaki on what Steve Jobs taught him.

TLDR (for those that don't want to spend 50 minutes watching this):

  • Experts are clueless
  • Customers cannot tell you what they need
  • Jump to the next curve
  • The biggest challenges beget best work
  • Design counts
  • You can’t go wrong with big graphics and big fonts
  • Changing your mind is a sign of intelligence
  • “Value” is different from “price”
  • A players hire A+ players
  • Real CEOs demo
  • Real CEOs ship
  • Marketing boils down to providing unique value

There’s also article version on CNET here: What I learned from Steve Jobs.

4. Jan 2014 Design · Life · Stuff · Tips Permanent link

Zen room for Vim: Focusing only on the essential

I just released a forked version of vimroom which I call vim-zenroom. It enables you just to focus on the code or the text you are writing, without all the distractions!

It provides following features:

  • A special mode for editing Markdown and reStructuredText. It's highly inspired by iA Writer
  • Optimizations for my vimrc

You can go into this using <leader>V (standard vimroom mapping) or <leader>z (in my vimrc).

New version: vim-zenroom2

A new version is out that's based on Goyo.vim. It's not a fork of vimroom. Get it at vim-zenroom2!


Some other examples

Editing code

Enter the Zone easier by just focusing on the code - and nothing else:

zenroom editing code

zenroom editing code fs

Editing documentation

It's a lot more powerful than iA Writer and includes code syntax highlighting (for Markdown and reStructuredText):

zenroom editing documentation

zenroom editing documentation fs

I moved to Porto, Portugal. Why you could too!

We live in an interesting time where technology has enabled us to live and work from almost anywhere.

So why not pick a nice place to live?!

River Douro

3 months ago I moved to Porto, Portugal with my girlfriend. Here's some of the great things about Porto:

  • It has a river that's really beautiful
  • It has sea and surf
  • It has a lot of history
  • It's inexpensive, you can get a good meal for 5 euros
  • It has a nice climate, at least compared to the cold European north
  • At Porto airport there's Ryan Air that enables you to visit a ton of places in Europe relatively cheaply (50-100euro for a roundtrip)
  • The Portuguese people are really nice and you can find amazing talent here
  • We have a beautiful office here and 10 amazing people working from this office

Location was important some years ago, but I think it's less relevant now. Even tho' the herd mentality is that you need to be in San Francisco, New York or London to create great things or to connect with great people. I think you can create amazing thing anywhere (in Latin America, in Europe, in Asia etc.) and you can find amazing people anywhere!

Skype is a great example of this: they created a billion dollar company in Europe; and most of the development was done in Estonia (a country of about 1.3 million people, much less than most bigger cities!)

Our company strategy tho' isn't only to hire people from Porto, but to hire them from anywhere in the world.

Living in a nice place is a personal choice and I am amazed the possibilities we have today.

Some of my moments in Porto

Surfing at the local beach

Porto surfing

Eating awesome sushi

Kyodai restaurant is amazing. The best sushi I have eaten in Europe.

Porto Sushi

Awesome sunsets

Porto Sunset

16. Nov 2013 Life · Tips · Todoist · Wedoist Permanent link
© Amir Salihefendic