Ategon

joined 2 years ago
MODERATOR OF
 

Day 1: Historian Hysteria

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://blocks.programming.dev if you prefer sending it through a URL

FAQ

 

Advent of Code is an annual Advent calendar of small programming puzzles that can be solved in any programming language you like.

Puzzles have a backstory and then a collection of different inputs with people getting a random input and needing to submit the corresponding output for the puzzle and their input to successfully complete it.

Puzzles start easy and get harder as the days go on. Every day has two different puzzles in increase in difficulty with you getting access to the second puzzle after solving the first.

Puzzles are released every day at midnight ET and can be completed anytime after they are released (but people who solve them quicker after they're been released get more points for the site leaderboard).

https://adventofcode.com


What can I post here?

Anything relating to the event! Whether that be a meme, asking for help, sharing solutions, etc.

Every day a megathread will be posted that solutions to that day should go into. In the megathread you can post code using code blocks or by linking to repositories or pastebins.

To make a code block make three backticks, make a new line and put the code on lines, then put a newline and do three backticks on that

e.g.

```
console.log('Hello World')
```

becomes

console.log('Hello World')  

If you want a spot to post code externally (e.g. if it is too large or you want to have a spot to store it) we have a forgejo instance and an opengist instance

you can find them at https://git.programming.dev and https://blocks.programming.dev


How should I format my post titles?

Try to keep titles in this general format:

[help, etc. category if applicable] [YEAR Day # (Part X)] [programming language if applicable] Post Title

For example:

[2023 Day #5 (Part 3)] [Rust] My attempt at a solution

Another example:

[Help] [2023 Day #2] What does this sentence mean

This helps people avoid spoilers and lets people use it as an archive by searching if they find out about the event in the middle and are starting from the beginning

 

This makes it so you can see details about things in the scene without needing to manually swap

 

This makes it easier to print out multiple things at the same time without needing to do a bunch of string concatenation

Easy way you can remember it is thinking s for space and t for tab. When you want to print normally just call print. Otherwise add s for space or t for tab on the end of the function for the separators.

 

Changing this to the lowest value (0.01) makes suggestions always appear instantly for really quick coding

I'm continuing my tip series with some more tips (ended up stopping it before since I got busy with some projects). Will have a goal of having tips at least until the new year

[โ€“] Ategon 17 points 3 weeks ago (7 children)

People interact with the site that dont have accounts on the site

Making it local only would lock them out of news and discussion about something they interact with

[โ€“] Ategon 1 points 1 month ago (6 children)

There was some maintenance to try to fix things but things ended up not being resolved so had to be rolled back and there should be another maintenance period in the future again

[โ€“] Ategon 7 points 1 month ago

should be back

[โ€“] Ategon 2 points 1 month ago* (last edited 1 month ago)

Been getting worked on and people have been figuring out how best to fix the issue

[โ€“] Ategon 3 points 1 month ago

there are references which is why its a pain to fix and isnt just dropping duplicates

[โ€“] Ategon 2 points 1 month ago* (last edited 1 month ago) (2 children)

I havent been the one looking at the database but im assuming itll be a similar way to how the person table was fixed. Theres essentially duplicate entries for certain communities atm

[โ€“] Ategon 4 points 1 month ago (1 children)

Its been getting looked at and we have some more people that are being added on to help out as well

[โ€“] Ategon 2 points 1 month ago* (last edited 1 month ago) (5 children)

Theres been issues with the communities table since the update and it hasnt been fixed yet since there hasnt been time to do so. Same issue that hit the person table but that one was fixed after the db maintenance we had

[โ€“] Ategon 6 points 1 month ago

Community table currently has issues. Should be fixed once theres time to do more database maintenance again but for now the posts can be accessed in the main feeds

 

We recently did an update to 0.19.5

Along with this came a bug that makes hidden communities not function properly so that they will still appear in the all feed

I have reported this on the lemmy repo and once the devs fix that bug our all feeds should go back to normal (but for now content such as politics and bot communities may appear for a bit)

Heres the bug report if anyones interested in that https://github.com/LemmyNet/lemmy/issues/5074

[โ€“] Ategon 1 points 2 months ago (1 children)

Community creation has been open for awhile, theres no community applications anymore

[โ€“] Ategon 4 points 2 months ago

Issue should be fixed, messed around with the db a bit and seems to work now

[โ€“] Ategon 6 points 2 months ago

Seems like the home tileline is has a slow api call currently while the other timelines are working for me

Looked at the repo and it was reported a year ago with no solution so ill see if I can figure it out

 

Hey everyone! Recently made yet another jam game with this one being made for the 12th brackeys jam

Theme of the jam was Calm before the Storm so instantly thought of a system similar to Frostpunk where you have a city and then conditions end up getting worse as time goes on. This was then adapted to be a city that is getting more flooded over time after brainstorming with my jam team.

If youve got any feedback feel free to throw it below or on the game page. I should be eventually pushing out a post jam update based on the feedback gotten

Game link: https://team-auboreal.itch.io/floodworks

 

Game made in 4 days for the GMTK jam along with two composers and another person person helping out with some of the code

100
Praise my GitHub profile (praise-me.fly.dev)
submitted 3 months ago* (last edited 3 months ago) by Ategon to c/programming
 

There was a roast my github profile site going around recently so as a counter to that someone made a praise my github profile. Enter your profile and get an AI complimenting you

 

edit: Site is back up, pictrs is still upgrading so uploads may fail or be slow until the upgrade is done.

(all the alt frontends are also currently down so that pictrs can be upgraded faster)

Edit 2: seems to be done

view more: next โ€บ