helvede.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
Velkommen til Helvede, fediversets hotteste instance! Vi er en queerfeministisk server, der shitposter i den 9. cirkel. Welcome to Hell, We’re a DK-based queerfeminist server. Read our server rules!

Server stats:

161
active users

#stack

0 posts0 participants0 posts today
Replied in thread

@looopTools

Fair enough. Because recursion always has a limit, in any language, the tutorials probably assume you're aware of this already. The specific limit in Python is adjustable, but there's no way to eliminate it altogether.

Do the tutorials actually include data/examples that run into the recursion limit? Or is it only when applying code like that to other data that you run into issues?

I ask because the easiest way to smash the limit is to create a cyclic data structure, which is trivial in Python. If you naively recurse such an object, it goes on forever - until it hits the configured limit or the machine runs out of memory, anyways. i.e. this case:

>>> foo = ["bar"]
>>> foo.append(foo)
>>> foo
['bar', [...]]

If you think it's possible your recursion code might have to deal with something like this, you usually end up keeping track of the objects you've already processed, and skip them if you see the same object again (typically by the object ID).

In many cases, you can also rewrite recursive code so that it's not recursive, and cannot run into this problem. As a bonus, problems that can be refactored this way usually run faster without the recursion.

Today's work. Sorry, murky low light photo, finished at sunset as usual.

Still space for more!

Can see the difference between birch and alder nicely there. The orangey stuff on the right is alder. Slightly less energy than birch but easier to light. Good firewood and what mostly grows in our forest as it thrives in the swampy parts near the river.

Those last two stacks are from a few fallen trees that were blocking the forest road.

Your exploit dev training journey starts right here!

Corelan’s “Expert-Level Stack” exploit dev course for Windows 11 delivers unmatched depth, quality, and hands-on experience.

What our students say on the #Corelan Stack course:

🗣️ “Peter will refute about every single thing you might have learned so far related to the topic in other courses… and then teach you it the right way from the ground up”

See for yourself: 👉🏼👉🏼👉🏼 bit.ly/corelan-training

Netflix's FreeBSD Servers and Their Impact on Open Source

Netflix, one of the world's leading video streaming services, is renowned for its robust and efficient infrastructure that powers billions of hours of content streaming globally. At the core of this infrastructure lies FreeBSD, a free and open-source operating system.

Read More: machaddr.substack.com/p/netfli

iPhone Tip. Home Screen Widgets Part 2, 😄. Since widgets can take up a lot of real-estate on your home screen, if you want multiple widgets, but do not want that much of your home screen taken up. Then do not forget that widgets can be stacked like a deck of cards! You create a stack just like moving apps. Get on one widget, flick down to edit, then flick and choose drag widget. Move to the other widget, flick down and choose create or add to stack. To move from widget to widget putting the one you want on top, just get on the stack and swipe up or down with 3 fingers. I currently have a stack of 4 widgets. Its just another way of having even more information at your fingertips! #iphone #tip #widgets #stack #efficient #blind #accessible

Replied in thread

@aram I’m in! There are so many all-of-this-has-happened-before-and-all-of-this-will-happen-again moments. I think the only genuinely novel thing about the Internet is that it enables the same fights to happen at progressively higher (and new) layers of the #stack (drink!) while the ones at the lower levels continue to actively fester

One of my favourite places for relaxing and taking amazing photos while sunset with great reflections and silhouette effects is Kukup beach on Java in Indonesia.
It's thankfully also my most liked photography everywhere.

See big size on every gallery and store in my Linktree or just here:
Fine Art America / Pixels:
kall3bu.pixels.com/featured/si
Free 🚢 to 🇺🇸 🇨🇦:
pictorem.com/554832/Reflection
#AYearForArt #photo #photography #print #sunset #beach #rock #stack #red #reflection #silhouette #Indonesia