Category: Engineering

  • TIL: `REMOTE_USER` HTTP Header

    TIL: `REMOTE_USER` HTTP Header

    While proposing Firefly III to support OAuth login, my proposal got rejected because they already support REMOTE_USER from RFC3875. This is very interesting, because I never thought we can utilize authentication via proxy. I’m aware of Authentik’s Proxy Provider, but never thought that there’s standard for this. Especially when you provide the upstream with just…

  • Lost in Translation on Software Engineering

    Lost in Translation on Software Engineering

    Few days ago I found an interesting tweet: the posted code runs faster on Java, rather than Go. Quite interesting, right? So I asked ChatGPT to convert the code to Rust and see if it perform any better: It doesn’t. The code took 4.7 min on release mode, and a whopping 9.93 min on debug…

  • Indonesian KTP NIK: A Shower Thought

    Indonesian KTP NIK: A Shower Thought

    Indonesia KTP NIK (stands for Nomor Induk Kependudukan ([National] ID number [for]) Kartu Tanda Penduduk (Citizen ID Card)) is a number that assigned to each of Indonesian Citizen. KTP NIK actually contains a few information such as the location where the KTP (National ID Card) is issued, the holder’s birth-assigned sex, and their birthday date.…

  • Dear Devs, Try to Learn How to Deploy Your Product to Production!

    Dear Devs, Try to Learn How to Deploy Your Product to Production!

    A few weeks ago, I assisted a team of developers that my friend had hired to work on a project—let’s call them Team Goldilocks (obviously not the real name of the team). Team Goldilocks had been struggling with deploying their software to production, encountering warnings, the app refusing to run, and experiencing problems with databases.…

  • Emailing HTML on NextJS

    Emailing HTML on NextJS

    Since NextJS handles both backend and frontend seamlessly, emailing things now become another quest to finish, especially when you need to use template. This blog will be filled with my rants and lessons about this quest of creating my contact page. You can also check my logs for this in issue chez14/christianto.net#13. Previously, in a…

  • Modularizing My Workplace’s Admin Panel

    Modularizing My Workplace’s Admin Panel

    I want to show some of what I did in my workplace in the past few months (…April 2021, still technically few months) and since my workplace doesn’t have engineering blog, I want to show it off here. I’m currently working as a Maintenance Manager at PT DNArtworks Indonesia. I generally helps our client to…

  • Auto-tagging Git for Package Publishing

    Auto-tagging Git for Package Publishing

    As I made several module of my company’s code to be more modular, I have several problems with publishing the package. One of them is publishing certain tag as version. Composer package depends on Git’s tag for determining the version number. GitHub and GitLab API actually provides composer a way to fetch the package as…

  • Got My Domain Bonked for Setting an Email Service with It

    Got My Domain Bonked for Setting an Email Service with It

    One my domain almost get taken down by .us registry committee for spam that I didn’t do. I registered the domain for Yandex’s email service, because they give us free email plan for the first,… I think 1K account(?). Of course I only use this email for hosting some of my bot’s persona. I send…

  • Creating Status Page for Gnjoy’s Lost Saga Game

    Creating Status Page for Gnjoy’s Lost Saga Game

    I’ve been quite interested to play Lost Saga again lately, one of “bocil” game that still exists despite kids rarely went into internet café again. Unfortunately, the experience is not that great, there are some cheaters that Gnjoy still struggling to handle and connection issues. The connection issues get worse and worse after the Cyber…

  • I Can’t Add Foreign Key to My Tables — What’s Happening Here?

    I Can’t Add Foreign Key to My Tables — What’s Happening Here?

    On Feb 24th I was in the middle of releasing a feature to production pipeline. Since it was developed under a few months, I need to make sure that the database migration pack should work as I expected. You know, since the diff is huge and I’m senior enough to be responsible for the code…