jurnalanas's comments

jurnalanas | 1 year ago | on: Why blog if nobody reads it?

A blog becomes a testament to our willingness to be wrong publicly, to think out loud, to expose our intellectual growing pains.

And there's profound credibility in documenting our uncertainties, our revisions, our gradual approximations toward truth.

jurnalanas | 3 years ago | on: Notes on Saudi Arabia

> I wanted to go to Mecca and Medina, but as a non-Muslim, it’s haram.

No, it's not. You can even go inside any mosque if you wear the proper clothes, as how Muslims pray.

jurnalanas | 4 years ago | on: How to avoid layout shifts caused by web fonts

You can use a library to take care a lot of FOUT versus FOIT experience. Face Observer (https://fontfaceobserver.com) lets you wait for the web fonts to load, then responds accordingly.

    var html = document.documentElement;
    var script = document.createElement("script");
    script.src = "fontfaceobserver.js";
    script.async = true;

    script.onload = function () {
      var roboto = new FontFaceObserver("Roboto");
      var sansita = new FontFaceObserver("Sansita");
      var timeout = 2000;

      Promise.all([
        roboto.load(null, timeout),
        sansita.load(null, timeout)
      ]).then(function () {
        html.classList.add("fonts-loaded");
      }).catch(function (e) {
        html.classList.add("fonts-failed");
      });
    };
    document.head.appendChild(script);

jurnalanas | 8 years ago | on: Show HN: Hacker News Classics

wow, this is really interesting..

and I just reliazed one of the reason why classic writings are special -- especially for another writing material purpose is because it has passed the the test of time..

page 1