Ategon

joined 2 years ago
MODERATOR OF
 

Missed some days due to exams but more daily posts should be happening now

 

This is usable in any script. It checks to see if the two values differ by a very small value

Alt text: Code that says print(is_equal_approx(1, 0.99999999999)) and then the console log which has printed out true.

 

This will be available to click on if you have a web export template

Alt text: Clicking on the Remote Debug button in the top right of the Godot Editor and a menu popping up that says Run in Browser on a button, and then Start HTTP Server on a button

[–] [email protected] 1 points 2 months ago (2 children)

Newer communities arent affected

 

Theres similar settings for paths, navigation, and avoidance

Alt text: Hovering over the Visible Collision Shapes setting in the editor and a tooltip showing with "When this option is enabled, collision shapes and raycast nodes (for 2D and 3D) will be visible in the running project"

[–] [email protected] 1 points 2 months ago (3 children)

it cant have the same slug, just for the idea of remaking

it doesnt fully break communities, you just cant look at the page for the community and new people cant sub (but they can still be posted and read from). humor has still been active with posts while broken

next downtime hopefully should be soon to do another round of fixes

[–] [email protected] 1 points 2 months ago (5 children)

Theoretically remaking the community is the exact same as moving it to another instance since new communities arent affected. Everythings been getting worked on openly in the support channel on discord/matrix so if anyone wants to help can help get things fixed there

[–] [email protected] 2 points 2 months ago

Been getting worked on, last downtime fixed some of the issues but script still needs to be adjusted a bit since some communities break again a bit after being fixed

 

Up or down changes the value by 1. Up/Down plus shift being held changes it by 10. Up/Down plus ctrl changes it by 100. Up/Down plus alt changes it by 0.1

Alt text: The x value in the position variable changing by values of 1, then 10, then 100, then 0.1 from different key combinations.

 

This makes it so that its disconnected from the main editor and you can drag it onto other screens

Alt text: A tooltip appearing over the godot edit saying Make the Script editor floating. Appearing near the top right of the script window due to hovering over the top right button there.

 

Alt text: Godot editor looking at the Action on Play setting opened and showing the options Do Nothing, Open Output, Open Debugger

This is yesterdays tip but ended up falling asleep before It was posted so there will be another tip today

 

Day 2: Red-Nosed Reports

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

 

Programming.Dev is going to be going down starting at around 00:01 UTC Monday Dec 2 to attempt to fix the database corruption that happened relating to communities.

This has been affecting attempting to look at the pages for certain communities (it would end up loading forever instead of actually showing the posts for the community) and was affecting federation in some cases.

This is the second attempt to fix the issues with the first one needing to be rollbacked from due to the fix not working.

This fix could take several hours, so the outage window is going to be from 00:01 - 06:00 Dec 2.

 

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

[–] [email protected] 18 points 3 months 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

[–] [email protected] 1 points 3 months 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

[–] [email protected] 8 points 3 months ago

should be back

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

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

[–] [email protected] 3 points 3 months ago

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

[–] [email protected] 2 points 3 months ago* (last edited 3 months 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

[–] [email protected] 4 points 3 months ago (1 children)

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

[–] [email protected] 2 points 3 months ago* (last edited 3 months 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

view more: ‹ prev next ›