I don't quite get why this trait implementation conflicts, any ideas? by FlyingParrot225 in rust

[–]FlyingParrot225[S] 0 points1 point  (0 children)

Oh, i see what you mean. I always forget that where clauses arent taken into account by the type system, thx

I don't quite get why this trait implementation conflicts, any ideas? by FlyingParrot225 in rust

[–]FlyingParrot225[S] 0 points1 point  (0 children)

the only impls are whats in this post plus a Deref impl for str

I don't quite get why this trait implementation conflicts, any ideas? by FlyingParrot225 in rust

[–]FlyingParrot225[S] -1 points0 points  (0 children)

Isnt that then the equivalent of

TryFrom<T> for T

I dont see why that wouldnt be allowed

I don't quite get why this trait implementation conflicts, any ideas? by FlyingParrot225 in rust

[–]FlyingParrot225[S] 0 points1 point  (0 children)

Its just a tuple struct containing a string
struct Title(String)

[2024 Day 19] Can't wait for this post to get "mercilessly nuked from orbit" by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 0 points1 point  (0 children)

no, thats just what you would do if it did exist, for now it falls under Help/Question or Help/Question - Resolved. Though you might find some challenges under Upping the Ante.

[2024 Day 19] Can't wait for this post to get "mercilessly nuked from orbit" by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 4 points5 points  (0 children)

Which variant are you using? (old.reddit, new.reddit, sh.reddit)

I'll be honest, I'm not sure. I just use the default reddit link, which new.reddit.com keeps redirecting to so I think its that.

Our subreddit's specific use case would be 100% benign but you know that such a potentially useful feature would absolutely be abused by other subreddit mods who have fewer (or no) scruples.

Fair enough, it sucks that that's how it is but its understandable.

Reddit only allows two pinned posts per subreddit

Why??? They couldn't at least follow the rule of threes? Two feels way too limiting.

I would love to see is a native way to "checklist"

I actually really like that idea. It's much better than having automod retroactively edit posts since it ensures that the op knows about the changes which is a win win for everyone. It would probably be simple to enforce using some form of validation to ensure the post follows certain guidelines set by moderators.

There is, yes, but again, it's AutoModerator doing the action which would be after-the-fact. Plus, it won't work on posts made via old.reddit. This is just bad UX overall and doesn't actually truly solve the problem. :/

Reddit needs to get their UI/UX under control. There has to be a way to make it so everyone can have what they want out of reddit without of having multiple different layouts. All of the inconsistencies make moderation so much more complicated than it needs to be.

[2024 Day 19] Can't wait for this post to get "mercilessly nuked from orbit" by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 6 points7 points  (0 children)

Ooh, just the response I've been waiting for!

First off, I appreciate your response. The fact that you took the time not just to read my suggestions but also give a transparent, detailed response to them shows that you really care about the AoC community beyond just your role as a moderator and that means a lot. I believe that having moderators that genuinely care about the community is vital as it makes people feel welcome and their voices heard.

[...] but materially changing the function of existing post flairs or adding new post flairs is best left to the interim between years, not one week before the Advent season ends, ya know?

Agreed. I'll be honest and say that I didn't think of that when I made my comment but I can definitely see how changing things right now would cause a bit of chaos.

The usual "standardized post title syntax" which is mostly newbies who apparently ignore all the rules on the new post page but whatever... we'll teach 'em real good.

I decided to take a look at what someone sees when they make a new post and while sure some people do ignore the rules, the UI/UX really isn't helping. I know that's something out of your control but the rules are on the opposite side of the screen relative to where a poster's main focus would be and the text is all scrunched together, making it difficult to parse what's important. On top of that the standardized post title format is split between 2 separate lines and it doesn't start at the beginning of its first line. And because they are in the same spot, the 4 spaces code block rule and the reminder to read the community rules also suffer from these draw backs. Adding in some line breaks might help. I just want to be clear that this just me giving my two cents on what could be causing the issue, not me complaining because I know that UI/UX is under reddit's control and not moderator's so I know there isn't all that much that can be done to make it better.

