Add benchmarks to catch performance degradation on earlier stages

Based on #204 discussion it would be good to have a benchmark running as a part of the tests. It should help to catch any performance degradation before any of the actual users.
I can think of two options:

Create a benchmark for JVM that will compare performance for actual SnakeYaml and for this KMP implementation. The results for snakeyaml-engine-kmp MUST NOT be worse than SnakeYaml results with some delta in percentage. This benchmark can be created using jmh and executed from tests using org.openjdk.jmh.runner.Runner.
Create a self-made "benchmark" that will be running for all supported platforms. We need to measure the performance for all platforms on the GitHub runner. After that, we can compare the results for each run with those values and fail tests if values are different for more than some percentage. The kotlinx-resources library can be used to read YAML files required for benchmarks.

There is also a kotlinx-benchmark library but I don't see how it can be used here because there is no way to execute the generated benchmarks from the test (at least there is no official way to do that - all the generated classes as well as benchmark executors are marked with internal API annotation)
@krzema12 @aSemy What do you think about those options? Do you have any objections or suggestions? Maybe you can other options here
I would think that the second option is better - it provides measurements for all supported platforms and should help to notice any degradation that could be platform-specific.

Thanks for making this issue!
Using JMH would be best. kotlinx-benchmark would work, and would be better because it would test non-JVM targets, but tbh the Gradle config is not very nice. (I'm working on fixing that, but it might take some time.) For now, just testing JVM with JMH would work.
I'd like to use a tool to be able to track and measure performance over time. This looks promising: https://github.com/benchmark-action/github-action-benchmark?tab=readme-ov-file
For simplicity, I'd say testing against SnakeJava isn't necessary. Obviously if there's significant performance problems they need to be investigated, but that doesn't require comparison against SnakeJava. Once we have performance testing we can focus on improving SnakeKMP as-is.

Thank you @aSemy for pointing out that GitHub action. It indeed looks like something that can help with monitoring benchmark results.
I will try to setup the publication of the benchmark result in my repo and will share a link with the results.
Regarding benchmarking: I will try to set up benchmarks in the same project as the SnakeKMP but I am not sure if jmh plugin will work easily with KMP project. What do you think about extracting benchmarks into a separate sub-project? It will definitely simplify the benchmark setup

A separate subproject is a great idea 👌

ReferencesTest.java would be good to convert to a performance test. Maybe not initially, but later.
So would the YAML Test Suite tests - but that might be a significant amount of work, as there are a lot of tests.

Done in https://github.com/krzema12/snakeyaml-engine-kmp/pull/215, thanks @OptimumCode!


⚠ PrivateHD has degraded performance

In 3e0352c, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 4985 ms

Resolved: PrivateHD performance has improved in 82a2ae3.


Lost conection device when open camera

Enviroment

Technology
Version

Flutter version
1.22

Plugin version
4.0.0+4

Android version
9

iOS version
NA

Description
I'm trying to upload a file from the camera in my webview but It's not working in Android device. When I click on my Choose file button, it shows two options: camera and gallery. From Gallery everthing is ok, but choosing 'Camera',  when it is openning , the device lose the conection. Although the camera is still open and i can take the photo, when i press the tic button it reload the app and don't load the picture. I am not getting any error.
Added this code in AndroidManifest file,
 <provider
            android:name="com.pichillilorenzo.flutter_inappwebview.InAppWebViewFileProvider"
            android:authorities="com.abc.sample.flutter_inappwebview.fileprovider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/provider_paths" />
        </provider>

Added permissions in AndroidManifest file and asked for them before start the webview:
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET"/>

Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [VersiÃ³n 10.0.18363.1256], locale es-ES)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 3.6)
[√] VS Code, 64-bit edition (version 1.52.1)
[√] Connected device (1 available)

• No issues found!

Stacktrace/Logcat
Logs on debug console when click on camera
W/aprincipehotels( 8100): type=1400 audit(0.0:8710727): avc: granted { create } for name="image-1609840287533.jpg1773537374400873169.jpg" scontext=u:r:untrusted_app:s0:c252,c257,c512,c768 tcontext=u:object_r:sdcardfs:s0:c252,c257,c512,c768 tclass=file
D/ZrHung.AppEyeUiProbe( 8100): stop checker.
D/ZrHung.AppEyeUiProbe( 8100): Current Activity:false
D/ZrHung.AppEyeUiProbe( 8100): not watching, wait.
W/libEGL  ( 8100): EGLNativeWindowType 0x7d10f40010 disconnect failed
D/ViewRootImpl[MainActivity]( 8100): surface should not be released
W/libEGL  ( 8100): EGLNativeWindowType 0x7d2cde7010 disconnect failed
Lost connection to device.
Exited (sigterm)

Any help is welcome! Thanks!

Same issue any help?!

same issue ???????

facing the same issue in latest version(6.x.x) as well.


Ability to add custom objectives to a mission

I don't know how reasonable this would be, but it would be really great if I could add my own objectives to missions.  I don't expect that they would be integrated with the game in any way.
Example:
I have a mission with a couple of contracts to land on the Mun.  I add them all to a mission that I name "Kerpollo 11".  In addition to those contracts that I will get rewards for, I want to remember to plant a flag.
I'd like the ability to add custom objectives like this to a mission.
A more MVP version of this could be as simple as a description field on missions, so I can at least write those things down in-game.

I want Contracts Window to stay focused on monitoring contracts only.
I have been working on something else more focused on managing all aspects of a mission for each vessel: assigning contracts, managing crew, adding notes, adding checklist items (both built in types, and custom types that would require manually setting it to complete), managing all of the on-board experiments and data, keeping a log of a vessel's activities, and probably more.
It's still a work-in-progress (I'm waiting for 1.1 and its new UI before getting anything in-game), but there is a significant framework already complete. Now I just need to think up of a snappy name for it.

Oh awesome! Very much looking forward to that. If you need testers, I'm in!
On Tue, Feb 2, 2016 at 10:49 AM DMagic<EMAIL_ADDRESS>wrote:

I want Contracts Window to stay focused on monitoring contracts only.
I have been working on something else more focused on managing all aspects
of a mission for each vessel: assigning contracts, managing crew, adding
notes, adding checklist items (both built in types, and custom types that
would require manually setting it to complete), managing all of the
on-board experiments and data, keeping a log of a vessel's activities, and
probably more.
It's still a work-in-progress
https://github.com/DMagic1/KSP_Vessel_Manager (I'm waiting for 1.1 and
its new UI before getting anything in-game), but there is a significant
framework already complete. Now I just need to think up of a snappy name
for it.
—
Reply to this email directly or view it on GitHub
https://github.com/DMagic1/KSP_Contract_Window/issues/24#issuecomment-178649406
.


TypeError: Cannot set property navigator of # which has only a getter

I am facing an issue to build an nextjs project using RecordRTC. Just importing the package I receive this error below
TypeError: Cannot set property navigator of # which has only a getter
Looking into the source code, the problem seems to be from this snippet:
// RecordRTC.js at 1586 line
global.navigator = {
  userAgent: browserFakeUserAgent,
  getUserMedia: function() {}
};

I am facing the same issue.

I found a workaround which is not ideal but will make the build work while the bug is not fixed.
I used a lazy import of the recordrtc module that is only executed right before the place I instantiate the recorder. Make sure this import runs clientside and after hydration.
const RecordRTC = require("recordrtc");

I found a workaround which is not ideal but will make the build work while the bug is not fixed.
I used a lazy import of the recordrtc module that is only executed right before the place I instantiate the recorder. Make sure this import runs clientside and after hydration.
const RecordRTC = require("recordrtc");

How do you support typescript then if you import it this way?

Hello.. I'm using this lib with nextjs 14 and facing the same issue. I tried the workaround and still facing the same issue. Any fixes?

Facing issue
const recorder = new RecordRTC.RecordRTCPromisesHandler(
stream, { type: "video" }
);
TypeError: Cannot set property navigator of # which has only a getter
Technology : Next.js with Typescript

The same issue

The same issue

use    const stream = await navigator.mediaDevices.getUserMedia({
audio: true,
video: { width: 430, height: 430, facingMode: "user" },
});
streamRef.current = stream;
  if (videoRef.current) {
    videoRef.current.srcObject = stream;
    videoRef.current.play();
  }

  const mimeType = "video/webm;codecs=vp8";
  if (!MediaRecorder.isTypeSupported(mimeType)) {
    console.warn(`${mimeType} is not supported. Using default MIME type.`);
  }

  const mediaRecorder = new MediaRecorder(stream, {
    mimeType: MediaRecorder.isTypeSupported(mimeType)
      ? mimeType
      : undefined,
  });

  mediaRecorderRef.current = mediaRecorder;


hash_util: Remove dependency on narrow_state module.

We directly pass operators to remove dependency on narrow_state
module. This avoids a circular dependency of filter module
which is evident on the /devtools/integrations/ page.
discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/error.20in.20http.3A.2F.2Flocalhost.3A9991.2Fdevtools.2Fintegrations.2F

Merged, thanks @amanagr!


Add form page for optional metadata

For the pilot publication process, it would be most important that the author can edit the DOI before publishing the candidate, see also #130

This is solved if #130 works.

Identify which metadata fields exist, i.e. the content of metadata property, list here
Decide which ones need to be exposed through a form

Is this a good reference list for the metadata properties?

The list you link to is a good start, please update it if you find any information in the API responses that is not documented.

I have added a optional metadata form page in the create view. It functions like the required metadata. At the moment it contains only the doi field.

The doi will also be displayed in the metadata sections of the ERC view.

This can be expanded to to include the other metadata properties in the list above. But should i keep this general setup?

@nuest General setup is alright! I've removed two of the suggested fields (type, metadata license) as these should be set by the system, not the user. (I actually am not sure what "type" is for - is that "workspace" or "compendium"?)
The metadata rendering will include a few links, I assume? Please be aware of https://orcid.org/content/journal-article-display-guidelines and suggest to re-use the DOI logo from the link above the paper, too. Ideally, we can even use https://spdx.org/licenses/ to derive links to the license texts from the license identifier.

I had some issues with the implementation of the keywords and languages arrays. I tried to do it relatively analog to the authors in the required metadata section with formik. This unfortunately led to my PC crashing.  Currently consulting with @NJaku01 over the problem.

I had some issues with the implementation of the keywords and languages arrays. I tried to do it relatively analog to the authors in the required metadata section with formik. This unfortunately led to my PC crashing.  Currently consulting with @NJaku01 over the problem.

