Is it possible to use tensorflow.js in bixbystudio? - bixby

Same as title, is it ever somehow possible to use tensorflow.js in bixbystudio?

If you want to perform custom machine learning for your capsule, it would need to hosted within your own environment that's called via http as a remote endpoint.
One reason, Bixby doesn't support package management like NPM, so you can't pull in the Tensorflow functionality to your 'local' capsule javascript, but it can be called remotely like an API call.
Bixby does provide some machine learning features natively.
Selection Learning Allows you to automatically learn from previous selections so that it can personalize the experience and eliminate the need to ask that question every time. One example is an airline booking. If you always select a 'aisle' seat, you can have Bixby learn that's the case and not prompt you when it learns that selection preference.
Preference Learning Provides the ability to teach Bixby the user's preferences then use that to highlight it, or sort a list based on a personalized sorting of the most likely choice the user will make.

Related

Tool recommendation for versioned, permission controlled custom list management

I'm not sure where to ask this question, I'm hoping it wont' be closed as "off topic" or "opinion based". If it turns out to be that, can you please suggest where this question can be asked instead?
I have a very specific set of requirements for custom list management tool I'm trying to find:
Custom lists, ability to add new custom fields easily
Ability to use either predefined set of values (combo box) or free form text/numeric/etc fields
Ability to validate entered data via regex
Data in the list is version controlled
Lists are group/role-based permission controlled (only certain lists can be updated by certain people, certain people can only READ data, but not update, etc)
Rest web services to update list data via a script
An example of such tool is SharePoint, but I find it very difficult to work with. Looking for something similar in the Linux world.

Python curses interface

I have developed a program using curses, everything is cool so far but I was wondering myself if there is a good pattern to split different views/panels of my program into smaller chunks callable by my main loop?
Further informations:
This program is a rather small automation tool/wizard aiming to ease our application for customers requiring the on-premise installation.
This wizard is a 3 steps one and it’s used to grab informations from our customer installation needs depending of it’s chosen architecture.
The first step is requesting the customer to give us its identification informations such has contract number, company name, licence number and preferred contact.
The second step is requesting the customer to give us informations about either he want a standalone installation (All-In-One install) or a N-Tiers installation plus the required informations like the requested custom SSL VHostName or Tiers IP/Credentials.
The third and final step is showing the customer a progress bar and informations of the required services (MySQL/HTTPd/HAProxy/PHP-FPM) and our application.
I know that I do not especially need to use curses library for such a program but our UX Team requested it as it is part of our customer experience with the solution.
You can look at the Forms library. It's a nice extension to ncurses that allows you to better manage input forms like yours. It offers a simple function interface to read the fields, change their properties, etc., as well as many different field types (including regexp-validated fields). In your case, you can simply create three forms, and post/unpost them in succession.
as such way to do things is not really usual, do not expect any framework to be available (like those available for WebUI for instance).
I so decided to create my own "Framework/factory" and so to be able to split every aspect of my app in a logic that would be similar of those used by web applications.
The source-code is dirty and really not pythonic, but it is well working so far and quite easy to maintain.
Thanks everyone for your answers and ideas.

Detecting known words using the Web Speech API

I'm in the planning stages of a web app that is intended to help children learn vocabulary. We would like to make the app as interactive as possible. For example, we would show a picture of an apple and ask the child to identify the object. The child would then say "apple" and we would determine whether they are correct, etc.
The new Web Speech API seems like a promising tool for this project. However, looking through the documentation, I believe it will only produce transcripts from speech (i.e. it cannot match a spoken word to a known word and produce a confidence value – at least not out of the box).
Does anyone have experience with leveraging the Web Speech API in this way (or any other API for that matter)? I'm trying to stick to technologies that can run in the browser, if possible.
Try ispikit.com, it's way more suitable for your needs, it's specifically designed for education tasks and works in a browser on a client side. Web Speech API is not designed for detection, so you will not be able to use it.

Text Based User Interface

I work in a corporate office environment which routinely uses an IBM Mainframe and AS\400 as the main source of the Information System.
However, the company is growing faster than the information technology group can support.
Therefore, it is necessary to create ancillary applications to accommodate the ever changing business needs and new ventures.
I’ve introduced a web based application using PHP and MySql database (as we have routinely received bulk Mainframe downloads and imported into Microsoft Access Databases before upsizing the databases to a SQL server due to their ever increasing size).
It was been mandated that all new application be similar to look and functionality as the Mainframe. It must be a text based user interface where it’s not necessary to use the mouse, only function keys to navigate menus and pressing the enter key to add new data (records) or to execute a search.
What modern day programming language will satisfy this Text-based user interface mandate? Preferably something that can interact with MySql to fetch/store data and look similar to the mainframe and possibly support XML formatting (font colors, input fields, etc).
Thanks in advanced!
You can build this in pretty much any language. Almost all programming languages have support for these things. Choose a modern language that your development team already knows well and use that. Ideally, it would be a high level language (don't use C) to speed up development time.
its been a while since i have used it but ncurses might be a good solution
Java, Delphi, Visual Studio, etc, etc, etc. As #Oleksi said; pretty much any modern fat-client GUI language that has a database library that can handle MySQL will do.
If you're not sure which to use, you should either hire someone with experience or try a few small prototypes.

IBM iSeries Frontend Development

I'm sure many of you are familiar with the IBM i5 series emulator (looks like this poop)
My company uses this religiously and there is no Biz logic in it so anytime somone in our finance dpt makes a human error it accepts it and adds it to the database. Not to mention its ugly, hard to use, not intuitive, etc....
I would like to create a frontend for this interface so that we can control the logic before its submitted to the system (we dont control the system itself) so in effect I need to make my own emulator app.
However I cant seem to find any information on how to interface with the i series, namely login, send commands, and view or gather data from the screens it would normally send back.
Any suggestions?
The problem is not the iSeries but the software package your company is running on it.
There ARE advantages to use green screens: it's fast and it's almost unbeatable at data entry, provided you get used to it.
But to answer your question, the iSeries is a J2EE enabled machine: a HTTP server comes installed and depending of the version of the iSeries, WebSphere might be already installed, or are entitled to install it. Then you can use JT400, which is the java toolkit for the os400 containing the jdbc drivers to connect the database and the necessary classes for calling programs.
If you prefer php, there is a flavor of the Zend framework made to work on the iSeries but I never tried it.
I'd recommend that you take a look at both the Attachmate Verastream Host Integrator (VHI) and IBM's Host Access Transformation Services (HATS) products. They effectively just screen scrape the green screen terminals to allow you to pull and push data and provide macro recording and editing tools to automate the process. App integration can be achieved via web services or html/jsp/servlet programming (plus .Net for VHI and EJB's for HATS). They do come with enterprise pricing however which may be an obstacle for some. They do have free trial offerings for evaluation purposes to help determine if they are an appropriate solution to your problem.
What software packages are they using? Most programs that I use in the 5250 emulator has some business logic that error checks the data before adding it to the database. Can you get us some more information so we can direct you in a better direction.
There are vendors that sell products that screen-scrape the 5250 data stream and produces a web front-end. Or you can write your own front-end in the language of your choice and just do SQL calls to the database.
THere's got to be some source code. Start by looking at the menu and menu option your users are accessing and figure that's running behind them.
Use command STRPDM to look for source code - look in different libraries (they are like folders)
You might have source code in a "member" called something like xxxMNUSRC xxxRPGSRC (rpg program source) or xxxCLSRC (cl programs), xxxDDSSRC (display/screen source, physical/logical file source)
Objects a "compiled" objects such as files (tables), screens, priter files (reports)
Stay away from Qxxx and #xxx libraries - those are system libraries.
http://systeminetwork.com/ is a good resource for iSeries related questions.

Resources