mac

@mac@programming.dev
64 Post – 33 Comments
Joined 11 months ago
  • 🎮Indie game dev
  • đź’¬Adding content to programming.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

searching across all of github was made to be logged in then

repository level searching though is relatively recent. Heres the blog post about the change dated in June this year https://github.blog/changelog/2023-06-07-code-search-now-requires-login/

This comment by an employee in the thread also calls out it was in 2023 and links to the blog post

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

5 more...

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

Image Transcription: Meme


[Paneled meme with a brain that gets increasingly glowing]


[The brain is smaller than the skull]

if dayOfWeek.name == "Sunday" || dayOfWeek.name == "Saturday"
    weekend = true

[The brain is glowing in some areas]

if dayOfWeek < 2 || dayOfWeek > 6
    weekend = true

[The brain is shooting out rays of light]

weekend = !((dayOfWeek - 1) % 6)

I am a human volunteer who transcribes posts to improve accessibility on programming.dev and you could be one too! !transcribing@programming.dev

https://boost.lemy.lol <- link to it, doesnt work for instances not connected to it like lemmy.world but theres still ~ 26 major ones

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

24 more...

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

4 more...

sublinks

not technically released yet but I assume it will in some form before the next canvas. Should be relatively easy to support since it has lemmy api compatibility on release

Yeah active is currently the default sort in programming.dev until scaled sort comes out so commenting helps the most out of everything here

Theyre two different softwares with two different apis, you can't

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

5 more...

Not all work with someone happens from opening up issues or PRs

It was removed from the source instance already (lemmy.world)

Not sure why lemmy.dbzer0 doesnt get that federated

Weird, heres the content in it

It is with immense sadness that we must share with you the news of the loss of our friend, our leader, and our mentor, Kris NĂłva.

It was NĂłva who inspired us to come together to build Hachyderm, whose vision created Nivenly, and whose mission we continue to carry forward. In her working life beyond Nivenly, she has left behind a legacy of professionalism and strength of vision, and we all miss her terribly.

This is very fresh and raw for us in the Nivenly community right now, so we ask for patience while we figure out how we move forward. But move forward we will, as we know that is what NĂłva would want.

Active is a combination of that and hot but is essentially hard capped at 2 days. Things past that wont show up

Theres the new comments sort which works like that though

Lemmy is indexed so can be found on search engines while discord cant

For internal search without using a search engine discord has had way more devs, time and money thrown at it. Still would say its barely better than lemmy (just is cause of the time filters)

For self hosting there's also Forgejo which is a fork of Gitea

Thats what Codeberg uses

Yes, or it compiles to JavaScript. From the version 1 post

The modlogs public to see removed comments. Just a bit difficult to navigate through currently

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

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

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

Letting you know, the download and github links on the git.rela.dev site navbar dont work

Its probably set as a private repository

Currently theres also mbin (fork of kbin) and lotide that have instances running them

Also some others in development but nobody running them yet

Canada (Ontario)

  • preschool
  • junior kindergarten, senior kindergarten, grades 1-6 | elementary school
  • grades 7-8 | middle school (or also elementary if the school is K-8)
  • grades 9-12 | high school

Code blocks got updated in 0.19, lemmy.world is still on a 0.18 version

1 more...

When you say devs in the start of the post, which devs are you referring to. You never clarify

2 more...

Also misskey and the main forks (iceshrimp, sharkey)

Instances that defederate with threads wont see content from threads even on other instances that may federate with them.

As an example here lemmy.ml federates with hexbear and world but hexbear and world dont federate with each other. On lemmy.ml posts world users cant see any comments made from people on hexbear and vice versa

So they wont have to deal with them indirectly

2 more...

Ok then that with the post you linked its more like shitstorm with Lemmy rather than about Sublinks like in your title

Didnt say to go anywhere, just said that people on .world cant see content from hexbear on lemmy.ml posts shown by those comment counts above even though lemmy.ml federates with hexbear. (hexbear used since its the best example of a large blocked instance that can showcase this well. Could have also used .world, .ml and beehaw and same point stands)

Same logic would apply to .world federating with threads. People on lemmy.dbzer0 for example wont see content from threads on .world posts or communities even if .world federates with threads

Just wanted to put a counterpoint to you saying people would need to deal with it indirectly which isnt true proven by the above. You dont need to strawman it by making it a different point