It still doesn't catch everything since there's users that don't vote comment or post
Adding in users who don't do any action would double it again (although not public info which people are visiting communities hence why its not part of it)
It still doesn't catch everything since there's users that don't vote comment or post
Adding in users who don't do any action would double it again (although not public info which people are visiting communities hence why its not part of it)
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
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
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
Created at !pwa@programming.dev
Weve also got a !lemmy_dev@programming.dev community in here that can be posted in
~~you can trigger one using !remindme and then the length at the start of a message~~
Edit: its offline temporarily so that I can comply with lemmy.world bot rules
If I run a poll for the community on what we should do what should the options be?
currently thinking
This or the discord is probably the best spot atm
Seems like that community was likely handled by an admin already since I can't find it