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 t...
For further actions, you may consider blocking this person and/or reporting abuse
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...
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 withset +h
.TIL!
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.
Saaaass ! 😁
For my next project on my training, I need to create a simple website on mobile first with SASS.
Look in to how Sass mixins might be able to help you out with handling media queries.
Nice!
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.
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
Finally learnt CSS grid layout 😊😊😊
A lot simpler and more useful than I anticipated.
Nice!
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
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.That's impressive.
I learned some new functions of React Navigation to use in my office project.
I learned how to use node-fetch for this blogpost on how to upgrade your freeCodeCamp project that I wrote about!
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/
Awesome!
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
I accidentally learned React, and it's way easier than I thought
Ukrainians are tough as nails.
I downloaded WSL and started learning how Ubuntu works!