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 ... 1504
14806
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

14807
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

14808
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

14809
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.

14810
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

14811
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

14812
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.

14813
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


14814
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

14815
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.

14816
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

14817
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 18, 2012, 06:26:40 am »
It's nice you started working with Unix, Lisp, GNU and so on. I've been wanting to get into Linux work for some time, but only grazed the basics and never really started to do advanced stuff.

About the fact that Lisp is one of the oldest programming languages, I have two books about Fortran (oldest) and Cobol (third oldest) that belong to my dad who used to code hardcore 40 years ago :))

Keep logging this stuff, it's interesting.

PS: I still am kinda sad you stopped training.

bleh reposting all messed up, i forget i have to refresh links after each post, or it messes up.. nogui>*

word nightfly, thanks I will keep posting it, glad you find__
                 it somewhat interesting.. and as always, you are always______
                 invited to the live chat & any kind of talk, including_______
                 programming/unix/etc.. more so, I could even give you a shell
                 on one of my machines, if that would help you to better learn
                 nix/coding.. I've actually been into nix/programming for a___
                 long time, i just took 5 years off to persue my HEAD AT RIM__
                 GO GET IT mission.___________________________________________
                 _____________________________________________________________
                 don't be sad that i stopped training, because i didn't.. i'm_
                 training harder than ever, except, now i'm training my mind,_
                 which is far more interesting and fun.. took me a while to___
                 realize that.________________________________________________
                 _____________________________________________________________
                 peace man & stop by IRC some time.. im on there alot coding,_
                 boring people to death ;d____________________________________

ill repost yet again if that came out really wrecked.. heh

14818
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 18, 2012, 06:25:55 am »
It's nice you started working with Unix, Lisp, GNU and so on. I've been wanting to get into Linux work for some time, but only grazed the basics and never really started to do advanced stuff.

About the fact that Lisp is one of the oldest programming languages, I have two books about Fortran (oldest) and Cobol (third oldest) that belong to my dad who used to code hardcore 40 years ago :))

Keep logging this stuff, it's interesting.

PS: I still am kinda sad you stopped training.

word nightfly, thanks I will keep posting it, glad you find it somewhat interesting.. and as always, you are always invited to the live chat & any kind of talk, including programming/unix/etc.. more so, I could even give you a shell on one of my machines, if that would help you to better learn nix/coding.. I've actually been into nix/programming for a long time, i just took 5 years off to persue my HEAD AT RIM GO GET IT mission.

don't be sad that i stopped training, because i didn't.. i'm training harder than ever, except, now i'm training my mind, which is far more interesting and fun.. took me a while to realize that.

peace man & stop by IRC some time.. im on there alot coding, boring people to death ;d

14819
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 18, 2012, 06:22:23 am »
hey rix, fuck the fuck off. thanks.




Today I got the movie-script parser working.. The next step, is to "find names" within each movie script, and replace them with a special tag that I can use to substitute IRC nicknames with, for example:

14:49 < warm-n9> the last step would be to try and extract names
14:49 < warm-n9> and replace them with <name>
14:49 < warm-n9> which is kind of difficult
14:49 < warm-n9> for example
14:49 < warm-n9> COLE: Sup
14:49 < warm-n9> MIKE: Hey james
14:49 < warm-n9> MARRY: That's James Cole

14:50 < warm-n9> would need to become:
14:50 < warm-n9> COLE: Sup
14:50 < warm-n9> MIKE: Hey <name:COLE>
14:50 < warm-n9> MARRY: That's <name:COLE>

So I need to find, based on the CAPITALIZEDNAMES, other variations of the names within the text.. shouldn't be too hard.


Other than that, I got some lisp functions working nicely in the bot's alias modules.. this is pretty sick.. check it, here's the raw bot + guile-scheme code:

dns code:
^a(add) dns \|^e dns result: \|^guile (define p (gethost "$$2")) (define phost (vector-ref p 0)) (define pip (car (vector-ref p 4))) (display phost) (display "=") (display (inet-ntoa pip))

cat1 code:
^a(add) cat \|^e\|^guile (define (read-string char-set input-port) (let ((char (peek-char input-port))) (if (eof-object? char) char (list->string (let loop ((char char)) (if (or (eof-object? char)) '() (begin (read-char input-port) (cons char (loop (peek-char input-port)))))))))) (define p (open-input-file "$$2")) (display (read-string 's p)) \|^multi


here's it being used in an example:

06:00 < warm-n9> best bot ever.
06:03 < warm-n9> ^a cat /etc/motd
06:03 < dko> Linux darqbot 4.3.19.12202011 #2 SMP Thu Dec 25 01:28:15 EST 0BC i686
06:03 < dko> Welcome to the darqbot ircOS.
06:03 < warm-n9> RAPED.
06:03 < warm-n9> AS
06:03 < warm-n9> FUCK
06:03 < warm-n9> ^a cat /etc/passwd
06:03 < dko> root:x:0:0:root:/root:/bin/bash
06:03 < dko> test:test:1000:1000:test,,,:/:/bin/darqbotsh
06:03 < warm-n9> LMFAO
06:07 < warm-n9> ^a dns adarq.org
06:07 < dko> dns result: adarq.org=199.193.251.107


notice the $$2's in the code? args.

So, as you can see, ^a dns <args> AND ^a cat <arg> now run lisp code with the arguments i specify.

I need to develop a bunch of alias codes for things like:
 - ls/uname/stat/find/grep/rm/mkdir/etc
 - adding "quotes" to flat file db's, such as ^a addquote <a funny quote> .... ^a getquote

I have a pretty crazy idea i'm going to implement soon, mod_exp, which runs vulnerable functions in the child.. such as:
 ^exp(fmtstring) <data>
 ^exp(offby1) <data>

HEH.. once i program the unicode funcs, people will be able to pass null bytes to it, and really muck around, trying to gain shell access to the bot.. i want to put a bunch of vulns in that module for fun.. only thing I need to figure out is how to possibly compile without canary/ASLR etc.

Finally, if I am boring you, I am so very sorry. Seriously, I will go do some dunk on 9' and act stupid on camera, if that will make it up to you.

pC folks.

14820
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 17, 2012, 05:14:31 am »
"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.

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