#AIList
#TaylorFarmsProduce
Disclaimer: This #AIlist may not be accurate or complete.
Do your own research and ask the store managers to show you the codes for your record.
Remember to keep receipts and photos (even before discarding and not eating) as it may take weeks after eating before getting sick.
July 29, 2026 at 4:59 PM
OpenTTD AIs and Game Scripts • Re: nasal demons in action
> The postcondition you're quoting says that the list you copy from does not change as a result of the copy. Yes, the items are copied, not moved, so the source list remains identical. It does not say that the two list objects become "linked" or anything. Oh I totally misinterpreted the meaning, now I've done some new tests and yeah, AddList copies by value not by reference, indeed! IDK how I missed that initially when testing, but replacing array.extend with AIList::AddList works and it's better for what I need it, thank you, you're the best. > If you had object references as the data items on the list, the destination list would reference the same objects as the source list, but the list itself is still independent, so you could reorder, add, remove items from one list without affecting the other one. OK, I'm it looks still learning squirrel even though it feels like this is the only unknown to me, are you saying non-scalar items (e.g. array, instance, class) are by reference but the list or container itself is by value? meaning modifying the container's items is by reference while removing them from container is by value? I'll have to test this as well to be sure, there is not a single info online about how this works. Thank you clearing up! Statistics: Posted by GoldMine — 02 Mar 2026 09:58 * * *
www.tt-forums.net
March 2, 2026 at 9:29 PM
OpenTTD AIs and Game Scripts • Re: nasal demons in action
> The postcondition you're quoting says that the list you copy from does not change as a result of the copy. Yes, the items are copied, not moved, so the source list remains identical. It does not say that the two list objects become "linked" or anything. Oh I totally misinterpreted the meaning, now I've done some new tests and yeah, AddList copies by value not by reference, indeed! IDK how I missed that initially when testing, but replacing array.extend with AIList::AddList works and it's better for what I need it, thank you, you're the best. > If you had object references as the data items on the list, the destination list would reference the same objects as the source list, but the list itself is still independent, so you could reorder, add, remove items from one list without affecting the other one. OK, I'm it looks still learning squirrel even though it feels like this is the only unknown to me, are you saying non-scalar items (e.g. array, instance, class) are by reference but the list or container itself is by value? meaning modifying the container's items is by reference while removing them from container is by value? I'll have to test this as well to be sure, there is not a single info online about how this works. Thank you clearing up! Statistics: Posted by GoldMine — 02 Mar 2026 09:58 * * *
www.tt-forums.net
March 2, 2026 at 5:29 PM
OpenTTD AIs and Game Scripts • Re: nasal demons in action
> The postcondition you're quoting says that the list you copy from does not change as a result of the copy. Yes, the items are copied, not moved, so the source list remains identical. It does not say that the two list objects become "linked" or anything. Oh I totally misinterpreted the meaning, now I've done some new tests and yeah, AddList copies by value not by reference, indeed! IDK how I missed that initially when testing, but replacing array.extend with AIList::AddList works and it's better for what I need it, thank you, you're the best. > If you had object references as the data items on the list, the destination list would reference the same objects as the source list, but the list itself is still independent, so you could reorder, add, remove items from one list without affecting the other one. OK, I'm it looks still learning squirrel even though it feels like this is the only unknown to me, are you saying non-scalar items (e.g. array, instance, class) are by reference but the list or container itself is by value? meaning modifying the container's items is by reference while removing them from container is by value? I'll have to test this as well to be sure, there is not a single info online about how this works. Thank you clearing up! Statistics: Posted by GoldMine — 02 Mar 2026 09:58 * * *
www.tt-forums.net
March 2, 2026 at 1:28 PM
OpenTTD AIs and Game Scripts • Re: nasal demons in action
> The postcondition you're quoting says that the list you copy from does not change as a result of the copy. Yes, the items are copied, not moved, so the source list remains identical. It does not say that the two list objects become "linked" or anything. Oh I totally misinterpreted the meaning, now I've done some new tests and yeah, AddList copies by value not by reference, indeed! IDK how I missed that initially when testing, but replacing array.extend with AIList::AddList works and it's better for what I need it, thank you, you're the best. > If you had object references as the data items on the list, the destination list would reference the same objects as the source list, but the list itself is still independent, so you could reorder, add, remove items from one list without affecting the other one. OK, I'm it looks still learning squirrel even though it feels like this is the only unknown to me, are you saying non-scalar items (e.g. array, instance, class) are by reference but the list or container itself is by value? meaning modifying the container's items is by reference while removing them from container is by value? I'll have to test this as well to be sure, there is not a single info online about how this works. Thank you clearing up! Statistics: Posted by GoldMine — 02 Mar 2026 09:58 * * *
www.tt-forums.net
March 2, 2026 at 11:28 AM
OpenTTD AIs and Game Scripts • nasal demons in action
For those who don't know what nasal demons are it's when you get frustrated with strange program flow so much you start to blame compiler, and out of frustration demons start to go out of your nose. (you can google for details if you want) I got frustrated because noticed squirrel doesn't let you copy AIList or tables. Actually you can copy them and your copy will be fine as long as original isn't modified, but as soon as you clear the source table or list your copy will no longer be a copy, data will be lost in both containers because for some unholy reason memory is somehow shared. Even if you manually copy AIList with AddItem it's still not going to be an independent copy, this is the most stupid language feature I've ever seen, why the f I can't make a copy? I found the only solution to make an independent copy of a container such that modifying the source leaves the copy alone is to create an array and extend it with data you want to copy. For instance: Code: local lst = [];local add = [];add.extend(lst); // I'm true independent copy The "add" is now true copy, you can clear or modify "lst" but add will keep the copied data. You can even remove elements from lst but copy keeps the data. Why can't this be done with AIList and tables? Why copying a list or table means having a copy that shares memory with source? This is really silly. It took me unreasonable time to figure out what's happening. Statistics: Posted by GoldMine — 28 Feb 2026 14:02 * * *
www.tt-forums.net
February 28, 2026 at 7:24 PM
OpenTTD AIs and Game Scripts • nasal demons in action
For those who don't know what nasal demons are it's when you get frustrated with strange program flow so much you start to blame compiler, and out of frustration demons start to go out of your nose. (you can google for details if you want) I got frustrated because noticed squirrel doesn't let you copy AIList or tables. Actually you can copy them and your copy will be fine as long as original isn't modified, but as soon as you clear the source table or list your copy will no longer be a copy, data will be lost in both containers because for some unholy reason memory is somehow shared. Even if you manually copy AIList with AddItem it's still not going to be an independent copy, this is the most stupid language feature I've ever seen, why the f I can't make a copy? I found the only solution to make an independent copy of a container such that modifying the source leaves the copy alone is to create an array and extend it with data you want to copy. For instance: Code: local lst = [];local add = [];add.extend(lst); // I'm true independent copy The "add" is now true copy, you can clear or modify "lst" but add will keep the copied data. You can even remove elements from lst but copy keeps the data. Why can't this be done with AIList and tables? Why copying a list or table means having a copy that shares memory with source? This is really silly. It took me unreasonable time to figure out what's happening. Statistics: Posted by GoldMine — 28 Feb 2026 14:02 * * *
www.tt-forums.net
February 28, 2026 at 3:23 PM
ailist 2.1.7 (Beta)

Python package for Augmented Interval List

Author: Kyle S. Smith
📖Documentation

🏠Homepage

🧑‍💻Repository
August 7, 2025 at 8:00 AM
Here are 3 of the best tools for making voiceovers, narrating videos, and more—and they’re all free. #VoiceTools #AIList
June 22, 2025 at 5:47 PM