Publications by Paul van der Laken

Getting ChatGPT to simulate a Recruitment Process in Python code

06.12.2022

I was playing around with ChatGPT to see if it could write Python code to generate realistic recruitment process data for me.Here’s the full conversation as I was truly amazed with the results.I emboldened my prompts and had to ask ChatGPT to continue sometimes as longer responses are cut off.Can you write Python code that simulates how applica...

8869 sym Python (19508 sym/11 pcs) 48 img

Python Web Scraping: Quotes from Goodreads.com

27.12.2019

Over the course of last week, I built a Python program that scrapes quotes from Goodreads.com in a tidy format. For instance, these are the first three results my program returns when scraping for the tag robot:QuoteauthorsourcelikestagsGoodbye, Hari, my love. Remember always–all you did for me.Isaac AsimovForward the Foundation33[‘asimov’,...

7529 sym Python (4965 sym/5 pcs) 1 tbl

History of the Modern Python Dictionary – by Raymond Hattinger

28.12.2019

Raymond Hattinger is one of the core Python developers whose talks I’ve featured on my blog before. And rightfully so, as Raymond’s presentations are unarguably entertaining and deeply insightful from an technical perspective.In this recorded talk at the 2016 Annual Holiday Party for Python Devs in San Fransisco Bay Area, Raymond walks us thr...

1835 sym

Python Web Scraping: WordPress Visitor Statistics

29.12.2019

I’ve had this WordPress domain for several years now, and in the beginning it was very convenient.WordPress enabled me to set up a fully functional blog in a matter of hours. Everything from HTML markup, external content embedding, databases, and simple analytics was already conveniently set up.However, after a while, I wanted to do some more a...

10771 sym Python (2839 sym/7 pcs) 10 img

CodeWars: Learn programming through test-driven development

08.01.2020

As I wrote about Project Euler and CodingGame before, someone recommended me CodeWars. CodeWars offers free online learning exercises to develop your programming skills through fun daily challenges.In line with Project Euler, you are tasked with solving increasingly complex programming challenges. At CodeWars, these little problems you need to so...

1169 sym 4 img

Building a realistic Reddit AI that get upvoted in Python

10.02.2020

Sometimes I find these AI / programming hobby projects that I just wished I had thought of…Will Stedden combined OpenAI’s GPT-2 deep learning text generation model with another deep-learning language model by Google called BERT (Bidirectional Encoder Representations from Transformers) and created an elaborate architecture that had one purpose...

4859 sym 8 img

PyBoy: A Python GameBoy Emulator

28.04.2020

If you are looking for a project to build a bot or AI application, look no further.Enter the stage, PyBoy, a Nintendo Game Boy (DMG-01 [1989]) written in Python 2.7. The implementation runs in almost pure Python, but with dependencies for drawing graphics and getting user interactions through SDL2 and NumPy.PyBoy is great for your AI robot projec...

999 sym 6 img

Automatically create perfect .gitignore file for your project

12.05.2020

These days, I am often programming in multiple different languages for my projects. I will do some data generation and machine learning in Python. The data exploration and some quick visualizations I prefer to do in R. And if I’m feeling adventureous, I might add some Processing or JavaScript visualizations.Obviously, I want to track and store ...

1630 sym Python (2557 sym/1 pcs) 4 img

Making Pictures 3D using Context-aware Layered Depth Inpainting

19.05.2020

Several Chinese Ph.D. students wrote a PyTorch program that can turn your holiday pictures into 3D sceneries. They call it 3D photo inpainting. Here are some examplesAnd here’s the new method compares to previous techniques:Here are several links to more detailed resources: [Paper] [Project Website] [Google Colab] [GitHub]We propose a method fo...

1392 sym 2 img

Determine optimal sample sizes for business value in A/B testing, by Chris Said

26.05.2020

A/B testing is a method of comparing two versions of some thing against each other to determine which is better. A/B tests are often mentioned in e-commerce contexts, where the things we are comparing are web pages.via optimizely.com/nl/optimization-glossary/ab-testing/Business leaders and data scientists alike face a difficult trade-off when run...

2606 sym 4 img