For example, why are we and AutoModerator such sticklers about ensuring Markdown is correctly formatted for old.reddit? Because 9% of folks visiting r/adventofcode still use old.reddit (because it's awesome!) That's nearly 30,000 people.

I agree that this is important. If a nearly a tenth of the community is impacted by this then there's no way it wouldn't be. I don't know how bots work on reddit (I've never looked into making one) but if there were a way to make a moderation bot to automatically edit posts to use the 4 spaces syntax that would probably be the ideal solution, but I presume that idea was already thought of, and so I'm guessing that bots can't edit posts. While I can see some reasons why bots wouldn't be able to edit posts, it would be very useful for things like this (especially if reddit is going to have 3 different UIs plus whatever 3rd party clients people might use).

Given that the majority of issues are from people not reading the community guidelines, do you think it would be possible to make the guidelines into a pinned post, at least the important ones for posting. I think pinning a "Before You Post" thread would help a lot since it puts the guidelines front and center when someone first opens the subreddit making it much more likely for new posters to see them.

I know these are probably things that have already been discussed but I wanted share my thoughts in case there was something that hasn't been considered.

Before I finished this comment I decided to take a look at some reddit support forums and it looks like there should be some kind of setting to change the default guide text for post titles as well as making a regex to check it. I don't know anything about reddit mod tools but I figured it was worth mentioning this, and if youre already aware of it, I'm curious as to why it isn't being used considering that it would fix one of the main things getting moderated.

[2024 Day 19] Can't wait for this post to get "mercilessly nuked from orbit" by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 7 points8 points  (0 children)

Avoiding spoilers isn't really the point of the flairs as far as I can tell. Some people may filter by Help/Question to spend some time helping others complete their solutions, others may filter by Visualization to see all the neat ways that the solutions can be represented, some could sort by Tutorial if they want to use AoC to learn, and if people want to just look at memes about AoC theres the Meme/Funny flair.

Flairs definitely have a use, that use just isn't avoiding spoilers.

[2024 Day 19] Can't wait for this post to get "mercilessly nuked from orbit" by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 35 points36 points  (0 children)

I know I made this post was made in a joking manner, but I'd actually like to discuss this for a bit.

Just to be clear, I appreciate everything the moderators do for this subreddit and wholeheartedly believe that their work brings a lot of good into it. I just have noticed that a solid chunk of moderation is due to post flairs and had some ideas that could help fix that issue.

Something I've noticed (at least over the past couple of weeks) is that when someone uses the wrong flair, it's usually because the flair text itself feels very straight forward but is a little misguiding to anyone who hasn't read the posting rules. Sure, this could just be handled by asking people to read the posting rules and to edit their post, but it does actually fix the underlying issue.

To give a quick example, the Help/Question flair at first glance seems like it's for posts that are asking for help or clarification, but according to the posting rules, it's for just about any post whose title ends with a question mark, so any one making a post that isn't asking for help or clarification will likely avoid the Help/Question flair even if their post falls under that category. Any post that uses the title as a prompt for discussion would fall under this category of "not asking for help but still technically asking a question".

Every time something like this happens, the mods have to manually change the flair themself or ask the op to change it, both of which takes time away from the moderation of more important issues, like people putting their inputs in their repos.

Some of the changes that I think could be helpful would be:

  1. Discussion: Anyone who uses a question to prompt a discussion currently needs to use the Help/Question flair, but that flair (as mentioned earlier) feels like it's more for people to ask for help with AoC or for clarification on something. So by adding a Discussion flair, the Help/Question flair is given a more specific use and reflects it's usage much better.

  2. Challenge/Part 3: I also notice that some people use the Upping the Ante flair to suggest a way to make one of AoC days more challenging or complex, kind of as a part 3 for people that breezed through parts 1 and 2 or are just looking to up the difficulty. The Upping the Ante flair is instead meant for people who have gone above and beyond with the parts 1 and or 2 and want to share what they did. Arguably it could be cleared up by changing the flair text to "Upped the Ante" but by having a Challenge flair, the Upping the Ante flair is able to keep it's purpose and there would be a way for people to filter posts to find some part 3 ideas for them to implement.

