Damus

Recent Notes

oldkid · 4w
Locally, I just test the code changes to see if they work and don’t cause any errors. As I work a lot with AI, it generates fake data for me if necessary. The actual test then runs on my test instan...
leanderlindahl profile picture
@oldkid I would like to work on the group pages and see if they can be improved and see what data is available. But I can't display a group page in my local ddev dockerized environment.

I can "follow" various real accounts and then run the worker to import their posts. But I get the posts without images. I haven't managed to populate a group, neither "fake" nor "real". 🤔
leanderlindahl · 5w
Hello dear friends! I was wondering what methods people are using to have production data or a realistic sample of production data in their dev environment. Does one do a search and replace in the DB...
leanderlindahl profile picture
Thanks for replying guys, but I don't get it. Setting up an account on my local dev installl and then viewing that from a production site?

If one wants to work on the CSS and Javascript one would want to have all the code on ones local machine. One doesn't want to live code on the server.

Is no-one copying production data down to their local machine? I can see it becomes difficult over time, with lots of posts and images.

Maybe one should connect to the productioin DB and media files from localhost and also manipulate the hosts file locally to send the requests to your production domain to localhost while working. The problem is that you tend to prefer to configure the MariaDB to only be accessible via locally on the server.

This is a tough one... I can't find a reasonable setup for development environment.
1
hypolite · 3w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 Live code for a test node is perfectly acceptable. Sometimes we get duplicated/test posts from nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqz902ezwey7vc9arnf63s45c88j6nxx79vnya...
oldkid · 4w
Locally, I just test the code changes to see if they work and don’t cause any errors. As I work a lot with AI, it generates fake data for me if necessary. The actual test then runs on my test instance, which is connected to the Fediverse.
leanderlindahl · 4w
I see. Sounds vague to me, but ill catch the drift i guess. (Its sad that its in Microsoft Copilot Github the main action is.) Is there no mechanism in friendica to see that someone replied? I saw th...
leanderlindahl profile picture
Anyway, on a lighter note 🙂
The reason I asked where to discuss feature and prodiuct decisions, is that I would like to suggest that bookface is the new default for Friendica. Keep the other ui by all means, but make bookface the predefined default.
leanderlindahl · 4w
Where are features discussed? In the support, admin or develop groups? It'd be interesting to follow the discussions leading up to decisions in Friendica. I'm completely new, which means limited abil...
leanderlindahl profile picture
I see. Sounds vague to me, but ill catch the drift i guess. (Its sad that its in Microsoft Copilot Github the main action is.)

Is there no mechanism in friendica to see that someone replied? I saw this reply by accident when i was using my mastodon.social account and looked at my friendica user from there.
1
leanderlindahl · 4w
Anyway, on a lighter note 🙂 The reason I asked where to discuss feature and prodiuct decisions, is that I would like to suggest that bookface is the new default for Friendica. Keep the other ui by all means, but make bookface the predefined default.
leanderlindahl profile picture
Where are features discussed? In the support, admin or develop groups? It'd be interesting to follow the discussions leading up to decisions in Friendica.

I'm completely new, which means limited ability to influence things – as it should be, you have to earn that. But i would already like to start voicing thoughts and opinions, as well as follow the ideas and reasoning behind the decisions that are made.
1
leanderlindahl · 4w
I see. Sounds vague to me, but ill catch the drift i guess. (Its sad that its in Microsoft Copilot Github the main action is.) Is there no mechanism in friendica to see that someone replied? I saw this reply by accident when i was using my mastodon.social account and looked at my friendica user fro...
leanderlindahl · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqjyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78q6m9q72 I'm curious to see and understand what that compact view does. I liked the sound of wh...
leanderlindahl profile picture
@Random Penguin I saw some dismissing sweeping opinions about compact view should not be too similar to Mastodon. Why not?

