DEV Community

Cover image for What was your win this week?
Jess Lee
Jess Lee Subscriber

Posted on

What was your win this week?

Happy Friday :)

Looking back on your week -- what was something you're proud of?

All wins count -- big or small 🎉

Examples of 'wins' include:

  • Getting a promotion!
  • Starting a new project
  • Fixing a tricky bug
  • Cleaning your house...or whatever else that may spark joy 😄

Top comments (70)

Collapse
 
andy profile image
Andy Zhao (he/him)

This week, I accomplished my goal of sleeping eight hours every day! I've been losing some sleep here and there, but I managed to get the bed early enough every day of the week. Feels much better to be rested enough and have the energy to do things!

Collapse
 
matthewbdaly profile image
Matthew Daly

I really need to do this...

I hit the big 4-0 a few months ago and I'm getting too old to subsist on six or less hours of sleep a day. Played Subnautica on the PS4 till gone midnight on Wednesday night and was yawning my way through Thursday.

Collapse
 
codingmindfully profile image
Daragh Byrne

Man I feel you on that one! I pulled a long shift for the first time in AGES on Tuesday and it cost me...

Collapse
 
andy profile image
Andy Zhao (he/him)

Oof yeah. Video games were too much of a timesink for me and my sleep has been much better without them.

Collapse
 
napoleon039 profile image
Nihar Raote

I really need to work on sleeping early. I try to do some reading before going to sleep but I get so engrossed that it goes on till midnight. Sometimes I get to an interesting part and it even goes past midnight. I need to restrain myself.

Collapse
 
dmahely profile image
Doaa Mahely

I'm the same, but classic books usually do it for me. It can even take me months to finish one because I usually start yawning from the third page 😂

Thread Thread
 
napoleon039 profile image
Nihar Raote

I do the same with non-fiction books 😂. A few minutes into a chapter and I start feeling sleepy. I take so long finishing such books 😆

Collapse
 
jamiekaren profile image
Jamie Ferrugiaro

I feel this! It's amazing how sleep can affect so many things: your mood, your work ethic, your happiness meter. :)

Collapse
 
adyngom profile image
Ady Ngom

This week, I... finally got back into writing again and have already two articles published here on dev.to and a third one almost done in draft mode. I really have no idea where all the super powers came from because it did not hinder at all my productivity at work since

  • I was nominated star of the sprint 😂
  • I reviewed and closed all PR across 4 teams
  • I found a native JS solution to a P1 bug
  • Recorded and edited 3 coding screencasts

‘Mama there goes that man’

Ady Ngom star of the sprint

Collapse
 
joelgriffith profile image
Joel Griffith

Keep killing it!

I really have no idea where all the super powers came from because it did not hinder at all my productivity at work

I can tell you where: from the momentum of good old-fashioned execution! Once you get the wind in your sails it's hard to stop!

Collapse
 
adyngom profile image
Ady Ngom

You nailed the secret word right there: momentum, I'm definitely riding on that and try to keep it alive as long as possible. For example an idea that just struck for an article: 10 natural momentum builders and how to tap into them on a per need basis.
Does it sound good?? You did this Joel :)

Thread Thread
 
joelgriffith profile image
Joel Griffith

Glad to help! Keep crushing it 💪

Collapse
 
_baruchadi profile image
Baruch Hen

Wooowww that's a lot! It's really inspiring actually!
Congrats! 🎊

Collapse
 
adyngom profile image
Ady Ngom

It really is ( not to be cocky) but I feel like we often fail to really understanding how many awesome things we get to do and don't celebrate our small victories. Just listing it had a tremendous effect on me and I think I will adopt this from now on as a therapeutic exercise.

Collapse
 
ben profile image
Ben Halpern

This week was good on a few fronts, but one thing I'm proud of is that we shipped some modifications to streak badges in response to this thread from a little while back:

We issued a hard limit on streaks so that folks don't feel like they are endlessly grinding of badges and plan to keep this in mind for future gamification-related stuff. In general folks really appreciate the badges but we want to do it in a way that is fun for everybody. Anyone who gets the 16 week badge will be eligible for special stuff in the future but won't be on a never-ending path.

Thanks to @mortoray and folks like @dmfay and others in the thread for sparking a helpful discussion on the topic.

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

That sounds like a win for everybody. Thanks Ben.

Collapse
 
molly profile image
Molly Struve (she/her) • Edited

Great thoughtful post and discussion!!! Love when you are trying to figure out a topic for the week and it just falls in your lap

Collapse
 
_bigblind profile image
Frederik 👨‍💻➡️🌐 Creemers • Edited

This week, I was accepted to give a lightning talk at the Joy of Coding conference in Rotterdam

Collapse
 
