Posts

Mencari Laptop Baru

Image
D*ll V*stro 3400 yang sudah menemani saya sekitar 5 tahun mengalami retak body di dekat port ethernet sampai ke keyboardnya. Prosesor Core i3-1115G4 yang menjadi otaknya sebenaarnya masih cukup enak dipakai buat harian, apalagi setelah saya upgrade RAM ke 16GB dan NVMe nya ke 1TB - minus udah ga kuat buat coding Android sih (udah ga tahu lagi, kayaknya harus terus ke spek high end kalau mau nyaman coding native Android). Penggunaan laptop sehari-hari saya di bidang IT muter-muter di coding yang ga terlalu berat sih setelah menyerah sama Android, kemudian keperluan office untuk penulisan paper, dan lebih banyak browsing. Dengan kondisi body laptop yang sudah retak, saya mempertimbangkan untuk membeli laptop baru dengan penggunaan utama untuk coding. Kali ini pertimbangan utama saya adalah : diusahakan dapat spek maksimal (Core i7 atau Ryzen 7), minimal RAM 16 GB dan memungkinkan upgrade RAM, build quality bagus setidaknya masih bisa dipakai 8 hingga 10 tahun ke depan *dalam artian tidak...

The Use of def, val, and var in Scala Programming

def is used to create a method. Example: def adjustedCosineSimilarity(dotProduct: Double, ratingNorm: Double, rating2Norm: Double) = { dotProduct / (ratingNorm * rating2Norm) } val is used to create a fixed value or constant (a value that cannot be changed). Example: val threshold = 0.5 Meanwhile, var is used to create a variable (a value that can be changed). Example: var n = 0

Waking Up Early at Dawn, or Even Before It

Image
Waking up early at dawn, or even before dawn during the last third of the night, is something that most people find hard to do. It’s understandable—some people turn into “night owls,” using the day to sleep and the night to work. But waking up early is actually really important, folks. One major reason is so you don’t miss the dawn (Subuh) prayer. You’ve probably heard the saying that one sign of the success of the Muslim community is when the congregation at the Subuh prayer is as large as the one at Friday prayers. Wouldn’t you want to be part of that revival? To help make it easier to wake up early, here are a few things you can prepare: 1. Don’t Stay Up Too Late This one’s super important. It’s best to sleep early at night if you want a more restful sleep. For example, if you go to bed by 9 PM, you can plan to sleep for 6 hours and wake up at 3 AM—that's already plenty of rest. The ideal amount of sleep varies for each person, but there’s a good principle to follow: don’t ...

Kumpulan Perintah CLI Linux

Image
Networking Melihat IP address ifconfig  install ifconfig (Debian-based) sudo apt install net-tools output perintah ifconfig  

Python Shell as Calculator

Image
In my day-to-day laptop use, I often need a tool to perform calculations. On Linux, there are several calculator tool options, such as Mate Calculator ( mate-calc ), which is the default application for the Mate desktop environment, or KCalc , which is available in KDE . However, I often prefer to use another alternative: the Python shell or Python REPL for performing simple calculations. To run the Python shell, you can open a terminal and type the command python3. Through the Python shell, you can perform basic operations such as addition, subtraction, division, and multiplication. aritmatika sederhana menggunakan python shell / python REPL In addition to simple arithmetic operations, the Python shell can also be used for trigonometric, exponential, and logarithmic calculations, as well as basic statistics—by first importing the necessary libraries. A more detailed reference on using the Python shell as a calculator can be found at the following link: https://problemsolvingwithpytho...

My Opinion for Current Indonesia Football National Team

Image
The Indonesian national team is set to continue its journey in the 2026 World Cup qualifiers. Up next, the team will face China on June 5, 2025, followed by a match against Japan on June 10, 2025. Currently, Indonesia sits in fourth place with 9 points, behind Japan (20), Australia (13), and Saudi Arabia (10). If Indonesia manages to win both of their remaining matches, their chances of qualifying directly for the 2026 World Cup will be wide open. Pemusatan latihan tim nasional Indonesia sebagai persiapan menjelang laga lanjutan babak kualifikasi Piala Dunia 2026 - h ttps://sport.detik.com/sepakbola/foto-sepakbola/d-7935969/intip-latihan-timnas-indonesia-di-bali To be honest, I’ve become somewhat indifferent in following the national team’s progress after the coaching drama. It was a huge gamble by the PSSI (Indonesian Football Association) to fire the coach in the middle of an ongoing qualification campaign—especially considering the drama surrounding the decision at the time. Changin...

Soal Timnas

Image
Tim nasional Indonesia akan menghadapi lanjutan babak kualifikasi Piala Dunia 2026. Yang terdekat timnas akan menghadapi China pada 5 Juni 2025, kemudian dilanjutkan melawan Jepang pada 10 Juni 2025. Saat ini, Indonesia berada di peringkat keempat dengan 9 poin di bawah Jepang (20), Australia (13), dan Arab Saudi (10). Jika sukses menyapu bersih dua laga sisa, peluang Indonesia lolos langsung menuju Piala Dunia 2026 terbuka lebar. Pemusatan latihan tim nasional Indonesia sebagai persiapan menjelang laga lanjutan babak kualifikasi Piala Dunia 2026 - h ttps://sport.detik.com/sepakbola/foto-sepakbola/d-7935969/intip-latihan-timnas-indonesia-di-bali Saat ini terus terang saya biasa saja mengikuti perjalanan timnas setelah drama pergantian pelatih. Sungguh sebuah pertaruhan besar yang dilakukan PSSI dengan memecat pelatih di tengah babak kualifikasi yang sedang berjalan, apalagi pemecatannya yang pada waktu itu dibumbui dengan drama. Sebenarnya pergantian pelatih adalah sebuah hal yang waja...