Does anyone tried this? docs.koog.ai

I think for now LangChain4J is barely usable. It is painful to use. I have built two projects using langchain4j, and I noticed that when dealing with jobs instead of conversations, it is very limited.

I'm thinking if I should give koog a try.

@trinsec yep, although that's a irony in the show. Linus asked chatgpt for linux distros for gaming.

"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

@Candinya 我之前也提过保研来着,后来因为前几年一直对学院领导班子出言不讳,没能保上,后来我也没考研。

国内这环境感觉对毕业生一点都不友好,仿佛那点有待都不想给你。应届生的保质期只有一年,交了社保之后就不可退换了。要么迫于压力找个班上,然后因为没有经验被无良老板当驴使,自己还不敢辞职,因为应届生身份已经用掉了。要么就开摆,家里待着走一步看一步。

应届生的身份过期之后就只能看社招,但是社招很显然并不景气。先前被我遇到的一个公司应了我的社招简历,但能被我遇到的算是什么好公司,一周就把老板炒了

不过我觉得最重要的还是要自寻出路

@trinsec Yeah, you made a good point. Here in China fireworks also kill people. This year a firework store blew up and killed 12 people. And fireworks are expensive (actually this year I didn't buy any fireworks). But still I'm expecting to see it from time to time. Yesterday I saw one that I very much like the color and the shape. But that's the only one I liked from what I saw yesterday night.

I know Japan also has a tradition to set of fireworks on celebration, but instead of letting individual play with the danger, the host will usually handle it as part of the celebration. With a more capable group of people doing it, the fireworks are much more large scale and beautiful. I like this way, but didn't see any mock here in China, which I guess is also a shame.

@trinsec Good to know that. I think here in China, fireworks still have a pretty strong relationship with the lunar new year and celebrating stuff. For urban areas, it's allowed only during the lunar new year, which is about 15 days. However in Beijing and some other places, the fireworks has been banned all year around, so it's pretty boring. Usually we expected to do something unique and different during the new year, when I was young (before Beijing bans them), fireworks are the different thing.

For the animals, well, unfortunately, sorry for them.

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?

@trinsec From another perspective, I think it follows the same old pattern: I did something related to my home/parent, then I feel down.

Should put this into my todo list and figure out later.

Show older
Qoto Mastodon

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