Blog

Writing on software engineering, Linux, health, and the things I build and learn along the way.

Writing from the Field

Micro Frontends: Why?

Published: May 9, 2024 Reading time: 9 min

A micro frontend is a slice of a web UI that one team can build, test, and ship without waiting on the rest of the page. Picture two teams and two pipelines on one checkout: catalog can go out on Tuesday while payments is still in review. That independence is the whole reason to do this. It is also the cost. Someone still has to own the page those slices land on, and someone has to keep the agreement between them from rotting. ...

Continue Reading

Neanderthals used to cook complex foods

Published: January 16, 2023 Reading time: 1 min

I found this article from TheGuardian interesting: If you thought Neanderthals survived on a diet of foraged berries and uncooked animal flesh, think again. Charred remnants of what appears to be the world’s oldest cooked meal ever found have been unearthed in a cave complex in northern Iraq, prompting speculation that Neanderthals may have been foodies. Hunt and his colleagues have even tried to recreate one of the recipes, using seeds gathered from nearby the caves. “It made a sort of pancake-cum-flatbread which was really very palatable – a sort of nutty taste,” Hunt said. ...

Continue Reading

Linux Malware targets WordPress and common Plugins

Published: January 15, 2023 Reading time: 2 min

Doctor Web has discovered a malicious Linux program that hacks websites based on a WordPress CMS. It exploits 30 vulnerabilities in a number of plugins and themes for this platform. If sites use outdated versions of such add-ons, lacking crucial fixes, the targeted webpages are injected with malicious JavaScripts. As a result, when users click on any area of an attacked page, they are redirected to other sites. What they can do? Upon their command, it is able to perform the following actions: ...

Continue Reading

End of Microsoft Windows 7 security updates from today

Published: January 10, 2023 Reading time: 1 min

Starting today, January 10th, Windows 7 Enterprise and Professional operating systems will no longer receive security updates. Thus, computers that still run these OS will no longer be protected against critical vulnerabilities. Apart from the operating system itself, browsers (both Edge and third-party browsers), as well as services from other non-Microsoft vendors, such as NVIDIA, have confirmed that they have also stopped offering new security patches in Windows 7. Actions to be taken You should upgrade your Microsoft Windows to newer versions, if your hardware does not support Windows 11, you may upgrade to Windows 10 or maybe consider switching to another Operation System like Linux.

Continue Reading

How Ubuntu Ships Kernels: GA, HWE, Mainline, and DKMS

Published: December 30, 2022 Reading time: 10 min

In 2022 I published this as a Mainline one-liner: add a PPA, mainline --install-latest, reboot. The commands still work. They were never the interesting part. Ubuntu does not have one kernel you “upgrade.” It has a shipping model. GA stays on the version that shipped on day one. HWE rolls forward from interim releases. OEM is a vendor-laptop cadence that is supposed to fold back. Mainline is a set of unofficial builds from kernel.ubuntu.com that Canonical does not support. DKMS is the reason jumping tracks is not free on a laptop. ...

Continue Reading

How Ubuntu Ships Releases: LTS, Interim, and do-release-upgrade

Published: December 30, 2022 Reading time: 11 min

In 2022 I published this as a sed on /etc/apt/sources.list: replace jammy with kinetic, then apt full-upgrade. I have used that pattern on servers. It can work. It is not how Ubuntu ships releases, and the example was the wrong jump — Kinetic was 22.10, an interim, nine months of support, off the LTS track. Ubuntu does not have one “upgrade” command. It has three different operations that people collapse into that word: package updates inside a release, point releases of the same LTS, and a release upgrade to a new codename. do-release-upgrade is the supported path for the third. Rewriting sources by hand is still how I change series. It is a bad default if apt dying halfway through would leave you without a next step. ...

Continue Reading

Farewell Lastpass, We don't need more data breach

Published: December 29, 2022 Reading time: 2 min

You’ve heard it again and again: You need to use a password manager to generate strong, unique passwords and keep track of them for you. And if you finally took the plunge with a free and mainstream option, particularly during the 2010s, it was probably LastPass. For the security service’s 25.6 million users, though, the company made a worrying announcement last week: A security incident the firm previously reported on November 30 was actually a massive and concerning data breach that exposed encrypted password vaults—the crown jewels of any password manager—along with other user data. ...

Continue Reading

Cross-platform botnet targets SSH-enabled devices

Published: December 12, 2022 Reading time: 1 min

