Posts

Showing posts from January, 2025

Budget PC config for good speed MERN stack development and OK speed for beginner level Android dev (Intel i3-12100, Gigabyte H610M K, 16 GB DDR4 RAM)

Last updated on 1st Feb. 2025 Quick Info Budget PC configuration of Intel Core i3-12100 processor, GIGABYTE H610M K motherboard, 16 GB (as 2 x 8 GB) Crucial DDR4 RAM, 240 GB SSD, 400 Watts SMPS (550 Watts SMPS would be safer), PC cabinet, 22 inch. monitor, keyboard and mouse seems to be good for MERN stack development and OK for, at least beginner level, Android app. development with Android emulator. Details Decided to put up this post as it may be useful to students (and others) who are on a tight budget but want to learn and develop MERN stack web apps and mobile apps using React Native. This post captures in short, the upgrade of my PC and testing my Next.js Gita app build & run and tiny Android app build & run using Android Studio and Android Emulator. This post follows up on my previous post: Upgrading my AMD FX-4100 quad-core utility desktop PC to budget web app and mobile app software development PC,  https://raviswdev.blogspot.com/2025/01/upgrading-my-amd-fx-4...

Windows 10: Switch between dark mode and light mode through Powershell scripts with icons for them in Taskbar

Given below are notes I had made in June 2024 for my solution to have two Powershell scripts to switch to light mode or dark mode in Windows 10, and have shortcuts for these scripts pinned to Taskbar with suitable icons. I have used them for 6 months now without any issues. Further, I was able to replicate the method using these notes on a fallback mini Laptop with Windows 10 that I am using nowadays (since my main desktop PC has stopped working). PS command to enable dark mode New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force PS command to remove dark mode (and so use light mode) Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme Ref: Instantly switch between dark and light mode for Windows, https://stackoverflow.com/questions/77179391/instantly-switch-between-dark-and-light-mode-for-windows ---- To run shortcuts of PS script fil...

Upgrading my AMD FX-4100 quad-core utility desktop PC to budget web app and mobile app software development PC

Last updated on 28th Jan. 2025 Decided to put up this post as it may be useful to students (and others) who are on a tight budget but want to learn and develop web apps and mobile apps using React Native. This post captures my ongoing efforts to upgrade my desktop PC which is currently not working. Summary My old AMD FX(tm)-4100 Quad-Core Processor + Gigabyte GA-78LMT-USB3 Motherboard + 4 GB DDR3 RAM combo bought in 2017 as a basic needs PC (no software development work on it was anticipated then), with mobo repaired in 2021, died some days back (8 Jan. 2025 or a day earlier). Probably the mobo has failed again. I now have to buy a new Processor + Mobo + RAM (DDR4/DDR5) and perhaps may need to buy higher wattage SMPS (400W SMPS now which is working OK) I plan to be doing MERN stack software development on it and also may do Android app. development using React Native. I don't want to spend too much money on it. ... The upgrade I have ordered (on 16/17 Jan): 1) Intel Core i3-12100 3...

Notes about Jquery, AJAX and PHP

Few days back, I had to look at a web app that used Jquery and AJAX (as could be seen on browser side code) and I was told the app uses PHP. So I did some digging up on these topics and this post has the related notes. This work has come to a close now and so I don't expect to update this post in the near future. It was interesting to get some understanding of these technologies as lot of legacy apps seem to use it. Jquery vs React: Comprehensive Guide for Developers [2024], https://www.simplilearn.com/jquery-vs-react-article , Jul. 2024. Main point(s) from above: As React uses virtual DOM, it is faster that jQuery which traverses whole DOM tree. As React uses component approach it is more suitable than jQuery for large applications. The codebase is easier to maintain. --- Is JQuery Still Relevant?, https://www.geeksforgeeks.org/is-jquery-still-relevant/ Seems to be a great video: jQuery vs Vue, React and Angular, https://www.youtube.com/watch?v=WJ2PQe-pQJw , around 15 mins, Apr....

Notes about refreshing MERN stack knowledge and learning new stuff related to MERN stack

Last updated on 11 Jan. 2025 I think now I would like to review my MERN stack knowledge and also upgrade aspects of it from a point of view of providing somewhat more complex solutions than what I had done in my tutorials related learning and self-projects like Gita web app. This post has notes related to it. Areas that I need to refresh/learn in React frontend app area Responsive apps with sidebar which also has a compressed sidebar option. custom hooks - Done by reading React doc on it: https://react.dev/learn/reusing-logic-with-custom-hooks Form validation using Formik or zod Redux Toolkit global state with async thunks used for fetch React and Bootstrap ============== Refresh Next.js by going thru tutorial app and Gita app ============== Refresh Node Express, Mongoose and MongoDB tutorials. Refresh Blog API Refresh MongoDB design online guide/course I went through partially ============== React Responsive Apps that I worked on   Gita web app v1.4.1: https://gita-rsi.vercel.app/...