this post was submitted on 15 Jun 2023
319 points (100.0% liked)

Programming

13345 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

After the (temporary) defederation announcement of earlier i checked the Lemmy repo to see if there was already a ticket on the federation limiting option like Mastodon's that people mentioned Lemmy doesn't yet have. Not only i didn't find it, i also saw that there's about 200+ open tickets of variable importance. Also saw that it's maintained mostly by the two main devs, the difference in commits between them and even the next contributors is vast. This is normal and in other circumstances it'd grow organically, but considering the huge influx of users lately, which will likely take months to slow down, they just don't have the same time to invest on this, and many things risk being neglected. I'm a sysadmin, haven't coded anything big in at least a decade and a half beyond small helper scripts in Bash or Python, and haven't ever touched Rust, so can't help there, but maybe some of you Rust aficionados can give some time to help essentially all of Lemmy. The same can be said of Kbin of course, although that's PHP, and there is exacerbated by it being just the single dev.

top 50 comments
sorted by: hot top controversial new old
[–] thesanewriter@vlemmy.net 51 points 1 year ago (4 children)

I am a Software Engineer by trade, and I'm right now trying to learn and contribute to their code base but unfortunately, it takes a lot of time to get used to someone else's code. Hopefully, contributions will pick up once we've all had some time to look at it.

load more comments (4 replies)
[–] Domiku@beehaw.org 39 points 1 year ago (3 children)

Maybe this is a good excuse for me to (apologies) shake off the Rust and contribute some. I’ve only contributed once or twice to a FOSS project, though, so I’ll need to read up a little on best practices and etiquette.

[–] Hedup@lemm.ee 18 points 1 year ago

Don't shake it off! They need all the Iron Oxide they can get, from what I'm hearing.

load more comments (2 replies)
[–] dcormier@beehaw.org 35 points 1 year ago

I'm a professional dev who's been doing Rust for a few years, and I just looked into their repo for the core project this morning. They've tagged some issues as being good for newcomers, which is helpful. I already reviewed someone's code there to try to help.

I intend to try to pick off some issues. I like to write code, and I'd like to see this project improve.

[–] dan@upvote.au 30 points 1 year ago* (last edited 1 year ago) (3 children)

Maybe I should learn Rust for this. I've never used it but otherwise I've got 20 years of programming experience so can probably pick it up. I'm very experienced with web development so maybe that's a better area where I can contribute.

[–] pelotron@midwest.social 8 points 1 year ago (1 children)

I'm in the same boat. I'm thinking this might be the opportunity for me to give Rust a try.

load more comments (1 replies)
load more comments (2 replies)
[–] mobyduck648@beehaw.org 29 points 1 year ago (1 children)

Yeah they could use more manpower most likely but everyone here's forgetting the mythical man-month; just chucking more bodies at a software project doesn't necessarily speed it up any more than nine women can have a baby in one month.

That said I'm happy to do the odd bit here and there if there's any call for it, either for lemmy itself or BeeHaw.

[–] anji@lemmy.anji.nl 20 points 1 year ago

You're right of course, but there's tons of individual features which can be worked on in relative isolation. The devs need help with moderation tools, performance, frontend, etc. With 200+ open issues I'm sure more developers making proactive pull requests can make a difference.

[–] pimeys@lemmy.nauk.io 27 points 1 year ago

I would love to participate. I've been doing Rust professionally for seven years now and I understand the language very well. Too bad there is just so much work already and adding a new project feels a bit too much. I'd love to read the source one day though, maybe I find some time.

[–] kresten@feddit.dk 23 points 1 year ago (4 children)

They aren't in serious need. The lemmy and lemmy-ui projects have 4-5 regular devs as I can see it. It's just only 2 people being listed. I believe they are also working on getting help managing lemmy.ml.

As I see it, neither of them spend their time on jerboa either, it has two other regular devs.

A lot of the issues that are created are either duplicates, unimportant or useless suggestions. But there are still some major design decisions that are being actively discussed.

Nutomic and dessalines are just the only paid full-time developers of the projects.

[–] ipkpjersi@lemmy.one 18 points 1 year ago (2 children)

There are some pretty serious bugs, though. One serious bug is that when a registration is denied, the applicant has no way of knowing, it doesn't send an email like it does for approvals - you can find out more here: https://github.com/LemmyNet/lemmy-ui/issues/1096. Another serious bug is after rebooting, active/hot have trouble updating, which makes Lemmy appear much less active than it actually is: https://github.com/LemmyNet/lemmy/issues/3076

These are just two serious bugs I know about, they are tier 0 bugs IMO, and I'm sure there's even more serious bugs that are even more serious than these two.

