Diary on 2024-11-24


2024-11-24 Sunday 🌧️

Last updated on

Programming

Today I worked on creating a GUI application with fyne and golang. I successfully set up the system tray icon and created two windows: one for configuration and another for displaying text. Everything was functioning well until I attempted to integrate with Pipewire. Unfortunately, golang lacks native Pipewire bindings, and PortAudio couldn’t properly manage Pipewire streams. One potential solution involves using C within golang, but this requires additional learning. Rust, on the other hand, offers available Pipewire bindings and system tray crates, leading me to consider learning Rust as an alternative.

儿子学习

上周通过憨爸购买了一套儿童的哲学书,昨天晚上开始读,儿子也感觉很有趣。在这之前我也给儿子买了两本绘本《事实与观点》和《需要和想要》,帮助他思考生活中的现象和想法。中国的教育从来就没有哲学或者逻辑学的训练,我觉得从小进行这方面的熏陶很有帮助,帮助他更好地分析和认识这个世界。读了两个故事,我自己也很有感触,我们那时读书,成绩是第一位的,其他都不太重要,但是我发现这种做法有很大的弊端,很多人缺乏用正确的思维去思考问题。我会一直坚持,新的这套书有6本,有很多故事值得深思,足够我们阅读很长时间了。

之前也购买了一套科普的STEM,给他开始读人工智能,恰逢今年的人工智能发展如火如荼,家里也有一些智能程度较低的电器。这些帮助他认识人工智能的发展。平时他也用人工智能,手机和平板上安装了好几个APP,他总有各种奇怪的问题,很多时候我回答不上来,但AI通常都能回答。完成后,他还能记住。周五他问了“秋天有些树叶为什么会变黄”和“树叶黄了为什么会掉落”的问题,非常有趣,但我们平时都没有注意到,他注意到了并且学到了。

Back to Diary