DEV Community

Cover image for August 13th, 2020: What did you learn this week?
Nick Taylor
Nick Taylor Subscriber

Posted on • Edited on

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

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

Top comments (31)

Collapse
 
milantenk profile image
Milรกn Tenk

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-...

Collapse
 
nickytonline profile image
Nick Taylor

Pam from The Office saying Nice!

Collapse
 
peter279k profile image
peter279k • Edited

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 :).

Collapse
 
nickytonline profile image
Nick Taylor

Puppet bird looking through binoculars

Collapse
 
waylonwalker profile image
Waylon Walker

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

Collapse
 
nickytonline profile image
Nick Taylor

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
 
waylonwalker profile image
Waylon Walker
Collapse
 
alvarosabu profile image
Alvaro Saburido

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

Collapse
 
g33knoob profile image
G33kNoob

Thats really good

Collapse
 
alvarosabu profile image
Alvaro Saburido

thanks, It felts so good when finally worked haha

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

Nice

Collapse
 
matteobruni profile image
Matteo Bruni

I learned how to create a Neuphormism form

Itโ€™s my first try, hope itโ€™s good

Collapse
 
nickytonline profile image
Nick Taylor

Noice!

Noice!

Collapse
 
waylonwalker profile image
Waylon Walker

Definitely deserves a NOICE! gif

Collapse
 
g33knoob profile image
G33kNoob

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

Collapse
 
nickytonline profile image
Nick Taylor

Stephen Colbert saying Awesome Sauce

Collapse
 
clark_kien_18 profile image
Clark Kien

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

Collapse
 
nickytonline profile image
Nick Taylor

Yeah!

A T-Rex saying Yeah!

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

Collapse
 
clark_kien_18 profile image
Clark Kien

Awesome, I definitely will check it out. Big thanks

Collapse
 
gcgbarbosa profile image
George C. G. Barbosa • Edited

Listen; Summarize; Repeat.

Best way to keep a conversation interesting.

Collapse
 
nickytonline profile image
Nick Taylor

It's True - Dwight Shrute

Collapse
 
gcgbarbosa profile image
George C. G. Barbosa

๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

Collapse
 
nickytonline profile image
Nick Taylor • Edited

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โ€ฆ

Collapse
 
ashwani1218 profile image
Ashwani Pandey

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

Collapse
 
nickytonline profile image
Nick Taylor

Hot Rod saying Cool beans!