RSSAmplifier

Blog

Home on Today I Learned

Recent content in Home on Today I Learned

localhostRSS feed ↗6 posts

Latest posts

regex101 URLs with pre-filled values

It’s possible to link to regex101 with pre-filled regular expression, flags, and test string, as well as pre-selected flavor/engine with these undocumented URL parameters: code snippet start

Private Go modules in GitLab CI/CD

This took way too long for me to figure out, so here&rsquo;s how to install private Go modules in GitLab CI/CD pipeline jobs: netrc and GOPRIVATE Add the following to the jobs that require installing dependencies and replace <namespace> with your organization or username which hosts the private Go modules:

Highlight syntax in Go templates

Go template files are often named example.html.tmpl or example.md.tmpl to indicate they’re templates for specific formats. However, the .tmpl extension can prevent Neovim from highlighting the underlying syntax, making them harder to edit. Here’s how to configure Neovim to highlight these files correctly: Create the file ~/.config/$NVIM_APPNAME/syntax/gotmpl.vim with the following content to…

Seventeen Going Under

See, I spent my teens enraged Spiralin&rsquo; in silence And I armed myself with a grin &lsquo;Cause I was always the fuckin&rsquo; joker Buried in their humor Amongst the white noise &mdash; Sam Fender, Seventeen Going Under (2021) When I was seventeen, it felt like the whole world was going to end. I was probably the only sexual minority in town that I knew of, and the headteacher asked that I…

An Evolution of Learning to Rank

First Thing First Enigmas of the universe Cannot be known without a search &mdash; Epica, Omega (2021)

Home

Hi, I&rsquo;m Yuan, a machine learning engineer at DoorDash working on search ranking and query understanding. In my former life as a computational cognitive scientist, I studied common sense causal and social reasoning, for which I received a PhD from Berkeley in 2022. My passions in life: Machine learning (ranking, generative models), cognitively inspired AI, climbing, metal guitar, hot pot, and…