Into snow- & skateboarding, JSON Patch and Web Components

Joined December 2013
45 Photos and videos
Tomek Wytrębowicz retweeted
Ever wished you had shorthands like padding-x or margin-y? Meet padding-block, padding-inline, margin-block, margin-inline etc! E.g. developer.mozilla.org/en-US/… And as a bonus, they adapt to the writing mode! Support is not amazing, but not terrible either: caniuse.com/mdn-css_properti…
3
18
88
Tomek Wytrębowicz retweeted
21 Jun 2021
If we want to see a more peaceful world, we have to learn to collaborate. Young people shouldn’t follow previous patterns of behaviour. New conditions, like our interdependent, globalised world, require new ideas. Dividing people into ‘us’ and ‘them’ is out of date.
349
5,471
22,521
Tomek Wytrębowicz retweeted
20 May 2021
Don't code today what you can't debug tomorrow.
2
1
26
Tomek Wytrębowicz retweeted

3
18
Tomek Wytrębowicz retweeted
7 May 2021
Oh, another cool custom element we can use! With `<markdown-toolbar>` we can enhance our markdown textarea to help users format text easier! 1⃣ `import '@ github/markdown-toolbar-element'` 2⃣ add the `<markdown-toolbar>` with the buttons you want
4 May 2021
`<two-up>` is a custom element you can use to add a visual comparison feature to any website/app: 1⃣ `import 'two-up-element'` (or use a cdn link) 2⃣ use `<two-up>` around any two HTML elements 3⃣ that's it, enjoy! Web Components are awesome! #useThePlatform
2
15
87
Tomek Wytrębowicz retweeted
I managed to get simple 3D physics working in the prototype for my WebXR game for #js13k. Best part is, I'm not using any extra libs! It's all vanilla JS, clocking in at 9 KB right now. The hand mesh alone is 3 KB so I'm sure there's plenty room for optimization, too.
4
5
59
Tomek Wytrębowicz retweeted
The new era of Web Development is coming! If you would like to learn or improve your frontend skill, take a look at @modern_web_dev 🔝 Built on web standards 🪶 Lightweight 🚀 Low complexity
🎉 We're happy to finally introduce: 🔥 Modern Web 🔥 At Modern Web, we aim to provide developers with the guides and tools they need to build for the modern web. Find out more in our announcement blog: modern-web.dev/blog/introduc…
12
33
Tomek Wytrębowicz retweeted
> The Crew Displays onboard Dragon runs Chromium with HTML, Javascript & CSS. We don't use LESS > ... > We use Web Components extensively who would've thought stuff that need to just work is not hidden behind transpilers and non standard indirections 😏 reddit.com/r/spacex/comments…

4
17
74
Tomek Wytrębowicz retweeted
#webcomponents in space! SpaceX have confirmed the use of Web Components in the Chromium base UI onboard Crew Dragon! They've come a long way since we first started using them on the UI almost 5 years ago now. Checkout the SpaceX reddit AMA: reddit.com/r/spacex/comments…

8
273
797
Tomek Wytrębowicz retweeted
So #JS made it into space! #SpaceX uses #Chromium #JavaScript for the Dragon 2 flight interface along with C for flight computers. JavaScript is not a toy folk, time to accept it. #NASA @BrendanEich space.stackexchange.com/ques…
85
1,398
3,770
Tomek Wytrębowicz retweeted
I think we should just ask Facebook for their "People you may know" algorithm. They solved the contact-tracing problem ages ago.
1
1
4
It is happening 😍
Blink: Intent to Prototype: Declarative Shadow DOM groups.google.com/a/chromium…
1
Tomek Wytrębowicz retweeted
12 Feb 2020
The specification for native image lazy-loading has been merged into the HTML standard! github.com/whatwg/html/pull/… 🎉 Huge thanks to @domfarolino @annevk @zcorpan and many others! About: bit.ly/lazyl
32
1,482
4,004
Declarative Shadow DOM idea is still alive!
11 Feb 2020
New declarative Shadow DOM proposal github.com/mfreed7/declarati…. Adds "shadowroot" attribute to the <template> element. Related discussion at github.com/whatwg/dom/issues….
3
14
Tomek Wytrębowicz retweeted
Wow! ‘Learning to Skateboard in a Warzone (If You're A Girl)', documenting the amazing work of @Skateistan, bags the #Oscar for Best Documentary Short Subject! Check out the trailer. Donations here: skateistan.org/blog/learning…

2
20
32
Tomek Wytrębowicz retweeted
I started freelancing in design/dev at 16, I'm in my early 30's now. I have a young face and many people read me as mid 20's. They expect 4ish years experience, but I actually have 15. Who else has #youngfacesyndrome? What do you do establish your experience and credibility?
35
12
96