RSSAmplifier

Blog

Jurnal Anas

Thoughts on building products, programming, and life.

jurnalanas.comRSS feed ↗64 posts

Latest posts

Apakah AI akan Menggantikan Pekerjaan bidang Programming?

Ada aspek kompleks dalam pengembangan software yang memerlukan intuisi, kreativitas, dan kemampuan berpikir kritis yang belum bisa ditiru oleh AI.

Using Diagrams to Improve Technical Communication

The more you practice creating diagrams, the better you'll become at distilling complex systems into visual representations that everyone can understand.

Embracing Antifragility in Tech

It's a wild ride of a book - Taleb doesn't hold back in his opinions and isn't afraid to call out people he thinks are full of it. But, that's also part of what makes it such a fun read.

A Reminder in Embracing Resistance

The blank page is a daunting taskmaster. It taunts you with its emptiness, daring you to fill it with something meaningful and substantial.

Avoiding Resource Leaks with the AbortController API

Learn how to effectively manage async tasks in your code and avoid common pitfalls such as improper error handling, excessive nesting, and failing to cancel unnecessary tasks.

Staying on Track with Code Refactoring

I encountered psychological barriers while refactoring a React app from JavaScript to TypeScript, and had to work on controlling my tendency to get sidetracked by disorganization or flaws in the code. I learned the importance of staying focused and sticking to the plan in order to avoid scope creep and unnecessary bug fixing.

The Surprising Rewards of Parenting

While parenting has its challenges, like working around a child's schedule, the rewards are so worth it.

React: What is useCallback Hook and When to Use It

One of the most important concepts to understand for optimizing React is memoization. Memoization is a performance optimization technique that eliminates the need to recompute a value for a given input by storing the original computation and returning that stored value when the same input is provided. Caching is a form of memoization.

On Having A Todo List

So it's been more than a month since I have been using a monolithic journal. Including each of the tasks I need to do on a daily basis.

Morning Read

I like reading first thing in the morning, especially when I haven’t done any screen time right after I wake up. I usually do it on the rooftop a few minutes before sunrise with a cup of coffee ready in my hand. I have a study chair that often you find in classrooms in college that has a table built-in into it. I have it on my rooftop, and I often use it specifically for these occasions.

Playing with Typescript Basic

If you are here, I assume you already convinced that Typescript is useful, and how it can help you to write better javascript projects.

How to fix NPM Package Dependencies conflicts

This post is still related to my transition on using Macbook Apple Silicon, and it's about this website.

macOS Big Sur: How to setup Node.js on Apple M1 Machine

Recently I bought an Apple's M1 Macbook Pro. As I am still transitioning from my old MacBook, it might be helpful to document some findings from the developer perspective, especially for developers working with javascript stuff on a daily basis like me.

On Expectation

Murakami's quote pretty much nailed the reality here, and it's been one of the most prominent lessons that I got so far in life and my career. About managing your expectations on things, better yet, you should not put any hope on humans or institutions. Make plans to mitigate the worst situations, but don't expect that the outcomes will be excellent.

Introduction to Modern Web Architecture

The diagram above is one example of how to design Twitter. If you are new to software engineering jobs or involves in large scale web architecture, the diagram above might look so complicated, but we will discuss it later.

State Management in Pure React: Thunks

In the previous post, we discuss about managing state in React's [class component](/pure-react-class), [Hooks](/state-pure-react-hooks), and a [data fetching strategy](/state-react-thunks). In this last part of the series, we are going to explore a Thunk and recap the series about implementing state management in pure React.

State Management in Pure React: Data Fetching

In the previous post, we discuss about managing state in React's [class component](/pure-react-class) and [Hooks](/state-pure-react-hooks). In this third part of the series, we are going to explore a data fetching strategy.

State Management in Pure React: The One with Hooks

Reducer is a function that takes two arguments, a current state, and an action, and demonstrates how to write a reducer function. With a reducer the state management of the state from the components rendering the the state.

State Management in Pure React: The One with Class Components

