Life
Sites
-
Recent Posts
Log In
Categories
Category Archives: Technology
Simplifying WebSockets User Interface (UI) Clients with Happy Pub/Sub Patterns
A back-end WebSocket for live streaming data can typically offer subscriptions to data. Your client UI will typically have one connection to your back-end for all your subscriptions. The challenge becomes how to you handle many components in your UI … Continue reading
Learning the Stacks SDK/API – The Demo Client
Stacks has a RESTful API and a library called Stacks.js. Stacks.js is a set of libraries for Typescript clients “which provide everything you need to work with the Stacks blockchain.” To develop a better understanding, I created a web client, a … Continue reading
Mapping Vue 3 Pages to Firebase Hosting
Vue 3 has a concept called pages that let’s you define different HTML pages acting as entry points to your app. You define these in vue.config.js in the root of your project. Here is a sample: module.exports = { pages: … Continue reading
Using Duration in Typescript
I’m converting Java 8 code to Typescript. Java 8 introduced a great Duration class that uses ChronoUnit to specify units such as DAYS or HOURS. You then instantiate a duration using that: Duration.of(3, SECONDS); Duration.of(465, HOURS); Duration can then interact … Continue reading
Posted in Angular, Development, Technology, Typescript
Tagged angular, coding, development, duration, typescript
Leave a comment
Using FirewallD as a Linux Router
There are already blogs out there on how to use FirewallD as a router. In general, you enable masquerade. However, I could not find any that mentioned how to do it if you have public static IPs. Prior to using … Continue reading
Posted in Networking, Technology, Technology Services
Tagged centos, firewall, firewalld, internet, linux, networking, router
Leave a comment
Creating a new Angular Site on Google Firebase
Angular is a framework for creating front-ends for websites. Technically, the site is static from a web hosting perspective, meaning that in and of itself it does not have a database, but rather only serves static files from the web … Continue reading
Posted in Angular, Development, Technology, Web
Tagged angular, development, firebase, hosting, web
Leave a comment
Using JSONP in Angular 8
JSONP is one way to get around CORS when getting data from a REST service. It does require a callback feature on the part of the service, which isn’t readily clear in some of the blogs and samples online for … Continue reading
Testing Galera in Kubernetes
I deployed a 3 node Galera cluster in Kubernetes. Galera clusters MariaDB or MySQL, allowing you to read and write to all nodes while always being consistent (ACID) at all times. Kubernetes is a deployment environment for container applications. Here … Continue reading
Added Charting to Automated Trading System
This is a continuation of Developing an Automated Trading System. Many of us use very robust charting software, including the popular thinkorswim platform, that does more than I plan to create in my system. The requirement I ran into that … Continue reading
Created Backtesting of Signals and Algos
This is a continuation of Developing an Automated Trading System. Began algorithms with simple strategies. This tests a range of inputs for a strategy. For example, you can test a range of trailing stops from 1 to 15% with 0.5% … Continue reading
Posted in Business, Finance, Investing, Technology, Trading, Web
Leave a comment