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
Summarize a concept that is new to you.
Top comments (27)
This week I learned about an awesome package called yalc which has helped make testing an npm package I'm writing a bit easier. Essentially what yalc does is creates a local repo for the npm package you're developing and allows you to "install" it in to another project on your machine. This is easier than trying to troubleshoot symlinks, or dealing with
ng pack
and.tgz
files. I'll write an article on it here in the next few days.Learned a bit more smart contract development.
One moment of insight was: HTTP-gateway providers (Cloudflare, QuickNode, etc) to access a blockchain from a browser are used when no wallet extension is available in the client.
I had the impression they're always used, which was false.
TIL!
Code that illuminated me:
In that case a local gateway is used, probably either for development purposes, or even a wallet that starts such a gateway server locally, but doesn't directly connect with the browser via an extension (like in the first case).
Last week i planned to build my blog in MERN stack.
Things i learned is
1. make the scope of the project as much as you can handle.
2. start bulding as first as possible.
3. don't waste time watching video courses :)
the resoult i got is a blog backend in in node js. couldn't learn React so used ejs to write the html :)
I gotta write an TIL article too LOL :)
I learned that people confuse opinions with facts.
great reaction, keep your distance lol!!!
I learned about the many database services out there, SQL, MySQL, MariaDB, Cassandra, PostgreSQL etc...and there different use cases. Finally seeing how important it is to design your database structure and the importance of choosing the correct database service.
Nice!
This week I've learned about:
I learned a little bit about parsing Rails erb files when putting this PR together.
Add bin script to find untranslated text in erb files #15072
What type of PR is this? (check all applicable)
Description
In hunting down all text that needs translation, I thought this tool might help!
Related Tickets & Documents
github.com/forem/forem/issues/14888
If we merge this, I'll add this to the issue, and socialize this to the contributor community. From a documentation perspective, this seems most relevant because this will be most useful during this stage in the project.
Nice!
This week I learned how to use Github actions to automaticaly update my latest blog posts using gautamkrishnar/blog-post-workflow
I started doing the CryptoZombies course to learn Solidity. It's quite fun!
my co-worker taught me another way to hack alpinejs to make an easy "form"!