Categories
Stocks

Random thoughts on the stock market

Reading Time: < 1 minute

The stock market has been volatile for a while. Then on Friday it simply gave up.

Personally I sort of sense it coming. I noticed both the drop of AI (semiconductors and related sectors) stocks as well as the topping of stable companies such as Berkshire Hathaway and Coca-cola.

I noticed Caterpillar, had an interesting graph last few years too.

I heard about Caterpillar the company long time ago. Probably in year 1993 2hen I was fresh out of college. I was at a diesel engine company and Caterpillar is one of the largest diesel engine makers in the world.

Market aside, I came across the below post to be interesting and useful.

PS: I recall Sun Microsystem’s Scott McNealy once said this: ‘What Were You Thinking?’

I recall a common valuation method for software company: sales divide by market cap, 10 times is usually reasonable. But also depends on specific company, industry, growth, profitability and cash flow. BSY 的 market cap is about 12 billion: its revenue is about 1.6 billion (market cap is 7 or 8 times of revenue).

Categories
401k and Personal Finance

Investing the money in HSA account

Reading Time: < 1 minute

I have done this for a while. But I still have some money that can be invested – was looking for opportunities to buy when the market dips, but it seems I don’t have a lot of those opportunities since April 2025 and this changed recently, with the downturn of AI bubble busting, as well as the results of US mid term election. One direct result is pushback on the voters push backs on data center buildout.

There was one small mystery recently though. It could be mistake on my own making, and it could also because the rules of the bank. I was trying to put in new money for investing on 11/05, but I noticed the bank sold the investment after buying it. To make the matter slightly worse, I cannot make investment on this particular S&P 500 index fund until a blackout period is over.

I think maybe this fund has a rule that says one cannot make investment more than once in a week. Because on 11/02 I also transferred a bit money from cash to the fund.

There is also a possibility that I accidentally transferred money from investment to cash (instead of my intention of the other way around) on 11/5.

Anyway I am not going to dwelling on it too much – I found a new fund to put in my money – Invesco Discovery Fund Class R6 ODIIX.

Also, regarding the time of buying stocks, I found this tweet interesting and helpful.

Categories
Software development

More usage of Copilot, AI

Reading Time: < 1 minute

I knew AI does a decent job on code review. Recently, I found that AI does a decent job on code analysis. Sometimes I ask Copilot to explain to me how a piece of code works, and sometimes I ask it to make code changes to address an issue, or to enhance a feature, or to implement a new feature.

Be more specific: the other day, I asked why the error code is designed specially. Then Copilot explained to me why, and reinforced the error code and each error.

Another day, I put in the “new requirements” in the Copilot conversation box directly, as I noticed the requirements are fairly AI-friendly. It made the code change per my requirement rightaway.

Yesterday and today, while working on a story, I asked why the error is not bubbling up. It was explained that the main reason was that we are not returning the error messages in the parameter being passed in.

This is powerful stuff.

PS: I noticed Copilot has a preference on using overloading function: function using same time but has different parameters. It’s also a bit particular about sticking to the function name. I tried to refactor/rename functions to my liking, but it reverted back.

PS 2: one thing we noticed it’s a bit harder for Copilot to analyze, or diagnose multi-apps or distributed systems. And I think we can understand some of the reasons: for example, it’s harder.

Categories
Life Saint Louis

Weekend reading and thoughts 10-24-2026

Reading Time: < 1 minute

First, I want to say something related to AI. I have been using Copilot for a while now, and yesterday was the 1st time I decided to take the plunge and used it to write production code directly. It worked well, at least from what I can see. I will definitely use it again to write the production code. One reason I saw the opportunity, is I noticed the requirement is fairly straightforward, and well written. I can use it directly as a prompt. Also refer to my earlier post on Copilot:

GitHub Copilot recent experience

My impressions on Copilot

Anyway, back to the topic, I came across this article Why popular airplanes are getting scrapped years early Notice this word – melancholy.

Also, this YT shorts – in case you are having a bad day by mkbhd.

Also, 10-24-2026, Oh London closes today in Creve Coeur. 10-25-2026, Chevys Fresh Mex closes in Olivette