Would it be to much if the Languages are checked agianst a list of the ISO 639-1  codes?

Would it be to much if the Languages are checked agianst a list of the ISO 639-1  codes?

Yes, that validation of user input would be good. Maybe there even is a React module that does this?
If you have to implement this yourself, I suggest a link to the Wikipedia page and then letting the use enter the code, and then create a new issue for a more advanced "user enters first letters of language an then gets suggestions for matching languages and codes".

Yes, that validation of user input would be good. Maybe there even is a React module that does this?
If you have to implement this yourself, I suggest a link to the Wikipedia page and then letting the use enter the code, and then create a new issue for a more advanced "user enters first letters of language an then gets suggestions for matching languages and codes".


refactor(yaml):Updated docker image for percona deployers

Signed-off-by: sathyaseelan<EMAIL_ADDRESS>Updated the percona deployer file with new docker image
@ksatchit @dargasudarshan can you please review this PR

@kmova , the image change has been made in litmus and elves to get the cloud-e2e & openebs.ci setups running (the custom image also has some additional instrumentation for debug/liveness). Was wondering, if we should retain the latest image from percona repo in the official demo examples. I am able to get them working by adding the security context to the deployment spec:
spec:
      securityContext:
        fsGroup: 999
      containers:
        - resources:
            limits:
              cpu: 0.5
          name: percona

@ksatchit -- fsGroup is better option!

@ksatchit @kmova updated the deployment spec with security context..


There should be a dialog box showing what analysis on which data is about to take place.

E.g. shows which trials are about to be operated on, whether any required files are missing, etc.

The user should be able to confirm that this is what they want, or reject and return to edit the code/settings.

Does this remove the need to be able to run partial runs of a process function? E.g. if a function runs through only 50/100 trials? I don't think so, because it's possible that the function stops running due to an error, not because of something that would be caught with the approval dialog box.


[9.x] Fix aliasing with cursor pagination

This fixes an issue if "as" is present in cursor pagination alias for casting a column value.

Please describe the issue in detail. Mark as ready for review when done please. Thanks!

Currently the getOriginalColumnNameForCursorPagination function find the first occurrence of "as" of a dynamic column with an alias.
The correct alias is the last "as" found in a column expression.
Use explode function is bad, if multiple "as" are presents, it's not cut the dynamic column in 2.
I found this issue using cursorPaginate with an column dynamic expression that differentiated between two dates which I then cast to a float.


Update Configuration-Properties-Common.md - remove file: prefix from git clone-directory

Removing the file: prefix from the git clone directory, it is treated a literal part of the path, at least in the git service registry. If file: should be supported (or is supported for other uses of the git properties), disregard this and I can look into fixing the code in git service registry.

I think the code should be fixed to handle the directory path with or without the prefix. The clone-directory setting should either be turned into a Resource, or its processing by the registry should regard it as a spring Resource.

Close in favor of https://github.com/apereo/cas/pull/5007


Click api with Proximity selector doesn't work in headless mode.

Expected behavior
click API work seamlessly in headless mode.
Actual behavior
click API doesn't work in headless mode.
Steps to reproduce

Create  HTML

             Click with proximity

                 Click on text node
                 Click with proximity

             Proximity marker

             Click with proximity
             <input onclick="displayText('Click works with text as value.')" value="Text as value" />
             <input onclick="displayText('Click works with text as type.')" type="Text as type" />

                 Text accross elements

             Show Message

Run below script
   const { openBrowser, closeBrowser, goto, click,below,} = require('taiko');
  (async () => {
      try {
            await openBrowser();
            await goto(<path to html file>);
            await click('Click with proximity', below('Proximity marker'));
    } catch (e) {
          console.error(e);
    } finally {
         await closeBrowser();
   }
 })();

Versions
Taiko: Version: 0.8.0 (Chromium: 76.0.3803.0) Commit :fe00a221ccb63c2667e162cef999cd741e299530

node : v10.15.3

Note
Seems to be an issue with chromium. As it renders text slightly different in headless mode. For more details check puppeteer/issues/2410 and chromium/issues/

Even after adding the suggested flag --font-render-hinting did not resolve this issue.

This is now fixed upstream and works on Taiko 1.0.6 with the script mentioned above.


chore: disable http logger

when not using debug

I disabled logging completely, couldnt push to your branch since the PR was closed but pushed & merged the  branch here https://github.com/yannh/kubeconform/pull/282
Hopefully this helps you... Thanks for the contribution :clap:


Don't check mandatory fields for null

Helps with #169 and https://github.com/graphprotocol/graph-node/issues/571. This solves those issues for the Boolean! graphql type, but not for the optional Boolean.
Overall this is a good polish over what we have now, so worth doing regardless of what the final solution to those issues is.

This has been updated to implement the solution we considered to be least bad: Which is to allow false and 0 to be returned if the field is missing, requiring the user to use isSet to disambiguate. See https://github.com/graphprotocol/graph-ts/pull/31.

@Jannis Ah well noticed, I did find it strange that the generated types weren't there already.


[feature request] better report for failing refresh access_token

Originally asked on Stack Overflow.
I got this error when try to refresh access_token.

AADSTS50058: A silent sign-in request was sent but no user is signed in. The cookies used to represent the user's session were not sent in the request to Azure AD. This can happen if the user is using Internet Explorer or Edge, and the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint (login.microsoftonline.com).

Please check the reason that I get this error here. The error I got right now is not very helpful for developers. Please provide better error report. Thanks
(No good place to create the issue related with AzureAD, so just created here)

@Hongbo-Miao This is not a bug with the library. The library just throws the error message received from AAD to the app developer.

@rohitnarula7176 but the error message should be updated. Where should I report that?


Issue 372 pdfbox

I have been implemented extracting csv from pdf by choosing page . I have triesd to use Java tabula but due to conflicts in pdfbox version with Java-tabula and yours project , it is unreal . So it was implemented by using PDFBoxTableStripper (pdfbox). It can extract tables from pdf made by excel , word .
Were updated all language properties

Any thoughts on having it iterate through all pdf pages to 'scan' for tables as default, and changing page number to be page range operation that many other operations follow (the 5,9-15 or 5n type one)?
Might be good for the PDFs that have multiple tables, have a option to have it in a single CSV or together all zipped etc
Just an idea, this is awesome work though, I am happy to merge as is for now if you think above isn't worth it or should be future enhancement

it is a great idea, it can be implemented in this ExtractionController but currently, you can merge existing features to save this extraction feature files and structure. Of course, you can create new issues with these ideas and I will be able to solve them. To my mind, it is possible to make this extraction tool more flexible.


Remove invisible paragraph icon from docs html

This PR removes the invisible paragraph icon that's being added to the html.
This should also make it disappear from the swiftype autocomplete results returning more useful descriptions when searching.
Side by side

I've tried a blank space as a substitution but it didn't get registered by sphinx when rendering the html.
We could think about substituting with a less intrusive icon if this cosmetic change is unwanted.

@cwarnermm I changed up the whitespace character so this now should be barely a difference to the old look


"move/take off" behavior is not working rightly

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[ y] I am running the latest version of GAAS
[ y] I checked the Gitbook documentation and found no answer
[ y] I checked to make sure that this issue has not already been filed
[ n] I have posted questions regarding Ubuntu, Gazebo, and PX4 in corresponding forums.

Issue Template
Context
Please provide any relevant information about your setup.

Tutorial No.: Tutorial 1/4
Mavros:  0.18.4
ROS: Melodic
Gazebo: 9
Ubuntu: 18.04

Expected Behavior
The drone is flying correctly.
The drone is taking off correctly.
Current Behavior
rotating while taking off /flying
move behavior is not working rightly
Screenshots
https://www.youtube.com/watch?v=MU-yxroWnik&ab_channel=GP
https://www.youtube.com/watch?v=6wHozf-QwZs&ab_channel=GP

I'm sorry but we have ended the support of old gaas version. In our new version the px4 mavros controller is writen in cpp and further documents will be released soon. See our readme.md for more information about new version which is merged from GAAS_contrib.
And for your question, maybe looking into the detailed implementation code of px4_mavros_controller.py is a good idea. There's a parameter for target yaw heading. By default the drone is placed towards east in this map.


Fixed some typos in the README

I've manually updated the README with these changes now, so I'm going to go ahead and close this. Thanks for the PR!


Swap to django-storages-redux, an py3 compatible fork

This is a bit silly (LOC-wise) but I saw #161, and since I've been doing this in some of my own projects, and thought this might be worth sharing.
django-storages hasn't been updated in over 2 years at this point.  Around December a work django-storages-redux was started to fix various outstanding issues as well as to make it Python 3 compatible.  Not working with Py3 and S3 myself, I can't speak to whether this fixes #161 for free or not, but I have found value in the extra 2 years of bugfix commits ;)
thanks!

This looks great! Happy that we have one more line of code ;)


add(front):persist reference currency

Add in profil page the capacity of choosing the reference currency and persist the choice :
--> Use Database

Added with profil page


Update harness-git-experience-quickstart.md

the headings were not migrated correctly
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

closing PR because we don't allow () in branch names. Will open new PR with fix.


Multi language support

Is your proposal related to a problem?
For the bot GUI interface to support multiple languages.
Describe the solution you'd like
User able to select any of the supported language in the .ENV file or even inside the GUI settings page.
Additional context
Would be nice if the translations can be easily added by the community.
I am no developer anymore, but I think this can be achieved like this:
https://medium.com/i18n-and-l10n-resources-for-developers/node-js-tutorial-on-creating-a-multilingual-web-app-df24d8471482

Yap, this is a good suggestion. I will put into todo.

can I put it in portuguese

can I put it in portuguese

This is the idea. Its already on the development Todo list. Once its ready we will work on the translations. Aquele abraço Cleiton!


Quick suggestions only for snippets

Currently in a markdown file Quick Suggestions offers auto complete for words already typed in addition to any snippets.

This quickly becomes distracting, since the Quick Suggestions popup becomes almost permanent because most of the words you type start with letters of words you already typed at least once. I don't want to turn of Quick Suggestions completely, since I use the snippets, but I do want to turn it off for anything else than snippets.

Proposal: Change the valid options for editor.quickSuggestions to on, off or onlySnippets from curerntly only true / false. This would also make it similar to how editor.tabCompletion works.

There are already controls of what will be shown in suggestions
You can disable words suggestions with (example for Markdown but can be used globally):
"[markdown]": {
    "editor.suggest.showWords": false
}

