All Code Editors & My Favourite One
Too many code editors are availabe out there. Some are open source and others are closed source. Some are CLI-based and others are GUI-based. Let’s talk about all viable options. Graphical User Interface (GUI) 🔗 CodeEdit 🔗 CodeEdit App for macOS is Open source, free, macOS-native experience and written in Swift with SwiftUI. It is a conceptual combination of TextEdit and XCode. It is currently an alpha software but it is very promising.
Extract Images From a Video – Android, Windows, Mac OS and Linux
Extract images from a video on Android 🔗 You can use the video player in your smartphone. While watching a video, tap to pause the video on the scene frame you want to capture, then click on control tools, then choose screenshot. That’s how you can get an image from a video on Android without any external apps or third-party apps. But if you need to extract many images from a video, use this app to extract one image for each second of the video.
Go’s compiler escape analysis – simple yet powerful concept for performance
Go’s compiler escape analysis is such a simple yet powerful concept for performance. It boils down to the difference between the stack and the heap. So let us explore that. When a function is invoked it gets a new frame in the stack with all its local variables tucked in next to each other, if we know anything about paging we know if the CPU reads one local variable from memory in that function we get a whole page and L cache it and chances that we have access to all functions variables are very high.
[fixed] Netlify: Error: Failed to Load Modules. Hugo Theme Submodule
I removed and re-added a submodule of themes/kmt Hugo theme. But when Netlify tried to deploy my updated web blog an error occurred. The error message is this. Error: failed to load modules: module "kmt" not found in "/opt/build/repo/themes/kmt"; either add it as a Hugo Module or store it in "/opt/build/repo/themes".: module does not exist The error says that kmt theme directory does not exists and it is true. But the problem is in my process of removal of old kmt theme.
How to effectively delete a git submodule
I need to remove a git submodule from my Hugo website. I installed a theme called kmt for my web blog, but I want to remove it now. It is nice to mention that the kmt hugo theme is open source and developed by me. To remove a submodule you need to: delete the relevant section from the .gitmodules file 🔗 [submodule "themes/ananke"] path = themes/ananke url = https://github.com/theNewDynamic/gohugo-theme-ananke.git -[submodule "themes/kmt"] - path = themes/kmt - url = https://github.
A new old way of phishing Facebook pages
Too many friends asked me about that stolen Facebook pages in the last week. Almost all these Facebook pages were stolen by phishing. Phishing is an old method of hacking by giving a visually identical Facebook page telling you that you need to give them some information because of anything. After you tell them the information including the OTP sent to your phone or e-mail, your account and/or your pages will be stolen.
FIX: Go Runtime : goroutine stack exceeds 1000000000-byte limit fatal error stack overflow
I was writing a CLI program to process some data. I need to call the same function again and again until I finish processing all data records. The number of records is 40,572,219 which is so big. I wrote the function like this. func dbAutoProcessData(db *sql.DB, inId int) { rows, err := db.Query(`SELECT * FROM tbl WHERE info LIKE '%something%' AND id > ? LIMIT 1;`, inId) if err != nil { log.
My Dream OS as a Software Developer
I am thinking of a better operating system. All operating systems right now need more improvement and development to improve usability and user experience. my dream operating system features 🔗 Thoughts on Basic Parts of OS I think the best OS may be just a linux distribution such as Ubuntu, with a desktop environment such as GNOME, COSMIC or PANTHEON. Then add some software tools for normal users and developers.
All Keyboard Shortcuts in Windows OS
Using keyboard shortcuts are faster than using the mouse. Pressing Ctrl + P is faster than moving the mouse, then click on file menu, then moving the mouse to print and click on it. The problem with keyboard shortcuts is that you don’t know which key combinations are used for what, and you did not train yourself to use them. So I collected all keyboard shortcuts used in Windows 7, 8, 10 and 11 in this one post.
keyboard shortcuts in Microsoft Word
Using keyboard shortcuts makes you more efficient and productive as it speed you up. Pressing some key combinations is faster than clicking and moving then click by mouse. So, all IT-related specialists and programmers tend to train themselves to touch typing which is typing faster. In Microsoft Word, there is a keyboard shortcut for almost every function and action. Microsoft Word is one of the Microsoft Office suite. MS Word is designed to be a rich text editor to be used to write books, researches, reports, text documents, .