|Friday 24th of November 2023 12:29:25 PM|
I recently read an article about recursion and thought it was worth sharing here.
json-roller employs a lot of recursion in breaking down JSONObjects to simpler inputs. I think it would be almost insane to try and navigate a large complex JSON object without some form of recursion, unless you know the exact structure of that object.
However, this article kind of wags its finger at the idea that sometimes a recursive function can update a state variable that effects other calls to the same function. In json-roller, I know that the dataset is not going to change because the inputs are final before the applications starts.
In the case of "pivotJSONObject" I need to be able to throw information into a collection of Strings to track column names as each level of recursion hits different dead ends. This could be done as an object passed to each level and returned on the way back. So my point is, in my opinion, its not out of the question to have a recursive function return information to other parts of the program on its descent.
Image To Array - Online Edition
|Wednesday 1st of November 2023 01:06:24 PM|
Today while updating some links i noticed that the icns generator
This will allow anyone to upload an image, scale it and request it in any of the supported output formats allowed by image to array.
Once the images are generated it will provide a link to a zip archive containing the output files. Due to space constraints on my server users will have 24 hours to download their archive before its deleted.
Starting a Blog
|Sunday 22nd of October 2023 01:10:51 PM|
I thought it was well past time for me to create some kind of blog for my site so i can share updates and information on the projects published here. I may also post about tech news and other interesting stuff i find. I haven't decided yet, but stay tuned!