Spyke

Posts

photon·Photonbysvn

Bug: Image links

[![](https://upload.wikimedia.org/wikipedia/commons/4/44/Narrow-banded_dartwhite_%28Catasticta_flisa_postaurea%29_underside_on_Mimosa_pudica.jpg)](https://github.com/Xyphyn/photon/)

Above is an image inside a link. The image is broken.

I poked at the source code and found that MdImage gets passed href of the parent link and not the image url itself. So the image component tries to display https://github.com/Xyphyn/photon/ instead of what its supposed to. It's probably caused by value meant for parent being sent to children via those ...rest params in MdTree, but I couldn't follow that enough to find out how exactly.

::: spoiler Bonus: This bug lets me embed a video straight into the post

[![](https://upload.wikimedia.org/wikipedia/commons/4/44/Narrow-banded_dartwhite_%28Catasticta_flisa_postaurea%29_underside_on_Mimosa_pudica.jpg)](https://www.youtube.com/watch?v=dQw4w9WgXcQ)

:::

View original on lemmy.kde.social
opensource·Opensourcebysvn

Naming was the hardest part

Scratchmark released!

Hi, about half a year ago I made a post asking for a little help with my Markdown editor. In case anyone got interested back then, I'm happy say that after a lot of work, it's finally published.

There's still a lot to do, like image support and Markdown extensions (did you know that for example strikethrough and ^superscript^ aren't part of the core spec), but the fundamentals are at a level that I feel is acceptable to put out there.

Thanks for everyone in at the original thread. Despite GTK sometimes making me want to do violence, naming was indeed the hardest part.

View original on lemmy.kde.social
opensource·Opensourcebysvn

Naming is the hardest part

Remember ThiefMD?

Hey, anyone remember ThiefMD? It was an awesome markdown editor that I used to use a lot for keeping notes and writing school essays. Unfortunately, the maintainer disappeared from GitHub a couple years ago and the app has just sat abandoned since then.

Last year I tried to pick it up and port it from GTK 3 to 4, but gave up as most of its functionality relies on things that were removed or substantially changed. It's also written in Vala, which seemed like a cool language until I found out it's super dead.

Rewrite it in Rust meme

About a month ago I got a notification from ThiefMD's discussions page as someone there asked about the future of ThiefMD. After the reminder of its existence, I found myself trying again, this time building a spiritual successor from scratch in Rust. It's getting close to a minimum viable product, and I can maybe try publishing it soon. Check out the repo here. There's just one roadblock before I can get to that.

What do I call this?

I'm kinda experiencing decision paralysis with the name, hence this post. I've been trying to find words related to ThiefMD, the cat mascot in the icon, or just writing in general. The approach got me a couple ideas, but I'm not sure how well they fit. Maybe I have to admit I can't have it as clever as I hoped. Any thoughts?

  • Copycat - This is kind of a ThiefMD imitator, and the name mentions cat.
  • Scratch mark - Cat reference that mentions markdown.

Other things

  • I'm also struggling with the icon design. If you're a better artist than me, I very much accept help. See the icon issue with my sketches here.

  • If you have experience working on programs that manipulate files, I'd like to know how you handle them and minimize the risk of data loss. Destroying someone's work is the last thing I want to do.

Thanks!

tl;dr: need name for markdown editor

View original on lemmy.kde.social
lemmyapps·Lemmy Appsbysvn

Yykaakoo-Lemmy: Extending the Lemmyverse With a New App - Built by Meta

Meta is excited to announce the launch of a new app designed for Lemmy. As part of our ongoing commitment to interoperability and user choice, this app will bring the community-driven discussions to a wider audience with an intuitive interface, seamless integration, and innovative features.

Lemmy has been growing as a powerful alternative to centralized discussion forums, allowing users to create and moderate their own communities in a federated network. By supporting Lemmy, Meta aims to enhance the open internet while providing users with more options to connect and share ideas beyond walled gardens.

Starting today, we’re inviting passionate users to test the alpha version of our Lemmy app. Your feedback will help shape its development, ensuring it meets the needs of decentralized communities while staying true to the principles of federation and user autonomy. If you're interested in getting early access and sharing your thoughts, try it now to be part of this exciting new chapter!

You can try it here: https://lemmy.facebook.com/

Source code

::: spoiler Disclaimer

I do not work for meta lol

So, the post is a joke, but web client is a real thing that I've been working on for a bit over 2 weeks now. It isn't very usable yet, but I didn't want to pass the chance to make the announcement as Meta. If you have opinions and feedback on this, I'd actually like to hear that.

The nonsense at the beginning was mostly generated with a plagiarism machine, but maybe it's okay.

:::


Posted on April 1st via Photon Premium

View original on lemmy.kde.social
godot·Godotbysvn

Copyleft GDExtension?

So, I started working on a new project, and I'm thinking of how to license it. Specifically, how to make it as copyleft as possible without making it unusable.

By unusable I mean the license blocking the game (or in a more likely case, any later project that reuses the code) from being published on platforms like Steam. I know that steamshim exists, but I'm not sure if that can be a real solution. Linking against the SDK seems completely optional in Steam's case, but license compatibility is listed as a hard requirement regardless.

The game code consists entirely of a GDExtension written in Rust, so I think I can just neatly LGPL the GDExtension "library" without restricting the game executable itself. It sounds like it should work, but there are some things that I'm not sure of, like hardcoded references to assets.

I really don't enjoy thinking licenses so I usually slap on either GPL or something permissive and be done with it. Anyone notice any holes in my plan, or am I good to go?

I know I can use my own code however I please, but it gets more difficult once there are multiple people involved; I've had one person express vague interest so far.

Thanks.

View original on lemmy.kde.social
rust·Rustbysvn

Messing with MIDI files and soundfonts

Hi, I've been working on this app for playing MIDI files with different soundfonts. It's been a few months of work, but I think it's inching towards being good enough to publish for real. There are still a couple fundamental features missing before v1.0.0, but I thought it would be a good time to share it and ask for opinions in a programming community. Any critique on the app, or code? Do people out there even care about midi files this much? Thanks.

Messing with MIDI files and soundfontshttps://github.com/sevonj/sfontplayerOpen linkView original on lemmy.kde.social

Macbook Air wireless card replacement (continued)

Part 1: https://lemmy.kde.social/post/1763180

So I went and did it. Ordered an adapter and an intel ax200. It seems work just fine out of the box in linux. This cost me 25 to 30 euros total.

Pics

Antenna considerations

The laptop was only designed for up to ac. The new card can do ax, which uses a different band. My router doesn't support ax, so I have no clue if that will see significant signal drop with the old antennae. I actually haven't even bothered to look deep enough to know if this even would be an issue, maybe it's okay.

View original on lemmy.kde.social

Macbook Air wireless card replacement?

Edit: https://lemmy.kde.social/post/1921123

I have this old '13 air. It's outta support, so I run fedora instead of macos. It has BCM4630 for wireless (🖕 Broadcom), which had me manually install a rather unreliable driver to ever get it working. Yesterday I updated, and it can't find any networks anymore.

Instead of messing with broadcom drivers anymore, I'd rather replace the hardware with something better. Has anyone here tried this? Know what will work both in linux and macos, if I were to pass this thing to someone else later?

View original on lemmy.kde.social
photon·Photonbysvn

Photon Gray Dark [Theme]

EDIT: This is now integrated to Photon as the Neutral theme.

I did this a while ago, when theming was first introduced. I wanted a dark theme that wasn't black, and also not tinted.

{"other":{"black":"#000000","white":"#ffffff"},"primary":{},"zinc":{"700":"#484e57","800":"#373b41","900":"#282a2e","925":"#202225","950":"#1d1f21"},"slate":{}}
View original on lemmy.kde.social

You reached the end