Frederik Handberg's avatar
Frederik Handberg
npub1nj0c...2gqz
23 🇩🇰 Studying for a degree in Software Engineering while building fun projects and working freelance as a News Photographer 📷 I share my software projects, photos and videos from my work as a news photographer, and progress updates as I learn to sew garments. Basically, I just write about my hobbies. frederikhandberg.com
Implemented a slash command to open a menu as a quick way to change the block type. image I'm considering adding a submenu for headings rather than having from level 1 to 6 in the main menu. Also, would be great to have a search function. #dev #Swift #SwiftUI #AppKit
Will be interesting to see if the prices for LLM chatbots (Claude, Gemini, & ChatGPT) will remain the same or increase. Especially now that VC firms seem to be a lot more careful what they invest in compared to COVID in 2020-2021. None of the AI companies are generating a profit, so sooner or later I think prices MUST increase - the question is by how much.
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.
I got the document scroll to work when navigating the cursor to always keep it visible. A few days ago I worked on the logic for various options in settings. This includes appearance. There are 3 options: - Solid (dark or light) - Blurry (translucent background with a blur effect) - Glass (Liquid Glass effect) In this video I used the 'Glass' option. I have not worked on the UI for settings yet. I think that will be the last part I work on as it's the fastest to complete. #dev #AppKit #Swift #SwiftUI #macOS View quoted note →
I should make sure that when navigating the cursor through different blocks in a note document, the window should scroll up/down to always keep the cursor visible. I already use `NSTextView.scrollRangeToVisible(_:)` so it should work, but it does not for some reason. #AppKit
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