Open letter to salsa organizers

Dear organizers,

I like to travel very much. It's amazing that I can have dancing as an excuse to go so often. Two-in-one! Actually, it's three-in-one. I dance for awhile now so it means I travel more because of people I can see there than because of the salsa itself. You know the following joke, right? :-)

But I have problem… that jet lag thing. Ok, that's not true. Luckily for me, I'm from Prague, which makes it very easy for me to adjust anywhere in Europe. But there is another lag, I call it salsa lag. With all those parties until 6am and later and party animals, who want to hear the last song, it forces people to come to the party later than sooner. Which looks like we dance in another time zone!

It has several flaws. Some attendees need to adjust twice because of two time lags, first jet and then first salsa party of the festival (or congress or whatever you want to call it). That means we are more zombies. Don't get me wrong, I like zombies! But in movies, not on the dance floor… :-))

Also during winter time it's much harder to see the sun. Or daylight at least. It's very depressing to go sleep during sunrise and get up between 3pm and 5pm when it's already sunset. I think smiling people are much better (on the pictures) than depressed ones. :-))

It also makes harder for cleaning ladies to clean the room. Very often they don't have a chance to clean it at all because I always sleep during cleaning hours. They have to be so confused!

Could we do something about that?

Let's not confuse cleaning ladies. Let's start the party right after the workshops (those who attend workshops cannot go to the whole party so it doesn't matter if they will miss the start or the end) and end it much sooner. If you need to do shows, do them between workshops and party which makes time for people doing workshops time to rest a little bit. And if you do marathon concept, just cut it sooner to force people come in the morning. :-)

What do you think?

Thank you and best regards,

It doesn't have to be scrum

I have a feeling that when there is something about agile, it means scrum or kanban. But it's not just that. It's definitely one way how to be agile, but it's not a synonym. The most important thing about being agile is communication. You can actually use any system (at least I think so) but without communication you will be hardly agile. To explain what I mean I just describe two current situation.

First from my day job: I work with a small team on a project which should help to build a better Internet. We have no planing (as described in the scrum), no stand-ups, no boards, no retrospectives, no regular meeting. But everything works very well and in a very agile way. I visit company in London once in a while, usually once per two months, where we discuss several things:

  • I show demo of what we have done since the last meeting and then we discuss how it met (or not) their expectations.
  • What should we focus on for next month or two. They explain in detail what they need and why. That “why” is very important because thanks to that I can offer maybe another “what”. Something what can fulfill their needs much more or something similar which will cost much less money (or effort if you want).
  • They also update their view what should roughly come next to just have an idea. That can help us to prepare better our code base and architecture. But we don't discuss it in details because always those details change during the next month or two. Always.
  • Also, we share a long-term view to have the same focus in mind. To not be lost in details and not forget what we are building. That's important so nobody needs to dictate who will do what and how. If everybody knows the goal, then everybody can go that way without pushing which is much better.

Those points are, I would say, very important to be agile. Of course, we do more. Another very important for us is to visit people for whom we are building that project. We are lucky that it's actually friendly community with many opportunities to hang out with those people. We use those opportunities because it's very useful and important. In this project is involved a lot of people from many places around the World. Any project where you cannot simply go and solve issues face-to-face, it's becoming harder and harder. But we know why, what and for whom we are building that software and we can do a lot of decisions alone.  

Anyway, there will always be many situations when we just don't know. In that case, we prototype. We create some base structure first and then we add as many details as we know are safe. By safe I mean those details which are very easily changed or there is a small chance we will throw it away. That's very important because to show example is much easier than to describe anything. This way we simplified a lot of things; for example, there was a very complicated feature and we weren't sure why it has to be so complicated and created a mock-up of simpler solution. We had problem to explain it, but when we showed it, that solution won immediately.

I think it's clear, but to be exact, we don't have any specification. We don't write any detailed issues (or tasks or user stories, whatever you want). We really rely on communication. We benefit from knowledge of why and that we know our users. And I think it's much better for both sides than any specification. I haven't seen in my life good specification (of any kind) which would help us (programmers) to understand the problem better. I'm very glad that we just discuss everything and then we (developers) create issues in our issue tracker.

Second, my home projects: I had two ideas in the last months, but I didn't know how exactly it should look like or even how exactly it should work. Well, I just started with a base structure. Some mock-up with proof of concept that it can work. As I saw first versions I got a lot of ideas how it could be better. How it could fulfill my needs much better.

I was creating many issues, but a lot of them was just not worth to do it. I would spend a lot of time doing them and would bring me as much value as others. That's something not even me knew at time time when I got the idea. But I was end user, product manager, designer and programmer at the same time so I could decide which issue do first and which later and which just ignore very quickly. I could decide that in milliseconds. Actually, I could change the way right away, but the main goal (without specification) stayed the same.

You probably see what I'm trying to say. If you will focus on all meetings and proper specification and everything… it's nothing compared to have proper communication. If product owner can explain to you well goal and why they need some features, then you are free to do it your way and change decision any time if the goal stays same. I'm not saying not doing scrum or other agile techniques, I'm saying that those regular meetings have some meaning, to bring this communication. Just bringing those meetings to the team doesn't mean anything.

I wanted to also say to programmers to not be afraid to work without specifications. I made that mistake before as well. I was asking for better specification and if there wasn't good one we're complaining and it was also our excuse for many problems. I was so wrong! I could see thanks to my last two projects that even me was unable to create a specification. It was much better to create a functional mock-up, try to use it, change it and continue with next details and features. Finally, I'm not afraid to delete the code. To be a better programmer, don't be as well.

P.S.: Of course every project and team needs something different but communication is main tool which has to be there.

P.S.2: Go watch my favorite video describing agile in nutshell.

P.S.3: If you are curious about what am I building, stay tuned. I will share that soon. :-)