[–] jherazob@beehaw.org 7 points 1 year ago (5 children)

There's the ticket about clearing deleted messages after 30 days (right now it's keeping every deleted message in the DB until account deletion which is bonkers to me), and i recall seen a couple other rather important ones when i was looking for one relevant to federation options (which i DID NOT find, and which would have prevented the defederation of those two instances). So yeah, there's non-urgent tickets and duplicates and whatnot, but there's important stuff too.

load more comments (5 replies)
[–] kresten@feddit.dk 7 points 1 year ago

I'll admit that those are serious issues. With that said, one of them is in progress of being solved by one of the maintainers and a volunteer instance host. But yes, it could use more people

load more comments (3 replies)
[–] BitOneZero@beehaw.org 20 points 1 year ago (3 children)

Front-end developers

There was a posting I saved about some people saying they were going to code on front-end: https://lemmy.ml/post/1199330

load more comments (3 replies)
[–] Pekka@feddit.nl 16 points 1 year ago (1 children)

I started looking into building a theme for Lemmy, but it was quite difficult to get everything to run well locally. When I did a checkout the main branch had an error in the Rust code and the main branch of the ui had an error that prevented the websocket from connecting to the back-en. I did get it to work by fixing the small error in rust and using a branch that fixed the websocket error. But it was hard to get started.

I was wondering if there is a Lemmy development community here on Lemmy. I tried searching for it on Lemmy.ml, but the cummunties about Lemmy and support don’t really look like they are about development.

[–] jherazob@beehaw.org 9 points 1 year ago (1 children)

That's a good point, there should be a community about developing Lemmy itself on the main Lemmy instance, pinging @dessalines@lemmy.ml and/or @nutomic@nutomic@lemmy.ml, it would be the place to recruit to help, maybe even make posts about specific issues that need attention or something

[–] zeerooth@lemmy.antemeridiem.xyz 7 points 1 year ago (4 children)

If you have a matrix account there is a chat for lemmy development: #lemmydev:matrix.org

load more comments (4 replies)
[–] SQL_InjectMe@partizle.com 14 points 1 year ago (3 children)

@mobyduck648@mobyduck648@beehaw.org

They probably could use more manpower to some extent but we’re all forgetting The Mythical Man-Month; just chucking more bodies at a software project doesn’t necessarily speed it up any more than nine women can have a baby in one month.

Sure, but look at the rapid progress llama.cpp made in the past 3 months, especially in the 1-2 weeks after its launch


btw, my instance just linked to this community so I don't see your comment (which is why this is a root level comment)

[–] Ludrol@szmer.info 11 points 1 year ago (1 children)

If you copy a link to the comment and put it into a search bar (on your instance) you can force a server to prioritise this one comment to load on your instance. Then you can reply with your comment.

load more comments (1 replies)
load more comments (2 replies)
[–] Nyanix@beehaw.org 13 points 1 year ago (4 children)

I wish so badly I could code, I spent 8 years trying to understand it and get into the industry, but it never quite clicked in my brain. Soooo I do IT infrastructure. I wish so badly to contribute code

[–] WatTyler@lemmy.sdf.org 7 points 1 year ago (8 children)

May I ask you more about your experience attempting to learn? I don't know if it's because I can program but eight years seems a long time. In return, I'd be happy to offer you a few pieces for advice that could help?

load more comments (8 replies)
load more comments (3 replies)
[–] SuitedUpDev@feddit.nl 13 points 1 year ago (6 children)

One of the first things I did when I learned about Lemmy and joined an instance is see if I could contribute in some way, shape or form.

But unfortunately it's written in Rust, a language in which I have 0 experience and 0 knowledge. :(

[–] camelcdr@beehaw.org 22 points 1 year ago (5 children)

Maybe you know more about web or android development, then you could look into contributing to the lemmy-ui or jerboa.

Yesterday I was annoyed at wide code blocks being wrapped, instead of having a horizontal scrollbar, so I took 20 minutes of googling and hacking around with my minimal css skills and wrote a PR, it's already merged and will probably show up on instances soon.

load more comments (5 replies)
[–] bdonvr@thelemmy.club 18 points 1 year ago (2 children)

0 experience and 0 knowledge so far, right? :)

load more comments (2 replies)
[–] greybeard@lemmy.one 12 points 1 year ago* (last edited 1 year ago) (2 children)

If you are familiar with programming in general, you should be able to use those skills in Rust. Also, there is front end developing to do. I haven't looked into what tool kits they use for the front end, but I imagine CSS, HTML, and JavaScript/TypeScript knowledge would be useful.

[–] squaresinger@feddit.de 7 points 1 year ago (2 children)

