Another Big Shot Discovered—Xie Yihui

As usual, let’s go straight to his website: Yihui Xie | č°¢ē›Šč¾‰ Below is the introduction from his homepage: I’m a software engineer working at RStudio, PBC. I earned my PhD from the Department of Statistics, Iowa State University. My thesis was Dynamic Graphics and Reporting for Statistics, advised by Di Cook and Heike Hofmann. I have developed a few R packages either seriously or for fun (or both), such as knitr, animation, bookdown, blogdown, pagedown, xaringan, and tinytex. I founded a Chinese website called ā€œCapital of Statisticsā€ in 2006, which has grown into a large online community on statistics. I initiated the Chinese R conference in 2008. I’m a big fan of GitHub, LyX and Pandoc. I hate IE. I fall asleep when I see beamer slides, and I yell at people who use \\textbf{} to write \\title{}. I know I cannot eat code, so I cook almost every day to stay away from my computer for two hours. ...

2022-09-14 Ā· 2 min Ā· 550 words Ā· Jeapo

Discovering an Interesting Big Shot

Go directly to the expert’s website: yufree Below is the introduction from the homepage, featuring numerous articles and shares: I am a scientist at the Jackson Laboratory. My research interests are environmental chemistry, data analysis, and exposomics. Contact me via blog or Email if you have questions, and my CV is available here. This humble monk’s mind is full of untimely thoughts, fond of humor and sarcasm. When browsing this blog, do not take the words too seriously. ...

2022-09-12 Ā· 1 min Ā· 166 words Ā· Jeapo

Writing the Meaning of Life with Poor Words

Overly delving into one thing may not be a good thing, especially when what you’re studying has already been thoroughly researched by others, and you clearly know you can’t push the boundaries further than they have. At that point, you start to feel like your life is being wasted. Every day, I write down a lot of things, recording a vast amount of work and study notes—though it’s more accurate to call them records of pitfalls. Gradually, I’ve come to realize that such efforts don’t hold much meaning. If they’re not done well enough, they won’t provide even the slightest help in real life. ...

2022-09-02 Ā· 4 min Ā· 797 words Ā· Jeapo

My Spiritual Homeland

By Wang Xiaobo When I was thirteen, I often stole books from my father’s bookcase to read. At that time, the political atmosphere was tense, and he had locked away all the books that were unsuitable to be left out in the open. In that bookcase were Ovid’s Metamorphoses, Shakespeare’s plays translated by Zhu Shenghao, and even The Decameron. The case was locked, but my elder brother knew how to pick the lock. He also had a way of persuading me to take the risks: You’re young and slight. I don’t think Dad will have the heart to spank you. But in reality, when it came to spanking me, my father didn’t seem particularly gentlemanly, and my hands and feet weren’t agile enough, always giving him the opportunity. In short, we both read the stolen books, but I was the only one who got spanked. That’s how I got to read some books. Though it was unfair, I don’t regret it. ...

2022-09-01 Ā· 5 min Ā· 1012 words Ā· Jeapo

Pulling the Nipple Away from the Mouth

By Zhu Che I live on the top floor of Building 27. The sun scorches the reinforced concrete rooftop, and the heat lingers until four or five in the morning. As a result, my bed is nothing like those in Guiyang—during the summer, it’s essentially a full-coverage electric blanket. It’s unbearably hot, I fall asleep late, and dawn comes early. The construction workers start their noisy labor early too, so I inevitably wake up early, my pillow drenched in sweat. I’d love to go back to sleep, but the moment I pick up my phone and open Bilibili, I give up on the idea—though I’m still exhausted. So I drag myself out of bed, turn off my phone, sit naked in front of my computer, and start pondering: What do we actually gain from spending so much time on video platforms? ...

2022-08-20 Ā· 5 min Ā· 1024 words Ā· Jeapo

ESP32 MicroPython: Non-blocking Delays and Multithreading | Multitasking

![nonblock and multithreading]1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 import machine import time red = machine.Pin(27, machine.Pin.OUT) grn = machine.Pin(26, machine.Pin.OUT) blu = machine.Pin(25, machine.Pin.OUT) mode = machine.Pin(33, machine.Pin.IN, machine.Pin.PULL_UP) left = machine.Pin(32, machine.Pin.IN, machine.Pin.PULL_UP) rght = machine.Pin(35, machine.Pin.IN) entr = machine.Pin(34, machine.Pin.IN) r_start = time.ticks_ms() g_start = time.ticks_ms() b_start = time.ticks_ms() k_start = time.ticks_ms() r_interval = 300 g_interval = 500 b_interval = 700 k_interval = 200 state = 0 EDIT_RESOLUTION = 10 reset = 0 print('**************************') print(' DEFAULT Interval Values ') print('--------------------------') print('Red interval:', r_interval, 'ms') print('Grn interval:', g_interval, 'ms') print('Blu interval:', b_interval, 'ms') print('**************************') while True: if time.ticks_ms() - r_start >= r_interval: red.value( not red.value() ) r_start = time.ticks_ms() if time.ticks_ms() - g_start >= g_interval: grn.value( not grn.value() ) g_start = time.ticks_ms() if time.ticks_ms() - b_start >= b_interval: blu.value( not blu.value() ) b_start = time.ticks_ms() if time.ticks_ms() - k_start >= k_interval: k_start = time.ticks_ms() if mode.value()==0: if state==0: # idle mode state = 1 print() print('*************') print('Red edit mode') print('-------------') elif state==1: # red edit mode state = 2 print() print('*************') print('Grn edit mode') print('-------------') elif state==2: # grn edit mode state = 3 print() print('*************') print('Blu edit mode') print('-------------') elif state==3: # blu edit mode state = 0 print() print('*************') print('Idle mode') print('-------------') if left.value()==0: if state==1: # red edit mode if r_interval - EDIT_RESOLUTION > 0: r_interval -= EDIT_RESOLUTION print('Red interval:', r_interval, 'ms') elif state==2: # grn edit mode if g_interval - EDIT_RESOLUTION > 0: g_interval -= EDIT_RESOLUTION print('Grn interval:', g_interval, 'ms') elif state==3: # blu edit mode if b_interval - EDIT_RESOLUTION > 0: b_interval -= EDIT_RESOLUTION print('Blu interval:', b_interval, 'ms') if rght.value()==0: if state==1: # red edit mode r_interval += EDIT_RESOLUTION print('Red interval:', r_interval, 'ms') elif state==2: # grn edit mode g_interval += EDIT_RESOLUTION print('Grn interval:', g_interval, 'ms') elif state==3: # blu edit mode b_interval += EDIT_RESOLUTION print('Blu interval:', b_interval, 'ms') if entr.value()==0: r_interval = 300 g_interval = 500 b_interval = 700 print() print('**************************') print('Values RESETTED to DEFAULT') print('--------------------------') print('Red interval:', r_interval, 'ms') print('Grn interval:', g_interval, 'ms') print('Blu interval:', b_interval, 'ms') print('**************************') https://1.bp.blogspot.com/-rYdcCBcd2K0/X26oBPSJclI/AAAAAAAACDc/jXve0NeUYHcXtYScTmdbod5hMptYgfJnwCLcBGAsYHQ/w640-h322/MP_009_Time.pngĀ ā†©ļøŽ ...

2022-03-07 Ā· 3 min Ā· 442 words Ā· Jeapo

Welcome to Typecho

If you are seeing this post, it means your blog has been successfully installed.

2020-11-18 Ā· 1 min Ā· 14 words Ā· Jeapo