Categories
Software development

Meet the Teachers

Reading Time: 2 minutes

Community night, open house, curriculum night,… the bottomline is, they are all “meet the teachers” night. It’s not as hard as “meet the parents” (I recall there was a movie with that name).

Because of pandemic, last few years, meet the teachers have mostly virtual or drive through, to avoid large crowd etc. And I certainly understand that. Now that it seems things are gradually back to normal, meet the teachers are in person again, which is cool or dare I say, better than the virtual or a few minutes “hey bye” at the parking lot etc.

I noticed Serenity 7th grade Spanish teacher’s new approach, she said instead of the kids memorizing the vocabulary: she removed as much constraints as possible and encourage kids to use the Spanish as much in the classroom as possible. In other words she allows the kids to make tense (past tense etc.) or grammar mistakes. I am familiar with the previous approach she mentioned, because that’s essentially how we learned English in our middle school when I was in China (1980s). In my middle school we wrote the English words everyday, as our counselor said that’s the only way we can remember the spelling. He said this is like a snowball, because on the 1st day we wrote the new words encountered during the 1st day, and then on the 2nd day we need to write both the 1st and 2nd day’s words, and so on. Pretty soon we will have a large sheet of paper. But sometimes we cheated, because we know the counselor wouldn’t examine each page carefully, and one crazy way I learned is one kid wrote via two pens at the same time, in other words, he wrote twice as much if we assume he could wrote as fast.

I think the social studies class is also fun. So instead of memorizing, she asked a lot questions, and encourage kids to research and discover knowledge. The most unusual class, at least I never had when I was in middle or high school, is the industrial technology class, it looks almost like a carpenter shop and it has lots of useful tools, for kids to make things like a wooden clock (I am guessing they buy the electrical quartz clock and battery and put it inside the frame). I also like the leniency policy in Math in which the kids got to retake tests to improve their scores.

The definition of core and elective sort of reminds me of similar categorization in my middle school. I like it here in general. In China during my days English was important course, in recent years, partially due to politics, English was downgraded in terms of importance. Time changes.

I noticed by walking back and forth the classrooms Serenity goes daily, I got half circle of my movement and exercise rings done 🙂

Last but not least, when we are done, I took bus again back to the high school parking lot. Our hard working bus drivers were still waiting and driving. Then I also realized it’s evening time and the teachers and administrators sacrificed their leisure and family time too.

Categories
Life Life Tips

Separation anxiety – parents version

Reading Time: 2 minutes

Background: I went to a boarding school when I was 13. I saw my parents once a month. Society was much simpler then but the change was in the air and in the ground, Ningbo was opened up in 1984, and I saw a lot of earth moving around me. Although foreigner was still rare to come across and our vice provost emphasized “don’t listen to Deng Lijun’s Mimi zhiyin”. I had a fairly strict teacher (counselor), and I could not fall asleep 😴 💤 during 中考and 高考but all in all I survived. I think I had an easier time compared to today’s iPhone generation [微笑]

I thought of the separation anxiety from parents perspective. This summer we dropped off Serenity at Cub Creek Animal Science camp at Rolla, for a week. This is a sleep away no iPhone camp. And in the first two / three days, before I got her email, I was restless. Everyday I checked Bunk1 app and website many times, in which the counselors uploaded their daily activities photos. I turned on the notifications. I also wrote note to Serenity in the bunk1 app or website. Later I learned she did receive it but she has no time or device to reply it from the app. The line for email was long and she had to hurry and that’s also why she only wrote back once.

Yesterday I saw a fellow Chinese parent wrote that they are becoming empty nesters as the 2nd kid just went to college. And for me it will be 10 more years down the road when our younger daughter Sophia is college bound. Now I think my parents may have had similar feelings when they waved goodbyes when we went to schools, and when we came to the USA.

