Posts

Showing posts from June, 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...

Choices

Image
I can guarantee that each and every one of you are exactly where you are in life because of your actions, your decisions and choices in life. We are all given a choice in life in every one of our actions. To choose pain or to choose solutions. To complain or to take action. To chooses collectively or as individuals. To chooses preservation vs destruction. To choose to procrastinate or to eat the tadpole. To love or to hate or to hold in apathy. To live in your head or in this world or one co-constructed as a result of both. Your belief system creates your reality. You receive what you put out. You will only receive what you give. Knowing this.... Why do you make the choices you do? Why do you continue in the way you do? This is not for you to answer to me, but for you to answer and to know for yourself.  I see lots of boomer and Gen X punch lines talking about how screwed up stuff is, but I see little action being done to change it. It makes for a cute post, but in the grand scheme...