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

0 Members and 1 Guest are viewing this topic.

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4605 on: April 22, 2012, 03:43:24 am »
+1
darqbot message from ADARQUI:

Now I can journal directly from irc.. boss

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4606 on: April 22, 2012, 03:45:01 am »
+1
darqbot message from ADARQUI:

ok so i've been thinking, I got lazy with some of these modules, not free'n a few strdup's etc.. i might write a PRELOAD library or just wrappers for malloc/calloc/strdup/free, so that i can keep track of all alloc's/free's and find out where any leaks are.. sounds good

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4607 on: April 22, 2012, 03:46:38 am »
0
darqbot message from ADARQUI:

gizmo is a freak, ran 1 mile straight at a decent speed.. then walked another mile, then 2 hours at park, then 2 miles back, gets home and still wants to play.. meanwhile, my legs are fatigue from the 1 mile run.. lmfao

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4608 on: April 22, 2012, 04:04:23 am »
0
darqbot message from ADARQUI:

Stacy's "naked" pita chips are insane.

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4609 on: April 23, 2012, 05:51:06 am »
0
darqbot message from LOCAL:

uhhh.. I think one of my neighbors got murdered/somehow died

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4610 on: April 23, 2012, 07:27:01 am »
0
darqbot message from LOCAL:

uhhh.. I think one of my neighbors got murdered/somehow died criminally.. i may be jumping the gun but, cops have been there for 3 hours, yellow tape sectioning off the entire house, with two other people who live there still in police cars.. very odd..

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4611 on: April 23, 2012, 07:32:19 am »
0
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

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4612 on: April 23, 2012, 07:35:37 am »
0
darqbot is now 24,000 lines of code, beast.

LBSS

  • Hero Member
  • *****
  • Posts: 12864
  • plugging away...
  • Respect: +7969
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4613 on: April 23, 2012, 09:56:47 am »
+2
lol @ only using 8-10% of our brains.

http://www.snopes.com/science/stats/10percent.asp
Muscles are nonsensical they have nothing to do with this bullshit.

- Avishek

https://www.savannahstate.edu/cost/nrotc/documents/Inform2010-thearmstrongworkout_Enclosure15_5-2-10.pdf

black lives matter

TheSituation

  • Hero Member
  • *****
  • Posts: 1335
  • Just remember me when I make it shine
  • Respect: +215
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4614 on: April 23, 2012, 01:16:50 pm »
0
<a href="http://www.youtube.com/watch?v=gutCFMc5khY" target="_blank">http://www.youtube.com/watch?v=gutCFMc5khY</a>
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.

Raptor

  • Hero Member
  • *****
  • Posts: 14571
  • Respect: +2501
    • Yahoo Instant Messenger - raptorescu
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4615 on: April 23, 2012, 01:55:08 pm »
-1
lol @ only using 8-10% of our brains.

http://www.snopes.com/science/stats/10percent.asp

That's only because men have reserved the other 90% for their penis.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9111
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #4616 on: April 24, 2012, 05:21:21 am »
0
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

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4617 on: April 24, 2012, 05:41:24 am »
0
darqbot message from ADARQ:

so

darqbot

  • Newbie
  • *
  • Posts: 49
  • Respect: -4
    • View Profile
    • Email
adarq's-journal
« Reply #4618 on: April 24, 2012, 05:41:36 am »
0
darqbot message from ADARQ:

so last night i slept from 830am to 1230pm, felt great all day.. seems like im adapting to low amounts of sleep, lance status...... also, i think gizmo can land better from 40 inches than i ever could, it's ninja quiet and springy.

Rix

  • Full Member
  • ***
  • Posts: 180
  • Respect: +8
    • View Profile
Re: ADARQ's journal
« Reply #4619 on: April 24, 2012, 07:29:28 am »
0
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.