Once in college at Wuhan, it was probably my sophomore or junior year, I told my parents that I am not going home for Spring Festival (Chinese new year). My reason is the crowdedness in the train, as explained here. My mom, who usually does not write to me, wrote a letter and urged me to return home. So I obligated. Note the train is still crowded, once I stood about 15 hours in the train on the way returning school from home, during the Spring Festival travel. I recall the train was so crowded, and there were 7 people in one bathroom (the toilet room). And once a girl walked to the bathroom, asked guys turn around so that she could use the restroom. They wouldn’t oblige. So she has to walk or to be precise squeeze through one more train cabin. I do recall one girl (she is from Wuhan university and Dongyang, one year senior than me), gave me a peeled apple when I stood next to her.

Categories
Fun Life Life Tips

Alcohol

Reading Time: 2 minutes

I started a Twitter thread on Alcohol recently.

I have not finished it yet, and I am in a bit relapse now. But I will attempt to rewrite it as a blog. Or reflection.

I think the most important thing of all, is we need to make sure we don’t get drunk often, or have our lives be influenced by alcohol. That means don’t get intoxicated often and basically we cannot learn in those times. For me this mostly means evenings.

A side note of all this is in the past I modeled my drinking habit or life style after my maternal uncle (my mom’s big / old brother). I recall his motto is he always drinks some alcohol (mostly rice wine) at evening dinner time, and if he does not drink that means he is sick. In a similar fashion I drinks the coca-cola and other sodas because I know Warren Buffett drinks 5 cans of Coca-Cola every day. To be precise Warren drinks cherry coke, and he got almost all of his daily caffeine from coke, and lot of daily sugar and calories from coke. Note Warren Buffett exercises (walks) quite a bit everyday.

The flaw of my logic above is also obvious: I am me, myself, and I am not someone else. I can learn from other’s motto or philosophy, or habit, but I need to assess if that is applicable to me or not. I think for me, I need to consume both alcohol and soda in moderation.

Note the principle above is applicable to work, to many other things in life.

My drinking history

I recall I got drunk twice (maybe more) before 10. Please don’t judge my parents, as there was no legal drinking age in China (I believe this is still the case now, but I did not check recently). I drunk during my uncle’s wedding, and during my aunt’s funeral. In China they are called 红白喜事,and there are usually drinking and food.

My wife’s option on my drinking: perhaps my daughters too. They don’t like me drinking. My wife’s mom passed away due to a car incident (the driver was drunk, note she was not the driver). My father-in-law drinks socially. And sometimes I drunk with him (again note the social part).

I think for now I will give up Whiskey (or any other hard liquors). And consume beer and wine in moderation (not everyday).

Categories
Fun Investing

Rough day and week, student loan forgiveness and math is brutal too

Reading Time: 2 minutes

First: I am happy to say the kids to back to school. In the last 2 weeks before school starts, some days Sophia really got bored, and she let me know that. She asked me to to buy the humming bird feeder, among other things.

I recall the days I shopped at Sears (hint, a while ago, not much since Sophia was born, aka from 2014).

https://twitter.com/JonErlichman/status/1563598300372254720

The stock marker of last Friday and the week can be better summarized in the two tweets below. I do understand the economy usually has cycles and the federal reserve has a tough job to balance the employment and inflation. But at the same time it seems sometimes things are so obvious and I just don’t understand how they could miss the most recent inflation cycle by dismiss it as “transitory”. They are paid to do that job. Or sometimes it’s the politics got in the way? Nobody wants to be the boy who cries wolf coming (and it turns out to be false).

https://twitter.com/WallStreetSilv/status/1563262458764046337

and this one on tech stocks in particular, as they are under assault from the fed raising the interest rate.

https://twitter.com/buccocapital/status/1563549513633386497

I noticed CNBC did another special Friday evening too. Personally I no longer pay attention like I did back in 2008/2009 the financial crisis days. Maybe a good sign as I no longer tune much into the “market turmoil” and I am more calm and doing my own research now.

https://twitter.com/CNBC/status/1165005039586500608

There are tons of tweets, and controversy on the federal student loan forgiveness. Legality, fairness etc. aside, personally I think it can potentially help out quite a few people, and many of them are hard working and earned this. One interesting and probably more meaningful policy is the capping of loan interest and payment tied to a person’s income. Also the WH “this you?” series of tweets.

