// writing
Field notes
Lessons written down while they still hurt — architecture, AI, blockchain, and the craft of shipping.
Productivity · 12 Feb 2025
Automate Formatting of Code with Prettier and Husky
Learn how to automate the formatting of your code using Prettier and Husky. This guide walks you through setting up Prettier for consistent code formatting and using Husky to enforce these standards with pre-commit hooks, ensuring a clean and uniform codebase for your team.
Blockchain · 15 Jan 2020
Understanding DAOs — Governance You Can Read Off the Chain
Most DAO explainers end in utopia. At Trivechain we actually ran one — a masternode-governed treasury denominated in TRVC — and operating it taught me the model's real edges — turnout, weight-based voting, and the rigidity of rules that execute themselves.
Blockchain · 16 Aug 2019
Storing a Minister's Declarations on Trivechain
A field note on a demonstration we built — writing a minister's declarations onto Trivechain, our own Layer-1, so they are timestamped and independently verifiable from the block explorer. Plus an honest note on what running it on your own chain does and doesn't buy you.
Blockchain · 11 Aug 2019
Endless Potential of Blockchain Technology
There are various sectors where blockchain technology can be implemented and it is not restricted only to the realm of the financial sector. For instance, retail and e-commerce services, healthcare services, financial services and real estate industries.
Blockchain · 12 Mar 2019
TriveAsset — Tokenizing Assets on Trivechain
How we built TriveAsset, the tokenization layer on Trivechain — encoding fungible and non-fungible assets directly on our own UTXO chain, with ownership as a spendable output and the asset's rules as on-chain data. The honest tradeoffs of doing it the UTXO way, and where it ended up — powering TriveCredential.
Architecture · 18 Apr 2018
Blazing Fast Serverless Site
It is actually not possible to host a website without a server or a physical computer that serves the content of the website. So, serverless architectures refer to applications that depend on a third-party services that manage all the infrastructure for you - the mighty cloud service provider
Productivity · 07 Apr 2018
Maximizing my productivity while on the go
A developer often has to switch between multiple applications. A typical Android application developer, for example, will have a few applications turned on at any point in time. An IDE, the Android Studio, the application that allows the developer to write code; A website that consists of code example or documentation of how to use a particular function; An emulator or plugged Android phone.
Productivity · 31 Mar 2018
365 Days of Procrastination
If you have been to tanjisheng.com anytime from January 2017 to March 2018. You would have been to the 2nd generation of my personal website that showcases my skills and some information about myself. Featuring a nice animated connected dots that symbolizes networks of data being connected. The rebuilds from 1st generation of a static and boring site was a move away step from bachelor degree student to a master degree student.