Log in
Seblog.nl

Kort

Er zijn zo veel 5k-apps die beginners vertellen wanneer en hoe lang je moet hardlopen om vijf kilometer vol te houden. Ik mis een Couch Potato app, waarin je bijhoudt hoe lang je op de bank hebt gelegen met een zak chips, zodat ik weet wanneer ik weer geen 200 meter vooruit kom.

NERDPROBLEMEN: IK HEB MIJN CAPSLOCK GEMAPT NAAR ESCAPE, WANT DAT IS HANDIGER MET VIM. ECHTER, OPEENS HEEFT MIJN MAC BESLOTEN DAT CAPSLOCK AAN STAAT EN NU KAN IK 'M NIET MEER UITZETTEN OMDAT IK DAN OP ESCAPE DRUK.

Nice: there's a difference between Laravel's Str::title() and PHP's native ucwords(): the first also lowercases the rest of the word, while the latter keeps the casing as is.

We then realized our Javascript capitalize() helper function had a bad name: what behavior should that one have? Return a City object which has a capital with the name of the given string?

Het leuke aan het OV is dat het het dichtst bij alternatieve universums komt van wat we in het dagelijks leven hebben. ‘Hoe laat was ik in X geweest als ik die trein had gehaald?’ is met redelijke zekerheid te beantwoorden.

Ik, terwijl ik mijn veel te warme laptop na een nacht van de lader haal: ‘Wat heb jij zitten doen? Jij hebt naar mijn foto’s zitten kijken hè?’ Laptop zegt niets terug.

‪Ik heb één klok in mijn huis die niet zelf naar wintertijd gaat. Het was leuk om te zien hoe laat het ‘eigenlijk’ was, vond ik, voor een paar weken. Nu heb ik ‘m op lokale zonnetijd gezet, dat voelt echter.‬

Really liking the arrow functions in PHP 7.4 so far! Unfortunately already found one missing feature: you can't throw Exceptions from them. The following results in a 'unexpected T_THROW' syntax error:

fn() => throw new Exception('nope');

Would've cleaned up my test, but alas.

De oorkussens van mijn Bose QuietComfort 35 II waren na twee jaar dagelijks gebruik echt helemaal versleten en aan één kant zelfs opengesprongen. Jammer, want het is echt een geweldige koptelefoon. Maar gelukkig kon ik nieuwe oorkussens bestellen, en die zijn net binnen.

Nieuwe dingen kopen geeft altijd een korte kick, maar het zorgvuldig oppoetsen en het vervangen van kapotte onderdelen van een ding dat je dagelijks gebruikt voelt veel fijner. Hij is weer echt als nieuw. Op naar de volgende twee jaar.

Disney+’s algorithm still hasn’t figured out I’m binge watching all Marvel Cinematic Universe movies in chronological order. Luckily there is Wikipedia for the list.

‪Just had a nice moment of “hey I know nothing about z-index, but I know it does not work the way you think it works”, and then being able to help someone out by Googl’ing up this MDN page.‬

‪You don’t need to know everything, just remember where the weird things‬ are.

‪There is a bit of a design flaw in Apple Pay with FaceID. With TouchID and on the Watch, the verification is tactile, but with FaceID I have to shift my attention to my phone to activate. Most of the time, I see the amount I’m paying in a flash, way too late if it were incorrect.‬

‪Ik keek mijn fotoarchief door en zag een vrij dagelijkse selfie met mijn broertje uit 2009. ‘Koningsdag’, had Apple er met grote letters onder gezet. Ik wil het die programmeurs niet aandoen om de bug te melden dat nationale feestdagen zich soms verplaatsen over de jaren.‬

When writing large numbers and decimals, Dutch and English use the complete opposite characters to notate them. So a million times pi is written as "3.141.592,6535" in Dutch and "3,141,592.6535" in English. I find both very confusing at times, especially the comma in both cases. Wondering if I should adopt Ruby's underscore for this: "3_141_592.6535".

So many times I see developers using the word 'physical' when they are still referring to some virtual thing, just one layer less abstract.

Meer laden