Joined June 2020
71 Photos and videos
23 Nov 2024
I have setup a time limit for using YouTube on my phone to 1m per day. Just enough time to open the 2FA messages when login in other devices. I didn’t know you can _watch_ anything in that app /s
20 Nov 2024
YouTube is now completely unusable without Adblocker
529
24 Oct 2024
In China absolutely everything has gone cashless but it’s legally forbidden to refuse cash as payment. It’s exactly because of shown in the video, old people deserve to buy their groceries with cash but you also want a functioning store if online services are down.
Old man refuses to comply with cashless store policy 🤣
1
574
18 Oct 2024
I fell in the trap of trying to port TypeScript to a lang that compiles to native. I ported the scanner, it maps 1:1 to what TypeScript does. Please help, because I run it and it works and it gave me the boost I didn’t need to continue with the parser 😂
1
363
18 Oct 2024
To be fair, it’s based on TypeScript 0.8, so I’m 10y behind the latest TS version lol The checker is just about 7k lines so it feels achievable and fun.
237
11 Oct 2024
This is the first runtime commercial I’ve ever seen and it was actually pretty good.
10 Oct 2024
Programming should be simple
4
492
Totally unrelated, but reading all that I somehow can’t stop thinking about Dart lang. You can compile it from Dart (JSSugar-like) to JS (JS0) => JS0 actual type safety at runtime. If only interop with Typescript was simpler.
Replying to @nullvoxpopuli
JS0 -- the minimum JS the engines want to implement JSSugar -- what you're already writing today that is ultimately compiled down to JS0
1
501
Unrelated again, recursive Fibonacci function written in Dart and compiled to JS runs faster than the same Fibonacci function written in plain JS. I suppose there is some compiled-to-JS tail call optimization. I was lazy to check the JS output to see the magic.
1
178
Anyhow, just brain dumping my weekend thoughts.
168
The year is 2030: In a future React release, it’s likely we’ll release our own JavaScript engine since we’ve already patched all the built-ins anyways. 😅🙈
1 May 2024
In a future React release, it's likely we'll patch the Date API during SSR and hydration to prevent mismatches. I expect this to be controversial because people have convinced themselves that patching is automatically bad. Sharing this to provoke you now, instead of later 😇
1
1
1,136
Object.freeze(Date.prototype); I dare you now lol
1
442
28 Oct 2023
This is a functional JS backend server: ``` require('http').createServer((req, res) => res.end('hello world')).listen(3000); ``` Every time I look at newest in the React.js space, there is one more solution for a problem that didn't exist before. Just thinking out loud.
1
2
960
28 Oct 2023
Sure, Meta uses/needs all this features, but is every one building a Facebook-like web app?
484
💡TypeScript #14 🧙A simple way to expose a class' properties as read-only but allowing them to be modified with methods is to make `this` mutable typescriptlang.org/play?#cod…
1
2
26
3,560
I was thinking of getting 1 external monitor. Now I'm wondering if I need 4 external monitors or a  Vision Pro #WWDC23 I could place 1 vscode window on each wall and the side-projects window on the roof (because I'll likely not look at it anyways 🤪)
1
649
30 Nov 2022
Me: OK fine! let's try this AI image makers thing ( All generated with MidJourney v4 )
1
1
30 Nov 2022
Here I tried describing the scene as a part of a movie.
1
1
30 Nov 2022
Oh, let's mix a fire truck and a helicopter 😅 It's 2a.m, this was fun. If this tech was available to me as a kid, I'd have definitely used it for my homework 🤪