Petter Sæther Moen

Petter Sæther Moen

@pmoen.me

Software developer based in Toronto 🇨🇦 I post about frontend stuff, probably... @pettersmoen on 🐦

30 followers54 following49 posts

it seems that the newer models have stopped peppering your codebase with comments. might actually have over-corrected on that front, because now I feel like it isn't commenting code that should be commented, like complicated edge cases, etc.

openclaw actually feels like a proper assistant. pretty basic example, but the fact that I can set up a cron job like this in a single prompt is just so valuable!

some of these automatic résumé parsers that companies have are just hilariously wrong sometimes. if anyone need some welding work done, hit me up!

it's so annoying that every company's myworkdayjobs require a separate login. my poor 1password is getting absolutely blasted with myworkdayjobs logins

I've been applying to jobs for a while now, and it seems like less businesses have cover letters as part of their application process' now. since anyone can just generate a good cover letter these days it isn't really a good way to find the right candidate. so how do you stick out in this market?

tried getting gpt 5.2 to make me a horse head svg. graphic artists, you are safe for now... can't believe llms are better at making pelicans ride bicycles than they are at creating simple shapes like this, lol

opus 4.5 is so good. feels like it generally one shots most of my prompts, and token usage seems lower than sonnet 4.5. working with multiple worktrees simultaneously seems more doable now

did you know that the "event listener" props in react, such as onClick, don't actually lead to event listeners being added to the DOM? instead react uses an event delegation pattern where all events are caught in its root element. it then bubbles the event through the react component tree.

this leads to more performant event handling! another effect is that events will bubble differently. since the component trees often differ from the DOM trees they represent, the events will bubble the same way we code our apps. this makes event bubbling much easier to reason about for us devs!

made myself a solitaire app while exploring @v0.dev app. fun to be able to create the apps I need on my phone instead of going to the app store. it took 16 iterations before it was playable though, so maybe not quite there for the average consumer. I can see this becoming the way forward though

LFG! this’ll be fun to explore

vibecoding just got better with the new @developer.chrome.com devtools mcp⚡️did a small test where I got it to do a performance analysis of my website, and it's really easy to get started. I can see this being useful for verifying changes I've done locally, or for debugging accessibility issues!

I found myself using ChatGPT to recollect the name of the partition function in es-toolkit. before chat I would have asked my overly FP enthusiastic colleague for that information. I miss those micro-interactions

recently started using Claude Code instead of Cursor, and I'm really enjoying it! both are awesome, but I really like how the focus in Claude Code is always about prompting

In Cursor I find myself prompting less, since it isn't always up in your face. In Claude I find I'm being forced into a iterative prompting cycle, which has been really doing wonders

Petter Sæther Moen reposted

React Server Components snart ute i React Router, Zod ute med lenge etterlengtet versjon og tips for å bli en magiker — i denne ukas ForrigeUke fra Petter Sæther Moen i Bekk. – Forhåpentligvis vil dette gjøre utvikleropplevelsen min en del bedre. www.kode24.no/artikkel/mye...

kode24.noMye raskere skjema­validering: – Har lenge irritert meg!React Server Components snart ute i React Router, Zod ute med lenge etterlengtet versjon og tips for å bli en magiker — i denne ukas ForrigeUke.

got to talk at Bart.js, a JS meetup in Trondheim, today about React Server Functions. I had a great time! the crowd was brilliant! wanna do more like this!

You are up to date.