https://twitter.com/WhiteHouse/status/1562916200866267138

And when I am searching through my tweets archive, I happened to find this one too.

https://twitter.com/stlplace/status/1528560337968152578

As I said in my previous post on compounding, the debt piled up via the snowball effect too. So anything we can do to minimize or reduce the debt, it could have impact on people’s real lives.

Separately, I had discussion with Serenity on student loan too: I said I will pay for her college.

Last but not least, I googled why there is no term limits to the legislators. It seems constitution related.

Categories
Life Tips Software development Technology

App Store unauthorized charges

Reading Time: < 1 minute

In my old job at the credit card 💳 co. I did support for a while and once I spent about 2 hours giving cardholder about 1.3 cents worth of US dollar. Today the roles reversed. Btw, Serenity said she was proud of me (assuming she was complementing I was the cool 😎 guy).

What happened

I don’t check my email that’s associated with appleid frequently because I transitioned most emails out of that one. But on Monday August 15, I noticed something is wrong with my Apple Card as I saw the suspicious purchase: $7.97 for robux, in case you don’t play Roblox, robux is the virtual currency for Robox game. On Tuesday 8/16 I saw one more purchase: $12.98 total, $9.99 for weather – (this is quite scammy as I don’t recall I never bought its subscription), and $2.99 worth of robux.

How I handled it

I contacted Goldman Sachs customer service through the dispute button in the Apple card, and they gave me credit eventually. I also changed the password for the apple id and the email (enabled 2FA). I noticed some tips from Apple regarding kids apple store payment, requirement for password, etc. This is the Apple web page that explains a few ways we can tighten the in app purchase on the devices.

My thoughts

Overall I still prefer Apple music / fitness+ over Youtube Music. Compared to Youtube (owned by google), sound quality on Apple music is usually guaranteed, while some YT music has bad sound quality. Also Fitness+ with integrated music is better than Peloton outdoor.

I wrote a twitter thread on this, btw.

Categories
Life Tips Saint Louis Technology

Back to school

Reading Time: 2 minutes

A checklist for Ladue school parents and guardians

Buy school supplies;

Meet the teacher / community night (bring school supplies if applicable): mainly say hi to teachers and staff, and for the kids to learn where are the classrooms etc. on 1st day;

Adjust kids sleep routine: from summer (no school or no camp) schedule to school schedule, may take a few days or a week;

Adjust grownup routine: from watching kids + work (or the other way), to do more work and maybe some self care (workout, social etc);

Some apps or emails that are likely relevant:

Parent Square (district and schools to parents communication), iOS, Android. Note PS has website too. But app is a bit more handier and performant. Last but not least please take a look at the notifications customization as well (especially the text messages).

MySchoolBucks (lunch money). From this school year (2022 to 2023) on the free lunch money from the government ran out. There is still the reduced fare lunch and so on, please contact the school as applicable. Note to add money to the meal account, we can do it via credit card (CC) on its website (it seems to me we cannot add money via the mobile app), or via check to school district (which I have not done it, please ask each school administrator as needed). Note MySchoolBucks (heartland payment co.) charges a credit card transaction fee.

Email Ladue Schools e-Connect Newsletter (usually weekly) and the paper Newsletter (usually monthly): district wide information such as lunch or construction, or strategic plan. The content is created by the district Communications Office.

