Tiny Endian

Going With the Flow

Karol Majta on 16th Apr 2019

When it comes to typed languages that target JavaScript runtimes there is plenty to choose from. From some more extravagant ones like Elm, PureScript or Reason, through a few being somewhere in the middle (Dart), to ones fully embraced by the community -- yes I am pointing at TypeScript.

Read more

How to scrape the web and not get caught

Karol Majta on 19th Apr 2018

This article will be just a quick one. It's a few line of code recipe on how to mitigate IP restrictions and WAFs when crawling the web. If you're reading this you probably already already tried web scraping. It's all easy breezy until one day someone managing the website you're harvesting data from realizes what happens and blocks your IP. If you're running your scrappers in an automated way you'll start seeing them failing miserably. You'll probably want to solve this problem fast, before any of precious data slips through your fingers.

Read more

Better "Origin Response" Function For Cloudfront Hosted Static Pages

Karol Majta on 17th Apr 2018

Recently I've seen more and more static sites like blogs and using company landing pages using S3 behind CloudFront as their hosting infrastructure. While CloudFront + S3 combo is very cost efficient and for usual use-cases never bends under heavy traffic, setting it up correctly is not trivial. If you're using a static page generator like Pelican, Jekyll or Hugo or any kind of isomorphic single page application and plan to host it using AWS S3/CloudFront combo, this might be a read for you.

Read more


Karol Majta on 27th Sep 2015

I remember when a few years ago I bumped into Beginning Scala by David Pollak. At the time I had no idea how this book would impact my future choices on which programming languages to learn, which technologies to invest my time in, and what I consider "good stuff" in general. Reading it must have been one of these movie-like moments of enlightment, with a heavenly beam of light striking you from above Mr. Bean style. Even today I can clearly remember the title of chapter that made the strongest impression. It was Collections and the Joy of Immutability.

Read more

Purescript will make you purr like a kitten

Karol Majta on 28th May 2015

I love Javascript, I really do. It gives you this warm fuzzy feeling in your belly that you also get when looking at pictures of munchkin cats, unicorns or budgie parrots. It's totally awesome, like for real, you can show a clock next to your mouse cursor or allow your users to build a snowman on your landing page during Christmas time.

Read more
Want more?
Load more