Better HN
topnewbestaskshowjobs
Log inSign up

zhxiaoliang

76 karma · joined May 2, 2026 (6mo ago) · 45 submissions

Submissions

comment 3mo ago · link · parent

I looked into my ad profile section and saw that I was worth nothing... I'm not sure if I should be happy or not.

comment 3mo ago · link · parent

The render of the HN page looks close at first glance, but the engine clearly does not support SVG yet - those tiny arrows are all missing. Also it renders "Hacker News" on the header garbled with overlapping texts so it seems that the text-shaping engine lacks a proper inline box model. I would also be interested in seeing renders of more modern pages.

comment 4mo ago · link · parent

Typst taking 300ms to do 300 pages cannot be seen as 4FPS - you don't treat the sum of 300 pages as single frame, LOL. And laying out a single paragraph is not 1ms for a whole document either. The paper is otherwise pretty good, but these rhetorics are probably not necessary, IMO.

comment 4mo ago · link · parent

The site has an elegant design and exudes a calming, inviting atmosphere.

I came across a line in the Social Contract that caught my attention: “The platforms that dominate today have drifted from their original promise. Feeds are flooded with content from accounts no one follows.”

I respectfully disagree with that. IMO the problem lies in the opposite direction. The content we see on these sites is driven by algorithms that reward popular posts and influencers. This creates a system of “stars” and “fans,” which does not foster genuine connections.

The original internet promised to give equal voices to all and allow users to see things they might otherwise miss. When I encounter a new social network like yours, especially one as elegant as this, I secretly hope it will restore that original promise.

comment 5mo ago · link · parent

I enjoyed the design.

comment 5mo ago · link · parent

Yes, I agree that nerds still exist… I myself am one, LOL. But there are so much noise out there that our voices can no longer be heard. :(

comment 5mo ago · link · parent

The nerds era is gone. Welcome to the era of super-villains and self-entitled smartasses.

comment 5mo ago · link · parent

Haha, for some reason when phrased like that I get a bad feeling about the outcome of the interview.

comment 5mo ago · link · parent

I’m not sure if that strategy still works in today’s job market. It might still be, but I’m not the one to answer since I haven’t been on a job interview in quite some time.

comment 5mo ago · link · parent

Yes, but it feels like yesterday...

comment 5mo ago · link · parent

The author’s memory is remarkable. I hardly remember my own name that far back, LOL. Back then, I knew I would always struggle with those types of interviews, so I always carried a floppy disk with me to them. The disk contained a few programs I had written, and I would simply tell the interviewers, “Don’t give me a quiz. I’m terrible at it, so if you do, I’m out.” However, if they were willing to look at my capabilities, I would share a few of my programs. That approach actually worked most of the time and got me the jobs. The good old days!

comment 6mo ago · link · parent

Yes, it’s a late addition to that library. The dancing text demo uses the “weighted exclusion” feature of the VMPrint engine, which essentially creates an object composed of horizontal bars. However, the engine also offers another mode that constructs exclusion objects by combining primitive shapes like circles and polygons. This “stick” demo demonstrates that. In doing so, I added a small set of APIs to allow programmatic control over these primitive parts, which essentially turns this into a rudimentary rigging system. I’m uncertain about its practicality in real-world applications, but it was interesting to observe.

I’m glad that you’re trying the Layoutmaster library in your projects. You can also feed it video with a predominantly white background (or any other solid color). Additionally, the video can contain multiple objects, and the algorithm treats them uniformly.

comment 6mo ago · link · parent

Thank you! This can make it quite easy to create demos like those “dragon swimming through text” animations that became popular recently. I had no idea what other real-world applications we could use it for, but it was fun to be able to do it, LOL.

comment 6mo ago · link · parent

That’s a cool story! Thx for sharing. Back then programming was rough, but the sense of accomplishment from completing even simple tasks was real and rewarding.

comment 6mo ago · link · parent

Thanks for the help and clarification.

comment 6mo ago · link · parent

It's strange that happened. I had no issue loading it on my iPhone 16e in Safari or Chrome... Could it be somehow your browser prevent Javascript from loading?

comment 6mo ago · link · parent

I did not make the demo specifically for mobile browsers, but it does work rather well on my iPhone 16e with Safari and Chrome. I also tried it on my Pixel 10 and did not encounter any issues. The library itself is tiny ~250K so it should load right away.

comment 6mo ago · link · parent

LOL sorry my bad. Should have been more specific. It’s a demo of my layout library. The stick figure is made with a few primitives to form a so-called exclusion assembly which causes texts to flow around them. But what’s unique about it is that these primitive parts can be controlled independently via programmatic control. This turns them into a little rig essentially. I thought it was funny and could be even useful so I shared it.

comment 6mo ago · link · parent

The Web is dead anyway. It never became the movement we dreamed it would: the democratization of information, communication, and expression.

comment 6mo ago · link · parent

You can use primitive exclusion assemblies to create a rig and programmatically control it to animate a layout in Layoutmaster.

21.

"Stick" – A primitive/fun interactive demo of a tiny rig to animate layout(cosmiciron.github.io ↗)

55 points · by zhxiaoliang · 6mo ago · 15 comments

comment 6mo ago · link · parent

It goes to show that success often has little to do with the quality of one’s work. Ultimately, it all boils down to the circles one belongs to. If you don’t fit in, you don’t even get a chance to showcase your work, whether it’s AI-generated or not.

comment 6mo ago · link · parent

I feel it's also partly due to the poisonous online culture today. Negativity always prevails, and the loudest voices are the ones that get heard. Showing appreciation has become old fashioned, and creators feel the pressure to “market” themselves or risk being silenced by online platforms or drawn into the noise. It’s simply exhausting.

comment 6mo ago · link · parent

Yes. It was 1993 -- there was no Internet to search for anything. The manual that came with Visual C++ could fill a small library, and the program itself came on two dozen floppy disks. And me being a not-so-bright junior programmer didn't help either.
12