You can also check other detailed controls for suggestions in Settings.

Thanks @IllusionMH that fixed it for me. This issue can be closed.
Though it would have been nice if these settings were a bit more documented, e.g. a mention about editor.suggest on IntelliSense.


Win64 Install Troubles

Sorry for Windows, but I'm stuck with it.
I wanted to install api-mock via npm and it's getting an error:
$ npm install mock-api-server --save

><EMAIL_ADDRESS>install C:\cygwin64\home\e.uzureau\dev\<snip>\node_modules\mock-api-server\node_modules\http-sync
> node-gyp rebuild

C:\cygwin64\home\e.uzureau\dev\<snip>\node_modules\mock-api-server\node_modules\http-sync>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gypnpm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the http-sync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls http-sync
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "mock-api-server" "--save"
npm ERR! cwd C:\cygwin64\home\e.uzureau\dev\<snip>
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm

The closest thread I can find of others with this problem is here:
https://github.com/TooTallNate/node-gyp/issues/154
(though sadly it hasn't helped to resolve my problem)
Has anyone else had this trouble?

I think you have the wrong package :)
You're installing this package: https://www.npmjs.com/package/mock-api-server
This is the repository for this package: https://www.npmjs.com/package/api-mock

Apologies! I spent the morning trying to install both 'api-mock' and 'mock-api-server' to compare and contrast... but sadly was unable to install either :-(
Here's the dump from npm choking on installing api-mock.
$ npm install api-mock --save
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"})

><EMAIL_ADDRESS>install C:\cygwin64\home\e.uzureau\dev\ft\fast-track\fast-track\src\Web\Criteo.FastTrack.Web\node_modules\api-mock\node
_modules\protagonist
> node-gyp rebuild

C:\cygwin64\home\e.uzureau\dev\ft\fast-track\fast-track\src\Web\Criteo.FastTrack.Web\node_modules\api-mock\node_modules\protagonist>node "C:
\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack     at errnoException (child_process.js:1001:11)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:792:34)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\cygwin64\home\e.uzureau\dev\ft\fast-track\fast-track\src\Web\Criteo.FastTrack.Web\node_modules\api-mock\node_modules\protago
nist
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "api-mock"
"--save"
npm ERR! cwd C:\cygwin64\home\e.uzureau\dev\ft\fast-track\fast-track\src\Web\Criteo.FastTrack.Web
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

Sorry for that confusion!

It looks like it's protagonist that's failing to install, so you might have better luck in their issues. (I need to update this project's dependencies as well, which might help your situation if the above problem is fixed in later versions).

I wonder if you have solved the problem,but I face a similar one ,could you help me?thanks very much!
[root@localhost ~]# npm install -g api-mock
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"~0.10.4"} (current: {"node":"4.4.5","npm":"2.15.5"})

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/api-mock/node_modules/protagonist
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.4.5"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/api-mock/node_modules/protagonist/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: getaddrinfo EAI_AGAIN nodejs.org:443
gyp ERR! stack     at Object.exports._errnoException (util.js:870:11)
gyp ERR! stack     at errnoException (dns.js:32:15)
gyp ERR! stack     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:78:26)
gyp ERR! System Linux 3.10.0-327.el7.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/api-mock/node_modules/protagonist
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Linux 3.10.0-327.el7.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "api-mock"
npm ERR! node v4.4.5
npm ERR! npm  v2.15.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs protagonist
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls protagonist
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /root/npm-debug.log


on 'any' type alerts

Hi,
I have an issue using geoip items in alerts when monitoring failed logon attempts.
My rule looks like this -
`# Rule name, must be unique
name: Pulse Login Failure
Index to search, wildcard supported
index: logstash-*
timestamp_field: "@timestamp"
Type of alert.
type: any
#type: frequency
realert:
seconds: 0
num_events: 2
timeframe:
minutes: 5
filter:

query:
query_string:
query: "tags:pulsesecure AND pulse_message:"Primary authentication failed*""

include:

source-address
username
pulse_message

alert_subject: "Suspicious Login Failure for {} against username: {}"
alert_subject_args:

source-address
username

alert_text_type: alert_text_only
#alert_text: "Triggered at {}\n\nClient IP: {}\nUsername: {}\n\nEvent Detail:{}"
alert_text: "

Elastalert Triggered Event

Pulse Secure Alert
Tiggered Time - {0}

Client IP{1}

Username{2}

Event Detail{3}

GeoIP ASN{4}

GeoIP City{5}

"
alert_text_args:

"@timestamp"
source-address
username
pulse_message
geoip.as_org
geoip.city_name

alert:

email

email:

<EMAIL_ADDRESS>
smtp_host: smtphost
smtp_port: 25
from_addr<EMAIL_ADDRESS>email_format: html
`
Running elastalert-test-rule returns -
INFO:elastalert:Alert for Pulse Login Failure, <IP_ADDRESS> at 2019-10-27T19:48:28.520Z: INFO:elastalert:   <title>Elastalert Triggered Event</title>
Pulse Secure Alert

Tiggered Time - 2019-10-27T19:48:28.520Z

 Client IP	<IP_ADDRESS>

 Username	DOMAIN\username

 Event Detail	Primary authentication failed for DOMAIN\username/DOMAIN from <IP_ADDRESS>

 GeoIP ASN	<MISSING VALUE>

 GeoIP City	<MISSING VALUE>

Any ideas what I'm going wrong here?
Cheers
Andy

The response doesn't have a "geoip.city_name" in it?
if you query "tags:pulsesecure AND pulse_message:"Primary authentication failed*"" do all the results have "geoip.city_name" defined?

Look here for "alert_missing_value " https://elastalert.readthedocs.io/en/latest/ruletypes.html.
You can change the string that gets put in your alert from "" to whatever you want, but if the field doesn't come back from the query, the alert can't put something in that place.

Hi David,
Thanks for your response.
The event does have geoip.as_org and geoip.city_name included - Here’s an example of a working connection.
Best regards
Andy

On 13 Nov 2019, at 13:51, David Thornton<EMAIL_ADDRESS>wrote:
The response doesn't have a "geoip.city_name" in it?
if you query "tags:pulsesecure AND pulse_message:"Primary authentication failed*"" do all the results have "geoip.city_name" defined?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Yelp/elastalert/issues/2536?email_source=notifications&email_token=AGDCJ7RNMSGTTFV6MM6JSVTQTQA4VA5CNFSM4JFTFAB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6GOXA#issuecomment-553412444, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDCJ7W22K7NL5AMBMYHCOLQTQA4VANCNFSM4JFTFABQ.


By default, stop the node unless using bbr

Since using bbr as a congestion control algo increases throughput significantly, by default the node should not start without it. Node operators still need the ability to bypass this default.
AC

[ ] Add a mechanism that will not start the node unless using bbr as a congestion control algo in any environment (docker, vm, hardware etc)
[ ] Add a flag that bypasses the above mechanism

Updating this from an in-person sync. We want to:

encourage users to run BBR in v2.
enforce that users are running BBR in v3.

Concretely that means adding a warning to v2 if the node starts up and BBR isn't enabled. Ideally the warning also includes instructions on how to enable BBR.


Refreshing a workflow that has become invalid does not update workflow

Bug Report
Expected behaviour
When a workflow is changed to something invalid and then manually refreshed, I would expect it to get updated with verification problems displayed in the files tab.  Another option is for an error message to display.
Actual behaviour
Refresh said successful, but nothing changed.
Steps to reproduce the behaviour

Have a valid workflow with master/develop branch  in my-workflows
Modify it to say class: CommandLineTool in GitHub
Refresh workflow
Notice the absence of any error indicators

┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.7
┆Sprint: Seabright Sprint 16 Pram
┆Issue Number: DOCK-844

Looks like a couple of related GUI issues.

I needed to go a hard refresh to see the new content lass: CommandLineTool
The validation messages are not showing up ala https://github.com/dockstore/dockstore-ui2/pull/513 although I see them in the JSON response from calls like
x:8080/workflows/3749?include=validations

FYI, in discussion with @garyluu looks like you're working on this already

@garyluu @denis-yuen Hm, I'm not able to reproduce this? I see the workflow get updated and validation warning in the files tab without needing to refresh the page.

@NatalieEO that's good news
I would try a few more scenarios (i.e. a valid workflow that becomes a malformed workflow in my-workflows, ditto for a malformed tool in my-tools, ditto for a malformed service in my-services) and if it all looks good. This can be closed

this is the repository I used https://github.com/garyluu/Metaphlan-ISBCGC , see the last commit

Ok, I think it was just a caching delay or something.


docs(changelog) add the 2.1.0 - 2.1.1 upstream recreate bug

advisory and add 2.1.2 changelog which contains the fix

this has been cherry-picked


BarrelNet code release

Hi are you planning to release your newer code for BarrelNet?

Thank you for your interest. BarrelNet has been rejected multiple times and largely revised, and currently under review.  I will release the code when it is accepted.


LICENSE file no longer being included in PyPI source

It seems like with the release of 1.4.0, the LICENSE file is missing from the source files (at least for microsoft-kiota-abstractions) on PyPI, see:
https://files.pythonhosted.org/packages/d2/61/c31b5fb0202ad22e4dfe7329504ea2c72b947b485f7ec3957c00c16d0d9f/microsoft_kiota_abstractions-1.4.0.tar.gz
I presume they weren't dropped on purpose.

Thanks for catching this @xylar
We'll resolve this in the next release

Sounds good.


Problems with inserting negative integers

Hi,
I am not able to insert negative integers to the table with column of 'int' data type. I am using Microsoft SQL Server but I had the same problem with PostgreSQL.
Here is my script:
using ODBC
dsn = ODBC.DSN("msqls_local")
sql = "INSERT INTO [test].[dbo].[test] ([integer]) VALUES (?)"
statement = ODBC.prepare(dsn, sql)
data = [
(1,),
(-2,)
]
for record in data
dump(record)
ODBC.execute!(statement, record)
end
And here is the console output:
Tuple{Int64}
1: Int64 1
Tuple{Int64}
1: Int64 -2
[ODBC] 22003: [Microsoft][ODBC Driver 13 for SQL Server]Numeric value out of range
Value '1' goes in without any problem but for any negative integer I get the error.
Thanks in advance,
Piotr

Hmmmm, this is weird, but I'm also not sure this is a package problem, or some kind of weird data + database settings issue (many google search results seem to point to the latter). Can you try on current ODBC master as there have been a big round of updates just merged in?

