I dug through the code and turns out the post read table does store when its read (with number of comments when it was read stored in a person post aggregates table), it just only stores it for people from your instance so I cant get accurate numbers from all of lemmy (and why it seemed like there was a low amount)
[Rust] 11157/6740
use std::fs;
const m: [(&str, u32); 10] = [
("zero", 0),
("one", 1),
("two", 2),
("three", 3),
("four", 4),
("five", 5),
("six", 6),
("seven", 7),
("eight", 8),
("nine", 9)
];
fn main() {
let s = fs::read_to_string("data/input.txt").unwrap();
let mut u = 0;
for l in s.lines() {
let mut h = l.chars();
let mut f = 0;
let mut a = 0;
for n in 0..l.len() {
let u = h.next().unwrap();
match u.is_numeric() {
true => {
let v = u.to_digit(10).unwrap();
if f == 0 {
f = v;
}
a = v;
},
_ => {
for (t, v) in m {
if l[n..].starts_with(t) {
if f == 0 {
f = v;
}
a = v;
}
}
},
}
}
u += f * 10 + a;
}
println!("Sum: {}", u);
}
added functionality for the two rules
- getting all communities with a certain slug
- exclude instance with domain X from above rule
was running into rate limits when trying to check every single linked instance so ive manually put in the larger ones for now

that only works for certain file types afaik. I know in 4.1 there was one time I messed with a files location and had to update manually, forget which file type it was though
Update: made !test@programming.dev and hid it from the feeds for an in-instance testing area
I added code block support to lemmy-ui so if 0.19 comes out before then yes
If not then no but I can try to figure out a solution
starts december 1st
didnt realize I added the programming community to the communities that triggers the bot haha
its relevant to this post but not crosspost relevant, will tweak the triggers
The one issue I ran into is alternate UIs other than lemmy-ui dont seem to collapse crossposts in the post feed so the recommendation of cross-posting everything floods people not using lemmy-ui
Going through and making issues in all of their repositories
yeah although I havent pushed changes to a repo recently, ill do that and share in a sec
figured having it as a message also makes it a spot where readers can see communities for that topic as well
It was put into place mostly due to that since a bunch of those communities were made with no limitations. We can look into changing if it seems to be limiting the creation of some communities but so far has just been limiting mostly topic hyperspecific communities so that the more general communities get used before splitting off into subcommunities
Ategon
0 post score0 comment score
Ill be submitting some logos and another banner that im making in gimp later in the week
Edit: exams are pain, will do that before the end of the month