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
Field #fire breaks out on Møgelkærvej, 7130 Juelsminde. #press
I enjoy watching videos about the Dead Internet Theory. Whenever I interact with an account that is not well-known, I subconsciously wonder _“am I talking to a bot?”_ It’s pretty sad tbh…
Seeing #Markdown syntax in #Nostr clients that don’t support Markdown rendering is pretty annoying 😂 At least **bold** and _italic_ should be supported imo. View quoted note →
Support for Markdown is almost fully implemented in my Nostr blog. I have support for **bold** and _italic_ text. This is not part of the Markdown rendering but I’ll mention it anyways… I have done so that #hashtags are styled. Besides that, bullet point lists also work: - This is a bullet point. Btw. you can also do **bold** and _italic_ text in bullet points. - This one is indented - This is **EVEN** more indented - And you can make #hashtags in bullet points… - Here’s a normal one I suppose the last thing to implement is support for code blocks… 🚀
Done quite a bit of progress on my Nostr blog. Markdown is mostly implemented with support for **bold** and _italic_ text. Also, bullet point lists work: - This is a bullet point - This one is indented - This is **EVEN** more indented - And here’s a normal one I still need support for code blocks - working on it… 💻
Done some progress on implementing #markdown support on my personal website. - **Bold** and _italic_ text is rendered. - Bullet point lists are rendered. - Even with indented bullet points. - However, there is a bug with empty lines below a bullet point list not being displayed. They are just removed. Here, there is an empty line between this sentence and the bullet point list above, but my code removes the empty line for some reason… #dev image View quoted note →
Bullet points list on my personal website is now seem to be working. Even with multiple indents. - Normal - This is indented once - This has four spaces, so should be even more indented. - Six spaces, so **EVEN** more indented Empty space before this line. - No space before here. - Indented No space before. One space before.
#Testing bullet point list: - Bullet point - Another - Indented bullet point - Another… - Yet another - And last Text below. Should only be one line break in between. - last bullet point
This weekend I want to finish a few things on my personal website (mainly the blog section, which runs on Nostr): - Add markdown rendering in #Nostr posts. Just bold and italic should be fine, but bullet points, numbered lists, and code blocks would be nice to have as well. - Implement a line limit on posts longer than X lines, with a “Show more” button to expand the rest. - Add infinite scrolling so that when the user approaches the bottom of the Nostr timeline, more posts are fetched automatically. I think that’s basically the rest I need. Then I can begin working on the admin dashboard. The dashboard should have functionality to write and publish Nostr posts, save and manage drafts - I think that should be fine to begin with. At some point, I’d like to have a way to upload and manage my media. Perhaps by setting up my own #Blossom relay. #dev
Using the Nostr protocol in my own little projects really makes me appreciate open and decentralized protocols. They are just awesome, especially #Nostr!
Got the link preview _mostly_ working. Now it successfully fetches the title and thumbnail when linking to a YouTube video. Not sure why, but still having some trouble fetching the description for the linked video 🤷‍♂️ #dev image
Testing multiple quoted posts in the same post… #testing note1tk8ekddcf9vk76whrzx95nkxvktgr0nj8h60ymd5htx3z8lkynyqldm6jy And then two more quoted posts: note1cpektuaw6tf8yjj4wak2qctqe5qzh2yeed9q8nfjxh7zjpkdt7ysys5ars note18laf2hmh5njy7xsvjpjwrhgx9lw5amksh5p8zxyh2tydu72nnjhq7n7l9a A last one as well: note1e643wqvzwet3ztpwxd593g084a03epcnley2pgnvqnprcqhwkt6qht284r
Two people stabbed in knife attack at Horsens train station. #press
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.