• Breaking News

    Saturday, July 13, 2019

    Anyone know of a decent OFFLINE chat bot library? Ask Programming

    Anyone know of a decent OFFLINE chat bot library? Ask Programming


    Anyone know of a decent OFFLINE chat bot library?

    Posted: 13 Jul 2019 03:37 PM PDT

    I have been looking for a while and can't find what I'm seeking, so I figured I'd poke y'all and see if you knew of anything.

    I'm familiar with a lot of the current open frameworks, like Azure and the like, but I'm specifically trying to find a decent chatbot framework that I can make use off in a personal project, but can be used on a completely internetless device. It doesn't have to be terribly fancy, but I'll definitely aim for getting whatever features I can get my hands on (like context and something that can be trained).

    The majority of my project is going to be .NET, but ultimately I doubt there are many (if any) such choices there, so any language will do.

    Essentially my goal to find a library that I can train a bit, has basic chatbot chatting capabilities (the more natural the better, but dumb as a post will do if I that's all there is), and I can wrap up in another application to use for myself. I don't intend to deploy or sell the software, it's purely for my own use.

    Oh, and cheap would be good. I don't mind spending money in em, but a lot of these bots are priced for corporate customers, not residential. They tend to charge a whole heap of a lot of cash for stuff. $50-200 one time is fine, but I expect corporate priced stuff will be a good bit more.

    Thanks!

    submitted by /u/Tolmos
    [link] [comments]

    What is a good, open source javascript library for image recognition?

    Posted: 13 Jul 2019 03:18 AM PDT

    I'm looking for a javascript library to locally recognize simple, fixed shapes with an image taken by the phones camera for an app I'm working on. Does anyone have experience with this and can recommend me a library?

    submitted by /u/Luves2spooge
    [link] [comments]

    Swift Mapkit Callout Button Issues

    Posted: 13 Jul 2019 06:02 PM PDT

    I am using MapKit to display a map with many annotations. Each of these annotations has a callout with a UIButton. Most everything works properly, but any time there is an annotation behind the UIButton, it becomes impossible to activate it. I want the UIButton to be activatable regardless of background annotations. Is there a way to ignore the annotations directly behind the callout?

    submitted by /u/scrotdust
    [link] [comments]

    Solving Skyrim Alchemy

    Posted: 13 Jul 2019 08:29 AM PDT

    Hello all,

    recently I've picked up Skyrim again after a few years hiatus. After experimenting with the in-game alchemy an interesting question popped into my head - is it possible to create a potion with 6 effects? The answer is yes, in theory.

    For those unfamiliar with Skyrim's alchemy minigame, it goes something like this;

    • There is a pool of about 100 different ingredients.
    • Each ingredient has 4 effects, from about 50 possible effects
    • Potions/Poisons are created when 2-3 ingredients are mixed
    • A Potion/Poison will be 'successful' if the ingredients mixed have at least 1 effect common to at least 2 of the mixed ingredients.

    A potion with 6 effects is possible, but there are more than 160,000 possible potions. Thats too much to check manually.

    How could we create a program to look at all possible combinations and results, then filter said results to show only mixtures with 6 effects?

    If you have any questions please fire away.

    submitted by /u/Oldkinglaw
    [link] [comments]

    C programming question with pointers and a Mapped region

    Posted: 13 Jul 2019 03:10 PM PDT

    I have been programming C for a few years now off and on and I have come across a conceptual pointer problem in C that I cannot seem to solve here is my code(sorry its a screen shot):

    https://i.imgur.com/cfy8IyT.png

    My struct has a flexible array member in it, but that shouldn't change the problem much.

    My question, is increasing the pointer by 1 each time proper or should i be increasing it by the size of the struct?

    submitted by /u/goldworkswell
    [link] [comments]

    What is the best way to share common code between Angular desktop and Ionic apps?

    Posted: 13 Jul 2019 02:58 PM PDT

    I have a project that needs to have a separate app for the browser component vs the mobile app. I have split this into an Angular 8 app and an Ionic 4 app.

    However, there is a lot of code that can be shared between the two. Model, services and a few of the angular components.

    I will be using Ionic Pro to build and release my mobile app, and I don't think it supports SymLinks (but I could be wrong here?)

    What other options do I have?

    submitted by /u/dotnetguy32
    [link] [comments]

    Image recognition for counting dots

    Posted: 13 Jul 2019 02:41 PM PDT

    I'm wanting to start a project but have no idea where to even start. I want to count colored dots in a still image for a mobile app. I'm open to any resources you guys can suggest (reading material or APIs that can handle the task). Thanks!

    submitted by /u/usernamewasfree
    [link] [comments]

    Making a programming language

    Posted: 13 Jul 2019 06:57 AM PDT

    I'm making a programming language (for fun). I think I have decided what language I will use for making it. I'm thinking c++, but let me know if you know of any other that will fit better, doesn't really matter to me what language I use, I can always find it on stackoverflow.

    Second, how should I structure the code. Like how to handle it. I know that in python (I don't want to use python for this purpose) I could make a class with functions (maybe put in some decorators to specify the syntax needed to call that functions) to handle the user defined code. So when it recognizes for example a variable declaration, it calls getattr() on that class to get the function that handles that code.

    I was originally thinking of making an interpreter, but decided it was too slow. If anyone can point me to a good tutorial on making a compiler that would be great. Is it possible to write some code in c++, compile it, copy the assembly via a deassembler and use that assembly code in the final file generated with my compiler, then use a assembler(I'm not totally sure what it's called, but it makes an executable from the assembly file) to make a runnable application.

    Also, I have heard and tried to read upon ANTLR I think it is, but can't really wrap my head around how to use it. Thanks :)

    submitted by /u/roguemacro
    [link] [comments]

    [Question] What would be the most effective way to simulate key presses and mouse clicks

    Posted: 13 Jul 2019 06:08 AM PDT

    Hello!
    I'm tired of clicking and typing things and I would rather find some kind of (light) script that I can tell the keyboard and mouse to do something without me manually having to do it.

    Does anyone know of a script that could easily accomplish this?

    Thank you for reading

    submitted by /u/presince
    [link] [comments]

    Need to replace from a list.

    Posted: 13 Jul 2019 04:24 AM PDT

    Notepad ++. I have a list of words I need to integrate into a file. I have placeholders in the file using the letter G. I need to replace each G with one of the words from my predefined list, being different per line. I dunno how to explain it better.

    submitted by /u/_Ki115witch_
    [link] [comments]

    How do responsive design sites get the screen size?

    Posted: 13 Jul 2019 12:28 AM PDT

    I'm trying to work around the plague that is responsive design, so I'm trying to figure out if there's a way to "lie" to the website about your screen resolution.

    submitted by /u/Blue_Banana_420
    [link] [comments]

    No comments:

    Post a Comment