Frederik Handberg's avatar
Frederik Handberg
npub1nj0c...2gqz
23 🇩🇰 Studying for a degree in Software Engineering 💻 I enjoy building mobile/desktop apps and embedded projects and working on massive heavy-lift drones. Also learning to sew garments as a hobby to tailor clothes for myself 🪡 I mostly share progress updates as I'm working on my software and drone projects, and as I learn to sew. Basically, I just write about my hobbies...
This little RC nitro car has not been running for about 10 years. I replaced the glow plug to a new one and the tubes for fuel. It can start but then stops when I lower the RPM. It seems to not be getting enough fuel. image
This is the 3rd t-shirt I’m #sewing. The first one, I had made the neckband way too long and the top-stitching was bad. But the sizing was good, so my pattern that I made in CLO3D turned out really great. The second one was pretty good. Neckband was perfect length, but the neck cutout on the back piece was too far down I think. On this third version I have changed the neck cutout slightly on the back piece, but otherwise everything is the same.
They finally added Gemini 3.1 Pro to the Code Assist extension in VSCode 🙌
The functionality of the formatting toolbar works nicely except for one bug I just discovered… When clicking on a styling button once, it applies the style, but then clicking a second time will hide the toolbar instead of keeping it showing. #dev #Swift #SwiftUI #AppKit #macOS image View quoted note →
Been working on building a floating toolbar to easily apply styling like bold, italic, etc. The floating toolbar appears once selecting text in a note. It appears correctly when only selecting text in one block. However, if you select text across multiple text blocks, it does not always appear correctly. It’s quite unpredictable, which makes it difficult to pinpoint the problem… #dev #AppKit
Agree with this. It is a problem that you cannot reset your nsec like you can with a password on Instagram, but it’s a hard problem to solve for anything decentralized with cryptographic keys, so I don’t see that changing. Idk what the solution is, but assuming that non-tech people will be able to manage a keypair is hard for me to believe. People click all sorts of shit on Facebook all the time and get their account hijacked. Just looking at my own family, I’ve seen it happen… But then again, who is the target audience of something as nerdy as Nostr? The barrier to entry may not be very high for opening Primal, generating a keypair, and looking at the feed. It just looks like a normal social network, so it’s familiar, but there is quite a bit of terminology to understand which increases the barrier to entry. View quoted note →
The next major feature I will implement in my notes app will be navigation history. This feature is like in a browser where you can go back and forth between the sites you have visited. In my app, the user should be able to go back and forth between the files they have opened.
Four people were evacuated from the apartment building and taken to the hospital. Two fire fighters were also taken to the hospital. No one is in critical condition according to authorities. Address: Tordenskjoldsgade in Horsens. #press
Fire in a building on Tordenskjoldsgade in Horsens. Six people have been taken to the hospital. #press
I notice that when I use Gems in Gemini _(which is just a project like in Claude)_ and I upload some files, if I then reload the page, it will often duplicate the same files. Gemini 3.1 Pro is good, but the UX is so much nicer in Claude and Sonnet 4.5 is just as good at coding.
Apparently using `.glassEffect()` on the window background will break the functionality of the `.onDrop()` modifier. I wanted the Liquid Glass effect on the window background of my app, so I added the `.glassEffect()` modifier which worked, but then I could not drag-and-drop files in the infinite canvas anymore… Turns out that you need to use the AppKit class called `NSGlassEffectView` instead. Now the `.onDrop()` modifier works again.
A semi truck crashed on its side into a ditch on Vejlevej towards 7130 Juelsminde. #press image
I just finished working on a sidebar overlay for the notes app. When hiding a sidebar, the user can now move their cursor to the edge of the window, to show an overlay of the sidebar. I think it looks nice the way it slides out. I will probably lower the opacity of the sidebar overlays just a bit, so they match the appearance of the app with the translucent blurry background. Because right now, I don’t think the dark solid background color of the sidebar overlays match the app’s appearance. But I’m happy with how this feature turned out! 🚀 #dev #macOS #SwiftUI #AppKit
There are many weird quirks when using #SwiftUI and #AppKit. For example, say you have an overlay with an image above an `NSTextView`. You would expect the cursor to **NOT** change to the iBeam when you hover over the image because the text view is behind the overlay. However, it **WILL** actually change to the `NSCursor.iBeam` even though the overlay is above the `NSTextView`. The `NSTextView` just takes higher priority. I don’t know why, and I’m not really sure what the correct approach is to fix this. I don’t actually think there is a correct approach, because to my knowledge, there is nothing in the official documentation about it. I’ve had this problem ever since I began the development of my notes app, and I’ve never managed to completely solve it. But it’s also not something I’ve spent much time on either, though it is really frustrating. It’s something I see many take for granted when it comes to web development, as these things just work by default.