It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.
Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.
#todayilearned
And remember, if something you learnt was a big win for you, then you know where to drop it as well.๐๐๐ป๐๐ผ๐๐ฝ๐๐พ๐๐ฟ
![The DEV Team](https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F1%2Fd908a186-5651-4a5a-9f76-15200bc6801f.jpg)
![](https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F342975%2F98b7a8ed-aa91-48a3-bcc0-ebe2c13b5893.png)
Top comments (22)
I started reading 'crafting interpreters' and learnt a lot about parsers, interpreters, bytecode and vms. It is a really great read, and having fun reading it :)
For anyone interested, the author has made the whole book available for free in web version.
Awesome!
I learnd how to embedded highlighting for an new language (AQL) to an existing laguages to VSCode.
I never used
>Developer: Inspect Editor Tokens and Scopes
or heard about(?<!-)
and(?=-)
before ๐คฏgithub.com/Alexander89/actyx-vscod...
I learned that GitHub CodeSpaces (online VS Code editor) can be used on any GitHub repository, simply by pressing the period (.) key when viewing a repository's directory.
As far as I know, it only opens in editor mode, not CodeSpaces. twitter.com/github/status/14255058...
Thanks for confirming that. The editor is still pretty cool though.
How the sieve of Eratosthenes works, how to optimize it, and how to code it.
So I wrote about it dev.to/nickymeuleman/the-sieve-of-...
And on my personal blog, where it's adapted from, I wrote a codeblock component that can support multiple languages!
I aspire to one day have a fraction of your gif-chops
I learned that 70% of all carbon emissions are generated by 100 companies (its all coal, oil and gas companies).
That being net-zero carbon emissions is not enough, and having a goal of net-zero set out by 120 countries by 2050 is stupid because we have to be there much earlier.
That we cannot rely on technical salvation and that curbing the efforts reducing emissions today.
That understand climate change has been up to this point to been organized in a digestable manner so us technical folk can quickly adopt climate knowledge, and start applying technical solutions or applying pressure to where its best needed
I gathered enough knowledge about lua to finally try out Awesome (the window manager). I made a theme that looks really nice.
In the process I found out lxsession can be used to fill some of the features that window manager don't handle. It's part of the LXDE desktop environment but I think is a standalone module. The main use case for me is the autostart features, to enable some background services. It has a policykit daemon, and also a "logout menu", and some others stuff. It's cool.
I have learnt how to roll out a local build of Forem and work with it (to start contributing to DEV)
That's awesome! ๐ฅ
I learned writing Clean Code from Uncle Bob. It's a life-changing book!
Nice!
reading the GQL spec and learning the details on how the runtime parses and serializes!
i'm learning nodejs and npm, its so fun and has many things to discover
I have learned the importance of CTA (call to action) buttons and how to design them with pure HTML and CSS
Call To Action button with pure HTML CSS
Atul Prajapati ใป Aug 16 ใป 3 min read