[NOTABUG] Misattributed quote was deliberate


  • SockDev

    Continuing the discussion from something ivolving quotes:

    Both me and @aliceif quoted the OP...


  • area_deu

    I deliberately misattributed it. I just wanted to see if loopback's bots respond to quotes - because accalia's don't.


  • SockDev

    There's no reason that the various sockbot clones can't respond to quotes.

    It is just none of the modules I wrote look for quotes.



  • @accalia said:

    There's no reason [they] cont [sic] respond to quotes

    Ummm
    @accalia said:
    none of the modules look for quotes.

    Just sayin'


  • SockDev

    @loopback0 said:

    Ummm

    typo. cont>can't

    @loopback0 said:

    Just sayin'

    exactly. they CAN respond to quotes. They just DONT.

    :-P



  • From that topic,


  • SockDev

    good to know it's more than just @shadowmod that can get into unexpected loops.



  • I was going for low-level pedantry (rather than aiming for a badge) that there is a reason they can't respond to quotes, and it's because they don't look for it.



  • Yeah, but it's expected from Discourse.


  • SockDev

    @loopback0 said:

    and it's because they don't look for it.

    no. they look for it. that's why you see in the log them saying someone quoted them.

    they just don't do anything about it (other than print the entry in the log)



  • @accalia said:

    they look for it.

    I was basing them not looking on you saying they didn't.

    @accalia said:

    It is just none of the modules I wrote look for quotes.

    Make up your mind ;)


  • SockDev

    @loopback0 said:

    Make up your mind

    i don't know if you wrote a sockmodule i don't know about, or @RaceProUK, or @PJH.... and that's just the people who i know run a sockbot instance.

    they could have made their modules do something on quote!

    :laughing:


  • SockDev

    I haven't written any modules yet; can't think of one I want to write!


  • SockDev

    @loopback0 said:

    Make up your mind

    also the they in quote one refers to the bots themselves while the they in quote b refers to the sockmodules that make up the bots actions.

    both are correct. (it's message bus that writes that log, not a module.)


  • SockDev

    @RaceProUK said:

    I haven't written any modules yet; can't think of one I want to write!

    if you do i'd love a pull request so everyone can use it!

    :-D



  • So the bot cannot perform the action of responding to a quote because the module behind the action doesn't listen for them.

    Oh, nevermind.



  • @accalia said:

    i don't know if you wrote a sockmodule i don't know about

    I'd have to figure out JS first.


  • SockDev

    @loopback0 said:

    I'd have to figure out JS first.

    i'm working on documenting things so you can do that more easily.



  • I'll still look at the code itself and be :wtf:

    Ain't no danger of me writing it :)


  • SockDev

    @loopback0 said:

    I'll still look at the code itself and be

    Continuation passing style tends to elicit that response.

    is powerful pattern but is not easiest to understand.


  • SockDev

    Any particular reason behind choosing CPS instead of writing normal code? :stuck_out_tongue_winking_eye:


  • SockDev

    @RaceProUK said:

    Any particular reason behind choosing CPS instead of writing normal code?

    couple of reasons:

    • i wanted WTFs galore. this is a what.thedailywtf bot after all!
    • i wanted to learn the style better
    • node.js really really really wants you to use it with their API choices that default async and take functions to deliver results to you.

  • Discourse touched me in a no-no place

    @RaceProUK said:

    Any particular reason behind choosing CPS instead of writing normal code?

    As @accalia says, it's built on node.js and that's got the hots for callbacks. CPS works well with that, and switching to something โ€œnormalโ€ requires something like deep coroutines, which I don't think the V8 runtime can support at the moment.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.