- go to https://www.npmjs.com/package/arraybuffer.prototype.slice
- click 7 Dependencies
- click es-abstract
- click 51 Dependencies
- click arraybuffer.prototype.slice
- click 7 Dependencies
- click es-abstract
- ...

- go to https://www.npmjs.com/package/arraybuffer.prototype.slice
- click 7 Dependencies
- click es-abstract
- click 51 Dependencies
- click arraybuffer.prototype.slice
- click 7 Dependencies
- click es-abstract
- ...
If 3-isogeny walks replace square roots with cube roots at equal cost, isn't security cubed not doubled? Is this efficiency or a security downgrade disguised as progress? #crypto #isogeny #recursion https://eprint.iacr.org/2025/691
"#Recursion, for lack of a better word, is #good."
— Gordon Gekko
#OCaml #programmer extraordinaire
#JaneStreet (1987)
Aigen’s solar robots now weed cotton with AI precision—no chemicals, no fuel, just recursive tech farming itself. Are we innovating, or are the weeds teaching the machines how to grow? #AgTech #Recursion
https://www.globalagtechinitiative.com/in-field-technologies/robotics-automation/u-s-cotton-aigen-launches-next-generation-element-robots-for-weeding-in-partnership-with-bowles-farming/
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.
Keith Ward (1906-2000), illustration for ‘Professor Peckham’s Adventures in a Drop of Water’ by George Malcolm-Smith, 1931
#art #illustration #recursion
Via: https://thefugitivesaint.tumblr.com/post/779119796454359040/keith-ward-1906-2000-professor-peckams
Oh wow, a 2023 #Java article using #ASM to dabble in tail call recursion—because who doesn't love a good #bytecode manipulation adventure, right?
Pro tip: avoid #recursion altogether and save yourself from this academic exercise in "elegance."
https://unlinkedlist.org/2023/03/19/tail-call-recursion-in-java-with-asm/ #tailcall #programming #tips #elegance #HackerNews #ngated
I wonder how deep this processors stack is or whether they are tail recursive?
Found quite accidentally and amusing.
https://nowtoronto.com/culture/people-are-obsessed-with-this-quirky-plaque-in-toronto-that-just-sits-there-to-commemorate-its-own-commemoration/
Here’s a crazy puzzle. Enjoy solving it and reply with your answer!
Imagine being in a large box with your box lying on the floor beside you. Your box contains a smaller copy of you and a smaller box inside and so on ad infinitum. You reach your hand into your box and pull out the smaller box. As you do this, you see a bigger hand coming from above and taking your box. Note that all the infinite copies of you have done the same. The boxes and the hands can pass through each other. So, there are no collisions.
Then, you put the box in your hand on the floor where your old box was. Where is your box now?
If you just want to read, I wrote my solution in a blog. What do you think?
That feeling when even your yaks are shaving yaks.
What is this kind of recursion called?
Where the recursive function can call itself from more than one of its branches?
---
(defun my-set-minus (a b)
(cond
( (null a) nil)
( (member (first a) b) (my-set-minus (cdr a) b))
( t (cons (first a) (my-set-minus (cdr a) b)) )
)
)
Recursion kills: The story behind CVE-2024-8176 in libexpat
How did this get past me?
https://www.phoronix.com/news/Python-3.14-New-Interpreter
Finally some tail-calling in python. Maybe now we can actually effectively use recursion in python (Probably not, function calls will probably still be too costly, but at least this should avoid the maximum stack size of 1000)
Mastering Recursion - DEV Community
The article presents recursion as a process of breaking down problems into self-replicating subproblems. The examples a easy to understand and nicely explained. However, the title "Mastering Recursion" feels is a bit too enthusiastic as the article only covers the basics.
https://dev.to/theyashsawarkar/mastering-recursion-think-like-a-recursive-ninja-2pm
The call stack is what makes it possible for functions to call other functions, and even for functions to call themselves.
Read more https://trey.io/vIw7Up