Hi, I am Jacky! ๐Ÿ‘‹

I am a software engineer working with JavaScript and on all-things-web. In general, I love balancing between infrastructure and product side of the frontend work. I am currently based in Jakarta, Indonesia (๐Ÿ‡ฎ๐Ÿ‡ฉ).

I am @jackyef__ on Twitter. From time to time, I tweet about things I learned in my personal journey, be it tech, career, or even just general things about life. If you are on the platform, letโ€™s connect!

Latest writings โœ๏ธ

  • 1-billion row challenge with Node.js

    Published on
    ยท
    Time to read
    14 min read โ˜•
    Post category
    tech

    1-billion row challenge (1brc) is a challenge to process a 12GB file containing 1-billion rows of text. Each row is formatted as <stationName>;<temperature>\n, and the goal is to aggregate the min, max, and average of each station.

    For Node.js, the repository for the challenge can be found here. We will go through the implementation for the baseline approach, understand how it works and work on improving it until we reach a ~30x speedup.

  • Web security implications of 3rd party resources ๐Ÿ•ต๏ธโ€โ™‚๏ธ

    Published on
    ยท
    Time to read
    8 min read โ˜•
    Post category
    tech

    As web developers, using 3rd party resources is extremely common. We use 3rd party JavaScripts all the time, either via npm, bundled into our code, or via <script> tag (e.g.: Google Analytics, etc). Embedding 3rd party images/media is also pretty common. Even linking to a 3rd-party site can have security implications!

    Let's go over some of the more common attack vectors when using 3rd party resources, what problems they may cause, and how to mitigate them.