Hi,
After Pkg.checkout("ODBC") I get:
INFO: Checking out ODBC master...
INFO: Pulling ODBC latest master...
ERROR: Unsatisfiable requirements detected for package WeakRefStrings:
├─version range [0.3.0,∞) required by package ODBC, whose only allowed version is 0.5.2+:
│ ├─version 0.5.2+ set by fixed requirement (package is checked out, dirty or pinned)
│ └─version range [0.0.0-,∞) set by an explicit requirement
└─version range [0.0.0,0.3.0) required by package CSV, whose allowed version range is [0.0.0-,∞):
  └─version range [0.0.0-,∞) set by an explicit requirement
The intersection of the requirements is empty.

Sorry top bother you if it is something obvious but I am not yet very advanced julia user.
Thanks,
Piotr

Ok, I managed upgrade ODBC to 0.5.2+ and now I get error that @isdefined is not defined. Does it mean that I have to test it in Julia v0.7?

This should have been fixed in #263


Inputs get a yellow background in chrome when using previous values

Decided this was useful from an accessibility perspective


[html] format javascript in html

VSCode Version:0.10.11
OS Version:win8

Steps to Reproduce:

write js in a html file
format code
the indent of the second line in script tag is not right

We currently do not format code inside HTML

Ran into a similar situation, however in 1.2.1 JS code within script tags in a .aspx file as its indenting and line breaks removed.
Are you saying that this is a side effect of formatting code within html/aspx that code gets formatted?
E.g. HTML rules are being applied when shift-alt-f is run?

Is this hard to implement or is it possible to just take the content of the

@moander, see #8938. @aeschli started the implementation of support nested languages.

Cool :)
I found an extension that seems to work btw. It formats <script> content on save.
ext install vscode-JS-CSS-HTML-formatter

Formatting of JavaScript in HTML got added in December.


fix: leak solve removing ft_split

When run:
export NAME="Antonio"
exit
Error:
==10780== 6 bytes in 1 blocks are definitely lost in loss record 3 of 69
==10780==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==10780==    by 0x10D786: ft_strjoin (in /app/srcs/minishell)
==10780==    by 0x10B656: set_env_var (export.c:49)
==10780==    by 0x10B774: export_adapter (export.c:79)
==10780==    by 0x10A96B: exec_builtin (exec_builtin_cmd.c:61)
==10780==    by 0x10A3F8: run_node (nodes.c:41)
==10780==    by 0x109FF5: execute_cmd (commands.c:68)
==10780==    by 0x10958B: minishell (main.c:51)
==10780==    by 0x1096A5: main (main.c:76)

tests ok


CXF-8206 Update to saaj-impl 1.5.2

Seems to work but I haven't check osgi. I think we should target 3.4.0 for merge...

@amarkevich Can you rebase the branch off master?

@coheigea done

@ffang  - Any objections?

@amarkevich @coheigea
Sorry for the late reply.
I tested OSGi related tests both with JDK8 and 11, all passed, so I think we are good to go!
Freeman


Add HTTP request header fields as Available fields for Cache Rules

I'm closing for now but we'll follow up on this.


feat(464): add async actions consumer SDK to act API

Ticket(s)
https://github.com/gatewayd-io/gatewayd/issues/464
Description
Adds a consumer SDK to let plugins consume async actions that has been put into a queue and process them.
Related PRs
Development Checklist

[x] I have added a descriptive title to this PR.
[x] I have squashed related commits together.
[x] I have rebased my branch on top of the latest main branch.
[x] I have performed a self-review of my own code.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added docstring(s) and type annotations to my code.
[ ] I have made corresponding changes to the documentation (docs).
[ ] I have added tests for my changes.

Legal Checklist

[x] I have read the CONTRIBUTING document.
[x] I have read and understood the Code of Conduct.
[x] I have read and agreed to the Apache CLA (required).
[x] I have read and agreed to the LICENSE (required).

As it is not used in gatewayd directly (only used in tests), I removed the support for zerolog and changed it to use hclog.


Add visual regression snapshots

And improve js_testing.md while at it. Amending a chrome + chrome driver installation instruction.
See for details: https://www.pivotaltracker.com/story/show/174377003

Nice catch! Maybe this would opt even more for the usage of Cypress.
A bit off topic but I was wondering if the additional feedback info was also added also in the tests, I was missing them in the PR below, but maybe updated now while at it.
https://github.com/OpenConext/OpenConext-engineblock/pull/875

The new plan is to move the javascript tests to the Cypress test framework. With that, this PR will be closed.


Submit Milestone 1

For milestone 1, I will be the proof-reader. Once all other issues are resolved, I will go over everything for one last time, submit to Canvas, and close this issue.

Just to summarize what needs to be done for submission: Copy-paste the contract into canvas, include URL of project repo in submission on canvas, create a release and name it 0.0.1 and include the URL of this release on canvas.

Guys, should we put tag to be v0.0.1 when creating the release

?

Hey yall, I just finished proof-reading all of our documents and scripts. All look amazing so I went ahead and submit the following to Canvas:

URL of project repo
URL of the release
Team work contract (copy and paste from here)

Great efforts and collaboration, guys! Go team!


Rendering with an audio codec selected will cause problems

Rendering with an audio codec selected and mixdown unchecked, will result in dropouts in the audio track.
Rendering with an audio codec selected(ex. mp4, h.264, ac3) and mixdown checked, will result in dropouts in the audio track.
Rendering AVI JPEG  and mixdown checked, will result in dropouts in the audio track.
So, maybe it is necessary to do something like this to overwrite the audio when mixdown is checked? Or even strip the audio from the rendered file and then mux the mixdown audio in?
https://superuser.com/questions/602662/how-do-i-replace-the-audio-in-an-mp4-file-without-re-encoding
If no audio codec is selected, there are no dropouts in the audio.

I am going to assume that dropouts happen on the boundary of each batch.
I discovered that when I started creating this addon. That's why this addon first generates all video, then (if mixdown enabled) it generates audio for the whole length of video as mp3. Then it uses ffmpeg to stitch everything together.
If concatenate is enabled then ffmpeg is run to join video files.
In addition if mixdown is checked the ffmpeg command is passed in the full length mp3 with: '-i', sound_path, '-codec:a', 'copy', '-q:a', '0'
The main difference in that StackOverflow answers is "-map 0:0 -map 1:0", but I am not sure that should make a difference.
Maybe my command fails to "overwrite" audio if video clips have been rendered with audio.

It seems to me that currently the audio isn't added to the clip, when there already is audio - that would explain the dropouts.
Some time back I remember looking for a solution to overwrite the audio, but couldn't find one, so I ended up first removing the audio and then adding it, not very elegant, but it worked.
A quick search and this came up - with the map function: https://ottverse.com/add-remove-extract-audio-from-video-using-ffmpeg/

I am going to assume that dropouts happen on the boundary of each batch.
I discovered that when I started creating this addon. That's why this addon first generates all video, then (if mixdown enabled) it generates audio for the whole length of video as mp3. Then it uses ffmpeg to stitch everything together.
If concatenate is enabled then ffmpeg is run to join video files.
In addition if mixdown is checked the ffmpeg command is passed in the full length mp3 with: '-i', sound_path, '-codec:a', 'copy', '-q:a', '0'
The main difference in that StackOverflow answers is "-map 0:0 -map 1:0", but I am not sure that should make a difference.
Maybe my command fails to "overwrite" audio if video clips have been rendered with audio.

I get this on my set-up too.


Adding POC

Adding GitHub actions for testing Mongodb Connector

Looks good. Bump the go version if you want. Otherwise I'll just merge it.


Lingan swa1, Which module use?

I managed to successfully flash this cheap device with tasmota 8.5.0, I just not understanding Which module I have to use to make it work.
Lingan swa1 module is not available in the config menu, some help?
Thanks in advance

We are not affiliated nor provide support for third party firmware. Please ask Tasmota.


T3HtmlParser - unable to open local link in new tab

Currently, links starting with "/" (i.e. local links) are always passed to $router, where a .preventDefault() call also occurs. As a result, a link with attribute target=""_blank will be opened in the same tab. The same thing happens when the user tries to open the link in a new tab by pressing Ctrl or Cmd at the same time.

@mateusznarowski thank you for fixing this


Unable to spawn WebWorker

When I try to run code that spawns a WebWorker, I receive the following error:
SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent.

  main.js:1

I am using PhantomJS 1.9.8, installed via npm. I tried running main.js in two ways, which both throw the same error:
$ phantomjs main.js
$ phantomjs --web-security=false main.js

main.js:
var worker = new Worker('worker.js');
worker.addEventListener('message', function (ev) {
    var dv = new DataView(ev.data);
});

worker.js:
while (1) {
    self.postMessage(new ArrayBuffer(0));
}

The problem seems identical to #10257, which was closed. Am I doing something wrong?

It looks like the fix for #10257 may have regressed.  This is definitely an issue even in 2.0.
I suspect the fix will be relatively easy but I don't have time to do it myself.

Still issue in 2.1.1.

The eternal error? Seems not fixed in 2.5.0


runtime: SIGILL on aix-ppc64

We are getting SIGILL at startup for one of the binaries in the Datadog Agent, when goenvs() runs in the runtime (at startup):
$ gdb ./datadog-agent/trace-agent core.20971810.25160320
GNU gdb (GDB) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc64-ibm-aix<IP_ADDRESS>".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./datadog-agent/trace-agent...done.