Movie by Artificial Inteligence

Not long ago I was writing here about how I'm not afraid of artificial intelligence. Then my colleague sent me this video of how AI created a sci-fi screenplay…

I'm going to add just one note: I'm sure one day we (as humanity) will look back to this video and see how amazingly clever and deep that script was. Trust me. :-D By the way… I had almost same feeling watching this video as last Transformers. No idea what's going on.

Salsa marathons

I think that the classic concept of salsa festivals with a lot of workshops of all different dances during the day and parties over night are not ideal. I see two types of people:

  • Those who want to learn something new. But I don't see much of value in crowded workshops, fighting for the best spot to make a video, no practicing and running in the corridor to the next workshop.
  • And those who just want to dance. But when they finally could go and keep the kids at home or finally have money to go or whatever, they can only dance during the night.

So in the end no one is fully happy. That's why my favorite festivals are Mamboland by Adolfo which satisfies the first group of people, those who want to be better. And Splash in Šibenik where you can dance also during the day whole week on the beach and there is just around one thousand people, nothing extra crowded, which satisfies second group, those who want to enjoy the dance.

And then there are marathons. We have one in Prague (but almost without anyone from Prague! :-O), there is also one in Heidelberg in Germany (which I can recommend, see you there next year!) and many more are popping out everywhere. Party animals love it. They can dance all the time and this is probably the future for the second group. Probably this is also the future for festivals. You could see for example that Berlin or El Sol had a social party during the day similarly like festival in Šibenik. I think more of them will go this way.

But there is still a lot of space to create festivals like Mamboland for the first group. So, if you are an organizer, don't be in a rush and don't copy what all others are doing. I like those all-day-long dancing, but I also want to learn something to be better. Unfortunately the classic festival is not a good concept for that. At least for me. And hey, those groups are not actually distinct. I will be glad for (and I will visit) both concepts.

BTW marathon is not a new thing. There are already some good records which should be challenged! Sooo, who is going to do marathon for many, many, many days? :-)

Zápisky z cest: Londýn, vol. 2, 3 & 4

Trocha kontextu: pracovní cesty.


Kancelář je na místě, kde jsem v roce 2015 šel naposledy před cestou domů! Business oblast se spoustou kravaťáků. Jenom kravaťáci, téměř. S mým sáčkem jsem moc nevyčníval. Vlastně jo, ale opačně než doma. Druhý den jsem si vzal kytičkovou košili, abych to tu rozčísl pořádně. No skoro na mne koukali pobuřujícím pohledem! :-D

Úplně přesně to bylo kousek od toho řádícího auta dva týdny před mým příjezdem. Spousta lidí by se asi orosila s ohledem na všemožné útoky, kterých přibývá, i když podle mne jenom v televizi. Statisticky to vidím stejně jako šance nula nula nic. A jedl i v tom marketu. Což teda bylo úžasné! Tam musíte jít, až tu budete. Oblast Borough Market. I kamarádka z NYC mi říkala, že to je super místo a byla tam téměř každý den, když bydlela v Londýně.

