[-] Ategon@programming.dev 4 points 2 months ago

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

[-] Ategon@programming.dev 4 points 6 months ago* (last edited 6 months ago)

that probably would make things more confusing since it would sound even closer to c/technology. You also cant rename communities so it would have to be remade if any name change occured which would lose all the current posts, etc.

[-] Ategon@programming.dev 4 points 2 years ago

Might be something to do with 0.19, Seems like same is true across my mastodon instances. Assume that would be a bug with lemmy

[-] Ategon@programming.dev 4 points 2 years ago

Dev of said fork here, not technically established, just has been in development. There is a much larger project in the works but it hasn't been announced publicly yet and its also in development

[-] Ategon@programming.dev 4 points 2 years ago* (last edited 2 years ago)

Seeing what people voted for isn't public in the api (cant even get that from someone being logged in). Only posts & comments made for non login info

[-] Ategon@programming.dev 4 points 2 years ago* (last edited 2 years ago)

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)

[-] Ategon@programming.dev 4 points 2 years ago* (last edited 2 years ago)

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

[-] Ategon@programming.dev 4 points 2 years ago* (last edited 2 years ago)

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)

[-] Ategon@programming.dev 4 points 2 years ago

[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);
}

Link

1

Upvote a comment to vote, you can reply on an option with more details

38
  1. Constraint Solving
  2. Deformable Mesh
  3. Wiggle bone
  4. WigglyAppendage2D
  5. Third person camera
  6. Auto Layout
  7. Panku Console
  8. Mirror
  9. RL Agents
  10. Inventory System
17
1
27
21
1
Guess the Language: #7 (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by Ategon@programming.dev to c/trivia@programming.dev

Upvote a comment to vote. Answer revealed in ~ 12 hours

12
1
submitted 2 years ago* (last edited 2 years ago) by Ategon@programming.dev to c/polls@programming.dev
1
1

Answer revealed in ~ 12 hours, Upvote a comment below to vote

1

Answer revealed in ~12 hours. Upvote a comment below to vote

[-] Ategon@programming.dev 4 points 3 years ago

Ive removed this comment due to being unrelated to the actual topic of the post which is the new lemmy frontend. Reminder to keep talks here about rust rather than politics. Theres a ton of other communities for that and the lemmy dev politics have already been discussed heavily

[-] Ategon@programming.dev 4 points 3 years ago

Community has been created at https://programming.dev/c/books

Waited a bit until I finished up a bot for it. The bot should delete any posts or comments that contain a link

[-] Ategon@programming.dev 4 points 3 years ago

true moving posts could be something that could be done if lemmy is set to deal with that. I can check to see how difficult that would be to put into lemmy and possibly push a patch out.

If we get that functionality in we can do another poll to determine whether it should switch to that but for now im just polling these options since I assume it wont be a thing for a bit (I tried to push another patch out to the site to make the request community more prominent but it seemed to be having issues with certain aspects of the changes so that needs to be fixed before we can get some updates out)

view more: โ€น prev next โ€บ

Ategon

0 post score
0 comment score
joined 3 years ago
MODERATOR OF