Yeah, of course you can learn a new language. But it's only moderately helpful for a FOSS project for random people who don't really know the language and really don't know the project to just dip their toes in and commit something.

Often this causes more work that it helps.

load more comments (2 replies)
load more comments (1 replies)
[–] ollien@beehaw.org 10 points 1 year ago* (last edited 1 year ago)

Even as someone with Rust experience, I found the experience of attempting to add a change to be frustrating. Aside from the fact that there's quite a bit of unidiomatic Rust (which I can't be too mad about, but does mean there are a lot of function signatures that just aren't what I'd expect and caused me some pain), the compile times for even small changes are long. After just changing a struct initializer, running cargo check took nearly a full minute, due to all the dependencies between the crates.

[–] nachof@feddit.cl 9 points 1 year ago

Always a good opportunity to learn something new.

[–] mrmanager@lemmy.today 8 points 1 year ago (1 children)

It's really the best language right now for a lot of things. It's not easy to learn but once you start to get parts of it, it's a great feeling.

It's sadly complicated and that's the only problem with it. If it was less complex it would take over everything because it's just so much better.

[–] Stumblinbear@pawb.social 8 points 1 year ago

Unfortunately the complexity is what makes it so good. I don't know how you could make it simpler but remain just as powerful

[–] nii236@lemmy.jtmn.dev 11 points 1 year ago (6 children)

The previous calls for forking were not convincing (political), but this post makes sense to, if the community is unable to contribute because of a lack of attention from external help.

I’m not sure if that’s the case and I’ll have to have a look myself.

I’m happy to contribute, and hopefully the process of new contributors (CONTRIBUTORS.md) is easy and straightforward, and the issues are triaged by someone dedicated, perhaps from the community.

load more comments (6 replies)
[–] awwsom@beehaw.org 9 points 1 year ago

i am a noob, but i'll try just help me when i make mistake.

[–] dill@lemmy.one 9 points 1 year ago (1 children)

I'm hoping to contribute to jerboa. That's more my wheel house than rust

load more comments (1 replies)
[–] DeadGemini@waveform.social 8 points 1 year ago* (last edited 1 year ago) (5 children)

I'm not a dev, but I do have SOME coding experience and have been wanting to help with some open source projects, if nothing else but for the experience. Rust has been on my "to learn" list for like a year now. I def have a lot to learn, but the best way to learn is to get your hands dirty. I'll take a look at the Github page and see if there's any low-hanging fruit I can try to tackle lol

EDIT: I'm pretty sure I can help with some of these. My coding skills are out of practice, and idk any Rust yet, but I'm a fast learner. Currently learning how to use git to fork a repo, add code, and create a PR, then I'll go learn some Rust syntax and get to work! I'm actually really excited! I've been wanting to figure out how to contribute to FOSS projects since I started daily driving Arch Linux like a year ago, and this is a great opporunity for me to learn!

If anyone has any development tips for a noob like me, let me know! I'm going in pretty blind here, so any advice is appreciated!

load more comments (5 replies)
[–] Bobo_Palermo@kbin.social 7 points 1 year ago (2 children)

As a dev who never even heard of Rust, it sounds interesting.

[–] CoderKat@kbin.social 16 points 1 year ago (4 children)

You never heard of Rust? Today's lucky ten thousand then. I've personally never had a chance to use Rust, but it's my #1 most interested in language based on all the things I've heard about it.

Though I'm personally on kbin and naturally there's the most interest in fixing issues that are on your instance. Kbin sadly is just PHP, but whatever. I was gonna make a bug fix yesterday, but the steps to turnup a dev instance are so long that I got lazy and didn't bother. I'm spoiled by all the servers at my work that I can just start running with a single command that having to spend potentially a few hours turning up a server feels like too much now (and let's be honest, setting up a dev env is the most boring and annoying part of our job).

load more comments (4 replies)
[–] nii236@lemmy.jtmn.dev 11 points 1 year ago (3 children)

Seriously? What language do you use? How much experience do you have?

load more comments (3 replies)
[–] fastfinge@rblind.com 7 points 1 year ago (13 children)

How is PHP doing these days? It used to be hugely popular, but seems to have fallen into disregard in a lot of circles. I wonder if PHP being seen as a "easier" language than rust will attract more kbin developers?

[–] dan@upvote.au 10 points 1 year ago* (last edited 1 year ago) (3 children)

PHP is hugely popular. People just don't talk about it because the developers mostly keep quiet and do their work :)

load more comments (3 replies)
load more comments (12 replies)
[–] JohnDumpling@beehaw.org 7 points 1 year ago

Saly, I have no experience in programming, but I'll at least help with transations.

load more comments
view more: next ›