Eric Leung

@erictleung
164 Followers
233 Following
162 Posts

data scientist, wikipedia + library evangelist, open-source tinkerer #RStats #Python #DataViz

former work in biomedical informatics and the human microbiome, now doing marketing measurement and experimentation for a media company

other interests: #Education, #Baduk + #Weiqi, #Wikipedia, #Emacs, #Math, #FountainPens

here as an experiment for more ways to connect, reflect, and share my learnings.

Websitehttps://erictleung.com
Wikipediahttps://en.wikipedia.org/wiki/User:Erictleung
GitHubhttps://github.com/erictleung
LocationNew York, NY

Learned about some gardening (specifically chaos gardening) and made a Wikipedia article about it

https://en.wikipedia.org/wiki/Chaos_gardening?wprov=sfla1

Chaos gardening - Wikipedia

been using forest sounds in the background for work. it's been quite peaceful

https://www.tree.fm/

tree.fm – Tune Into Forests From Around The World 🌳🔈

People around the world recorded the sounds of their forests, so you can escape into nature, while in lockdown or unable to travel. Use this site to chill, meditate or do some digital shinrin-yoku.

TIL there's a Towerrunning World Association (TWA) as the governing body to promote stair races of towers across the world

https://www.towerrunning.com/

Home - Towerrunning

Towerrunning
i made a gif of how the cherry blossoms at the brooklyn botanic garden are doing. the past couple of days have been exciting!
fun to see that wikipedia has some fun holiday versions of their logo https://commons.wikimedia.org/wiki/Wikipedia
Wikipedia - Wikimedia Commons

clever use, but for programmers and non-programmers working together, it may help with some troubleshooting, especially when you're adding lines of code here and there and line numbers will change.

not the use case for more coding, but still amazing Python can do this

for a duct tape way of troubleshooting in Python, here's some code to print the line number where this print statement is run

from inspect import currentframe, getframeinfo

print(f"Line {getframeinfo(currentframe().lineno)}")

inspiration: https://stackoverflow.com/a/3056270/2468369

#python

filename and line number of Python script

How can I get the file name and line number in a Python script? Exactly the file information we get from an exception traceback. In this case without raising an exception.

Stack Overflow
Using Glittr.org to find, compare and re-use online materials for training and education https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0308729 🧬🖥️🧪 12 nextflow tutorials, 267(!) for #Rstats, 104 for Python, long tail for Docker, imaging, RNA/ATAC/etc-seq, more.
Glittr.org

Git repositories with educational materials for the computational life sciences

my lightning talk from posit::conf(2024) is up! so grateful to speak at the conference and for it to be my first in-person attendance there #rstats

my talk was about a few lessons my group learned from taking R scripts into production

https://youtu.be/-WpON0JdWJM?feature=shared

R Scripts to Databricks: Lessons in Production Workflow - posit conf 2024

YouTube
Ed Yong's XOXO talk is so worthwhile https://xoxofest.com/2024/videos/ed-yong/
Ed Yong · Videos · XOXO

Avid birder and Pulitzer-winning science journalist Ed Yong built a devoted audience for his deeply empathetic coverage of the pandemic for The Atlantic, while his two New York Times bestsellers, I Contain Multitudes and An Immense World, shared his curiosity about life on Earth at all scales.

XOXO