Archives

Archives / 2015 / June
  • Current2 vs Current in Acumatica

    Hello everybody,

    today I want to share note about Current2 and Current in Acumatica.

    Current2 inserts really current value of record, while Current inserts curretly selected value or default. I was surprised, that Current2 inserts exactly the value of record. more

  • Speech recognition with Neural Networks

    Hello everybody,

    today I want to share how to deal with the Speech Recognition with Neural Networks.

    So, the speech recognition task has following stages:

    Pre-processing: convert the sound wave into a vector of acoustic coefficients. Extract a new vector about every 10 milliseconds

    Acoustic model: Use a few adjacent vectors of acoustic coefficients to place bets on which par of which phoeneme is being spoken.

    Decoding: Find the sequence of bets that does the best job of fitting the acoustic data and also fitting a model of the kinds of thinks people say.

    more

  • Some simple models of neurons

    Hello everybody,

    today I want to describe some simple models of neurons. Bet before I'll continue, just few words why to worry at all about simplification of neurons. The answer on question why is simple: simplification helps to understand bigger picture ( well not always ) and also allows to apply mathematics and make analogies to other familiar systems.

    Now let's see models of "Idealized" neurons:

    1. Linear neurons.  Output is sum of bias plus multiplication of multiplication of inputs with weights.

    Here is how it's chart look like:

    2. Binary threshold neurons. It has following stages of calculation:

    Compute a weighted sum of the inputs (1)

    Send out fixed size spike of … more

  • Send post/get/delete to Jira

    Hello everybody,

    today I want to share, how I make rest requests to jira. Here I found class RequestsExtensions. 

    It works fine for cases if authentication and authoritation is not needed. Bug for cases if authentication and authoritation in jira is needed that class doesn't work properly. In order to fix it I've added function which imitates log in.

    Below goes code which I use:

    public static class WebRequester

    {

    /// <summary>

    /// Sending POST request.

    /// </summary>

    /// <param name="url">Request Url.</param>

    /// <param name="data">Data for request.</param>

    /// <param name="userName">user name for log in</param>

    /// < … more

  • Send curl request to Jira from command prompt

    Hello everybody,

    Few days ago I had a task to send delete link request to jira. For this pupose I found curl utility, and here is how delete request can be submitted from command prompt:

    curl --user jiraUserName:jiraUserPassword  -X DELETE -H "Content-Type: application/json" http://yourJiraInstance/rest/tempo-accounts/1/link/267.

    Despite fact that jira claims that in response we will get true or false, in reality I received {"id":267,"scopeType":"PROJECT","scope":10452,"accountId":5,"key":"QASSURANCE","name":"Quality Assurance","linkType":"MANUAL"}. I have no idea why response was like this, but the fact is fact. Response is another then simply true/false. more