Ben Chuanlong Du's Blog

It is never too late to learn.

Understand DSL in Kotlin

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Kotlin DSL in under an hour by Anton Arhipov

https://www.youtube.com/watch?v=0DJqr4FZ6f0

Kotlin tutorial : How to use Function Literal with Receiver in Kotlin | Kotlin 101

https://www …

Tips on Retirement Accounts

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

General Tips

  1. You can contribute to your own IRA accounts even if you have maxed out your 401K contributions. For people without coverage of work 401K plans and low income, those …

Tips on Pattern Day Trading

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://www.investopedia.com/terms/p/patterndaytrader.asp

https://forum.alpaca.markets/t/apierror-trade-denied-due-to-pattern-day-trading-protection/211

https://www.finra.org/investors/investing/investment-products/stocks/day-trading

https://alpaca.markets/support/pattern-day-trading-protection

Here are …

Tips on the Uplift Desk

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Troubleshooting

If your desk will move downwards, lower it to the lowest possible position. Next, hold the down button on your keypad for 30 seconds without letting go. Then release.

(Please …

Taxes on Investment Gains

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Treasury bonds and securities are exempted from state & local income taxes.

  2. The IRS allows you to deduct from your taxable income a capital loss, for example, from a stock or other …