How to compile a smallest C application?

We will use many different binary libraries in Linux development. For example: glibc and other third parts binary libraries. Some people maybe curiosity how to compile a program without third parts libraries? Does the main function is the first executed function? I will give you a deterministic answer by examples.

How to implement a Lamda macro in C?

As as coder, I think giving a right name to a variable is annoying. I many program language we can use Lamda function to avoid it. However, The C language don't provide this grammar feature for us. I spend few minutes writting a macro to implementing this featrue. Here is the example, I can be compiled in gcc, but no in g++.

How to share tech knowledge

I am not working for a while. In case of don't waste my life, I think I should find something to do. So I decide to share my tech knowledge by recording videos. I hope this can lend me to be an independent developer...

cpnews release

Recently, I looking for an light weight Andriod app that can display the daily crypto news. Unfortunately, I did find the app match my need. So I decided to write my own App. My first Andriod App was written with Reactive Native framework, which was not a good experience with JS. However, I have familiared with Rust, and also developed a few Rust desktop with Slint-ui. So I found egui is a choice for my situation, or maybe the best choice...

Book: Black Hat Rust

Black Hat Rust is practical book that talks about some security topics and contains a lot of Rust codes. If you are interested in how to implement hack tools, this book is for you. However, this book only contains a subset of hack concept. Hence, I don't think this book is good enough for beginner. I read this book very quick and skips some codes' detail.

Book: Mastering the Lighting Network

Mastering the Lightning Network is the first book about bitcoin layer2. I learnt alot from this book, which shows a comprehensive overview of Lightning Network. And you also learn some basic concept of bitcoin networks. If you are a beginner of Lightning Network, you must read this book first.

Book: Mastering Bitcoin

Mastering Bitcoin is also a good book for begainner. And it is the second book I read about bitcoin. I don't read the whole book, just read tow chapters(Transactions, Advanced Transactions and Scripting) as a complement of my first book Grokking Bitcoin. If I have more time I will read the whole book.

Book: Grokking Bitcoin

Recently, I want to write a self-used bitcoin wallet. So I decide to learn about basic knowledge of bitcoin. And I find Grokking Bitcoin. It is a good book for beginner and talk about the basic knowledge of bitcoin...

Crypto Watchlist

This page will collect some interesting projects of crypto...

Collection: crypto currency

This page would collect daily using websites of crypto currency. And it will be updated constantly...

Bitcoin whitepaper

No bullshit, Bitcoin whitepaper is the most famous whitepaper in the world. I build this page just for showing my respect to the decentralized world and hope one day crypto currency can revolutionize the world. We can keep our possessions safety regardless the war and the bad government behaviours.

How to set up jupyter in a conda environment?

I found a new book, Dive into Deep Learning, to learn deep learning. However, I followed the tutorial of installation. At first everything was fine, but when I started to run the example in jupyter webpage, which showed the no found module error. I checked the error message and found the it uses my system python as kernel instead of the python on my activation environment. So I asked ChatGPT and found the solution...

How to install PyTorch on Linux?

AI is a hot topic in recent days and I decided to try to learn it for satisfying my curiosity. I did some research and dived into the python environment configuration...

How to set proxy for cargo?

If you live in a country that prohibit from access the world wide web. You may want to use proxy server to access the world wide web. Recently, I built a Rust project, but it always showed me a network error. So I google the question and finally found the answer...