corné
  • Blog
  • About
  • videos

code

how to make machines obey you

Formik mini-lesson
code-lessons

Formik mini-lesson

Another mini lesson regarding coding, this time about Formik, a form-building library for React.

  • Corné van Straten
    Corné van Straten
2 min read
Tailwind specificity
code-lessons

Tailwind specificity

First installment of a series of mini lessons I learn while growing into an actual software engineer on the job. Today: Tailwind specificity and why overriding classes doesn't work.

  • Corné van Straten
    Corné van Straten
2 min read
How to detect your own chrome extension
code

How to detect your own chrome extension

A little while ago, I developed and published my first chrome extension. Now we want to start pushing it more from the main web application, so we need to detect whether or not users already have it installed. Here's how to do that.

  • Corné van Straten
    Corné van Straten
3 min read
How I made my first chrome extension
code

How I made my first chrome extension

I made a first version of a chrome extension for crashers, i.e. job seekers that are using the crash.co job hunting tool. This tool will make it easier for these job

  • Corné van Straten
    Corné van Straten
3 min read
VS Code keyboard shortcuts
code

VS Code keyboard shortcuts

I recently bit the bullet and switched to using VS Code as my code editor. And I have to admit it works really nicely. Here are some keyboard shortcuts that make life easier.

  • Corné van Straten
    Corné van Straten
1 min read
Why I stopped doing coding problems and why you should probably stop too
code

Why I stopped doing coding problems and why you should probably stop too

I subscribed to the email list of dailycodingproblem.com a little while ago in order to learn how to think like a coder, but I recently found out that solving coding problems is

  • Corné van Straten
    Corné van Straten
3 min read
What coding taught me about the importance of culture
life

What coding taught me about the importance of culture

Culture is this unquantifiable, nebulous concept. Elusive, devoid of hard facts, definitions and data. As such, it's is a subject I would typically shy away from. Because I'm someone who feels way more

  • Corné van Straten
    Corné van Straten
4 min read
Coding problem 4
code

Coding problem 4

Given the mapping a = 1, b = 2, ... z = 26, and an encoded message, count the number of ways it can be decoded. For example, the message '111' would give 3, since it could be decoded as 'aaa', 'ka', and 'ak'.

  • Corné van Straten
    Corné van Straten
2 min read
Coding problem 3
code

Coding problem 3

Given an array of integers, find the first missing positive integer in linear time and constant space. In other words, find the lowest positive integer that does not exist in the array.

  • Corné van Straten
    Corné van Straten
2 min read
Coding problem 2
code

Coding problem 2

Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i.

  • Corné van Straten
    Corné van Straten
2 min read
Coding problem 1
code

Coding problem 1

Given a list of numbers a and a number k, return whether any two numbers from the list add up to k.

  • Corné van Straten
    Corné van Straten
2 min read
How to manually install an SSL-certificate on Ghost: 5 steps
learn-out-loud

How to manually install an SSL-certificate on Ghost: 5 steps

Because this website is a Ghost publication hosted on a DigitalOcean droplet, I've had to spend quite some time over the last few days learning about SSL-certificates and how to actually install them on my web server manually. Here is what I learned.

  • Corné van Straten
    Corné van Straten
5 min read
Object inheritance in javascript
code

Object inheritance in javascript

Object inheritance is one of the most confusing and intimidating things to learn about javascript. That's why today, I want to learn out loud about this subject, so that I can both share

  • Corné van Straten
    Corné van Straten
2 min read
3 ways to code like konMari
code

3 ways to code like konMari

While I'm learning new things, I like to draw parallels to seemingly unrelated stuff I already know, to help my brain store the information. Today: the similarities I see between programming best practices

  • Corné van Straten
    Corné van Straten
5 min read
5 solutions for geospatial + text search
code

5 solutions for geospatial + text search

In part 1 and 2 of this series, we found out that performing a text search on listings within a specific area is problematic, because you cannot use two indexes simultaneously. I've found

  • Corné van Straten
    Corné van Straten
4 min read
Indexing in document databases
code

Indexing in document databases

Part 1 of this series ended with the conclusion that performing a text search on listings within a specific area is problematic, because you cannot use two indexes simultaneously. In this second part

  • Corné van Straten
    Corné van Straten
3 min read
geospatial and text queries in MongoDB
code

geospatial and text queries in MongoDB

For the project I'm working on, I need to perform a text search on listings within a specific area. In this 3-part article, I want to learn out loud about my process of

  • Corné van Straten
    Corné van Straten
3 min read
corné © 2021
Latest Posts Facebook Twitter Ghost