Categories
America

Performative college application, and performative volunteering

Reading Time: < 1 minute

I was googling “volunteer opportunities for 12 year old” because I expect she to receive an invitation for National Junior Honor Society in Jan 2027, and right now for this school year we don’t have volunteer hours. It’s a bit harder to get volunteer hours for 12 year old due to their age. But here is an article I came across and this picture: St Louis Crisis Nursery caught my attention. I saw at least 12 people were passing the diaper box on stairs – it seems to me for practical purpose, we don’t need that many people. But we need them for photo op or some other reasons (mental health benefits for volunteers).

This is similar for the college application nowadays too. The top schools expect a perfect essay and portfolio for applicants, and that include volunteering too.

Keep in mind I believe most if not all non for profit organizations are doing good, it’s just the way we are organizing or doing things sometimes seems to overly superficial to me. I understand it’s not my job to judge other people or the organization, but sometimes this just seems too obvious.

That being said, I am sometimes guilty of this sort of thing as well. Because I live in the society and I want the best of my kids, and if anyone knows good volunteer opportunities for 12 year old, please let me know as well. You can leave comments below, or email me at minjie dot xu at gmail dot com. Thank you.

Categories
Life Tips

AT&T reward card

Reading Time: < 1 minute

Don’t throw away the mailer from AT&T. I vaguely recall the account manager mentioned this a few months ago before the installation of fiber internet. The debit card (a physical card) came probably a week or 2 after I filled out the claim information on the web. Here is AT&T website. I already used portion of the $100 for my daughter’s Target and Michael’s store trips this morning.

Below is notes are myself:

GMail – “All Mail” doesn’t show spam mail or mail in the “Spam” folder. For Electronic Gift Card sometimes we need to check the Spam folder.

Categories
Music

今宵多珍重

Reading Time: < 1 minute

《今宵多珍重》是一首经典的华语歌曲,有国语和粤语两个主要版本。

歌曲背景与版本

  • 国语版:作于20世纪50年代(通常认为1956年由崔萍原唱,也有部分早期上海时代曲渊源),由王福龄作曲。
  • 粤语版:于1982年由香港歌手陈百强重新演绎,由郑國江重新填词,收录在其专辑《倾诉》中,极受欢迎并成为粤语流行曲经典。 [1, 2]

粤语版歌词(陈百强演唱版本)

(Source: Google AI overview)

Here is 蔡琴 – 今宵多珍重 (蔡琴老歌卡拉OK)

Personally I noticed this song last year, from

今宵多珍重 – 陳百強/蔡琴/崔萍 國粵雙語版 Acoustic cover

to this year’s

你沒聽過的雙語版本 《今宵多珍重》國語+粵語版 陳佳

and

I just noticed or recall 3 other versions, Joanna Wang 王若琳 午夜劇院電影MV完整版《今宵多珍重》HD

周蕙 Where Chou – 今宵多珍重 (官方版MV)

崔萍 – 今宵多珍重 (bedtimecover) | yingz 楊莉瑩

All five singers are younger than me, but I felt all of their performances a lot.

Categories
Music

Chen Jia

Reading Time: < 1 minute

Teresa Chen Jia, Chinese female singer. Jia was born in Beijing,and she was a devoted Teresa Teng’s fan as she grew up, listened to Teresa’s songs, and imitated Teresa singing. Many people think her voice and performance are quite similar to Teresa。She is very good at piano and she also can compose and write lyrics. She has published 17 albums: many of which are very well received.

(YT) 你沒聽過的雙語版本 《今宵多珍重》國語+粵語版 陳佳

Links

Apple Music: Chen Jia; Jia Chen

Spotify 陈佳

YT Music

YouTube: Chen Jia: note this is her only/official YT channel

Wikipedia (Chinese only for now)

Fans’ channel YT (not affiliated from her personally)

ACJ188

🎶音樂資訊台🎶大粒麥

YI LUN CHAN

Playlists

This is a list of her original song (original singer, composer or lyrist)

Her live performances

TBD

I will add a playlist for English songs she has sung.