SafeStop (instructions here, note this PDF has the code for the district, the one at the school bus website doesn’t): bus tracking, not the best or most reliable app in the world, but considering constructions in some schools the bus may still be the better choice for many families (maybe on one of those days, I can brush up my mobile app dev skills and create a better app 🙂 Btw, the bus information is here. Last but not least, it seems we only need to put in the code once for one device. || A side note, it seems there is delay of tracking the kids moved up in schools (for example, from elementary to FGC), it’s possible we need an manual update in the backend in terms of kid’s school information. || Another way to track kids, especially younger kids, is to use airtag. It seems it’s working because the main thing it needs is other nearby device’s bluetooth capability. Without today’s popularity of smartphone in the school and in the bus, I think it works most of the time.

Last but not least, for Spoede families, the portal of SSA (Spoede School Association) moved to here. The underlying software is used for the LMSPA website we well.

Categories
Fun Java Life

Coffee

Reading Time: < 1 minute

Personal opinion: the coffee from ALDI is pretty good; so was the regular half & half (creamer) from Costco. On the flip side: probably 1st world problem, the store brand coffee from the biggest grocery store in St. Louis 圣村 is not good.

Categories
China

Zero Covid

Reading Time: < 1 minute

Zero covid analogy

A hotel in Sanya #Sanya (below tweet appears since deleted)

https://twitter.com/arafsadventures/status/1559023546793242624

But there are more similar Covid Test scenes.

A building in #Shanghai Yangqu district sudden locked down:

Categories
401k and Personal Finance Fun Life

Probability and compounding

Reading Time: 4 minutes

I came across an interesting probability problem yesterday. It was in Chinese, but I will translate it into English below.

The defensive missile can shoot down the offensive missile successfully 70% of the time. If the defense shoot 3 missiles toward the offensive missile, what’s the probability that they are successful? Think about it for a minute. My approach is shown below:

There is another way. Note in math and many other fields, it’s good to have a second approach for verification purpose. So the second approach goes like this: 0.7 + (1-0.7) x 0.7 + (1-0.7) x (1-0.7) x 0.7 = 0.7+0.21+0.063 = 0.973 = 97.3% (it matches the number above, hurray). Courtesy of my classmate in college (who is likely a math genius in high school).

Let me explain: 0.7 is the probability of hitting target the first time, (1-0.7)x0.7 is for the scenario of first time missing and second time hitting, vice versa for the last one (both first and second times missing) and last time hitting.

So there’s that. 97.3% is pretty high in terms of an outcome actually happening. What if the probability of hitting the target is 50% (roughly the odds of coin flipping, get head or tail). The answer is 1 – 0.5×0.5×0.5 = 87.5%. That’s still pretty decent odds. Extrapolate this to basketball, let’s say a player’s free throw hitting rate is 50%, he or she can be fairly certain (with 87.5%) that 1 point will be scored in 3 attempts. But note everything has a cost, hidden or not. Missile has a cost, free throw has a cost of earning it. I recall 15 years ago, when the NBA player Shaquille O’Neal was at his prime, he has a weakness of free throw. In his career he hits 52.7 percent from the free-throw line in his career (I googled it). And the opponents sometimes would use the “hack Shaq” strategy when he got the ball in the front court. Let’s calculate the probable points he would have made from two free throw attempts, note free throw is 1 point, so 0.527 + 0.527 = 1.054 is the possible score he can get from 2 free throws. I also looked at his career field goal percentage: 2 x 0.582 (2 pointers percentage, I am ignoring his 3 pointers for now, because he was not known for that) = 1.164, so in other words, it seems “hacking Shaq” strategy has some stats to back it for the opponents.

Lottery

If anything, I would like to remind people lottery is a sure way to lose money if we know a bit probability. Use the popular Show Me Cash game as an example, the odds of winning are shown in the web page. Note the ticket cost 1 dollar. If any return below $1 means the player is losing. 1 x 9.6% + 10 x 1 / 102.6 + 250 x 1 / 3386.8 + 50,000* x 1 / 575,757 (the prize is at least 50,000 for this category, I would use 50,000 for simplicity) = 0.096 + 0.0975 + 0.0738 + 0.0868 = 0.3541 so let’s just say 35 cents for simplicity. Other games are similar, with possibility of even lower return (compared to 35% for Show Me Cash). Btw, every time I saw people use a stash of cash to buy lottery tickets at Schnucks or lottery machine, I am shaking my head internally. I understand sometimes people want to try luck, or believe their luck is better than the others, but in math this is not the way to get ahead in life. In my opinion the government should ban the lottery. Below is another tweet on the topic on probability and lottery n Chinese. Use google translate (with some editing from me): when we met with people last weekend and introduced each other, some people said that he had made software for casinos, and that no matter how good the gamblers were, you couldn’t play mathematics… When everyone did with eating, they started to talk about how to achieve financial freedom. My classmate who made casino software said that he is buying lottery tickets every day. I said, didn’t you say that a gambler couldn’t play math against casinos? He said he only buy a little… This tells me that no matter how educated and rational a person is, he can’t resist himself. The fluke mentality…(my comment: talk about psychology and discipline. One thing great about Warren Buffett is he would not bet on small things even if he knows it’s a good bet, again we are talking about discipline: He’s playing golf with a bunch of people and they all bet a dollar on a particular hole. Buffett won’t bet. “Why not, Warren?” they ask him, “you’re worth a gazillion.”He said, “I never break my discipline.”)

Compounding or compound effect

Sometimes called snowball effect. In investing there are a lot of talk on this. It’s applicable to other aspects of life as well, for example, exercise, eat / drink healthy, work, relationships and so on.

There is a reverse side of this effect too, for example, if a person does not eat healthy food, or have healthy life style, for example, drink a lot of sugar water, no exercise, he / she could gain weight pretty quickly too. And the detrimental effect to one’s body and mind will be growing fast as well. I will probably write a separate post on “compounding” in the near future.

PS: the story above on Buffett was a bit different from what I heard earlier. My version says someone offers Buffett a bet that Buffett will likely win. But his answer was similar: he said if I cannot resist the temptation of making $100 quick money, I cannot manage large sums of money.

Categories
China Chinese articles Politics

Weekend thoughts week of 08-01-2022

Reading Time: 2 minutes

iPhone

Health

深度好文:台湾为何与我们渐行渐远?原文作者:廖信忠 (baidu) || I just noticed the article from Twitter. Also noticed A City of Sadness (悲情城市) from the comments. Personally my earlier view on re-union between mainland and Taiwan was shattered after seeing the Russia / Ukraine war since Feb 24, 2022. And it also reminded me of the recent Zero Covid policy implementation and protests in Hong Kong in 2019.

It’s no secret the US and the world are increasingly use drone as weapon, as shown in the recent attack on the former No 2 to Bin Laden, which is quite different from the killing of Bin Laden himself (about 11 years ago).

https://twitter.com/andrey_botea/status/1554551628346273792

I think at least two reasons for that: 1. The technology advancement of drone and its associated weapons, such as the one used against al-zawahiri. 2. In the west, it’s harder and harder for the electorates to see soldiers died in foreign wars or military operations. Those are also reasons the US does not want to directly involve in the Russia-Ukraine war (which btw, the largest military conflict in Europe since the end of WWII), in addition to avoid the direct conflict of nuclear powers. I guess this will come to play in other relevant military conflicts too.

The two mentioned articles:

English: Senior Chinese banker on the mortgage boycotts

Chinese: 王永利:按揭贷款必须回归本原. Quote: 一是住房按揭贷款并不是完全以作为抵押物的房产作为偿还贷款本息的全部保证,贷款银行在处置按揭房产净收入不能完全偿还借款人所欠贷款本息时,仍可以对其进行延申追索,并会因借款人不能偿还所欠贷款本息而被诉诸法庭、列入失信人黑名单等,使“按揭贷款”偷变成一般的抵押贷款。|| This is mind boggling, so in other words, the banks will have recourse against the borrower’s income in addition to the house (apartment) in the mortgage. I think this is different from the west, in which the bank can only hold on the property (not the borrower’s other income), which is different from the government who has the claim in case someone does not pay tax.

I saw another tweet on the China property market.

And last but not least, just for fun: a customized Apple HomePod mini stand. Saw it from somewhere online.

PS, I noticed the US senate just passed the inflation reduction act: and it claims including some climate change funds (in billions). I think baby step is helpful. But the road to combat the climate and environment (aka save the earth) will be long.