Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - adarqui

Pages: 1 ... 986 987 [988] 989 990 ... 1505
14806
Boxing / seth mitchell prediction
« on: April 28, 2012, 10:42:53 pm »
22:25 < ng_> relax
22:25 < ng_> nope
22:25 < Southpaw> id laugh
22:25 < ng_> mithell going to ko 3rd oun
22:25 < ng_> round
22:25 < Southpaw> mitchell aint shit
22:25 < ng_> u aint shit

:D

crazy come back.. he was so wrecked in round 1.

14807
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 26, 2012, 07:11:07 am »
finally figured out how i'm going to do nesting/recursive parsing.. using ^().. ^() will substitue the resulting string, whereever it is used.. unlimited nesting, anywhere in a line.

previously, you could only use pipes or the alias command..

ie

^echo hi my name is |^echo Mike

or to modify the name mike:

^echo hi my name is |^:|^caps mike

so the issue there is 'separators', the ^: command.. it works but, you can't nest and you always have to pipe..

with this, i'll be able to do..

^echo hi my name is ^(^echo mike)

or for the second example

first level nesting:
^echo hi my name is ^(^caps mike)

2nd level nesting:
^echo hi my name is ^(^echo ^(^caps mike))

that's a very basic example, but as you can see, much more versatile.. i can now substitue text into the function parameter of the trigger, such as:

^sort(^(^rand forc backc randc)) hi my name is mike

which will sort "hi my name is mike" randomly, forward, backward, or random, (per char)..

end trainer-mike example.




just wrote this func up real quick, pretty cool too, ^rf = random function

06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> hello bro what the hell is up
06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> nod bro what the lower world is distend
06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> h31|_() ]3/2() \\'}{4+ +h3 ]-[31|_ !$ |_|p
06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> pu si lleh eht tahw orb olleh
06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> pu si lleh eht tahw orb olleh
06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> pu si lleh eht tahw orb olleh
06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> hello bro what the hell is up
06:52 <@z> ^e hello bro what the hell is up|^rf(^echo:::^sort:::^leet(3):::^reverse:::^moby)
06:52 < KoC> smile bro what the noise is prefer
 

small example.. picks a random func based on the list wthin the parameter brackets ().



ok other than that.. fixed alot of little bugs today.. started a slight framework for a more robust mongodb add/get system, using stdarg..

bot_mongo_add(bot, "name", "ADARQ", "age", 50, "vert", 51.5) ... this creates structures inside the mongodb in a more dynamic manner, much more versatile.. i need this because i need to use mongodb more, for storing info that module need.. i have a bunch of modules storing info, but, they have their own routines for the most part.. now i can just use one function.

ok finally, i need to figure out how to sift through stack frames/arguments/local variables, there must be a way.. im compiling with -ggdb after all.. so there must be some sort of api/library i can use to access that data, i want to print it out with the ^frame or ^stack or ^reg or ^examine triggers.

peace

14808
Progress Journals & Experimental Routines / Re: THE DREAM JOURNAL
« on: April 26, 2012, 03:36:11 am »
since i've stopped training, i havn't really been able to remember my dreams. when i was training hard, every night i'd dream up some crazy ish and remember it, very vivid stuff.

14809
Basketball / Re: new name, same animal
« on: April 25, 2012, 02:24:19 pm »
the bigger problem, in my opinion, is that there is nobody in the nba that will teach artest a lesson.. i mean, this guy does dirty shit all the time and gets away with it.

you think he'd get away with that if barkley/lambier/rodman etc were around?

that elbow was criminal, he could have inflicted much more damage if it had landed flush on his eye socket for example.

artest is a bum.

14810
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 25, 2012, 05:01:46 am »
ran 1 mile today.



ircd char limit cut me off.. "i plan to attach this thing to tons of servers".

nice, lines of code & file listing for the bot at this point:

# wc -l *.[c,h] */*.[c,h]
   284 bot_alloc.c
  1871 bot.c
   483 bot_conf.c
   344 bot_environ.c
   441 bot_global.c
  1104 bot_misc.c
   328 bot_module.c
   447 bot_mongo.c
   228 bot_network.c
    81 bot_protocol.c
     2 bot_reaper.c
     9 bot_safe.c
    42 bot_stat.c
    82 bot_tokenize.c
   320 bot_unix.c
   661 dlist.c
   134 main.c
   205 matchchar.c
   195 randchar.c
   318 bin/extract_quotes.c
   354 bin/script_extract2.c
   319 bin/script_extract.c
    71 include/bot_alloc.h
    16 include/bot_conf.h
    16 include/bot_environ.h
    26 include/bot_global.h
   332 include/bot.h
    61 include/bot_misc.h
    42 include/bot_module.h
    25 include/bot_mongo.h
    13 include/bot_network.h
    38 include/bot_protocol.h
     6 include/bot_safe.h
     7 include/bot_stat.h
    63 include/bot_text.h
    14 include/bot_tokenize.h
    35 include/bot_unix.h
   132 include/dlist.h
    30 include/matchchar.h
    29 include/randchar.h
   382 mods/mod_alias.c
   220 mods/mod_auto_rejoin.c
   303 mods/mod_bgcolor.c
   180 mods/mod_bold.c
   243 mods/mod_caps.c
   812 mods/mod_chan.c
   238 mods/mod_char.c
    90 mods/mod_comment.c
   138 mods/mod_dice.c
    99 mods/mod_echo.c
   540 mods/mod_emot.c
   284 mods/mod_fgcolor.c
   424 mods/mod_guile.c
   243 mods/mod_help.c
   580 mods/mod_howie.c
   286 mods/mod_hun.c
   438 mods/mod_identify.c
   464 mods/mod_leet.c
   179 mods/mod_md5.c
   526 mods/mod_moby.c
    93 mods/mod_multi.c
   451 mods/mod_nop.c
    92 mods/mod_output_modify.c
   213 mods/mod_packmulti.c
   382 mods/mod_pcre.c
    94 mods/mod_pmme.c
    96 mods/mod_prepend.c
   566 mods/mod_quote.c
   621 mods/mod_rainbow.c
   242 mods/mod_rand.c
   180 mods/mod_reverse.c
   180 mods/mod_rot13.c
   176 mods/mod_roulette.c
   620 mods/mod_rss.c
   109 mods/mod_sep2.c
   106 mods/mod_sep.c
   426 mods/mod_shake1.c
  1143 mods/mod_smf.c
   357 mods/mod_sort.c
   203 mods/mod_space.c
   736 mods/mod_sp.c
   368 mods/mod_sysvbanner.c
   238 mods/mod_tiny.c
   268 mods/mod_tinypaw2.c
   260 mods/mod_tinypaw.c
   519 mods/mod_to.c
   183 mods/mod_underline.c
   400 mods/mod_var.c
   167 mods/mod_wc.c
    97 mods/mod_whoami.c
    93 mods/mod_zero.c

 25883 total

beast mode.


segregating the connector code took a bit of work, but damn does it work good.. can just let the connectors go to war with servers lmao, finally connecting and passing the fd back.. not having to worry about threading/libeventing for those connectors, is peace of mind..

tomorrow i need to get ^to working with those lists, creating temporary lists in bot_t to allow for piping to multiple channels/servers.. an example would be:

^nop(ina) \|^e\|^to(local) #darqbot    <-- that would pipe every message from any server/channel to my local ircd/channel..

^alias(add) wall \|^e\|^to efnet#jumping freenode*

then i'd go:

^a wall A MESSAGE HERE

which would then send "A MESSAGE HERE" to everything defined by ^to in the alias command.

nice..

other than that, need to start my banner generator, more comprehensive than the simple ^sysvbanner module.. this one will have tons of fonts.

peace

14811
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 24, 2012, 04:04:41 pm »
question: if we don't challenge our brains, are we using them at 100%?

let's say i watch jersey shore all day long, then go to a club, then come back home and do some pushups.

am i utilizing my brain at 100%?

if i know one language and am capable of learning 8-10, am i using my brain at 100%?

if i can't control my dreams, ie, lucid, am i using my brain at 100%?

if all i do is walk, am i using my body at 100% of what it is capable? so if i am capable of running 22mph, yet, i never surpass 8mph on a slow jog, what percent of my body "am i using"?

if all i do is eat 1 cheese doodle, yet im still hungry, have i used my intestines at 100% of their capability? perhaps, 100% of being empty?

then i think you are correct lbss, if we are only using ~10% of our brains, then we can say we are not using 90% of our brains, which still classifies itself as "using".

so, if you add the 10% use of my brain, to the 90% NOT use of my brain, then I am actually using 100% of my brain.

lbss good point ;f

Your brain is split up into different areas that handle different functions. It's not like any section can be used to learn a new language for example.

If you're not in pain, the sub-section of your brain that controls pain isn't active but it can't be used to learn calculus. It is however being used. If you get kicked in the nuts you'll feel it immediately (hopefully). Other areas are responsible for things like memory and cognitive function among other things. They are solely responsible for those tasks.

You are capable of learning an infinite number of languages if you had the time. Knowing them doesn't use your brain so much as learning them does. If you're fluent in a language you don't have to think much at all when speaking it. In the moment, whether you know 1 language or 50, all sections of your brain are firing and being used (hopefully).

That cheese doodle example...really? What do your intestines have to do with hunger? Ignoring that, they are either being used or they aren't. You could argue that only the sections with food in them are being used but the truth is it's an organ that functions as a whole. If some section were inactive the food would get stuck there. Also, comparing your brain to your intestines is retarded.

fyi, you're retarded rix.

pC

14812
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 24, 2012, 05:21:21 am »
question: if we don't challenge our brains, are we using them at 100%?

let's say i watch jersey shore all day long, then go to a club, then come back home and do some pushups.

am i utilizing my brain at 100%?

if i know one language and am capable of learning 8-10, am i using my brain at 100%?

if i can't control my dreams, ie, lucid, am i using my brain at 100%?

if all i do is walk, am i using my body at 100% of what it is capable? so if i am capable of running 22mph, yet, i never surpass 8mph on a slow jog, what percent of my body "am i using"?

if all i do is eat 1 cheese doodle, yet im still hungry, have i used my intestines at 100% of their capability? perhaps, 100% of being empty?

then i think you are correct lbss, if we are only using ~10% of our brains, then we can say we are not using 90% of our brains, which still classifies itself as "using".

so, if you add the 10% use of my brain, to the 90% NOT use of my brain, then I am actually using 100% of my brain.

lbss good point ;f






ok so gizmo got into a crazy fight at the dog park today.. lasted all of 2 seconds before i broke it up.. he got bit on his eyelid, tore a little piece out of it.. so lucky he didnt get fanged in his eye..




as for coding news:

added ^sysvbanner to the bot, and ^char which can invert chars/color codes/etc.. makes for some sick ascii'ing on irc.

then i added a 'fd pass' compoent to my bot..

- the parent now spawns forked children "connectors", which loop trying to connect to a server, sleep for a little upon failure, or if they succeed, the child contacts the parent over a unix domain socket and sends the connected file descriptor as control data, in a sendmsg() call

- then the parent recvmsg's() that descriptor, and re-links it into the bot_t structure, adding the fd/event to libevent dispatch loop, and all is good.


i spent 2 hours debugging something that turned out to be so damn simple... totally retarded... this happened before.. i spent time modifying the core code of the bot, then kept running it, and it kept crashing.. but that's because i forgot to recompile the modules, derp.. when i modify the main bot_t struct, the modules depend on it, and if they are already compiled, then their structures are off, missing or having too many bytes etc.. so pointers get mangled and it crashed.





in other news, my neighbor actually shot himself, suicide.. it's crazy, trying to think of why he would do that when from all accounts he seemed like a decently happy guy.. just got married ~1 year ago.. had kids, and step kids he raised.. was big into boxing,we always talked boxing.. had dogs, he'd walk all the time..

