Ategon

joined 1 year ago
MODERATOR OF
[โ€“] [email protected] 58 points 10 months ago* (last edited 10 months ago) (6 children)

For anybody interested, the monthly active users including voters is 131,150 (131k)

The one in the graph only takes into account people who have made a post or comment

Edit: The halfyear active users including voters is 253,166 (253k)

[โ€“] [email protected] 11 points 10 months ago* (last edited 10 months ago) (8 children)

I changed the algorithms in programming.dev to take into account voters in the activity. Since stats are all calculated locally you can view any community from programming.dev to get the monthly active users including that change

e.g. https://programming.dev/c/[email protected] shows 27.8k users/month on p.d which is almost as much as the value here for all of lemmy excluding voters

[โ€“] [email protected] 2 points 10 months ago (1 children)

Note you can put this on a separate post and should get some responses from that

(this is supposed to be for solutions only so people arent browsing it to solve help requests)

[โ€“] [email protected] 1 points 10 months ago

Yeah tried to golf it a bit so its not very readable

Seems like the site doesn't track characters though so won't do that for future days

It basically just loops through every character on a line, if it's a number it sets last to that and if its not a number it checks if theres a substring starting on that point that equals one of the 10 strings that are numbers

[โ€“] [email protected] 2 points 10 months ago

Started a bit late due to setting up the thread and monitoring the leaderboard to open it up but still got it decently quick for having barely touched rust

Probably able to get it down shorter so might revisit it

[โ€“] [email protected] 4 points 10 months ago (6 children)