I will create separate playlists for her Cantonese songs and Mandarin songs later.

PS

I learned about and listened to Chen Jia since last year (2025) actually. Previously I talked about other singers. Most recent article was re: Zhao Naiji

Categories
Software development

GitHub Copilot recent experience

Reading Time: 2 minutes

We have using GitHub Copilot probably for 2 years now. First used as a tool for code view, and then expanded as plug-in inside the IDE (both IntelliJ and VS Code). We can ask all kinds of questions in the conversation dialog. Personally I used it to generate unit test code a few months ago.

While the tool is helpful both in code review and in software (or application) development in general, recently I also noticed two issues, both are annoying. And it seems the issues are somewhat related to what Martin Fowler said in his recent blog post “I don’t like LLMs“.

Issue one: it gave totally irrelevant code review comments. I don’t know where the comments originated from, but the tone it used again reminds me of the Mr. Fowler’s post. For me the only solution is add my comments in the Copilot code review comments and move on. It’s not the only time Copilot code review provided this kind of comments. The overall tone from Copilot is

Issue two: this one honestly stumbled upon me, and took me a while to understand the rationale of Copilot’s mistake. I asked Copilot to fix an issue of “unnecessary mockito stubbing” during unit testing. Note the code was generated by Copilot, and what it does was: to remove 2 lines of code which is not supposed to remove, while the correct solution is to remove the same 2 lines of code in a similar function. The main difference between the 2 functions here is one fucntion is with togglz off, while the other is with togglz on. It kept doing that for a few times, until I realized I can manually do it by removing those two lines in the correct function. I think in this case Copilot still is helpful to me – but this small incident reinforced my thinking of “trust but verify” for AI generated code.

At the same time, I read a bit of “When AI writes almost all code, what happens to software engineering?” (Substack link, I came across it from LinkedIn) by Pragmatic Programmer aka Gergely Orosz. It sounds like he is more bullish on AI or AI generating code. Note the Substack article was written in last Nov or Dec.

Another related observation is, I notice sometimes colleagues would say: let AI do the algorithm or something like that (the implied meaning seems to me is we are not as smart as AI).

One counter argument is: the big tech companies are the ones leading the charge using AI to generating code, but at the same time their code quality sometimes are horrendous, such as the Uber Driver App – e.g., this personal experience I had when I was delivering for Uber Eats.

Last but not least let me share a short talk I came across from my friend and a professor in management science at my alma mater Huazhong University of Science and Technology, as shown below. In Chinese. I assume you can ask ChatGPT or Google Gemini for translations if needed.

Categories
Software development

A reminder to myself: don’t work too hard

Reading Time: 2 minutes

And also pay attention mental health. Personally I felt it’s good for me to walk outside, especially a nature trail, with woods etc.

I came across this article – Indian Man At Oracle Laid Off After 12 Years, Wife’s Emotional Note Viral: “Worked Through Holi, Diwali”. This reminds me of one thing – Over the years I recall I worked twice on Thanksgiving holidays.

Once I was single and really not much complaints, another time … it was probably year 2017, I worked 2 days out of the 4 day Thanksgivings holiday – I was married and have family everything, and I got into a fight with my wife partially due to my work load. I was not in a good mood; and then she told her friend that I was going to China etc. and said that I could do a favor for the friend by bringing stuff from the US to China. I told her that we already agreed that not broadcasting my upcoming China trip to avoid those kind of potential hassles. So I used that as an excuse of being upset: I said to my wife that you were not very considerate, considering that I was working my tail off in last few days. And now you bring in unnecessary/extra task for my China trip.

Looking back this is not a really super important issue (do friends a favor). But working itself has added some pressure to me, and working extra hours and especially during holidays not voluntarily is something I want to stay away from. Because relationship with my wife is much more important than work, at least in theory it is. I think because at that time I was the main breadwinner in the house, my job has some extra pressure. It’s still being that way for the most part, in last 10 years or so, my wife did start working, but I think I am still the main breadwinner. I hope over the time (in the near future) I can have other income in addition to work my 9 to 5 job: I am still working on that aspect too – not blogging for sure. But something else.