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

0 Members and 1 Guest are viewing this topic.

vag

  • Hero Member
  • *****
  • Posts: 6013
  • Respect: +3801
    • View Profile
Re: ADARQ's journal
« Reply #4575 on: April 07, 2012, 03:43:43 am »
+1
The fuck is this ???  :huh:
Target training paces (min/km), calculated from 5K PR 22:49 :
Easy run : 5:48
Tempo run : 4:50
VO2-max run :4:21
Speed form run : 4:02

---

it's the biggest trick in the run game.. go slow to go fast. it doesn't make sense until it smacks you in the face and you're like ....... wtf?

AGC

  • Hero Member
  • *****
  • Posts: 1623
  • Respect: +1194
    • View Profile
Re: ADARQ's journal
« Reply #4576 on: April 07, 2012, 08:12:35 am »
0
You must have some food allergies you don't know about. Either that or herpes  :huh:.

Raptor

  • Hero Member
  • *****
  • Posts: 14571
  • Respect: +2501
    • Yahoo Instant Messenger - raptorescu
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4577 on: April 07, 2012, 01:25:23 pm »
0
Was she having a nice pussy, at least?

TheSituation

  • Hero Member
  • *****
  • Posts: 1335
  • Just remember me when I make it shine
  • Respect: +215
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4578 on: April 07, 2012, 02:02:30 pm »
0
whats wrong wich yall?
I don't lift for girls, I lift for guys on the internet



[7:31pm] adarq: ripp, being honest, it's hard for u to beat jcsbck, he's on fire lately
[7:31pm] adarq: he's just
[7:31pm] adarq: wrecking people
[7:31pm] adarq: daily




Say NO to Maroko

And also NO to anyone who associates with him. No Taylor Allan. No Adam Scammenauger. No Kelly Baggett. No Elliot Hulse. No Jtrinsey. NO JUMP USA


Don't PM me asking me training questions. I'm here for the lulz. If you want help, post on the forums and get help from all the members, maybe even me.

Nightfly

  • Hero Member
  • *****
  • Posts: 923
  • Respect: +173
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4579 on: April 09, 2012, 10:13:49 am »
0
I had the some problem from some allergy, i took Claritine and it went away

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4580 on: April 10, 2012, 04:57:10 am »
0
ya apparently it is allergies.. ive developed an allergy to something, dno what, probably chemicals at work..

im taking claritin too nightfly, seems to be helping.

scoobychau

  • Hero Member
  • *****
  • Posts: 846
  • Respect: +399
    • View Profile