so then somehow he goes from a seemingly decent life, to shooting himself in the house while his wife and her brother were there.. mind-cannot-comprehend..

perhaps i could comprehend it if i used more than 10% of my brain.

peace

14813
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 23, 2012, 07:35:37 am »
darqbot is now 24,000 lines of code, beast.

14814
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 23, 2012, 07:32:19 am »
damn my neighbor died... nuts.... i been coding all night, watching as cops investigate.


ok so i finished this alloc tracker thing, freakin nuts..

when i type 'alloc', it scrolls for like, literally 30 seconds.. so much stuff allocated/free'd for my bot.. then, say i type 'off', which is supposed to clean everything up, then i type 'alloclist' (only show stuff still allocated), here's the final output:

debug: bot_evhook_console: read [alloclist]
gah
bot_alloc_print: Printing alloc'd objects:
        0x817c0b0 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x817c0b0 size=9 data=[/darqbot/], ctime=Mon Apr 23 11:20:08 2012
        0x817bfd8 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x817bfd8 size=14 data=[/darqbot//conf], ctime=Mon Apr 23 11:20:08 2012
        0x817b8d8 => bot_global.c bot_global_conf_parse 83 (strdup) ::: active=1 addr=0x817b8d8 size=9 data=[/darqbot/], ctime=Mon Apr 23 11:20:08 2012
        0x8191478 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x8191478 size=9 data=[/.darqbot], ctime=Mon Apr 23 11:20:08 2012



sooo..... 1204912409120 lines of allocated data scrolling, then i turn it off, and only ~5 ptr's allocated.

BEAST

MODE

SONSON.

that basically means their are no leaks.. anyway, ill have to stress it more and see what remains, and keep this process going as i add more components/modules etc.. to make sure i have 0 memory leaks.

it took longer than expected because i had to re-organize alot of code, specifically the module interface.. i need to reorganize it further in a few days, to allow for multiple servers.

peace

14815
News, Announcements, & Suggestions / Re: monthly newsletter
« on: April 22, 2012, 03:55:00 am »


 :P


almost done with it, been working on it for a while..

:F

14816
Boxing / Re: good performance by marquez
« on: April 21, 2012, 03:07:56 pm »
ya he's impressive considering his age/how many battles he's been through, but he's not going to last much longer.. not enough power/strength, though his boxing "Skills" are ridicuous.

14817
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 21, 2012, 06:21:58 am »
Only four hours sleep last night, but I felt great all day.

Finished some annoying code, wasn't into it, but I needed to get it done:
- Added smf posting feature from the bot, now I can post into threads from the live chat, or pipe stuff/info to the live chat.. I was stuck for a good while because libcurl's cookie engine was giving me problems.. I still don't know if there's a way to get it working properly using libcurl entirely by itself. Instead, im using libcurl initially to get the cookies, then i am keeping track on my own to supply the updated cookies.. libcurl is receiving those cookies, but it won't supply them in the HTTP headerss for responses.. must be something i'm doing wrong but i havn't figured it out.. anyway, i fixed that by keeping track of the updated cookies and supplying them manually.

other than that, i'm writing this cool color/ascii generator for the bot, which is pretty fun.. really "gays up" the live chat, with rainbow colors everywhere, or colors you specifiy in the trigger:

^rainbow(pink,white,cyan) .. <-- just those ... ^rainbow(def) <-- all colors

anyway, that func is going to be fun, already is actually, color bombing irc is entertaining.. i have to setup the ascii thing tomorrow, which will have a bunch of fonts that i setup for my gridwindow code.. so i plan to make my own figlet/sysvbanner style ascii generator but entirely for irc, using some of my gridwindow code from a month back.

so ya my todo for tomorrow is:

finish ^smf, ^rainbow, script parser

start ^rant, ^grid


this project has a mix of really useless but fun components, and then some really intense/advanced components.. hard to get bored with such a scenario.

i still have absolutely no clue how im going to emulate archs, create little vm's for instructions/testing, for various cpu architectures.. need to find something that already exists and then integrate it.. last resort i'll just do intel support initially.

peace


14818
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 21, 2012, 05:07:25 am »
Why is training Ur mind far more interesting and fun :(

because everything we perceive to be important, or even the ability to perceive, stems from a mass of tissue of which we only utilize at most ~8=10% of it's  total capacity. furthermore; the mind outlives the body, in most cases.

Quote
Looks like ur denouncing wat u used to do :(

nope, i'm glad i did what i did, but i finally got tired of it.. lost the luv.






Looks like ur denouncing wat u used to do :(

wrong.

correkt.








Thanks Darq. I was online on IRC, but you weren't. Maybe next time we'll sync. My dad is doing SQL Scripts right now and managing the databases of the biggest insurance company in Romania. He's the only man doing that and no one else there know how to do them :)) so he rarely takes holidays. He studied cybernetics in College.

yo i saw you, my nick has "ng" in it.. i change my nick alot.. i was away when you joined.

damn it sounds like your dad has a pretty important gig, nice..

i hate sql, im starting to love this nosql movement, mongodb is DIESEL.






The mind and body feed off of each other for a great deal.
Neglecting either one would be making )#*%& excuses.

true but what is neglect? is the lack of lifting heavy weights neglect? is the lack of jumping/sprinting/etc neglect?

is simply walking or running with my dog enough to 'keep the body happy'?

how much is too much, how much is too little?


Quote
You still eatin' right/anorexic b?

eating decent.. pretty broke but it's all good, once i get a new job & get paid better, im going to pig the fu*k out.

;d



Quote
Keep at it and btw, please don't create any kind of AI that will destroy the world, k?

pce

lmfao, unfortunately i don't need to create a.i that will destroy the world, that is happening already..

however, if i could create a skynet-like system, that gets rid of religion and replaces it with science, that'd be worth it

:F








i been busy last few days trying to figure something out, that's why i didnt post.. will post tonight in a bit.

word :D

14819
LanceSTS's Performance Blog / Re: COME TO IRC LANCE
« on: April 18, 2012, 12:06:45 pm »
he came to irc gutts, i sawr it.

btw, dreyth aint not shit bich relax. if dreyth and yourself entered a physique modeling contest dreyth would win effortlessly relax, glittered up and soap suds, all day, err day.

14820
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 18, 2012, 06:39:29 am »
btw forgot to paste the second half of reply, about your dad's 40 years hardcore coding.. sick man.. what kind of stuff did/does he do?

i don't know anything about fortran/cobol.. even though scheme is "old", it is incredibly powerful still to this day.. alot of android software is written in lisp as a current example.

scheme is ridiculously clean and lacks the bulk of common lisp, that's why i chose to go with it.. also, scheme is pretty much the language of artificial intelligence & genetic programming, so I have to get really sick with scheme, because one of the avenues I want to get really good at, is a.i. , genetic programming, neural networks etc.

this "bot" thing i'm doing, will incorporate alot of that stuff eventually.. plus I want it to become some kind of "social programming environment", where people can mess around and code WHILE chatting together.. it already has that functionality now that gnu guile is incorporated.. i'm pondering whether or not i should incorporate something like golang/python etc, various langs.. the only problem is irc's message size & those languagages don't let themselves to "one liners", well C does.. int main() { int x; for(;;) { puts(""); } } etc.. but python definitely no, goland probably not.. C/lisp can fit nicely on one line..

to incorporate golang/python etc, i'd probably have to do like..

^golang start loop1
... typing code multiple lines....
^golang end

and then you could do something like:

^goland loop1 <args..>

sounds ez actually.. i'll probably incorporate it fairly soon.. not sure about C though, i don't know if i want code compiling on my system.. python/golang could run right from an interpreter, it's definitely cleaner and safer.

peace man

Pages: 1 ... 986 987 [988] 989 990 ... 1505