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.
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.
For further actions, you may consider blocking this person and/or reporting abuse
Mtende Otis II -
Marcin -
Ben Halpern -
BekahHW -
Once suspended, nickytonline will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, nickytonline will be able to comment and publish posts again.
Once unpublished, all posts by nickytonline will become hidden and only accessible to themselves.
If nickytonline is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Nick Taylor.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag nickytonline:
Unflagging nickytonline will restore default visibility to their posts.
Top comments (34)
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
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
Finally learnt CSS grid layout 😊😊😊
A lot simpler and more useful than I anticipated.
Nice!
That's impressive.
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.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 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 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 accidentally learned React, and it's way easier than I thought