DEV Community

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

Posted on

What was your win this week?

πŸ‘‹πŸ‘‹πŸ‘‹πŸ‘‹

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 πŸ˜„

Happy Friday!

Latest comments (61)

Collapse
 
katiekodes profile image
Katie • Edited

This week, I got a conference proposal selected to the conference of my choice!

Collapse
 
jckuhl profile image
Jonathan Kuhl • Edited

This week, I finally solved the issue of clearing blank cells in a minesweeper clone using Recursion. I started a MineSweeper clone using React that I imaginatively called "React Sweeper" and after some finagling, I got most of it to work.

Except for clearing blank cells.

For those of you who don't know MineSweeper, when you click on a blank cell, all the adjacent blank cells clear, as well as the numbers around the edge of the area. I knew the way to implement this would probably be recursion, but I had trouble figuring it out.

I sat on it for a month.

I came back to it this afternoon and finally got it to work. At first I used Array methods, like .map, but that turned out to be very slow, because it resulted in an array that had arrays in it, and flattening such an array got expensive. My largest minesweeper grid would crash because it got too slow. So I replaced .map with an old school for(;;) loop, which helped me avoid having to flatten the array and sped everything up significantly. Now clearing the largest grid still has a small noticeable delay, but less than a second.

It is now complete. It is my first time actually using npm run build on a React App, and my first time deploying a React app to Netlify.

It uses React Router, Styled-Components, CSS Grid and CSS Flexbox.

Game: reactsweeper.netlify.com
GitHub: github.com/jckuhl/reactsweeper

Collapse
 
biros profile image
Boris Jamot ✊ /

This week, I... created my own blog with github pages and jekyll πŸ¦Έβ€β™‚οΈπŸš€πŸ’ͺ :

mamyn0va.github.io/.

I cross-posted most of my DEV posts to there.

So happy!

Collapse
 
victorosilva profile image
Victor Silva

This week, I...

  • applied for driving lessons & license
  • uninstalled all social media (except for this one) so I can focus on more significant stuff

peace

Collapse
 
ianrathbone profile image
Ian Rathbone

This week, I... came back from the Easter break to a work team that has doubled in size. We assembled, planned out the new 8 weeks worth of work and managed to do it in less time than we did it with a smaller team.

Excited to see where we go!

AND I SAW ENDGAME

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

I installed Windows for the first time in like four years. Did it in a VM. Got Python running, and the code for my client. The win is that I didn't get angry once! :)

I also came up with a yummy steamed cabbage recipe, along with a vegan bolognese.

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

My win this week wasn't quite dev related, but rather was due to my recent attempt to get more involved with the online dev community and my biggest fan noticed.

Collapse
 
igorsushko1 profile image
IgorSushko1 • Edited

This week, I try finish calculator, but wrote only a half because i spended a lot of time in react-state/ but did a half and understend a lot its very good too...

Collapse
 
bizzy237 profile image
Yury

This week, I... moved a few months of work from test environment to production (note to self: plan vacations more often, seems like that's what triggers our deployment times). Also got a confirmation that I'm getting a raise (it was planned for some time but finally signing the paperwork definitely felt good)

Collapse
 
aroup profile image
Aroup Goldar Dhruba

This week, me and my friend @uraniumreza had built and deployed web and android apps which will revolutionize the saloon industry in my country.