[spam][ot][crazy] thoughts on practicing hobby ai
practicing: i guess the idea is to copy how my triangle habit built. i imagined a triangle in so many different ways i kept the ability to do it. re code, code has reusable pa -
regarding iteration of function calls etc, it seems when you try to simplify stuff _iterating all combinations_ of something is a basic useful tool, if not efficient for large problems i made once a library of very simple combineable functions-of-functions. it might make sense to both remake things like that, and make use of them and share them. for the habit. shrinks the problem, works on core parts like reusability and use of general components … 7nsure !
lots of value to small clear parts though. maybe naming and practicing every small part encountered.
def possible_params_for_func(func, params): # returns a list of lists, each one possible values that could meet that param # this can be used to convert a list of functions and a list of available params, # into lists the combinations of which are all possible uses of the functions. return [ [ # all params with matching types param for param in params if isinstance(param, fparam.type) # note: more general if fparam.type performs this check ] for fparam in func.params # for all parameters the function takes ] # then a function to combine lists # note: for large sets, and at higher levels, the system would prioritize parts of the resulting combination and only use those
well it opens a general coding inhibition :S them typed different things. interface misbehaved … maybe general is nothing new, just bigger size maybe relates to expected usefulness, maybe also repetition of parts when considered maybe quite wrong
i think i got as far as runn8ng that part only once i 8mag8ne there’s an educati9nal track where it’s required :)
often when i make a function explorer i’m not sure how to generate initial literals. i think it makes sense to provide access to random(), but of course the result of that is probabilistic which doesn’t always apply. constants zero and one seem good too. one imagines it later finding useful patterns, like deriving things from pattern analysis or exploring documents to find values
participants (1)
-
Undescribed Horrific Abuse, One Victim & Survivor of Many