Did you know that without 0x5F3759DF (magic number) Qake (the game) would not have been possible?
The fast inverse square root is ๐คฏ code popularized by Quake, which at first sight looks like complete nonsense.
Google: 0x5F3759DF
๐งต๐ชก๐งถ
In the pipe, we return a new observable that pushes a loading state, subscribes to our source observable, and pushes either result or error values in the appropriate place of WithStatus interface โ all of these with simple #rxjs operators! ๐ช
๐ ฐ๏ธ #angular tips | A simple pipe that transforms any observable to data โ , error โ, and loading state โณ (together with a refresh action ๐)!
Showing async content has never been easier and more reusable. ๐
Check it out โฌ๏ธ
The basic idea behind this pipe is to wrap any Observable<T> to Observable<WithStatus<T>> which gives us more info about the state: loading indicator when the data is being fetched, error value when something goes wrong, and a result value when the data is successfully fetched.
@AlbertoBasalo maybe I have knowledge from the past, but this thread explains the basics about tokens better than other guides out there, even official one.
Calling all #Web3 devs out there ๐ข
Do not miss our Fullstack #DApp Workshop - hosted by @duimane and @mightymatth from @ampnetio
The workshop will cover the full process of developing, testing, and deploying decentralized apps.
Learn more ๐ https://t.co/DjBb0v97Jo
Ok. Seriously @Tailscale feels like a superpower.
My phone, laptop, tablet, etc are always local to my home network. No need to worry about turning on the VPN and then worrying about all my other traffic slowing down. I should have done this a long time ago.