![Cover image for What was your win this week?](https://res.cloudinary.com/practicaldev/image/fetch/s--pyDLAPme--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://cl.ly/188e843c2985/download/Image%25202019-02-15%2520at%25202.36.37%2520PM.png)
Hey there!
Looking back on this past week, what was something you were proud of accomplishing?
All wins count — big or small 🎉
Examples of 'win...
For further actions, you may consider blocking this person and/or reporting abuse
I built my first dApp!
I built my first dApp!
Nick Taylor (he/him) ・ Oct 19 ・ 2 min read
I finished up the week by finding time to put together a PR I've been really looking forward to making for a while.
So no more layout shifts now? Super! ❤️
Yup!
This has been something I've been personally tackling one way or another for a while and this helps pull a bunch of it together.
Fixing Cumulative Layout Shift
Ben Halpern ・ Jan 19 ・ 2 min read
Using FastImage to detect image dimensions in Ruby
Ben Halpern ・ Sep 28 ・ 2 min read
Yeah I saw the posts and enjoyed those articles. ❤️
I have to ask why you don’t cache the values when the item is saved? Or is that how you do it and I misunderstood lol!
Either way always great to see people paying attention to web vitals! 💪
If I understand correctly — why do we do this later and not right on save?
Basically we need to inspect the files for their meta data. We use
FastImage
because it's fast, but it is still a remote transaction and we'd rather not add extra latency in case the process hangs for any reason.Ah that makes sense so saving doesn’t get held up!
But then you cache the value afterwards so you only have to look up the meta data once (well twice from what I gather from the PR! 🤣) and then update the HTML with the width and height values?
Very smart!
Yeah, we store HTML in the DB, so only ever re-compute on changes. (This approach could change slightly over time to give us more flexibility, but it works well for efficiency).
And yeah —
FastImage
seems to allow you to look up either size, type, or animated, but doesn't let you open up the image to look for everything at once. 🤷♂️Thought I had replied, must have closed browser by mistake 🙄
Looks like you are right, Line 223 in fastimages
So it looks to be animated, type or size as you thought.
Pretty sure you could extend it and just call them both together but that is probably an over optimisation!
Great solution for CLS either way ! ❤
I’d consider this an over optimization for the matter of this first PR, but once it’s merged, a dedicated task to optimize this makes sense.
I got a stream deck XL.
Basically it is a fancy macro key system, but I am already in love!
When I am in VSCode it shows certain macro keys, then if I alt tab to the browser it shows a different set of macros automatically.
Anyone big into productivity…get one, don’t let the fact it was built for streamers put you off, it is a great bit of kit!
I use it for streaming. Game changer.
Yeah it’s a “no brainer” for streaming with all the built in stuff, I am hoping it will be mega useful just day to day.
See what tricks I can do with it by the end of today!
When do you stream, what about and where, don’t think I have ever seen you talk about streaming in any posts etc?
Got through the second week of my 100 Days of Code and Scrum challenge.
The week was pretty tough for me because of life getting in the way. I still managed to stay consistent and have no days skipped.
I completed my first Hacktoberfest and published my first article on DEV 👍
Hacktoberfest 2021 Experience
JenningsF ・ Oct 23 ・ 3 min read
Saying to my significant other that she's the best partner I could wish for.
Same here, my wife was dealing with anxiety and depression and I gave her emotional support.
Happy you did this!
Finding bugs in development before they made it to production
This is probably the biggest improvement of developer productivity
Ya, dealing with production bugs is just a huge pain and when you think everything's going to be okay already. nice job catching that.
Restoring my production databases after my hosting provider had a "power outage", destroying both the database servers as well as the backup servers...
I also migrated away from said hosting provider to DigitalOcean for my .net core API and Netlify for my SPA + website. Had a great blast experimenting with Gatsby as well.
What started as a horror-week, resulted in a highly productive, creative and fun week in the end! 🥳
I finally found the motivation to set a marketing budget for FetchWork
I recorded a new video for my YT channel 🙌 And I am just a couple of subscribers away from reaching 1k 🥳
Was a great video!
i built my portfolio this week :)
Got our home completely renovated, such a relief. Seems like the best investment.
Cross-compiled complex Rust code to 8 different platforms with one command!
Pay no attention to the configs behind the curtain...
My wins for the week were completing #30DaysOfGoogleCloud program and Hacktoberfest 2021 🎉🎉
I've seriously began to write a new book about Vim: themouseless.dev/vim
Love it already :)
I worked on my polling app!
edpoll.ga
I made more CSS art. I got yard decorated for Halloween.
My 4th HacktoberFest was accepted!
dev.to/jarvisscript/css-halloween-...
Built a my first cool-README file
github.com/ISKalsi/leet-scrape
3 pull requests for the hacktoberfest. Now I search for another repo for number 4(+x) 😊
Made pre-configured dev environment for CakePHP with Docker (CakePHP, Postgres, Mino, Redis, Adminer)
github.com/MayMeow/cakephp-starter...
5x90kg deadlift, woohoo
I was promoted!!!