Yahsin Huanghttp://yahsin.me/images/logo.png2024-02-08T11:10:26.762Zhttp://yahsin.me/Yahsin HuangHexoLooping through an Arrayhttp://yahsin.me/2024/02/08/JS-looping-array/2024-02-08T10:56:56.000Z2024-02-08T11:10:26.762Z<h2 id="Looping-through-an-Array"><a href="#Looping-through-an-Array" class="headerlink" title="Looping through an Array"></a>Looping through an Array</h2><p>Looping through an Array<br>Go through each value of an array one by one<br>Do something with each value</p>
<pre><code>const todoList = [
'make dinner',
'make coffee',
'watch youtube'
];
for (let i = 0; i < todoList.length; i++) {
const value = todoList[i];
console.log(value);
}
</code></pre>
<p>RunJS While Loophttp://yahsin.me/2024/02/01/JS-While-Loop/2024-02-01T10:13:35.000Z2024-02-01T10:33:08.204Z<p>This week I learned some stuff about JavaScript basics. Namely, how to create a while loop, following some 15 minutes of SuperSimpleDev’s JS Course video. Video link: JavaScript Full Course - Beginner to Pro - Part 1 <a href="https://youtu.be/SBmSRK3feww?si=DrHqPCXH4d6wXoP9">https://youtu.be/SBmSRK3feww?si=DrHqPCXH4d6wXoP9</a> starting from 8:21:19 for JS Arrays and Loops.</p>
<pre><code> let i = 1;
while (i <= 5) {
console.log(i);
i = i + 1;
The 5 best books I read in January 2024http://yahsin.me/2024/01/30/Jan-books/2024-01-30T14:05:14.000Z2024-02-01T10:29:27.716Z<p>Some notes on the 5 best books I read in the month of January 2024. Before jotting down the notes, I went back to count how many books I read last year. It turns out I’ve read 56 books in the year of 2023 – 27 nonfiction books; 29 fiction books. It doesn’t really take that big of a time commitment, especially if you think about how much time you spend on your phone.</p>
<p>If I were to recommend only one book to a friend, it would probably be Nada (Nothing) by Carmen Laforet, Spanish authorCal Newport Podcast Notes Episode 269 Oct 9 2023http://yahsin.me/2023/10/10/Cal-Newport-269-notes/2023-10-10T14:40:31.000Z2023-10-10T14:42:56.325Z<p>Some notes I took while watching Cal Newport’s latest show tonight.<br>Episode 269 of the Deep Questions podcast <a href="https://www.thedeeplife.com/listen/">https://www.thedeeplife.com/listen/</a></p>
<p>“The Cure To A Mediocre Life: 3 Unexpected Ideas To Reinvent Your Life | Cal Newport”<br>Video link: <a href="https://youtu.be/jlJDcB5M9ds?si=Lug6k-N84wueeuph">https://youtu.be/jlJDcB5M9ds?si=Lug6k-N84wueeuph</a><br>Cal Newport’s YouTube: <aDialogue Scenes in Class Act “Tapie” 2023 Netflix Miniserieshttp://yahsin.me/2023/10/05/Tapie-Class-Act-Netflix/2023-10-05T08:24:05.000Z2023-10-05T08:32:06.832Z<p>Last night, I finished watching the first season of Class Act “Tapie” 2023 Netflix mini-series, a French biographical drama TV series that came out in mid-September 2023. </p>
<p>Season 1 consists of seven episodes; each episode is about 50 minutes. I watched them over the past four days. It’s a fictionalized biography loosely based on the life of Bernard Tapie, a famous French businessman.</p>
<p>Before coming across this French TV series, I’d never heard of Bernard Tapie before; I had toReflections on Spainhttp://yahsin.me/2023/08/30/Spain/2023-08-30T08:06:27.000Z2024-02-01T10:31:43.259Z<div style="font-size: 18px"> “I have a tendency to want to understand everything, everything that people say and everything I hear, even at a distance, even if it’s in one of the innumerable languages I don’t know, even if it’s in an indistinguishable murmur or an imperceptible whisper, even if it would be better that I didn’t understand and what’s said is not intended for my ears, or is said precisely so that I won’t hear it.” -- Javier Marías, A Heart So White (Spanish: Corazón tanThe Books I Read in Aprilhttp://yahsin.me/2023/05/03/April-books/2023-05-03T10:16:05.000Z2024-02-01T10:31:33.290Z<h2 id="The-Books-I-Read-in-April-2023"><a href="#The-Books-I-Read-in-April-2023" class="headerlink" title="The Books I Read in April | 2023"></a>The Books I Read in April | 2023</h2><p>The blog post was inspired by Cal Newport’s podcast “Deep Questions with Cal Newport” where he regularly reviews the five books he read in the preceding month.</p>
<p>Here are the 2 books I read in April 2023. Of course I read other books (a lot of fiction books, as usual) but because I was hoping to wrap upThe Saigon Situation: Is It Even Possible to Survive in Vietnam for Several Weeks As a Tourist If You Think About Its Chaotic Traffichttp://yahsin.me/2023/03/28/Saigon-Situation/2023-03-28T10:00:04.000Z2023-03-28T16:23:37.849Z<h2 id="Traffic-situation"><a href="#Traffic-situation" class="headerlink" title="Traffic situation"></a>Traffic situation</h2><p>The past two weeks I have been hanging out in Saigon (Ho Chi Minh City), Vietnam. As a first-time visitor, the first few days was hard. I constantly feel overwhelmed by the very chaotic traffic. I wonder whether there’s another term for “chaotic” to describe a more severe choatic situation. Especially during rush hours, it gets really bad. </p>
<p>It’s been two weeksFebruary bookshttp://yahsin.me/2023/02/15/Feb-books/2023-02-15T06:10:24.000Z2024-02-01T10:30:00.422Z<p>Some notes on the books I read during the first two weeks of February 2023.</p>
<h2 id="The-Dancing-Girl-of-Izu"><a href="#The-Dancing-Girl-of-Izu" class="headerlink" title="The Dancing Girl of Izu"></a>The Dancing Girl of Izu</h2><p>Yesterday evening (Tuesday, February 14), about an hour before I fell asleep, I read the short story “伊豆的舞孃” in Mandarin Chinese translation, The Dancing Girl of Izu 伊豆の踊子, Izu no odoriko いずのおどりこ, from the Japanese novelist and Nobel Prize winner YasunariHayek’s The Road to Serfdom to Kick Off the Yearhttp://yahsin.me/2023/02/08/Hayek-Serfdom-book-notes/2023-02-08T15:16:48.000Z2024-02-01T10:31:14.458Z<img src="/2023/02/08/Hayek-Serfdom-book-notes/hayek_book.jpeg" />
<h2 id="A-short-reflection-on-time-spent-last-month"><a href="#A-short-reflection-on-time-spent-last-month" class="headerlink" title="A short reflection on time spent last month"></a>A short reflection on time spent last month</h2><p>Lately I’ve been wondering what self-directed learning means to me. I wondered what subjects or topics interest me deeply. How would I design my own learning path and select resources? What would11 Days in Japan -- Fukuoka, Saga, Tokyohttp://yahsin.me/2022/12/12/Dec-Japan-Trip/2022-12-12T03:20:48.000Z2022-12-15T14:41:51.396Z<p>The 11-day visit in Japan was full of fun memories. In the first week, I spent several days in Fukuoka, capital of Fukuoka Prefecture (福岡県, Fukuoka-ken) in late November. It was the perfect month for travel. Spent the second week of the trip mostly in Tokyo to catch up with a few friends and meet some new folks in web3/crypto communities in Tokyo. Overall, I really enjoyed the trip. It was my fifth trip to Japan, and it was the longest. I hope I could stay a bit longer (2 weeks,Some notes on Édouard Louis's book Combats et métamorphoses d’une femmehttp://yahsin.me/2022/11/26/nov-book-edouard-louis-combats/2022-11-26T04:28:35.000Z2024-02-01T10:30:06.098Z<p>This week, I finished reading Édouard Louis’s book Combats et métamorphoses d’une femme (Seuil, 2021). I enjoyed it very much. It’s a short book published last year in France and now translated in English as A Woman’s Battles and Transformations. In the book, Édouard Louis tells the story of his mother’s struggles of class and gender within a working-class family in northern France. </p>
<img src="/2022/11/26/nov-book-edouard-louis-combats/Edouard_Louis_Combats_Book_Cover.jpeg"What I’ve Been Up To Lately - Solidity workshop, CS50, Collège de France lectureshttp://yahsin.me/2022/11/17/solidity-workshops/2022-11-17T09:49:49.000Z2022-11-17T10:06:03.633Z<h2 id="What-I’ve-been-up-to-lately"><a href="#What-I’ve-been-up-to-lately" class="headerlink" title="What I’ve been up to lately"></a>What I’ve been up to lately</h2><p>This past week I have been quite busied with meeting old and new folks at random coffee shops and restaurants. I’m curious to hear what everyone has been up to. Also, I’ve been a little obsessed with discovering what’s going on with CS50 course, Solidity smart contract programming stuff in general. Watched way to many YouTubeStriking up a conversation with a group of people at a coffee shophttp://yahsin.me/2022/11/15/Nov-strike-up-conversation-cafe/2022-11-14T16:53:27.000Z2022-11-14T17:12:23.071Z<p>I was reading this French contemporary book « Combats et métamorphoses d’une femme » d’Edouard Louis (Seuil, 128 p.,), English translation: A Woman’s Battles and Transformations by Édouard Louis, at a random coffee shop in New Taipei. The English translation was published this summer in August 2022. The original French edition was published a year before in April 2021. </p>
<h2 id="Have-been-reading-a-lot-of-contemporary-fiction-lately"><aHello November | Do you still read blogs?http://yahsin.me/2022/11/13/November-blogs-still-a-thing/2022-11-13T06:26:14.000Z2022-11-13T06:28:01.880Z<h2 id="Do-you-still-read-blogs"><a href="#Do-you-still-read-blogs" class="headerlink" title="Do you still read blogs?"></a>Do you still read blogs?</h2><p>I still read blogs. In 2022. In fact I read blogs regularly, at least a few times a week. I browse headings and sometimes subheadings of Vitalik’s blog <a href="https://vitalik.ca/">https://vitalik.ca/</a> and Dankrad’s blog <a href="https://dankradfeist.de/">https://dankradfeist.de/</a>. I check out what flyinglimao has been up to byGoodbye October! Devcon Swag Fashion, CS50 Lecture 2 Arrays, Problem Setshttp://yahsin.me/2022/11/07/October-Devcon-Swag-CS50/2022-11-07T12:12:22.000Z2022-11-07T12:32:05.063Z<p>Devcon was held in mid October this year. The Bogotá, Colombia Edition. I wasn’t there but I did get some swag. Among the stuff I got, a few items stood out to me. Crypto swag fashion item number one. A black cap. With a beautiful blue and purple Ethereum logo on it. I absolutely love it. I’m wearing it every day now. It’s so perfect for Autumn days in Asia.</p>
<p>Crypto swag fashion item number one. A lovely black tote bag. It came from Scroll (a startup that builds native zkEVM layer 2My last triphttp://yahsin.me/2022/08/20/My-last-trip/2022-08-20T15:03:51.000Z2022-12-19T14:07:17.794Z<p>My last trip was a three-month trip to Europe. During the months of April, May, June and July, I visited several small towns and lots of major cities in Europe. </p>
<img src="/2022/08/20/My-last-trip/europe_11.jpeg" />
<p>I have been to Europe several times since high school, but I wouldn’t say I know Europe well. The last time I visited Europe was some two years ago when I went to a blockchain conference event in Paris.</p>
<img src="/2022/08/20/My-last-trip/europe_02.jpeg" />
<p>I’veUsing MPC to Help Achieve Blockchain Privacyhttp://yahsin.me/2021/11/19/Using-MPC-to-Help-Achieve-Blockchain-Privacy/2021-11-18T16:37:55.000Z2021-11-18T17:15:58.269Z<p>This post answers some of the most commonly asked questions about using multi-party computation (MPC) in blockchains.</p>
<h2 id="What-is-MPC"><a href="#What-is-MPC" class="headerlink" title="What is MPC?"></a>What is MPC?</h2><p>Multi-party computation (MPC) is a cryptographic protocol that does a joint computation involving multiple parties over their inputs while keeping those inputs private.</p>
<p>A famous example of MPC is <aQu'est-ce que tu fais comme travail?http://yahsin.me/2021/04/14/Qu-est-ce-que-tu-fais-comme-travail/2021-04-13T17:59:49.000Z2024-02-01T11:51:52.965Z<h2 id="Qu’est-ce-que-tu-fais-comme-travail"><a href="#Qu’est-ce-que-tu-fais-comme-travail" class="headerlink" title="Qu’est-ce que tu fais comme travail?"></a>Qu’est-ce que tu fais comme travail?</h2><p>Bonjour, je m’appelle Yahsin. Enchantée!</p>
<p>Je suis directrice des opérations dans une startup. Elle s’appelle <a href="https://hashcloak.com/">HashCloak</a>. C’est une startup basée à Toronto au Canada.</p>
<p>C’est une société de logiciels qui fait beaucoup de conseil en recherche etThe Script I Prepared for RxC in the Wild: Social Upgrades in Colorado and Taiwan Online Panel Event Last Monthhttp://yahsin.me/2020/09/14/The-Script-I-Prepared-for-RxC-in-the-Wild-Social-Upgrades-in-Colorado-and-Taiwan-Online-Panel-Event-Last-Month/2020-09-13T17:04:22.000Z2024-02-01T10:30:27.916Z<figure><img src="/2020/09/14/The-Script-I-Prepared-for-RxC-in-the-Wild-Social-Upgrades-in-Colorado-and-Taiwan-Online-Panel-Event-Last-Month/rxcwild_event_feature.png" /></figure>
<p>Below is the script that I prepared for my 10-minute presentation at a recent RadicalxChange online panel event. </p>
<p>Organized by the <a href="https://www.radicalxchange.org/">RadicalxChange Foundation</a>, the 1-hour event, “RadicalxChange in the Wild: Social Upgrades in Colorado and Taiwan,” held on