Son Luong Ngoc's Avatar

Son Luong Ngoc

@sluongng

Solution Engineer @ BuildBuddy Bazel, Git, DevX, SRE prev. Alibaba, Bookingcom

68
Followers
177
Following
57
Posts
05.11.2024
Joined
Posts Following

Latest posts by Son Luong Ngoc @sluongng

Preview
a football player with the word patriots on his shirt ALT: a football player with the word patriots on his shirt
09.08.2025 06:32 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
You'll Be Back - Hamilton (Original Cast 2016 - Live) [HD]
You'll Be Back - Hamilton (Original Cast 2016 - Live) [HD] YouTube video by Asaki Takaya

Playing in my head recently πŸ€”
Kinda remind you of somebody on the news, no?

07.07.2025 18:16 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Do keep in mind though that most Chromium builds will blow off the BuildBuddy free tier within a single day. 😬

03.07.2025 05:09 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I think the port should be standard 443. For the header, i suspect you gona need a credential helper for that. We have yet to test Siso but we do have some reclient users.

03.07.2025 05:07 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

> I have reverted all changes to <script1 dot sh> and <script2 dot sh>. I was unable to fix the issue. I recommend you examine the scripts and the error messages to find a solution.

Thanks Mr.Gemini for securing my job... for now πŸ˜…

29.06.2025 09:21 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Gemini in a spreadsheet:
"I couldn't complete your request. Rephrase your prompt and try again."
And the prompt was a pre-made one by Google: "Analyze this data and tell me about any interesting trends or patterns". πŸ’€

24.06.2025 07:49 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I threw the Buck2 repo at 2 popular coding agent services today. And for a brief moment, I felt relieved that I still have job security. ☺️

13.06.2025 17:24 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

That sounds amazing. But what do you think about the quality of those tokens? Is it worth the money?

11.06.2025 09:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What will my Engineering moat be then? πŸ₯²

10.06.2025 17:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

What’s the human/agent commit ratio like in amp?

10.06.2025 16:57 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

The new Apple design language, Liquid Glass, makes sense if you consider AR glasses are on the way and transparent widgets will be way more valuable than Windows Aero. πŸ€”

09.06.2025 19:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Some people: reviewing code is as hard as writing code.
Also some ppl: i use proof of work to shield off AI scrapers.

04.06.2025 11:59 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Full Color AND 3D? This Printer Is Changing EVERYTHING – See How It’s Made!
Full Color AND 3D? This Printer Is Changing EVERYTHING – See How It’s Made! YouTube video by Strange Parts

www.youtube.com/watch?v=3IBM... @strangeparts.com made the best videos showcasing modern manufacturing in China.

02.06.2025 07:40 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Go compiler test showing escape analysis info

import "unique"

type T string

func f1(s string) unique.Handle[string] { // ERROR "s does not escape$"
	return unique.Make(s)
}

func f1a(s []byte) unique.Handle[string] { // ERROR "s does not escape$"
	return unique.Make(string(s)) // ERROR "string\(s\) does not escape$"
}

func gen[S ~string](s S) unique.Handle[S] {
	return unique.Make(s)
}

func f2(s T) unique.Handle[T] { // ERROR "s does not escape$"
	return unique.Make(s)
}

func f3(s T) unique.Handle[T] { // ERROR "s does not escape$"
	return gen(s)
}

