Author Topic: ADARQ's journal  (Read 2586092 times)

0 Members and 1 Guest are viewing this topic.

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4665 on: May 19, 2012, 03:58:14 am »
0
darqbot message from ADARQ:

derp

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4666 on: May 19, 2012, 04:12:29 am »
0
darqbot message from ADARQ:

just added module locking/unlocking, fixed mod_identify, about to work on mod_timer

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4667 on: May 19, 2012, 07:31:52 am »
0
darqbot message from ADARQ:

got basic ^timer working.. going to be very nice when i run all of my rss feeds (^rss) from the timer, having it post new info to the chat as it hits the feeds..

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4668 on: May 19, 2012, 07:33:51 pm »
0
darqbot message from ADARQ:

tons of sprints with dog, in the rain, bo$s

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4669 on: May 21, 2012, 05:59:41 am »
-2
darqbot message from ADARQ:

uh weird, lying down on sofa, got up, knee is killing me.. the life.. must have been coding way too intense syke smh. this bitvector module i wrote tonight is really cool, will post some examples tomorrow prolly, when i finish it... need these bitvectors to create an ID-system, for get&setting id's within the vector, for use by other modules etc.. wtf is up with my knee odd.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4670 on: May 22, 2012, 04:55:15 am »
0
man i've been cooking the best stir fry's...... somehow i've become an authentic thai cook, out of nowhere.

these stir frys are legit, 1212409401x better than the ones i made when i used to train.

tonight i had one with broccoli, asparagus, potatoes, carrots, red peppers, & mushrooms.. then for the last two minutes drenched it with honey, let it cook real hot, honey soaks in. epic..



a little example of ^bitvec module.. need to add shift left/shift right, mul, div, add, sub.. then itll be finished for the basic version.. for anyone unaware, these 010101 things are binary bit strings...

this module is pretty cool for teaching people how bitwise operators/bit masking works, and just learning 'binary' in general.. ill do some verbose stuff which prints out how numbers are converted to and fro binary eventually, just for some nubs who want to see that.

04:39 <@ng> ^bv(init) 8 |^bv(info)|^e|^multi
04:39 < uas> x: 0000000000000000000000000000000000000000000000000000000000000000
04:39 < uas> y: 0000000000000000000000000000000000000000000000000000000000000000
04:39 < uas> z: 0000000000000000000000000000000000000000000000000000000000000000
04:40 <@ng> ^bv(eq) x 255 |^bv(eq) y 44|^bv(info)|^e|^multi
04:40 < uas> x: 1111111100000000000000000000000000000000000000000000000000000000
04:40 < uas> y: 0011010000000000000000000000000000000000000000000000000000000000
04:40 < uas> z: 0000000000000000000000000000000000000000000000000000000000000000

04:41 <@ng> ^bv(eq) x 255831289 |^bv(eq) y 81209812 |^bv(info)|^e|^multi
04:41 < uas> x: 1001111100110101111111001111000000000000000000000000000000000000
04:41 < uas> y: 0010101110010100111010110010000000000000000000000000000000000000
04:41 < uas> z: 0000000000000000000000000000000000000000000000000000000000000000
04:41 <@ng> ^bv(and) |^bv(info)|^e|^multi
04:41 < uas> x: 1001111100110101111111001111000000000000000000000000000000000000
04:41 < uas> y: 0010101110010100111010110010000000000000000000000000000000000000
04:41 < uas> z: 0000101100010100111010000010000000000000000000000000000000000000
04:41 <@ng> ^bv(or) |^bv(info)|^e|^multi
04:41 < uas> x: 1001111100110101111111001111000000000000000000000000000000000000
04:41 < uas> y: 0010101110010100111010110010000000000000000000000000000000000000
04:41 < uas> z: 1011111110110101111111111111000000000000000000000000000000000000
04:41 <@ng> ^bv(xor) |^bv(info)|^e|^multi
04:41 < uas> x: 1001111100110101111111001111000000000000000000000000000000000000
04:41 < uas> y: 0010101110010100111010110010000000000000000000000000000000000000
04:41 < uas> z: 1011010010100001000101111101000000000000000000000000000000000000
04:41 <@ng> ^bv(not) z |^bv(info)|^e|^multi
04:41 < uas> x: 1001111100110101111111001111000000000000000000000000000000000000
04:41 < uas> y: 0010101110010100111010110010000000000000000000000000000000000000
04:41 < uas> z: 0100101101011110111010000010111111111111111111111111111111111111
04:42 <@ng> ^bv(not) z |^bv(info)|^e|^multi
04:42 < uas> x: 1001111100110101111111001111000000000000000000000000000000000000
04:42 < uas> y: 0010101110010100111010110010000000000000000000000000000000000000
04:42 < uas> z: 1011010010100001000101111101000000000000000000000000000000000000

