IoT101 Lesson1 WOL Wake-Up
Getting Started with ESP IoT Development: WOL Wake-UpIn the previous article, we installed a “physical finger” on the computer to press the power button. It works reliably, but it still doesn’t feel very high-tech. If your motherboard supports it, there’s actually a more “hacker-style” method — Wake on LAN (WOL). Simply put, you send a secret signal to the network card, and it wakes up the entire computer by itself. 1. What Is a “Magic Packet”?Even after a computer is powered off, as long as ...
IoT101 Lesson2 Finger Robot
Since in the previous article we already managed to light up the built-in LED on the ESP8266, it means our development environment is working. Today we’re going to try something a bit more hardcore: build a “physical plug-in” that remotely presses the power button on our computer. Getting Started with ESP IoT Development: Finger RobotThe main character this time is still the king of cost-performance: the ESP8266 (NodeMCU), paired with a servo motor that costs about $2 with free shipping. 1. ...
IoT101 Lesson1 Getting Started with ESP IoT Development
Getting Started with ESP IoT Development: Light Up Your First LED from ScratchMany beginners want to build things like “remote PC power-on” or “smart home” systems. They stare at online tutorials for hours, only to be scared off by all the technical jargon. In reality, IoT isn’t that mysterious. Today, we’ll skip the fluff and explain everything in plain language—helping you truly understand microcontrollers and the ESP32, while also avoiding a few pitfalls I’ve personally stepped into. 1. W...
Docker Usage and Configuration
Translated by GPT4o from my original chinese page. Come try one-click foolproof distribution and become a Docker expert! In software development, whenever you encounter CI/CD concepts, Docker is indispensable. Docker Basic Concepts1. Docker IntroductionDocker is an open-source containerization technology that can package applications and all their dependencies into a portable container. Through Docker, you can ensure application consistency across different environments (development, t...
Commonly Used Commands
When I first started studying computers, I was resistant to using Linux and Git, but once I got used to them, I found them extremely useful. This document is a record of frequently used commands so I don’t have to look them up or ask GPT each time. Common Linux CommandsSystem Informationuname -a # Display system information hostname # Show or set the hostname whoami # Current logged-in user uptime # System uptime and load date ...
AWS EC2 Free Tier and Dify 0.12.1 Experience
Translated by GPT4o from my original chinese page. The Dify official site already has detailed deployment tutorials, and you can find guides on Bilibili or YouTube too, so I won’t repeat those here. For source code deployment (the main method in this article), once you’ve cloned the repo, the key is to follow the steps in the README.md files under the dify/api and dify/web folders step by step. This post focuses on deploying Dify on AWS and some pitfalls I encountered. Tools used: AWS EC2 ...
Devops, MLOps to LLMOps
I can’t live without Large Language Models now 😢. Begin from CI/CDThere are many definitions of CI/CD (Continuous Integration/Continuous Delivery) online, but everything related to XXXOps is based on CI/CD. In my understanding, CI/CD is a development and operations practice that automates building, testing, and deployment processes to improve software delivery efficiency and quality. Just imagine how you use GitHub and Docker. You commit code to a repository, and the...
Internship as NLP Engineer...
Back from a long gap… I enjoyed my Spring Break during crafting last post, but I just realized I still didn’t have an intern after a wonderful road trip (This is how PEER PRESSURE looks like!!!). Ok so, started from March, I put a lot of effort on hunting an intern. Unfortunately, most application process of intern in US had already passed deadline (another reason was: I gave up on finding intern under current suck market…), but fortunately, most summer interns just start recruitment in China...
Copula III — Applications
In this post, we may quickly go through the applications for Copulas. Firstly, let’s talk about quantile regression based on Copula, and then move to a real-world case about anomalies detection. 1, Quantile RegressionSynthetic DataUnfortunately, I do not find a good way to synthetic data in Python, but R does provide some great functions for Copulas. I’ll use R to generate artificial data, and use Python to do the quantile regression. (However, I highly recommend to use R to do everything bec...
Copula II — Definition
The word Copula derives from the Latin noun for a “link” or “tie” that connects two different things. When I talk about Copula in this post, actually I mean the Sklar’s Theorem. Here is what the Sklar’s Theorem tells us: we always can find a Copula function \(C\) that every multivariate (a.k.a joint) cumulative distribution function(CDF) can be expressed by its marginal CDFs. In other words, we can use copula function to analyze the dependence between each random variable, and Sklar’s Theore...
Copulas I — Probability Integral Transform
When I wrote this article, I was enjoying my spring break after winter quarter (Greetings from Atlanta😃). Initially, my intention was to delve into the intricacies of Copulas. However, I realized the paramount importance of laying a solid foundation by elucidating the basic concept of the Probability Integral Transform before advancing further. Definition & Proof Definition: For a random variable $X$, the function $F$ defined by $$F_{X}(x) = P(X \leq x),\quad x \in \mathbb{R}$$, i...
Simple NLP — Sentiment Analysis
Translated by ChatGPT A few days ago, during an interview, the interviewer suddenly asked me, “Why are you interested in pursuing a major related to data science?” I was momentarily at a loss for words. Saying it was purely out of love seemed somewhat insincere—it’s all about making a living, after all. There aren’t always grand narratives or beautiful visions. However, I answered the interviewer like this: I said that perhaps, without us knowing, some simple data analyses could bring us a ...











