chobitv2 personality upgrade

  • 1 Replies
  • 196 Views
*

yotamarker

  • Trusty Member
  • *********
  • Terminator
  • *
  • 916
    • battle programming
chobitv2 personality upgrade
« on: March 07, 2021, 12:25:02 am »
I am a lazy coder
which is why I really like the concept of one line of code to add a skill to the waifubot AGI.
but I understand I was not lazy enough.
indeed this is the most efficient way to code, and it offers customization, flexability and speed but
overall a waifubot has several skills in total, one could find himself writing 9 maybe even 20 lines of code
to fully load a bots personality.

what more I was thinking about gaming. some games would require many different AIs with different personality.

so, I beefed up the my waifubots c'tor !
1 line of code to add an entire personality(skill set) of the coders choice. you can not get lazier than that.
that's like chew my food lazy.

this class is used in the ChobitV2 c'tor.
it enables loading a complete skill set (a sub class of the personality class)
using 1 line of code. of course you can also select specific skills to add from
the subclasses c'tor. see also Personality1 for example.

https://www.yotamarker.com/t356-chobitv2-personality-upgrade#988

so
chii = ChobitV2(Personality1(SharedPrefDB(this))) //this initializes a chobit only 1 line of code to add the whole skill set (personality and abilities)
chii!!.loadPersonality(Personality1(SharedPrefDB(this)))//reloading a different personality. here it's also personality1 cause I only wrote 1 such class ATM

*

MagnusWootton

  • Bumblebee
  • **
  • 35
Re: chobitv2 personality upgrade
« Reply #1 on: March 07, 2021, 07:14:11 am »
1 liners are cool.

https://softwareengineering.stackexchange.com/questions/17355/what-are-some-famous-one-liner-or-two-liner-programs-and-equations/17359

Alot of mathematics is 1 liner equations too,  very powerful ones. 
I think quantum mathematics is the same,  but I cant seem to see anything useful anywhere except what seems like nonsense to me.

 


Neural nets speeding up numerical mathematics.
by infurl (AI News )
Today at 02:27:59 am
New challenge: Online Turing test
by ruebot (AI News )
April 20, 2021, 03:35:10 pm
Ingenuity flies on Mars
by LOCKSUIT (AI News )
April 19, 2021, 06:11:46 pm
Wow!
by LOCKSUIT (AI News )
April 11, 2021, 10:49:55 pm
A Robot's Self-Portrait Has Sold For Almost $700,000 As An NFT
by ivan.moony (AI News )
April 09, 2021, 09:16:56 pm
A.I. Escher
by infurl (AI News )
April 04, 2021, 03:50:12 am
One hundred and fifty thousand brains.
by infurl (AI News )
April 02, 2021, 10:39:03 pm
Figuring out what song you are listening to from your brainwaves
by frankinstien (AI News )
March 25, 2021, 03:40:09 pm

Users Online

108 Guests, 0 Users

Most Online Today: 114. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles