DEV Community

Cover image for What was your win LAST week?
Gracie Gregory (she/her) for The DEV Team

Posted on

What was your win LAST week?

Hey folks!

Sorry for leaving out the weekly wins thread again last week! 😱

To be clear, this is not a purposeful new pattern, just a mishap.

But hey, it's never too late to celebrate your wins. Let's talk about what you're proud of from LAST week.

All wins count — big or small 🎉

Examples of 'wins' include:

  • Starting a new project
  • Fixing a tricky bug
  • Planting something new in your garden... or whatever else might spark joy ❤️

I'm looking forward to reading what you accomplished last week 🎉

Britney Spears Oops I Did It Again video clip

Top comments (32)

Collapse
 
michaeltharrington profile image
Michael Tharrington

My big win over the weekend was breaking ground on a piece of property that we've owned for about a year. We plan to build a house there and just took down some of the tress + put in the driveway. It's officially happening!! 🏠

Collapse
 
gass profile image
Gass

super cool, congrats

Collapse
 
michaeltharrington profile image
Michael Tharrington

Thank ya a bunch! 🙌

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ • Edited

Just found V8 bug 🐛

class Var1 {
  get() { }
}

class Var2 {
  ["get"]() { }
}

const
  var1 = new Var1,
  var2 = new Var2

const as = { group: "v8" }
Deno.bench("var1.get.bind()", as, () => { var1.get.bind() })
Deno.bench("var2.get.bind()", as, () => { var2.get.bind() })
Enter fullscreen mode Exit fullscreen mode
benchmark            time (avg)             (min … max)       p75       p99      p995
------------------------------------------------------- -----------------------------
var1.get.bind()    6.02 ns/iter    (5.23 ns … 32.95 ns)   6.09 ns  10.24 ns   11.3 ns
var2.get.bind()  671.68 ns/iter (645.99 ns … 757.92 ns) 674.67 ns 757.92 ns 757.92 ns

summary
  var1.get.bind()
   111.59x faster than var2.get.bind()
Enter fullscreen mode Exit fullscreen mode
Collapse
 
nbilyk profile image
Nicholas Bilyk

My win the last two weeks is spending time with my wife and son, in preparation for my second son due any day now.
I'm going into negative vacation time, but it's worth it :)

Collapse
 
graciegregory profile image
Gracie Gregory (she/her) • Edited

HUGE congrats!

Collapse
 
christiankozalla profile image
Christian Kozalla • Edited

I've been looking for a monolithic CMS written in Node.js, but didn't find anything suitable.

Luckily, I've managed to integrate Express, React and PayloadCMS which supports connecting to a locally running instance of MongoDB - so I've got everything in one place :D

Cherry on top - I use Reacts JSX as a template engine, although I don't want/need interactivity in the browser. So I render components with React.createElement inside Express route handlers and can even stream HTML with res.send(renderToStaticNodeStream(template))

PS renderToStaricNodeStream is imported from "react-dom/server"

😍

Collapse
 
catevee profile image
Cate

Started learning Ruby. I am a happy Ruby newbie, I just love it.

Collapse
 
bertilmuth profile image
Bertil Muth

I released the first version of Act, a library that enables you to create flat or hierarchical state machines. Have a look/try it out and give me feedback, I appreciate it.

github.com/bertilmuth/act

Collapse
 
j4ng5y profile image
Jordan Gregory

A few deployments to prod that I would have guessed wouldn't have made it :D

Collapse
 
gass profile image
Gass • Edited

Deployed my new site and started an interview process 🤓

Collapse
 
cereal84 profile image
Alessandro Pischedda

Based on my service Breves.

  • interests about it in a Linkedin post (italian one)
  • nice feedbacks from IndieHackers
  • 10 new users :)
Collapse
 
optimisedu profile image
optimisedu

Spent all week making libraries and hacking together pieces of other people's libraries to make development with a broken hand feasible I'll make these libraries available on npm and github when they have been fully tested