warning: core file may not match specified executable file.
Core was generated by `trace-agent'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x000000010004d034 in runtime.goenvs_unix () at /opt/freeware/lib/golang/src/runtime/runtime1.go:85
85              envs = make([]string, n)
(gdb) where
#0  0x000000010004d034 in runtime.goenvs_unix () at /opt/freeware/lib/golang/src/runtime/runtime1.go:85
#1  0x000000010006dacc in runtime.ensureSigM.func1 () at /opt/freeware/lib/golang/src/runtime/signal_unix.go:875
#2  0x0000d431e0ddf00d in ?? ()
(gdb) quit

There is a TODO there which is concerning:
https://github.com/golang/go/blob/go1.14/src/runtime/runtime1.go#L85. Could it be related?
Is there any more information I could provide? Would appreciate some help debugging this. Apologies for the lack of information, but I do not have access to the machine which reproduces the problem.

Is there any more information I could provide?

Please answer a couple of the issue template questions that you deleted:

What version of Go are you using (go version)?

Does this issue reproduce with the latest release?

Thanks for the prompt reply. Please bear with me while I try to obtain this information.

Also, when you are in gdb and stopped at the SIGILL, can you do:
x/i $pc
info reg $lr
info reg $ctr

@Helflym Are you seeing this problem too?

I've lost access to my AIX VM and trying to get it back to see if I can reproduce with latest Go. The above problem was from a binary built with go1.14. I'll be back with more details ASAP.

No, I don't remember having already seen anything like this.
I'll take a deeper look tomorrow (I can't today).

I managed to reproduce this issue on my own now, I have the binary and the core dump available. It happens with go1.16 too.
@laboger here is the response to the commands you've requested:
Program terminated with signal SIGILL, Illegal instruction.
#0  0x000000010004e904 in runtime.check () at /usr/local/go/src/runtime/runtime1.go:239
239     /usr/local/go/src/runtime/runtime1.go: A file or directory in the path name does not exist..
(gdb) where
#0  0x000000010004e904 in runtime.check () at /usr/local/go/src/runtime/runtime1.go:239
#1  0x0000000100072dbc in runtime.rt0_go () at /usr/local/go/src/runtime/asm_ppc64x.s:82
#2  0xbadc0ffee0ddf00d in ?? ()
(gdb) x/i $pc
=> 0x10004e904 <runtime.check+468>:     lbarx   r31,0,r6
(gdb) info reg $lr
lr             0x100072dbc      0x100072dbc <runtime.rt0_go+172>
(gdb) info reg $ctr
ctr            0x100072d10<PHONE_NUMBER>
(gdb)

Note that this time it breaks in a different place.

That is an atomic byte instruction from POWER8.
Are your sure your chip supports it?  https://github.com/golang/go/wiki/MinimumRequirements#ppc64-big-endian

That is an atomic byte instruction from POWER8.
Are your sure your chip supports it?

My bad. The machine I logged into said "POWER8" in the title, but checking prtconf right now I see it's POWER7. I wonder if that's the issue for the problem in the start of this thread too. I'm going to look into it and if that's the case, close the issue.

It turns out the processor was Power7. Closing. Sorry for the misunderstanding.

@gbbr Sorry for the late response. lbarx is new in power8 do won't run on power7. Is there a reason this is running in power7 mode on a power8 and power9? Seems like that could be easily fixed with the appropriate setting.


Release 2021-06-21

New Terms
•	stromal cell of lamina propria of vermiform appendix
•	appendix macrophage
•	horizontal pyramidal neuron
•	Martinotti morphology L2/3 Pvalb-like Sst GABAergic cortical interneuron (Mus musculus)
•	medial ganglionic eminence derived GABAergic cortical interneuron
•	caudal ganglionic eminence derived GABAergic cortical interneuron
•	L5/6 CCK expressing cortical GABAergic interneuron (Mus musculus)
•	Martinotti neuron
•	bitufted neuron
•	basket morphology L2/3 Pvalb-like Sst GABAergic cortical interneuron (Mus musculus)
•	stellate L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex (Mus musculus)
•	inverted L6 intratelencephalic projecting glutamatergic neuron of the primary motor cortex (Mus musculus)
•	chandelier cell
•	T Martinotti neuron
•	fan Martinotti neuron
•	large basket cell
•	nest basket cell
•	small basket cell
•	inverted pyramidal neuron
•	stellate pyramidal neuron
•	tufted pyramidal neuron
•	untufted pyramidal neuron
Edits
•	Improved basket cell entry (adding def and axioms)
•	Improved stellate neuron entry (adding def and axioms)
•	Edited pyramidal neuron definition
•	Edited stellate interneuron axioms
•	Improved neurogliaform cell (edited def and axioms)
•	Added synonyms for brush cell of large intestine
•	Edited lymphoid tissue-inducer cell definition
•	Added PATO axioms for various neural cells
•	Improved A7 cell (edited def and axioms)

I'm still uncomfortable with the Pvalb-like classes.
rdfs:label "L2/3 Pvalb-like Sst GABAergic cortical interneuron (Mus musculus)"
definition "A Sst GABAergic cortical interneuron transcriptomically between the Sst and the Pvalb families with a soma found in L2/3. Some L2/3 PV-like SST cells have Martinotti morphology while some have basket cell morphology. L2/3 PV-like SST cells have lower AP width and higher firing rate than typical Sst subclass cells. L2/3 PV-like SST cells have high maximum firing rate variability, with many classified as belonging to the Pvalb subclass on the basis of electrophysiology."

There's not really any way for anyone outside of the BDS project to use these terms for annotation.  How will they know when they've found a sufficiently Pvalb-like SST GABAergic to qualify?  There's not even an data linked to the term that could be used to project annotations. At least the region specific ones (in BDSO) come with both data and distinguishing markers.
The definitions read very much like a case of 'we have a heterogenous cluster in an scRNAseq analysis - here's a summary of various properties of types in it.'

In the interests of getting a release out, I'm happy to let them through.  But we should make a ticket proposing obsoletion and remove them ASAP.
For CL, I think it will be sufficient to have
L2/3 SST basket neuron
L2/3 SST Martinotti neuron
Looking at how easy it was to simplify the names of these (assume all basket and Martonotti are GABAergic), I think we should open a ticket to review long names of recently added neuron types & shorten/simplify where possible.

@dosumis will make a ticket on BDS ontology - think it fits there better for now. Will create tickets based on that on CL when appropriate


relation with aosp launcher3 (replace google search box)

I added searchbox flag into AppWidgetProviderInfo

protected AppWidgetProviderInfo getSearchWidgetProvider() {
SearchManager searchManager =
(SearchManager) getContext().getSystemService(Context.SEARCH_SERVICE);
ComponentName searchComponent = searchManager.getGlobalSearchActivity();
if (searchComponent == null) return null;
String providerPkg = searchComponent.getPackageName();
AppWidgetProviderInfo defaultWidgetForSearchPackage = null;
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(getContext());
for (AppWidgetProviderInfo info : appWidgetManager.getInstalledProviders()) {
if (info.provider.getPackageName().equals(providerPkg) && info.configure == null) {
if ((info.widgetCategory
& AppWidgetProviderInfo.WIDGET_CATEGORY_SEARCHBOX) != 0) {
return info;
} else if (defaultWidgetForSearchPackage == null) {
defaultWidgetForSearchPackage = info;
}
}
}
return defaultWidgetForSearchPackage;
}
}
this is aosp launcher3 code part

Thanks @paledega! Can you provide testing instructions/steps for this?

Thanks @paledega! Can you provide testing instructions/steps for this?

Yes I can

Hi @paledega, thanks again for submitting this. I'm closing it as it hasn't progressed since my last comment. Feel free to resubmit a fresh PR when you're ready!


Images in docs not displaying

The images in the /docs/src/assets directory are not displaying properly in the hosted documentation in the "Architecture Benchmarks" section.
For example, on Google Chrome:

and the same on Firefox.

Seems the images don't exist: https://github.com/JuliaSIMD/StrideArrays.jl/tree/main/docs/src/assets
Maybe I just forgot to commit them?
Either way, there shouldn't be any images on the main branch, as we don't want installing the package to automatically download them.

That's reasonable, just wanted to let you know in case you wanted to add the images or remove the references. You can close if you don't want to edit it.

It's been a couple years. I should probably regenerate the benchmarks.


Fix implemented interface list, broken namespace link

The following fix includes 2 changes:

"Implements" section shows the implemented interfaces (see JsDoc @implements tag). The previous pull request from me mistakenly showed the extended classes in the interfaces list.
Sorry about that.
This change now is very similar to the default JsDoc template behavior.

Namespace definitions in the generated page contained invisible but broken links.
The linkTo method already creates an HTML anchor with a correct URL, so an additional one is not needed.

Thanks!


⚠ Bofrost.es has degraded performance

In 398240e, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1658 ms

Resolved: Bofrost.es performance has improved in 4835a4f after 9 minutes.


Cosmos DB throwing Microsoft.Azure.Documents.GoneException with a 503

Describe the bug
We are seeing instances of Cosmos DB throwing Microsoft.Azure.Documents.GoneException on high load.
Actual behavior
Cosmos DB throwing Microsoft.Azure.Documents.GoneException on high load.
Environment summary
SDK Version: 3.15
OS Version (e.g. Windows, Linux, MacOSX): Windows
Additional context
Stack Trace:
Response status code does not indicate success: ServiceUnavailable (503)%3b Substatus: 0%3b ActivityId: 4eeb0d5e-d406-409f-94e1-fd354238c483%3b Reason: (Service is currently unavailable. More info: https://aka.ms/cosmosdb-tsg-service-unavailable
ActivityId: 4eeb0d5e-d406-409f-94e1-fd354238c483, Please see CosmosDiagnostics, Windows/10.0.14393 cosmos-netstandard-sdk/3.15.2)%3b

Duplicate of https://github.com/Azure/azure-cosmos-dotnet-v3/issues/2081


Expand diffs in either direction

One thing that has always irked me about Github is that even though the diff expand button looks omnidirectional:

It actually only expands the bottom chunk upward.

There is literally no way to expand the top chunk downward if, for example, I wanted to see lines 27 and up. This is especially annoying when there are gaps of hundreds of lines in between the chunks.
I'd love a way to expand from either end, possibly by splitting the expand button into two separate buttons that each indicate which side they expand.

It was a pain, but I figured out how to modify the expand button data-url in this userscript. Hopefully, I added enough comments to make it easy to add to this extension.

BeforeAfter

Great job, Mottie! Given the complexity I'd be ok just leaving it as a userscript

Sure, go for it!


Valuechoice oneshot lightning

See comments below.

Background

NAS = search space + evaluator + strategy.
We are making one-shot algorithms purely strategies.
But training and searching in one-shot algorithms are coupled. How to disaggregate them?

If the training part (evaluator) is written in PyTorch-Lightning, we can break the LightningModule into smaller parts, such as configure_optimizer, training_step, validation_step, trainer_loop. We can plug in searching recipes between these smaller parts, and reassemble them into a LightningModule.

The following image is from Lightning official:

Thus, the flow of an one-shot strategy:

Strategy wraps the model (base model) with evaluator, to make it a LightningModule.
Strategy sends the wrapped LightingModule to algorithm implementation, which converts it into another LightningModule, but now search + training are all ready.
Strategy trains the converted LightningModule with a trainer, which can be found in evaluator.

In the second step, the "algorithm implementation", i.e., XXXAlgoModule, will replace the mutation primitives (e.g., LayerChoice) with algo-specific module (e.g., DifferentiableLayerChoice, or, PathSamplingLayerChoice).
Mutation hooks
This PR basically includes two changes. Firstly, it introduces a more formal "module replacement", called "mutation hooks". The responsibility of mutation hooks is to replace the mutation primitives with specific super-net modules defined by the algorithm.
We call those "specific super-net modules" BaseSuperNetModule. A super-net module defines the construction and forward-backward propagation logic of a mutation primitive. It also has a class method called mutate, which defines on which modules the replacement should be triggered.
The underlying assumption of this refactor is that, one super-net module must correspond to one or more search dimensions. Note that this assumption is non-trivial, and already relaxed, because without mixed operation (described next), the assumption is that one super-net module corresponds to exactly one search dimension, and thus the design makes them coupled. Since mixed operation can have multiple search dimensions (e.g., a convolution can search for channels and kernel sizes at the same time, but it must be a single super-net module), this refactor is necessary to make them work.
To make things more straightforward, I also designed resample, export, search_space_spec for BaseSuperNetModule. Having these methods make the algorithm easier to deal with different types of super-net modules but same kinds of underlying search dimensions (e.g., discrete, categorical, choices). All these methods have a memo, which enables sharing sampling results among search dimensions with the same label.
After introducing this change, I moved the original super-net module implementations (e.g., DartsLayerChoice) to the new implementation. This is basically a cut&paste of code, with changes of base class.
Mixed operation
On the other hand, this PR introduces mixed operation, which is an implementation of a series of weight sharing tricks, commonly known as super-kernel, channel search, or weight entanglement.
One design principle of mixed operation is that mixed operation is considered agnostic to search algorithms. They can be used for path sampling algorithms like SPOS, ENAS, and also differentiable ones like DARTS. One potential benefits of this design is that potentially we can have many different implementations of many different mixed operations (e.g., Conv2d, Conv3d, BatchNorm, LayerNorm, MultiheadAttention...), but we only need to do them once. In other words, we don't need to rewrite the mixed operation over again for a new supported algorithm.
To this end, I designed MixedOperation and MixedOperationSamplingStrategy, which handles operation-related parts and algorithm-related parts respectively. In forward propagation, the mixed operation (which is a BaseSupernetModule) first asks the sampling strategy to give a sample (which could be algorithm-specific), then it interprets the sample and executes it based on the characteristics of the operation itself. Similarly, in export, it also delegates the control to sampling strategy. Note that the sampling strategy here is NOT the strategy in Retiarii. It's only a local concept that serves the need of mixed operation.
To actually implements a mixed operation, it needs to implement super_init_argument, which controls how to initialize the super-kernel. Usually using the max channels, max features, max kernel sizes should work, but there are also other cases. It also needs to implement forward_with_args, which controls how to run the forward propagation when the arguments get resampled. This method is often a copy-and-modification of PyTorch source code, with some prefix slices of operation's parameters. It could be nasty to maintain. Therefore I suggest to keep the supported operations limited for now (maybe until we figure out a better way).
Some useful tools to implement mixed operations are in _valuechoice_utils and _operation_utils. Basically, they are to handle complex ValueChoice cases (e.g., ValueChoice([3, 5, 7]) // 2 + ValueChoice([2, 4, 6])), and complex slices. In some cases (e.g., differentiable mixed operation), the prefix slices could be weighted.
UML diagram

Rename:

MixedOperationSamplingStrategy -> MixedOperationSamplingPolicy
XXXModule -> XXXLightningModule
PathSamplingOperation -> MixedOpPathSampling
DifferentiableMixedOperation -> MixedOpDifferentiable

@ultmaster suggest to add integration test (though not necessarily run on our pipeline), for example, simple end2end on popular search space and strategy.

@ultmaster suggest to add integration test (though not necessarily run on our pipeline), for example, simple end2end on popular search space and strategy.

Will add them after search space hub is merged.


Lost and I don't know how

Maybe you could have better luck figuring out why nothing worked for me? I went through all your listed steps and added everything to OBS as noted, but it never so much as played one of these and I'm lost as to why (and yes, the index is in the same folder as my music)

@CatharsisDrums can you change those empty strings you have from '""'  to just ""
If that still doesn't work, open the files in chrome, open dev tools (control + shift + J), and post a screenshot of the console

There's that. It's times like this I wish I had more of a grasp on things than loose comprehension and basic css (the most popular thing, obviously)

@CatharsisDrums well its never to late to learn! There's lot of free resources online and I've actually been working on this on my stream every Monday


fix warning; fix doc bug

#230 #231

Hi @wxchan, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


Latest changes force the use of glyphicons, the ability to customize the icon set no longer works.

The following change to ember-bootstrap-datetimepicker in version 4.0.0 breaks the customization for icons:

I prefer the font-awesome icon set.

Could we revert the change to allow the following to work:
template:
...
{{bs-datetimepicker date=date icons=faicons}}
...

mixin:
import Ember from 'ember';

export default Ember.Mixin.create({
  faicons: {
    time: 'fa fa-clock-o',
    date: 'fa fa-calendar',
    up:   'fa fa-chevron-up',
    down: 'fa fa-chevron-down'
  }
});

controller:
import Ember from 'ember';
import Faicons from '../../mixins/faicons';
export default Ember.ArrayController.extend(Faicons);

Using the following in the meanwhile:
[app/templates/components/bs-datetimepicker.hbs]

  {{view textFieldClass classNames="form-control" disabled=disabled name=textFieldName}}

I have an idea to modify the component slightly, that will solve both this template update to have a default icon and allow easier customization.  I should have a pull request put together shortly.
Idea: reuse the ability to override the icons like the eonasdan-bootstrap-datetimepicker, by checking if the icons property is set, look for the calender icon setting, otherwise, use the glyphicon.
template:

This should be fixed by #13 ?

+1 I agree
Sent from my iPhone

On Feb 5, 2015, at 5:46 AM, Claudio Romano<EMAIL_ADDRESS>wrote:
This should be fixed by #13 ?
—
Reply to this email directly or view it on GitHub.


Compile fail when enable cxx-interop

hi, finagolfin, when using the swift android sdk add adding the flag -enable-experimental-cxx-interop, compile will fail.

command: $SWIFT_PATH/swift build --destination $SWIFT_TOOLCHAIN/android-aarch64.json
output:
Building for debugging...
error: link command failed with exit code 1 (use -v to see invocation)
ld.lld: error: unable to find library -lswiftCxx
ld.lld: error: unable to find library -lswiftstd
ld.lld: error: unable to find library -lswiftCxx
ld.lld: error: unable to find library -lswiftstd
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
[7/8] Linking FooModule
sample code: https://github.com/woxiang04/FooModule/blob/8b557db14984fc7e01f2f06ab2f09aa54725657d/FooModule.zip

First thank you for the work to make swift works on Android!
And about the compile failure, do you mean that you just disable the C++ Interop ability because of the significant holes?

It is still there and partially works, but as those failing or disabled tests show, doesn't always work. That libswiftCxx.a library is there in my native Swift toolchain, but not any swiftstd library, not sure what's going on there.
You could take a look at the currently failing C++ Interop tests in that CI log I linked, see what flags it is using, and try to replicate with your own setup, though it is possible that without those two libraries installed in my SDK, it just won't work.

Wow, the android CI works again, Thanks!

will the changes be merged into 5.9?

No, most of those test changes that I amended in my pull were introduced lately in trunk 5.10 anyway, so those problems don't exist in the 5.9 branch.

OK, got it


"workbench.tree.indent" should have sensible minimum and maximums

From https://github.com/Microsoft/vscode/issues/35447
The new setting "workbench.tree.indent" should have a minimum and a maximum in the schema declaration so that

The UI will prevent you from setting negative values
Or you get a warning in the JSON file
And to prevent weird issues where someone managed to set it to 10000 on accident

And you can also set it to only allow integers but non-integers work so maybe you want to leave that

20 seems a little restrictive IMHO.  Seems the original intention was to prevent wild values like 10000. I think this should be higher, like 50 or 100.  There's no reason not to give users the flexibility.  When I set it to 20 it doesn't feel like an excessive indent by any stretch.

@realuser What's the value you personally like best?

@joaomoreno Before even knowing about this issue, I had the indent set to 24.
People are weird. Put it to 100

@joaomoreno I have it set to 20 now, but if you're asking what value the max should be, then I think 100.  I don't think the purpose of the max is to arbitrarily impose our own sense of what a good/reasonable indent should be but rather to prevent values that might cause confusion to the user (e.g. they accidentally set it to 900 and now they don't know what's wrong with the workbench/file explorer)

Yes, I agree - I have mine on 20 and I like to think I'm a moderate kind of guy, so others may be more extreme :-)
By the way, this is my favourite new setting of the last year!

Yes please, 20 is too restrictive, I want to get closer to my ST3 setup (on the right)

Raised to 40

I mean that's better but I don't get why you wouldn't set this to 100.  There's no reason to impose a sense of a "good indent" when we can't know what users will want. What is the benefit of restricting it to 40 vs 100?

Now I'm able to set it to 40, the indent goes to 40, but the user interface shows a warning.

@joaomoreno I think you forgot to update src/vs/base/browser/ui/tree/abstractTree.ts as you did in 79b4ea2
I submitted PR #68980

@sguillia Thanks.


WFLY-9771 Ignore SingletonPartitionTestCase.testSingletonService due …

…to intermittent failure
https://issues.jboss.org/browse/WFLY-9771
example failure: https://ci.wildfly.org/viewLog.html?buildId=88100&buildTypeId=WF_PullRequest_LinuxElytro

Thanks Stuart, though we should ideally mark this as intermittently failing. This means that the test is essentially ignored (so no noise on PRs or running locally), but there is supposed to be a nightly job to run the intermittently failing tests. This way we have more information for debug or notice when test starts to fail consistently. This is important especially here, since we have not been able to track down the cause yet. Opened https://github.com/wildfly/wildfly/pull/10826 -- @jmesnil Jeff, since you introduced this, did that job ever get setup? I can't seem to find it.


Sync lock in org.bytedeco.javacpp.Pointer.deallocator is significantly slowing down model building in 6.0

After moving from 4.0 to 6.0 my model building time increased significantly from ~6 per epoch to ~25 with 6.0.  It looks like the problem
is a sync lock in org.bytedeco.javacpp.Pointer.deallocator (I'm using the latest version of javacpp).
It'a 16 CPU box, locks in the threads look like below.  Stack from the locking thread along with a example of a blocked stack.
- locked <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)

"VectorCalculationsThread 11" #33 prio=5 os_prio=0 tid=0x00007f8d8c846000 nid=0x879b waiting for monitor entry [0x00007f8cf1d49000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:522)
- locked <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
at org.bytedeco.javacpp.Pointer.init(Pointer.java:121)
at org.bytedeco.javacpp.FloatPointer.allocateArray(Native Method)
at org.bytedeco.javacpp.FloatPointer.(FloatPointer.java:68)
at org.nd4j.linalg.api.buffer.BaseDataBuffer.(BaseDataBuffer.java:454)
at org.nd4j.linalg.api.buffer.FloatBuffer.(FloatBuffer.java:57)
at org.nd4j.linalg.api.buffer.factory.DefaultDataBufferFactory.createFloat(DefaultDataBufferFactory.java:238)
at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1277)
at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1252)
at org.nd4j.linalg.factory.BaseNDArrayFactory.create(BaseNDArrayFactory.java:945)
at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3099)
at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:2967)
at org.deeplearning4j.models.embeddings.learning.impl.elements.SkipGram.iterateSample(SkipGram.java:186)
at org.deeplearning4j.models.embeddings.learning.impl.elements.SkipGram.skipGram(SkipGram.java:168)
at org.deeplearning4j.models.embeddings.learning.impl.elements.SkipGram.learnSequence(SkipGram.java:138)
at org.deeplearning4j.models.sequencevectors.SequenceVectors.trainSequence(SequenceVectors.java:238)
at org.deeplearning4j.models.sequencevectors.SequenceVectors$VectorCalculationsThread.run(SequenceVectors.java:953)
Locked ownable synchronizers:
- None
"VectorCalculationsThread 10" #32 prio=5 os_prio=0 tid=0x00007f8d8c847000 nid=0x879a waiting for monitor entry [0x00007f8cf1e4a000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:522)
- waiting to lock <0x000000038240f8c0> (a java.lang.Class for org.bytedeco.javacpp.Pointer$DeallocatorThread)
at org.bytedeco.javacpp.Pointer.init(Pointer.java:121)
at org.bytedeco.javacpp.FloatPointer.allocateArray(Native Method)
at org.bytedeco.javacpp.FloatPointer.(FloatPointer.java:68)
at org.nd4j.linalg.api.buffer.BaseDataBuffer.(BaseDataBuffer.java:454)
at org.nd4j.linalg.api.buffer.FloatBuffer.(FloatBuffer.java:57)
at org.nd4j.linalg.api.buffer.factory.DefaultDataBufferFactory.createFloat(DefaultDataBufferFactory.java:238)
at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1277)
at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1252)
at org.nd4j.linalg.factory.BaseNDArrayFactory.create(BaseNDArrayFactory.java:945)
at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3099)
at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:2967)
at org.deeplearning4j.models.embeddings.learning.impl.elements.SkipGram.iterateSample(SkipGram.java:186)
at org.deeplearning4j.models.embeddings.learning.impl.elements.SkipGram.skipGram(SkipGram.java:168)
at org.deeplearning4j.models.embeddings.learning.impl.elements.SkipGram.learnSequence(SkipGram.java:138)
at org.deeplearning4j.models.sequencevectors.SequenceVectors.trainSequence(SequenceVectors.java:238)
at org.deeplearning4j.models.sequencevectors.SequenceVectors$VectorCalculationsThread.run(SequenceVectors.java:953)
Locked ownable synchronizers:
- None

Could you give us training times between the 2 and jvisualvm screenshots please?

This can happen when allocating too many temporary objects. Would you have
some statistics we could look at for 0.4.0, 0.5.0, and 0.6.0?

Let me clarify this: is that 16 CORE cpu?

It's a 16 core CPU (c4.4xlarge).
I think it was one of the recent syncronization changes to org.bytedeco.javacpp.Pointer.java (https://github.com/bytedeco/javacpp/commits/d666a119cf858e0df663e486c08973d19bcb670b/src/main/java/org/bytedeco/javacpp/Pointer.java) which leads to the problem.  Down grading to 1.23 (the sync stuff appears to be 1.24) seemed to resolve the problem.  The problem maybe in that code instead of DL4J.  The performance problem comes from the lock serialization, reducing parallelization rather than from a more 'traditional' performance problem.

There has always been a synchronized block in DeallocatorReference.add(), adding a second one just outside of that call by itself cannot make that much of a difference. There's something else going on here. Are you sure you're not running low on memory? If that's the case, you should increase it with -Xmx or by some other means.

Below is a stack trace from the JVM after the model had been building for ~20 minutes.  RSS at the time was ~3.3, Xmx was set to 10G.  DL4J was 5.0 & javacpp was 1.24 (1.23 doesn't exhibit the behavior).
jstack.txt

One more thing, I'm using Java 9 when this Jstack was generated trying to workaround a native memory problem/leak I'm having ( side note, this is the solution I'm exploring http://www.evanjones.ca/java-bytebuffer-leak.html), but the blocking behavior also happens a Java 8 JVM too.

It's only going to block there if there isn't enough memory available in the first place, though. On the runs that you try with JavaCPP 1.2.3, are you not seeing memory usage increase over 20G? If so, then you simply have not given it enough memory. Going over the memory limit like that was a problem with previous versions of JavaCPP.

It's not an issue anymore, since word2vec/paravec was migrated to full-native codebase, so i'm closing this issue for now, and will open another one, with allocation performance investigation.


Add support for the creation of Receipts

My company needs a command line tool to create Receipts in Xero, so I thought I would extend xero-java-client to support the creation of invoices.
So have I have made the following change to Receipt.xsd in XeroAPI-Schemas
   <!--
   Receipt
   -->
+  <xs:element name="Receipt" type="Receipt" />
   <xs:complexType name="Receipt">
     <xs:all>
       <xs:element minOccurs="0" maxOccurs="1" name="ValidationErrors" type="ArrayOfValidationError" />

And the following change to XeroClient.java in xero-java-client
    return put("Invoices", objFactory.createInvoice(invoice)).getInvoices();
  }

+  public List<Receipt> createReceipt(Receipt receipt) {
+	    return put("Receipts", objFactory.createReceipt(receipt)).getReceipts();
+	  }
+

  public List<Invoice> createInvoices(List<Invoice> invoices) {
    ArrayOfInvoice array = new ArrayOfInvoice();
    array.getInvoice().addAll(invoices);

However I an struggling to get Xero to create the Receipt. If I run the following code:
		Receipt receipt = new Receipt();
		receipt.setUser(users.get(0));
		receipt.setContact(contacts.get(0));
		receipt.setTotal(new BigDecimal(10.0));
		receipt.setSubTotal(new BigDecimal(10.0));
		LineItem item = new LineItem();
		item.setDescription("hello");
		item.setAccountCode("760");
		item.setUnitAmount(new BigDecimal(10.0));
		receipt.setLineItems(ImmutableList.of(item));
		client.createReceipt(receipt);

I get the error
Exception in thread "main" com.connectifier.xeroclient.XeroApiException: 400 response: Error number 10. A validation exception occurred, An error occurred in Xero. Check the API Status page http://status.developer.xero.com for current service status. Contact the API support team at<EMAIL_ADDRESS>for more assistance.
	at com.connectifier.xeroclient.XeroClient.newApiException(XeroClient.java:103)
	at com.connectifier.xeroclient.XeroClient.put(XeroClient.java:135)
	at com.connectifier.xeroclient.XeroClient.createReceipt(XeroClient.java:314)
	at com.deepskybluesolutions.expenseimporter.ExpenseImporter.main(ExpenseImporter.java:45)

Is there a way I can see the actual XML being sent to Xero?
thanks
Richard

Line 130 of XeroClient has String contents = marshallRequest(object);.  You could add a println there while debugging if you wanted to see the actual XML

Hi Ben
I am having a problem where strange schema lines are being added to the XML to be posted to Xero when I don't specify certain non-manatory fields, e.g. TaxAmount. I have tested the XML in the API Previewer and it returns an error. If these lines are removed then all is ok.
Do you have any idea what is causing this?
Thanks
Richard
<?xml version="1.0" encoding="UTF-8"?>
<Receipt>
   <User>
      <UserID>73f0cf2f-ede4-49ea-b93e-6723d9dfca32</UserID>
   </User>
   <Contact>
      <ContactID>e4c9d0e2-c285-4e85-b579-6d28b180c730</ContactID>
   </Contact>
   <Date>2015-01-11Z</Date>
   <LineItems>
      <LineItem>
         <Description>Laptop</Description>
         <UnitAmount>209.99</UnitAmount>
         <TaxAmount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
         <LineAmount xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
         <AccountCode>720</AccountCode>
         <Quantity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
      </LineItem>
   </LineItems>
</Receipt>
'''

Nope, haven't seen this before. Let me know if you find out though

Had to remove nillable=true from fields in LineItem.xsd.
diff --git a/v2.00/LineItem.xsd b/v2.00/LineItem.xsd
index 8718e02..5522479 100644
--- a/v2.00/LineItem.xsd
+++ b/v2.00/LineItem.xsd
@@ -22,12 +22,12 @@
       <xs:element minOccurs="0" maxOccurs="1" name="Description" type="xs:string" />
       <xs:element minOccurs="1" maxOccurs="1" name="UnitAmount" nillable="true" type="itemPrice" />
       <xs:element minOccurs="0" maxOccurs="1" name="TaxType" type="taxType" />
-      <xs:element minOccurs="1" maxOccurs="1" name="TaxAmount" nillable="true" type="itemPrice" />
-      <xs:element minOccurs="1" maxOccurs="1" name="LineAmount" nillable="true" type="itemPrice" />
+      <xs:element minOccurs="1" maxOccurs="1" name="TaxAmount" type="itemPrice" />
+      <xs:element minOccurs="1" maxOccurs="1" name="LineAmount" type="itemPrice" />
       <xs:element minOccurs="0" maxOccurs="1" name="AccountCode" type="accountCode" />
       <xs:element minOccurs="0" maxOccurs="1" name="Tracking" type="ArrayOfTrackingCategory" />
       <xs:element minOccurs="0" maxOccurs="1" name="ItemCode" type="xs:string" />
-      <xs:element minOccurs="1" maxOccurs="1" name="Quantity" nillable="true" type="itemQuantity" />
+      <xs:element minOccurs="1" maxOccurs="1" name="Quantity" type="itemQuantity" />
       <xs:element minOccurs="0" maxOccurs="1" name="DiscountRate" type="itemPrice" />

     </xs:all>
'''

@onevision @andrewsnowden does removing nillable="true" make these fields required? The Xero docs say they should be optional, so this seems suspicious to me. Maybe you also want to set the minOccur to 0 instead or in addition to. See http://www.dimuthu.org/blog/2008/08/18/xml-schema-nillabletrue-vs-minoccurs0/comment-page-1/
Please be sure to test this change with creating and fetching invoices, bank transactions, and receipts

No, I removed nillable="true" to stop weird schema lines being added to the posted XML. The fields were still not mandatory

The 'weird schema lines being added to the posted XML' are due to JAXB trying to do the right thing with respect to the nillable attribute on the element definition.  From the XSD 1.1 spec:

If {nillable} is true, then an element with no text or element content can be ·valid· despite a {type definition} which would otherwise require content, IF it carries the attribute xsi:nil with the value true

So the effect of 'nillable' in a data-binding situation is to panic the 'XSD processor' into a line of thought like:

I am supposed to provide this element, since it is required (minOccurs > 0)
hmm, but I've been given no data to bind here
probably I'll have to spit the dummy that this unmarshaling effort to be invalid
but wait! the element definition as 'nillable' - I can provide the element, but just leave it empty! saved!
of course, to make use of that trick, I have to mark the element with an attribute ... xsi:nil="true"
and of course, since the xsi namespace isn't in the parent scope, I'll have to toss in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
shame I couldn't just omit the element altogether
I guess the schema author didn't know what they were doing
oh hang on, here comes another element! ...

So the question becomes whether Xero-the-API would prefer empty elements or no elements when there is nothing to say (and it's allowed).
If it prefers no elements at all, then using 'minOccurs=0' and NOT marking it 'nillable' is the right way to go.
If it prefers empty elements over absent ones, then 'minOccurs>0' and either:

permit the element to be empty per its content-model; OR
mark it as nillable

But what we don't need is minOcurrs=0' *and* nillable`.  That seems wrong to me.  I'll StackOverflow it just to check though.

