Mapbox Optimization V2 - api

I'm testing the new api for VRP solutions, does anyone found the answer when it can't find the solution for the problem?, there's a ref message but no way to get the descripcion of the problem point. I think it might be a point that breaks the algorithm, anyone some idea?
{"code":"no_solution","message":"No solution found","ref":"xxxxxxxxxxxxxxxxxxxxxxx"}
Already sent the problem document to the api described here: https://docs.mapbox.com/api/navigation/optimization/#optimization-v2-api-errors
Also about the vehicles can we command it to respect the order sent?, also there are 2 params extra optional which are really important, the loading_policy and the objective min-schedule-completion-time, it says there's an error in the data but there's no doc for the format in json

Related

'TypeError: express_jwt__WEBPACK_IMPORTED_MODULE_2___default(...) is not a function' when trying to leverage express.jwt to auth required sign-in

Hope the holidays are treating everyone well. I'm a beginning coder working on a full stack application. Currently I'm trying to build a back end skeleton leveraging MongoDB, Express, and Node.js. Everything seems to be going well but for using an express json web token to authenticate a required sign-in method. What's odd to me is the error references '. . . Webpack imported module 2 . . .' . I am using Webpack and Babel as compilers etc. but don't have the experience to connect the relationship between Webpack and express-JWT. My guess is that one of the modules I'm working with is out of date and thus not compatible with the others but am not sure which one. Of course, there could be an error in my code but I've tried to debug based on the error message to no avail. Would greatly appreciate your insights and help - thank you!
As mentioned, I'm a beginning coder but have tried the following: a) the two stack overflow threads below seemed to point me to documentation or updated syntax and I've tried variations of both but to no avail.
express-jwt got TypeError: express_jwt__WEBPACK_IMPORTED_MODULE_2___default(...) is not a function
and
TypeError: Webpack imported module is not a function.
Given the suggestions to review documentation I reviewed Webpack, Express, and even React (plan to use react on the front end) documentation but again, I didn't see, what in my mind, could be related subject matter. I think someone with more experience would prob know exactly where to look in the documentation but I don't seem to be able to put the pieces together given the little coding experience I have. Guidance on where to look in the documentation would be great as I'm eager to get more comfortable reviewing primary reference material. Regardless, appreciate the help and plan to pay it forward one day soon - thanks again!
Screenshots below: respective code truncated for relevance, package.json file
[respective code truncated for relevance] (https://i.stack.imgur.com/iOwVK.png)
package.json file

What is the meaning of 'cimode' in react-i18next and why isn't it properly documented?

I started using react-i18next a few days ago and I am very satisfied with it. However, I've been seeing this 'cimode' language here and there, in some posts and while debugging, but have no clue what it means. I've searched all over, I believe, and can't find any documentation on it.
In my particular case, I am generating some boilerplate code in a new website and created a demo page to show how to use localization in the website. I am generating toggle language buttons from the languages I set on the whitelist and, to my surprise, I have a 'cimode' button. I know I can filter it out and I will, but I would like to know what it should be used for and maybe to see better documentation for it in https://react.i18next.com/.
From my understanding, CIMODE is used for testing to consistently return the translation key instead of the variant value.
It seems rather hidden on the FAQ.

J8583 project for parsing/creating iso8583 financial messages

I'am currently looking for an api for parsing/creating iso8583. iso8583 is a barbarian iso norm of raw string message.
I have found the j8583 project, http://j8583.sourceforge.net/index.html, but i can't found easy code example to parse a message.
Do you know good examples using this api ? or using another api ?
Thank you for your time
Perhaps my answer is biased because I'm the author, but jPOS can be an alternative. Take a look at http://jpos.org and its documentation (http://jpos.org/doc/proguide-draft.pdf).
Hope it helps.
Perhaps I need to reorganize/improve the docs?
The concept is fairly simple: Create a MessageFactory, configure it (the simplest way is via XML config file) and use that to parse messages with the parseMessage method, which receives a byte array.
The library includes a simple message parser which you can look at to get an idea. The test suite can also be helpful.
Here is the source code for the project that you can clone
https://bitbucket.org/chochos/j8583/src/master/
here is the XML Configuration Guide
http://j8583.sourceforge.net/xmlconf.html
All from the same person and framework

Is there any good tutoria or reference for writing code with Magma?

Currently I am trying to use Magma to do matrix operation on GPU, however, I found few documents about it. The only thing I can refer to is its testing program and the online generated document(here), which is not convenient to use. And the user guide seems outdated.
If you look here, getri and potri are supported.

API for Dictionary and Translator

Again. I've been searching for the best API for my Application. Dictionary and Translator. Can someone Recommend One. Please. i need it. I downloaded "microsoft-translator-jar" and I'm having an error in my line of code.
'com.memetix.mst.translate.Translate.execute(text, Language.ENGLISH, Language.ITALIAN);'
The error is at the (execute). the method execute(String,Language,Language)in the type Translate is not applicable for the arguments (String, Language, Language).
i've tried all the execute methods but No luck. Can someone help me how to solve it or refer a new API. Thanks.
You may be lost json-simple-1.x.jar.
Please go website http://code.google.com/p/json-simple/ to download that package.
I think your problem may be resolved.
Good-luck!