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...
I like my little cooking equipment for camping. image At some point, I need to buy a tent. Been looking at getting a Coody tent.
Technology in classrooms was a mistake. Thinking that giving iPads to children would increase their learning ability is wild... https://www.dr.dk/nyheder/indland/15-aarige-har-aldrig-vaeret-daarligere-til-laese-og-regne-og-saa-pjaekker-de-mere-end-foer Of course, that's far from the only reason why kids in school suck at reading. When your brain has been fried by watching TikTok many hours a day, your dopamine levels are completely messed up. That creates a problem because school is very much the opposite - there are no fast dopamine hits by studying math or reading a book. It requires discipline to sit your ass down and study math (or whatever subject it might be).
I have worked on improving performance when panning and zooming inside canvas files. Previously, the performance in canvas files containing high resolution images was pretty bad. It was laggy when panning and zooming and especially also when selecting object using marquee-selector. This has now become butter-smooth! I improved canvas performance by using LOD (meaning _Level of detail_) to give each canvas image only as much pixel detail as its current screen size needs: - Offscreen: no active bitmap in the object view. - Near viewport: low-detail 512 px preview. - Visible: higher-detail rendition based on on-screen size and Retina scale. - Zoom in: request a higher LOD if the current rendition would become visibly soft. When an image object is farther than half a viewport outside the screen, it is not rendering the bitmapped data. It's still showing a box for where the image should be (with the correct dimensions), but it's not using memory on actually rendering the image before it's almost inside the viewport. This part of rendering images before they are inside viewport is still a bit buggy. Sometimes images will not render unless the user zooms in a bit (idk why, still debugging 👨‍💻). But the canvas has become so much smoother than when it was built in #SwiftUI (I replaced it all with #AppKit recently). #dev
Motorcycle accident. Ørnstrupvej in 8781 Stenderup is currently closed. #press
According to a press release by the police, there has been a violent assault. #press
I got the **Open Quickly** feature (`Cmd+Shift+O`) fully implemented in AppKit! 🚀 I had a previous version that was based on SwiftUI and it actually worked fairly okay, but to improve performance in the app, I am replacing major UI parts with AppKit. Using #AppKit also gives me much more control and I avoid having to deal with #SwiftUI bugs... #dev
My quadcopter #drone project has been put completely on hold. Just haven’t had money to fund it because of other priorities. But I’m still often thinking about design choices for how it should be built. Normally, batteries are the way to go, but I’m not interested in a drone used for filming movies and such (it does not need to be quiet even though a big battery-powered hexacopter is not really quiet 😅). My goal is to build a heavy lifter that can fly long distances and carry heavy equipment. My goal is for the drone to carry a cinema camera. Drone could be used for stuff like filming motorsports (e.g. rally), doing search and rescue operations, and so on… For this, a gas powered engine with a generator and a small battery for peak performance could be interesting options 🤔 Obviously, a fully gas powered drone with a single engine wouldn’t work as the propellers must be spinning at different speeds, and one motor does not allow this unless using separate gearboxes (like one gearbox for each propeller). I don’t like this. I also cannot use normal drone motors from brands like T-Motor because they are all electric motors, so I need to use the gas powered engine in combination with a generator to produce electricity so that I can use normal drone components. Hopefully, in not too much time, I can continue the drone project.
I’m making some good progress on my notes app. Been working on replacing all the #SwiftUI views with #AppKit. I had a Machine Learning exam that I needed to study for, so I had about a month where I didn’t work on the app at all. Now I’m back at it again! Mostly finished writing the AppKit version of `FullscreenSearchView`. I still need to make some minor UI improvements for two dropdown menus, but otherwise I think it’s perfect. #dev
The incident that occurred in downtown Horsens was a knife stabbing. Initially, police just said it was a “violent assault”, but they have now confirmed it to be a knife stabbing. The police have not provided any information about his condition, nor have they said anything about whether there have been any arrests in the case. #press
Motorcyclist involved in crash on Hovedvejen from Horsens to Hedensted. #press