Laid into 'em with https://github.com/XeroAPI/XeroAPI-Schemas/issues/33


[BUG] Keybinding unaccessible

🔵 Describe the bug:
unable to access keybinding tab
🔵 To reproduce: (Steps to reproduce the behavior)
All addons turned off, when I type /gse and then click "Keybindings I get a lua error
🔵 The error:
Paste the error message in this blockquote.
Message: bad argument #1 to '?' (outside of expected range -2147483648 to<PHONE_NUMBER> - Usage: local configInfo = C_Traits.GetConfigInfo(configID))
Time: Mon Jul 29 12:02:46 2024
Count: 1
Stack: bad argument #1 to '?' (outside of expected range -2147483648 to<PHONE_NUMBER> - Usage: local configInfo = C_Traits.GetConfigInfo(configID))
[string "@Interface/AddOns/GSE/Lib/AceGUI-3.0/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua"]:23: in function <...AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua:22>
Locals: self =  {
highlight = Texture {
}
label = FontString {
}
parent =  {
}
image = Texture {
}
userdata =  {
}
base =  {
}
fontObject = AceGUI30LabelFont5 {
}
disabled = false
type = "InteractiveLabel"
AceGUIWidgetVersion = 21
events =  {
}
frame = Frame {
}
}
name = "OnClick"
🔵 Screenshots:

