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
Slowly started learning #Kotlin for #Android dev. Very similar to Java, so seems easy enough. I know Java already from Spring Boot projects I’ve worked on, but it’s clear that the future of Android dev is Kotlin and not Java, so no reason for me to stick with Java. Also, Spring Boot works with Kotlin as well, so maybe I should just completely replace Java and move to Kotlin.
The updates are now live on my personal website. Still work to be done though. E.g. videos will go fullscreen when I visit the site from my phone. Maybe I’ll have to disable autoplay. Also, link highlights don’t work for all links. Probably because I need to adjust my regex pattern to recognize links more accurately. Infinite scrolling is something I should implement at some point. Currently, it fetches 20 of my Nostr posts, but it should of course fetch all of them - not at once though. But say it fetches 20 first, then user scrolls near bottom, and it fetches 20 more posts. #dev View quoted note →
Testing a post with multiple lines. Some text here. Some more text. Even more text. And text all the way down here… #testing
Link previews now work on my Nostr blog, except for links to YouTube videos. Still need to figure out how I can fetch the thumbnail and show that in the preview. #dev image
The current government might not abuse its powers, but parties change, and there’s no guarantee a future one won’t choose to exploit them. View quoted note →
It’s crazy how people don’t care or don’t understand how this will completely destroy user privacy. And because of that, horrible rules like Chat Control are going to pass in the EU.
Also, I think it would be super cool to build an admin dashboard for my personal website, where I can manage my #Nostr posts and even write and publish new ones directly. The URL could be admin.frederikhandberg.com But this would require me to find a different hosting solution than GitHub Pages, since that only works for static websites. Never tried using a VPS before, so that would be a good learning opportunity. Seems like they are pretty cheap to rent. Like 5 USD a month. View quoted note →
I think the next functionality to add to my personal website is support for Markdown. I want my blog posts to render Markdown elements like **bold text** and _italic text_.
On a walk 🌳 Summer really is the best time of the year ☀️ image
On my personal website, I have a blog section, where I fetch and display all my Nostr posts. Tonight, I’ve been working on fetching replies, so that I can display those for each of my posts. It’s crazy how easy it is to work with Nostr. The protocol is so simple, which is one of its big advantages. I will work on making the UI look nicer tomorrow before pushing to production. #dev #Nostr
From my vacation in #Italy 🇮🇹 The #dog got herself a shark life jacket 😂 image
I wonder if social media will eventually be seen like cigarettes. Something we all know is harmful and addictive, but many still can’t stop doing.
I want to learn #sewing as a hobby. I think it would be a good hobby, because it’s creative and not related to technology, except for designing and pattern drafting. For that, I use an application called CLO3D. Right now, I’m looking into which sewing machines I would need. I’ve sold so many machines through my little business which has allowed me to try a lot of different brands. I’ve come to like a brand called Jack. Very similar to Juki (which is the industry-standard), but much cheaper and feels more modern in terms of features and the way their machines are engineered. The problem is, there are so many different garments I’d like to sew from sweatshirts, denim jackets and jeans, to outerwear jackets and pants. This would require different machines since the fabric used for sweatshirts is much lighter than 16oz denim for a denim jacket. View quoted note →
I’ve started my sewing machine #business again. It’s a side hustle where I’m selling industrial sewing machines. Took a break from it because it was clear I had sold machines to so many people that there just weren’t any customers left. But last week, I started the business again. I ordered one machine to begin with (just to see if there was any interest) and sold it immediately after receiving it. Then I ordered two more machines, which I should receive on Thursday. Will be interesting to see how fast they get sold. It’s a nice way to bring in some extra income while I’m studying. Also, it’s a lot of fun! View quoted note →