"Googling the answer is basically boomer behavior now"

What did you say?

The general process is as follows:

1. Unpack the epub file, clean up any remnants of the Kobo crack, and change the layout from Japanese vertical to a standard left-to-right horizontal format.

2. Scan for the 'p' tag, generate a unique XPath based on the tag, and then extract the HTML and store it in a JSON array.

3. Feed the HTML to the LLM to identify entities by chapter, also generate chapter summaries.

4. Manually review the entity list to determine the names of key characters and items, ensuring consistency in key character names.

5. Translating sentence by sentence based on the above information.

Afterwards, I'm planning to implement automated QA using the LLM to check for translations that do not conform to the XHTML format, and to find mistranslations, omissions, fabrications, and errors in terminology and entity naming.

This way, I don't need to read it from beginning to end; I only need to correct the key errors. Finally, restore the XHTML file based on the XPath, repackage the epub file, and the translation is complete.

By the way, this is a translation of the novel of Chou KaguyaHime.

天空Blond  
大概的流程是: 1. 解包epub,清理kobo破解的残留,从日文竖版排版调成普通的左到右横版 2. 扫描标签p,根据标签生成唯一的xpath,然后将html抓出来存到一个json数组里 3. 按照章节丢给llm识别其中的实体,同时生成章节摘要 4. 人工过一次实体列表,确定关键人物和物品的名...

Even China starts to considering banning social media for under 16s.

I hope now those teenagers can learn about things like tor and i2p, and build their own place on the internet.

I'm no longer 16, but when I was 16, I certainly know that I deserve a voice, I deserve a platform to connect with people and share my life. Nowadays people might be changed and such a platform could be toxic, but I won't say it's the kid's fault.

If I'm still 16, I certainly know I won't stop doing something just because the government said no (unless with good reasons).

This is no longer about banning under-16s from social media.

It’s about control over all information and forcing adults to go through digital ID checks to access the Internet.

Forcing us to submit our identity or biometric data to an array of different providers poses significant privacy risks.

#privacy #freedomofexpression #ageverification #digitalID #onlinesafety #ukpolitics #ukpol

The US economy, currently driven by an AI bubble, is keeping its head above water for now, but it is only a matter of time before everything goes south. If you didn’t experience the 2000 or 2008 crises (I hope nobody sees it), I urge you to take precautions, starting by reducing unnecessary spending. Trim it down. If possible, build 6–12 months of savings to prepare for potential job loss. Avoid buying items on credit. Economic crashes are like harsh mistresses, they do not forgive easily. (2/2)

Show thread

While everyone busy with AI and war news, China set its lowest growth goal (4.5%–5%) since 1991, due to global and domestic challenges. India, the 4th largest economy, also struggles with high unemployment rates. These are warning signs from manufacturing and consumer driven economy of an upcoming disaster. Meanwhile, US growth relies solely on 7 mega companies with AI craze. It is not just China & India, EU, Japan other ex-USA economies are showing sluggish. (1/n)
bbc.com/news/articles/cqxddwl9

That's it. Today is the Lantern Festival, which is also the last day of Chinese Lunar New Year.

Tonight feels like a warzone (sorry for who really in a warzone). It has been years since the last time I heard the sounds of fireworks. Shame on the government for banning fireworks.

Zhajiang (fried sauce), the black/brown thing in the bowl doesn't look nice, but I guarantee you it tastes great.

Combined with noodles, you get Zhajiangmian (noodles with fried sauce), along with all the other ingredients, it's really good. I love my cooking skills.

Show thread

Good lord, Israel and US launched a war with Iran when I was cooking? What have I missed?

But fuck it, I'm gonna end my 25th year on this planet on next month, then start my 26th year.

I might not do anything big and good, but I'm certainly actively enjoying myself doing shit stuff to revenge this society for bringing me here without any of my consent 25 years ago.

Show thread

I can't imagine how I'm gonna live to 50 with my mental health being totally shit.

Show thread

I think I might understand why depression can be deadly.

It started with the thought of the Spring Festival holiday ending soon and having to go back to work, which made me a little sad. Then I realized I hadn't done anything meaningful during the holiday, which made me even more unhappy.

A friend said they wanted to eat noodles (the one with soybean paste, a traditional dish from Beijing) tomorrow, but I couldn't find suitable noodles in Yunnan. The ones sold in supermarkets didn't meet my requirements, so I decided to make them myself. Since it's for tomorrow, I tried a new recipe today, attempting to extend the shelf life by reducing the dough's water content. But lower water content (33%) means the dough will be stiff. I have a Schneider mixer with a pasta attachment, but it seems like I broke it today, probably due to the stiff dough. So, it took me over five hours to make just 1 kg of raw noodles (which, if I was in Beijing, I can just bought it for like 3 USD with 15 minutes walk from my home to the store, round trip). After that, I spent another hour cleaning the kitchen.

Then I felt exhausted, and the broken mixer attachment made me feel frustrated. Just then, a thought suddenly popped into my head: I'm so tired, I don't want to live anymore. It just popped into my head so naturally that there is no alarm about it. Looking back, I think I was basically not looking forward to living. I wasn't looking forward to my friends coming home for noodles tomorrow, nor was I looking forward to resting tonight. If someone had suddenly broken into my place and said he was going to kill me, I probably would have said "ok, just do it".

Of course, soon another part of my brain started screaming that this is not correct, and only then I suddenly realized what terrible things I was just thinking about.

Well, I certainly know there is something wrong with my mental health. But I'm not daring to investigate it (for now).

天空Blond  
我想我可能体会到了为什么抑郁能杀死人。 原本只是想到春节假期马上要结束了,又要上班,就觉得有些难过。又一想春节假期也没干什么有意义的事情,愈发觉得不高兴了。 朋友说明天想吃炸酱面,但云南这边我没有找到合适的面条,超市里卖的都达不到我对于口感的要求,于是就从头自己做了。因为是明天吃,所以今天尝...

I bought a stationary bike and found it much more tiring than riding a real bicycle. A regular bicycle can go downhill for 500 meters with ease, while the stationary bike can't glide at all.

Hopefully I can lose some weight with this. Yesterday I talked to the doctor about the pain in my right knee. The doctor said there is nothing wrong with the knee (for now), just me being overweight and my knee is not happy about that. If I don't start losing weight immediately, there will be serious issues with knee in the foreseeable future.

Luckily no one uses my shit I created as side projects (hopefully)

----
The Internet Was Weeks Away From Disaster and No One Knew
by Veritasium
youtube.com/watch?v=aoag03mSuX

Now I'm using MeshCore, which is much much better than meshtastic.

Show thread

Humanity won't have any hope as long as they are still using python.

I hate python.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.