One of the hardest things in building a complex javascript application is a state management. It's why there are so many state management libraries available and more coming around every day. As applications get more complex, the big challenge in the web application is to tame and control the state. And let the main job of React is to just take your application state and turn it into DOM nodes.

Thoughts and Takeaways on My Early Months of Working Remotely

The world we work in today is not the world of Leonardo Da Vinci, of Michelangelo, of Marie Curies, of Ernest Hemingway, or even Bill Gates in his most productive years in the early years of Microsoft.

Vancouver Trip

Last month I spent a week in Vancouver attending Node + Javascript Conference 2018. I have written a long write up about the trip and the event in this medium

AMA: Lari Marathon, Quarter Life Crisis, Dream Job, Dan lainnya

Sekitar dua minggu lalu gue membuat halaman [AMA (ask me anything)](https://www.jurnalanas.com/ama) yang semi-anonim. Rencananya pertanyaan-pertanyaan ini akan direview berkala setiap minggu-nya dan nanti dijawab dalam satu artikel sendiri, mungkin bisa dikelompokkan dalam tema tertentu juga kalau cocok. Nah, artikel ini adalah hasil pertama dari kumpulan jawaban dari pertnyaan yang ada.

Richard Feynman, His Life, and the Art of Solving Important Problems

I already have a clear picture of what the library in my dream house will look like. It will be filled with many interesting and classic books including Harvard Classics collection, Ibn Battuta's Travelogue, and of course, Feynman Lectures on Physics series.

Weekly Roundup: Forward

Hi. Yes. Sorry. Like I said [last week](/2018-03-25-weekly-roundup/), I've been working on a huge writing project, and apparently, I have an insufficient amount of time to other writing and programming short projects. Currently I'm working on the web thingy side on that right now.

Weekly Roundup: Learn to Adapt

It has been a tiring week for me. I did a lot of traveling lately, such as four enjoyable days to visited Bandung, and then I went back to Jakarta. And only two days after that I went to Bogor and went back to Jakarta again on the same day.

Ibn Battuta: A Scholar's Epic Journey

This morning I stumbled upon [a video](https://www.thegreatcoursesplus.com/films/title/ibn-battutas-search-for-knowledge) that mentions one of the famous traveler, Ibn Battuta. And the deeper I dig, the more fascinated I am by his journey. It is one thing to visit a place and buy merchandises before return to home, but another thing to travel intentionally to explore foreign lands in the pursuit…

Notes: Ego Is The Enemy

Cerita hidup seseorang kadang bisa merepresentasi cerita-cerita lain yang ada. Dan langkah pertama yang seorang protagonis lakukan untuk bisa mencapai tujuan yang sedang dia kejar, adalah mengenal siapa musuh dan antagonis yang sebenarnya ada dalam cerita itu.

Mengenal Progressive Web App

Malam itu Coco baru pulang kerja, dia sedang ada di kereta Commuter Line dari Jakarta ke Depok. Sambil mengisi waktu, dia biasanya bermain HP -- *ya, Coco adalah anak muda mainstream kekinian*.

Informasi, Berita, Media sosial, dan Perhatian kita

Rezim narasi tunggal pernah masyarakat kita alami. Saat dimana siapa yang sedikit saja berbeda dengan penguasa akan diamuk dan hilang, membuat orang-orang takut dan kebebasan menjadi hal yang langka. Saat ini zaman sudah berubah, teknologi memungkinkan untuk mendapat dan menyebarkan informasi menjadi murah.

Notes: Bird by Bird

Apa rasanya kalau kita sedang membaca buku bagus? Kita selalu bawa buku itu kemana-mana, dan kalau ada waktu luang sedikit saja kita alan sempatkan itu untuk lanjut membaca beberapa halaman. Mungkin sambil berjalan atau saat sedang makan.

Notes: Yang Hilang dari Kita, Akhlak

Membaca buku itu sekecil-kecilnya pengaruh, adalah seperti makanan. Secara langsung memang nggak selalu terlihat efeknya, tapi itu mempengaruhi diri kita dengan caranya sendiri.

Tentang Tahun 2016

Setidaknya ada tiga hal sederhana yang saya ambil di tahun 2016 yang cukup berpengaruh ke kebiasaan saya sehari-hari

Beberapa Hal tentang Vue.js

Hmm, kayaknya saya bakal pake Vue.js kedepannya untuk eksperimen-ekperimen yang lain.

Catatan di Hujan Bulan Maret, dan Juli, dan Oktober

Pagi ini, saya bangun sebelum yang lainnya, sebelum burung-burung, sebelum matahari. Jam tiga pagi dari balkon sebuah ruangan lantai lima, dunia sekilas seperti kota mati. Nggak ada orang, nggak ada mobil, nggak ada suara anak-anak berteriak sambil menendang bola di lapangan sebelah.

Resensi Buku: Smarter Faster Better

Kalau saya tidak salah, ini adalah buku kedua Charless Duhigg, setelah “_The Power of Habit_” cukup nge-_hit_ tahun 2014 kemarin. Tapi jujur, alasan awal saya baca buku ini sebenernya karena buku ini ada di urutan pertama di Amazon untuk kategori “_Productivity_”. Itu aja.

Do One Thing Every Day That Scares You

Saya, bareng Rudi dan Baim waktu itu sedang berjalan dari gedung FMIPA ke perpustakaan pusat IPB. Jarak kedua tempat itu sekiatar 12 menit jalan kaki, dan menanjak. Cukup normal dikalangan mahasiswa sini. Seenggaknya cukup untuk membuat kita semua nggak perlu _fitness_ lagi untuk jadi kurus.

Titik-titik

Baru sadar, udah lama nggak posting blog dan tulisan ini adalah posting pertama di tahun 2016. Kebetulan juga kemarin umur saya bertambah, tapi sebenernya bahasan ini bukan tentang itu sih. *Well,* sedikit hhe..

Saat Berita Membanjiri Ruang Hidup Kita

Nggak peduli apakah memang ada salah teman kamu yang beranama Andi atau nggak, Andi ada dimana-mana.

Sekat antara Ekspektasi dan Harapan

Dari situ, saya mulai terpikat dengan serunya berpetualang dengan imajinasi sendiri dengan membaca buku.

Cuap-cuap tentang Fullstack Developer

Entah perasaan saya doang atau memang bener, sepertinya saat ini lagi trend orang membicarakan Full Stack Developer. Mungkin nggak semua orang, tapi, _, karena perusahaan sekeren Facebook mencari orang-orang seperti ini, saya rasa nggak butuh waktu yang lama sampai Full Stack Developer banyak diminta. Dan sebenernya ini memang udah jadi trend.

Renungan tentang Nasihat dan Hikmah

Ketika seorang anak kecil bermain, ia ingin ikut memainkan mainan yang kakaknya punya. Ingin memakai baju yang sama dengan kakakya. Bahkan mencoba meniru berbicara seperti kakaknya. Kakak-kakaknya, bagi anak ini adalah _role model_, bahkan lebih dari itu, bagi anak ini nggak ada yang lebih penting selain menjadi berarti bagi saudara-saudaranya yang lain. Ia ingin seperti mereka. Sebuah ikatan yang…

Git - Pidato Pernikahan

Beberapa bulan terakhir ini, beberapa teman dan kakak kelas saya menikah. Dan frekuensi pembicaraan mengenai topik pernikahan juga semakin merajalela baik di grup _messenger_ ataupun di dunia nyata.

Catatan kecil dipertambahan Umur

Apapun yang saya lihat di depan tampak bergerak-gerak kencang. Rasa sakit itu bahkan membuat saya nggak nyaman dalam posisi duduk ataupun berbaring. Apapun yang saya lakukan, rasa sakit itu nggak berkurang sedikitpun.

Masalah Scrapper Facebook Opengraph pada Github Pages

Bagaimana Mencangkok Pohon Apel bisa Membantu Kamu Meraih Apapun

Java Intermediate: Collections

Slytherin: Bukan (cuma) tentang Komunitas Python

The Best Things and Stuff of 2014

Passion: Sebuah Kontemplasi

Tentang Dunia Web Development