I always thought the old Date is kind of elegant... increment anything with an overflow and it all wraps around correctly, like `d.setDate(d.getDate() + 100)` to advance a date 100 days. "March 208th" is interpreted like you'd expect, as are the hours and minutes and such.
Of course, complete lack of non-local non-GMT time zones is a huge downside.
i'm pretty sure all that stuff works w/ Temporal... Temporal is extremely well-designed, in my experience. the js date object, on the other hand, has insane pitfalls, and i say this as someone who thinks not understanding JS ASI is a "skill issue", among other happily-un-"ergonomic" worldviews...
`d.add({ days: 100 })` also wraps like you'd expect. `d.with({ day: 208 })` becomes the last day of the month instead but "March 208th" is kinda nonsense anyway so whatever. You could emulate it with `d.add({ days: 208 - d.day })`
I got my app in the Mac App Store! It's a layer based image editor, which as a developer has been a nerd's paradise to develop. How should disparate blend modes work with "merge down"? What does it mean to have one color channel selected when you move a layer? Should type layers use their Oriented Bounding Box or their Axis Aligned Bound Box with free transform? So much ambiguity to resolve and I'm loving it.
I just spent a couple hours migrating my knife sharpening website backend from Bun to Node. Feels good to avoid that lock-in. I was initially gung-ho for Bun but increasingly unsure about it. Things I'll miss for sure:
- Querying sqlite with tagged template literals
- Bun.password.verify being argon2 is a better default
Why not just write a small helper library to add back the features you miss? Node includes SQLite and Argon2 at least, if the issue is the interface then that is easily fixed.
I'm getting pretty darn close to doing a "Show HN" about my new macOS paint app, called Mojave Paint. I just posted a feature tour video at https://www.youtube.com/watch?v=61FJ2xzUiIU showing how to make halftoned edges, which happens to cover a lot of of the basics including layers, alpha masks, selections, foreground/background color, gradients, etc.
I would say Photoshop is awesome but expensive (if you can look past how invasive it is for your machine), Affinity is free but "meh", I'm going for the "awesome and cheap" square of the quadrant. Find it at https://skullrocksoftware.com
I'm building a macOS image editor -- no AI here, just Metal textures, compositing, blend modes, all that mathematical raster goodness. It's getting closer to a Mac App Store release and has a preview version on https://skullrocksoftware.com
I keep hoping someone will release a nice monitor that’s monitor shaped (16:10) instead of TV shaped (16:9). That’s part of why early 2000s Cinema Displays are so great. Not to mention the last great Mac laptop before it all went south — the 2015 MBP
I was describing to Claude a SwiftUI panel layout and it responded with an ASCII diagram confirming what I want. This could allow that type of communication to go both ways?