But without having thought it through properly, i'd venture saying you want the original post, potentially abbreviated, and then the most recent reply.
Random Penguin · 4w
I retracted my PR for this. It won't be in the next release of Friendica. It conflicts with the existing "Compact Conversation View" feature which hides all other comments except your own interactions...
leanderlindahl profile picture
@Random Penguin I'm curious to see and understand what that compact view does. I liked the sound of what your suggestion did.

Thats a major thing i struggle with in Friendica (mobile first, bookface), that a single post with comments take up several screens of scrolling and then you give up and switch back to mastodon.

Another thing i struggle with is – it seems you dont get notified when someone interacts with your posts (likes, replies). You find out by accident or not at all.
3
leanderlindahl · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqjyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78q6m9q72 I saw some dismissing sweeping opinions about compact view should not be too similar to Mastodon. Why not? But without having thought it through properly, i'd venture saying you want th...
Random Penguin · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 "Compact Conversation View" was explained to me as only displaying comments that are: a direct reply by the author to their own post a direct reply by the reader to a post[/i] My prop...
Random Penguin · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 Another thing i struggle with is – it seems you dont get notified when someone interacts with your posts (likes, replies). You find out by accident or not at all. Did you ever change ...
wilhelm · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 there is trouble migrating open issues sadly. Things have improved a bit already and t...
leanderlindahl profile picture
@nprofile1q... @Marcus

Leave the open issues on Microsoft Github and start new issues instead. Sounds more like there are individuaks with other reasons for not wanting to move from big brother. There are no practical reasons against a move.
1
hypolite · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqdv6zw3dtvudxclr56jtxkgxjzj2w7z5fy7jdzmmzuy0tj4rwngmsddfpl7 nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvre43ayn6r8u55str...
leanderlindahl profile picture
Hello dear friends!

I was wondering what methods people are using to have production data or a realistic sample of production data in their dev environment. Does one do a search and replace in the DB of all occurences of the URL for the production site? Does anyone have a good script one could get inspiration from? That would be super awesome because I'm a bit unsure how I should go about this.
3
Michael 🇺🇦 · 5w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 I'm coding directly on my production machine.
hypolite · 5w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 Same as Michael, you can use a test account on your dev server and interact with it from another production ActivityPub instance for example.
leanderlindahl · 3w
Thanks for replying guys, but I don't get it. Setting up an account on my local dev installl and then viewing that from a production site? If one wants to work on the CSS and Javascript one would want to have all the code on ones local machine. One doesn't want to live code on the server. Is no-on...
hypolite · 5w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 I'm with you but the Friendica project has a long and extensive history with GitHub da...
leanderlindahl profile picture
@hypolite i don't see why we must keep everything that was ever done sice 2010.

The Microsoft Copilot repo can still be there as a historic archive. But going forward we can work with the existing git repo on a free platform and escape the clutches of Big tech and surveillance. But obviously others don't agree and I'm a new nobody in the Friendica community, so I will have to live with that.

It's just I feel super uncomfortable having to use Microsoft Copilot and have them register my every move. It's so contrary to what the Friendica project is about to force developers into Microsofts surveillance clutches.

github.com/friendica/friendica…
leanderlindahl · 5w
Trying this again. Hello everyone. I wanted to update the .ddev config.yaml to PHP 8.3 (from 7.4). I must admit I'm not sure about the process. I tried to follow this guide dev.to/jcasman/howto-pull...
leanderlindahl profile picture
Yes, I see . But I think the MIcrosoft repo can stay there as an archive and a historic document. But we can still move the repo over and just keep working in a new space free from surveillance capitalism. I hobestly don't see why everything since 2010 must be moved. It's enough to move the repo.

But obviously the others see it differently, which is fine. Only I feel super uncomfortable using Microsoft and have them record and map whatever I do.

Anyway, here my first Microsoft Copilot PR. Let me know if you spot something about it that's not right. Be it br
1
wilhelm · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvjg9d79h2zrq4nmgf34yqsuzrxjuv50c35n7tkukzq8mxwlzsc3scqt566 there is trouble migrating open issues sadly. Things have improved a bit already and thankfully nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqvre43ayn6r8u55strg6wqdpan5gs2rzvl4q...