Re: ADARQ's journal
« Reply #4581 on: April 10, 2012, 07:53:07 am »
+1
Lol. This is funny  ;D
Will love to see u getting mad, do some dunk with a lip like that.
Haha. U remind me of that shimp guy in forest gum.
BIY - believe in yourself
Born 1980
190 lbs
Reach 7'5" (89")
2 legs leap 28"@06, 33"@11, 34.5"@2012, 37"@2013
Ankle Surgery - Dec 14, 07
Dunk Goal - Nov 11, 2012 (Daughter's 1 yrs old Bdays)

~SACRIFICE~
IF YOU WANT SOMETHING YOU'VE NEVER HAD...
YOU MUST BE WILLING TO DO SOMETHING
YOU'VE NEVER DONE! (by Thomas Jefferson)

ESav15

  • Sr. Member
  • ****
  • Posts: 259
  • Respect: +36
    • View Profile
Re: ADARQ's journal
« Reply #4582 on: April 12, 2012, 09:35:04 am »
0
Damn man! I only saw this yesterday. Hope you'll get rid of this soon man!

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4583 on: April 15, 2012, 05:50:34 am »
0
darqbot now has an embedded scheme interpreter, stanford lexical parser (for english grammar etc), howie (alice bot, aiml, a.i. basic level crap, need to build a huge brain for it), alias's & stats hooked up to a mongodb, recursive input processing (aliases can call themselves etc)..

beast.

removed exec* from the scheme interpreter, oh and fork.. i think i'll allow everything else.. need to figure out how to run this bot in a jail without the modules being accessable for writing.

spent all night trying to parse a ton of weird movie script files, for input into the alicebot aiml brain.. no luck.. it's able to parse say, 50%, but other 50%, no.. i have a better approach for tomorrow, should work.

going to start blogging my daily exploits in the comp-prog spectrum.


adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4584 on: April 16, 2012, 06:44:56 am »
0
hmm.. so what did I do today.

I modded darqbot to run in a chroot jail, this actually took some work;
- chroot/setre[U,G]id etc
- modify a bunch of paths in darqbot
- chdir twice to clean envs (didn't want to have env variables null, but wanted to wash them a bit)
- mount binded fs's inside the chroot jail, read only, ie:
   mount -B /lib /darqbot/lib
   mount -o remount,ro /darqbot/lib

   had to do that with dev, usr, lib.. copied over etc manually, only a few files

   so this means, darqbot now has a little fs people can play with through whatever mechanism, most likely the ^guile interface (scheme lisp interpreter).. since that scheme code can modify files/do all sorts of stuff, it needs to be jailed for basic protection.

- modify guile source slightly, to get rid of (system*) & (kill), as well as fork/exec etc..
- lisp processing and my pipe processing now goes hand in hang, you can do things like:

  ^e |^guile (display (gethost "aol.com"))) |^caps|^fgcolor(pink)

  so lisp and my stuff can all be processed on the same line..

  next step is to integrated my modules INTO guile, that will be very nice.. then i can do things like:

  ^e |^guile (^fgcolor pink) (gethost "aol.com")

  plus it needs to understand my bot_t structure, so that power/admin users can actually use (system* ..) etc

  etc

- having a slight problem with zombie procs in guile.. reduced 99% of the zombies by redoing my sigchld/sigpipe/sigsegv signal handlers & set up an alarm to kill any guile modules after 5 seconds, but 1 scenario is still causing a problem...




here's an example loop being processed: (dko is the bot)

02:56 < n9> ^e|^guile  (let loop ((n 1)) (if (<= n 10) (begin (display n)(newline) (loop (+ n 1))))) |^multi
02:56 < dko> 1
02:56 < dko> 2
02:56 < dko> 3
02:56 < dko> 4
02:56 < dko> 5
...

without ^multi, it would print on the same line.. beast.

there's all sorts of limits and flood protection mechanisms in place, all of which can be set with the ^var trigger.




tomorrow i need to work on:

- adding arguments to my alias function

  my idea so far is, a very basic argument structure, shell-like:


^alias test ^e $1 | ^rot13 | | hi $3 | yo $2
^a test one two three
 -> xg hi three yo two
etc..


another example, incorporating a lisp func:
^a(add) dns ^e | ^guile (display (gethost "$1")) <-- set the alias
^a dns adarq.org <-- resolve adarq.org

the alias would expand to

^e | ^guile (display (gethost "adarq.org"))




really happy about implementing guile.. darqbot is now 1000000x more powerful.


damn this is my longest post in a while.. i write stuff like this down every day in my code-journal thing, so im going to move it into my actual journal..

;d

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4585 on: April 16, 2012, 06:59:10 am »
0

oh one more thing, this is pretty cool.. using the "nop input module", I can turn an irc/live chat session into a guile session.
. ^nop causes the bot to "add stuff" to each line it receives, so normal chat text, can become processed using my triggers..

for example

^nop(ina) \|^e\|^guile <-- this causes guile to append \|^e\|^guile to each line received, then processes it.. so..

typing:

(display 1) turns into (display 1) |^e |^guile, which causes guile to parse (display 1) resulting in 1 being outputted..

here's an example:

04:40 <@z> (display (list "hey"))
04:40 < xdd> (hey)
04:41 <@z> (display (length (list "hey")))
04:41 < xdd> 1
04:41 <@z> (display (%global-site-dir))
04:41 < xdd> /usr/local/share/guile/site
04:43 <@z> (display (remainder 10 4))
04:43 < xdd> 2
04:47 <@z> (number->string (+ 1 2))
04:47 <@z> (display (number->string (+ 1 2)))
04:47 < xdd> 3
05:01 <@z> (procedure-documentation display)
05:01 <@z> (display (procedure-documentation display))
05:01 < xdd> #f
05:01 <@z> (display (procedure-documentation 'display))
05:01 <@z> (display (procedure-documentation sort))
05:01 < xdd> #f
05:02 <@z> (display (random))
05:02 <@z> (display (random 4))
05:02 < xdd> 3
05:02 <@z> (display (random 100000))
05:02 < xdd> 50621
05:02 <@z> (display (random 10000000000000))
05:02 < xdd> 6312491691827
05:02 <@z> (display (random 100000000000000000000000000000000000000000000))
05:02 < xdd> 78306622436512418053130718978773471728041129

pretty cool.. ^nop is real powerful.. ^modfiy will be insanely powerful once i code it.
~

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4586 on: April 17, 2012, 05:10:52 am »
0
Spent a few hours debugging, trying to figure out why my bot would zombie, even though I had a SIGALRM hook & alarm() set, also waitpid'n etc.. it was blocking in write(), because it writes to a pipe that was getting full on certain tests.

Cleaned environ when passed to ^guile, was resulting in info leaks, need to protect LD_PRELOAD/LD_LIBRARY_PATH variables.

Added fake environment variable, bot_t { dlist_t *dl_environ; }

Added something to build "argv[]" for my ^alias trigger, for example:


"dns" alias example:
05:03 < n9> ^a(get) dns|^e
05:03 < vkx> ^e|^guile (display (gethost "$$2"))

using it:
05:03 < n9> ^a dns adarq.org
05:03 < vkx> #(adarq.org () 2 4 (3351378795))

$$0-$$9 = argv[0]=argv[9] .. argv[0] = ^a, argv[1] = dns, argv[2] = first argument

Tomorrow I need to make it parse strings properly, instead of just tokenizing everything into words based on spaces.. for eample
:

^a blah one two three four <-- it only works on this
^a blah one "two three" four <-- it doesn't work on this, $$3 would be "two, $$4 would be three".. need to parse it into one arg
v, ie, $$3 = two three

Finally I need to add $$@0-9, ie, $$@0 = every argument.. $$@1 = every argument except the 0th. and so on

im crazy tired today, but got alot done.. 1 week on 5 hours sleep per night, max.

pC

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4587 on: April 17, 2012, 05:14:31 am »
0
"UNIX is a companion which no future can depress, no crime can destroy, no enemy can alienate it and no nepotism can enslave." Ropo Oguntimehin

"GNU's purpose is to replace a proprietary mind with an open one." Malcolm Forbes

"Develop a passion for coding. If you do, you will never cease to grow the stack." Anthony J. D'Angelo, The DoD Blue Book

I was reminiscing of those quotes as i installed gimp.tbz and it's dependencies manually, behind a firewall + proxy, and two routers (wifi + cable), much like when I installed netbsd 1.3.1 from 31 floppies.

Next time someone starts blabbing about the "college experience", proceed to int 0x80 them & go on about the unix experience (TM).

relax.

cowed77

  • Hero Member
  • *****
  • Posts: 1293
  • fall down seven times, get up eight
  • Respect: +63
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4588 on: April 17, 2012, 05:53:08 am »
0
i have absofuckinglutely no idea what the last 5 posts meant.

 :'( :'( :'( :'( :'( :'( :'(
 :uhhhfacepalm: :uhhhfacepalm: :uhhhfacepalm: :uhhhfacepalm: :uhhhfacepalm:
BW: 74kg
Ht: 174cm, 5'8
reach: 220cm

TheSituation

  • Hero Member
  • *****
  • Posts: 1335
  • Just remember me when I make it shine
  • Respect: +215
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4589 on: April 17, 2012, 09:28:20 am »
0


Adarq you need to start lifting again so you can be on Jersey Shore 2 with me.
« Last Edit: April 17, 2012, 09:33:22 am by TheSituation »
I don't lift for girls, I lift for guys on the internet



[7:31pm] adarq: ripp, being honest, it's hard for u to beat jcsbck, he's on fire lately
[7:31pm] adarq: he's just
[7:31pm] adarq: wrecking people
[7:31pm] adarq: daily




Say NO to Maroko

And also NO to anyone who associates with him. No Taylor Allan. No Adam Scammenauger. No Kelly Baggett. No Elliot Hulse. No Jtrinsey. NO JUMP USA


Don't PM me asking me training questions. I'm here for the lulz. If you want help, post on the forums and get help from all the members, maybe even me.