Confessions of a researchaholic

2026-07-04

Hot run

Filed under: Real — liyiwei @ 5:11 pm
Tags: , ,

For experimentation and token-minimizing I have been running some open-weight LLMs (e.g., llama3.2 for text and qwen3-coder:30b for code) locally on a MacBook via ollama within VS Code. I noticed that long-context tasks (e.g., analyzing a complex codebase and generating a new feature) can take a long time and compute, eventually heating up the device to a hazardous degree, especially under an ambient room temperature over 90°F.

https://www.instagram.com/p/DaXY3tDj8nM/

2026-07-03

A creative fictional news agency

Filed under: Imaginary,Real — liyiwei @ 3:29 am
Tags: , ,

I created this little code repo as a fun exercise of LangGraph for a news agency that generates fictional news articles based on real events. Some of these articles are available on this Substack site.



2026-06-14

The meaning of life II

Filed under: Real — liyiwei @ 8:55 am
Tags:

Biological life forms are evolved to procreate, ideas are disseminated to propagate, and I exist to serve others instead of myself.

2026-05-30

Belongings

Filed under: Real — liyiwei @ 9:40 am
Tags:

Anything that depends on others, can be taken away from us, and is not ours.
Which basically applies to everything, including our life, as we will all die on day.
But we can prioritize them based on their proximity to and controllability by us – mind, body, wisdom, skills, relationships, accomplishments, money, jobs, etc.

We won’t fear losing something if we don’t think it belongs to us.

2026-05-19

Wake-up call

Filed under: Real — liyiwei @ 10:15 pm
Tags:

During a physical training exercise today my sifu pointed out that I haven’t been making as much progress as I should have in all these years, because I haven’t been putting in enough focus and effort.

This triggered me to realize that this generalizes to other areas of my life as well.
I was very motivated and hard-pushing earlier when there were specific goals and expectations, such as getting good grades, attending prestigious schools, getting posh jobs, publishing top papers, and such.
However, as time went by, the goals and expectations became less well-defined and the pushing became less intense.
Eventually I just took it easy and settled into a cruising mode without realizing it.

Thanks to this wake-up call, I am getting back to my previous self, starting from this physical training class, and other areas of my life as well.

2026-05-12

Cheerful, suicidal

Filed under: Real — liyiwei @ 3:42 pm
Tags:

During my morning Caltrain rides I often see a guy waltzing across the train fist-bumping and chatting with passengers. Today I came to meet him again, and I took the chance asking him why he is so cheerful.

“I am suicidal” was his reply.

The conversation was overheard by a nearby train conductor who later brought another conductor towards me and asked me to repeat what I heard. Turned out that they need to report such cases to the police to prevent suicide attempts.

2026-05-10

Remembering professor Hsu-Chun Yen 顏嗣鈞

Filed under: Real — liyiwei @ 5:33 pm
Tags:

Professor Yen was one of my favorite teachers in NTU EE. I really enjoyed his discrete mathematics class and a special project on reading computational theory papers. In my eyes he was a very smart and caring professor. He even went to the same junior high school as I did.

I learned that he has passed away from a recent department newsletter. I couldn’t get a chance to say goodbye to him but I will always remember his kindness and appreciate his teaching and guidance.

2026-04-20

What I realized after visiting 6 art museums in 3 days

Filed under: Real — liyiwei @ 2:41 pm
Tags: ,

There are all these artworks that are interesting in some ways, but few can make lasting impressions and distinctions. Truly groundbreaking artworks often have some fundamental proposals relative to the prevailing styles, such as the impressionism (capture not the details but the essence), cubism (break down the subject into multiple views), and abstraction/surrealism (depict the internal mind not the external world).

https://photos.app.goo.gl/1uYdhNwsqWJADPNK6

2026-04-19

Long wait at FRA

Filed under: Real — liyiwei @ 9:33 pm
Tags: ,

After a calm night at the hotel without having much else to do in the morning after exercise (great pool!) and breakfast, I headed to the airport earlier than usual. This turned out to be a good decision as the immigration lines were very long and only a few agents were present. It took me an hour to get through while witnessing all sorts of complaints and line cutting (from passengers and flight crews), the sheer incompetence of the airport staff, and the indifference of the immigration officers.

A bunch of Indian folks behind me said that they have encountered similar situations in other airports in Europe.

If this is a sign of Europe, I am not sure if anyone wants to visit again.

Next Page »

Theme: Rubric. Get a free blog at WordPress.com