adyngom profile image
Ady Ngom

Yay congrats!! That little jump from the mascot is priceless lol

Collapse
 
jess profile image
Jess Lee

Congrats!

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

This week, I successfully did something not programming related and made my first cooking class. Several hours of video editing reminded me of how much more fun programming is! :D

I'm quite happy with the video. The fruit and nut bars I create are a good snack for your long work days, and after the daily workout you're doing. ;)

Collapse
 
michaeltharrington profile image
Michael Tharrington

This looks awesome! Great job with the production.

And wow, I want these fruit and nut bars now!!

Collapse
 
jess profile image
Jess Lee

whoa!! cool!

Collapse
 
nickytonline profile image
Nick Taylor • Edited

This week, I got a PR merged that I've been working on for quite a while for the Refined GitHub browser extension. Feels pretty good.

Enable strict-mode for TypeScript #1783

Basically going with the non-null assertion operator in almost all places, because as mentioned in github.com/sindresorhus/refined-gi..., the assumption with the extension is that the DOM nodes referenced in most cases are expected to be there. If they aren't, the extension breaks, a bug is filed and it's fixed.

One thing to note @bfred-it, is currently dom-chef types need to handle JSX (Element and IntrinsicElements) or we import @types/react.

In the process of working on that PR, I discovered a bug in the TypeScript types that ship with TypeScript.

Missing string indexer on NamedNodeMap interface in lib.dom.d.ts? #30928

For context, see github.com/sindresorhus/refined-gi..., specifically this commit, github.com/sindresorhus/refined-gi....

Also, just posting my tweet about this so that people can find discussions about the issue. See twitter.com/nickytonline/status/11...

I'll restate what I tweeted as I probably should have posted my question here originally.

The NamedNodeMap interface in lib.dom.ts does not allow for a string indexer, even though vanilla JS supports this in browsers, e.g. someDomElement.attribute['aria-label'].value.

We have code like this in the Refined GitHub extension, so for the time being, I've gone ahead via a declaration merge for NamedNodeMap

interface NamedNodeMap {
      [key: string]: Attr;
}

I can't tell from the MDN docs for NamedNodeMap if it's standard or not. All they seem to mention is "Attr nodes' indexes may differ among browsers" which wouldn't apply to access by the attribute name.

Just wondering if this was omitted by mistake or is it because this is not considered WHATWG DOM standard? I went to dom.spec.whatwg.org/#interface-nam... and unless I'm reading it incorrectly, I believe it states that using a string indexer is valid.

Thoughts? Happy to PR this up if it's valid.

And finally, I've made a few PRs to dev.to to get back in the swing of things of contributing there as well.

Fixed some frontend linting issues #2495

What type of PR is this? (check all applicable)

  • [x] Refactor
  • [ ] Feature
  • [ ] Bug Fix
  • [ ] Documentation Update

Description

Fixed some linting issues being reported in the frontend.

Related Tickets & Documents

#1828

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Added to documentation?

  • [ ] docs.dev.to
  • [ ] readme
  • [x] no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

Richie Rich robot

Boom!






Collapse
 
cubiclebuddha profile image
Cubicle Buddha

Between the scrubs gif and the TypeScript use, I feel like we’re BFFs now.

Collapse
 
adyngom profile image
Ady Ngom

you man is woaaaaah!!!
super hero

Collapse
 
jess profile image
Jess Lee

Killing it!!

Collapse
 
offendingcommit profile image
Jonathan Irvin

This week, I wrote my first article in a while about the importance of learning source control management first.

No gif needed. :)

Collapse
 
wilfrantz profile image
🇭🇹 DEDE

This week, I have officially started my website 😄

Collapse
 
_baruchadi profile image
Baruch Hen • Edited

Congrats!! That's exciting! 🙌

Collapse
 
nektro profile image
Meghan (she/her)

link? and the picture is missing.

Collapse
 
_baruchadi profile image
Baruch Hen • Edited

This week, I...

  • Started posting on DEV.to! 👨‍💻
  • Worked on some personal projects 🎮
  • Tried getting more involved the online communities 📝
  • Fenced up a garden in my parent's back yard 👨‍🌾
Collapse
 
adyngom profile image
Ady Ngom

Wait you did actual physical work, that's dope and congrats on the other stuff. I'll hide your last point from my wife before she gets ideas of what my next chores might be

Collapse
 
jesseskinner profile image
Jesse Skinner

Lots happened this week, but what I'm most proud of happened today. I wrote a blog post for the first time in forever! And I posted it to DEV.to too! Very excited about blogging right now :D

dev.to/jesseskinner/formatting-dat...

Collapse
 
nickytonline profile image
Nick Taylor

Great stuff Jesse and welcome to the community.

Welcome to the club gif