mac
@mac@programming.dev
- Comment on Lemmy Active Users looking good 8 months ago:
For old reddit style theres mlmym which fills that niche better (e.g. for you that would be at 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
- Comment on Apple Wants To Kill PWAs 8 months ago:
Its in the embedded tweet
Stands for progressive web app which is an app which uses web technologies. Can be added as an app to your phone through a browser rather than downloading it from an app store
- Submitted 8 months ago to programming@programming.dev | 2 comments
- Comment on Why most developers stop learning SQL at subqueries - a 5-minute guide for PARTITION BY and CTEs 8 months ago:
- Submitted 9 months ago to programming@programming.dev | 2 comments
- Comment on 9 months ago:
Theyre two different softwares with two different apis, you can’t
- Comment on FLOSS communities right now 9 months ago:
Lemmy is indexed
For internal search discord has had more more devs, time and money thrown at it
- Submitted 9 months ago to programming@programming.dev | 44 comments
- Submitted 9 months ago to programming@programming.dev | 5 comments
- Submitted 9 months ago to programming@programming.dev | 2 comments
- Submitted 9 months ago to programming@programming.dev | 1 comment
- Comment on Hey mods, ya think you might get around to removing that CSAM that's been up for hours? 9 months ago:
It was removed from the source instance already
Not sure why lemmy.db0 doesnt see that
- Submitted 9 months ago to programming@programming.dev | 6 comments
- Google Contributes $1M to Rust Foundation to Support C++/Rust “Interop Initiative”foundation.rust-lang.org ↗Submitted 9 months ago to programming@programming.dev | 0 comments
- Submitted 9 months ago to programming@programming.dev | 6 comments
- Submitted 9 months ago to programming@programming.dev | 0 comments
- Submitted 9 months ago to programming@programming.dev | 180 comments
- Submitted 10 months ago to programming@programming.dev | 11 comments
- Submitted 10 months ago to programming@programming.dev | 32 comments
- Comment on One thing I hope to see in the Fediverse is people engaging with old content 10 months ago:
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
- Comment on what term does the threadiverse refer to? 11 months ago:
Currently theres also mbin (fork of kbin) and lotide that have instances running them
Also some others in development but nobody running them yet
- Comment on Why does the for loop repeat in this recursion? 11 months ago:
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 and then return, etc. all the way up
All parts of a function are recursive, theres no such thing as a non recursive part
- Comment on Mastodon founder touts Threads' federation, saying it makes his X rival 'a far more attractive option' 11 months ago:
Didnt say to go anywhere, just said that people on .world cant see content from hexbear on lemmy.ml posts even though it federates with hexbear shown by those comment counts above. (hexbear used since its the best example of a large blocked instance that can showcase this well)
Same logic would apply to .world federating with threads. People on lemmy.dbzer0 for example wont see content from threads on .world even if .world federates with threads
Just wanted to put a counterpoint to you saying people would need to deal with it indirectly in this paragraph below which isnt true proven by the above. You dont need to strawman it by making it a different point
The vast majority of Lemmy traffic is from .world. No matter what instance you’re on, most activities happen from .world and .world content floods the feeds of all the others.
.world insists on federating with Meta.
Therefore NO instance is safe, because you’ll always be forced to deal with it indirectly.
- Comment on Why does the for loop repeat in this recursion? 11 months ago:
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 is 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
- Comment on Mastodon founder touts Threads' federation, saying it makes his X rival 'a far more attractive option' 11 months ago:
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 threads world users cant see any comments made from people on hexbear and vice versa
A post in the view of .world: lemmy.world/post/9466410 (282 comments) The same post in the view of hexbear: hexbear.net/post/1304992 (76 comments) The same post in the view of lemmy.ml: lemmy.ml/post/9207671 (306 comments)
So they wont have to deal with them indirectly
- Submitted 11 months ago to programming@programming.dev | 10 comments
- Submitted 11 months ago to programming@programming.dev | 28 comments
- Submitted 11 months ago to programming@programming.dev | 14 comments
- Submitted 11 months ago to programming@programming.dev | 12 comments
- Comment on A New Look for git.rela.dev 11 months ago: