Indie game dev
posting things from the 160+ rss feeds I follow. You should see me post links in two chunks for when im reading stuff, once in the morning and once in the evening ET. If you want some of my sources for certain communities feel free to dm
Pfp is Lucie from battlerite
For old reddit style theres mlmym which fills that niche better (e.g. for you that would be at https://old.lemmy.world)
Default UI is currently getting overhauled in a bunch of different ways. Lemmy-Leptos for Lemmy itself, and new UIs for Sublinks and Piefed as they get constructed
Yes, or it compiles to JavaScript. From the version 1 post
Tried looking. According to one of the users who posted it its by 0x00 whos the person who made floor 796. All things I can find relating to them are floor 796 related though and can’t find where this was originally posted
Heres floor 796 though if anyones interested https://floor796.com
For self hosting there’s also Forgejo which is a fork of Gitea
Thats what Codeberg uses
Canada (Ontario)
Theyre two different softwares with two different apis, you can’t
It was a bug that was fixed in 0.19 (so the instances that haven’t upgraded yet will still have people from them writing amp but the ones that have wont)
For example I can type & fine
In the past imgbb was used to post CSAM to some communities so some instances remove links to images hosted on it (or I guess ban the user in the instance you were on)
Edit: seems like that was lemmy.world, reach out to their community team and ask to be unbanned if you want your account unbanned, seems like they did that for someone else in the past
The modlogs public to see removed comments. Just a bit difficult to navigate through currently
Instances are the ones hosting the data on their servers + things not having mods can devolve very quickly with things like the nazi bar problem or the scam links that have been getting posted and removed in some communities. This is a different thing than whats in the post though, the post is talking about all communities needing to be fetched manually the first time theyre viewed
Image in the tweet for those who dont want to click
Subreddit had 3 posts within the last month so not that far off tbh
I can look for some post sources to give the community here some more activity
Theres a community for it over at !bevy@programming.dev for anyone interested in it :)
Converting ampersands to say amp instead is a bug that got fixed in version 0.19, world hasnt upgraded yet though
When the draw function calls itself it yields control to that new function its calling. When that function ends it takes back control and continues doing what it was doing.
This means all of the for loops in all of the functions will execute. Draw(1) will do the for loop and then return as it hits the end of the function (standard behaviour when you reach the end of a function even if theres no return statement). Then draw(2) will do the for loop as it gets back control now that draw(1) is done and then return, etc. all the way up
All parts of a function are recursive, theres no such thing as a non recursive part
This code has a recursive call (function calls itself) within the function so that has to be taken into account when tracing it
This would make the function execute multiple times so the for loop would end up executing multiple times.
Lets say main calls draw with a height value of 10 (draw(10)). First it sees that n is greater than 0 so it keeps going. Then it calls the draw function with a value of 10 - 1 aka 9. Now its executing in the draw(9) function. Greater than 0 so continues and calls draw(8). etc. all the way down to draw(0) where it sees that n is equal to 0 so returns out of the function due to the return statement.
Now that draw(0) finished executing draw(1) can keep going and goes to the for loop. Here it prints 1 # and then prints a new line (and then returns since it hit the end of the function). Now that draw(1) is done draw(2) can keep going and prints 2 #'s and then prints a new line (and then returns). This keeps going all the way up to the initial draw call, draw(10) which prints 10 #'s and then a new line, returns, and then the main function keeps going but theres nothing after that so it returns and the execution ends.
The effect from coming back after the recursive calls makes it seem like n is increasing but its just different calls to the same function. i is taken into account for but printing the amount of #'s since thats whats within that loop
Letting you know, the download and github links on the git.rela.dev site navbar dont work
Its probably set as a private repository
Edited the title to have a by in front to make that a bit more clear