Eric Leung

@erictleung.bsky.social

marketing data scientist, generalist, math and library enthusiast, data scientist of the third kind, loves good stationary and pens, low tech enthusiast, open source tinkerer, opinions = mine #rstats

just learned about ediff in emacs. M-x ediff-files n — Navigate forward to the next difference p — Navigate backward to the previous difference a — Overwrite the highlighted difference in File B with the text from File A b — Overwrite the highlighted difference in File A with the text from File B

random reminder of how to do SQL rolling average queries SELECT product_id, sale_date, daily_sales, AVG(daily_sales) OVER ( PARTITION BY product_id ORDER BY sale_date ROWS BETWEEN 2 PRECEDING AND CURRENT ROW ) AS rolling_avg_3_days FROM sales_data;

I've been trying to learn more about machine learning engineering to teach about it and found this nice overview about it. makes sense to be some blend of software engineering, data science, and mathematics, plus some knowledge of your application domain. www.maxmynter.com/pages/blog/b...

Max Mynter - Full Stack Machine Learning Engineer

Max Mynter - Full Stack Machine Learning Engineer. Explore my blog and portfolio. Multiple years of experience in data science, software engineering, and machine learning.

maxmynter.com

I've been using SQL for 5+ years now and only now have been paying a bit more attention. I got some code from a colleague and saw they did a join not using "on". at first I was confused, but learned this is an older standard. the following thread shows the difference. the more you know!

i'm slowly moving my dotfiles from using stow to chezmoi, but also reuniting with my old friend tmux. i almost forgot how to scroll within a window. you can either do Ctrl-b [ (or whatever your prefix is), or set set -g mouse on # >=v2.1 set -g mode-mouse on # <v2.1 superuser.com/q/209437/941...

How do I scroll in tmux?

How do I scroll with either the keyboard or mouse? The tmux man page indicates one must enter copy-mode to scroll. Is there a way to quickly scroll without manually entering copy-mode?

superuser.com

also trying to learn more about causal inference methods. i'm familiar with the statistical rethinking materials on the subject, just need the practice to make it intuitive for myself