Frederik Handberg

Zero-JS Hypermedia Browser

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

Notes (20)

I got the feature of reorganizing tabs to work a few days ago. Well, mostly working. The animation can look a bit janky sometimes. Also, I need to figure out how I can get the same behavior as Chrome, where if dragging a tab outside the “tab area” and releasing, it will open the same tab as a new window. #dev nostr:nevent1qqsq3qd0drpeu4zjj65qam9s5qvf84ufzjp8w0gj5gtja5aw6rzcdsszyzwflq0d090s7hh62kyn9qjxslvyl3lx5n86dk6ad5a4pl9hl7hvyqcyqqqqqqgpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgufc7xv
2025-10-06 12:16:25 from 1 relay(s) View Thread →
Almost have tabs working in my notes app. I want them to behave similarly to #Chrome. When moving a tab, it follows the cursor - my app should work the same. I do already have the following-cursor animation working, but reorganizing tabs don’t exactly work yet. Kinda works, but not entirely. Lemme explain what’s wrong: If I have 3 tabs (tab 1 being left-most and tab 3 being right-most) and I try moving tab 1 to tab 2’s position. Tab 1 follows the cursor and you visibly see tab 2 moving to tab 1’s position with a nice smooth animation - however, this is where the problem begins! Now, I release tab 1, so you would expect it to become tab no. 2. But no… it goes right back to its original position which was being the 1st tab 😩 **The bug:** Right now, to change the tab positions, you must release the tab on top of the tab NEXT to the tab you wish to change with. For example, if switching tab 1 and 2, you must drag tab 1 on top of tab 3. Unless it’s the last tab, then you can just move it to the right position of the last tab, and they will change position correctly. **The fix:** I need to calculate the center point of each tab. If on the left side, change to left position. If on the right side, change to the right side. Pretty obvious, and should be fairly straightforward. #Swift #AppKit #macOS
2025-10-02 19:38:05 from 1 relay(s) View Thread →
This is so cool! 🔥 If you're developing native #iOS and #macOS apps, you know how frustrating #Xcode can be at times. It turns out, you actually don't even need Xcode when developing and building your project. I use #Zed for web development, and now I can also use it for native development with Swift 💻 https://luxmentis.org/blog/ios-and-mac-apps-in-zed/
2025-10-02 17:02:02 from 1 relay(s) View Thread →
#Biology is something I’ve always found fascinating and I really want to learn about it. Some time ago, I purchased a book called _Biology Made Easy_ and have been reading it whenever I have time. I’m still learning about the basics like mitosis, apoptosis, metabolism, cell signaling, different types of cells, etc.
2025-10-02 14:33:23 from 1 relay(s) View Thread →
I purchased 20 meters of black 100% cotton fabric to make some t-shirts. I bought from a supplier on Alibaba, so I'm very curious about what I'm going to receive 😬 $4 per meter. I think the price is okay, but I'm very new to this, so honestly not entirely sure if I am getting ripped off. A big part of why I chose to buy from Alibaba instead of locally in Europe is because finding 100% cotton with no elastics is so difficult. All of them are like 95% cotton and 5% elastics... #fabrics #sewing
2025-10-01 11:04:01 from 1 relay(s) View Thread →
I don’t think the #AI bubble (if it is actually a bubble) can be compared to the .com crash. Everything with a .com name had crazy valuations without creating any real value. LLMs aren’t like that. The AI companies do have super high valuations, but they DO create value for customers. Think about all the startups that can now work much more efficiently due to LLMs. I can see it myself. The progress I am making on my notes app is amazing, and not something I’d have been able to if I didn’t have #Claude helping me do certain tasks, so I can concentrate on other parts of the coding. nostr:nevent1qqsrl2d2xg4vf454h2qhr7zsggh55hq3aygm309wn8qsnr2emygpl6szyzwflq0d090s7hh62kyn9qjxslvyl3lx5n86dk6ad5a4pl9hl7hvyqcyqqqqqqgprpmhxue69uhhyetvv9ujuumwdae8gtnnda3kjctvhqksqj
2025-09-30 20:43:46 from 1 relay(s) View Thread →
Really interesting video *(if you care about the topic)*: https://youtu.be/ISaYGg1dsmI I'm not an AI researcher, but I wouldn't be surprised if we are nearing the end of progress for LLMs. They are so expensive to train and run. The fact that none of the AI companies generates a profit is crazy. It's not like they are losing just a bit of money. No, the numbers are massive...
2025-09-30 17:16:39 from 1 relay(s) View Thread →
It’s always nice to see new #Nostr clients being developed 🚀 nostr:nevent1qqsffh98xw5gpcemtdwmljaryevrxwkhtxrqy7qpfpy3qxpz4wmlpeczyqlhwrt96wnkf2w9edgr4cfruchvwkv26q6asdhz4qg08pm6w3djgqcyqqqqqqgpp4mhxue69uhkummn9ekx7mqaxqs9f
2025-09-27 05:49:36 from 1 relay(s) View Thread →
This is just speculation, but I think a problem social networks are facing is that “normal” people aren’t really posting anymore. Platforms like Instagram need a constant flow of “content” to feed users, because they only earn money when they can show ads, and that requires people to stay on the platform. If they can get people hooked on watching AI slop, they can generate an infinite amount of “content”. I think this is just the beginning of platforms actively pushing AI-generated slop. Btw. I write “content” in quotes because the vast majority of what you find on Instagram and TikTok isn’t something I’d consider real content. It’s just garbage and noise… nostr:nevent1qqswn26av4nxw8ckaswhmng40pywl5gz07k9srqctp7l6f0aug2mnjczyzwflq0d090s7hh62kyn9qjxslvyl3lx5n86dk6ad5a4pl9hl7hvyqcyqqqqqqgpz3mhxue69uhkummnw3ezummcw3ezuer9wcavj2aq
2025-09-26 18:33:20 from 1 relay(s) View Thread →
Just saw this on Threads... Meta is really trying to push AI generated slop 🤮 image
2025-09-26 14:23:05 from 1 relay(s) View Thread →
Polls on Nostr can be abused so easily. Unless you charge money to vote, it’s not gonna work without bots spamming the polls. But if it costs money, nobody is gonna use it… nostr:nevent1qqs03r28zjfpq5ycft2hs2dl5y9dw2vekrqvfkgr9yqduf0xqrsel2szyqduwzspfzelx9k6x0lrez0j8cl8rtz0lxvqylk8z2ustnfy76jpzqcyqqqqqqgpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgy6nwa4
2025-09-25 15:38:02 from 1 relay(s) View Thread →
I just received my two sewing machines. Let’s get them assembled! image image image
2025-09-23 08:39:49 from 1 relay(s) View Thread →
I do think Markdown could be a bit too limiting 🤔 For example, simple things like text alignment isn’t supported, unless breaking the simplicity of Markdown by introducing CSS. But when thinking about it, how often have I wanted the ability to adjust text alignment, like centering some text? Not often… in fact, I don’t think I’ve ever needed that in my notes that I write. nostr:nevent1qqsp03wm0xy582z65ngjdc4dszajlqn7cradnl5v42kktglctc493ygzyzwflq0d090s7hh62kyn9qjxslvyl3lx5n86dk6ad5a4pl9hl7hvyqcyqqqqqqgpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxglydx7v
2025-09-21 21:00:39 from 1 relay(s) View Thread →
I’ve been working on building a notes app. I want it to be the way I envision the perfect app for brainstorming. Right now, I’m focusing on implementing Markdown support. In the future, I plan to add infinite visual canvases that work like moodboards. Users should be able to add notes, images, videos, links, write text directly on the canvas, and maybe even draw…
2025-09-21 20:59:06 from 1 relay(s) View Thread →
For my notes app, I’ve been experimenting with using local plain-text #Markdown files, while also keeping a #SQLite database that stores exact replicas of these files. The SQLite database is used only for indexing, which should make keyword searches in notes much faster. #dev
2025-09-21 20:50:30 from 1 relay(s) View Thread →
After updating to #macOS Tahoe, I'm trying to use #Safari as my primary browser. The new UI looks good, but I have found it to be a bit slow - especially when using Threads[.]com. This could just be because I use the Private Relay-thing. I'm using the Safari extension called Nostash as my Nostr signer. Works great. https://github.com/tyiu/nostash
2025-09-20 14:45:39 from 1 relay(s) View Thread →