Posts

Showing posts from 2024

@tslint: Type trivally inferred from a literal

Dear TypeScript... My thoughts on this directive about no-inferrable-types has made me realize something: it doesn't serve me and I'm going to show why: export class TransactionsListComponent { addOnBlur = true; readonly separatorKeysCodes = [ENTER, COMMA] as const; #transactions: Transactions; @Input() get transactions(): Transactions { return this.#transactions; } set transactions(value: Transactions) { this.#transactions = value; this.refresh(); } @Output() transactionsChange = new EventEmitter<Transactions>(); @Input() showFilters: boolean; @Input() filters: TransactionFilter; @Output() filtersChange = new EventEmitter<TransactionFilter>(); @Input() showPaginate: boolean; @Input() txShow?: TransactionShowHeaders; @Input() editable: boolean; @Input() showHeader: boolean; @Input() showTags: boolean; currentlyEditing: EditPlaceholder; txns: Transactions; accou

Yaba-2.0 Architecture

Image
Yaba-2.0 is still in the works. This will come with an overhaul of the platform. I will still maintain yaba.markizano.net as a public interface to the app for you to be able to "try it before you buy it". However, I am going to expand on how the architecture will lay out with regards to a self-managed vs a hosted version of this application. Ideas keep coming on how I can manage this and I am so excited to share my designs with you and get your feedback on the direction being taken. This is still something we can construct together and build a team behind the project if it becomes useful. Yaba Recap If you're completely new to the project, welcome! Yaba is Yet Another Budgeting App. I got sick and tired of downloading CSV files from all my banks and managing them in complex Excel books just to be able to visualize my data around my spending so I can budget more efficiently. I built Yaba as a means of organizing my transactions in a way that's different than m

ytffmpeg-1.1.0 released!

The wait is finally over! ytffmpeg-1.1.0 is now available! This comes with a few new features and some tested workflows that streamline activities around video creation, subtitle generation and now with the ability to post the results to an SFTP endpoint! Project Page https://ytffmpeg.markizano.net/ Download Download from Github What is ytffmpeg ? ytffmpeg is a python project that was put together to automate workflows when it comes to video editing, subtitle generation and video composition. I refuse to pay for software on a license like Adobe Illustrator. Most of the awesome video editors out there were made specifically for a Mac or Windows and have little to no support for Linux. OpenShot-QT crashes too consistently to be used reliably. Also, personally, I find the GUI-version of video editing to be quite distasteful. It just doesn't seem like I can get the level of precision on a frame-by-frame basis like I can get with ffmpeg . Being abl

Install your own DNS Server

I want to do a series on "rolling your own" and how you can use open-source software for just about all your needs. In this way, you can learn about how some software architectures work under the hood, how to configure, how to research and understand what is needed in order to get something like this setup and running. If you're like me, you're probably on a time-budget, so I won't delay, let's get right into it. Install bind9 Let's start with the software required. If you are starting from a bare headless linux install like a Docker container or a fresh image, there may be a few things to install like your favorite text editor since we will be editing files. If you don't know of a text editor in Linux, you can use nano (yes, I probably just infuriated a third of you -- I can already see you in the comments section). I like it because it's simple and key-combination based, rather than arcane spell based as far as the navigation is concern

I Deleted my TikToks 😱

Yes, it's true. I suppose I should address this somewhere and my blog being the target of where my TikTok's pointed should be a good place to address it, right? My Experience with TikTok Let's first address the fact that TikTok is wildly different about the videos it shows you from the time you login to every action it can track about you. Based on my experience, watch time is the most important, then comments, then likes, then shares, then favorites and any other interactions with the app. I understand I deleted about 2 years of historic analytics data, but let's face it: TikTok's analytics retention period is terribad. I would like to see more support (even if you have to charge the user for storage) around analytics retention periods. Why I Deleted My Accounts? The straw that broke the camels back was an experience I had where I was arguing with someone over some situation they had going on. In trying to provide motivating energy as

SmartMeterTX Update (1.1.4 released)

I got tired of keeping track of how much electricity I'm using on a regular basis and SmartMeterTexas only lets you have access to the most recent 2 years of history records. So, I learned what it took to get into their API's and download the meter reads to store on terms I can control. In this way, I can see history longer than the last 2 years and make my own assumptions about my own data. It's my data, why not use it? SmartMeterTX v1.1.4 is now available to help with this. Simply install the project, setup a cron to populate the database and you can visit the serverlet to browse the history in a local fashion. This depends on a MongoDB to be present in the environment and access to your setup. It also relies on Python with a few library dependencies. I hope you find it useful if you live in Texas and want to keep track of your electricity usage no matter your provider. pip3 install smartmetertx2mongo sudo tee -a /etc/cron.d/metrics <<<"0 2 * * * m