[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

[โ€“] [email protected] 19 points 10 months ago* (last edited 10 months ago) (1 children)

they start out easy and get harder as time goes on. Theyre intended for all levels due to that and theres two different difficulties per day (the harder one being unlocked when you do the easy one). Basically anyone can do day 1

Heres stats for how many people completed each day last year https://adventofcode.com/2022/stats

[โ€“] [email protected] 6 points 10 months ago* (last edited 10 months ago) (1 children)

Update: Ive make a new leaderboard with code 3316962-6587d422 that has a name that isnt just my username (for some reason AoC only lets the leaderboard be an account name) since theres not many people on it currently and so its easy to find when the events going on

If you joined the last one rejoin this new one

[โ€“] [email protected] 11 points 10 months ago* (last edited 10 months ago)

yep, you can do them anytime after theyre unlocked and you dont have to do all of them

[โ€“] [email protected] 3 points 10 months ago* (last edited 10 months ago)

mostly different forms of edm for the 5 tracks there

  • nichibotsu - edm, chiptune
  • ba-da-ba - electronic, hip-hop
  • re:run - speedrun (drum and bass)
  • bring the madness noisestorm remix - breakbeat, edm
  • apocalypse - edm, chiptune

the majority of things I listen to are indie game soundtracks

[โ€“] [email protected] 6 points 10 months ago* (last edited 10 months ago) (4 children)

Top artist: Toby Fox as is usual every year for me lol (Undertale/Deltarune developer)
Top song: Nichibotsu by EX-LYD

Top 5 of eachArtists

  1. Toby Fox
  2. 2 Mello
  3. Waterflame
  4. EX-LYD
  5. Danny Baranowsky

Songs

  1. Nichibotsu by EX-LYD
  2. Ba-Da-Ba by 2 Mello
  3. RE:RUN (Original Soundtrack) by Neo Nomen
  4. Bring the madness - Noisestorm Remix by Pegboard Nerds, Excision, Mayor Apeshit, Noisestorm
  5. Apocalypse by Thomas Happ (Axiom Verge)
[โ€“] [email protected] 1 points 10 months ago (1 children)

Each country has their own date they celebrate thanksgiving on. In Canadas case its early october since that lines up with the end of the harvest season and it avoids cold weather that usually arrives end of october/november. Just assumed you asked the question cause most peoples thanksgiving just happened

0
Godot Sunday Showcase (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Are you making anything in godot? Feel free to discuss it below or show off your progress!

 

Hey everyone! Just wanted to let you know of some features ive been working on for the instance and get some feedback on them to shape how they turn out

The main things mostly involve the addition of flairs around the website similar to reddit flairs

User Flairs

The first addition to be added is user flairs. Communities will be able to make flairs for use in their community with self assignable flairs, and flairs given by mods. These could include things like marking people who participated in a special event, adding in what specific programming language you use, or marking people who made contributions like making the community banner.

Mods will be able to create and assign flairs using a button beside the inbox button in the top right, and users will be able to get flairs from the sidebar

Flairs are put into flair groups which only allow certain amounts of flairs from that group to be chosen. For example if you have a role for choosing programming language and you only want people to choose one you can set a max of 1 for that flair group. (This can be set to whatever you want as long as its a nonnegative integer)

Post Flairs

Post flairs function essentially the same as user flairs but are put on posts instead. Flairs can be set to be only assignable by mods or able to be assigned by everyone and they are also in flair groups if you only want one of a type to be added (e.g. if you have category post flairs for help, news, etc. and dont want people to assign both help and news to the same post)

Community Flairs

Function the same as the other two but are created by admins and set by mods instead of mods and users. Are added to communities to show what category of community it is (e.g. gamedev, webdev, etc.)

Mod List

Currently in community both admins and mods show up in the mod list. Im aiming to add a small update to only show mods so that admins arent shown (as they arent the ones running the community) unless explicitly added

Ive got an image showing a possible setup for flairs. Currently all the posts in here have the same flair format as its not built apart from basic ui but can give a rough idea of it

 
 

Welcome to Feedback Friday!

Have a scene in your game that you want to know if it looks good? Have a mechanic prototype that you want tested? Want to know if your steam page is good? Or do you want feedback on some other part of your game? Feel free to post them below for others to give feedback!

1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Hey everyone! Just wanted to let you know that we have a matrix room at https://matrix.to/#/#programming.dev:matrix.org and a discord server at https://discord.com/invite/kwyxvYEYt4 for discussions outside of threads

If youre a mod for a community I also recommend setting up a group chat for all of the mods in your community so you can chat between yourselves easily (theres a dm feature built into lemmy but as far as I know its just for two people). Ive been setting up mine on matrix but you can chat to see what you prefer

 

A game jam for the fediverse community from July 14th to July 23rd! Anyone is welcome to join and all of the main communication about the jam will be taking place within the fediverse

Open sourcing games you make for it is recommended so people in the community can learn from what you did. Youll also be able to show off your game around the fediverse communities while the jams running and after it ends

More information can be found in the linked jam page as well as the button to hit to sign up

Hope you enjoy! :)

Team finder thread

 

A game jam for the fediverse community from July 14th to July 23rd! Anyone is welcome to join and all of the main communication about the jam will be taking place within the fediverse

Open sourcing games you make for it is recommended so people in the community can learn from what you did. Youll also be able to show off your game around the fediverse communities while the jams running and after it ends

More information can be found in the linked jam page as well as the button to hit to sign up

Hope you enjoy! :)

Team finder thread

 

A game jam for the fediverse community from July 14th to July 23rd! Anyone is welcome to join and all of the main communication about the jam will be taking place within the fediverse

Open sourcing games you make for it is recommended so people in the community can learn from what you did. Youll also be able to show off your game around the fediverse communities while the jams running and after it ends

More information can be found in the linked jam page as well as the button to hit to sign up

Hope you enjoy! :)

Team finder thread

 

A game jam for the fediverse community from July 14th to July 23rd! Anyone is welcome to join and all of the main communication about the jam will be taking place within the fediverse

Open sourcing games you make for it is recommended so people in the community can learn from what you did. Youll also be able to show off your game around the fediverse communities while the jams running and after it ends

More information can be found in the linked jam page as well as the button to hit to sign up

Hope you enjoy! :)

Team finder thread

 

A thread for making teams for the fediverse jam! If youre looking for more members for a team or want to join a team feel free to make a post or reply to people. If your team is full edit your post by putting something like [FOUND] in front so people know whos still available

Jam Link

view more: โ€น prev next โ€บ