that demo's setting a bit string to an arbitrary number, then performing bitwise ops on it: and, or, xor, not.

tmw is all core coding tho, no fun mods.

pc

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4671 on: May 22, 2012, 04:56:15 am »
0
oh ya the result is in z ^^.

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4672 on: May 22, 2012, 07:06:41 am »
0
darqbot message from ADARQ:

need to add a lock to each module that has a global state/control variable, such as dlists.. need to also periodically sort the modules lists based on usage count, so they get accessed quicker when searching.. have another cool idea or hooking funcs

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4673 on: May 22, 2012, 07:53:09 am »
0
darqbot message from ADARQ:

just changed my timer signal handler, i must have been on crack.. i had a ton of code emanating from the signal handler.. just changed it to set a global var, then run event_loopbreak() to break out of the libevent loop.. then post-process the signal properly.. this solves tons of atomic/signal safe issues.

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4674 on: May 22, 2012, 06:36:48 pm »
0
darqbot message from ADARQ:

sogksodgkposdfhjspojhopdfsj

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4675 on: May 26, 2012, 04:18:47 am »
0
darqbot message from ADARQ:

just got relink client & relink daemon modules working... the code marathon ends successfully.. ;f

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4676 on: May 26, 2012, 07:58:12 am »
0
ridiculous.. these new mods, are insane. i have so many damn ideas to implement it's getting crazy.. every time i think of & implement one, 2-3 more solid ideas pop up.

i can now spawn a relinkd (Daemon) from the bot, which does the connection processing.. so the bot itself, can crash entirely, restart, have coded added, etc.. then i just run it, and it automatically relinks, .. no one has any idea that it ever left.

bot_swap.c is going to be tricky.. so much stuff to do..

48,000 lines as of today.. bout to hit the half 100kcentury mark.

once i get to my goal of 100k, it'll be psychotic.. 100k lines, clean code, huge functionality.. going to have so much fun with it.. oh ya, ill probably keep this project going because it's really impossible to get bored.. bot coding takes tons of twists and turns.

pc

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4677 on: May 27, 2012, 08:42:53 am »
-1
darqbot message from ADARQ:

man

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4678 on: May 27, 2012, 08:43:29 am »
-1
darqbot message from ADARQ:

oh,

seifullaah73

  • Hero Member
  • *****
  • Posts: 3933
  • Respect: +1742
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4679 on: May 27, 2012, 12:36:51 pm »
0
What are you trying to achieve, with the coding, what will the final finished product do?
Warm up drills
   - a walk, b skip quick powerful switch (heel to hams focus), a runs, dribbles small to big to run, straight leg to runs (force, reflex, go up/forward). force to hit the ground before it hits the ground knee/hip is at 90 degrees.
   - acceleration: low heel recovery, shin angle low, drive legs back before hitting the ground and drive thighs/knee forward not up
-------------------------------------------------------------
Measuring reminder:
5 toe to heel steps = 148cm
------------------------------------------------------------------------

�Strength comes from the legs, Power comes from the torso and Speed comes from the arm.� � Al Vermeil
Arm also aids the legs in driving it down with power - seifullaah73

My Progress Log
A Journey to Running fast and Jumping High
http://www.adarq.org/progress-journals-experimental-routines/my-journey-to-hypertrophy/