Potvrzuje se mi, že anglicky mluvící lidé jsou školení (nebo mají v krvi od narození) mluvení a sebe prezentování. To sice nemám, ale mám jinou vlastnost – nechám je mluvit, snažím se pochopit čeho chtějí docílit, a pak jejich „problém“ řeknu velmi stručně. Tři věty v podstatě stačily. Měli jste vidět jejich výraz, když najednou problém nebyl tak složitý. Aneb velká rozhodnutí rychle vyřešena.

Pracujeme tu od rána do noci. Když počítám i večeři. Ale zase mi ten Londýn vyjde téměř zadarmo. Včetně věcí jako večeře v podobě nejlepšího japonského masa Wagyu. U toho se musím zastavit. Wagyu je jedno z nejdražších mas. Nechtěl jsem pohostinnost zneužít, ale řekli mi ať si to vezmu, že to musím ochutnat. Tak jsem do toho tedy šel. Problém byl… měli to jen jako burger verzi. Měli steaky se spoustou masem, ale ne s tímhle. Zvláštní. Dal jsem tedy burger a to maso mi nepřišlo nějak super. Jakože super, ale nesplnilo očekávání podle toho, co jsem o něm slyšel.

Člověk si tu pokecá mnohem lépe. Měl jsem Uber řidiče z Kenyi a zajímavé slyšet názory na vše možné. Nějak ta Afrika se na mne lepí tady obecně. Na meetingu máme člověka za Africkou internetovou asociaci z Ugandy. Jeho kamarád, co se k nám připojil k večeři, staví elektrárny v Ugandě a okolí. Zastupitelka za Evropskou asociaci má mámu původem z Ugandy. Její manžel je sice Američan, ale taky s kořeny v Africe, který se zamiloval do českých dveří ve starém městě. Prý po návratu domů zjistil, že většina fotek z Prahy jsou dveře! :-D

Za ty dva roky co jsem tu nebyl udělali jednu novinku – není potřeba kupovat lítačku na metro. Stačí přiložit bezkontaktní kartu. A není v tom žádný příplatek, je to jako když si člověk koupí jednorázovou cestu. Mazec!

A salsa tu je super. Kvalitně a s počty to na New York nemá, ale zase tu jsou všichni milí a usměvaví! Pro prvních pár holek jsem si došel, zbytek si tak nějak všiml a došly si pro mne samy. Oh! <3

Mimochodem, domů jsem to vzal oklikou. V Praze byla šílená bouřka, že jsme letěli o hodinu později, abychom ji minuli. I tak jsme ji chytili a užíval si show už od Frankfurtu (fotka před vstupem do bouřky). Bohužel Ruzyně byla na nějaký čas zavřená a tak jsme kroužili a kroužili ve frontě. Která byla dlouhá a tak si zaletěli dotankovat ještě do Vídně.

Bohužel jsem nestihl poslední autobus a nočním jsem fakt jet nechtěl. Žádný Uber do pár minut. Děsně k tomu lilo, tak jsem došel k volnému taxíku. Stál dost daleko. Než jsem k němu došel, sáčko jsem měl durch. Řidič stáhl okénko kam že chci. Já Butovice. Na což že to je moc krátká cesta, zavřel okénko a nechal mne na tom dešti. Idiot. Pardon ten výraz, ale fakt kretén. Tak jsem tedy otevřel Uber. Narazil jsem na moc milého chlapíka z Ruska, který mne vzal i když už byl na cestě domů! Názor o používání Uberu si udělejte sami.


Nikdy, opravdu nikdy, neleťte s Ryanair. Teda… za předpokladu, že se nechcete cítit jako v mekáči plný reklamy s málo místa na cokoliv a bez vody v ceně. Jo a taky chcete mít letušky, nikoliv obchodnice co neustále něco nabízejí. Od vůní až po losy. To už radši být na poště. :-D

