DEV Community

Cover image for March 31st, 2022: What did you learn this week?
Nick Taylor
Nick Taylor

Posted on

March 31st, 2022: 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.

Image of the brain

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.

Discussion (34)

Collapse
naveennamani profile image
naveennamani

I learnt to deal with CJS vs ESM, and migrating from CJS to ESM. And also about vite plugins, roll-up build configuration and something more.
dev.to/naveennamani/using-vite-plu...

Collapse
nickytonline profile image
Nick Taylor Author

BB-8 giving a thumbs up

Collapse
deciduously profile image
Ben Lovy

By default, bash hashes the location of executables you call the first time you run them. This means that if you place a different version with the same name at some location in your $PATH even with higher precedence, you'll still get the first one by default. You can toggle this off with set +h.

Collapse
nickytonline profile image
Nick Taylor Author

TIL!

Today I learned

Collapse
cmgustin profile image
Chris Gustin

In Javascript, document.designMode = “on” will allow you to edit the text on a web page like you would in a Word doc.

Huge timesaver if you want to mock up content changes quickly, drop that in the console and edit away.

Collapse
nickytonline profile image
Nick Taylor Author

Dog from GoT with friend chicken

Collapse
thomasbnt profile image
Thomas Bnt

Saaaass ! 😁

For my next project on my training, I need to create a simple website on mobile first with SASS.

Collapse
juniordevforlife profile image
Jason F

Look in to how Sass mixins might be able to help you out with handling media queries.

Collapse
nickytonline profile image
Nick Taylor Author

Nice!

A kangaroo playing an electric guitar

Collapse
ben profile image
Ben Halpern

I've been progressively learning more about the Hotwired stack. I've known the gist for a while, but am progressively taking the time to truly understand it. Since it's becoming more popular and/or default in Rails, I think it's worth keeping up with, even if I'm not doing any active development with it.

Collapse
nickytonline profile image
Nick Taylor Author

Stephen Colbert saying Awesome Sauce

Collapse
onlyphantom profile image
Samuel Chan

Launched a python package (npm install taskquant) that weighs less than 8kb.

It adds a layer of gamification and scoreboards on top of TaskWarrior, and what I’ve learned was how heavy the dependencies of numpy / pandas are just to be able to do something like group by, aggregation, pivot table, indexing etc. So took a couple of hours out to build out the package with no dependencies — everything in vanilla python.

Yes, pandas alone (numpy being a dependency) sits at 250mb. So stripping away all of that and doing it in vanilla takes it all the way down to 8kb.

The end result is a python library that is extremely lightweight (<10kb), installs in under one second. I created a video to walk through the whole process as a tutorial:
youtu.be/lT2jqmhRkxo

Code is on my GitHub as well! GitHub.com/onlyphantom/taskquant

Collapse
nickytonline profile image
Nick Taylor Author

Prince Harry Saying Boom! while beside his grandmother, the queen

Collapse
v1rani profile image
Dmitry Shamshurin

Started digging into the Golang by finishing the Tour of Go, since I really want to try this language out. So far it's been alright, but I'm yet to implement something in it. Also, I was learning about how to write good articles

Collapse
nickytonline profile image
Nick Taylor Author

Borat saying Great Success!

Collapse
k_penguin_sato profile image
K-Sato

Finally learnt CSS grid layout 😊😊😊
A lot simpler and more useful than I anticipated.

Collapse
nickytonline profile image
Nick Taylor Author

Nice!

Nice

Collapse
pontakornth profile image
pontakornth

I learned some F# for fun and profit. I don't know what to do with it yet. I think F# is a pretty fun language to code.

Collapse
nickytonline profile image
Nick Taylor Author • Edited on

Hot Rod saying Cool beans!

Collapse
aneeqakhan profile image
Aneeqa Khan

I learned some new functions of React Navigation to use in my office project.

Collapse
nickytonline profile image
Nick Taylor Author

Bobby Moynahan character from SNL saying awesome!

Collapse
bekahhw profile image
BekahHW

I learned how to use node-fetch for this blogpost on how to upgrade your freeCodeCamp project that I wrote about!

Collapse
nickytonline profile image
Nick Taylor Author

Actor Zach Galifianakis giving a thumbs up in a convertible car

Collapse
juniordevforlife profile image
Jason F

I learned how to set up a contact form using Gatsby and Netlify. Check it out for yourself. Send me a message telling me what you think of my portfolio....link here: jasonfritsche.dev/

Collapse
nickytonline profile image
Nick Taylor Author

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
tmchuynh profile image
Tina Huynh

I finally looked into conferences and summit to attend both virtually and in-person. There is so much to learn out there! I'm in love

Collapse
nickytonline profile image
Nick Taylor Author

It's True - Dwight Shrute

Collapse
ediljm profile image
Edilson J. Mavone

I accidentally learned React, and it's way easier than I thought

Collapse
nickytonline profile image
Nick Taylor Author

Jean-Luc Picard from Star Trek TNG saying Well done!

Collapse
james_palermo_bc208e463e4 profile image
James Palermo

Ukrainians are tough as nails.

Collapse
erolcardinal profile image
Goktug Erol

Not so much...
I'm exhausted, frustrated and thinking bout lots of stuff.
I'm not satisfied with anything I do.

Collapse
natescode profile image
Nathan Hedglin

I learned Storybook doesn't support Typescript Enums. Ran into numerous problems with Craco, react scripts etc. Had to install a few alpha builds.

Finally got it though 😉

Collapse
pontakornth profile image
pontakornth

That's impressive.

Collapse
jonaspetri profile image
Jonas Petri

I downloaded WSL and started learning how Ubuntu works!