I am currently working on a newish personal project. My plan is to create a Python version of a Google Script app
that I am running. I wanted to find a way to determine if a given date is a national holiday. This requires taking into account that National Holidays that fall on a Sunday are moved to the following Monday or to
Tuesday if Monday is already a National Holiday. I also needed to support adding Company holidays. This is important as
it impacts some calculations. Enter the Python package: holidays
Decon-Spf Version 0.2.6
Releasing Version 0.2.6 of decon_spf
[Read More]A barebones C++ library template using CMake and Google Test
Objective
This is a BAREBONES C++ template with Google Test support using CMake. It is setup to allow for the building of a static library using TDD principles; but could be adapted for building a small program. This is in no way the ideal solution.
This template was created to allow for programming under Mac OS. But the files should work under other systems.
[Read More]Decon-Spf Version 0.2.1 Released
I am happy to announce that I have released decon-spf version 0.2.1 This release contains a number of improvements and a new feature.
[Read More]Published My First Crate: decon-spf
Today I published my first rust crate.
[Read More]Rust: Add an Example Program to your Library Crate
Recently I decided that I might actually publish my little rust crate. To that end I started looking into some of the things that are needed and what can be done. I have published a perl module in the past. And as a rule for myself, I like to provide an example program that uses a module or library. That is what I will look at today.
[Read More]Rust: Lazy Static Regex
Passing Regex around, helping the compiler keep things optimised.
Hi,
Today I will finally go over how I used the lazy_static crate to help the compiler keep regex optimised.
[Read More]Swift: Deconstruct SPF
Learning Swift: Documenting a Package
Hi,
I have been working on this project on and off for a bit now. So I thought it was time to go over how we might be able to not only internally document our code, but also to document it at the package level.
[Read More]Swift: Deconstruct SPF: asMechanism with Qualifier
Hi,
In this article, I will walk through how I re-implemented the enum for Qualifier and MechanismKind. I will also deliver a working asMechanism() function. The diff is here
Swift: Deconstruct SPF - Qualifier and MechanismKind
Learning Swift: Enum
In this article I will be looking at defining the enums for Qualifier and MechanismKind. I will also be adding tests to ensure that the functions work as expected. Further I will implement a simple asMechanism() as a proof of concept.