Alrik Zachert (@4lrik) header
Alrik Zachert (@4lrik) profile picture

Hacker πŸ€“ & Founder 🀡: https://xitter.cf/t.co/MctrnNmUhb πŸŽ‰ https://xitter.cf/t.co/hlktaf069H πŸ–ΌοΈ

Berlin, Germany
Joined February 2013
πŸ€¦β€β™‚οΈmodern stupidity: I was moderating an online planning poker session, so i was sharing my screen. When it was up to me clicking on the card, i covered my screen with my hand 🀣🀣🀣
Passing down props in a huge component tree can feel so dull. @dan_abramov Is there any disadvantage of using spread operator to pass props into a component in JSX? (except worse IDE autocompletion support)
4.1 + 0.1 < 4.2 === true #omgjs
Alrik Zachert retweeted
Python took the silver from Java this year, becoming the #2 most popular programming language on GitHub by repository contributors. C# and Shell climbed the list, too. See what else is on the move in the #Octoverse report. octoverse.github.com/
32
677
66
1,715
οΌΏοΌΏ γ€€γ€€γ€€γ€€γ€€οΌοΌžγ€€γ€€γƒ• γ€€γ€€γ€€γ€€γ€€| γ€€.γ€€ . l γ€€    /` γƒŸοΌΏxγƒŽ γ€€γ€€ γ€€ /γ€€γ€€γ€€ γ€€ | γ€€γ€€γ€€ /γ€€ ヽ   οΎ‰ γ€€ γ€€ β”‚γ€€γ€€|γ€€|γ€€|  / ̄|γ€€γ€€ |γ€€|γ€€| γ€€| ( ̄ヽ_ヽ)__) πŸ• γ€€οΌΌδΊŒγ€
Retweet to feed the cat a slice of salmon. γ€€γ€€γ€€γ€€γ€€γ€€ οΌΏοΌΏ γ€€γ€€γ€€γ€€γ€€οΌοΌžγ€€γ€€γƒ• γ€€γ€€γ€€γ€€γ€€| γ€€.γ€€ . l γ€€    /` γƒŸοΌΏxγƒŽ γ€€γ€€ γ€€ /γ€€γ€€γ€€ γ€€ | γ€€γ€€γ€€ /γ€€ ヽ   οΎ‰ γ€€ γ€€ β”‚γ€€γ€€|γ€€|γ€€|  / ̄|γ€€γ€€ |γ€€|γ€€| γ€€| ( ̄ヽ_ヽ)__) 🍣 γ€€οΌΌδΊŒγ€
πŸ‘»πŸ˜‚
for halloween, I'm coming as the technical debt ticket you've shoved in the backlog for the past 6 months
1
5up3r c001 πŸ€ͺ
// WR1T3 C0D3 // L1K3 4 H4CK3R // !!11! with (l33t()) { c0ns0l3.w4rn('l33t'); al3rt('w00t'); } function l33t(p=this){return new Proxy(p,{has:()=>!0,get:(t,n)=>(p=Reflect.get(t,String(n).replace(/\d/g,a=>'oizeasGtBg'[a])))?p.apply?p.bind(t):l33t(p):p})}
1
App: Boom QA: Did i do something wrong? Me: You did a good job.
Thats really nice 😍
I'm in love with @FirefoxDevTools telling me my CSS won't have an effect. Saves me so much confusion. Thank you @FirefoxNightly!
An episode of me wasting my time in chrome dev tools. This time: fighting some eye cancer of an ancient decade.
1
Tip – you can object-destructure Arrays: const {0:x, 2:y} = ['a', 'b', 'c']; assert.equal(x, 'a'); assert.equal(y, 'c'); Why does that work? Array indices are also properties. exploringjs.com/impatient-js…
9
69
3
334
Alrik Zachert retweeted
Listen to Axel, y’all. Don’t focus on manual micro-optimizations, instead write readable code and let JS engines do their job!
1/ Thoughts: – Which construct performs best often varies between engines and even per engine, over time. – More often than not, there is no need to worry about micro-optimizations: Use what’s most elegant and use common patterns (=increases chance of engines optimizing).
2
40
1
196
CSS translation can lead to strange gaps between inline elements within container. see jsfiddle.net/1zs5Lw4f/ Any ideas how to fix this? @xMartin @B4R4N64 @_mzdr
Object-fit/background-size cover blows up PDF files πŸ’£πŸ˜² Print > save as pdf this example, creates a 10.7MB PDF file from a 900KB source image. Omitting the object-fitting results in a slim PDF of just 0.9MB! jsfiddle.net/e4mkcuq0/ @firefox @ChromiumDev
Alrik Zachert retweeted
Replying to @danvdk
@danvdk Yesterday i did some refactoring of a react app. using your awesome github.com/danvk/source-map-… helped me to find the sweet spots.😎 After 3hrs of investigation: package size reduced by 450% | app loading time halved🀩
Really bad things will happen in quirks mode. Never ever forget about web dev's 15 most important chars: <!doctype html>. I spent 2h figuring out why 2 identical dom-trees rendered so different. #HTML #webdevelopment #standards
2
1
How good! 🀣 But I totally missed some randomly positioned CTAs.
How to piss off every designer ever. userinyerface.com/
1
I see lots of broken images, all across @facebook. Is it me, or is it you?
Alrik Zachert retweeted
Hello world, I give you Zdog 🐢 zzz.dog Round, flat, designer-friendly pseudo-3D engine for canvas & SVG
152
5,182
357
21,145