chobitv2 personality upgrade

  • 1 Replies
  • 582 Views
*

yotamarker

  • Trusty Member
  • *********
  • Terminator
  • *
  • 996
    • 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

  • Starship Trooper
  • *******
  • 306
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.

 


What's everyone up to ?
by ivan.moony (General Chat)
Today at 04:15:34 am
So what if...
by MagnusWootton (General AI Discussion)
December 06, 2021, 10:07:46 pm
I want one!
by frankinstien (General Chat)
December 03, 2021, 06:57:48 pm
Pattern based NLP
by MikeB (General Project Discussion)
December 03, 2021, 11:19:32 am
New cryopreservation method is much better
by LOCKSUIT (General Chat)
December 02, 2021, 11:42:58 am
Artificial God?
by MagnusWootton (General AI Discussion)
December 01, 2021, 07:02:41 pm
Project Acuitas
by WriterOfMinds (General Project Discussion)
November 29, 2021, 05:31:57 am
java/kotlin to python
by yotamarker (AI Programming)
November 28, 2021, 07:23:54 pm

Users Online

52 Guests, 0 Users

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

Articles