Decentralized Social Web

Sharing between offline computers

We create content all day. We take pictures, write comments on articles, or even the articles themselves. We save bookmarks, or press some like or heart buttons. Even if this content is of no value to anyone else, at least it is to ourselves. Still, we trust other parties, commercial ones, with servers often in other countries, to give us back our content any time of the day with the click of a button. Even if they want to, they may not always be able to do so. In my previous post I wrote that we put too much trust in the internet.

Would it not be nice if all this content was on our own computer hardware, that we could easily categorize and search it, and share copies with our friends? I would like to share some ideas that I have to make this technically possible, so this is going to be a technical article for that reason.

Continue reading...

What would we do without internet?

Internet broken

What would we do if an attempt by hackers or an enemy state to take down the internet would succeed? Even though the internet is essentially a huge decentralized network of cables, the DNS structure is not so decentralized and has already been target of attacks. Even this week, a distributed attack on Dyn's DNS caused many US visitors unable to reach popular sites like Twitter and Github.

There are also governments that censor sites like Twitter and Google for political reasons. People have a natural wish to share information, and this question is really about how this can be facilitated when common social network sites are down.

Continue reading...

Surrounding code with common logic in Scala

A common programming need is to surround repeating logic around varying use cases. For example, all database actions need to be in a transaction, which should also roll back the modifications in case of an error.

I tried to see if I could write a generic function that could be used as easily as this:

transactional {
  save("something")
}
Continue reading...

VAR afgeschaft, wat krijgen we ervoor terug?

VAR vervangen door Wet DBA

Gisteren ben ik bij Facet bijgepraat over de veranderingen omtrent de nieuwe Wet Deregulering Beoordeling Arbeidsrelaties (DBA). Ik probeer hier zonder mijn aantekeningen een samenvatting te maken van wat ik begrepen heb.

Kortgezegd zijn er drie criteria die na 1 mei bepalen of je volgens de Belastingdienst feitelijk in loondienst bent:

Continue reading...

First steps in Scala, second steps in Play Framework

Scala and Play Framework

Last year I experimented with the Play Framework to find out how it works and what its strengths and weaknesses are. Although I was quite enthousiastic about it, I did not look at it any further, seeing no immediate need for it in my professional life. Now, a year later, I decided to dive into Scala. A free online course is being given by the creator himself, Martin Odersky, on Coursera. I am very happy about both the presentation and the level of the course. The lectures and the exercises are of a high level, and the whole package is well thought through.

Continue reading...