Show newer

@freemo oh.. my bad. I did a quick google search and found Python is quite different from JVM. On JVM, a thread is always a kernel thread. On Python, it might or might not be (StackOverflow told me this). So when I initially thought about GIL, I thought it would be act like a monitor lock on JVM, which cause a kernel thread to suspend and have a relatively huge penalty.

And after another goolge search, yes, I do mean statically typed and strongly typed, where you need to declare the type of a variable and cannot change it on the fly.

@freemo ok, thanks, that's some updates to my knowledge base :ablobthinking:

Based on my experience on JVM, when I switched from JVM's native thread to Kotlin coroutines (which is based on threads but is able to share threads, so less thread suspension overall), I got a free performance boost. I assume go can achieve the similar thing. If so, I would say there is a free optimization without largely redesigning the algorithm.

Also, I always prefer strong typed languages when co-op with other developers. Python makes me panic when I don't know what the type of variable x :ablobgrimace:

@freemo @trinsec Based on my limited knowledge of python, the multithreading part is pretty heavy, if I recall correctly, you need a new python process to start a new thread (sounds familiar with JVM :ablobthinking: ). And go is pretty good at multithreading (I mean user-mode threads). If not limited by the IO, I would assume a go implementation will speed up some of the process. Maybe also ease the load on developers, considering go offers some great built-in multithreading structures.

@freemo @trinsec I do hear the matrix developers say there will be a go implementation to replace the slow and resource demanding python version. Is that still in alpha stage?

