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.
We're a place where coders share, stay up-to-date and grow their careers.
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
Rizèl Scarlett -
Sloan -
nghialv -
Charlie Say -
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.
Discussion (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!
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 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.
Not so much...
I'm exhausted, frustrated and thinking bout lots of stuff.
I'm not satisfied with anything I do.
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 😉
That's impressive.
I downloaded WSL and started learning how Ubuntu works!