🔵 Expected behavior:
Yesterday it worked just fine and I was able to access the menu fully, every other tab works as intended.
🔵 GSE.lua file:
Please provide your GSE.lua file or the export string for the specific macro that is causing an issue.
GSE.zip
🔵 Desktop (please complete the following information):
Windows 11
Retail TWW
🔵 GSE Version:

Version: 3.2.02-b
Downloaded From: curseforge

🔵 Additional context:
When I login, (no addons besides GSE) I also get the following lua error but just once and it doesn't repeat even after a /reload
Message: ...Blizzard_PlayerSpells/Blizzard_PlayerSpellsFrame.lua:318: Usage: GetSpecializationInfoByID(specID[, sex])
Time: Mon Jul 29 12:11:51 2024
Count: 1
Stack: ...Blizzard_PlayerSpells/Blizzard_PlayerSpellsFrame.lua:318: Usage: GetSpecializationInfoByID(specID[, sex])
[string "@Interface/AddOns/Blizzard_PlayerSpells/Blizzard_PlayerSpellsFrame.lua"]:318: in function <...Blizzard_PlayerSpells/Blizzard_PlayerSpellsFrame.lua:315>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Blizzard_PlayerSpells/ClassTalents/Blizzard_ClassTalentsFrame.lua"]:729: in function RefreshCurrencyDisplay' [string "@Interface/AddOns/Blizzard_PlayerSpells/ClassTalents/Blizzard_ClassTalentsFrame.lua"]:1345: in function UpdateInspecting'
[string "@Interface/AddOns/Blizzard_PlayerSpells/ClassTalents/Blizzard_ClassTalentsFrame.lua"]:103: in function <...erSpells/ClassTalents/Blizzard_ClassTalentsFrame.lua:66>
[string "=[C]"]: ?
[string "=[C]"]: in function LoadAddOn' [string "@Interface/AddOns/GSE/API/CharacterFunctions.lua"]:99: in function GetCurrentTalents'
[string "@Interface/AddOns/GSE/API/CharacterFunctions.lua"]:194: in function GetSelectedLoadoutConfigID' [string "@Interface/AddOns/GSE/API/Events.lua"]:122: in function <Interface/AddOns/GSE/API/Events.lua:103> [string "@Interface/AddOns/GSE/API/Events.lua"]:368: in function ?'
[string "@Interface/AddOns/GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <.../GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <.../GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Interface/AddOns/GSE/Lib/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...terface/AddOns/GSE/Lib/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals: self = PlayerSpellsFrame {
TitleContainer = Frame {
}
TabSystem = Frame {
}
Bg = PlayerSpellsFrameBg {
}
MaximizeMinimizeButton = Frame {
}
TalentsFrame = Frame {
}
SpecFrame = Frame {
}
MaxMinButtonFrame = Frame {
}
TopTileStreaks = Texture {
}
NineSlice = Frame {
}
maximizedWidth = "1618"
layoutType = "PortraitFrameTemplate"
PortraitContainer = Frame {
}
CloseButton = PlayerSpellsFrameCloseButton {
}
minimizedWidth = "809"
}
unitSex = 2
specID = nil
(*temporary) = 2