Jelikož pracovní dny tu jsou od rána do večera, rozhodl jsem se si den předem udělat víc volno. Začal jsem procházkou míst, které se mi líbí, například London Tower a okolí. Pak si došel do Borough marketu na úžasný burger a nakoupil několik sladkostí. Chtěl jsem jen malý dezert, ale měli tam poplatek za platbu kartou pod deset liber a abych ušetřil, koupil jsem si koláče tři. :-D Pak jsem si to zamířil do královniny zahrady, kde se mi to taky moc líbí, a snědl si tam jeden koláček. Vedle mne se usídlil jeden zvláštní člověk s plnou igelitkou piv a dával si jedno za druhým. Po tom, co jsem si dal dvacet (aneb když se tam mohou válet v trávě lidi v černém obleku, proč ne i já, že), mi řekl, ať už nikdy podobnou věc neudělám, nebo mne někdo okrade. Poučení: neposuzovat lidi podle vzhledu a chování. Po tom odpočívání to chtělo večeři, tak jsem si našel fajnovou restauraci, kde jsem měl úžasnou chobotnici! Lepší jsem měl snad jen v mišelinské restauraci ve Španělsku a to si nejsem jist! Měli ji krásně křupavou na styl letního salátu s jogurtem a sazenicemi a celkově to utvářelo suprovou chuť. Nemohl jsem odolat vyzkoušet víc a šel do dalšího dezertu. Čokoládový fondant se zmrzlinou a sušenými borůvky. By člověk nevěřil jak takové sušené borůvky dokážou dezert úplně proměnit v něco jiného a lepšího! Den jsem zakončil v divadle.

Moc se mi líbí Shakespeare globe a tak šel tam. Bohužel žádnou shakespearovskou hru v ten den neměli, ale měli tam něco jiného. Hru lions + tigers o boji osamostatnění Indie od Británie. Po tom co jsem četl Dlouhou cestu ke svobodě od Mandely (doporučuji) mi to přišlo velmi zajímavé a koupil lístek. Navíc jsem za nejlepší sedadlo měl slevu. Místo 45 liber jen 20! Hru napsala žena dle dopisů svého praprastrýce a Gandhio. A to mi neuvěříte, ale v kavárně v tom divadle si ke mne přisedli Indové a hned si se mnou začali povídat a nabízet víno atd. atd. a pak mi řekli, že přišli podpořit svou sestru, která tu hru napsala. Aneb setkal jsem se s rodinou, která kdysi bojovala za osvobození od Británie, znala se s Gandhim a teď žije v Londýně. :-D A taky mi nabízeli jejich dcery, když se dozvěděli, že jsem nezadaný. Což byla jejich asi třetí otázka. První byla na jméno, pak odkud jsem. :-D

Každopádně docela smutný příběh. Gandhi věřil v mírumilovnou cestu bez žádného násilí. Její praprastrýc s dalšími bratry (kteří umřeli) však zabil jednoho důležitého člověka z Británie a tím hodně pomohli k osvobození a stal se tak hrdinou. Gandhi se ho snažil dostat z trestu smrti, ale riskoval by tím zahozením veškeré snahy a tak se ho musel zříct a nechat ho popravit Británií. Hodně mne překvapilo, že si Británie dělala z Gandhio srandu a nechtěli se Indie vzdát (ve hře byl použit i útržek z novin) a přitom třeba Mandelovi při jeho boji v Jižní Africe dali bez problému zbraně, aby mohl doma zaútočit na nadvládu bílých. Británie. Hm. To jsou tak neskutečně zajímavé věci, proč nám ve škole nikdy nic o tomhle neříkali?!


Třetí pracovní přílet byl ve velkém stylu. Po celém Londýně létaly ohňostroje a byla čistá obloha, tak to bylo z letadla i vidět. Jedná se o Bonfire Night, tradice na oslavu zmaření pokusu o zničení Westminsterského paláce a zabití krále Jamese prvního. Což teda důvod ani samotní Londýňané často nevědí a musel jsem si sám najít! Každopádně všem kamarádkám jsem napsal, že děkuji za super přivítání. :-)

Nejsem si jist, zda se to horší, nebo si toho začínám jen víc a víc všímat. Ale najednou tu jsou všude samé kamery. Přijde mi, že téměř každý můj krok v Londýně musí nějaká kamera zachytit. Většina z nich snad musí vše hned zahazovat, protože kam by takové množství záznamů ukládali? :-O

