scrollbar

scrollbar

This issue was imported from Google Moderator
Moderator votes: +9
Issue added by Codler on 2012-03-22
To vote this issue up or down, simply include +1 or -1 in your comment.

@Fyrd This description is way too vague.

Yup.


Enhancement for MeshSync Settings Page

Signed-off-by: dhruv0000<EMAIL_ADDRESS>...and potentially Config Wizard.
Description
This PR:

Gives user the ability to do few step individually
a. Deploy MeshSync
b. connect to broker

Adds one more state CONNECTED to show if Meshery Server is CONNECTED  to NATS.

https://www.figma.com/file/SMP3zxOjZztdOLtgN4dS2W/Meshery-UI?node-id=4%3A5825
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #3875 (00b1004) into master (a762128) will decrease coverage by 5.67%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3875      +/-   ##
==========================================
- Coverage   23.82%   18.15%   -5.68%
==========================================
  Files          53       63      +10
  Lines        4252     4787     +535
==========================================
- Hits         1013      869     -144
- Misses       2963     3661     +698
+ Partials      276      257      -19

Flag
Coverage Δ

gointegrationtests
?

unittests
18.15% <ø> (+1.80%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-62.83%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.15% <0.00%> (-52.93%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
0.90% <0.00%> (-39.10%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.39% <0.00%> (-22.38%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
0.00% <0.00%> (-21.60%)
:arrow_down:

mesheryctl/pkg/utils/platform.go
0.00% <0.00%> (ø)

mesheryctl/pkg/utils/sse-client.go
0.00% <0.00%> (ø)

mesheryctl/internal/cli/root/app/offboard.go
46.15% <0.00%> (ø)

mesheryctl/internal/cli/root/app/app.go
42.85% <0.00%> (ø)

mesheryctl/internal/cli/root/filter/filter.go
42.85% <0.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d8f1ff...00b1004. Read the comment docs.

A few merge conflicts have emerged. Let's use the NATS logo to represent NATS.

Let's use the NATS logo to represent NATS.

@leecalcote , i don't think their logo is something that will fit in the chip that we are using 🤔

@sudo-NithishKarthik here you go - https://raw.githubusercontent.com/cncf/artwork/master/projects/nats/icon/color/nats-icon-color.svg

There are some changes yet to be done in UI, i will make them today, and we should be good to go.

Merge conflicts have come about.

Does this also address the slowness of this subscription to start ( 4 or 5 seconds for actual Meshery Operator status to show) or will that be separately handled?

No, I think it's better to handle it separately.

a couple conflicts have arisen

Trying out broadcasting.

Dependency: https://github.com/layer5io/meshkit/pull/103

wow. Broadcasting was the thing. Subs are working like a charm.

Awesome  @dhruv0000  🙌

Depend PR https://github.com/layer5io/meshkit/pull/103 must be merged first, yes? MeshKit released and dependency updated here?

Dependent PR layer5io/meshkit#103 must be merged first, yes? MeshKit released and dependency updated here?

go.mod is pointing to my meshkit repo (temporarily) , so this PR is good to merge. If the MeshKit PR is merged first, can update the go.mod here.

Dependent PR layer5io/meshkit#103 must be merged first, yes? MeshKit released and dependency updated here?

go.mod is pointing to my meshkit repo (temporarily) , so this PR is good to merge. If the MeshKit PR is merged first, can update the go.mod here.

Thank you. We always want to avoid pointing to third-party repos when possible. Let's land the MeshKit PR and release.


Rough edges while moving vertices across the tool path

Esentially the Sim3D.cs weirdly moves the vertices approximatelly where the Tools edge shouldve cut it, see Pyro/Pyro.Nc/Simulation/Sim3D.cs

I made peace with the fact that this just isn't going to get fixed, and there is no time to do so.
The issue is rooted in the way we currently move vertices, which tends to create such edges by it's nature.


[QUERY]how to get role assignment with scope "/"

Query/Question
How can we help?
how to get role assignment with scope "/".
It seems .RoleAssignments.ListByScopeAsyncor other method are not support scope “/”.
var tokenCredentials = new TokenCredentials(armToken);
                var authenticated = Azure
                    .Configure()
                    .WithLogLevel(HttpLoggingDelegatingHandler.Level.Basic)
                    .Authenticate(new AzureCredentials(
                        tokenCredentials,
                        tokenCredentials,
                        organizationId,
                        AzureEnvironment.AzureGlobalCloud));

                var roledefinition = await authenticated.RoleDefinitions.GetByScopeAndRoleNameAsync("/", BuiltInRole.UserAccessAdministrator.ToString());
                var roleAssignments = await authenticated.RoleAssignments.ListByScopeAsync("/");

now I can only get that from api:
https://management.azure.com/providers/Microsoft.Authorization/roleAssignments?api-version=2015-07-01&$filter=principalId eq '***'
Environment:

Name and version of the Library package used: [e.g. Azure.management.fluent 1.34.0]
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]
IDE and version : [e.g. Visual Studio 16.3]

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

any update?

I try to use another method to get role assginment:
var roleAssignments = await authenticated.RoleAssignments.GetByIdAsync(roledefinition.Id);
But it failed like ther viersion api version used 2018-09-01-preview, is not suitable.
Any one can help?
[2020_08_12_08_52_30.968] [LogException], AzureResourceService, GetAzureClientAynsc, 13be6b52-e8b1-4622-afd3-e8bcc5f3709e, exception:Microsoft.Rest.Azure.CloudException: The resource type 'roleDefinitions' could not be found in the namespace 'Microsoft.Authorization' for api version '2018-09-01-preview'. The supported api-versions are '2014-04-01-preview,2014-07-01-preview,2014-10-01-preview,2015-05-01-preview,2015-06-01,2015-07-01,2016-07-01,2017-05-01,2017-09-01,2018-01-01-preview,2018-07-01'.
at Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentsOperations.GetByIdWithHttpMessagesAsync(String roleId, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentsOperationsExtensions.GetByIdAsync(IRoleAssignmentsOperations operations, String roleId, CancellationToken cancellationToken)

duplicate with https://github.com/Azure/azure-libraries-for-net/issues/1122


Build Demo and Watch demo now uses dev and prod configuration

Currently, watch-demo and build-demo use the same configuration and watch-demo requires target flag for ES version to be compiled in. This PR separates this where watch-demo will make use of tsconfig-dev.json and build-demo will make use of tsconfig.json (production) providing flexibility in defining target and other params while removing separate handling of target in each script.

This change is

Nice work!!

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


fix suitability bug

Looks like the bug in suitability was caused by the competition functionality. As this was unused currently chose to remove it.


crooksandliars.com extractor

And by the way, I wish the generic extractor would simply download the webpage and match all extractors against all the iframe and embed tags in the webpage. Could have saved me a bit of trouble.

All tests failed due to missing 'ext' attribute in 'info_dict'. Please fill in the field.

What is it supposed to be set to? This particular video is available as both WebM and mp4. I don't see the point in specifying 'ext' in the test at all.

It should be the extension of the best quality video file.

Thanks.


Fix title

fix page title everywhere to "Norwegian Life Science RDM LookUp"

I can take care of the titles mentioned in text.
What about the text in the logo (in top menu)? I am fine with it for now. If we update text there, we'd then also need to think about adding Norway flag/map in the logo then.

I can change the logo if desired. Adding a map might work but will start to look cluttered.

How about just adding magnifying-glass icon after "LookUp" or as part of logo? if latter, then we can add flag as icon after the word 'LookUp' in the logo. Does that make sense? :D

I tried to play with the circle as magnify glass, but it was too many details.

the repo should also be renamed.

fixed by https://github.com/elixir-oslo/biomeddata/commit/283c5095909cd4d71e82c53d03be7374d34ed403
the repo should still be renamed

I have yet to submit my changes. I will update the name once all issues are resolved (assuming the repo's name change will also effect website URL).

The repo is renamed.
I have yet to submit my changes from my fork..


publish to NPM as a React-Component

Create as a custom React component and Publish to NPM.

Using Neutrino React Components Preset, we prepared a package for React custom components. Also we have adopted yarn as our package manager.
cf. https://neutrinojs.org/

The following toolchains offer more flexibility and choice. We recommend them to more experienced users:

Neutrino combines the power of webpack with the simplicity of presets, and includes a preset for React apps and React components.

cf. More Flexible Toolchains | Create a New React App – React

Using Neutrino React Components Preset, we prepared a package for React custom components. Also we have adopted yarn as our package manager.
cf. https://neutrinojs.org/

The following toolchains offer more flexibility and choice. We recommend them to more experienced users:

Neutrino combines the power of webpack with the simplicity of presets, and includes a preset for React apps and React components.

cf. More Flexible Toolchains | Create a New React App – React


CI test builds failing with "invalid action cache entry"

Title: CI test builds failing with "invalid action cache entry"
Description:
I'm seeing CI runs fail to build changed files with messages like:
ERROR: /source/test/extensions/filters/http/cache/BUILD:71:24: Compiling test/extensions/filters/http/cache/cache_filter_test.cc failed: (Exit 34): Invalid action cache entry 0da235ebddfcb79aa14ea81f1aa904e9fdf4b016e4fb535094a666317649c5b5: expected output test/extensions/filters/http/cache/_objs/cache_filter_test/cache_filter_test.pic.o does not exist.
I've seen a couple different PRs with this problem: my results here for #20593 and another failure here for #20581.
There's a recent Bazel bug with similar error messages, so we can probably fix this by pulling in the fix there.
Repro steps:
Run the linux_x64 gcc presubmit on https://github.com/envoyproxy/envoy/pull/20593.

According to that bazel issue it is fixed in bazel 5.1, which I updated main too yesterday https://github.com/envoyproxy/envoy/commit/fd92486e4c751b29cd92412fd862ced6c6bae073 🤔

In case the CI log rotates here's more of the stack:
ERROR: /source/test/extensions/filters/http/cache/BUILD:71:24: Compiling test/extensions/filters/http/cache/cache_filter_test.cc failed: (Exit 34): Invalid action cache entry 0da235ebddfcb79aa14ea81f1aa904e9fdf4b016e4fb535094a666317649c5b5: expected output test/extensions/filters/http/cache/_objs/cache_filter_test/cache_filter_test.pic.o does not exist.
java.io.IOException: Invalid action cache entry 0da235ebddfcb79aa14ea81f1aa904e9fdf4b016e4fb535094a666317649c5b5: expected output test/extensions/filters/http/cache/_objs/cache_filter_test/cache_filter_test.pic.o does not exist.
	at com.google.devtools.build.lib.remote.RemoteExecutionService.downloadOutputs(RemoteExecutionService.java:1031)
	at com.google.devtools.build.lib.remote.RemoteSpawnRunner.downloadAndFinalizeSpawnResult(RemoteSpawnRunner.java:367)
	at com.google.devtools.build.lib.remote.RemoteSpawnRunner.lambda$exec$2(RemoteSpawnRunner.java:284)
	at com.google.devtools.build.lib.remote.Retrier.execute(Retrier.java:244)
	at com.google.devtools.build.lib.remote.RemoteRetrier.execute(RemoteRetrier.java:125)
	at com.google.devtools.build.lib.remote.RemoteRetrier.execute(RemoteRetrier.java:114)
	at com.google.devtools.build.lib.remote.RemoteSpawnRunner.exec(RemoteSpawnRunner.java:239)

I'm wondering now if this degraded in Bazel 5.1 and we should downgrade back to 5.0 🤔

https://github.com/envoyproxy/envoy/pull/20615

https://github.com/envoyproxy/envoy/pull/20741


Discuss Observability Tooling Guidance for Serverless Apps

I'm going to add a sample to the .NET set demonstrating Observability Driven Development, the crux of which being that the assertions in the tests are based on the generated traces. It forces you to have good observability once deployed.
Another great suggestion though :)


Add link to data-layer core document

Just a link to the google docs for the data layer so it is not lost in space.

:tada: This PR is included in version 2.21.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


change signal name for verilator 3.886

Signal names start with its top module name, not with 'v'

@ucbjrl 17c913c catches compile errors and will give you fails without 904bd08 for verilator 3.886.


Add issue templates

This PR adds issue, feature, and pull request templates as discussed in #42.

cc @saulshanabrook


TILA-603 Fix issue with unallocatable wishes leading to returning zer…

…o solutions.

Well this one was tough to figure out, since python or tools is just a wrapper for the c++ solver, so pretty impossible to see what's going on 😢


Moving object labels

Hello @lshafir.

but we saw that the current buffers available to mark the object ID are only 0-255

That's our problem too!
To make clear, you are interested only in knowing if the object is moving or not?
The way I would do it would be checking the car transformation, and see if it is different from the previous frame. If this is the case, you can iterate all the points in your point cloud relevant to this car and set the information (like you said). How to find these points? Check out this issue in case you don't have done it #76. This is all we know on this topic.
We have plans to do this instance semantic segmentation in the future.
Originally posted by @marcgpuig in https://github.com/carla-simulator/carla/issues/755#issuecomment-418405820
Thanks for your great work on the Carla simulator and the instance segmentation that has been implemented is awesome!
I am having a question about moving objects: Is there a straightforward way to get annotations of moving or stationary actors in the current version of Carla (0.9.13)? My goal is to get a boolean value for each instance in the scene (vehicle, pedestrian, truck, bicyclist, etc.) if it is moving or standing still. You mentioned in the referenced issue a few years ago that checking the car (or probably then any actor's) transformation to see if it differs to the previous frame is a way to do it. By this, you mean to iterate through all of the actors for each frame and store/compare their individual transformations?
Right now, given the instance segmentation, I am comparing the instance centers of objects to the previous frame. While this approach works like a charm, some minor false positives occur when points appear or disappear from a stationary object due to, e.g., occlusion. That is, because the bounding box center or mean of an instance's points change.
The only other way I see is implementing a new kind of sensor that adds this information to the semantic lidar sensor, is this the only way?

If anyone is interested in a solution: Using all the transforms synchronized at world tick works combined with the instance labels.

But I think there is still a problem since the instance labels are different between UE4 and CARLA, which causes the id you get from API is UE4 but the speed look up is CARLA actor.
Check this discussion maybe help: https://github.com/carla-simulator/carla/discussions/5047


Roles interacting with Roles or with objects?

Hello Arjan,
I'm looking at the example
https://github.com/amolenaar/roles/blob/24be07e2573b464c619fd87dbb22a53967452d1e/example.py#L37-L41
and have the following question:
Shouldn't roles only be interacting with other roles?
However, the MoneySource role is interacting with the instance "sink",
which the MoneySink role will be bound to only some time later in the context class TransferMoney.
Let's think about it: MoneySource prescribes, which object MoneySink must be bound to in context ...
What if that name changes in the context class? Isn't the point of DCI roles to decouple roles from object instances?
This is a coupling between object, context and role, that shouldn't be happening before the binding in the context class takes place, correct?
The way it's now, doesn't seem to make sense to me, but I could be wrong.
What are your thoughts on this?

Yes Arjan, your package seems very important to me, as DCI (the context aspect in particular) is otherwise missing from Object Oriented programming in Python — at least: a systematic approach to it.
Thank you for making the intent more clear. I understand how you've coupled roles and instances and the exemplary roleplay.
As I'm looking at the updated example, I am still missing a couple of tenets of DCI, as James Coplien teaches it:

Roles make sense only within a context
Roles only interact with other Roles, within a context. Other objects are only interacted with through the Roles they are bound to.
Roles access only their own bound object's methods, and not other Roles' objects directly

What I notice in the example, however is:

Right now it is possible within a Role, to call another Role's bound object's (non-role) methods.
e.g. within Role MoneySource I am able to call context.sink.deposit(amount), which should result in an access error.

In the updated example, you're explicitly telling the source where to transfer the amount. It should not be necessary to provide that parameter, as the meaning of a "sink" is semantically already clear within the MoneyTransfer context.
Instead, it should be context.MoneySink.receive(amount) within MoneySource.transfer().
Not the bound object names should be on the context stack, but the Roles.
In my view, only the receive method (green in the following screenshot) should be available, and instead of sink (red) it should be MoneySink.

The MoneyTransfer class itself is not yet a context but only implicitly becomes a context once a context is created inside of it. Though I'm still pondering whether this would finally be a good idea, using a Context metaclass.

Do these points make sense to you?
Here is a code snippet I've created, that shows a bit more of how I'd expect DCI programming to function.
See following draft pull request for further discussion: https://github.com/amolenaar/roles/pull/5/commits/2d775895cc3df74981422409c29c2887746c0b3a


Update grantlee's sha1

:)

fixes #52 (which probably shouldn't have been closed).

We'll try to use grantlee from http://www.grantlee.org/downloads/


Possible to hide/show dendron tree view/backlinks panes via workspace settings?

I'd like to always show the backlinks and dendron tree views in the explorer for my dendron workspace, but not my other workspaces. Unfortunately when I right click → toggle them off in another workspace, it removes them from my dendron one as well.
Is there a setting that controls these? I did see this and tried stuff like explorer.dendronTreeView.visible and explorer.dendronTreeView.visibility in my settings.json but it doesn't seem like these are valid settings.
I understand there are commands to focus them, but what I'd like to do is hide/show them from the entire view (i.e. have per-workspace settings for these checkboxes):

Thanks!

As far as I know, VSCode doesn't offer the ability to toggle treeviews on a per workspace setting (happy to be corrected on this).
We have an issue to show a dedicated backlink window as a pane instead of a tree view. We could also do the same for tree view. Plus have a shortcut to easily bring up these panes. I realize this isn't quite what you wanted but it's probably the closest we can get at this point.

Totally understandable—I haven’t found anything to suggest VSCode offers this either. This is a very minor annoyance at worst; I think overall the experience with them as editor panes is great.
I can’t wait to hear how you’re planning to monetize dendron this so I can give you some money for this awesome product! 💸

One alternative that works well for me is to keep different versions of vscode specific for dendron. you can see the discord thread here. copied verbatim below in case you don't use discord
my setup:
- I keep 3 versions of vscode (vscode, vscode insider, vscodium)
- I have a mac so I usually have two windows of each version running at any time
    - i'm running on mac so i can toggle between windows using `cmd+~`
- each vscode version also has a custom keyboard shortcut which I've configured using alfred

- vscode versions:
    - vscode: used for coding
    - vscode insider: two windows, one focused on dendron specific notes and one for personal notes
        - both windows use the same vault but different workspaces (this is because vscode does not let you have multiple windows open to the same workspace)
        - because you can define a custom path (https://dendron.so/notes/401c5889-20ae-4b3a-8468-269def4b4865.html) for your vault, you can still point two workspaces to the same vault
    - vscodium: two windows, one focused on https://dendron.so documentation (use as reference as well as to update) and another for an alternate workspace i'm working on (eg. https://aws.dendron.so)

the idea here is that I can access any note in any workspace using at most, two keyboard shortcuts.

as for monetization, Dendron will be coming out of preview in November, at which point we will launch our Environmentalist Plan :evergreen_tree:. This is a monthly subscription to support the development of Dendron. Environmentalist will get a special badge on Discord, priority email/discord access to the development team, and stickers!
long term, we will also be developing server side additions like private hosting/sharing as well as managed end2end sync. you can read about that here :)


Create RDS postgresql instance

Create pass database
System property in pass-core results in schema creation on app launch

Created the database pass-core-db. Have been investigating how to launch pass-core against it to test the setup.


YAIB: Yet another ImPACT branch

As requested by @kosack I open a PR with my version of @ParsonsRD ctapipe ImPACT implementation, where I've introduced changes to make the code able to merge with the current HEAD.
This branch also has a modification to some reco tests, and in particular test_reconstruction_changes.py expects that you have a local copy of LSTCam.template.gz and NectarCam.template.gz that I've generated from a larger template file supplied by @ParsonsRD, both should now be available on the test server.
The events used for the test are very low energy events, and the NectarCam template is actually just the LST one again, so performance on these events is not stellar, but they are processes without crashes.

I added an implementation of the energy seed. Since this is not strictly necessary to run ImPACT, it is a bit different from the geometry seed. Also, the telescope impact distances were not properly saved in case the reconstruction ran through, so I added the line for that.

After discussion with @ParsonsRD , I removed the option for energy preminimization in case no energy seed is present for a given event. An energy seed is now required to run ImPACT.

This update mostly includes the changes and fixes currently under discussion in #2388 adapted for the ImPACT pixel likelihood interface. As an aside, keeping constants in the likelihood can actually be important here, namely when likelihoods from the image and time gradient fits are added to get the correct relative statistical weights.

Some minor issue in the lint, please fix

Hi all,
I am going to merge this now, thanks to everyone who put in the hard work to make this function again! @gschwefer @Tobychev @ParsonsRD
There are a lot of comments for improvements here, but these are very hard to review, so I will merge here and let's continue in easier to review follow-up PRs.


Fix lineStyle+fillStyle drawCalls count

lineStyle never goes into one drawCall with fillStyle if batching is turned off. That means PixiJS just spams drawCalls for graphics! Bug exists even in 5.0.1

Demo has extra feature: it shows wireframe for fills!
Bug, 2 drawcalls: https://www.pixiplayground.com/#/edit/oXRqFpfuva9wwP6B_0V1d
Fixed, 1 drawcall: https://www.pixiplayground.com/#/edit/AjVLQ2NLsXQXM9KrUWCcp

This doesn’t make sense to me. Native is a line specific property. It doesn’t make sense to throw it on Fill. Are you sure you’re fixing the right thing here?

Oh, right, I didnt explain it, sorry :)
One big problem: https://github.com/pixijs/pixi.js/blob/dev/packages/graphics/src/GraphicsGeometry.js#L653
Not big, but adds extra batch: https://github.com/pixijs/pixi.js/blob/dev/packages/graphics/src/GraphicsGeometry.js#L484

So fix that case. If native is undefined use false. Don’t change the API to something illogical.

OK then, do you want me to change those to != and comment "do not touch that" ?

Just don't change LineStyle or FillStyle. It's not fixing the problem, it just creating API confusion.
For fills, can you just do !!style.native

ok, done

Codecov Report

Merging #5981 into dev will decrease coverage by 0.01%.
The diff coverage is 50%.

@@            Coverage Diff            @@
##             dev    #5981      +/-   ##
=========================================
- Coverage   70.4%   70.38%   -0.02%
=========================================
  Files        208      208
  Lines      10505    10533      +28
=========================================
+ Hits        7396     7414      +18
- Misses      3109     3119      +10

Impacted Files
Coverage Δ

packages/graphics/src/GraphicsGeometry.js
73.12% <50%> (ø)
:arrow_up:

...ckages/core/src/renderTexture/RenderTexturePool.js
51.16% <0%> (+6.33%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4e120d...485dc8a. Read the comment docs.


I can't solve this error: "libtorch_python.so: undefined symbol"

Hello, I'm trying to build stonne-simulator on my conda environment(env name: Test) with python 3.7.
Here is what I stepped before.

clone the repository and create environment(conda create -n  python=3.7
change directory to pytorch-frontend and run setup.py (python setup.py install)
change directory to pytorch-frontend/stonne_connection and run setup.py (python setup.py install)
-> in step 3, it occurred following statemetnt.
Traceback (most recent call last):
File "setup.py", line 2, in
from torch.utils import cpp_extension
File "/home/inje/anaconda3/envs/Test/lib/python3.7/site-packages/torch/init.py", line 189, in
from torch._C import *
ImportError: /home/inje/anaconda3/envs/Test/lib/python3.7/site-packages/torch/lib/libtorch_python.so: undefined symbol: _ZN5torch3jit7testing9FileCheck10check_nextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

The error also occurred on prebuilted torch environment(python3.7+ torch1.7+cuda102).
Is there any problem that I miss it? I'm hopefully wait for your comments!
Thanks for reading

Hi @Kiminje ,
Try to run python setup clean in stonne_connection and then run install again.
After running step 2, have you tried to import torch from a Python script? If so, does it work?

Since same error occurred, I can't run clean my setup.py in stonne-connection.

you mean that I should build using command 'make local' on pytorch-frontend for using script? (I understand about your 'script' meaning folder name 'scripts')
I clean my previous build in pytorch-frontend and rebuild using 'make local' just now.
Thanks for your fast reply.

You could try it, but it should run using the script. Try to clean the build directory in pytorch-frontend and in pytorch-frontend/stonne_connection and try the three steps again.
After installing the second step, try to open a Python console and run "import torch" command. Let me know if you can import the package. If so, go to step 3.

I have following error statement after installing second step.
Python 3.7.10 (default, Feb 26 2021, 18:47:35)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import torch
Traceback (most recent call last):
File "", line 1, in
File "/home/inje/stonne/pytorch-frontend/torch/init.py", line 384, in
from .tensor import Tensor
File "/home/inje/stonne/pytorch-frontend/torch/tensor.py", line 9, in
from torch._C import _add_docstr
ImportError: cannot import name '_add_docstr' from 'torch._C' (unknown location)

mm, actually, this has more to do with the Pytorch installation.  It could seem weird, but have you tried to import the module from other path? If your working directory is pytorch-frontend when you open the python console you get that error. So maybe that is what is happening? Try to do so (import torch from a Python console) from other path and let me know if the problem persists.

Yes, I understood now that should not run python in the compiled folder.
Here is my full command line.

Apparently, the installation of pytorch was not successful then. Otherwise, you would be capable of importing it. How does the step 2 finish? Does it say it was installed correctly? I suppose it doesn't. So, what is the error?

This is a part of log when build in pytorch-frontend.  Compiling without MAGMA support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Performing Test NO_GCC_EBX_FPIC_BUG
-- Performing Test NO_GCC_EBX_FPIC_BUG - Success
-- Performing Test C_HAS_AVX_1
-- Performing Test C_HAS_AVX_1 - Failed
-- Performing Test C_HAS_AVX_2
-- Performing Test C_HAS_AVX_2 - Success
-- Performing Test C_HAS_AVX2_1
-- Performing Test C_HAS_AVX2_1 - Failed
-- Performing Test C_HAS_AVX2_2
-- Performing Test C_HAS_AVX2_2 - Success
-- Performing Test CXX_HAS_AVX_1
-- Performing Test CXX_HAS_AVX_1 - Failed
-- Performing Test CXX_HAS_AVX_2
-- Performing Test CXX_HAS_AVX_2 - Success
-- Performing Test CXX_HAS_AVX2_1
-- Performing Test CXX_HAS_AVX2_1 - Failed
-- Performing Test CXX_HAS_AVX2_2
-- Performing Test CXX_HAS_AVX2_2 - Success
-- AVX compiler support found
-- AVX2 compiler support found
-- MKL_THREADING = OMP
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: /home/inje/anaconda3/envs/test/lib/libmkl_intel_lp64.so
--   Library mkl_gnu_thread: /home/inje/anaconda3/envs/test/lib/libmkl_gnu_thread.so
--   Library mkl_core: /home/inje/anaconda3/envs/test/lib/libmkl_core.so
CMake Warning (dev) at /home/inje/anaconda3/envs/test/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to find_package_handle_standard_args (OpenMP_C)
does not match the name of the calling package (OpenMP).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindOpenMP.cmake:565 (find_package_handle_standard_args)
cmake/Modules/FindMKL.cmake:213 (FIND_PACKAGE)
cmake/Modules/FindMKL.cmake:307 (CHECK_ALL_LIBRARIES)
cmake/Modules/FindBLAS.cmake:99 (FIND_PACKAGE)
cmake/Modules/FindLAPACK.cmake:22 (FIND_PACKAGE)
cmake/Dependencies.cmake:1627 (find_package)
CMakeLists.txt:480 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/inje/anaconda3/envs/test/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindOpenMP.cmake:565 (find_package_handle_standard_args)
cmake/Modules/FindMKL.cmake:213 (FIND_PACKAGE)
cmake/Modules/FindMKL.cmake:307 (CHECK_ALL_LIBRARIES)
cmake/Modules/FindBLAS.cmake:99 (FIND_PACKAGE)
cmake/Modules/FindLAPACK.cmake:22 (FIND_PACKAGE)
cmake/Dependencies.cmake:1627 (find_package)
CMakeLists.txt:480 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
--   Library gomp: -fopenmp
--   Library pthread: /usr/lib/x86_64-linux-gnu/libpthread.so
--   Library m: /usr/lib/x86_64-linux-gnu/libm.so
--   Library dl: /usr/lib/x86_64-linux-gnu/libdl.so
CMake Warning at cmake/Modules/FindMKL.cmake:385 (MESSAGE):
MKL libraries files are found, but MKL header files are not.  You can get
them by conda install mkl-include if using conda (if it is missing, run
conda upgrade -n root conda first), and pip install mkl-devel if using
pip.  If build fails with header files available in the system, please make
sure that CMake will search the directory containing them, e.g., by setting
CMAKE_INCLUDE_PATH.
Call Stack (most recent call first):
cmake/Modules/FindBLAS.cmake:99 (FIND_PACKAGE)
cmake/Modules/FindLAPACK.cmake:22 (FIND_PACKAGE)
cmake/Dependencies.cmake:1627 (find_package)
CMakeLists.txt:480 (include)
-- MKL library not found
-- Checking for [Accelerate]
--   Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
-- Checking for [vecLib]
--   Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
-- Checking for [openblas]
--   Library openblas: BLAS_openblas_LIBRARY-NOTFOUND
-- Checking for [openblas - pthread]
--   Library openblas: BLAS_openblas_LIBRARY-NOTFOUND
-- Checking for [goto2 - gfortran]
--   Library goto2: BLAS_goto2_LIBRARY-NOTFOUND
-- Checking for [goto2 - gfortran - pthread]
--   Library goto2: BLAS_goto2_LIBRARY-NOTFOUND
-- Checking for [acml - gfortran]
--   Library acml: BLAS_acml_LIBRARY-NOTFOUND
-- Checking for [blis]
--   Library blis: BLAS_blis_LIBRARY-NOTFOUND
-- Checking for [ptf77blas - atlas - gfortran]
--   Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND
-- Checking for [blas]
--   Library blas: BLAS_blas_LIBRARY-NOTFOUND
-- Cannot find a library with BLAS API. Not using BLAS.
-- LAPACK requires BLAS
-- Cannot find a library with LAPACK API. Not using LAPACK.
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
-- MKL_THREADING = OMP
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: /home/inje/anaconda3/envs/test/lib/libmkl_intel_lp64.so
--   Library mkl_gnu_thread: /home/inje/anaconda3/envs/test/lib/libmkl_gnu_thread.so
--   Library mkl_core: /home/inje/anaconda3/envs/test/lib/libmkl_core.so
CMake Warning (dev) at /home/inje/anaconda3/envs/test/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to find_package_handle_standard_args (OpenMP_C)
does not match the name of the calling package (OpenMP).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindOpenMP.cmake:565 (find_package_handle_standard_args)
cmake/Modules/FindMKL.cmake:213 (FIND_PACKAGE)
cmake/Modules/FindMKL.cmake:307 (CHECK_ALL_LIBRARIES)
cmake/Modules/FindBLAS.cmake:99 (FIND_PACKAGE)
cmake/Modules/FindMKLDNN.cmake:23 (FIND_PACKAGE)
cmake/public/mkldnn.cmake:3 (find_package)
cmake/Dependencies.cmake:1671 (include)
CMakeLists.txt:480 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/inje/anaconda3/envs/test/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindOpenMP.cmake:565 (find_package_handle_standard_args)
cmake/Modules/FindMKL.cmake:213 (FIND_PACKAGE)
cmake/Modules/FindMKL.cmake:307 (CHECK_ALL_LIBRARIES)
cmake/Modules/FindBLAS.cmake:99 (FIND_PACKAGE)
cmake/Modules/FindMKLDNN.cmake:23 (FIND_PACKAGE)
cmake/public/mkldnn.cmake:3 (find_package)
cmake/Dependencies.cmake:1671 (include)
CMakeLists.txt:480 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
--   Library gomp: -fopenmp
--   Library pthread: /usr/lib/x86_64-linux-gnu/libpthread.so
--   Library m: /usr/lib/x86_64-linux-gnu/libm.so
--   Library dl: /usr/lib/x86_64-linux-gnu/libdl.so
CMake Warning at cmake/Modules/FindMKL.cmake:385 (MESSAGE):
MKL libraries files are found, but MKL header files are not.  You can get
them by conda install mkl-include if using conda (if it is missing, run
conda upgrade -n root conda first), and pip install mkl-devel if using
pip.  If build fails with header files available in the system, please make
sure that CMake will search the directory containing them, e.g., by setting
CMAKE_INCLUDE_PATH.
Call Stack (most recent call first):
cmake/Modules/FindBLAS.cmake:99 (FIND_PACKAGE)
cmake/Modules/FindMKLDNN.cmake:23 (FIND_PACKAGE)
cmake/public/mkldnn.cmake:3 (find_package)
cmake/Dependencies.cmake:1671 (include)
CMakeLists.txt:480 (include)

I also try to find where the fixed path('paco') exists in the directory using grep, but I can't..

did you install all the dependencies for Pytorch?
Did you remove the build directory on pytorch-frontend before running the installation? (Sorry I think the build directory is on the repo and I should remove it. I still have to polish it)

I just installed packages(numpy, pyyaml, cmake) before so it could become problems.
so I installed all the dependencies(from https://pypi.org/project/torch/) common part. And then I remove and reinstall stonne repository, second step for building is going on now.

Perfect, then I think you should not have any problem to install the third step, right?

Sorry, I tried step 2 in non-CUDA computer, but neither occurred same error before.
(test) inje@franck:~$ python
Python 3.7.10 (default, Feb 26 2021, 18:47:35)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import torch
Traceback (most recent call last):
File "", line 1, in
File "/home/inje/anaconda3/envs/test/lib/python3.7/site-packages/torch/init.py", line 189, in
from torch._C import *
ImportError: /home/inje/anaconda3/envs/test/lib/python3.7/site-packages/torch/lib/libtorch_python.so: undefined symbol: _ZN5torch3jit7testing9FileCheck10check_nextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

If okay, Would you tell me your system info & installed dependencies list? mine is below.
(Ubuntu 18.04, GCC 7.3, anaconda python==3.7,
installed packages after build step 2
_libgcc_mutex             0.1                        main
blas                      1.0                         mkl
brotlipy                  0.7.0           py37h27cfd23_1003
bzip2                     1.0.8                h7b6447c_0
ca-certificates           2021.5.25            h06a4308_1
certifi                   2020.12.5        py37h06a4308_0
cffi                      1.14.5           py37h261ae71_0
chardet                   4.0.0           py37h06a4308_1003
cmake                     3.19.6               h973ab73_0
cryptography              3.4.7            py37hd23ed53_0
dataclasses               0.8                pyh6d0b6a4_7
expat                     2.4.1                h2531618_2
future                    0.18.2                   py37_1
idna                      2.10               pyhd3eb1b0_0
intel-openmp              2021.2.0           h06a4308_610
krb5                      1.18.2               h173b8e3_0
ld_impl_linux-64          2.33.1               h53a641e_7
libcurl                   7.71.1               h20c2e04_1
libedit                   3.1.20210216         h27cfd23_1
libffi                    3.3                  he6710b0_2
libgcc-ng                 9.1.0                hdf63c60_0
libssh2                   1.9.0                h1ba5d50_1
libstdcxx-ng              9.1.0                hdf63c60_0
libuv                     1.40.0               h7b6447c_0
lz4-c                     1.9.3                h2531618_0
mkl                       2021.2.0           h06a4308_296
mkl-include               2021.2.0           h06a4308_296
mkl-service               2.3.0            py37h27cfd23_1
mkl_fft                   1.3.0            py37h42c9631_2
mkl_random                1.2.1            py37ha9443f7_2
ncurses                   6.2                  he6710b0_1
ninja                     1.10.2               hff7bd54_1
numpy                     1.20.2           py37h2d18471_0
numpy-base                1.20.2           py37hfae3a4d_0
openssl                   1.1.1k               h27cfd23_0
pip                       21.1.1           py37h06a4308_0
pycparser                 2.20                       py_2
pyopenssl                 20.0.1             pyhd3eb1b0_1
pysocks                   1.7.1                    py37_1
python                    3.7.10               hdb3f193_0
pyyaml                    5.4.1            py37h27cfd23_1
readline                  8.1                  h27cfd23_0
requests                  2.25.1             pyhd3eb1b0_0
rhash                     1.4.1                h3c74f83_1
setuptools                52.0.0           py37h06a4308_0
six                       1.15.0           py37h06a4308_0
sqlite                    3.35.4               hdfb4753_0
tk                        8.6.10               hbc83047_0
torch                     1.7.0a0+6197569          pypi_0    pypi
typing_extensions         <IP_ADDRESS>            pyha847dfd_0
urllib3                   1.26.4             pyhd3eb1b0_0
wheel                     0.36.2             pyhd3eb1b0_0
xz                        5.2.5                h7b6447c_0
yaml                      0.2.5                h7b6447c_0
zlib                      1.2.11               h7b6447c_3
zstd                      1.4.9                haebb681_0

Umm.. I fixed it sir. my LD_LIBRARY_PATH is quite wrong.
i fix them right. (/home/inje/stonne/pytorch-frontend->/home/inje/stonne/pytorch-frontend/torch/lib)
Thank you so much for your help.

 Does it work now?

yes! all of packages installed successfully except torchvision.
As you mentioned in installation guide, I try to install torchvision from source but it is failed.
Error shown in below. Is there some ways to install using pip?
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/inje/anaconda3/envs/test/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1521, in _run_ninja_build
env=env)
File "/home/inje/anaconda3/envs/test/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
File "/home/inje/anaconda3/envs/test/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1237, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/inje/anaconda3/envs/test/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1537, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

I solve this error.(install torchvision after build step 2,  then uninstall only torch and reconfigure step 2)
I can run my benchmarks sir. Thank you!(very very)
p.s where is prebuilt-benchmarks?(bert, ssd-mobilenet, ssd-resnets...) I can't find them in stonne/benchmarks.


Problem when using the full path when ignoring files

I have a folder named ~/code/node_modules in which I put the source code of all the modules I'm developing. But as of v4.0.0 it seems that standard will now use the full path of a file when choosing to ignore it or not (I think it was introduced by 647672192bb7188b8255be7302211acbb7e9f582). And since my .gitignore is set up to ignore the folder node_modules, standard will now ignore all my files since the parent two levels up is also called node_modules.
I think it would be an easy fix to just use the relative path, but I'm not sure so I would like to hear your comments :)

Thanks to @mafintosh, this is fixed! Released as 4.3.2.


"geometry" object in "StreamLayerViewDataReceivedEvent" is not Esri Geometry [4.4]

The "geometry" object contained in a StreamLayer update ("StreamLayerViewDataReceivedEvent") is a generic object, not actually an Esri "Geometry" object. If desired, it can of course be passed into a constructor for a new Geometry object, but as the "target" property contains a valid "esri.layers.graphics.controllers.StreamController" (which itself contains valid references to Layer and LayerView objects), I would think it would make more sense for the "geometry" property to be a proper Esri Geometry object.

The data-received event of the StreamLayer is meant to be a generic object containing the raw JSON received from the Stream Service. It is there to allow a developer to intercept the message and do some kind of processing. The message is not always going to contain a geometry or have the standard properties of a feature, attributes, and geometry.  For instance when a filter is set on the Stream Service, a message gets sent that contains a filter  property and an error property.
If an Esri "Geometry" object is needed and a geometry property is in the message, the JSON can be used to construct the geometry.  Alternatively,  an event handler can be added  for  the  change event of the StreamLayerView.graphics property. Geometries can be accessed from the graphics in the added property of the event.
view.graphics.on("change", (evt) => {
  const added = evt.added;

  for (let item of added) {
    const g = item.geoemetry;

   //do something with the geometry
  }
}

Closing - based on the answer/comment above from @jcardonadcdev


don't overwrite IFS in bash shell integration script

This PR fixes #147939

btw @glasser , you mentioned not knowing how to test the changes. if you're curious https://github.com/Microsoft/vscode/wiki/How-to-Contribute#:~:text=Contributing to Visual Studio Code 1 Prerequisites. In,... 8 Translations. ... 9 Discussion Etiquette.


Error in asp.net core 2.1 project to swagger

System.InvalidOperationException: Swagger generation failed with non-zero exit code '1'.
Runtime: NetCore21
at NSwag.Commands.SwaggerGeneration.AspNetCore.AspNetCoreToSwaggerCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\AspNetCore\AspNetCoreToSwaggerCommand.cs:line 172
at NSwag.Commands.NSwagDocumentBase.GenerateSwaggerDocumentAsync() in C:\projects\nswag\src\NSwag.Commands\NSwagDocumentBase.cs:line 268
at NSwag.Commands.NSwagDocument.ExecuteAsync() in C:\projects\nswag\src\NSwag.Commands\NSwagDocument.cs:line 81
at NSwag.Commands.Document.ExecuteDocumentCommand.ExecuteDocumentAsync(IConsoleHost host, String filePath) in C:\projects\nswag\src\NSwag.Commands\Commands\Document\ExecuteDocumentCommand.cs:line 77
at NSwag.Commands.Document.ExecuteDocumentCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in C:\projects\nswag\src\NSwag.Commands\Commands\Document\ExecuteDocumentCommand.cs:line 31
at NConsole.CommandLineProcessor.ProcessSingleAsync(String[] args, Object input)
at NConsole.CommandLineProcessor.ProcessAsync(String[] args, Object input)
at NConsole.CommandLineProcessor.Process(String[] args, Object input)
at NSwag.Commands.NSwagCommandProcessor.Process(String[] args) in C:\projects\nswag\src\NSwag.Commands\NSwagCommandProcessor.cs:line 54
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'NSwag.CodeGeneration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c2d88086e098d109'. The system cannot find the file specified.
Could not load file or assembly 'NSwag.CodeGeneration.CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c2d88086e098d109'. The system cannot find the file specified.
Could not load file or assembly 'NSwag.CodeGeneration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c2d88086e098d109'. The system cannot find the file specified.
Could not load file or assembly 'NSwag.CodeGeneration.CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c2d88086e098d109'. The system cannot find the file specified.
Could not load file or assembly 'NSwag.CodeGeneration.TypeScript, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c2d88086e098d109'. The system cannot find the file specified.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.ToArray()    at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at AutoMapper.ServiceCollectionExtensions.AddAutoMapperClasses(IServiceCollection services, Action1 additionalInitAction, IEnumerable1 assembliesToScan)
at Mizekar.Micro.Idea.Startup.ConfigureServices(IServiceCollection services) in D:\Workspace\Mizekar.Micro.Idea\src\Mizekar.Micro.Idea\Startup.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
at NSwag.Commands.SwaggerGeneration.AspNetCore.AspNetCoreToSwaggerGeneratorCommandEntryPoint.GetServiceProvider(String applicationName) in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\AspNetCore\AspNetCoreToSwaggerGeneratorCommandEntryPoint.cs:line 64
at NSwag.Commands.SwaggerGeneration.AspNetCore.AspNetCoreToSwaggerGeneratorCommandEntryPoint.Process(String commandContent, String outputFile, String applicationName) in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\AspNetCore\AspNetCoreToSwaggerGeneratorCommandEntryPoint.cs:line 21
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at NSwag.AspNetCore.Launcher.Program.Main(String[] args) in C:\projects\nswag\src\NSwag.AspNetCore.Launcher\Program.cs:line 125

Do you see more error output before this stacktrace? Can you provide a repro sample proj?

Add NSwag.CodeGeneration.CSharp package to my project and that work fine!

Good to know, but still bothers me that this is required...

agree with you.
I think something is unnatural here.
I have two project with same format and technical details, only different in business and domain entities.
in project one nswag need NSwag.CodeGeneration.CSharp package for work, but in project two no need and that work fine.
i don't know why!
i have a nswag.config that call it from powershell and generate c# client code from aspnet core project.
nswag.config content:
{
"runtime": "NetCore21",
"defaultVariables": "Configuration=Release,ProjectName=Example",
"swaggerGenerator": {
"aspNetCoreToSwagger": {
"project": "$(ProjectName).csproj",
"noBuild": false,
"verbose": false,
"defaultPropertyNameHandling": "Default",
"defaultReferenceTypeNullHandling": "Null",
"defaultEnumHandling": "Integer",
"flattenInheritanceHierarchy": false,
"generateKnownTypes": true,
"generateXmlObjects": false,
"generateAbstractProperties": false,
"ignoreObsoleteProperties": false,
"allowReferencesWithProperties": false,
"excludedTypeNames": [],
"infoTitle": "My Title",
"infoVersion": "1.0.0",
"output": null,
"outputType": "Swagger2",
"assemblyPaths": [],
"referencePaths": []
}
},
"codeGenerators": {
"swaggerToCSharpClient": {
"generateClientClasses": true,
"generateClientInterfaces": true,
"generateDtoTypes": true,
"injectHttpClient": true,
"disposeHttpClient": true,
"generateExceptionClasses": true,
"exceptionClass": "SwaggerException",
"wrapDtoExceptions": true,
"useHttpClientCreationMethod": false,
"httpClientType": "System.Net.Http.HttpClient",
"useHttpRequestMessageCreationMethod": false,
"useBaseUrl": false,
"generateBaseUrlProperty": true,
"generateSyncMethods": false,
"exposeJsonSerializerSettings": false,
"clientClassAccessModifier": "public",
"typeAccessModifier": "public",
"generateContractsOutput": false,
"parameterDateTimeFormat": "s",
"generateUpdateJsonSerializerSettingsMethod": true,
"serializeTypeInformation": false,
"queryNullValue": "",
"className": "{controller}Client",
"operationGenerationMode": "MultipleClientsFromOperationId",
"generateOptionalParameters": false,
"generateJsonMethods": true,
"enforceFlagEnums": false,
"parameterArrayType": "System.Collections.Generic.IEnumerable",
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
"responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
"responseDictionaryType": "System.Collections.Generic.Dictionary",
"wrapResponses": false,
"generateResponseClasses": true,
"responseClass": "SwaggerResponse",
"namespace": "$(ProjectName).Client",
"requiredPropertiesMustBeDefined": true,
"dateType": "System.DateTime",
"dateTimeType": "System.DateTime",
"timeType": "System.TimeSpan",
"timeSpanType": "System.TimeSpan",
"arrayType": "System.Collections.ObjectModel.ObservableCollection",
"dictionaryType": "System.Collections.Generic.Dictionary",
"arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
"classStyle": "Inpc",
"generateDefaultValues": true,
"generateDataAnnotations": true,
"excludedTypeNames": [],
"handleReferences": false,
"generateImmutableArrayProperties": false,
"generateImmutableDictionaryProperties": false,
"output": "$(ProjectName).Client/RemoteApi.cs"
}
}
}

I have the same issue with a dotnetcore 2.1 project ...
The exact same issue ... however ... installing the package in the project does not help ...

Creating the settings from NSwagStudio and running from the website home dir with:

nswag run .\nswag.nswag /runtime:NetCore21

This works ...

@syska I haven't seen this before, maybe we have to change the current working directory to the startup dll directory in the NSwag CLI? Or what is correct directory?

@RSuter
For this to work, CurrentDirectory needs to be the root directory of the ASPNETCORE website ( for me at least  ... since it's looking for the appsettings.json etc. from this directory and be able to start it while browsing and gathering information.
So ... I guess a setting to specify the start directory

Please create a new issue to add this setting (default: nswag.json directory)

Can we close this issue?

yes. thanks


Rector for adding latte {varType}s based on presenter template parameters

Thank you! This is very helpful addition, I don't anyone expect Rector to be that smart :)
Great job!

and if everything will work as I expect, Rector will be even smarter ;)


Noun <=> Verb conjugation

Hi,
I'm using your great library in my project pet-project and my question ... exists a method for transpile a verb like raining to a noun rain?

hi Javi! thanks, that looks like a neat project. I like how you've structured things with the processors. Very cool stuff.
i like this idea and think we should implement it. take a look at some random verbs, and it seems likely that only a small amount of verbs would have a corresponding noun like that, dunno.
what should we call it?
thanks!

Glad to read you like my structure 👍  ... By the way, maybe if we call root method with a parameter like {convertToNoun: true} or whatever. What do you think?
best,

yeah, with the rain example, are you connecting raining to rain for some kind of task understanding?
just looking at some examples:

measure -> measurement
complain -> complaint
pour -> pour
proclaim -> proclamation

i suppose it's two-way also, like Verb.to_noun() and Noun.to_verb()..

Yeah!, that's ... I'm building a agnostic assistant core, which use intents for understand a sentence. An intent is just a group of rules which have to intersect with the result of compromise (and others). So, is easier intersect one element like rain than with all the combinations/conjugations raining, rains....
Now, I don't have too much time for help you in this project... but I will :)

Any advance with this??


Mercury download numbers incorrect.

I believe mercury package on pyviz.org all tools have too low Download Numbers. My guess is the Numbers are for the Mercury package and not the mljar-Mercury package.
I am on mobile phone and cannot investigate if this is true cause.

transferring this to pyviz.org repo


Update main.yml

I will approve this after I fix the batch one more time.

I will approve this after I fix the batch one more time.

Sounds good


.gitignore: ignore generated test artifacts

This PR supersedes https://github.com/anuvu/zot/pull/41

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   54.74%   54.74%
=======================================
  Files          11       11
  Lines        1686     1686
=======================================
  Hits          923      923
  Misses        660      660
  Partials      103      103

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7de2182...09cdae8. Read the comment docs.


Added docstring ops/image/resize

PR adds the docstring for keras_core.ops.image.resize

Thank you for your comments @fchollet, should be good to go now.

Hi @fchollet, any update on this? Looks like I can't re-run the checks 😢


Unable to build from source

I'm trying to create a Homebrew formula for Kompose.
$ brew install -i kompose
==> Using the sandbox
==> Downloading https://github.com/kubernetes-incubator/kompose/archive/v0.2.0.tar.gz
Already downloaded: /Users/sam/Library/Caches/Homebrew/kompose-0.2.0.tar.gz
==> Entering interactive mode
Type `exit' to return and finalize the installation
Install to this prefix: /usr/local/Cellar/kompose/0.2.0
bash-3.2$ export GOPATH=`pwd`
bash-3.2$ echo $GOPATH
/private/tmp/kompose-20170210-81761-1bzgwbv/kompose-0.2.0

However, I can't get the build to succeed. I've tried all the build methods listed in README.md.
make bin
bash-3.2$ make bin
fatal: Not a git repository (or any of the parent directories): .git
make: glide: Command not found
go build -ldflags="-w -X github.com/kubernetes-incubator/kompose/version.GITCOMMIT=" -o kompose main.go
main.go:19:8: cannot find package "github.com/kubernetes-incubator/kompose/cmd" in any of:
	/usr/local/Cellar/go/1.7.5/libexec/src/github.com/kubernetes-incubator/kompose/cmd (from $GOROOT)
	/private/tmp/kompose-20170210-81761-1bzgwbv/kompose-0.2.0/src/github.com/kubernetes-incubator/kompose/cmd (from $GOPATH)
make: *** [bin] Error 1

go build -o kompose main.go
bash-3.2$ go build -o kompose main.go
main.go:19:8: cannot find package "github.com/kubernetes-incubator/kompose/cmd" in any of:
	/usr/local/Cellar/go/1.7.5/libexec/src/github.com/kubernetes-incubator/kompose/cmd (from $GOROOT)
	/private/tmp/kompose-20170210-81761-1bzgwbv/kompose-0.2.0/src/github.com/kubernetes-incubator/kompose/cmd (from $GOPATH)

CGO_ENABLED=0 GO15VENDOREXPERIMENT=1 go build -o kompose main.go
bash-3.2$ CGO_ENABLED=0 GO15VENDOREXPERIMENT=1 go build -o kompose main.go
main.go:19:8: cannot find package "github.com/kubernetes-incubator/kompose/cmd" in any of:
	/usr/local/Cellar/go/1.7.5/libexec/src/github.com/kubernetes-incubator/kompose/cmd (from $GOROOT)
	/private/tmp/kompose-20170210-81761-1bzgwbv/kompose-0.2.0/src/github.com/kubernetes-incubator/kompose/cmd (from $GOPATH)

make cross
bash-3.2$ make cross
fatal: Not a git repository (or any of the parent directories): .git
make: glide: Command not found
gox -os="darwin linux windows" -arch="386 amd64" -output="bundles/kompose_{{.OS}}-{{.Arch}}/kompose" -ldflags="-w -X github.com/kubernetes-incubator/kompose/version.GITCOMMIT="
/bin/sh: gox: command not found
make: *** [cross] Error 127

Unfortunately, I am not familiar with Go. Can anyone point me in the right direction?

FWIW, we had a very early formulae before the move to the incubator, but it was not a source build:
https://github.com/skippbox/homebrew-tap
Why do you want to compile after doing a brew install ?
brew install should get you the binary directly.

@sambostock:
It looks like your GOPATH is not right. This is reason you are getting main.go:19:8: cannot find package "github.com/kubernetes-incubator/kompose/cmd" in any of:....
make: glide: Command not found error should be fixed in the next version (once #418 is merged)
I was trying to do same thing yesterday :-).
And this is what I come up with:
class Kompose < Formula
  desc "Tool to move from `docker-compose` to Kubernetes"
  homepage "http://kompose.io"
  head "https://github.com/kubernetes-incubator/kompose.git"
  url "https://github.com/kubernetes-incubator/kompose/archive/v0.2.0.tar.gz"
  # url "https://github.com/kubernetes-incubator/kompose.git",
  #     :tag => "v0.2.0",
  #     :revision => "bf8a03f1e9ed7206a712b99f82e26911d7243003"

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    dir = buildpath/"src/github.com/kubernetes-incubator/kompose"
    dir.install buildpath.children

    cd dir do
      system "make"
      bin.install "kompose"
    end
  end

  test do
    # TODO
    system "false"
  end
end

It works, but has one small flaw. Our build script detects git revision so it can be displayed in kompose version output. Problem is that there is no revision to detect when it is build from release archive, and even if it is build by brew from git, it picks up revision of  homebrew-core not kompose :-(

@sambostock how it is going?
Were you able to build it?

@kadel Someone else submitted a formula, so I didn't do any other work on it.
This issue can probably be closed. Thanks for checking in!

OK.
Kompose is in brew now, that is great new. Didn't noticed that someone else got it merged


UnableToResolveError: Unable to resolve module Dimensions from /Users/.../dev/reactnative/App/node_modules/react-native-swiper/dist/index.js

I'm getting a

UnableToResolveError: Unable to resolve module Dimensions from /Users/JohnSmith/dev/reactnative/App/node_modules/react-native-swiper/dist/index.js: Invalid directory /Users/node_modules/Dimensions

when I try to use the npm module in my app.
Is this tied to the change in imports in React Native 0.14?
OS X 10.11.1, Xcode Version 7.1.1 (7B1005), React Native 0.14.2

I've filed a pull request to fix this
https://github.com/leecade/react-native-swiper/pull/64

Same problem , how to fix it..

+1

Have you tried this... I am using React-Native version 0.15.0
var {Dimensions} = _reactNative; (or) _React$StyleSheet$Text$View$ScrollView$TouchableOpacity;
var {width, height} = Dimensions.get('window');

same problem

same problem

I have a feeling it'll be easier to implement the swiper yourself,
Example: https://github.com/nick/react-native-carousel/blob/master/Carousel.js

#64 can solve the problem.

When is it going to be merged?

+1 need this

fixed v1.4.0


[Bug] Arrow annotate tool ui's become broken when increase the line width

Describe the Bug
When I set annotations line width to 10 than I'm getting following result.

Steps to Reproduce

Set ArrowAnnotationTool lineWidth style to 10.
Draw an arrow.

The current behavior
When I draw arrow the arrow line overflows outside of arrow.
The expected behavior
The line should not overflow.
OS
Windows 10
Node version
20
Browser
Chrome 131.0.6778.108

I want to provide dynamic line widths to user. The default size of line is not visible for most of the screens.

Let's say max is 4. The arrow lose the shape. It is usable but it would be good to see a proper arrow.

Default:

I'm not good at geometry. I have tried to change 7 to 2. The arrow line just become straight line

try another value

I tried from 7 to 3. The end point is not correctly overlapped.

it can easily fixed with svg marker element

<svg viewBox="0 0 300 100" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <!-- A marker to be used as an arrowhead -->
    <marker markerWidth="5" markerHeight="5" refX="2.5" refY="2.5" viewBox="0 0 5 5" orient="auto" id="arrow">
      <polyline points="0,2.5 2.5,1.25 0,0" fill="none" stroke-width="0.8333333333333334" stroke="black" stroke-linecap="round" transform="matrix(1,0,0,1,0.8333333333333334,1.25)" stroke-linejoin="round" orient="auto-start-reverse"></polyline>
    </marker>
  </defs>
  <!-- A line with a marker -->
  <line x1="10" y1="10" x2="50" y2="50" stroke="black" stroke-width="1" marker-end="url(#arrow)" />
  <line x1="50" y1="10" x2="100" y2="55" stroke="black" stroke-width="8" marker-end="url(#arrow)" />
</svg>

Oh didn't know about marker element!


Notifications display goes off-screen

The UI elements on the notifications display goes beyond the edge of the screen.

@mdconatser I think I fixed it with one of the updates around the same time you reported it. Could you please verify it?


Unable to run the prostate-mri-lesion-seg tutorial notebook using jupyter

Hi,
Describe the bug
I am working with @fedorov, and I'm trying to run the tutorial.ipynb using jupyter. Unfortunately, I get the following error when using !monai-deploy package:

To Reproduce
Steps to reproduce the behavior:

I have followed the instructions and have a prostate_mri_lesion_seg folder with the following files:

models downloaded from Google Drive in /monai_deploy_prostate/prostate_mri_lesion_seg_app/models
.py files for the app downloaded from GitHub in /monai_deploy_prostate/prostate_mri_lesion_seg_app
ProstateX data downloaded from Google Drive in /monai_deploy_prostate/test_data/ProstateX-0004

I have created an environment and run pip install monai-deploy-app-sdk==0.5.1 as written the instructions, as well as installed additional dependencies such as pydicom ,highdicom, jupyter, etc.
When I run the following cell in the tutorial.ipynb notebook, I get the error above where the app does not exist.

Environment (please complete the following information):

OS = Ubuntu 20.04
Python version = 3.8.10
MONAI version [e.g. git commit hash] = 1.3.0
CUDA/cuDNN version = CUDA version 12.0
GPU models and configuration = A100X-8C

Thank you!
Deepa

Thanks for giving the code a try @deepakri201!
The only thing that I can really give feedback based on the error you shared is to make sure that the notebook and the repository are in the right location...the notebook is originally designed to be executed right alongside the application folder, just as it is in the repository. I see that you changed the reference of the folder to an absolute path instead of the relative one...this shouldn't cause an error, but please verify location on your system is referenced properly. Otherwise try keeping as-is and executing alongside application code.
@fedorov I see the issue that you raised in #342 when trying to execute on Colab that is also similar. If you just run the notebook in Colab without cloning the full repository files, it will not be able to build the container.

Thanks for responding!
I was able to fix the above error (I had the wrong path name). Now I'm able to run the !monai-deploy package successfully, and also run the load_and_visualize_dicom_image.
However now I am running the following command !monai-deploy run lesion_seg_workflow_app:v1.0 {dcm_dir} output and get the following error about the organ model not being found:

I've downloaded the models from the Google drive folder, and placed them in prostate_mri_lesion_seg_app/models as the tutorial says. This is what my folder structure looks like:

I've also verified that the model.ts file does in fact exist in the organ folder.
Am I supposed to put the models in a different folder? Thanks!
Deepa

Hi @jtetrea,
I checked my version numbers and I'm also using monai==1.3.0 and monai-deploy-app-sdk==0.5.1.
Interestingly, I re-ran everything (!monai-deploy package and !monai-deploy run), and now it seems to find the model just fine :) I was able to go through the notebook without any further issues.
Thank you for your help!
Deepa

That is great news! We appreciate your interest in this model. Please reach out if needed as you continue using it. Cheers!


Grammar allows topic in some arrow parameters

@JLHwung raised a concern in https://github.com/babel/babel/pull/13536#issuecomment-880329810. To prevent cluttering up babel/babel#13536, I’m opening an issue here. The topic token is assumed to be % in this issue.
The current grammar does not correctly raise early errors for x |> ((%) => {}) and x |> (async (%) => {}). This is because, inside of a PipeBody, % is hidden from the Contains operation—including in any CoverParenthesizedExpressionAndArrowParameterList that is within the PipeBody.
So, just like how the current grammar (correctly) allows x |> ((%)), so too does it (incorrectly) allow x |> ((%) => {}). In both cases, PipeBody contains a topic inside of two nested CoverParenthesizedExpressionAndArrowParameterLists.
@lightmare pointed to AssignmentTargetType as a good place to prohibit the topic for these cases. This should also let expressions like x |> %[y] = z, x |> y[%] = z, and x |> ((y = %) => {}) remain correctly valid.
(@JLHwung also said that the current grammar also does not correctly raise early errors for x |> (% = 0) and x |> (% += 0). However, I’m not sure if this is true. LeftHandSideExpression allows only NewExpression, CallExpression, and OptionalExpression, and none of these expressions can result in an assignment to a topic reference.)

so too does it (incorrectly) allow x |> ((%) => {})

I don't think it does. ArrowParameters only allow BindingIdentifier, which % is not.

LeftHandSideExpression allows only NewExpression

NewExpression > MemberExpression > PrimaryExpression > %

@lightmare: Thanks for the correction; I was mistaken. Either way, we should add a restriction to AssignmentTargetType as you suggested.


'electron-forge make' command hangs up when building for win32/ia32 from OS X

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
I am trying to "electron make" for target platform win32 and 32bit architecture. But the process hangs up on start making target. I try to build from my Mac.

Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
><EMAIL_ADDRESS>make /Users/.../Projekte/xprintor
> electron-forge make "--platform=win32" "--arch=ia32"

WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
  electron-forge:lifecycle Process Started: Checking your system +0ms
  electron-forge:lifecycle Process Succeeded: Checking your system +272ms
  electron-forge:runtime-config setting key: verbose to value: false +0ms
WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
  electron-forge:lifecycle Process Started: Resolving Forge Config +0ms
  electron-forge:project-resolver searching for project in: /Users/.../Projekte/xprintor +0ms
  electron-forge:project-resolver electron-forge compatible package.json found in /Users/.../Projekte/xprintor/package.json +4ms
  electron-forge:lifecycle Process Succeeded: Resolving Forge Config +10ms
  electron-forge:require-search searching [ '../makers/win32/squirrel.js',
  '../makers/generic/squirrel.js',
  'electron-forge-maker-squirrel',
  'squirrel',
  '/Users/.../Projekte/xprintor/squirrel',
  '/Users/.../Projekte/xprintor/node_modules/squirrel',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/makers/win32/squirrel.js',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/makers/generic/squirrel.js',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/api/electron-forge-maker-squirrel',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/api/squirrel',
  '/Users/.../Projekte/xprintor/squirrel',
  '/Users/.../Projekte/xprintor/node_modules/squirrel',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/api/makers/win32/squirrel.js',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/api/makers/generic/squirrel.js',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/api/node_modules/electron-forge-maker-squirrel',
  '/Users/.../Projekte/xprintor/node_modules/electron-forge/dist/api/node_modules/squirrel',
  '/Users/.../Projekte/xprintor/squirrel',
  '/Users/.../Projekte/xprintor/node_modules/squirrel' ] relative to /Users/.../Projekte/xprintor/node_modules/electron-forge/dist/api +0ms
  electron-forge:require-search testing ../makers/win32/squirrel.js +2ms
We need to package your application before we can make it
  electron-forge:lifecycle Process Started: Preparing to Package Application for arch: ia32 +121ms
  electron-forge:project-resolver searching for project in: /Users/.../Projekte/xprintor +126ms
  electron-forge:project-resolver electron-forge compatible package.json found in /Users/.../Projekte/xprintor/package.json +0ms
  electron-forge:hook could not find hook: generateAssets +0ms
  electron-forge:hook could not find hook: prePackage +0ms
  electron-forge:packager packaging with options { asar: false,
  overwrite: true,
  dir: '/Users/.../Projekte/xprintor',
  ignore:
   [ '.gitignore',
     '.idea',
     'tsconfig.json',
     'tslint.json',
     'README.md',
     'dev.env' ],
  afterCopy: [ [Function], [Function], [Function] ],
  afterExtract: [],
  afterPrune: [ [Function: rebuildHookFn] ],
  arch: 'ia32',
  platform: 'win32',
  out: '/Users/.../Projekte/xprintor/out',
  electronVersion: '1.8.2-beta.3',
  quiet: true } +0ms
  electron-forge:lifecycle Process Succeeded: Preparing to Package Application for arch: ia32 +14s
  electron-forge:lifecycle Process Started: Compiling Application +1ms
  electron-forge:lifecycle Process Succeeded: Compiling Application +6s
  electron-forge:lifecycle Process Started: Preparing native dependencies +13s
  electron-forge:lifecycle Process Succeeded: Preparing native dependencies +7s
  electron-forge:lifecycle Process Started: Packaging Application +0ms
  electron-forge:hook could not find hook: postPackage +50s
  electron-forge:lifecycle Process Succeeded: Packaging Application +11s
Making for the following targets:
  electron-forge:hook could not find hook: preMake +2ms
  electron-forge:lifecycle Process Started: Making for target: squirrel - On platform: win32 - For arch: ia32 +3ms

What command line arguments are you passing?
make --platform=win32 --arch=ia32

What does your config.forge data in package.json look like?

  "config": {
    "forge": {
      "make_targets": {
        "win32": [
          "squirrel"
        ],
        "darwin": [
          "zip",
          "dmg"
        ],
        "linux": [
          "deb",
          "rpm"
        ]
      },
      "electronPackagerConfig": {
        "dir": "src",
        "ignore": [
          ".gitignore",
          ".idea",
          "tsconfig.json",
          "tslint.json",
          "README.md",
          "dev.env"
        ]
      },
      "electronWinstallerConfig": {
        "name": "<%= productName %>",
        "outputDirectory": "release"
      },
      "electronInstallerDebian": {},
      "electronInstallerRedhat": {},
      "github_repository": {
        "owner": "",
        "name": ""
      },
      "windowsStoreConfig": {
        "packageName": "io.ticket.<%= name %>"
      }
    }
  }

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init is a good starting point, if that is not the
source of your problem.
I also tried it with a fresh project, what results also in process hangs up:
electron-forge init my-new-project && cd my-new-project
electron-forge make . --platform=win32 --arch=ia32

Could you re-run the command, but with DEBUG="electron-forge:*,electron-windows-installer:*" ? For example:
DEBUG="electron-forge:*,electron-windows-installer:*" electron-forge make . --platform=win32 --arch=ia32

There's probably something in electron-winstaller that's hanging.

I rerun it with DEBUG="electron-forge:*,electron-windows-installer:*" electron-forge make . --platform=win32 --arch=ia32 and the process hangs up when mono was spawning. But it seems that mono spawns successfully (+21ms), so the problem seems to occur after that spawning of mono.
Here is the Output from the console:
Making for the following targets:
  electron-forge:hook could not find hook: preMake +1ms
  electron-forge:lifecycle Process Started: Making for target: squirrel - On platform: win32 - For arch: ia32 +3ms
  electron-windows-installer:main Using Mono: 'mono' +0ms
  electron-windows-installer:main Using Wine: 'wine' +0ms
  electron-windows-installer:fs-utils Error: ENOENT: no such file or directory, stat '/Users/.../Projekte/xprintor/out/xprintor-win32-ia32/resources/app.asar' +10ms
  electron-windows-installer:main Created NuSpec file:
  electron-windows-installer:main <?xml version="1.0" encoding="utf-8"?>
  electron-windows-installer:main <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
  electron-windows-installer:main   <metadata>
  electron-windows-installer:main     <id>xprintor</id>
  electron-windows-installer:main     <title>xprintor</title>
  electron-windows-installer:main     <version>0.0.1</version>
  electron-windows-installer:main     <authors>author</authors>
  electron-windows-installer:main     <owners>owner</owners>
  electron-windows-installer:main     <iconUrl>https://raw.githubusercontent.com/atom/electron/master/atom/browser/resources/win/atom.ico</iconUrl>
  electron-windows-installer:main     <requireLicenseAcceptance>false</requireLicenseAcceptance>
  electron-windows-installer:main     <description>description</description>
  electron-windows-installer:main     <copyright>copyright</copyright>
  electron-windows-installer:main   </metadata>
  electron-windows-installer:main   <files>
  electron-windows-installer:main     <file src="locales/**" target="lib/net45/locales" />
  electron-windows-installer:main     <file src="resources/**" target="lib/net45/resources" />
  electron-windows-installer:main     <file src="*.bin" target="lib/net45" />
  electron-windows-installer:main     <file src="*.dll" target="lib/net45" />
  electron-windows-installer:main     <file src="*.pak" target="lib/net45" />
  electron-windows-installer:main     <file src="Update.exe" target="lib/net45/squirrel.exe" />
  electron-windows-installer:main     <file src="icudtl.dat" target="lib/net45/icudtl.dat" />
  electron-windows-installer:main     <file src="LICENSE" target="lib/net45/LICENSE" />
  electron-windows-installer:main     <file src="xprintor.exe" target="lib/net45/xprintor.exe" />
  electron-windows-installer:main   </files>
  electron-windows-installer:main </package>
  electron-windows-installer:main  +3ms
  electron-windows-installer:spawn Spawning mono /usr/local/lib/node_modules/electron-forge/node_modules/electron-winstaller/vendor/nuget.exe pack /var/folders/2s/f7qmqftd5k33679ljspvvd4m0000gn/T/si-1171122-17147-169zb4k.alwhg/xprintor.nuspec -BasePath /Users/.../Projekte/xprintor/out/xprintor-win32-ia32 -OutputDirectory /var/folders/2s/f7qmqftd5k33679ljspvvd4m0000gn/T/si-1171122-17147-169zb4k.alwhg -NoDefaultExcludes +21ms

This isn't an Electron Forge-specific problem, so I'm closing this issue. I encourage you to look in the electron-winstaller repository to see if a similar issue has been filed, and if not, file a new one.


Admin: Support Py 3.13

The SES changes are due to a logic bug that only manifests in Python3.13.
When no CC/BCC fields are set, the fieldvalues would be set to something like<EMAIL_ADDRESS><EMAIL_ADDRESS>'', '']
Sending that to the builtin emails.utils.getaddresses-method in Python 3.12 results in:
[('', 'to@example.com'), ('', 'foo@example.com'), ('', '')]
But in Python 3.13, this results in an empty list.
This PR ensures that there are no empty strings in fieldvalues, which in turns means that the getaddresses-method keeps working.

We encountered this bug in our CI pipeline where different 3.10 point releases have flip-flopped between success (3.10.11, 3.10.13, 3.10.14) and failure (3.10.12, 3.10.15) based on this getaddresses call.
So for reference this actually resolve a problem with all the latest Python versions since they now all default to a new strict=True argument based around this bug fix: https://github.com/python/cpython/issues/102988

Python 3.8.20 onwards
Python 3.9.20 onwards
Python 3.10.15 onwards
Python 3.11.10 onwards
Python 3.12.16 onwards
Python 3.13


@cat-org/server

[x] default middlewares
[x] run bin to open default server
[x] types

[x] react
[x] graphql

relay edges

[x] less

[x] refresh server with files changed
[x] static page

Do not need to use bot type


Add "the link" to your articles

Learning more about android components

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Learning more about android components

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Reason: We do not accept PRs which only add links when there are already valid reference links for the article.  Instead of just adding a link, it would be great if you can add original content. Paraphrased content from another source should be referenced.
Thank you and happy coding.


Can't search part of the word while using Postgres as the search engine

While using LunrJS as the search engine I can search all part of the word. Example searching the word 'petstore', I can search using keyword: 'ets', 'tst', 'store'. But after switching to Postgres as the search engine, the search results is not found using the example keywords. The search results is still found if I search using keyword: 'petstore', 'pet', 'pets'.
Expected Behavior

The search results should be found using keywords that uses second half part of the word.
Current Behavior

Possible Solution

Probably need to update the search query in package @backstage/plugin-search-backend-module-pg
Steps to Reproduce

Update the search engine to postgres
Search the keyword using half part of the word like the examples.

Context

Using the LunrJS is not suitable for production use, and we want to try using Postgres as the search engine.

Sorry about this, back then we are working at 2 things at the same time:

Moving to postgres search engine, and
Splitting the backend pod that serve the rest API and the pod that run the search indexing

We do these because we are faced with the problem indexing a lot of data in the search, see https://github.com/backstage/backstage/issues/9178
The actual behavior on the above is that sometimes the search returning results and sometimes not if I type the correct query. Back then we had 2 pods, backend-search pod and backend pod, we disable the search indexing in backend pod and only enable it in backend-search pod. We didn't realize that the backend-search still serving API request from client, that's why the search sometimes returning results and sometimes not.
After we correct the configuration so that the backend-search didn't serve the rest API traffic, the search is still not functioning, it's turned out we need to run the await indexBuilder.build() in both pod, and only run scheduler.start() in the backend-search pod. This is needed because the search query route is checking the query's types property (which might have a value of, for example ['software-catalog']) corresponds to real types that the search-backend pod is aware of. See the related discussion on discord: https://discord.com/channels/687207715902193673/948065769294557264/951422894112661574


installer and pkg must allways be accompanied by uninstall

Thought this was already there, but yeah, makes sense.

Merged as 77f037139b26befceb8f4363df9f5d7701e50a6d.


Can't add custom pages Bug

Describe the bug
Hi there, i was trying to modify the Wpfui extension templates. Tried to add my own Navigation item and page but i got this error.
System.InvalidOperationException: 'The UiDesktopApp1.Views.Pages.Test has not been registered in the Wpf.Ui.Mvvm.Contracts.IPageService service.'
To Reproduce
When i click to the navigation button.
Expected behavior
--
Screenshots
No response
OS version
Windows 10
.NET version
.NET 6.0
WPF-UI NuGet version
2.0.2
Additional context
No response

Hey @berkespace, demo applications and extension templates use the dependency injection mechanism to manage page instances. As the error indicates, IPageService does not know that the UiDesktopApp1.Views.Pages.Test page has been registered.
Each Page or ViewModel is treated as a service. In the case of WPF UI templates, sites are registered in X.
App.xaml.cs.
public partial class App
{
    private static readonly IHost _host = Host
        .CreateDefaultBuilder()
        .ConfigureServices((context, services) =>
        {
            services.AddSingleton<UiDesktopApp1.Views.Pages.Test>();
        }).Build();
}

This allows the GetPage method  of the IPageService to get an instance of the Test page with the help of the service provider.
https://github.com/lepoco/wpfui/blob/78f7c7fb84db71365d6694f9b9819b3b46023a75/src/Wpf.Ui.Extension/Templates/Wpf.Ui.Mvvm.FluentNavigation/Services/PageService.cs#L26


Pyproject Update

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Proposed Changes

Update poetry-core; move mypy and pytest settings to pyproject.toml
Closing issues

Codecov Report

Merging #780 (8ed0b3e) into master (01b349d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #780   +/-   ##
=======================================
  Coverage   83.74%   83.74%
=======================================
  Files         123      123
  Lines        6870     6870
=======================================
  Hits         5753     5753
  Misses       1117     1117

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


bug: Popup is always hidden on scroll

Bug Report
It seems not possible now to keep a popup opened during page scroll.
Steps
Go on https://react.semantic-ui.com/modules/popup/#usage-default-open and observe that the popup is hidden during page scroll.

Expected Result
The popup should respect the open property.
Actual Result
The popup is hidden during page scroll, even with hideOnScroll={false}.
Version
This bug affect all versions 3 (3.0.0-beta0, 3.0.0-beta1, 3.0.0-beta2) but not version 2 (I tried 2.1.4 and 2.1.5).

Yes, hideOnScroll does not work as expected in SUI-R version 3. The popup is always hidden by default on scroll and setting hideOnScroll={false} has no effect.
This is a showstopper because on mobile screens there is no way to access popups with tall content that overflows the screen area. Any time you try to scroll to see the whole popup content the popup will be closed.

Created this with a sandbox to better explain the issue: https://github.com/Semantic-Org/Semantic-UI-React/issues/4483

Fixed #4490. I will trigger a release later this week.


Infrared image overexposed in sunlight (D435)

Hi
I've been using the D435 outdoors and I cannot get correct infrared camera exposure in bright sunlight. Using both auto-exposure, and manual minimum exposure and gain, results in overexposure (see images)
Any way to increase shutter speed, or decrease gain below 16?
Thanks!
Sunny:

Overcast:

Info

Camera Model
D435

Firmware Version
5.10.13

Operating System & Version
Ubuntu 16.04

Kernel Version (Linux Only)
4.15.0-32-generic

Platform
PC

SDK Version
2.16.5

Intel's advice about using the camera in strong light can be found in the link below.  Click on the image thumbnail in the post to view the advice in full size.
https://forums.intel.com/s/question/0D70P0000069GjOSAU/noise-in-realsense-d435-pointcloud?language=en_US

Hi Scottnothing,
you are not alone!
We have tried hard  to use RS D435 outdoor and had to come to the conclusion that the only RealSense usable in sunlight is RS D415.  We came to the conclusion that D435 was, maybe, designed to fly drones in full darkness!
The only possibility we found to use it in sunlight is to use a IR filter but, again, if you have a choice use D415.

D435 has been used outdoors successfully on a drone.  The main issue that was experienced was small artifacts on the image.   I suggested reducing exposure to around 1 ms.  Unfortunately, the user did not reply to report whether doing so had solved their artifact issue.
https://forums.intel.com/s/question/0D50P0000490XM0SAM/noise-in-realsense-d435-pointcloud
Shutter speed can be affected indirectly by changing the color exposure, as shutter speed is also known as 'exposure time'.  This is the approach that some RealSense users have taken to achieving an effect similar to a physical shutter speed alteration.

Thanks for the responses. I have tried both auto-exposure and manually setting expose time to 1ms. Both produce something like the images I posted. The drone video you linked has only RGB stream, it would be interesting to see the infra stream of the same scene. I am concerned only with the infra stream. I notice also that overexposure happens on light-colored surfaces like concrete or sand. Grass doesn't seem to be an issue.

Someone did a drone flight with a D435 and Jetson TX2.  the video has a depth and IR stream.
https://www.youtube.com/watch?v=5tY2A-_VBi8

This may help a small amount.  There is a new featured that has been enabled that allows for "fractional exposure". This means you can now set the exposure to less than 20. As low as 1. In principle this allows for 1/16 exposure, and it has been used to make the D435 work outdoors in bright sunlight. Just make sure you have FW that is after 5.10.0.
Here is an example image of lighting above my office chair. (It was getting dark outside so could not check it there.)

So first check the manual exposure to see if this mitigates your problem.
The fractional exposure feature is now also part of the autoexposure algorithm.
However, you may have to set the "AE ROI" so it autogains on the bright ground.
Finally, you are absolutely right that another solution is to add an ND filter (optical attenuator) to the front to attenuate always.

Regarding optical filters, I particularly like these guys. Very responsive and good prices.  You can get ND filters, as well as more wavelength selective attenuation.
http://www.astraproducts.com/index.asp
Others are
http://www.leefilters.com/
But make sure to get a spec for the full spectrum. Many times they only show their spectral curves out to 750nm. You want to attenuate across the full spectrum of sensitivity upto about 1000nm.
BTW, an OD of 1 means 10x. An OD of 2 means 100x.

Another good option to consider is thin-film linear polarizers. Use two on top of each other and rotate one and you will be able to create your own variable attenuator. These can be quite cheap.

Thanks very much for the advice, and particularly for info on filters, @agrunnet. I actually haven't seen enough sun recently to double check setting exposure to 1 vs 20. At the time, rqt_reconfigure definitely showed that exposure was set to 1, but I cannot confirm what the camera thinks its exposure setting was.

Yes Astra Products is where we got the variable ND filters/IR-pass filters.

This should not be closed.


Adding Active purge API (delete all project files except the current …

This pull request is to help delete active projects with more than one version files. All version files except the current (max) version file will be deleted.

Is this still needed?

Closing this PR.
I would guess #1346 made a change to the internal project file code. We would rebuild the API if we propose thie purge active projects API.


[PATCH] Fix UTC timezone issue with timestamptz

[PATCH] Fix UTC timezone issue with timestamptz
Replaced timestamptz with timestamp to fix UTC timezone correction issue in Annon.Requests.Analytics.

Changes Unknown when pulling 212daa026eea78ff866ef088701be551b220ad21 on fix-utc-issue into ** on master**.


CSS

Hi,
I want to change the CSS in this example, but I'm not a developer, I'm a UX - desginer so this is all new to me. How do i find the css code i your example so that i edit it?
Br,
Elisabeth

Can you provide a bit of context on what you're trying to do so we can suggest the best way for you to accomplish your goal?

I want to redesign the column, the rows and the cells. So I need o know where to find the classes for these.

Ok, I want to make sure I understand. Please, let me know if I got any of this wrong:
You're working on a project where a developer installed ember-light-table. You would like to change how the table looks in your application. Typically, customising existing CSS is the process of overloading the provided CSS but in your case you would prefer to change the CSS classes that are provided by ember-light-table.
Did I understand you correctly?

Yes :)

I'm not sure about this 100% because it's unusual for me to want to overload Ember Light Table's CSS without just using CSS to overload the styles. Try creating a file in your application's styles directory called ember-light-table.css. This should take priority over the files that's provided by the addon.
In summary, create a file at path app/styles/ember-light-table.css. You and copy and paste parts of the original CSS from https://github.com/offirgolan/ember-light-table/blob/master/addon/styles/addon.css
Let me know if this works.

Closing as this issue has been abandoned. Feel free to reopen if needed.


Map on Welcome Page

Change welcome page to map view

@starkcoffee is this ok to merge?

Yep!
On 2 Sep 2016 2:28 p.m., "Tam"<EMAIL_ADDRESS>wrote:

@starkcoffee https://github.com/starkcoffee is this ok to merge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sounddrop/sounddrop/pull/92#issuecomment-244361046,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAlACIC56cgJKYOjZeBjzXPNhA4J8Jeiks5qmBZZgaJpZM4Jzg_n
.


Method Illuminate\Database\Query\Builder::withProperties does not exist.

I am trying to use the withProperties function as follows:
activity()
            ->log('Bulk item deletion: ' . $id)
            ->causedBy(Auth::user())
            ->withProperties(['title' => $title]);

But I get the error shown in the title above. I am using version 2.5 and Laravel 5.6.

Please try this way;
activity()
            ->log('Bulk item deletion: ' . $id)
            ->withProperties(['title' => $title]);

If the user is logged in, the causer_type and causer_id fields are filled in automatically.

coderiki is correct - but the real answer is the sequence: you must use ->log() at the end;


🐛  fix image size timeout

refs #8041

destroy socket is required, see https://nodejs.org/api/http.html#http_server_settimeout_msecs_callback
optimise error messages in general
make timeouts configureable

@ErisDS I wanted to add a request utility, but i thought we could raise an issue in Ignition. This request utility can then be used every where e.g. gravatar, scheduling, image size.

Sounds good - shouldn't the refs on this be closes? I can fix on merge, just a reminder that refs doesn't close the issue, closes does 😁