Lensflare
· Level 574
rant
SwiftUI SVG fail
It's 2026 and Apple is still treating SVG as some niche image format.
SwiftUI AsyncImage doesn't support SVG.
I had to use a custom gist https://gist.github.com/erezhod/6e8e6af3c940d88a706a9d936c8838e6
to be able to implement the user images in the iOS app.
I like how the devplace api provides a way to get the user image.
(Still waiting eagerly for the ability to change the own image ^^)
3
Comments
So, you couldn't get the avatars to work?
Oh, I click rant open and see more info. 😮
Fun fact, you can paste your SVG in an LLM and ask it to animate it 😲
Not being able to choose an avatar fights racism and sexism and all other things I care so much about 😁 @ostream would be proud.
It doesn't. So, you're not planning to implement avatar change?
Just gimme a reroll, that's all I'm asking ^^
Actually, a reroll is not really possible atm because it's attached to your username 😂 - nah, I will make the randomizer. But I work on your other tickets first.
Thanks.
The api already has an
avatarSeedfield which is not being used.All you need to do is make an endpoint to generate a new random seed, which is stored in this field.
Then the website should use this field to render the avatar and fall back to the username if this field is empty. The user can then tap on a button to effectively reroll the avatar.
Then add an endpoint to clear the seed so that the user can go back to the username based avatar.
I think you know the API now better than I do. If avatarseed is a field... I'm sure it's immutable atm. Will look into it 😉
The side effects of vibe coding :D
Btw ostream is the greatest nazi and racist of all the users of devrant. Don't be fooled by him.
He has a wife from a bomb country 😄
Specifically to make everyone think that he's not a nazi.
Yes, that's how fucked up he is.
Whatever racist you are, nobody is as racist as the person that decided that emoji needed skin colors 😤
trueI also start to code within a hour or so. It's time to do something. When a project is as big as this one now, you start to see how destructive an LLM is. It breaks easily without shame, existing features 😔
I also start to code within an hour or so. It's time to do something. When a project is as big as this one, now you start to see how destructive an LLM is. 😅 It breaks easily, without shame, existing features.
This is for multiple reasons a problem. Especially that it costed me money twice - not much, see my profile. There is literally one workaround in this project, and it bytes me 😤
Wow, look, it replaced a with an. It fucked up English! 😲
an hour is actually correct English :D
It depends on the pronunciation of the word, not on the spelling of it :)
The h in hour is silent, so it's considered beginning with a vovel :)
That's why I prefer retro-language. 😄
@Lensflare you forgot to upvote my comments so I did it myself. It's a feature. 😏
@Lensflare starting to program, i will start on the sequence of plus and minus 😊
much appretiated