loading...
Cover image for August 13th, 2020: What did you learn this week?

August 13th, 2020: What did you learn this week?

nickytonline profile image Nick Taylor (he/him) Updated on ・1 min read

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.

Dog lying back and typing on a computer

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.

And remember, if something you learnt was a big win for you, then you know where to drop it as well.πŸ‘‡πŸ‘‡πŸ»πŸ‘‡πŸΌπŸ‘‡πŸ½πŸ‘‡πŸΎπŸ‘‡πŸΏ

A show host dancing a winning in their seat

Discussion

pic
Editor guide
 

Made one of my hobby projects open source and deployed it to npmjs. It's an Angular component:
ngx-interactive-paycard gif
github.com/milantenk/ngx-interacti...
npmjs.com/package/ngx-interactive-...

 
 

On this Tuesday and Wednesday, I joined the CyberSec conference in Taiwan.

And I listen to the talks about DevSecOps and Kubernetes security.

It's very helpful for me to have the tutorial guide about securing my DevOps flow :).

 
 

Writing reusable / composable bash scripts. My bash skills went way up this week, post coming tomorrow.

 
 

I finally implemented a vue3 + typescript app with composition api and graphql. Several articles about the experience are comming 🀣

 

Thats really good

 

thanks, It felts so good when finally worked haha

 
 

I learned how to create a Neuphormism form

It’s my first try, hope it’s good

 
 

Definitely deserves a NOICE! gif

 

I started to learn Nodejs this week, one step to backend "dark side", I would love to hear some advice from you guy to go smoothly with that. Beside of that, few practice with sort algorithm. Have a good day

 

Yeah!

A T-Rex saying Yeah!

If you're diving into node.js, Microsoft just released a free course on it this week.

 

Awesome, I definitely will check it out. Big thanks

 

This week i just completed my last project, and get new project too fully backend with fastify and mongodb
Idont learning much this week, i cant doing codewar too, hope next week i can continue my codewar challenge

 
 

todayilearned that you cannot use Blazor (and presumably WASM, too) in a Chrome Extension. After working through the scripting issues with Javascript, the browser refuses to load and execute the WASM.

 

Thinking emojis floating around

Interesting. I haven't done any WASM aside from a simple Rust tutorial and haven't touched Blazor. Maybe it's a limitation of WASM that it's not supposed to run in an extension. Having said that I found this post from 2 years ago on SO with an answer that explains how to make it work. I do not know if this is still the case and also if what they do is considered a good practice.

I've been fiddling with WebAssembly recently, and found a way to make it work. Here are the script files:

main.js

chrome.browserAction.onClicked.addListener(function(tab) {
 chrome.tabs.executeScript(null, {file: "content_script.js"});
});

content_script.js

  var importObject = { imports: { imported_func: arg => console.log(arg) } };
  url = 'data:application/wasm;base64,' + "AGFzbQEAAAABCAJgAX8AYAAAAhkBB2ltcG9ydHMNaW1wb3J0ZWRfZnVuYwAAAwIBAQcRAQ1leHBvcnRlZF9mdW5jAAEKCAEGAEEqEAAL";
  WebAssembly.instantiateStreaming(fetch(url), importObject)
  .then(obj => obj.instance.exports.exported_func());

The…

 

Listen; Summarize; Repeat.

Best way to keep a conversation interesting.

 
 

πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚

 

I learned about AWS code star, Docker Compose, AWS Cloud formation, and Travis CI.

 
 

Learned how to use the Vue testing library! We are migrating an AJS app with 0 tests over to Vue, adding tests along the way πŸ₯³

 
 

On this week I started to use the "GTD" flow with Emacs and it works like a magic!

I will create a post about and how it works.

 
 

This week I started learning MongoDB and Mongoose. It's my first foray into NoSQL databases. It is challenging and unfamiliar but I'll start working on a project soon and google as I go.

 

That's awesome! πŸ”₯

Yes, that's awesome!