Microsoft researchers found a cross-platform botnet that originates from malicious software downloads on Windows devices & succeeds in propagating to a variety of Linux-based devices by enumerating default credentials on internet-exposed SSH-enabled devices. Microsoft researchers observed that the initial infection points related to the botnet were devices infected through the installation of malicious cracking tools that purport to acquire illegal Windows licenses. The cracking tools contain additional code that downloads and launches a fake version of svchost.exe through a PowerShell command. In some cases, the downloaded file is named svchosts.exe. ...

Continue Reading

Molybdenum deficiency is very rare, but not in Iran

Published: December 12, 2022 Reading time: 2 min

What is Molybdenum? Molybdenum is a chemical element with the symbol Mo and atomic number 42 which is located in period 5 and group 6. The name is from Neo-Latin molybdaenum, which is based on Ancient Greek Μόλυβδος molybdos, meaning lead, since its ores were confused with lead ores. Why Molybdenum Is an Essential Nutrient You may not have heard of the trace mineral molybdenum, but it is essential to your health. ...

Continue Reading

How To Use Cloudflare WARP On Linux

Published: November 27, 2022 Reading time: 2 min

What is WARP? The Cloudflare WARP client allows individuals and organizations to have a faster, more secure, and more private experience online. The WARP client sits between your device and the Internet, and has several connection modes to better suit different needs. Install Installing Warp Client (aka Cloudflare Zero Trust Client) is so easy, specially if your OS uses AUR. AUR Use your AUR helper to find and install cloudflare-warp-bin, for example I use yay here: ...

Continue Reading

Eating foods with saturated fat does not clog the arteries

Published: November 4, 2022 Reading time: 1 min

I’ve been reading an article from medicalnewstoday.com and I found this part interesting: A team of cardiologists wrote an article stating that eating foods with saturated fat does not clog the arteries, as people once believed. They contend that the “fat free” movement caused higher intakes of carbohydrate foods, including sugars. This might explain why rates of heart disease have increased. Here is the link to the article mentioned above from BMJ Journal: Saturated fat does not clog the arteries: coronary heart disease is a chronic inflammatory condition, the risk of which can be effectively reduced from healthy lifestyle interventions

Continue Reading

All These Years – Static-X

Published: May 16, 2020 Reading time: 1 min

Did you miss Wayne Static? Yup, me too. It’s very challenging to represent someone in a music video, who is no longer alive, but that was something that we really wanted to do and I think it came out great, These are some of Wayne’s last works, so we really wanted to make this video all about him and to continue to celebrate his life and legacy. What better way to do that than through a fun, fictional story about how Wayne was inspired to become the legend that who he became through Static-X. says drummer Ken Jay. ...

Continue Reading

Install and Configure Oh My Zsh and use it in VSCode or Cursor

Published: June 5, 2019 Reading time: 6 min

TL;DR Install zsh, then run the Oh My Zsh installer on Ubuntu, Manjaro, or Arch. Enable the vscode plugin, add Powerlevel10k, and install a Meslo Nerd Font. Periodically git pull custom themes/plugins under $ZSH_CUSTOM — Oh My Zsh’s auto-update does not cover them. Point the VS Code integrated terminal or Cursor IDE terminal at /usr/bin/zsh in settings.json. On Manjaro, also see How to Install Cursor IDE on Manjaro Linux. If you use the simple Bash Terminal in your OS, you may want to give Zsh a try to use a faster and safer terminal with many more features. The simple Bash that exist in the common dist of Linuxes are not changed over years and just received some security fixes, but the community behind Zsh are improving it everyday and bring new useful plugins. ...

Continue Reading

Set a Permanent Custom Resolution on Ubuntu and KDE with xrandr and Xsetup

Published: May 24, 2018 Reading time: 4 min

TL;DR Generate a modeline with cvt, add it with xrandr --newmode / --addmode, then enable it on your output. Session-only changes vanish on reboot and never fix the login screen. On KDE/Kubuntu with SDDM, put the same commands in Xsetup so they run before the greeter. After I switched from GNOME/Unity to KDE, SDDM would not pick up my ultrawide panel. It stuck at Full HD instead of 2560×1080. I had hit the same class of problem earlier on Ubuntu with an older monitor whose native mode never showed up in the display settings. ...

Continue Reading

Google Chrome in Ubuntu keeps detecting network change

Published: July 6, 2017 Reading time: 1 min

Recently I had problem with my Ubuntu, Whenever I tried to open a website my Chromium told me that a Network Change has been detected and after 1-2 reload that sites would load and sometimes failed to load fully. After looking up for that problem, I found out many other people had same problem and it has something to do with “avahi-daemon”. Solution According to the links I found in Ubuntu forums, this problem comes from IPv6 in Ubuntu and disabling that service will fix it, I tried it and it worked: ...

Continue Reading

Search