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
View quoted note →
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
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
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 💻
Build, run and debug iOS and Mac apps in Zed instead of Xcode
#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.
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
Sora 2 is crazy good. Like really good!
But at the same time, it's so damn sad... It's never been easier for scammers to manipulate people. #AI
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.
View quoted note →
Really interesting video *(if you care about the topic)*:
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...
There are only three types of titles in the Craft notes app.
- Title
- Subtitle
- Heading
It's way too limiting...
Out on a little walk in the forest 🌳 #nature #dog
It’s always nice to see new #Nostr clients being developed 🚀
View quoted note →
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…
View quoted note →
Just saw this on Threads...
Meta is really trying to push AI generated slop 🤮


My lockstitch sewing machine is fully complete.
It’s the first needle-feed machine I’ve ever used. I’ve only tried normal drop-feed machines before.
Needle-feed is more expensive but when sewing multiple layers of slippery fabric, it should become very beneficial. #sewing
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…
View quoted note →
I just received my two sewing machines.
Let’s get them assembled!


Been using #Obsidian since forever as the app I use to write notes.
I just tried #Craft which is block-based similar to #Notion.
I find it so annoying.
Trying to select part of the text across two blocks seems to be impossible.
As soon as you select some text and drag outside the block, it ends up selecting all the text in that block instead...
But the UI looks incredible!
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.
View quoted note →
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…
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