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)
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!
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.
Man I feel you on that one! I pulled a long shift for the first time in AGES on Tuesday and it cost me...
Oof yeah. Video games were too much of a timesink for me and my sleep has been much better without them.
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.
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 😂
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 😆
I feel this! It's amazing how sleep can affect so many things: your mood, your work ethic, your happiness meter. :)
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
‘Mama there goes that man’
Keep killing it!
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!
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 :)
Glad to help! Keep crushing it 💪
Wooowww that's a lot! It's really inspiring actually!
Congrats! 🎊
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.
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:
How do you feel about chasing internet points, badges and the gamification of everything?
edA‑qa mort‑ora‑y
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.
That sounds like a win for everybody. Thanks Ben.
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
This week, I was accepted to give a lightning talk at the Joy of Coding conference in Rotterdam
Yay congrats!! That little jump from the mascot is priceless lol
Congrats!
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. ;)
This looks awesome! Great job with the production.
And wow, I want these fruit and nut bars now!!
whoa!! cool!
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
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)
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?
[optional] What gif best describes this PR or how it makes you feel?
Boom!
Between the scrubs gif and the TypeScript use, I feel like we’re BFFs now.
you man is woaaaaah!!!
Killing it!!
This week, I wrote my first article in a while about the importance of learning source control management first.
No gif needed. :)
Want To Learn Programming? Learn How To Track Changes First
Jonathan Irvin
This week, I have officially started my website 😄
Congrats!! That's exciting! 🙌
link? and the picture is missing.
This week, I...
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
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...
Great stuff Jesse and welcome to the community.