Nicméně, docela by mne zajímal záznam z hotelu, kde jsem byl. Už když jsem se o půlnoci dostal na hotel, z vedlejšího pokoje jsem slyšel soulož. Což by bylo ještě v pohodě. Ale pak po chodbě šli (velice pravděpodobně) dva chlápci a bouchali na dveře. Žena šeptala ať neotvírá, ale stejně její… cokoliv… otevřel. Chvíli poměrně ticho. A pak začali orgie. A snad podle některých slov to vypadalo, že jeden z nich to natáčí. Že bych zkontroloval známé porno kanály? :-D Nejhorší na tom bylo, že jeli až do rána. Odcházel jsem na meeting a vedlejší místnost stále nebyla ticho.

Docela jsem se těšil na snídani a tam mne vítalo…

Tento hotel už ne. Nope.

Trochu jsem se bavil i o Brexitu. Dlouho jsem o tom nic neslyšel a vlastně nevěděl v jakém stavu to je. Nikdo nic neví, ví se jen že se to opravdu stane a nejsmutnější na tom je, že většina Británie ani nic moc nevěděla v době hlasování. Celé se to stalo tak rychle, že po odhlasování bylo dost lidí v šoku. Údajne ve všech novinách a zprávách se šířily hlavně informace kolik Británie ušetří odstupem z EU, ale nikdo nezmínil všechny dopady. Například to, že Británie nemá svoje zákony a spoustu dalších věcí, které bude muset udělat od základu. Což znamená – fork toho co má EU. Údajně také hodně lidí hlasovat nešlo a většinou z důvodu, že si nebyli jisti dopady a nevěřili, že by to prošlo.

Tenhle obecný pohled mám z malého vzorku, přibližně deseti lidí, ale i tak to něco vypovídá. Jsem zvědav, jak se sem bude brzy či později lítat. Ať už pracovně či osobně.

Makefile with Python

I like when everything is easy. I like to open some repository and in as few steps as possible to run example and see how it works. Ideally just call run and that's it.

Python is great, Python makes a lot of things very easy. But tooling around, mostly packaging, is not working well. It has a lot of flaws. I'm used to to fix this with Makefile. Some people are furious about that and argue that it's only for building C codes. Well… maybe. But I prefer to be practical.

Check out why I think it's very simple and good to use:

.PHONY: help prepare-dev test lint run doc

VENV_ACTIVATE=. $(VENV_NAME)/bin/activate

.DEFAULT: help
	@echo "make prepare-dev"
	@echo "       prepare development environment, use only once"
	@echo "make test"
	@echo "       run tests"
	@echo "make lint"
	@echo "       run pylint and mypy"
	@echo "make run"
	@echo "       run project"
	@echo "make doc"
	@echo "       build sphinx documentation"

	sudo apt-get -y install python3.5 python3-pip
	python3 -m pip install virtualenv
	make venv

# Requirements are in, so whenever is changed, re-run installation of dependencies.
venv: $(VENV_PATH)/bin/activate
	test -d $(VENV_PATH) || virtualenv -p python3 $(VENV_PATH)
	${PYTHON} -m pip install -U pip
	${PYTHON} -m pip install -e .
	touch $(VENV_PATH)/bin/activate

test: venv
	${PYTHON} -m pytest

lint: venv
	${PYTHON} -m pylint
	${PYTHON} -m mypy

run: venv

doc: venv
	$(VENV_ACTIVATE) && cd docs; make html

It's very simple base Makefile which I like to start with at any project. It helps me to install all dependencies I need without searching and run project (or tests, or lints or whatever) without remembering how the tool for it look like.

The best feature is how Makefile works. Notice venv target. It says that it needs to have script venv/bin/activate which needs Makefile will run venv target only when you remove (or don't have yet) virtual environment or you change Because I use venv as dependency for all tasks, I can change my Python dependencies and just run the tests. Makefile will ensure that virtual environment is updated.

So… maybe Makefile is only for compiling codes… but anyway I think this is very clever. I could use normal bash scripts, sure, but why? It's hard to keep them executable in git repository, not fast to type and I would need to write logic which Makefile already provides.

Not conviced? Well, I don't force you to use it, I'm just saying why I love to use them. :-)

I'm not afraid of AI

Every useful program has three parts. Input and algorithm which produce some output.

Classic programming means that you write the algorithm which can convert your input into output you want. You are the master and the code by itself cannot think because it's written only for this one use case.

All artificial intelligence right now works on a generalized algorithm which creates algorithm for the specific use case by learning from matching inputs and outputs. The problem is that it will not be perfect. You need a very good set of learning data to learn from and even if you will have awesome set, it will still produce errors.

