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.
#todayilearned
And remember, if something you learnt was a big win for you, then you know where to drop it as well.👇👇🏻👇🏼👇🏽👇🏾👇🏿
Top comments (35)
I learnt how to send mouse events programmatically to create something like this:
It was requested by a user that needed something like that for disabled users that couldn't handle a mouse.
This is amazing 😍😍😍😍😍. GREAT WORK 👌✌
Nice!
Time is really precious.
I got a job since June, and when I back to home, I have a little time for me and forward to my projects in dev. But... Time pass really fast 😵
Congrats on the new job!
Thank you ! 🌱😋
I have learnt this for a while, but just to recap.
Run
npm ci
oryarn --frozen-lockfile
insideDockerfile
, but before that, don't forget to copy lock-file.And, I also noticed that Yarn is already installed by default in the Docker image, no need to
apk add yarn
.Awesome!
Websites have far too many adverts and other spammy rubbish on them. More than I realised.
I only noticed after visiting some sites I frequent after adding Pi Hole to my network and seeing the number of intercepted requests.
Do some websites stop loading the main content if the ads don't load? Would've expected this to be the case for some at least
I've not seen that happen yet. The main issue is clicking some links from Twitter and Google Shopping because the analytics part kicks in
I continue my journey into the "functional side" of javascript. I've been playing around with sanctuary, which is like a hardcore version of ramda (which in turn is the functional version of lodash). It's been interesting and weird, you get this cool utility functions but you also get error messages like this.
I guess this is good if you know haskell (that type signature is a haskell thing for sure), but it takes time to get used to if you don't.
I made a little guessing game with it. Click on a hex color and an alert pops.
I've learned about how to use Python and PHP to send notification via incoming Slack WebHook to monitor our crawler services.
Noice!
I learned about nuxt js and am currently working on using my already developed api to develop an app with it. It was tough use your custom api with nuxt/auth the docs are still lacking.
If the docs are lacking, sounds like that would make for a great open source contribution that would help others! 😺
I learned there are HTML canvas APIs equivalent to the CSS
filter
andmix-blend-mode
properties which enable me to create this Instagram filter clone with Export function. 🥳Recreating Instagram Filter Functionality with CSS and Canvas APIs
Jason Leung 🧗♂️👨💻 ・ Jun 30 ・ 3 min read
That's awesome! 🔥
I started learning Combine this week on the Apple platforms and discovered it's not as scary as it first seems. But I also want to believe it's because I've been using a fair amount of JavaScript lately that helped me get that functional reactive head space working.
This week I wrote test cases for the flutter app, I am still struggling to write test cases. Maybe next week I can write some better ones. Also this week I haven't took time to write any blog posts ;-(
That’s great that you got some test cases out. In regards to blog posts, write them when you have time. Don’t stress out about it. Life’s too short!