Newsfeed

An example of a bug report and the technical conversation around it to resolve it

I recently had to justify the amount of effort that software development takes. Someone unfamiliar with the process thought that software development is easy, or that it doesnt take much time. They thought, for example, that an advanced reporting app can get pdf export capability if they just said to the development team, "implement pdf export." Literally, they thought that writing a single line of text like that in a specification document would result in the organization gaining that functionality. 

A directory of SMTP sending services

Due to an unexpected service interruption, I've recently had to evaluate numerous options for SMTP services, to replace a one that was showing signs of performance degradation. The AWS SES is an obvious choice, but what if it is not available, or your organization requires diversifying to other providers? Below is a quick list of contenders that I have compiled, with my comments on each. 

Testing async code with Jest

After a little bit of struggle, I have managed to implement a jest that correctly tests an async fetch call. That is, suppose clicking a button initiates a POST request, and upon success some action takes place or some message gets displayed. I needed a test to assert that the action indeed took place.

My component looks as follows:

How to import and export users to keycloak

First, I recommend setting up a backup. This way, exporting and importing users is done via backup. You would not need to recreate the realm: you can do a partial import of users into an existing realm.

My keycloak is setup with backups via docker:

A review of some on-prem software services

I recently came by this picture at r/selfhosted and thought it useful for reviewing which services I use, and more importantly, which services I am missing.

The original post said that he hosted all of these on a single raspberry pi. Regardless of whether that is the case for you, or for me, I think reviewing which services are running, would be useful.

A list of one-click deployment providers

As Wasya Co offers one-click deployments of several applications and stacks, it makes sense for us to track our competitors. Nothing is new under the sun, and turn-key web applications (appliances) have existed for quite some time. There are many, many solutions for deploying infrastructure as a service (IaaS, SaaS). Multiple industries support the general Installation & Provisioning specialization. Of note, Docker, which we use extensively in-house, provides "one-click" deployments at scale, and more.

Prefix type of variable after the variable name

This one is pretty easy. Between suffixes (namespaces), roots (what a thing actually is), and suffixes and all that, I like to use a suffix (a word-final thing, something that goes at the end of the word) that denotes the type of the thing (name, variable) being used. It probably sounds more complicated than it really is so here are some clarifying examples.

The following examples are either variable names, or properties of an object, or fields of a model, or methods in a class, or keys in a hash. Hopefully you get the idea.

Cannot install Microsoft Teams on mac os x

When it says, something went wrong and teams could not be installed --

User TAFHBES published the answer on March 27, 2023:

"I had same problem on my iMac running Ventura on Intel. Problem went away when I placed installer in applications folder before running installer."

~ * ~ * ~ * ~

And this has worked for me. When I moved the installer to the Applications folder, it could finish the installation successfully.

~ * ~ * ~ * ~