import.meta.main, neat!
if (import.meta.main) main();
if (import.meta.main) main();
Artificial Intelligence (AI) isn't just a buzzword anymore—it's the cheese on our innovation pizza, melting into every slice of technology we consume. From healthcare to open source software, AI is reshaping the way we innovate, collaborate, and even legislate. Let's dive into how
In recent years, the convergence of software engineering and machine learning (ML) has begun to reshape how developers build, test, and maintain software. Machine learning offers powerful techniques to automate and enhance various aspects of the software development lifecycle (SDLC), leading to more efficient processes and innovative solutions. This article
The statement raises an interesting point about REST, JWT (JSON Web Tokens), and the concept of sessions. Let’s break it down: REST is stateless * Core Principle: REST (Representational State Transfer) is designed to be stateless, meaning each request from a client to a server must contain all the information
Here are some fundamental design concepts in Functional Programming (FP), along with their equivalents in Object-Oriented Programming (OOP): 1. Immutable Data Structures (FP) vs. Encapsulation (OOP) 2. In FP, data is immutable by design, ensuring that functions don't modify state. In OOP, encapsulation is used to hide internal
In Node.js, handling asynchronous calls is mainly based on its event-driven, non-blocking I/O model rather than using traditional multithreading. Here's a technical breakdown of how Node.js manages asynchronous tasks: Event Loop and Async Callbacks Node.js operates on a single-threaded event loop. It uses this
Why does annotating types in typescript feel more cumbersome than in other languages? No matter how much I use typescript, that's always a latent theme of lamentation. Don't get me wrong, I see the benefits in it as a programming language but that aspect is what
Yes, it's possible to use the new Microsoft Edge browser to emulate older IE! For me, this is useful for development and troubleshooting. I'm writing these based on my experience in using the feature in Windows 11 for "Microsoft Edge Version 96.0.1054.41
A solution for WebStorm & ESLint error that states Failed to load config "plugin:@typescript-eslint" to extend from.
I've been using AWS to host my personal websites (although this website hasn't been relocated there). I automate everything. Anything not automated is just a POC in my perspective. I have some static websites - that is websites that do not do any server side processing
For an upcoming article, I'm investigating the source code to Ghost - the platform this blog (and many others) run on. I found this code in main/core/server/web/shared/index.js among other places in the code-base. module.exports = { get middlewares() { return require('./middlewares'
Somewhat thoughtfully pressing keys on a keyboard to get the computer to do approximately what you want.
quick-tip
I'm working on an article regarding Ghost, I came across the following which didn't work: # First clone Ghost with submodules and make it your working dir git clone --recurse-submodules git@github.com:TryGhost/Ghost && cd Ghost This assumes that you have a git public
quick-tip
Consider this line of code: //Source: https://reactjs.org/docs/hooks-state.html const [count, setCount] = useState(0); How the heck does this work? I threw together a quick test which is shown below. Turns out, the parameter - 0 - is the initial state. The second parameter coming out of
Tools of Open Source
One aspect of open source that I think could use more attention by OS consumers is licensing. I came upon this and wanted to put it here for future reference. https://opensource.guide/legal/
software engineering
In this post, I wanted to explore my thoughts on software architecture and how it is (or isn't) applied in commercial (non-open source) software. Applying good architecture principles is always top of my mind when I'm making a changes to source code. Would this apply to
Tools of Open Source
Git is a powerful tool. Git can be more effective if you will use its best practices, and with a few advanced git tips and tricks, you can save your valuable time. The productivity boost technique is known as the AFTER technique.
Tools of Open Source
After using a MacBook Pro (13") as my "go anywhere" for years, I decided to go back to Windows. Nothing wrong with Mac OS as far as a platform goes (and it's particularly great for open source given it's Unix roots) but I
I know I've not posted anything in a while. I work for a small "start up" type company and it's taken a lot of my 'programming' time. (*not to mention programming soul...*) But, I was thinking that I need and want to
quick-tip
I often need to add where clauses to SQL statements. Most folks probably do. It allows me to view recent log entries or recently created records. Rather than hard coding dates, I've been using "Date Math" to make these queries usable over a period of time.
News
Happy new year!
News
Happy Pride Month! Although I aim to keep politics and such out of this site I can't ignore pride month. It'd feel wrong. I've been a long time supporter of LGTBQ pride and human rights in general. Be safe while celerbrating!
quick-tip
These are the questions that you must answer during a daily scrum stand-up: 1. What did you do yesterday? 2. What will you do today? 3. Are there any impediments in your way? Just posting this as a quick reference for myself and others.
quick-tip
In JavaScript, what's the difference between var, const and let? In previous generations of JavaScript, only var was available. The latter two were added as part of ES2015. Scope Both let and const are blocked scoped variables whereas var was not blocked scoped. All var declared variables are