Live data from Hacker News

Lemmy: Federated Alternative to Reddit in Rust

github.com

51–60 of 108 posts

Re: Lemmy: Federated Alternative to Reddit in Rust

#51
I don't understand what this is. At first, I thought it was a scraper for links which is the only reason I go to reddit at all. Such a thing would help stop me from getting sucked into the 80% of reddit which is nothing but a smelly pile of poo.

So what does this do?

Re: Lemmy: Federated Alternative to Reddit in Rust

#52
post #46

Earlier quoted context omitted.

Well, for a start... having a single file called "server.rs" which is 2256 lines long is already disqualifying. This file, code structure would be incredibly poor for developer efficiency. It just grows and grows and does all the things while having a vague sounding name like "server.rs" Why is server.rs doing "EditSite." What does the name EditSite mean anyway? Poor code reuse, same bits of code copy and pasted all…

What is the max lines in a single file for a developer "to get fired" at your company?

The company has a shell script running in Cron. If it finds a source file with more than 1000 lines it deletes the author from the payroll.

Re: Lemmy: Federated Alternative to Reddit in Rust

#53

I don't understand what this is. At first, I thought it was a scraper for links which is the only reason I go to reddit at all. Such a thing would help stop me from getting sucked into the 80% of reddit which is nothing but a smelly pile of poo. So what does this do?

This is a reimplementation of a reddit-like site. But open source, and with ambitions to work in a federated (as opposed to centralised) way.

You could use this code to host your own Reddit (or you will be able to once they project is more developed).

Re: Lemmy: Federated Alternative to Reddit in Rust

#54
post #37

Earlier quoted context omitted.

What makes you say so? Can you give examples?

Well, for a start... having a single file called "server.rs" which is 2256 lines long is already disqualifying. This file, code structure would be incredibly poor for developer efficiency. It just grows and grows and does all the things while having a vague sounding name like "server.rs" Why is server.rs doing "EditSite." What does the name EditSite mean anyway? Poor code reuse, same bits of code copy and pasted all…

> 2256 lines long is already disqualifying

I'd love to hear a justification for this idea.

Re: Lemmy: Federated Alternative to Reddit in Rust

#55
post #52
post #46

Earlier quoted context omitted.

What is the max lines in a single file for a developer "to get fired" at your company?

The company has a shell script running in Cron. If it finds a source file with more than 1000 lines it deletes the author from the payroll.

Sadly this cron has fired the shell script author, and no one dares to touch it.

Re: Lemmy: Federated Alternative to Reddit in Rust

#56
post #46

Earlier quoted context omitted.

Well, for a start... having a single file called "server.rs" which is 2256 lines long is already disqualifying. This file, code structure would be incredibly poor for developer efficiency. It just grows and grows and does all the things while having a vague sounding name like "server.rs" Why is server.rs doing "EditSite." What does the name EditSite mean anyway? Poor code reuse, same bits of code copy and pasted all…

What is the max lines in a single file for a developer "to get fired" at your company?

It's a ridiculous metric.

Re: Lemmy: Federated Alternative to Reddit in Rust

#57
post #52
post #46

Earlier quoted context omitted.

What is the max lines in a single file for a developer "to get fired" at your company?

The company has a shell script running in Cron. If it finds a source file with more than 1000 lines it deletes the author from the payroll.

No, it is written in APL for extra conciseness. When they wrote it in shell it deleted the authors from the payroll.

Re: Lemmy: Federated Alternative to Reddit in Rust

#58
post #16

Serious question: from a user perspective, isn't spam going to be insanely bad in the Fediverse? How do you stop spam without a central authority?

Similar to an email service. You rely on the node operators to manage it.

Yeah, and look how well it works in the email world.

Re: Lemmy: Federated Alternative to Reddit in Rust

#60

Earlier quoted context omitted.

Another, decentralized, project https://getaether.net/

Yup, creator of Aether here. Small difference, this is federated, Aether is decentralised. Far as I understand this is more like Mastodon where some people host servers that talk to each other. Aether is more like a decentralised Usenet, every user is a server.

[deleted]
Post reply on HN