spacestr

๐Ÿ”” This profile hasn't been claimed yet. If this is your Nostr profile, you can claim it.

Edit
frederikhandberg
Member since: 2023-02-26
frederikhandberg
frederikhandberg 10h

Congratulations ๐Ÿ‡ฎ๐Ÿ‡น ๐ŸŽ‰

frederikhandberg
frederikhandberg 14h

That offer was bullshit to begin with. Was funny listening to the ceo of GameStop being incapable of explaining where the money would come from

frederikhandberg
frederikhandberg 2d

Yeah, thatโ€™s my impression as well. When I look at Instagram, everyone is posting stories both creators and just normal people that I know

frederikhandberg
frederikhandberg 4d

Stories on #Nostr would be a nice feature. Hopefully it will be widely supported.

#Nostr #nostr
frederikhandberg
frederikhandberg 3d

I feel like the worst part about building the same app in multiple different frameworks is getting the app to feel and work the same in all versions being near impossible, because each framework has its own quirks and bugs. For example, my native app for macOS built using #AppKit and #SwiftUI allows pinch-to-zoom in `WKWebView`, but `` in Electron has a bug where pinch-to-zoom just will not work: https://github.com/electron/electron/issues/34440 So now, I'm in a situation where the native macOS app has a feature that the cross-platform Electron app does not have... Luckily this is a small feature, but I expect feature parity to become a bigger problem because I only just started with the Electron app. Also, should I have chosen Tauri? Idk, I'm getting an urge to switch. The whole frontend can just be moved immediately to Tauri with React, but the backend would need some work. The worst part will be having to deal with different web engines because Tauri uses native engine from the OS. But then again, is that really such a big issue? Because when you build a webapp, you need to make sure to support all web engines, anyways.

#appkit #swiftui
frederikhandberg
frederikhandberg 4d

The new implementation uses the native HTML ``. Then all canvas objects gets drawn on an 800x560px canvas allowing the app to take a snapshot. Now the app runs smoothly even when taking a snapshot of the canvas ๐Ÿ˜Œ #dev #React #Electron

#dev #React #react #Electron #electron
frederikhandberg
frederikhandberg 4d

This was the flow: 1. Clone the entire React DOM tree. 2. Calculate all CSS rule for every node. 3. Embed all external fonts and images. 4. Serialize it all into a massive SVG. 5. Draw the SVG to an invisible canvas to extract a `.png`. This all ran synchronously on main thread which then caused the lag spike.

frederikhandberg
frederikhandberg 4d

Using `html-to-image` was a mistakeโ€ฆ I used it to generate the canvas objects so that the app could take a snapshot of the canvas, but the performance was horrible. After making a change in the canvas (e.g. moving an object), a denounce timer will run and afterwards, the canvas objects will be generated. Lastly, a snapshot will then be taken. This all happened using `html-to-image`. This caused a lag spike where the whole application froze for a few seconds.

frederikhandberg
frederikhandberg 6d

Summer is amazing โ˜€๏ธ

frederikhandberg
frederikhandberg 11d

Guinea pigs are adorable ๐Ÿ˜Š

frederikhandberg
frederikhandberg 13d

I also need to make sure that the collapsed state is working correctly when opening a note document. For example, a collapsed heading shows the chevron icon in correct state, but the blocks are visible.

Welcome to frederikhandberg spacestr profile!

About Me

23 ๐Ÿ‡ฉ๐Ÿ‡ฐ I'm studying for a degree in Software Engineering while building fun projects and experimenting with drone technology. I'm also learning to sew garments as a hobby ๐Ÿชก Sometimes I work as a freelance photographer for different news outlets ๐Ÿ“ท 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...

Interests

  • No interests listed.

Videos

Music

My store is coming soon!

Friends