A snippet to perform a certain action again, if it fails In my current job, I also write NightwatchJS tests in order to automatically run tests for a software. During development, our team realized that sometimes you cannot know whether or not an event handler has already attached to a certain dynamically created DOM object […]
I have already written about p-hacking and John Oliver explained how it’s done very well in his show (the video is embedded in my previous post about it). Statistical significance is – within the social siences – when you can be 95 % sure that your results are not produced purely randomly. But that isn’t something […]
When using Laravel’s ->union() with its ->pagination() clause, you will get an SQL error. Here is how to resolve this issue with a custom LengthAwarePaginator instance without changing anything in your view.
When I started learning CasperJS for software testing, I had to look up the functions in the documentation a lot. Therefore I decided to create an IDE Helper by scraping the functions off of the official documentation website.
If you have a few minutes, I would like to recommend to you the brilliant talk of Prof. Dan Gilbert (Harvard University) on the most important aspects of life: marriage, money and children. And maybe – just maybe – you will think differently about one of these domains of life after watching the talk.
Localization on the internet is a big thing as it drastically increases your audience. This post discusses different approaches and their pros and cons. How do you do it?
A national study conducted in the US wanted to find out whether or not there is any gender bias in the hiring practices within STEM fields. Willians and Ceci (2015) found out that women are favored when applying for tenure-track positions by a 2:1 margin over men. The researchers had faculty members rate fictitious equally […]
When searching for the right way to add a simple Helper class in Laravel 5, I’ve come across several suboptimal solutions. Some advice to create a folder and then glob() all files and incrementally require or include them. There is an easy way and you don’t have to rewrite any code. In your app/ folder, create […]
Lagorial is my newest project that aims to foster small businesses by giving them an easy way to go online and present their products. Users can now search for products right in their vicinity and compare prices from the comfort of their homes. This makes small businesses competitive against big online warehouses.
During my time on the internet, as programmer and as a user, I repeatedly wondered how many people actually click the banner ads and google ads. After all, I am a proud AdBlock user and therefore rarely see any ads floating around. Even if it doesn’t catch all ads and one of those annoying pop […]