Tristan Gibbs

@tristdev.bsky.social

Creator of websites. Knowledge seeker. Voracious bibliophile 📚. I post about #WebDevelopment, #Mathematics, #DataScience, and related content worth posting about.

I have a pi-day challenge for all the physics students among you (or anyone willing to set up an experiment). If you share your results with me by March 10th, I may feature them in a video, depending on how good the results are and how many I get.

<table> highlighting with CSS :has() 💡 td:has(~ td:hover), /* previous sibling cells */ table:has(td:nth-of-type(3):hover) /* column cells */ tr:not(:first-of-type):has(~ tr:hover) td:nth-of-type(3) { background: var(--highlighted); }

You should be using JavaScript sets more often Now in all browsers and Node - these 7 new set methods are key for when trying to compare two arrays or sets of data.

New JavaScript Set Methods
const set1 = new Set(['wes', 'kait']);
const set2 = new Set(['wes', 'scott']);
Difference
Elements in set2 but not in set1
set2.difference(set1)
> ['scott']
Intersection
Elements that exist in both sets
set1.intersection(set2)
> ['wes']
Symmetric Difference
Elements in either set, but not both
set1.symmetricDifference(set2)
> ['kait', 'scott']
Union
All elements from both sets
set1.union(set2)
> ['wes', 'kait', 'scott']
Is Disjoint From
True if sets share no elements
set1.isDisjointFrom(set2)
> false
Is Subset Of
True if all elements are in other set
set1.isSubsetOf(set2)
> false
Is Superset Of
True if it contains all other's elements
set1.isSupersetOf(set2)
> false

After reading several introductory #statistics #books, my absolute favorite book is OpenIntro Statistics 4th ed. There is a free online version (with other free resources) - as well as physical copies available. Great place to start. Check it out at: www.openintro.org/book/os/

OpenIntro StatisticsOpenIntro Statistics

OpenIntro's mission is to make educational products that are free, transparent, and lower barriers to education. We're a registered 501(c)(3) nonprofit.

openintro.org

🏠 I’m having an Open House! This has become a bit of a tradition for me. Every Black Friday, I select a couple of lessons from my courses and make them public for a few days. This way, potential students can test-drive the content and see if it’s a good fit for them! The doors have just opened. 😄

Introduction • The Joy of React

Welcome, prospective student! This small collection of lessons is designed to give you a feel for my teaching style, and the way the content is structured. I hope it helps give you a sense of what the...

courses.joshwcomeau.com