November-2017.php
Oh yes, Unix The Unix philosophy focuses on minimalist, modular software. A beautiful example of this is the yes command, which repeatedly prints the character ‘y’. This sounds really simple, but...
View ArticleOctober-2017.php
Asynchronous stack traces: why await beats .then() First up, Mathias Bynens has an interesting look into how JavaScript stack traces are generated, and why await beats .then() when it comes to...
View ArticleSeptember-2017.php
Another month is coming to an end, and again that means I’ll try to summarize some of the most interesting articles I’ve read. Because of holidays, it’s been a pretty short month for me work-wise. That...
View ArticleAugust-2017.php
Once again a month is coming to an end and, as is becoming the habit, I’ve gathered a bunch of interesting tech articles that caught my eye during the last month. First up, Matthias Noback has a 3-part...
View ArticleJuly-2017.php
Even though July was a pretty quiet month online due to everybody being on vacation, I still came across some interesting articles. Earlier in the year, there was a big discussion in the PHP community...
View ArticleJune-2017.php
Summer is on, June is over, and it’s time for yet another summary of a month passed. This month’s focus will be on PHP and Laravel, with an emphasis on performance, but many of the tricks are also...
View ArticleMay-2017.php
The month of May is over, and as usual, it’s time for a summary of interesting tech related articles I’ve found during the month. We start out with some numbers. Jordi Boggiano published a new updated...
View ArticleApril-2017.php
April is almost over, and it’s time for another monthly roundup of interesting articles and links. During the month I’ve read some interesting articles providing a pretty good spread ranging from...
View ArticleMarch-2017.php
The month of march is ending, so it’s time for this month’s roundup of recommended reads. This month consists of 3 main topics: PHP, JavaScript and project management. Even though I work a lot with PHP...
View ArticleFebruary-2017.php
February is coming to a close, and it’s time for a monthly round-up. Even though February is the shortest month of the year I doubt it will be the least eventful. Especially the security scene has been...
View ArticleLaravel file logging based on severity
Per default anything logged in a Laravel application will be logged to the file: storage/logs/laravel.log, this is fine for getting started, but as your application grows you might want something...
View ArticleHTTPS and HTTP/2 with letsencrypt on Debian and nginx
Introduction Letsencrypt NGINX Improving HTTPS security Benchmarking your setup Introduction Most web servers today run HTTP/1.1, but HTTP2 support is growing. I’ve written more in-depth about the...
View ArticleJanuary-2017.php
As a new feature this year, I’d like to start doing monthly summaries of interesting articles I read throughout the month, that I feel is worth returning back to. The lists will include a bunch of...
View ArticleExporting from MySQL to CSV file
We often have to export data from MySQL to other applications; this could be to further analyse the data, gather user emails for a newsletter or similar. Usually these applications, CSV is probably the...
View ArticleLazy loading, eager loading and the n+1 problem
In this article I’ll look into a few data loading strategies, namely: Lazy loading Eager loading Lazy-eager loading I’ll talk a bit about the pros and cons of each strategy, and common issues...
View ArticleHTTP/2 – What and why?
What is HTTP? HTTP, HyperText Transfer Protocol, is an application layer network protocol for distributing hypermedia data. It is mainly used for serving websites in HTML format for browser...
View ArticlePHP regular expression functions causing segmentation fault
We recently had an issue where generating large exports for users to download would suddenly just stop for no apparent reason. Because of the size of the exports the first thought was that the process...
View ArticleOOP Cheatsheet
This is a small OOP (Object oriented programming) cheatsheet, to give a quick introduction to some of the commonly used OOP terminology. function returnSomething() { $something = 'something'; return...
View ArticleValidating email senders
Email is one of the most heavily used platforms for communication online, and has been for a while. Most people using email expect that they can see the who sent the email by looking at the sender...
View ArticleWrapping up Laracon EU 2016
Last week I spend some days in Amsterdam attending Laracon EU 2016. It was two very interesting days, and I think the general level of the talks was very high compared to other conferences I’ve...
View Article