It was great to talk about reproducible workflows for @riotscienceclub @riotscience_wlv. You can watch the recording below, but if you don't want to listen to me talk for 40 minutes, I thought I would summarise my talk in a thread:
Thank you again @JamesEBartlett for a fantastic talk (with a really nice personal touch) on reproducible workflows!
— RIOT Science Club Wolverhampton (@riotscience_wlv) February 16, 2021
Thanks especially for the co-leads @IMLahart for co-hosting and @DrManiBhogal for nabbing James!
Slides: https://t.co/CNqxzOhch1
Video: https://t.co/YjHEHuRJlz
Why are lunch breaks important for #code?
— Dr Rebecca Hirst (@HirstRj) February 11, 2021
If you can't remember what your variable names refer to after lunch, you sure as hell won't remember in 3 months.
More from Science
It's time, my friends 🤩🤩
[Thread] #ProjectOdin
The Alliance has Project Odin ready to go - the new quantum-based internet. #ElonMusk #QVS #QFS #ProjectOdin
— Der Preu\xdfe Parler: @DerPreusse (@DerPreusse1963) January 12, 2021
https://t.co/fO90N78fta
new quantum-based internet #ElonMusk #QVS #QFS
Political justification ⏬⏬
#ProjectOdin
#ProjectOdin #Starlink #ElonMusk #QuantumInternet
#ForNature @JohnKerry
Blue whales threatened by ship collisions in busy Patagonia waters
— James Mitchell \u24cb\U0001f42c (@MesMitch) February 1, 2021
Endangered giants face potentially fatal encounters with the 1,000 daily fishing vessels moving through main feeding area off Chile, scientists warn\U0001f43b\u200d\u2744\ufe0f@WeDontHaveTime
#ForNature @JohnKerry
You May Also Like
Legacy site *downloads* ~630 KB CSS per theme and writing direction.
6,769 rules
9,252 selectors
16.7k declarations
3,370 unique declarations
44 media queries
36 unique colors
50 unique background colors
46 unique font sizes
39 unique z-indices
https://t.co/qyl4Bt1i5x
PWA *incrementally generates* ~30 KB CSS that handles all themes and writing directions.
735 rules
740 selectors
757 declarations
730 unique declarations
0 media queries
11 unique colors
32 unique background colors
15 unique font sizes
7 unique z-indices
https://t.co/w7oNG5KUkJ
The legacy site's CSS is what happens when hundreds of people directly write CSS over many years. Specificity wars, redundancy, a house of cards that can't be fixed. The result is extremely inefficient and error-prone styling that punishes users and developers.
The PWA's CSS is generated on-demand by a JS framework that manages styles and outputs "atomic CSS". The framework can enforce strict constraints and perform optimisations, which is why the CSS is so much smaller and safer. Style conflicts and unbounded CSS growth are avoided.