Profile avatar
lesleylai.info
I organize two online meetups: @gpvm.bsky.social and Programming Languages Virtual Meetup. lesleylai.info/ mastodon.gamedev.place/@lesley
43 posts 467 followers 215 following
Regular Contributor
Active Commenter

Adopted a new cat. His name is Timo

- Open a potentially interesting blog post - See an irrelevant, ugly AI-generated banner image - Hit Ctrl-w

Next week, we are going to read "Radiometry, part 1: I got it backwards" www.meetup.com/graphics-pro...

This week, we will watch "Lerp smoothing is broken" by Freya Holmér www.meetup.com/graphics-pro...

Rust's `Result::is_ok_and()` method will consume `self`, so I need to add an additional `.as_ref()` if I want to use it. Does anyone know the motivation behind this design? #rust #rustlang

Dec 31st Dec 31st 2016 2024

Added the ability to watch the rays in my path tracer bounce around as an animation. I'm excited about this more from an education POV, I think it helps explain how path tracing works far more easily than I could describe in words

I’d appreciate it if tech writers use fewer words like "easy," "simple," and "straightforward." These terms provide no real information and can only make readers feel stupid when something doesn’t seem as easy as claimed

I spent a few hours creating an end-to-end testing driver for my C compiler project. Initially, I considered using Python but opted for Rust instead. It turned out to be surprisingly well-suited for this kind of "scripting" task. #pldev github.com/LesleyLai/mc...

i've seen too many tech talks/presos that suffer from a few totally fixable issues, and decided to write about it: gpfault.net/posts/gripes...

Next week, we are going to continue reading the PBRT book, this time covering 8.1 Sampling Theory. www.meetup.com/graphics-pro...

I often rely on Firefox's address bar search to look through my browser history. However, I noticed recently that history results were deprioritized, forcing me to search through the history manually instead. Disabling "suggestions" in the search settings resolved the issue. #enshittification

I hadn’t used my Windows machine in a while, and when I came back to it, I noticed that `git status` had become very slow. After some digging, I found that `git status` spends a huge amount of time on the submodule operation. I am still not sure whether submodule is the culprit, though. ☹️

Next week, we'll be reading two blog posts about blue noise by Alan Wolfe www.meetup.com/graphics-pro...

I feel like I've gained an understanding of the Pratt parsing a few times over the years, but I always need to look it up again after a while 😥. Few algorithms strike me as both difficult to grasp and elegant at the same time

A tale of overengineering: I implemented short-string optimization in a `StringBuffer` type. The catch? This project uses arena allocators for everything, so dangling pointers are usually not a concern. However, since the `StringBuffer` data might reside on the stack, I need to be extra careful.

Bitten by strict aliasing (I should know better rather than writing codes like this)

Next week, we will continue reading through the PBRT book, this time about BVH. Note: During group reading events, we go through all the content together, so there's no expectation to read it in advance (though it’s great if you do!). www.meetup.com/graphics-pro...

So Unity recently decided that the tiny startup I dayjob for needed to upgrade to Industry at 5k/year/seat. We had no chance to contest it because they would have killed our only product. They even threatened people we worked with in the past with the same. It's not just us. DO NOT USE UNITY!

Having an influx of followers in the past hour, and I can't keep track of everyone. If we know each other already, please leave a message below, and I'll make sure to follow you back

where are all my programming language developers at

In next week's meeting, we will watch "Beyond White Noise for Real-Time Rendering" by Alan Wolfe www.meetup.com/graphics-pro...

I have a bad memory and struggle with this a lot. And I observed the same phenomenon when I tutored other people, too.

For folks that know me as "the blue noise guy", I've put together a 50 minute video that talks about many of the things I've learned in my ~decade long dive into noise and related topics - up to and including our latest paper published days ago at I3D. Enjoy! www.youtube.com/watch?v=teth...