JS Blog

Software development, entertainment, lifestyle.

Latest stories

New React Context API

N

I like new react API for creating and using context. It feels right. One thing I immediately tried to do was creating a helper which simplifies consuming multiple contexts. Because they create context hell. When you component uses more than one context and because of a children as a function pattern (which is basically the same as render props pattern where component’s children function is...

Goroutines don’t panic if channel they write to is gone

G

Couple of months ago I wrote an article about error handling in concurrent Go programs. One concern I had about it was if other goroutines would panic if some goroutine produces an error value which causes return from function when the channel is iterated with range construct. So I made another program that mimics scenario. It spawns couple of goroutines, each taking a second more to complete...

Auto-reloading (safe-write) issues of application development servers

A

I have discovered new module bundler for developing applications in JavaScript. It’s called Parcel.js and my initial impressions are positive. That’s what I tweeted about it: Parcel is a web application bundler, differentiated by its developer experience. It offers blazing fast performance utilizing multicore processing, and requires zero configuration. Basically a fast Webpack...

TV series and movies I’m watching these days

T

I like watching TV series and movies from time to time. Not on TV, but on my laptop because advantages are clear to me; no annoying ads and you can watch video on-demand. You can also organize time how you are going to watch it. For example often I don’t watch a movie from start to finish in one evening but in course of several. So these days I’m watching two TV series (The Good...

Total Lunar Eclipse (Super Blue Blood Moon), January 31, 2018

T

Yesterday sister sent me a request over an e-mail if I could print some document for her. Of course I wanted to grant her wish immediately only to find out after first page being printed, a black cartridge was out. Since it was only 6 pm and the nearest shop that sells cartridges was still open for an hour, I decided to take a walk. It was a nice weather outside, low temperatures (7 °C) felt...

JS Blog Software development, entertainment, lifestyle.

About me

Jernej Sila portrait
Hi, I'm Jernej, a software engineer from Slovenia. Welcome to my personal blog. For more about me, my work and hobbies, please visit my profile page.

Categories

Archives