Categories
Software development Technology

High profile high impact outages

Reading Time: < 1 minute

High profile or high impact outage or incidents are just a way of the life in modern internet, or public cloud. The key is to recover quickly from the incident, and learn from those incidents: post mortem analysis, or in some places they do root cause analysis or RCA, and in my personal opinion, RCA is usually useless exercise, both due to the political nature of scapegoating in large orgs, as well as there are usually some unique breakpoints in an incident.

FB

https://blog.cloudflare.com/october-2021-facebook-outage/ (written by Cloudflare, good)

https://www.theguardian.com/technology/2021/oct/05/facebook-outage-what-went-wrong-and-why-did-it-take-so-long-to-fix

Roblox

Below is written by Roblox, and it’s good.

https://blog.roblox.com/2022/01/roblox-return-to-service-10-28-10-31-2021/

AWS

https://www.thousandeyes.com/blog/aws-outage-analysis-december-15-2021

https://aws.amazon.com/message/12721/

Azure (Microsoft)

Slack

Salesforce

Zoom

Categories
Career Software development Technology

Weekly thought 01-22-2022

Reading Time: < 1 minute

I listened to or watched a few interesting youtube video and or twitter space recently. The most significant one is the “storytelling”, I believe this is probably as important as “compounding effect” in investing and life time learning.

Below is the youtube video, how to speak, by Prof Patrick Winston of MIT

Twitter Space (how to tell stories): by Justin Garrison and some others (this reminds me need to write a few war stories when I was working for the credit card company as SRE, biz ops or production support). || Justin also suggested this book: Storyworthy: Engage, Teach, Persuade, and Change Your Life through the Power of Storytelling

This is also in line with Warren Buffett’s emphasis on “public speaking” and I believe he was quite shy when he was young, and he signed up the Dale Carnegie course to improve his public speaking skills: the rest is the history.

======

Second topic I am interested, somewhat related to the story telling, is transitioning and level up in the IT / Software space. This is the twitter space: benefits of dating jobs in Tech. I understand the title maybe a bit hard to understand, but I think the content is good. I did some of that in the past, notably in year 2013, 2014, and 2015. Also did some of that (looking internally) when I was with the credit card co. between 2016 and 2018.

======

Last but not least, I have two good newsletter to share. This English one by Juston Garrison (same Justin as above). There is a subscribe (weekly email option which I recommend.)

科技爱好者周刊 by ruanyf : github; available at WeChat too. Note for WeChat this is just one weekly magazine, I think you may consider subscribe it via WeChat.

Categories
401k and Personal Finance

Competition

Reading Time: < 1 minute

My old daughter Serenity is a sweet girl. She is so sweet so that she doesn’t like competition. I get it I don’t like competition either but if I don’t compete I probably won’t be here. Lots of smart kids in my class of probably 40 in the village elementary school in China in late 70s/early 80s: only two attended college (I was one of the two). Another two attended technical / vacacional school, one became nurse, another eventually became entrepreneur and I heard he is quite successful.

Back to Serenity. She played basketballs in last few years, but again competition is not really her thing. I explained to coach that she is not afraid of competition, or game but it’s not really her nature. So here is the spelling bee competition, I asked her to participate, and she said she already did it when she was 4th grade. Anyway, she is 6th grader now, and I offered rewards for her participation, she said she only need to watch the “home economics” at Hulu (ABC 🙂

Categories
Fun Software development Technology

Teach kids programming

Reading Time: < 1 minute

I am thinking about this, also there was an ask from two parents. Some of the things I think I can start at first class, also some of the things I am thinking about teaching (more systematic).

Starter: raspberry pi (and micro bit), coder master (Sophia’s game), the lego technic motor sets (not coding but interesting STEM toy)

More formal:

JavaScript via khan academy: course; playground

Python :

The old turtle thing, need to make it work on my macbook first, or ask GeLiang for something else)

Just came across this python playground from Justin’s email newsletter: this looks good too.

Below is probably more relevant for online coding interview: codePen (my activity). Now I recall I wrote about it a while ago: Job search advice amid COVID-19 pandemic (Update 05-19-2020)

Categories
Fun Life Life Tips Saint Louis

Youth self defense class at SLMCS

Reading Time: 2 minutes

(Update 01-07-2022) The Chinese school starting date for Winter / Spring semester is pushed out by 2 weeks. So the below class will start on Jan 23rd instead of Jan 9th, 2022. Please refer to the SLMCS class link for more up-to-date details.

