These are posts I have written. A lot of them are for self amusement. Feel free to send me a message if you have thoughts or questions. They are written in the Gemini text/gemini format. Then rendered to HTML. The same content is avaliable on my Gemini capsule gemini://gemini.clehaxze.tw [what is gemini://?]. In fact I encourge you view them through a Gemini browser (like this one) for the best experience. An Atom feed is also avaliable.

Latest Posts

2022-04-11: Common Gemini crawler pitfalls

Just like the common web, crawlers on Gemini can run into similar pitfalls. Though the impact is much lower. The gemtext format is much smaller than HTML. And since Gemini does not support reusing the TCP connection. It takes much longer to mass-crawl a single capsule. Likely I can catch some issu...

2022-04-02: landlock-unveil - experimental unveil(2) for Linux

OpenBSD's unveil(2) is a great tool to protect the system in case a program gets compromised. Linux has (almost) nothing like it. You can do something close with seccomp and BPF. But it's waaaay out of the scope for any ordinary developer. Linux 5.13 introduces landlock, which provides more or le...

2022-03-31: Markdown is not context free (or, writing parsers vs perser combinators)

If you visit my blog posts over Gemini[1]. You'll see even though all my posts are written in Gemtext[2]. Due to the high frequency that I need to seperate inline code from text. I still use backticks for code blocks even it's not a standard in Gemtext. It' just feels natural. And so my Gemtext to...

2022-03-27: 如何使用 VR Performance Kit 提升 VRChat 的性能

VRChat的性能有時非常的糟糕。常常地圖不支援 LoD,是路人開著 > 100萬三角形的avatar等等... 我的自認不算太差電腦,Ryzen 3700X + GTX 970 也只能在我的 home world 跑到36 FPS(Quest 2,中間用AirLink + Wifi 6跟主機連線。地圖:Rainy Attic + 鏡子)。 國外的工程師 fholger 也遇到類似的問題,於是開發了VR Performance Kit。在我的主機上由原先的36FPS: 提升到約略維持在72左右。相片中只有54是因為用了遊戲內的相機拍照,導致GPU必須多負荷相機的計算。 如果你...

2022-03-27: How to boost VRChat FPS using VR Performance Kit

VRChat is a great game. Probably the only MMO that is not a RPG (Besides one time my friend mentioned it's actually a MMO*ERP*G. Hehe). However the performance can be absolutely awful. Mostly maps not using LoD or avatars with 1M+ polygons. My PC, running a Ryzen 3700X + GTX 970 can only get a p...

2022-03-20: The design of TLGS's crawler

TLGS is a search engine. Crawling is a very important part of it's oprtation. A crawler must follow links that it sees, retrive the page and follow more links on that page. While writing a basic crawler with DFS is relatively easy. Implementing a crawler that handles concurrent crawls well, runs o...

2022-03-19: clehaxze.tw, my new hybird Gemini/HTTP website

I decided to rewirite both my personal website and my Gemini capsule into a single service... Whoah.. that is so not UNIX. I should have just kept separate servers doing their own thing. But I have (I hope) good reasons to go the other way. Namely I want Atom feed because I want to explore how A...

2022-03-13: Recover from Linux update disaster

Disaster just stroke me today. My Arch Linux laptop suddenly shutdown for no reason during system upgrade. - I'm 100% sure it's not a battery issue, I have like 23% left when I started upgrade - In any case. When I rebooted the system and got pass GRUB's boot screen. It just says "can't find linux...

2022-02-28: Ranting. My problems with C++

I have been really annoyed by C++ recently. I love C++. It gives me the absolute best performance out of all languages with high level of abstraction. But it has so many problems that makes it borderline unusable sometimes. C++ gives me 100% control over very fine details on exactlly when and h...

2022-02-03: RE: Gemini as a fertile frontier for hacking

gemi.dev have a interesting piece of small article I encourage people to read. For me as a search engine developer at leaset. He poses some important questions. This is totally true. The fact that Gemini is the size of early Internet is a blessing for developers. Commoncrawl[1] is a massive com...

2022-01-24: Does a Free and Open Source Metaverse make sense? Ans: Maybe not?

My friends and I are considering to build a FOSS version of VRChat for fun, from scratch. Maybe just in case VRChat disappeared in the future. I trust that we have technical skills to do it. However, that gets me thinking, how would we run this place? It's likely building the software and infrastr...

2022-01-19: A CryptoPunk's Dream

This is my dream. I perfered to be called a CryptoPunk. But CyberPunk will do. Everyone is just a number. That's no a bad thing. No longer we sign contracts and leagal documents with our name. We sign them with private key(s) that we own. Our identities are no longer bounded to ours names. Now we...

2022-01-14: Designing my ideal secure laptop

This is just something I dream of.. And maybe actually build some day, when I have some extra cash or when I switch to a new laptop. The goal is as follows. But to be frank, it's so I can have the peace of mind knowing that no one, not even the CIA or Russian hackers can get into my laptop. I feel...

2022-01-06: Doing better than DuckDuckGo, some ideas

This is my thoughts on Drew's article[1] in which he explains his ideas of an ideal, open search engine. I want to share my thoughts too. Hopefully I'm qualified on writing about this. I am no researcher on related topics. But I do created TLGS. Hopefully some thoughts could help people realize a ...

2021-12-31: VRChat - how the metaverse could be and should be

I am a VRChat[1] player. I know it's very rare. Espically considering I'm on Gemini. Unlike most people on this protocol. I am not a pessimist when viewing technology. I think the Metaverse is a logical nextstep to the internet. But I don't think the one built by Facebook would ever live up to it'...

2021-12-11: Understanding Drogon's threading model

Drogon[1] is a fast C++ web app framework. It's fast in part by not abstracting the underlying threading model away. However, it also causes some confusions in our userbase. It's not uncommon to see issues and discussions about why responses are only sent after some blocking call, why calling a b...

2021-12-01: Runing the Jami daemon - Not missing messages with Jami

Jami is a very cool distributed instant messaging program under the GNU project. The same GNU that brings you GIMP, glibc, Octave and much more. Jami clients communicate through the OpenDHT distributed hash table. However, the DHT only stores your message briefly. Thus, you miss your messages if y...

2021-11-14: On privacy and tech development - Martin's Capsule

Modern software (espically from cooperations) are a privacy concern. Why in the world would a video conferencing program wants to know the spec of my PC and when I'm using it. And it's never opt-out. I think this in an unfortunate fact of competition between tech companies for their market dominan...

Pages:
1 2
Author's profile
Martin Chang
Systems software, HPC, GPGPU and AI. I mostly write stupid C++ code. Sometimes does AI research. Chronic VRChat addict

I run TLGS, a major search engine on Gemini. Used by Buran by default.


  • marty1885 \at protonmail.com
  • GPG: 76D1 193D 93E9 6444
  • Jami: a72b62ac04a958ca57739247aa1ed4fe0d11d2df