Hey unimalek,
thanks for this.  I do have another piece of information that I need.
there are now two GSE.lua files
there is the main one in WTF\Account\YourAccountName\SavedVariables. I can’t read the file you have attached on my phone at the moment but I am assuming this is the one you have attached
there is a second one I need at WTF\Account\YourAccountName\YourServer\YourCharacterName\SavedVariables
Are you able to please update the second one and also advise the class of your character?  (If this is the one you have uploaded instead of the first I just need that one this time.)  Unfortunately I need both the character one and the account one.
zios are fine and valid - I just need to get to the PC to look at them rather than on the phone

Hey,
Files attached
On Mon, Jul 29, 2024 at 12:39 PM Timothy Minahan @.***>
wrote:

Hey unimalek,
thanks for this. I do have another piece of information that I need.
there are now two GSE.lua files
there is the main one in WTF\Account\YourAccountName\SavedVariables. I
can’t read the file you have attached on my phone at the moment but I am
assuming this is the one you have attached
there is a second one I need at
WTF\Account\YourAccountName\YourServer\YourCharacterName\SavedVariables
Are you able to please update the second one and also advise the class of
your character? (If this is the one you have uploaded instead of the first
I just need that one this time.) Unfortunately I need both the character
one and the account one.
zios are fine and valid - I just need to get to the PC to look at them
rather than on the phone
—
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GSE-Advanced-Macro-Compiler/issues/1554#issuecomment-2256539937,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUUAZWSTSPFYAQVQWJLO23ZOZ46NAVCNFSM6AAAAABLUWMQ3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGUZTSOJTG4
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Hey
Class as Paladin
On Mon, Jul 29, 2024 at 12:39 PM Timothy Minahan @.***>
wrote:

Hey unimalek,
thanks for this. I do have another piece of information that I need.
there are now two GSE.lua files
there is the main one in WTF\Account\YourAccountName\SavedVariables. I
can’t read the file you have attached on my phone at the moment but I am
assuming this is the one you have attached
there is a second one I need at
WTF\Account\YourAccountName\YourServer\YourCharacterName\SavedVariables
Are you able to please update the second one and also advise the class of
your character? (If this is the one you have uploaded instead of the first
I just need that one this time.) Unfortunately I need both the character
one and the account one.
zios are fine and valid - I just need to get to the PC to look at them
rather than on the phone
—
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GSE-Advanced-Macro-Compiler/issues/1554#issuecomment-2256539937,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUUAZWSTSPFYAQVQWJLO23ZOZ46NAVCNFSM6AAAAABLUWMQ3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGUZTSOJTG4
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Hey Uninakek,
thanks but unfortunately GitHub stripped the attached files from you email.

charachterSavedVariables.zip
GSE.zip

I deleted the character specific GSE.lua the error went away.
Doing a right click reinstall on curseforge did not solve the issue but deleting that character specific file did. Maybe it became corrupted somehow and that is why it was giving the lua error and making "keybinding" tab inaccessible.
Error only showed on 1/2 characters that I tried.

Cheers I will see what I can find

Found the problem - it was tied to this
Message: ...Blizzard_PlayerSpells/Blizzard_PlayerSpellsFrame.lua:318: Usage: GetSpecializationInfoByID(specID[, sex])
Time: Mon Jul 29 12:11:51 2024


IntelliJ run configurations

Proposal
The WireMock contribution guide mentions a few Gradle commands that are necessary for different aspects of developing WireMock itself.
Each such command could have a specific IntelliJ Run Configuration added to the repository, so that contributors have easier and quicker access to these actions, something like the ones below:

Command
Run Configuration name

./gradlew clean test
Run tests

./gradlew jar shadowJar
Build WireMock

./gradlew publishToMavenLocal
Publish to Maven local

./gradlew spotlessApply
Run Spotless

References
No response

It would be nice indeeed

Alright. Then, I'll create a PR for this soon.

@picimako I guess it can be closed now, right?

@oleg-nenashev Yes, it is completed and can be closed.