(Original) “Youth self defense” class in the STL Modern Chinese school, this will be a new class (https://slmcs.org/Register/classdetail.asp?cid=4202). 5 weeks class from 1/7/2022 to 5/5/2022, on Sundays at noon 12 ~ 12:50 pm (the cost is $120).

I do believe most instructions will be in English, as 3 out of 4 instructors are native speakers, for the one Chinese martial art coach, my expectation is someone will translate as needed.

Here is the Chinese: Youth Self-Defence (girls 12 -16 Yo) 青少年自卫防身训练营 New(SD01A_22S)Note: This class is a 15 weeks class from 1/7/2022 to 5/5/2022 礼拜天 中午12点到12:50 pm (the cost is $120).

结合当前形式,相关资源,SLMCS将于2022年春季学期开设为期15周的青少年自卫防身训练营 — St. Louis Youth Self Defense (SLYSD)。作为试运营,首期将只针对初中女生,年龄限制在12-16岁。明年秋季进入正式运营,可根据情况酌情扩招至其它年龄段和男生。请空手道老师Kayu Lui,麒师父武术学校行麒师父和圣路易著名功夫师父Tim Bruewer 每人针对这个年龄段孩子的特点设计为期四周的防身自卫技击课。其它三周,请来自Clayton Police Department 的Jennifer Schwartz 警官为孩子们讲授自卫的法律规范及其它注意事项。 具体日期安排如下: Jennifer Schwartz: 1/9, 1/16, and 1/23 Kayu Lui : 2/6, 2/13, 2/20, and 2/27 行麒师父 : 3/6, 3/13,3/27, and 4/3 Tim Bruewer : 4/10, 4/17, 4/24, and 5/1 每位教员都将根据自己的优势认真准备教案,所以每一个阶段都将为孩子们带来不同的体验和收获。

And in English mainly using Google translate. Youth Self-Defence (girls 12 -16 Yo) Training Camp New(SD01A_22S) Note: This class is a 15 weeks class from 1/7/2022 to 5/5/2022, on Sundays at noon 12 ~ 12:50 pm (the cost is $120).

Considering the current situation and related resources, SLMCS will open a 15-week youth self-defense training camp – St. Louis Youth Self Defense (SLYSD) in the spring semester of 2022. As a trial operation, the first phase will only target junior high school girls, and the age limit is 12-16. It will enter the formal operation in the fall of next year, and it can be expanded to other age groups and boys according to the situation. Karate teacher Kayu Lui, Master Qi of the Qi Master Martial Arts School, and Tim Bruewer, the famous Kung Fu Master of Saint Louis, each design a four-week self-defense and self-defense martial arts class based on the characteristics of children of this age. In the other three weeks, Officer Jennifer Schwartz from the Clayton Police Department was invited to teach the children the legal norms and other precautions for self-defense. The specific dates are as follows: Jennifer Schwartz: 1/9, 1/16, and 1/23 Kayu Lui: 2/6, 2/13, 2/20, and 2/27 Xingqi Master: 3/6, 3/13 ,3/27, and 4/3 Tim Bruewer: 4/10, 4/17, 4/24, and 5/1 Each teacher will carefully prepare lesson plans according to their own advantages, so every stage will be for the children Bring different experiences and gains.

Email me at minjie.xu@gmail.com or text me at 314 540 2721 if there is any question. Thanks.

References below

How to register at SLMCS

Introduction to the youth self defense class

Categories
Business Economy Fun Saint Louis

Recent Olivette Developments

Reading Time: 2 minutes

(Update 03-09-2025) Irvington Place, Chevy’s 墨西哥餐馆后面的新大公寓在建设中.

Centennial Green Way is breaking around near Indian Meadows Park/Napoleon Blvd near Dielman Road – Feb 2024

(Update: 10-04-2023) The Olive Crossing apartments at Olive and 170 just opened as the Clover luxury apartment. I have a recent YouTube video on this.

(Update: 09-11-2023) Yesterday I noticed the new Hilltop West development: My YouTube video when I walked by yesterday am, the Olivette City Website, and a Zillow link (and developer website, not much info there, by the way). Again I saw quite a few torn down and rebuilt in that neighborhood. The new house in the school district went up probably 50% in the last 3 years. For average wage earners, the salary didn’t go up that much. I recall in the good old days the rule of thumb was that we buy houses about 3 times our before-tax income. So in order to buy a $ 750k home, we need to earn about $ 250k (which is still quite a bit of money for the average worker salary in the St. Louis area).

(Update: 06-22-2022) Besides new apartments below (again The Oliver which is almost done as of June 2022, and The Opus Group Multifamily Redevelopment Project at Irvington and Reyem Courts which I assume will take some time / years or months), there are also two townhouses complex. Hilltop West-attached home redevelopment project and Olivette Townhouse Redevelopment (this is the 35 new townhomes below). (Update 04-01-2025) Irvington Place is taking shape. See my recent YouTube video here.

(Update: 12-30-2021) I heard about this one, but the new 35 townhomes at Dielman and Olive Road are official. Here is the developer’s website. I took a short video here. As of 04-16-2023, I saw earth-moving equipment flattened the surface when I was driving by Olive Road passing the Dielman. (Update 04-01-2025) Looks like it’s going to be 33 units now – see my youtube video here. I am guessing price starts at $750k.

(Original) We can see a lots of new developments, both residential and commercials, at Olivette along the Olive road in last year or so.

Some of the bigger development projects I am aware of: are the Oliver (apartments and some retail), Olive Crossing at Olive and 170(apartments now opened as the Clover luxury apartment, hotels, retail and dining), and the Opus group olivette project. , one of the new neighbors in my neighborhood moved from the last project site (a single-family home sold to a developer and bought a new home in my neighborhood). We briefly discussed the trend of apartments over single-family houses (SFH) in the younger generation. I think it’s also a desire from the city and the developer as well. Maybe the apartments are more environmentally friendly compared to SFH. (Update 09-06-2023) It seems the apartment behind the Chevy Restaurant didn’t take off: all I can see right now is weeds and bushes in that empty lot 🙂

Back to the topic, there are also two smaller projects along Olive Road, the Firestone project (near Price). and the Planthaven commercial center (this is next to the Olivette Shopping Center).

Categories
401k and Personal Finance Investing

Weekly thoughts 12-16-2021

Reading Time: 2 minutes
  1. Looking at the 5, 10, and 20 years chart of $CAT, $LUV and $SPY, then $MA. It seems in 5 and 20 years, $CAT beats $LUV and $SPY, while the 10 year performance was the opposite. Note I haven’t counted the dividend (or dividend re-investing in all cases). Then when I put the $MA in play (note it only has about 15 year history in the market), the above 8,000% performance since its IPO dwarfs all the others. So in other words picking the winner over a long period of time still matters. Note $MA along with other high flyers such as $TSLA, $NVDA, $MSFT, $NFLX, and $MAZN are all doing very well in last 15 years. Note I used the chart functionality inside TD Ameritrade website.
  2. HSA may be a sleeper that a lot of people did not pay enough attention. I am going to be prepared when the S&P 500 index goes down, and switch some of my cash in HSA to the index fund.

3. $BRK.B break out $300 barrier the first time, and reached its all time high. One share of BRK b share is worth 1/1,500 of the A share, btw.

4. What’s the proper valuation for high growth saas stock. Recently I saw someone mentioned the PS ratio (price to sales, or market cap to revenue ratio) to be 1/2 of the revenue growth (year over year). So for example, if $ZM is growing at 20% year over year, we are willing to pay about $40 billion market cap (about $4 b revenue x 10).

5. #FinTwit. I found on twitter, that some people are just too emotional or personally attached to one specific stock or one sector (for example, saas). We need to be open minded if we want to be successful in investing. A good example again is Warren Buffett, a few years ago, he was probably 85, and he piled into Apple stock as he saw the opportunity there (he observed many iPhone is essential part of many people’s lives).

6. Robinhood or meme (or mean) stocks. I had a small position of $HOOD, and this past week the market was brutal to $HOOD, as it dipped below $20 the first time. I noticed that $AMC and other meme stocks rebounded on Friday, as did $HOOD. It sort of confirmed my speculation or hypothesis that $HOOD is a barometer of meme stocks ($GME, $AMC etc #stonks). I also noticed it benefited from the Dogecoin, but the Dogecoin faded away recently. Re: the crypto wallet and technology overall though, I believe $HOOD is much more sophisticated compared to $BKKT, which had rollercoaster ride in last 2 months. Bakkt holdings rewards and crypto wallet solution reminded me the cash app by $SQ (Square Inc, now Block), as I used the offer to get about $10 worth of Bitcoin so far. I am not a believer of Bitcoin or crypto btw.

7. Last but not least, the recent sharp down trend of Nasdaq high flyers, from the $DOCU medium cap #saas high growth to the big tech such as $TSLA, $FB, $GOOGL or $AMZN. I think once a stock in a downward cycle (the right side of the curve, if I may), and the trend is confirmed, the down cycle could continue for a while. The recent examples include 2000 dot.com crash and 2008 financial crisis (great recession). I understand right now we don’t know/. As the old saying does the hindsight is 20/20: we only know when we look backward.

Categories
401k and Personal Finance

Self checkout lane

Reading Time: < 1 minute

The self checkout at grocery store and warehouses. Personally I think Costco $COST got it right, they have plenty of staffs to assist: for scanning as well as alcohol overwrite. Sam’s Club has one staff helping multiple lanes, but it also has a #scanandgo option in its app. /1


The scanning feature in the app works fairly well in my opinion. Local grocery stores Dierbergs and Schnucks have self checkout lanes too. I go to Schnucks more often and have used it’s self checkout many times: and yesterday evening I made a blunder as I had too many items /2


Their self scanning system was not designed to handle more than 10 items, also sometimes it’s hard to scan the bakery 🧁 items in plastic box, as well as meat 🥩 items /3


Now I recall Walmart $WMT has this self checkout feature too. It works fairly well when I used it recently (fewer than 10 items). Last but not least, it doesn’t appear that the self checkout is replacing cashier’s job with machine. For example Costco again, they are relentless/4

On customer service and they have plenty of staffs to cover the self checkout lanes. And I overheard two people talking their hourly pay is $22 per hour. This number is in the high end in St. Louis Missouri /5

Full disclosure: I have some $COST and $WMT shares.

Categories
401k and Personal Finance

NerdWallet ipo

Reading Time: < 1 minute

感觉这个市场还是有些泡沫的. EV 就不说了:昨天傍晚🌆的时候开车时我的七岁小女儿说看到一个Tesla. I was thinking buy a share of $TSLA just now, but I changed to $F instead [呲牙] || Separately I noticed NerdWallet the personal finance / credit card 💳 bonus website went public last week. I worked in the credit card rewards space in the past and I used to get some sign on bonus. But the credit card bonus is a bit like snake oil. But it cannot compare to ev, green, esg, climate action and space x etc.

Btw, some engineering blogs from NerdWallet that I like.

VersionAlchemy: Tracking row changes with SQLAlchemy (VersionAlchemy at GitHub; also the original SQLAlchemy website. Note the former is based on the latter.)

Building a product platform at NerdWallet – Part 1

Building a product platform at NerdWallet – Part 2

Categories
Java Software development Technology

One set of source code – 12 factors app principle no. 1

Reading Time: 3 minutes

For 12 factor application the No. 1 principle is one source code base. Today I was thinking about this topic: one sets of source code for one app, and use configuration for language, region or other different settings for different customers. And this reminded me of some of the articles I read (such as this one: Building a versioned UI deploy system for fast, stable deploys and rollbacks, actually this one “Managing Customer Releases with Feature Flags instead of Branches“, both from Blend Labs, that’s why I was a bit confused 😐 ) and a few apps I worked on in last 3 or 4 years: note those apps include both monolithic, cloud native apps and somewhere in between.

At current place, I noticed one thing odd. We have different code bases for different locale (country) for one of our key apps: basically two sets of code (mostly identical) for apps for 2 countries. This seems to me not good architecture and a bit unusual. Without going into all the details and history (I was new to the team, and it’s also not good to point fingers anyway). So the direct cost I see now is to maintain two sets of code bases (very similar) and two apps: in other words thinking along the lines of the cost of developer, admin and infrastructure and so on.

On the contrast, at a former place I worked at, we have many white label customers, and we serve them on one set of code base and one set of apps (for the most part). All the differences between customers are addressed via System Maintenance (a web based configuration app). Web services for all the customers is running on one app on multiple servers (load balanced). The customer facing website is similar with one caveat: at one time we realized for one country the customer has traffic spikes from time to time, so that app for that country is put on dedicated “overflow” server: still the same code base with the difference in the configuration.

And at today’s world, we also increasingly hear more about multi tenant(s). The scenario I described above, as well as the medium article mentioned at the first paragraph, is along the same lines. And during Covid, at the former place I worked (a healthcare provider, to be more precise, the No. 2 US based hospital chain in terms of size), we developed a Covid screen app, for internal, as well as external customers (for example, Indiana Pacers). At the very beginning, we speed up the development by deploying the same code base to different org / spaces (essentially each customer has its own database). Later on we consolidated quite a bit, by changing the code to handle multiple customers (multi-tenant, if I may). In both cases, the source code is the same. The difference being in the early days, we used more resources because each customer has its own database, and its own app. And there is maintenance headache as well, for example, deployment and validation will take hours.

PS: one more thing. Once I did copy and paste of javascript code because I was not very good at javascript and I did not know how to do either inheritance or composition in js. The downside of doing this is also obvious: if there is bug in the code, we need to change it in 2 places. This is just a small example of why we don’t want to duplicate code.

PS 2: now I recall another company. This company is the No 1. medicaid provider in the nation, and has operations in probably 20 to 30 states in the US. Note medicaid is administrated by the stat, unlike medicare which is administrated by the federal government (CMS). I saw two issues one is re: code and another one is re: infrastructure. So because each state will have its own customization, what they did is they branch out code for each state (so basically a master branch and let’s say 20 branches for each of the state). On the infrastructure side, they scale up horizontally, so basically each state has its own database server (Oracle), and its own application server and so on (this is also dedicated by the source code). So this is their implementation of “multi-tenant”. Not very flexible to say the least. They also have a horrendous interview process and work culture too, which I won’t delve into.