PROGRAMMING

And How You Can Implement It On Your React Website

Image for post
Image for post
Photo by Andre Benz

I love me some dark mode.

Hence, when I build websites for my projects these days, I make sure to include it.

It’s generally been quite simple, until I had to do it for my company’s website.

Turns out flipping some colors can be quite a task after all. Now try explaining that to your boss…

Don’t believe me? Here’s YouTube loading dark mode:

Image for post
Image for post

See that flickering? Turns out getting rid of that isn’t the easiest thing in the world.

From a blog post I read the other day:


SOFTWARE

Practical answers to day-to-day problems

Image for post
Image for post

I use Git every single day.

So do most software developers.

Honestly, Linus Torvalds’ little side project almost feels like a miracle.

However, the tool is so powerful and extensive that it’s easy to get lost in all the possible commands it has.

Hence, based on my own experience, here’s a compilation of answers to common questions about “how do you do X with Git” that I’ve encountered on a regular basis. Some of us may even use these solutions on a daily basis.

Indeed, many of the commands addressed here will be rather simple, and often well-known by the majority of developers. …


What’s the alternative to the algorithms we love to hate on?

Image for post
Image for post
Photo by Christina @ wocintechchat.com

It feels like every day I open Medium there’s a new post about why the hiring process for software developers sucks.

So, as someone who has just been through a hiring process, I thought I should share my thoughts on how it went.

I’m not here to criticize interviews or argue against algorithms. There’s enough of that out there already.

I’m here to talk about a process that I went through and found to be very fair, hoping to shed light on what a solution may look like, instead of adding to the list of articles talking about the problems with the traditional way of hiring developers. …


PROGRAMMING TUTORIAL

Pick Your Weapon of Choice and I’ll Show You How to Fight

Image for post
Image for post
Photo by M. B. M.

⚠️ Important Note

I am not qualified to offer investment, legal, or any other advice, nor am I trying to do so. This is a programming tutorial aimed at teaching you how to build a trading bot for learning purposes. Any decisions, investments, or risks you take as a result of building a trading bot are your responsibility.

I cannot be held responsible for any decisions you make as a result of reading this tutorial. Remember: Bots can lose a lot of money, so you should be careful.

Quite regularly, we all come across some variation of this article: “10 Projects You Should Build as a Programmer”. …


I asked a bunch of programmers about their favorite syntax — here’s what they said

Image for post
Image for post

A little while ago I decided to have a little fun and wrote an article titled “My Favorite Pieces of Syntax in 8 Different Programming Languages.”

I published it and then decided to share it on a subreddit — r/ProgrammingLanguages. This led to an interesting discussion about programming language syntax, as users shared their own favorites.

It left me with no choice: I had to write a new article with my favorite pieces of syntax from the r/ProgrammingLanguages community.

A Compilation of Adored Syntax Across Programming Languages

Before we get into it, I should quickly clarify what this article is and what it isn’t.

❌ It isn’t a programming tutorial.

❌ It isn’t going to explain the snippets presented.

❌ It isn’t an objective list.

✅ It is meant for fun.

✅ It is a compilation of opinions from various people.

While it would be awesome to go in-depth into each of the snippets, there are just too many of them. In any case, I’m not familiar with all the languages mentioned. …


Meet Nim: the language with Python-like syntax and C efficiency

Image for post
Image for post
While quite representative, the image above is for illustrative purposes only, i.e., it isn’t an actual chart of real results. (Image source: Author)

A few weeks ago I was browsing through GitHub and encountered a repo that caught my eye. It hosted a project that was written entirely in Nim.

What the hell is Nim? I thought.

Immediately I concluded this was one of the many programming languages that a lot of people use, but I just was the stupid guy who didn’t know it. But rather than putting it aside, I decided: Let’s learn a bit about this.

I then had two major realizations:

  • No, this language is not used by a lot of people.
  • But maybe it should be.

So here goes a bit about my experience with Nim, a quick programming tutorial, and why the language seems extremely promising to me. …


PROGRAMMING TUTORIAL

Because Criticizing Is Too Easy…

Image for post
Image for post

We love to criticize programming languages.

We also love to quote Bjarne Stroustrup:

So today I decided to flip things around and talk about pieces of syntax that I appreciate in some of the various programming languages I have used.

This is by no means an objective compilation and is meant to be a fun quick read.

I must also note that I’m far from proficient in most of these languages. Focusing on that many languages would probably be very counter-productive.

Nevertheless, I’ve at least dabbled with all of them. And so, here’s my…


Exploring the Essence of Smart Contracts and Why it Matters

Image for post
Image for post

On Our Inability to Read Minds

Image for post
Image for post
Photo by Wyron A

Here’s an opener I’ve used in many of my lectures:

The question often confuses a few of the participants.

Essentially, I am asking if we can guess (with accuracy!) someone’s reaction to a certain action.

Take the following simple example: can I know what you’ll do after I give you $1,000? Well, I can most likely correctly assume that you will be happy, but I cannot be sure of what exactly you will do after my charitable donation.

I don’t know if you will decide to give me a hug in the heat of the moment, call your mom to tell her the good news, go grab a beer to celebrate, or do something I couldn’t even think of. …


WEB DEVELOPMENT

Inspecting the Components of Success

Image for post
Image for post

Calm down.

I’m sure a lot of web developers who clicked on this article are already about to submit a response talking about why React is great and the benefits of using it.

But no — I’m not here to trash React.

I’m here to ask the question: Why do we even use React?

And I don’t mean “why do we use React since it sucks and there are better options”.

I mean, how did we get here? Why is React popular? What makes it popular? Do we need it? Why do we even use it?

The reason I wanted to explore this topic is because I think it’s a discussion that is often skipped and shouldn’t be. These days, beginners are just expected to take for granted that their websites should be built with React, period. …


STARTING A BUSINESS

My story as an Estonian E-Resident and Digital Nomad

Image for post
Image for post
Tallinn, the capital of Estonia (Ilya Orehov)

I wouldn’t actually call myself a Digital Nomad, but I do fit the description.

In the past 4 years, for example, I‘ve lived in 5 different countries across 4 continents.

It wasn’t always a matter of the decisions I made as much as the circumstances I found myself in, but, nevertheless, that’s how it’s been.

As a result, for the past few years, I have mostly worked remotely. Thankfully, the software development industry is one of the most supportive in that regard.

However, it can sometimes get tricky to setup a business when you don’t have a fixed location.

Luckily, or so I thought, Estonian E-residency came to my rescue. …

About

Yakko Majuri

Writing code and writing about writing code. Exploring the underrated topics in Software Development. I speak for myself only.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store