1
2
submitted 3 days ago by schalkneethling to c/opensource
2
12
submitted 1 week ago by [email protected] to c/opensource

Hi there!

Since the last time the LemmyWebhook package gained quite a few new capabilities so I've decided it's time for another post.


Quick intro to the package: It adds support for webhooks to Lemmy, meaning you can get notified of events to automatically react to, instead of having to poll for everything, often using multiple http requests. Everything is done in a quite efficient way which avoids hitting your database as much as possible and if it does, it only uses queries on primary key. You can also (optionally) make it available to other users who can then run their bots on your instance only on the permissions you allow them, meaning if you only grant them access to post events, they don't also get access to new user events.


So, what's new?

  • When you listen for an update event, you get the previous version of data in addition to the current one, meaning you can directly compare what has changed
  • New function for getting parent comment id have been added, with this you can for example detect if someone is replying to your bot
  • You can now listen for community subscribe/unsubscribe event

As usual, let me know what you think, feel free to offer suggestions or ask questions.

3
-2
submitted 1 week ago by schalkneethling to c/opensource
4
11
submitted 1 week ago by JPDev to c/opensource

cross-posted from: https://lemmy.ml/post/13924279

  • step in and help review a few PRs

  • help the project triage/reproduce bugs

  • if code in the PR looks complicated or is hard to understand, ask for an explanation

  • express your gratitude to the maintainers

  • make your company sponsor projects they depend on

https://mastodon.social/@bagder/112194895793007918

Daniel is the creator of cURL : https://daniel.haxx.se/blog/2021/03/30/howto-backdoor-curl/

5
8
submitted 1 week ago by [email protected] to c/opensource

Hey!

I not good at understanding a project from its code. So, I try as much as I can to understand it from its technical documentation first. But so many time I fell overwhelm by the information: I don't know were to start to read and I don't know how to find a specific information.

How can I know when I'm lacking in understanding the project and when the project is lacking good documentation?
Where should I start while studying a documentation which readme doesn't say "read this next"?

Thank you

6
20
submitted 2 weeks ago by canpolat to c/opensource
7
7
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/opensource
8
8
submitted 3 weeks ago by schalkneethling to c/opensource
9
22
submitted 3 weeks ago by mac to c/opensource
10
7
submitted 3 weeks ago by schalkneethling to c/opensource
11
19
submitted 1 month ago by [email protected] to c/opensource

Most mobile games nowadays seem to be crap. Got any good mobile games that are open source and fun to play (for more than a few days)?

12
82
submitted 1 month ago by starman to c/opensource
13
43
submitted 1 month ago* (last edited 1 month ago) by pylapp to c/opensource

“It is with a heavy heart that I'm writing today to inform you that the Board of Directors of the Open Collective Foundation (OCF) has made the difficult decision to dissolve OCF, effective December 31, 2024”.

More details in the hyperlink below.

https://daniel-lange.com/archives/186-Opencollective-shutting-down.html

14
10
submitted 1 month ago by starman to c/opensource

Chances are you’ve never heard of Igalia, the open source consultancy. Yet you’re almost certainly using something that Igalia helped build.

15
5
submitted 2 months ago by ericjmorey to c/opensource

cross-posted from: https://programming.dev/post/9979951

Monday, February 12, 2024
Ribbon and Ron Williams write:

As Redox functionality becomes more complete, we have been working hard to get a wide variety of software working.

This post will cover our porting strategy for Linux/BSD programs.

We have ported the following games and emulators:

2048
ClassiCube
DevilutionX
DOSBox
eduke32
FreeCiv
Gigalomania
Hematite
Mednafen
Neverball
OpenJK
OpenTTD
PrBoom (Doom engine)
ScummVM
Space Cadet Pinball
and others.

Porting is a major part of the Redox development effort. We are using porting as a way to prioritize and validate Redox functionality.

Currently dozens of programs and many more libraries work. Our initial focus has been on porting Rust programs, but we also recognize the importance of supporting programs written in other languages.

In last year Ribbon began the porting of more than 1000 programs and libraries to Redox! They are still work-in-progress and many require customized cross-compilation scripts or improved library support. You can see them here.

With our recent change to a Linux-compatible path format, we have removed a major hurdle to supporting Linux applications. In the future we plan to expand our POSIX support, port more Rust crates and continue to improve Relibc.

Some thought is being given to virtual machines and Wine as possible mechanisms for running proprietary binaries and possibly even proprietary drivers. However, there are no specific plans for that capability at this time.

Read Porting Strategy - Redox - Your Next(Gen) OS

16
10
submitted 2 months ago by [email protected] to c/opensource

It's been a while since I've last posted about this package and quite a lot has changed since then.


So, what does this package do? It adds support for webhooks to Lemmy in an efficient way, meaning you can subscribe to various events like a new post created, new comment added and so on. Very useful, for example, for automods or other bots that need to react fast.

Since the last time I've added more object types, so in addition to posts and comments you can now listen for:

  • comment reports
  • instances being added or updated (for example federation changes)
  • local users (users local to your instance, it's a distinct type from all users, it contains stuff like email and other stuff that doesn't get federated to other instances)
  • all users in general (this includes federated and local users)
  • post reports
  • private messages (does not contain the message text itself, only metadata like recipient and the author)
  • private message reports
  • registration applications

Another huge improvement is an api that allows users to create webhook and even more importantly a simple GUI for management of your webhooks. This means that this package is no longer only for instance admins, but bot authors in general can ask their instance admins for access to webhooks (and to install the webhooks package to their Lemmy instance if they don't have it yet) and if the admins grant it, you now have access to webhooks. Every access is scoped, meaning if your bot only needs access to posts, you don't need to ask for the permission to receive registration applications, meaning admins can freely grant you access to webhooks without also giving you access to stuff you shouldn't have access to.


There's also support for bulk import of webhooks based on a YAML document, meaning creators of bots and other applications that have support for webhooks can create a YAML document with all the webhooks other people then can import without any trouble. Each imported webhook needs a unique ID which allows the system to track changes to it which allows the importer to update old webhooks instead of duplicating them (as long as they share the same ID).


Let me know what you think, your ideas for improvements or any comments in general are welcome!


P.S. If someone wants to try it out, you can use my instance. The webhooks are available at https://webhooks.lemmings.world (accounts must be manually approved, so be patient and ideally write me a PM if you want the access quicker).

17
4
Announcing Google Season of Docs 2024 (opensource.googleblog.com)
submitted 2 months ago by mac to c/opensource
18
2
submitted 2 months ago by schalkneethling to c/opensource
19
19
submitted 2 months ago by mac to c/opensource
20
14
submitted 2 months ago by [email protected] to c/opensource
21
16
submitted 3 months ago* (last edited 3 months ago) by armchair_progamer to c/opensource

the number of people who have left the rust project due to burnout is shockingly high. the number of people in the project who are close to burnout is also shockingly high.

this post is about myself, but it’s not just about myself. i’m not going to name names because either you know what i’m talking about, in which case you know at least five people matching this description, or you don’t, in which case sorry but you’re not the target audience. consider, though, that the project has been around for 15 years, and compare that to the average time a maintainer has been active …

The author doesn't seem like a big fan of capital letters...

22
5
submitted 3 months ago by schalkneethling to c/opensource
23
20
OpenTofu is going GA (opentofu.org)
submitted 3 months ago by schalkneethling to c/opensource
24
5
submitted 3 months ago by [email protected] to c/opensource
25
20
submitted 3 months ago by schalkneethling to c/opensource
view more: next ›

Opensource

456 readers
1 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 6 months ago
MODERATORS