Go compiler test showing escape analysis info import "unique" type T string func f1(s string) unique.Handle[string] { // ERROR "s does not escape$" return unique.Make(s) } func f1a(s []byte) unique.Handle[string] { // ERROR "s does not escape$" return unique.Make(string(s)) // ERROR "string\(s\) does not escape$" } func gen[S ~string](s S) unique.Handle[S] { return unique.Make(s) } func f2(s T) unique.Handle[T] { // ERROR "s does not escape$" return unique.Make(s) } func f3(s T) unique.Handle[T] { // ERROR "s does not escape$" return gen(s) }

Go compiler codegen test showing no slicebytetostring call

package codegen

import "unique"

func BytesToHandle(b []byte) unique.Handle[string] {
	// amd64:-`.*runtime\.slicebytetostring\(`
	return unique.Make(string(b))
}

Go compiler codegen test showing no slicebytetostring call package codegen import "unique" func BytesToHandle(b []byte) unique.Handle[string] { // amd64:-`.*runtime\.slicebytetostring\(` return unique.Make(string(b)) }

what do I do when I'm sick/sad?

apparently, add an optimization to the Go compiler to make unique.Make not leak strings to the heap (go.dev/cl/671955), and then also able to do fast []byte -> string conversion like builtin map (go.dev/cl/672135)

behold, copy-free string/[]byte handles / interning

14.05.2025 05:35 πŸ‘ 30 πŸ” 2 πŸ’¬ 2 πŸ“Œ 2

Ok are you suppose to manually calling slices.Clip after appending in a loop and some if statements? That made preallocation impossible, so the only thing left to do is shrink the capacity after the loop?
Feels a bit tedious, but you should get memory free up earlier?

15.05.2025 11:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Not to be cynical but… Chernobyl? πŸ€”

15.05.2025 10:39 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
runtime: green tea garbage collector · Issue #73581 · golang/go Green Tea 🍡 Garbage Collector Authors: Michael Knyszek, Austin Clements Updated: 2 May 2025 This issue tracks the design and implementation of the Green Tea garbage collector. As of the last update...

New experimental garbage collector for Go programs! github.com/golang/go/is...

02.05.2025 18:54 πŸ‘ 123 πŸ” 41 πŸ’¬ 2 πŸ“Œ 2

I try to keep it as read-only mode since there are folks who i follow (i.e econ twit) who have yet to change platforms.

27.04.2025 07:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

New to me: X algo discovered that I am attracted to movies posts. I guess im a film buff now

27.04.2025 06:16 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I love the recent rise in Warcraft 3 popularity. And an open source ladder platform to add on top of it all. πŸ‘Œ

10.04.2025 20:57 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Into the Wilderness Today was my last day at Google.

Today was my last day at Google. It's time to create something new. In the next few months, I intend to evolve the Morel language, realize the SQL semantic layer, improve Calcite, and play more Beethoven piano sonatas!

Read the blog post: blog.hydromatic.net/2025/03/03/i...

04.03.2025 07:49 πŸ‘ 39 πŸ” 2 πŸ’¬ 3 πŸ“Œ 0

If there is a way for me to dictate/supervise a coding AI agent remotely to help me create tiny apps, I think it would be the perfect thing to add to my phone screen time.
"Use this openapi yaml and call the api, then visualize the train positions on The Netherlands map".

04.03.2025 09:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I have told some folks about this, but my social media time has dialed way down in the last 6 months while my sudoku time went way up. It feels like a healthier meal for the brain, detoxing out the poisonous engagement traps.

04.03.2025 09:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

It's the same reaction when I eat too much sugar or fatty food in the same meal. Regardless of how good the meal was, it felt bad and made you want to consume less. It does work well on poor self-control, and more impulsive folks though, similar to children like eating sugary foods.

04.03.2025 08:59 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

My brain needs 2 threads to process each X post: one to consume content and one to speculate if this is genuine or just engagement bait.
The incentive system favors creation but antagonizes consumption. Similar to YouTube, this makes algorithmic feeds terrible for me.

04.03.2025 08:56 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Was learning ebpf this past week, turns out writing ebpf programs kinda reminds me of writing Bazel rules:

- they both have a pretty high initial learning curve. You need to understand the api/framework to be effective in it.

- they both require debugging esoteric error messages.

16.02.2025 00:24 πŸ‘ 13 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0

What is easy enough for an LLM?

12.02.2025 00:51 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I attended her talk at fosdem 2 years ago. She was energetic and inspiring. RIP Nova.

02.02.2025 09:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

FOSDEM!!
Go track!!!

01.02.2025 09:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

On another note, nothing made you feel inadequate than a French man in a well tailored suit.

31.01.2025 11:56 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0