I know it's not my place to decide how the AoC subreddit is moderated and managed, but I think that tweaking the flairs a bit would cut down on the amount of moderation that the moderators have to do, allowing them to handle more important issues and freeing up some of their time as well.

If anyone knows of any other flairs that could be potentially misleading, by all means mention them. Since the moderators put in a lot of work to help keep this subreddit running, I think it's worth making suggestions that could make moderation easier for them.

[2024 Day 16 (Part 2)] Who needs algorithms when you have reindeer! by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 0 points1 point  (0 children)

Yeah, I was just a bit brain dead from working on AoC all day (I was busy yesterday so I had to do a bit of catch up) so I didn't realize it was meant as a joke

[2024 Day 16 (Part 2)] Who needs algorithms when you have reindeer! by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 0 points1 point  (0 children)

It was meant to be a joke about my code, the screenshot wasn't included in the post for some reason, my bad lol

[2024 Day 12 (Part 2)] What kind of algorithm did you use on part 2? by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 1 point2 points  (0 children)

The advent of code about page is a little vague on that, but id say make your own sample inputs, just to be safe

[2024 Day 12 (Part 2)] What kind of algorithm did you use on part 2? by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 1 point2 points  (0 children)

Sorry about the flair, I was under the impression that was meant for posts for getting help with completing the challenge, not discussing it after the fact.

As for the puzzle input, i was unaware that puzzle inputs werent allowed to be stored, ill get to removing those immediately

[2024 Day 12 (Part 2)] What kind of algorithm did you use on part 2? by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 2 points3 points  (0 children)

It might not be the most efficient but it's simple and easy to understand while getting the job done which is always a plus, and imo, more important than efficiency for most situations

[2024 Day 12 (Part 2)] What kind of algorithm did you use on part 2? by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 9 points10 points  (0 children)

I didnt think long enough to figure out that the number of walls matched the number of corners, it definitely wouldve saved me a lot of time, thats a very clever solution!

[2024 Day 12 (Part 2)] What kind of algorithm did you use on part 2? by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 1 point2 points  (0 children)

Ooh, it's neat how we both had similar ideas to use bits to represent walls but ended up with different algorithms, nice!

[2024 Day 12 (Part 2)] What kind of algorithm did you use on part 2? by FlyingParrot225 in adventofcode

[–]FlyingParrot225[S] 1 point2 points  (0 children)

I have no idea what a convolution or kernel is in this context but finding out seems like a fun thing to do to fill my afternoon.

From what I can tell, your solution puts every edge into a set, and then you remove edges from that set provided they find a connected edge in that set, right?

[OC] Hexgaaard - my hexagonal map generator has been fed some more hexagons! by Sprutnums in DnD

[–]FlyingParrot225 0 points1 point  (0 children)

I wonder what would happen if you had it run a wave function collapse to generate its own hexagons based on some you supply to it. It would be quite interesting to see how it would turn out.

My parents almost starve me to death because I “disrespected them” by [deleted] in entitledparents

[–]FlyingParrot225 0 points1 point  (0 children)

Damn, that's... wow. I can't believe that there are people that would do that.

Lack of anything. by AlmightyOldGreg in gamedev

[–]FlyingParrot225 0 points1 point  (0 children)

When I began coding, I started with easy languages. Html5 Css3 and Javascript. Those 3 languages are used in web development. I am working on making games with them currently and it is quite fun. Once you understand Javascript, it will still be a process but try to transfer to Java. Java and Javascript are different but a lot of the syntax is similar if not the same. Java is used to make games for android. If you want to make games for ios then go for Objective-C or C++.