(As a jealous JVM lover, I don't trust Python 😂 )

I like this pic. It said: If life closes the door on you, then you open it again. That's "doors". And that's what they're for.

In case you're worrying (thank you!), I won't commit suicide. It's going to be hurt, and I'm VERY afraid of pain. But listening to an audio book while riding on a busy road, I got distracted several times and almost crashed into someone's car. You can't predict accidents, so I think it would be better to find someone to keep managing my data, which partially represented my life. Also sending an update of me, in case someone is wondering why this guy didn't post a toot for a long time (if there is anyone who cares).

I don't fear death, and I do want to enjoy my life. Unlike my parent, who will be triggered if I talk about death, I mean, people eventually die, why not tell your last wishes to others before you don't have the chance anymore? But it seems like this does scared my friend.😂

Show thread

I fixed my bike today. I find out riding is helpful when fighting with anxiety.

The front tire keeps leaking, and I replace it, only found out the leaking point is on the inner side. The rim strip has no visible and touchable damage, it shouldn't poke a hole in the inner tire. But anyway, the new tire is fine and the old tire is fixable (assuming I have the right tool).

Today I rode exclusively in the hutongs (aka the alleyways in Beijing). A random thought sneaks through my brain, suggesting I feel like a dementor (yeah, I was listening to Harry Potter during the ride. Specifically, the Prisoner of Azkaban), scraping others' happiness only to make myself feel better. And then post my negative thoughts on the internet and ruining someone else's day (sorry).

Anyway, hutong gives me a unique feeling about life. It's unlike streets, filled with cars and noisy crowds, the people living in hutongs are quiet, peaceful and relax.No matter what happens, people live here for hundreds of years. The fall of the Qing dynasty, the Eight-Nation Alliance invaded Beijing, the Japanese army, the Republican era, the establishment of the PRC, the Cultural Revolution, the three years of natural calamities (the Great Leap Forward), etc. A lot of things happened there. While I am constantly worrying about the current situation, I will be the history, and I was history. I am creating history (despite no one knows every detail about my life, but it does be the past, aka the history).

While I'm getting lost of the constant thinking of my life, this idea gives me some strength. I decided to try another job publishing platform and give it a try.

My friend suggested I should see a doctor, after I left my password to him and told him he will get my laptop and all servers if I died. Maybe he is right, but considering I'm still unemployed with no medical ensureance, maybe next time. LOL

Very interesting waterfall (spectrogram) of a dial up modem connecting. I can even picture where all the sounds come from I remember hearing as a child from the classic dialup connection.

Recently I was being super anxiety about a law approved by the government. This law requires all Android and iOS apps must be approved by the authority before app store, ISP and vendor can distribute, provide internet and include it.

The law is so vague that I assume the worst case is that the vendors have to set a whitelist of package id and/or signature for which app can be granted internet access. Considering the bootloader lock cannot be unlocked (thus no root privilege) and no side-load is allowed (in China, vendors use custom installers that can disabled side-load), I think that will be the worst cast for those who seeking a free internet. It will be much more efficient than the GFW, which works on the transportation layer.

Also, I heard that in some areas, GFW is testing SNI whitelist. If your TLS session's target is not in the whitelist, GFW will cut off your TLS handshake. Not sure about the IP whitelist though. But considering the fact that all domains must be approved by the authority before you can host a website in China, a nation-wide SNI whitelist is not impractical.

I feel hopeless in this country, yet I have families here, and I can't leave.

老中人就喜欢搞恐吓,你不结婚老了怎样,你不生娃老了又怎样云云,似乎结婚生娃都是一种出于恐惧才不得不做的事,而不是出于爱或者希望。在这个前提下生出的孩子,很难说是一个被爱着的新生命,还是一个被拉来当垫背转移恐惧的替死鬼。又不由得想到,我的出生或许很大程度上也以此为前提。不是被爱着被期待着,而是仅仅作为一个存放他人恐惧的容器,并且被告知我可以继续制造自己的容器来减轻这份恐惧。但是不会有了。

「在荊棘中邁向真實自我」:跨性別女性向父母現身之歷程研究

DOI: 10.6251/BEP.202212_54(2).0005 (epbulletin.epc.ntnu.edu.tw/upl)

鑑於現今輔導諮商人員對跨性別族群的瞭解有限,甚至在與其工作的歷程中深感困難。為了能提供跨性別族群所須協助,首先得對其有充足的理解,尤其是向父母現身之議題。對此,本研究以質性訪談深入理解 16 位跨性別女性(年齡範圍為 23 至 45 歲;平均 28.94 歲)向父母現身之經驗,如現身意義、可能困境、及相關因應等,以建構其向父母現身之歷程模式。透過紮根理論分析,結果顯示,此現身歷程分為五階段:猶豫期、自我展現與反覆試探期、現身期、關係震盪過渡期、接納期。現身意義與促進順利現身要素催化著跨性別女性現身歷程的推進,並支撐著其因應現身伴隨的相關挑戰。本研究結果有助深化對跨性別女性現身經驗之理解,並可供輔導諮商人員相關參酌。

下班跟着开了一路搞得我现在特别想吃港点。。。远远都感受到车主对虾饺的热爱🤣

简中互联网是一个正在快速走向堕落和死亡的互联网。难道中文互联网真的不如其他互联网吗?跳出墙内局域网,墙外互联网上仍能找到大量优质中文内容,比如邦联宇宙。
GFW的存在使得简中互联网空有互联网之名,实际上成为闭关锁国的局域网。审查封禁使得简中互联网处于文字狱中,从2009年以来简中互联网社区创造力、内容质量、文化产出量肉眼可见的萎缩。高达9亿的网民数量,简中网站的数量却占仅全球各语种网站的1%左右,甚至不如土耳其语、波斯语和越南语,而且仍在极速下降中。在AI时代中国大陆落后的不仅GPU等专用加速芯片技术落后,不仅AI软件框架,连最基础的土壤——网络上的数据也成为了盐碱地。

UK crime master, LOL.

----
I (Legally) Committed Armed Robbery Against My Sister
by Max Fosh
youtube.com/watch?v=O4nHFQMeGo

@LouisIngenthron then I would recommend github.com/acmesh-official/acm ,it's a simple bash script and can do basically everything certbot can do. And it also supports other CAs.

工信部发布《工业和信息化部关于开展移动互联网应用程序备案工作的通知》,要求境内 App (包括小程序等)主办者对其应用进行备案。

根据文档所述工作安排,2023 年 9 月至 2024 年 3 月为存量 App 备案阶段:「在本通知发布前已开展业务的APP应……履行备案手续」;「在本通知发布后拟开展业务的APP,应……先履行备案手续后再开展业务」。

《互联网信息服务备案登记表》中需备案的信息包括域名列表*、包名/ID、公钥*、MD5*,及 IP 地址列表等。

www.miit.gov.cn/~

* 标 [*] 的项目,表格中标注「小程序、快应用无需填写」。

#China #App

Telegram 原文

Show older
Qoto Mastodon

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