Let's take for example simple calculator. You can put all corner cases in learning set, but it doesn't mean final algorithm will calculate those cases correctly. Every new input-output match in every learning iteration is going to change the final algorithm. Also, the algorithm is not altered in a way to pass the current example, but is changed little bit to match overall average.

To make it perfectly clear: generalized AI algorithm just looks for patterns and tries to find an algorithm which can cover it. But every corner case (like division by zero, for example) has to be handled by hand. That's why you don't see AI calculator yet. AI is not precise and is good where you have a lot of data, but is hard to make algorithm. Like image analysis, voice recognition, autonomous cars and so on.

Actually, many people say they are doing AI but in fact it's just data mining. Data mining is still classic programming. You have data which you analyze manually with the help of some tools, but in the end you are still coding the algorithm which uses those data. That's important to understand.

Now I can explain why I'm not afraid. There has to be a lot of learning data for everything. Nowadays computer has problems just to analyze what is in the image. It's getting better and better, but it's still optimized for this one problem and there are still a lot of fuck-ups which no human would do. You can be impressed by Go program, but anyhow the game is complex, the World is much more complex, and that program is still optimized for this one game only. Try to play chess with this program and you win. Maybe you could argue with IBM Watson. Well, it's very impressive but it still makes childish mistakes. And by the way, have you heard something about some big improvement lately?

So, I'm not afraid. AI is about looking for patterns. We are a very long way away from algorithm really thinking by itself.

But… I don't trust in recommendation systems.

By the way, maybe now you understand why all big companies like Google, Apple, Amazon and so on wants all data possible and why you still see an advertisement or recommendation or help from assistants you don't like or need.

The Three Dancers

In the last months I discovered one interesting thing. I don't care about big salsa festivals or any other events anymore. Well, I was never interested in any crowded event, but I wanted to have a lot of good dance partners so I can enjoy the night. Not anymore…

For example, at last festival in Berlin I was dancing mostly with a few girls I already knew. Because I know them. I know what they like, I know what I'm allowed to do, I don't have to socialize over and over again which just takes a lot of energy, I don't have to look in a crowd which one to ask for a dance, … Simply, it's comfortable.

I would compare it to movies vs. TV shows. Every movie is something new and there is uncertainty if it will match my current mood. Or my taste generally. In other hand, TV shows gives in every episode something familiar. I know what to expect from my favorite ones and I can much easily decide what to watch.

Nothing is black and white, though. Dance all the time with the same ones is not fun either. It's like eating the same food every day. You can do it a few days in a row, but then you need something else. So that's why festivals are important for me even after what I just wrote.

(I hope all girls are pleased I compare them with movies and food. :-D)

In the end, I can enjoy a small party much more than some big one international! I don't care about a lot of dancers. I care about The Three Dancers I like the most. The good dance party is when I can call it Pablo Picasso night. :-)

Do you have it the same, what do you enjoy? ;-)

Infinite feeds

Years ago, there was no Internet. You could read news only from newspapers and books. Both has the end and you have to stop. After you finished newspaper, you had to wait a day or week or even month for the new fresh one. During that waiting you just were doing something else.

Nowadays, with the Internet, there is a problem…

…let's stop consuming all those infinite feeds and do something more useful. :-)

Technology is double-edged sword

Technology should help us, right? We should be more productive than years ago before technology. Everything should be better, faster, smoother. But it isn't. Actually, it's still the same, kind of.

Nowadays everything is fast. You can say hi to anyone, anywhere. You can find any information all the time. You can share anything you want with everybody. You can order something and in few hours have that order at home. That's great. But at the same time it brings another problems. We are addicted to social media. We are overwhelmed with a lot of messages. It's hard to find good information, actually we are lazy to do it. We are impatient. We expect more and we are depressed when we have to wait.

Think about it for little bit. Just think how you use your phone for example and ask yourself if that phone serves you or if that phone ties you up. You are still the one who can change it. You can start by turning off notifications and reply when YOU have time, not when your phone says so. Do not keep apps to bother you. I did that very long time ago and when I meet someone who's phone is beeping all the time… I really don't understand he or she can live with it.

After setting your phone you can continue to not use phone all the time. Disable notifications on your laptop. Do not read everything. Read only news from good brands. Which also means stop reading the Facebook feed. And so on and so forth.

By the way check out this video: