1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Learn to code bots

Discussion in 'General Programming Chat' started by jamb0ss, Mar 20, 2015.

Tags:
  1. jamb0ss

    jamb0ss Junior Member

    Joined:
    Feb 9, 2012
    Messages:
    125
    Likes Received:
    46
    Occupation:
    Bots programming
    First of all, let me introduce myself (it's never too late, right?).
    I'm a Python/C/JS coder with more then 10 years of experience in working with web-related technologies and 8 years in IM.
    My main fields of work: web-development (high-load web apps, REST API), big data processing, data-mining, web-crawling, web-scraping, computer-vision, machine-learning and of course different automation solutions (bots).
    I've developed a lot of bots for almost all major social networks and other popular websites.
    What I'm thinking about is to share this knowledge with bhw community.
    I don't know yet how to organize it, that's why I've started this thread.
    May be just by posting here step-by-step lessons about bots development?
    Or may be personal lessons?
    What do you think guys?
    Is anyone interested in such course?
    Ping me with your thoughts.
    Thanks.

    P.S. Automation will save the world ;)
     
    • Thanks Thanks x 1
  2. ProductionsDream

    ProductionsDream Junior Member

    Joined:
    Nov 28, 2013
    Messages:
    179
    Likes Received:
    107
    Please share the knowledge, i would love to learn to code bots, even if i dont know programming languages

    :D

    automation rules
     
  3. redbandit

    redbandit Power Member

    Joined:
    Sep 30, 2014
    Messages:
    516
    Likes Received:
    101
    Location:
    BHW
    would you interesting in making a particular bot for me? need a bot to post app reviews on google play and app store
     
  4. jamb0ss

    jamb0ss Junior Member

    Joined:
    Feb 9, 2012
    Messages:
    125
    Likes Received:
    46
    Occupation:
    Bots programming
    yep, pm me bro .....
     
  5. lord1027

    lord1027 Elite Member

    Joined:
    Sep 20, 2013
    Messages:
    3,177
    Likes Received:
    2,238
    No personal lessons, private coaching is banned on BHW. Everything else you mentioned is most welcome!
     
    • Thanks Thanks x 1
  6. jamb0ss

    jamb0ss Junior Member

    Joined:
    Feb 9, 2012
    Messages:
    125
    Likes Received:
    46
    Occupation:
    Bots programming
    ok then, no prob. thanks
     
  7. rafa16

    rafa16 Junior Member

    Joined:
    Jun 1, 2014
    Messages:
    130
    Likes Received:
    30
    Sounds awesome, you can just post it in the thread like you said. I'd love to play around with bots
     
  8. ambushiv11

    ambushiv11 Jr. VIP Jr. VIP

    Joined:
    Apr 13, 2013
    Messages:
    461
    Likes Received:
    203
    Gender:
    Male
    Occupation:
    Programmer
    Location:
    Romania
    I'd really love to learn to code bots, I am a web programmer myself but a newbie :)
     
  9. Heraclitus

    Heraclitus Junior Member

    Joined:
    Jan 29, 2014
    Messages:
    136
    Likes Received:
    10
    Location:
    UK
    I'm a CS student and any info on making bots would be really appreciated!
     
  10. completed

    completed Newbie

    Joined:
    Aug 27, 2012
    Messages:
    43
    Likes Received:
    2
    You can't learn the way he says..
     
  11. MrBlue

    MrBlue Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    970
    Likes Received:
    680
    Occupation:
    Web/Bot Developer
    What libraries/frameworks are you using for machine learning?
     
  12. AutomationSorcerer

    AutomationSorcerer Registered Member

    Joined:
    Apr 25, 2015
    Messages:
    73
    Likes Received:
    66
    Occupation:
    Senior Software Engineer
    Location:
    Ethereal Plane
    I likewise have a strong background in bot development. I'm curious though, unless it was for white hat purposes, what on earth could you have had a use for machine-learning?

    I suppose machine-learning could be useful in developing a system for dynamically generating "human like" language usage, but I've always found it to be far more beneficial to just use a templating system with randomly generated verbiage inserted into variable tokens "[adjective]" etc. Far less development time, easier for clients to understand, and allows them more power over the output.

    Created learning algorithms for creating navigation mapping data during exploration in a 3D virtual world to be used by A* for pathfinding, and learning algorithms were used for a predictive income analysis project I was working on awhile back... but those were white hat.

    One question for you though, what is your preferred way of interfacing with javascript heavy sites? Typically I've always used headless HTTP clients, and when possible just use Regex to pull out what I need from the JS. But some sites are so convoluted or have their JS compressed (aka obsfucated) which makes it difficult. Usually resort to interfacing directly with a rendering engine (IE/WebKit), but that's resource intensive and massive multi-threaded applications with that isn't viable.

    Been an issue I've had for awhile, typically just pay a guy I know who is a damn wizard at reversing the JS bull and writing an implementation I can then plug into my bot.
     
  13. qrazy

    qrazy Senior Member

    Joined:
    Mar 19, 2012
    Messages:
    1,115
    Likes Received:
    1,723
    Location:
    Banana Republic
    By Machine learning, I think he meant NLP.
     
  14. xNotch

    xNotch Registered Member

    Joined:
    Sep 16, 2014
    Messages:
    81
    Likes Received:
    19
    You mentioned "computer-vision" in your 1st post. Do you mean like OCR type stuff? I tried to get into OCR a couple months back using python's PIL library, but gave up and used Google's Tesseract program instead.
     
  15. AutomationSorcerer

    AutomationSorcerer Registered Member

    Joined:
    Apr 25, 2015
    Messages:
    73
    Likes Received:
    66
    Occupation:
    Senior Software Engineer
    Location:
    Ethereal Plane
    Yes I assumed as much; I'm just trying to find out what the usage was, if it wasn't white hat (day job).
     
  16. AutomationSorcerer

    AutomationSorcerer Registered Member

    Joined:
    Apr 25, 2015
    Messages:
    73
    Likes Received:
    66
    Occupation:
    Senior Software Engineer
    Location:
    Ethereal Plane
    Years ago, I had a co-worker create a captcha solver in MATLAB. Was freaking awesome and highly accurate. Now DBC is just simpler.

    Good question though, I was wondering what he meant by that, and just assumed OCR for captchas. Which I'm of the firm belief that it's far simpler to just use existing services rather than roll your own. Assuming your goal isn't research/development, or unrelated to captchas.
     
  17. qrazy

    qrazy Senior Member

    Joined:
    Mar 19, 2012
    Messages:
    1,115
    Likes Received:
    1,723
    Location:
    Banana Republic
    AI chatbots, Content generation to name a few.
     
  18. AutomationSorcerer

    AutomationSorcerer Registered Member

    Joined:
    Apr 25, 2015
    Messages:
    73
    Likes Received:
    66
    Occupation:
    Senior Software Engineer
    Location:
    Ethereal Plane
    Aha, chat bots makes sense. Never got involved with those.

    As far as content generation goes, are we talking about Lorem ipsum type nonsense generators but actually readable? Generally my clients always preferred creating templates with dynamic parts chosen randomly from pre-defined lists of strings.

    Google "new age generator" to see an example of the readable nonsense generator idea. It's pretty freaking hilarious.
     
  19. Seven4

    Seven4 Power Member

    Joined:
    Nov 28, 2013
    Messages:
    684
    Likes Received:
    92
    I'd like to see that course.