PHPNews

Fast projections

Most EventStore client libraries allow you to subscribe to a stream by passing in a callback which is invoked when an event occurs (either a live or historic event). Let's say we subscribe to a stream of a popular video service, and we want to project a read model that shows how many videos a viewer has watched. We …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Sunday July 30, 2017


How to organize a meetup

I've organized a few DDDBE meetups in the past, and always succeed in forgetting something. Either someone points it out well in advance, or I end up stressing last minute. This post partly serves as a checklist for myself, but it would be a welcome side effect to also see it encourage others to help out organizing …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Monday February 13, 2017


Consumed in 2016

I'm keeping the tradition alive, sharing how much I've consumed over the last year highlighting the things that stood out. 18 books, 8 movies and 9 shows. Looks like I consumed more than other years, which probably also explains why I produced less after-hours. Books I finished the Dark Tower series after 3 …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Tuesday December 27, 2016


Pieter Hintjens

Writing doesn't necessarily always come naturally to me. It often takes me days, weeks or even months of toying with an idea, before I think it's mature enough to put it down into writing. I can't afford that luxury this time though, I wouldn't think of myself as much of a friend if Pieter didn't get to read this in …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Wednesday April 27, 2016


Consumed in 2015

I started in 2014 to keep lists of everything I consume. I've continued this effort throughout 2015 and can now share the items I particularly enjoyed. In 2015, I read 16 books and 3 papers, watched 3 movies and 4 shows, listened to 1 audio book and no podcasts. A lot less TV compared to 2014, but most of that time …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Friday January 1, 2016


Visualizing event streams

In my recent talk on Evil by Design , I showed how I've been visualizing event streams as a means to get a better grip on how aggregates behave in production. The talk's scope kept me from showing the code that goes together with the examples shown. Consider this post as an addendum to that talk. First off, we need …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Sunday December 20, 2015


Defining big wins

Casinos invest a lot of energy selling the dream. One way to do this is by showing off people winning big in your casino. Everyone has seen those corny pictures of people holding human-sized cheques right? It's a solid tactic, since empirical evidence shows that after a store has sold a large-prize winning lottery …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Monday November 16, 2015


Aspect ratio calculation

Earlier today I was writing a migration script in F# where I had to calculate the aspect ratio based on the given screen dimensions. This is one of those problems where I don't even mind breaking my head over, but directly head over to Stackoverflow to find an accepted answer which I can just copy paste. Since I …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Friday September 11, 2015


Basic casino math

In a previous series of posts, I went over the models used by casinos to spin a wheel ( spinning , manipulating the odds , clustering and near misses ). I did not yet expand on the basic mathematical models that ensure a casino makes money. Let's pretend we are spinning the wheel again. The wheel has 5 pockets, and …

Continue reading »

Written by Jef Claes on software and life - - Aggregated on Monday June 22, 2015