Appstudio update test-annotations-mxdd

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-xtci-on-pull-request-
creating pipelinerun test-annotations-xtci-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-qfje-on-pull-request-
creating pipelinerun test-simple-build-qfje-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-jihl-on-pull-request-
creating pipelinerun test-simple-build-jihl-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-efea-on-pull-request-
creating pipelinerun test-simple-build-efea-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-yoht-on-pull-request-
creating pipelinerun test-annotations-yoht-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-onzg-on-pull-request-
creating pipelinerun test-simple-build-onzg-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-arvj-on-pull-request-
creating pipelinerun test-simple-build-arvj-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nycf-on-pull-request-
creating pipelinerun test-simple-build-nycf-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-taux-on-pull-request-
creating pipelinerun test-simple-build-taux-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-fuha-on-pull-request-
creating pipelinerun test-simple-build-fuha-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mbrb-on-pull-request-
creating pipelinerun test-simple-build-mbrb-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-jpia-on-pull-request-
creating pipelinerun test-simple-build-jpia-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nzyu-on-pull-request-
creating pipelinerun test-simple-build-nzyu-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-xaot-on-pull-request-
creating pipelinerun test-annotations-xaot-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-htcz-on-pull-request-
creating pipelinerun test-annotations-htcz-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-gvay-on-pull-request-
creating pipelinerun test-simple-build-gvay-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-smhg-on-pull-request-
creating pipelinerun test-simple-build-smhg-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-igaw-on-pull-request-
creating pipelinerun test-simple-build-igaw-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-cvzf-on-pull-request-
creating pipelinerun test-simple-build-cvzf-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-knyw-on-pull-request-
creating pipelinerun test-simple-build-knyw-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ygyv-on-pull-request-
creating pipelinerun test-simple-build-ygyv-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wfdk-on-pull-request-
creating pipelinerun test-simple-build-wfdk-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-fglt-on-pull-request-
creating pipelinerun test-simple-build-fglt-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wgvq-on-pull-request-
creating pipelinerun test-simple-build-wgvq-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-qzgm-on-pull-request-
creating pipelinerun test-simple-build-qzgm-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-pjiw-on-pull-request-
creating pipelinerun test-annotations-pjiw-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ylok-on-pull-request-
creating pipelinerun test-simple-build-ylok-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-xosv-on-pull-request-
creating pipelinerun test-simple-build-xosv-on-pull-request- in namespace build-e2e-mtio-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI/test-annotations-mxdd-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
36 seconds
build-container

✅ Succeeded
26 seconds
inspect-image

✅ Succeeded
26 seconds
deprecated-base-image-check

✅ Succeeded
20 seconds
clair-scan

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
26 seconds
label-check

✅ Succeeded
10 seconds
show-sbom

✅ Succeeded
11 seconds
show-summary

Pipelines as Code CI/test-annotations-mxdd-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
36 seconds
build-container

✅ Succeeded
26 seconds
deprecated-base-image-check

✅ Succeeded
26 seconds
inspect-image

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
20 seconds
clair-scan

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
26 seconds
label-check

✅ Succeeded
11 seconds
show-summary

✅ Succeeded
10 seconds
show-sbom


Inconsistent behaviour of WebGLTile and Tile layer when loading optional high-zoom level tiles

Describe the bug
WebGLTile layer does not try to load tiles from smaller zoom levels (up to maxZoom - preload) when the tiles for that zoom level does not exist and it has maxZoom property of XYZ source configured.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://jsfiddle.net/av4kxc0r/'
See that first map which is using WebGLTile does not show tiles but the second map is OK and using tiles from level 19.

I know that OSM tiles are only available up to zoom 19, but I have set the maxZoom property to 22 and preload to 3 to demonstrate this behavior (I explain why in the next paragraph). The map is set to zoom 25 therefore I expect the WebGLTile to try loading tiles with zoom level of maxZoom and if the tiles are not found, it should go to level maxZoom - 1 = 21 and maxZoom - 2 = 20 and maxZoom - 3 = 19. It will find tiles for level 19 and it should interpolate them to level 25.
Our use-case
We exploited the behavior of non-WebGL tile layer by having tiles with larger zoom levels (up to 19) only for particular smaller areas of interest and we have whole country covered with zoom 16 tiles and less. Therefore we set the maxZoom of source to 19, preload to 3 and thanks to this behavior the OpenLayers map was able to dynamically locate appropriate tiles with largest available zoom anywhere the user is working. We allow max zoom of 20 in our app.
I understand that our way of loading optional tiles for larger zoom levels might be wrong, maybe we should use additional layers for particular areas of interest, but this worked OK so far.
Expected behavior
Both layer types should behave same.

This should be fixed by #13357
https://jsfiddle.net/ea9z0myn/

@lysek - the preload option for WebGL tile layers is supported in the latest ol@dev release.  Please reopen if this does not address your issue.


Extracting the hierarchy

I am trying to extract the hierarchy to a pandas dataframe, following the "how HDBSCAN works" notebook, by invoking:
>>> clusterer.single_linkage_tree_.to_pandas()
and I get:

Traceback (most recent call last):
File "", line 1, in
File "build/bdist.linux-x86_64/egg/hdbscan/plots.py", line 520, in to_pandas
File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 226, in init
mgr = self._init_dict(data, index, columns, dtype=dtype)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 363, in _init_dict
dtype=dtype)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 5158, in _arrays_to_mgr
index = extract_index(arrays)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 5206, in extract_index
raise ValueError('arrays must all be same length')
ValueError: arrays must all be same length

Am I doing something wrong?
It would also be great if there was a numpy array export capability out there in the form of scipy.cluster.hierarchy.linkage output; inspecting the above to_pandas method suggests that the returned dataframe would be of a different format --if I ever manage to get it right:
inspect.getmembers(clusterer.single_linkage_tree_.to_pandas)

Return a pandas dataframe representation of the single linkage tree.\n\n        Each row of the dataframe corresponds to an edge in the tree.\n        The columns of the dataframe are parent, left_child, \n        right_child, distance and size.\n\n        The parent, left_child and right_child are the ids of the\n        parent and child nodes in the tree. Node ids less than the number \n        of points in the original dataset represent individual points, while\n        ids greater than the number of points are clusters.\n\n        The distance value is the at which the child nodes merge to form\n        the parent node.\n\n        The size is the number of points in the parent node.\n

This is definitely a bug; I'll try and get it fixed as soon as possible. I agree about numpy output ... I haven't got a function for it yet, but if that's what you want then
clusterer.single_linkage_tree_._linkage
should be exactly the numpy array you want. Hopefully that will suffice in the meantime.

Thank you so much, this is exactly what I need at the moment. I really appreciate it.

Should all be fixed now in the repository. Sorry for the delay, but I was very busy last week with other things.

Thank you, I very much appreciate it.


[terra-menu] Apply theme to menu item

Summary
Applied theme to menu item to fix clinical theme styles
Deployment Link

https://terra-framework-deployed-pr-#.herokuapp.com/
Testing

Additional Details

Thank you for contributing to Terra.
@cerner/terra

So you're applying the theme context here, but you still need to move the theme variables and reference them in the css files right?

So you're applying the theme context here, but you still need to move the theme variables and reference them in the css files right?

Its there already, I had moved it while applying theme to menu.


odd. tool version not bumped on EU. Try again.

Tool version hasn't updated on EU after a couple of days - try again with trivial changes - should be _7

@bgruening - something fishy going on - was merged 14 hours ago and it's now way past midnight (1:20 am) but the version on EU hasn't changed - is the script broken somewhere?

@bgruening: can confirm it's fixed now - thanks...


Big refactorization

It seems that when you run hatch env create dev, it tries to compile the package dependencies from source. Maybe we could change the GitHub workflows to avoid that.

I noticed the new bug. Let me figure it out.

I think it's because of the old version of scipy, which requires numpy<2.0. However, it seems that the nnls error has been fixed in scipy's main branch on Github.
See: https://github.com/scipy/scipy/blob/main/scipy/optimize/_nnls.py
Maybe we could install scipy from Github. What do you think?

I found some new conflicts in my fork. Does github allow plain merge instead of rebase when merging a pull request?

I found some new conflicts in my fork. Does github allow plain merge instead of rebase when merging a pull request?

I have bad experiences with merging without doing a rebase first. How do you update your fork?
The problem is definitely scipy. How would you see using https://github.com/stefanopalmieri/lsqnonneg/blob/master/lsqnonneg.py instead of nnls?

Let me think about that. SciPy should be working as I remember that NNLS did pass the test on my own computer. I will double check.

Let me think about that. SciPy should be working as I remember that NNLS did pass the test on my own computer. I will double check.

I've updated it to 1.14 (known issue) to confirm that the issue with numpy was related to scipy. That's why the tests are failing.

Cheers! Fixed with #44 and #45, however I have noticed another issue that may prevent verbose mode from printing the right iteration step i.

One more thing  in the todo list is update README for python 3.9~3.12

One more thing in the todo list is update README for python 3.9~3.12

That badge is created automatically from PyPI, using:
https://github.com/aleixalcacer/archetypes/blob/443d09eaad15588e917c36f3ae7cce16d67aa9d9/pyproject.toml#L20-L23
Therefore, when a release is uploaded to PyPI with these new classifiers, the badge will automatically update.
Don't worry about that :)

@wangzcl I noticed an error in the refactoring yesterday. When transform is run on an already fitted model, it fails. I've improved the tests to cover this. Previously, fit_transform was fit().transform(). I think it would be good to keep it that way if possible. I'm not sure if it affects performance. Could you take a look?

I'll take a look at the bug. I did the refactoring following the sklearn NMF source code. They didn't do fit().transform() for fit_transform, so that additional transform step is avoided, making it faster -- I think it is a good design pattern, though it does make things look a little bit weird


rename FDM => FiniteDifferenceMethods

@StefanKarpinski  ok yes.

ERROR: failed to clone from https://github.com/invenia/FiniteDifferences.jl.git, error: GitError(Code:ERROR, Class:Net, unexpected HTTP status code: 404)

with the current URL.
Please try this out locally with the dependencies etc. I am pretty sure this will break all dependencies using this for all versions. (They are using a package called FDM but after this PR it will be installed as FiniteDifferenceMethods).


Not all frank elements are in the Frank!Doc

Right now only elements that are a child of a root element are included in the Frank!Doc. Because of this the framework now contains lots of dummy methods such as:
// Dummy setter to allow JmsRealms being added to Configurations via FrankDoc.xsd
public void registerJmsRealm(JmsRealm realm) {
	JmsRealmFactory.getInstance().registerJmsRealm(realm);
}

// Dummy method to include monitoring in the Frank!Doc.
public void registerMonitoring(MonitorManager factory) {
}

In order to avoid these methods I propose that we change the required rules in the digester-rules.xml from relative to absolute paths.
From:
<rule pattern="*/monitoring" registerMethod="registerMonitoring" factory="nl.nn.adapterframework.monitoring.MonitoringFactory"/>
To:
<rule pattern="configuration/monitoring" factory="nl.nn.adapterframework.monitoring.MonitoringFactory"/>
Note the absolute path/pattern, enforcing this element to be a child of Configuration, even though there is no setter available for this element.

See https://github.com/ibissource/iaf/pull/2471 where the above change has been made.

The Frank!Doc needs to know a Java class or interface for the child. If it is not the argument of a set/add/register method, how should the Frank!Doc know it?

I've updated the abovementioned pull request. I hope the changes made in the digester-rules.xml file will suffice!


Fix dependency for lightgbm and aix python server

What this PR does / why we need it:
The latest numpy 1.20.0 release breaks the aix and lightgbm python servers
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1335
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

/LGTM

/test kubeflow-kfserving-presubmit

/retest

/test kubeflow-kfserving-presubmit


[Quality] [by Ivan] ConvBinWinogradRxSf2x3 / f3x2 solvers merge

This PR merges almost similar ConvBinWingradRxSf2x3 and ConvBinWingradRxSf3x2 solvers into one
ConvBinWinoRxS solver, which reduces amount of duplicated code. In order to provide similar
functionality, new solver uses templates:
    ConvBinWinoRxS<2, 3>;
    ConvBinWinoRxS<3, 2>;

@Slimakanzer  closed this 3 days ago

Looks reasonable ;)


shows error "This site can't be reached" on http://<IP_ADDRESS>:5000/neptune

Shows no error in the terminal. But when I try to open the url It doesn't work. Gives error "ERR_ADDRESS_INVALID"

I have the same issue. Have you got it working?

@justinbalaguer unfortunately no. But I've found a similar alternative, zphisher.

also having this issue.

Also in issue #245

Same here...was working perfectly fine yesterday now it won't connect


Check joints orientations

When generating the urdf the orientation is assigned arbitrary, then probably we will need to put the joints inverted under this list:
reverseRotationAxis:
...

I noticed in this issue that the right wrist yaw rotates counterclockwise when the setpoint is negative, so it's the opposite of the expected behaviour. The wrists need to be mirrored, and the direction is the following for both left and right:

positive yaw: palm towards the robot
positive roll: palm towards the robot
positive pitch: hand tilts forward

I wanted to play around with the model and I performed the change for curiosity:
https://user-images.githubusercontent.com/38140169/209373652-8c1bee5c-7bfd-4671-8321-9aba574b2dfd.mp4
It works as expected, @Nicogene I can open the PR if you haven't made the change locally.

Here: https://github.com/icub-tech-iit/ergocub-software/commit/874f75e5623707bb925ec4f273bc21daa765244c I fixed some joints orientations

Keeping open because we didn't checked (and eventually) fixed all joints. In this sense unit test (#6) could help

With #22 I managed to fix some joints' orientations but I have these errors that I cannot fix simply inverting the joints:
(NOTE: the expected has been taken from icub3 model)
r_shoulder_yaw got direction of  x -0.116648 y 0.227771 z 0.966702 instead of expected  x -0.0713662 y 0.0619303 z 0.995526
r_elbow got direction of  x 0.250563 y -0.935113 z 0.250563 instead of expected  x 0.267012 y -0.960459 z 0.0788901
l_shoulder_yaw got direction of  x -0.116648 y -0.227771 z 0.966702 instead of expected  x 0.0713662 y 0.0619303 z -0.995526
l_elbow got direction of  x -0.250563 y -0.935113 z -0.250563 instead of expected  x -0.267012 y -0.960459 z -0.0788901

If these joints are identical between ergocub and icub3 it means there is a problem in the simmechanics, otherwise we can just change the test
cc @traversaro @mfussi66 @pattacini @salvi-mattia @Mick3Lozzo

togheter with @Nicogene
we investigated the differencies found in the shoulder yaw axis and elbow axis between icub3 model and ecub model.
we can see that the mutual orientation between shoulder yaw axis and root frame is the same in both icub3 and ecub1
[the distance is different because ecub is taller]

the differences noticed by @Nicogene is due to a different positioning of the two simulation models [mechanism]

it is therefore normal that each axis below the shoulder roll has a different positioning
--> shoulder_yaw, elbow, pronosupination, wrist roll & pitch and every axis in the hand

Nice analysis!
Probably, this could be solved at the test level by computing the required quantities (distances, angles...) relative to the root.


error msg with demo data

Hello,
Thanks for providing this handy tool to convert t map to z map. However, I have the following error messages when I tried to use it on demo data in example folder.
First, I have python 2.7.10. I installed the TtoZ by entering "pip install git+https://github.com/vsoch/TtoZ.git" . It showed installation successful.
Then, I downloaded example folder which has "tfMRI_LANGUAGE_STORY.nii_tstat1.nii.gz"
Then, I ran " TtoZ tfMRI_LANGUAGE_STORY.nii_tstat1.nii.gz 484 --output_nii=z_score_map.nii" on XQuartz terminal.
It gave me this error:
"
Lacking argument to option --output_nii=z_score_map.nii
Image Exception : #22 :: ERROR: Could not open image 484
An exception has been thrown
ERROR: Could not open image 484Trace: read_volume4DROI.
libc++abi.dylib: terminating with uncaught exception of type RBD_COMMON::BaseException
Abort trap: 6
"
I will appreciate if you have any suggestions on how to fix this. Thanks!

In what you copy pasted under the youtube video, you did not use two dashes:
  TtoZ tfMRI_LANGUAGE_STORY.nii_tstat1.nii.gz 484 -output_nii=z_score_map.nii

but here you did. Could you first confirm that your output_nii argument had two dashes and not one?
  --output_nii

There might be a bug with parsing the input options, I am taking a look now.

@Xiaomingdu, reinstall the package, and give this a try:
  TtoZ --t_stat_map=t_stat_map.nii.gz --dof=484 --output_nii=z_score_map.nii

Thank you very much. I will try it today.
On Tue, Jan 19, 2016 at 3:44 PM, Vanessa Sochat<EMAIL_ADDRESS>wrote:

@Xiaomingdu https://github.com/Xiaomingdu, reinstall the package, and
give this a try:
TtoZ --t_stat_map=t_stat_map.nii.gz --dof=484 --output_nii=z_score_map.nii
—
Reply to this email directly or view it on GitHub
https://github.com/vsoch/TtoZ/issues/2#issuecomment-172980834.

Hi Vanessa,
Sorry for bothering you again and this might be a silly question.
How to complete uninstall TtoZ, so I can reinstall it?
I tried to reinstall it directly and hope to overwrite the old version. It
gave me this message:
bash-3.2$ pip install git+https://github.com/vsoch/TtoZ.git
Collecting git+https://github.com/vsoch/TtoZ.git
Cloning https://github.com/vsoch/TtoZ.git to
/var/folders/t8/0mlyt2091fng3zprmwnbccd80000gn/T/pip-UD8emJ-build
Requirement already satisfied (use --upgrade to upgrade): TtoZ==0.1.0
from git+https://github.com/vsoch/TtoZ.git in
/usr/local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): numpy in
/usr/local/lib/python2.7/site-packages (from TtoZ==0.1.0)
Requirement already satisfied (use --upgrade to upgrade): scipy in
/usr/local/lib/python2.7/site-packages (from TtoZ==0.1.0)
Requirement already satisfied (use --upgrade to upgrade): nibabel in
/usr/local/lib/python2.7/site-packages (from TtoZ==0.1.0)
Another interesting thing is that when I type: which TtoZ in XQuartz, it
showed:
bash-3.2$ which TtoZ
/usr/local/fsl/bin/TtoZ
Does TtoZ be installed to fsl folder? or that is an ssl-version of TtoZ?
Thanks.
Xiaoming
On Tue, Jan 19, 2016 at 3:44 PM, Vanessa Sochat<EMAIL_ADDRESS>wrote:

@Xiaomingdu https://github.com/Xiaomingdu, reinstall the package, and
give this a try:
TtoZ --t_stat_map=t_stat_map.nii.gz --dof=484 --output_nii=z_score_map.nii
—
Reply to this email directly or view it on GitHub
https://github.com/vsoch/TtoZ/issues/2#issuecomment-172980834.

If you read the message, it will tell you to use the update flag:
   Requirement already satisfied (use --upgrade to upgrade): TtoZ==0.1.0

Which would look like this
  pip install TtoZ --upgrade

But to be sure, I would uninstall, and reinstall
  pip uninstall TtoZ
  pip install TtoZ

Thanks Vanessa!
It works for me well now.
However, I figure out the previous problem might not cause by your program.
It might be that I installed FSL first and it has a build-in function has
the same name as yours (i.e., ttoz).
Each time I type ttoz from xterm, it called FSL ttoz.
Now I installed your program in a cleaned mac (without FSL) and it runs
well.
Thanks again for your help and prompt reply. I really appreciate!
Best regards,
Xiaoming
On Thu, Jan 21, 2016 at 6:23 PM, Vanessa Sochat<EMAIL_ADDRESS>wrote:

If you read the message, it will tell you to use the update flag:
Requirement already satisfied (use --upgrade to upgrade): TtoZ==0.1.0
Which would look like this
pip install TtoZ --upgrade
But to be sure, I would uninstall, and reinstall
pip uninstall TtoZ
pip install TtoZ
—
Reply to this email directly or view it on GitHub
https://github.com/vsoch/TtoZ/issues/2#issuecomment-173748113.

Great, so glad it worked! Thanks for pointing out the bug in the install script. I definitely agree about the name - for now it seems appropriate that the differences in capitalization distinguish the scripts, but this can be revisited if there are other concerns. I'm going to close the issue... best of luck!


Missing LICENSE file

Like the graph editor, this also misses a LICENSE file with permissions on what we can do. I play IGI many times a week! :D
Thank you for this amazing project. Have a nice day!

Added now thanks


timeout issue

Hi!
I have a problem with the checker.
When I test locally, all tests pass, but on vmchecker, it shows me "timeout".

Most probably you have an infinite loop, I extended the test to 10 seconds.
Alexandru
On Sun, Mar 22, 2020 at 3:19 PM DianaScurtu<EMAIL_ADDRESS>wrote:

Hi!
I have a problem with the checker.
When I test locally, all tests pass, but on vmchecker, it shows me
"timeout".
[image: Captură de ecran din 2020-03-22 la 15 18 04]
https://user-images.githubusercontent.com/46371782/77250389-653e8100-6c50-11ea-847e-6ee240a84ada.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/43, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVU5IP3Y3GEH6PIEK56PH3RIYF77ANCNFSM4LRJJQDQ
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

Thanks, now it works!


[preprocessor/wacz] add wacz user agent

Fix https://github.com/starlinglab/integrity-v2/issues/13

rewrote the logic, also switched to use ReadString to avoid buffer full error stopping the scan too early


[APE-DbUnit-Populator] Add an option to set schema to use

Tracked by https://issues.jboss.org/browse/ARQ-2102


Error

Hi, Im a high schooler, Esha Cyril and I was wondering if someone could help me fix the error above. I am using this code for research on Alzheimer's Disease diagnosis. It would be great if someone could provide some insight.
Thanks!
Esha Cyril :)

Hi!
Your first command line clinica convert oasis-to-bids OasisDatabase/RawData OasisDatabase/ClinicalData OasisBids_example looks good, except that you should remove the symbol ! at the beginning (it is only needed when executing such commands from a notebook).

Hi Elina,
Thank you so much. Will you have a short 5-10 minutes zoom call, maybe I'm making some mistakes? I have a pressing commitment on my research and your quick help can greatly help me.
Thanks,
Esha Cyril

Hi Esha,
We cannot provide technical support by zoom, but the command clinica convert oasis-to-bids path/to/RawData path/to/ClinicadlData path/to/output in which all expressions beginning by path/to are replaced by the correct paths should work.
Please tell us if it is not the case!

Hi Elina - I am struggling to find the right path for rawdata and clinical data. I see AD-DL and also AD-DL master and again underneath data directories.
I understand the syntax but do i select directories underneath my miniconda install? When do i select AD-DL-Master directory and what files to select?  Thank you for help

I ran the command and found where the csv file exists but still it says the file is not found, even though I gave the right path and directory.

Hi Elina,
We made some progress and ran the command as you suggested with the right input/output and images. The clinicadl application started running and created an output tsv file but the clinicadl application crashed with the following error asking me to pass this to the development team. I think we're pretty close to running this if you or someone could take a look at this I would very much appreciate it. :)

Thanks,
Esha Cyril

Hi Esha,
If you look at the documentation of oasis-2-bids pipeline, you will see that arguments you gave are incorrect.
The syntax to run the command is
clinica convert oasis-to-bids <dataset_directory> <clinical_data_directory> <bids_directory>

where:

dataset_directory is the path to the original OASIS images' directory. In your case, you gave the path to clinica data.  The path of dataset_directory should contain a tree like this :

.
├── OAS1_0001_MR1
│   ├── FSL_SEG
│   ├── PROCESSED
│   │   └── MPRAGE
│   │       ├── SUBJ_111
│   │       └── T88_111
│   │           └── t4_files
│   └── RAW
├── ...

clinical_data_directory is the path to the directory where the CSV file with the clinical data is located. In your case, it seems to be /Users/eshacyril/Desktop/New Folder With Items/. By the way, rename New Folder With Items/ with folder name without spaces, it may cause some troubles.
bids_directory is the path to the output directory, where the BIDS-converted version of OASIS will be stored. You can simply type OASIS_BIDS :)

Best,
Alex

Hi @esheee,
Since we don't have feedback, we will close this issue. I hope you managed to convert OASIS database.
Best,
Alex


Ignore Kate's build file

This file is used to store build instructions for the Kate editor.

Just FYI, you can put your platform/editor specific ignore settings in a global gitignore file (via git's core.excludesFile option).

@timothyqiu I'm aware. Still, our gitignore already specify files from various IDEs, including Kate itself.

Thanks!


Fix #5 and a desync between win32typing types

Actually fixes #5 which was closed early. Those types are missing in the base pywin32 and an issue has been opened there: mhammond/pywin32/issues/1913
There was also a leftover from win32helper import win32typing that was missed in the last batch of fixes, which was causing an issue in Pylance (and curiously, not Pyright):

thanks


Add video only on failed Tests

The last feature addition on v3.4.0 -adding video on tests- is very helpfull, even if the video is about the entire spec file.
A feature of Mockawesome Report is to add a marker appears on the right next to the elapsed time if any test, PASSed or FAILed, has Additional Text Content.
A feature of Cypress Mockawesome Reporter is to mark the Additional Text Content entry of each try of a test with its "retry" index number.
In my company we have set retries: 1 and fix/improve any flaky test (test that rerun on fail and pass the second time) if is possible.
In order to find the flaky ones in the report we "use" the "Additional Text Content" marker as "flaky marker".
With the last update the captured video is added to all tests.
This makes the identification of "flaky/able-to-be-improved" tests a lot harder.
I don't think there is any need for the video to be added to the PASSed tests.
I think it is better to be added only on FAILed ones (or FAILed tries of flaky ones).
If needed and is possible, and since the video is the same for all tests, it can be added only on the 1st tests of the spec file.

Hi @irapths and thank you for your feedback. I am glad you found the video attachments helpful 😄
The video is as you say the entire spec-file, but this is how Cypress designed their video recording feature and thus not something we can control.
This fact is also why I deliberately made the video feature add the recording to both Passed and Failed tests as the theory was that it would be more confusing to have a full-spec video recording only added to some tests. By adding the same video to all tests within the spec, it clearly implied that the recording was off ALL tests in the spec, not just the failed one.
However, that being said I do see your point in having the video on Passed tests might not be desired for all setups.
I have made a PR (#142) that allows you to set the reporterOption videoOnFailOnly = true to only add the video recordings on the failed tests. I hope this will help 😃

Hi @joakim-sch
I know that there is no way to locate the timestamp each test case starts in order to start the video to that. And this is the reason I am OK even if the same video is on each test of the same scpec file.
As for the impruvement you did, I think the [de]activation on PASSed via flag is very good, since it is simple but alos meets any need.

Released in v3.5.0


Invalid assumptions about the layout of node_modules causes errors with npm@3, and with npm < 3 after npm dedupe

Because strider requires deep modules across module boundaries as in lib/routes/admin/plugins/get_plugin_list.js, lines like
var client = require('strider-cli/node_modules/strider-ecosystem-client');

throw an error.
A better approach might be to have strider-cli export that module itself, so you can require('strider-cli').someProperty to access that submodule's interface, or to depend on strider-ecosystem-client directly.

@aredridel could you tackle this as a PR?

Possibly, if I get time!

Fixed by be36b4cce8e83f80a69d59e4ebd3e94fa2764a41


[6][Backend] As a user, I can invoke API to sign in

Resolve https://github.com/llleyelll/ic-surveys-ios/issues/6
What happened 👀

Implement API to login with endpoint /api/v1/oauth/token

Insight 📝

Add base API
Add AuthenticationService
Add API error response handler
Store access_token and refresh_token to local storage if success

Proof Of Work 📹
On success:

On error:

@llleyelll  I think you should refactor a bit in your PR, cause it's out of scope.
So you may want to split this PR into these PRs:

Chore: write base API service (yellow)
Backend: write authentication service (blue)
Integrate: integrate Login screen, after writing authentication service (green)

@llleyelll I think you should refactor a bit in your PR, cause it's out of scope.
So you may want to split this PR into these PRs:

Chore: write base API service (yellow)
Backend: write authentication service (blue)
Integrate: integrate Login screen, after writing authentication service (green)

Oh thank you for you advice. I'll open new PRs after split those file 😅


conductor: replace gossipnet by a subscription to cometbft/sequencer

Summary
This patch replaces gossipnet by a websocket stream of new blocks directly from sequencer.
Background
Adding a p2p layer adds a lot of complexity to astria services. With this patch conductor reads new blocks directly off of cometbft/sequencer, making it much simpler. For background reading, see this issue: https://github.com/astriaorg/astria/issues/325
Changes

Replace gossipnet directly by a stream of new blocks using the cometbft subscrition RPC.
No other changes in regard to how blocks are further processed has been made.

Testing
We are relying on the rust tendermint-rpc crate functioning properly. As a follow-up it makes sense to create blackbox tests for conductor, which are currently absent.
Breaking Changelist

Reading over p2p is no longer supported. Deployments must be updated and wired to read off of cometbft/sequenceer.

Related Issues
Precursor PRs unblocking this work:
https://github.com/astriaorg/astria/pull/375
https://github.com/astriaorg/astria/pull/376
https://github.com/astriaorg/astria/pull/382
closes https://github.com/astriaorg/astria/issues/332

docs and comments still mention gossip. made some related drive-by changes that are applicable here #394 .

I'm still finding the word 'gossip' in docs and comments when I search


[ci,rpm] disable build-id, update dependencies

merging as current nightly is broken and this can not make it worse.


Expose types to consumers, make more complete

I was starting to add types in greeneye-monitor and realized that pyright run locally didn't pick up on type defs from this package. Adding the py.typed marker took care of that. Then I corrected a few mis-typed items and filled out the rest of the interface. The one untyped thing is a thing that couldn't be typed in 3.8 without breaking the build.
[0] > pyright --verifytypes siobrultech_protocols
npx: installed 1 in 1.766s
Package name: "siobrultech_protocols"
Package directory: "/Users/jkeljo/siobrultech-protocols/siobrultech_protocols"
Path of py.typed file: "/Users/jkeljo/siobrultech-protocols/siobrultech_protocols/py.typed"

Public modules: 5
   siobrultech_protocols
   siobrultech_protocols.gem
   siobrultech_protocols.gem.fields
   siobrultech_protocols.gem.packets
   siobrultech_protocols.gem.protocol

Symbols used in public interface:
siobrultech_protocols.gem.protocol.PacketProtocol.__init__
  /Users/jkeljo/siobrultech-protocols/siobrultech_protocols/gem/protocol.py:21:9 - error: Type of parameter "queue" is partially unknown
    Parameter type is "Queue[Unknown]"
      Type argument 0 has unknown type

Symbols exported by "siobrultech_protocols": 83
  With known type: 81
  With partially unknown type: 2
  Functions without docstring: 24
  Functions without default param: 111
  Classes without docstring: 13

Other symbols referenced but not exported by "siobrultech_protocols": 748
  With known type: 748
  With partially unknown type: 0

Type completeness score: 97.6%

Completed in 1.18sec

Not sure if there is a way to get that checked automatically, but would be nice to have this verified with CI as well.


[Perf] Only use raw iterators with RocksDB and speed up ledger load

The signatures of iteration-related methods (with the rocksdb feature) have been haunting my heap profiles for a long time now, and while I initially believed this was something we could fine-tune with some configuration, all such attempts were unsatisfactory. It turns out that the "default" (higher-level) RocksDB iterators are just inherently inefficient, and only the DBRawIterator is able to avoid a massive number of allocations, some of which may remain lingering in the RSS and contribute to its inflation over time. The raw iterator is somewhat trickier to use correctly, but since it's what the regular iterator is built upon, there is nothing particularly novel about it, and we're already using it to count records.
With these changes I ran profiling with both an instrumented OS allocator and jemalloc and - contrary to the usual results - it was the latter that experienced larger relative differences when loading the ledger:

total allocs and temp allocs were both reduced by 98%
ledger load time was down 14%
max RSS was reduced by 13%

In addition, heaptrack ran 73% faster and produced a 99% smaller profile, which is very practical for future profiling needs.
Alongside these changes I realized that the current len_confirmed method - while working correctly and passing all tests - can be made more solid by including iterator validity checks; the only situation where this would truly be needed is if it was called on the very last map in the database and if the map was empty, but this commit guards against that edge case.
The final commit is a further improvement on one of the changes from https://github.com/AleoNet/snarkVM/pull/2515 (and made possible with the switch to raw iterators).
CI run link

Superseded by https://github.com/AleoNet/snarkVM/pull/2561 to merge staging and fix cargo fmt


doesn't work with node 10

What version of React-Table are you using?
Your bug may already be fixed in the latest release. Run yarn upgrade react-table!
latest
What bug are you experiencing, or what feature are you proposing?
increase the node range in the package.json
Use https://codesandbox.io/s/X6npLXPRW (by clicking the "Fork" button) to reproduce the issue.
Then paste a link to your newly forked codesandbox here...
What are the steps to reproduce the issue?
install the package with node 10+

Closing due to issue age. If you think this issue needs to be reopened, please check the latest version of React-Table for the issue once more and reopen if appropriate. Thanks!


Expose underlying basic-ftp client

Hi, this module is great. Can you expose the underlying basic-ftp 's client ? So that we can call raw methods as well if needed. For example we need to create directories or check they exists, or create missing directories etc. That will be useful.
Thanks.

https://github.com/patrickjuchli/basic-ftp#readme

@kirtan403 would you like to open a PR and add the other missing methods?

I'm not sure. I lake understanding of the modules as of now. Just exposing the basic-ftp client would be enough so that all the raw methods can be called if needed.

Just making the given variable public would be enough?
https://github.com/AbdessalemLetaief/nestjs-ftp/blob/main/src/ftp.service.ts#L9

@AbdessalemLetaief Hi, i highly appreciate this module too. But could you please, make the underlying _ftpClient make public ? If you don't mind, i could open PR with corresponding changes: like add missing methods


Can "Dataverse for Teams" can have CMK enabled, Documentation not clear.

Due to new naming, it is not super clear if "Dataverse for Teams" can have CMK enabled in documentation.
Feedback given by @paulliew indicate that "Dataverse for Teams" cannot be enabled for CMK
Please verify and update documentation to make it clear if "Dataverse for Teams" can by CMK enabled or not.
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e9c43b88-32f5-49ab-d715-bfcf75c9ba3e
Version Independent ID: 70179da7-e3b6-8775-97cc-361990404677
Content: Manage the encryption key - Power Platform
Content Source: power-platform/admin/manage-encryption-key.md
Service: power-platform
GitHub Login: @jayasreekumar
Microsoft Alias: jkumar

@iiu-dk
Sorry for the delayed response. This is likely no longer an issue. Please reopen if that is not the case.


Export animation to file

Hello, may I ask if it is possible to export the results as a video file, then add audio, and export as a GIF file~   WYSIWYG

Hello,
yes it is possible, but you need something that merges a bunch of images into a video. A quick Google search lead me to this blog post https://cooltrickshome.blogspot.com/2016/12/images-to-movie-converter-using-java.html
You have to setup a maven project and add bytedeco.
    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>com.github.Krassnig</groupId>
            <artifactId>CodeDraw</artifactId>
            <version>4.0.3</version>
        </dependency>
        <dependency>
            <groupId>org.bytedeco</groupId>
            <artifactId>javacv</artifactId>
            <version>1.0</version>
        </dependency>
    </dependencies>

Then use this class to capture the individual frames.
package org.example;

import codedraw.Image;
import codedraw.ImageFormat;
import org.bytedeco.javacv.FFmpegFrameRecorder;
import org.bytedeco.javacv.FrameRecorder;
import org.bytedeco.javacv.OpenCVFrameConverter;

import java.io.File;

import static org.bytedeco.javacpp.opencv_imgcodecs.*;

public class Recorder {
	public Recorder(String filename, int width, int height, int frameRate) {
		recorder = new FFmpegFrameRecorder(filename, width, height);
		recorder.setFrameRate(frameRate);
		recorder.setVideoBitrate(9000);
		recorder.setFormat("mp4");
		recorder.setVideoQuality(0);

		try {
			recorder.start();
		} catch (FrameRecorder.Exception e) {
			throw new RuntimeException(e);
		}
	}

	private OpenCVFrameConverter.ToIplImage grabberConverter = new OpenCVFrameConverter.ToIplImage();
	private FFmpegFrameRecorder recorder;
	private String temporaryFile = "./tmp";

	public void captureFrame(Image codeDrawImage) {
		Image.save(codeDrawImage, temporaryFile, ImageFormat.JPG);

		try {
			recorder.record(grabberConverter.convert(cvLoadImage(temporaryFile)));
		} catch (FrameRecorder.Exception e) {
			throw new RuntimeException(e);
		}
	}

	public void stop() {
		new File(temporaryFile).delete();

		try {
			recorder.stop();
		} catch (FrameRecorder.Exception e) {
			throw new RuntimeException(e);
		}
	}
}

Here is an example program that generates a video of the output produces by CodeDraw.
import codedraw.*;

public class Main {
	public static void main(String[] args) {
		CodeDraw cd = new CodeDraw();
		cd.setColor(Palette.RED);
		EventScanner es = cd.getEventScanner();
		Recorder recorder = new Recorder("./out.mp4", cd.getWidth(), cd.getHeight(), 60);

		int i = 0;

		while (!cd.isClosed() && i < (60 * 10)) {
			while (es.hasEventNow()) {
				if (es.hasMouseMoveEvent()) {
					MouseMoveEvent mm = es.nextMouseMoveEvent();
					cd.fillSquare(mm.getX() - 4, mm.getY() - 4, 8);
				}
				else {
					es.nextEvent();
				}
			}

			i++;
			recorder.captureFrame(cd);
			cd.show(16);
		}

		recorder.stop();
		cd.close();
	}
}

Then you can use ffmpeg https://ffmpeg.org/ to add audio to your video file or to convert that video file into a GIF. Note that GIF files cannot have audio as far as I know.
A drawback of this solution is that the framerate of normal CodeDraw programs is dependent on the time it takes execute that program, that means the framerate of the video will not exactly match the output you saw in your CodeDraw program. This could be avoided by using the Animation interface which has a scheduler in the background that tries to match the given framerate.
As an alternative you can also use OBS https://obsproject.com/ to record the CodeDraw window.
Hope this helps

Thank you, this is very useful. I need to add that I am using version 1.1 of JavaCV.


Okhttp multi interceptor issue

Okhttp interceptors can be many, they can change the request and they are chained. In order to change a request, the interceptor must first clone the existing one in the form of a Request builder that can be modified, so a new instance of Request is created and passed down to the next elements in the chain.
Interceptors are always called in the order they were set, so only the first one is guaranteed to have access to the "original" request object, which is the one mapped to the OTel context. Therefore is is important that our Interceptor is the first one in the chain, so that it can find the parent OTel context, and propagate it. The code changes in this PR make sure that our interceptor is always the first one in the chain.

Have you considered attaching the context via a okhttp3.Request.Builder#tag(java.lang.Class<? super T>, T)? If that works, we don't depend on the order of the interceptors which feels less brittle.
This PR contains a bunch of changes that are unrelated to the interceptor issue. I find it easier to review changes in isolation. Not a big issue though, just something I noticed.

That's very interesting, I didn't know that the Request object could store tags tbh. It could be very handy, however currently we're mapping the current context to a request here - This is needed because the callStart method is called before OkHttp launches its secondary threads, so we can still get the current context there. But the EventListener is not part of the interceptors chain, so it cannot modify the Request and pass it along to the interceptors, so even if we created a new Request in callStart and set the tag, interceptors will still get the original one. So if we wanted to use tags, we'd still need to make sure that we have some interceptor early in the chain that adds the tag so that further interceptors can get it. But interceptors are called in some secondary thread created by OkHttp where the OTel context is no longer available 😅


django CMS fails to run on Python 3.5/Django 1.7

More than one user has reported a similar issue trying to get started on Python 3.5 and Django 1.7:
Creating the project
Please wait while I install dependencies
Dependencies installed
Creating the projectTraceback (most recent call last):
  File "/home/sohalt/env/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/home/sohalt/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/sohalt/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/home/sohalt/env/lib/python3.5/site-packages/django/__init__.py", line 18, in setup
    from django.utils.log import configure_logging
  File "/home/sohalt/env/lib/python3.5/site-packages/django/utils/log.py", line 13, in <module>
    from django.views.debug import ExceptionReporter, get_exception_reporter_filter
  File "/home/sohalt/env/lib/python3.5/site-packages/django/views/debug.py", line 10, in <module>
    from django.http import (HttpResponse, HttpResponseServerError,
  File "/home/sohalt/env/lib/python3.5/site-packages/django/http/__init__.py", line 4, in <module>
    from django.http.response import (
  File "/home/sohalt/env/lib/python3.5/site-packages/django/http/response.py", line 13, in <module>
    from django.core.serializers.json import DjangoJSONEncoder
  File "/home/sohalt/env/lib/python3.5/site-packages/django/core/serializers/__init__.py", line 23, in <module>
    from django.core.serializers.base import SerializerDoesNotExist
  File "/home/sohalt/env/lib/python3.5/site-packages/django/core/serializers/base.py", line 6, in <module>
    from django.db import models
  File "/home/sohalt/env/lib/python3.5/site-packages/django/db/models/__init__.py", line 6, in <module>
    from django.db.models.query import Q, QuerySet, Prefetch  # NOQA
  File "/home/sohalt/env/lib/python3.5/site-packages/django/db/models/query.py", line 13, in <module>
    from django.db.models.fields import AutoField, Empty
  File "/home/sohalt/env/lib/python3.5/site-packages/django/db/models/fields/__init__.py", line 18, in <module>
    from django import forms
  File "/home/sohalt/env/lib/python3.5/site-packages/django/forms/__init__.py", line 6, in <module>
    from django.forms.fields import *  # NOQA
  File "/home/sohalt/env/lib/python3.5/site-packages/django/forms/fields.py", line 18, in <module>
    from django.forms.utils import from_current_timezone, to_current_timezone
  File "/home/sohalt/env/lib/python3.5/site-packages/django/forms/utils.py", line 15, in <module>
    from django.utils.html import format_html, format_html_join, escape
  File "/home/sohalt/env/lib/python3.5/site-packages/django/utils/html.py", line 16, in <module>
    from .html_parser import HTMLParser, HTMLParseError
  File "/home/sohalt/env/lib/python3.5/site-packages/django/utils/html_parser.py", line 12, in <module>
    HTMLParseError = _html_parser.HTMLParseError
AttributeError: module 'html.parser' has no attribute 'HTMLParseError'

Django 1.7 does not support python 3.5


Point Cloud Alignment Code

Hi, SceneVerse is a great dataset. Although your point cloud alignment method has been explained in the paper, I still haven't found an effective way to align my custom data with your point cloud. Can you provide the corresponding code?Thx!

Yes, we plan to release the code for aligning codes, however, we are undergoing an internal code review, so we will try to figure out a way to give some code snippets as an alignment example in the coming weeks.

Hi, we have released the instructions preprocess/README.md and an example script for data preprocessing and alignment in preprocess/rscan.py. Check out!

Closing issue as we have already provided the alignment code, feel free to re-open this thread if there is any issue.


Separate CSS files

As the project starts getting bigger, it will make more sense to separate out CSS in different files. We are already using css-loader so that shouldn't be a problem. Also in future we will be able to use CSS feature like keyframe etc and at the same time make the project more modular.

Got it.
But, How that's relate to this project?
We allow to use any kind of CSS.
If this is related to this project, We use CSS in JS mostly. But, we need some cleanup for the use of CSS.

when I was implementing transition n action, I couldn't use CSS's keyframe functionality as they can't be used with inline CSS. So instead I had to use setTimeout . Separating it will be better in the long run as it will remove any limitations.

@ritz078 got it.
It is possible for you to use keyframe functionality with Radium.
See: https://github.com/FormidableLabs/radium
If so, I'm happy to use that instead of setTimeout.

Keyframes in Radium: https://github.com/FormidableLabs/radium/tree/master/docs/api#keyframes
Radium works really well, although I'm personally still undecided on the best CSS approach for use with React.

I agree with @jeef3 too.
CSS area where no one agrees with one tech.
I think, it will be like that.

Thanks . I will go forward with the proposed solution.

Awesome.


Avoid allocating the CandidateSet when there's a single match

Add fast path for 0 route values, and policies

####?s

####?s

Will get some. I went awaty but now I'm back


Fix version_info.json path so app engine can be run locally.

Port of:
0e96764799c1613ed3ed0596082bf390dea153c2

@jiayliu PTAL
Turns out my local app engine instance wouldn't load correctly without this.

what is the error? you're running dev_appserver.py out/app_engine?

lgtm

I'm using the GoogleAppEngineLauncher tool on the out/app_engine dir. Logs here:
INFO     2015-02-13 22:29:02,932 apprtc.py:86] Applying media constraints: {'audio': True, 'video': {'mandatory': {}, 'optional': [{'minWidth': '1280'}, {'minHeight': '720'}]}}
ERROR    2015-02-13 22:29:02,932 webapp2.py:1528] [Errno 2] No such file or directory
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1511, in call
rv = self.handle_exception(request, response, e)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1505, in call
rv = self.router.dispatch(request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1077, in call
return handler.dispatch()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/Users/tkchin/src/tkchin_apprtc/out/app_engine/apprtc.py", line 515, in get
params = get_room_parameters(self.request, None, None, None)
File "/Users/tkchin/src/tkchin_apprtc/out/app_engine/apprtc.py", line 262, in get_room_parameters
'version_info': json.dumps(get_version_info())
File "/Users/tkchin/src/tkchin_apprtc/out/app_engine/apprtc.py", line 133, in get_version_info
f = open('version_info.json')
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/stubs.py", line 249, in init
if not FakeFile.is_file_accessible(filename):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/stubs.py", line 220, in is_file_accessible
fixed_filename = os.path.normcase(os.path.abspath(filename))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 356, in abspath
cwd = os.getcwd()
OSError: [Errno 2] No such file or directory
ERROR    2015-02-13 22:29:02,934 wsgi.py:279]
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 267, in Handle
result = handler(dict(self._environ), self._StartResponse)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1519, in call
response = self._internal_error(e)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1511, in call
rv = self.handle_exception(request, response, e)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1505, in call
rv = self.router.dispatch(request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 1077, in call
return handler.dispatch()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/Users/tkchin/src/tkchin_apprtc/out/app_engine/apprtc.py", line 515, in get
params = get_room_parameters(self.request, None, None, None)
File "/Users/tkchin/src/tkchin_apprtc/out/app_engine/apprtc.py", line 262, in get_room_parameters
'version_info': json.dumps(get_version_info())
File "/Users/tkchin/src/tkchin_apprtc/out/app_engine/apprtc.py", line 133, in get_version_info
f = open('version_info.json')
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/stubs.py", line 249, in init
if not FakeFile.is_file_accessible(filename):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/stubs.py", line 220, in is_file_accessible
fixed_filename = os.path.normcase(os.path.abspath(filename))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 356, in abspath
cwd = os.getcwd()
OSError: [Errno 2] No such file or directory
INFO     2015-02-13 22:29:02,941 module.py:718] default: "GET / HTTP/1.1" 500 -
INFO     2015-02-13 22:29:03,217 module.py:391] [default] Detected file changes:
/Users/tkchin/src/tkchin_apprtc/out/app_engine/third_party/apiclient
/Users/tkchin/src/tkchin_apprtc/out/app_engine/third_party/httplib2
/Users/tkchin/src/tkchin_apprtc/out/app_engine/third_party/oauth2client
/Users/tkchin/src/tkchin_apprtc/out/app_engine/third_party/uritemplate


Fails to build on LoongArch (lp64d "new world" ABI): __NR_fstat was not declared

$ ./configure --prefix=/usr --libdir=/usr/lib64 --disable-static
$ make
[lots of output]
libtool: compile:  loongarch64-alt-linux-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNDEBUG -Wall -Wwrite-st
rings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DENABLE_EMERGENCY_M
ALLOC -DTCMALLOC_FOR_DEBUGALLOCATION -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fpermissive -c src/base/linux
threads.cc  -fPIC -DPIC -o src/base/.libs/libtcmalloc_debug_la-linuxthreads.o
In file included from src/base/linuxthreads.cc:52:
./src/base/linux_syscall_support.h: In function 'int sys_fstat(int, kernel_stat*)':
./src/base/linux_syscall_support.h:2618:45: error: '__NR_fstat' was not declared in this scope
 2618 |         register long __a7 __asm__("$a7") = __NR_##name;                      \
      |                                             ^~~~~
./src/base/linux_syscall_support.h:2652:9: note: in expansion of macro 'LSS_BODY'
 2652 |         LSS_BODY(type, name,"r"(__a1));                                       \
      |         ^~~~~~~~
./src/base/linux_syscall_support.h:2781:14: note: in expansion of macro '_syscall2'
 2781 |   LSS_INLINE _syscall2(int,     fstat,           int,         f,
      |              ^~~~~~~~~
In file included from src/base/linuxthreads.cc:162:
src/base/linux_syscall_support.h: In member function 'int {anonymous}::SysCalls::fstat(int, kernel_stat*)':
src/base/linux_syscall_support.h:2618:45: error: '__NR_fstat' was not declared in this scope
 2618 |         register long __a7 __asm__("$a7") = __NR_##name;                      \
      |                                             ^~~~~
src/base/linux_syscall_support.h:2652:9: note: in expansion of macro 'LSS_BODY'
 2652 |         LSS_BODY(type, name,"r"(__a1));                                       \
      |         ^~~~~~~~
src/base/linux_syscall_support.h:2781:14: note: in expansion of macro '_syscall2'
 2781 |   LSS_INLINE _syscall2(int,     fstat,           int,         f,
      |              ^~~~~~~~~
make: *** [Makefile:5068: src/base/libtcmalloc_debug_la-linuxthreads.lo] Error 1

The problem is that Linux has no fstat syscall on LoongArch, instead there are new-ish newfstatat and statx  system calls. glibc uses the latter to implement [fl]stat* functions:
$ cat > fstat_demo.c << EOF
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

int main(int argc, char **argv) {
        int fd = -1;
        struct stat st;
        memset(&st, 0, sizeof(st));

        fd = open("/dev/null", O_RDONLY);
        if (fd < 0) {
                perror("open");
                exit(2);
        }
        if (fstat(fd, &st) < 0) {
                perror("fstat");
                exit(3);
        }
        close(fd);
        return 0;
}
EOF

$ gcc -O2 -o fstat_demo -static fstat_demo.c
$ strace -e openat,close,statx ./fstat_demo

openat(AT_FDCWD, "/dev/null", O_RDONLY) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_
MNT_ID, stx_attributes=0, stx_mode=S_IFCHR|0666, stx_size=0, ...}) = 0
close(3)                                = 0
+++ exited with 0 +++

I finishing work that'll eliminate our less well maintained linux syscall support.
With that said, just build minimal setup and it'll be fine. LoongArch support was contributed only very recently and not really something I am able to support. Usually minor architectures support start small.

Closing as won't fix, but see above. We'll likely compile heap leak checker fine very soon, but full ptrace support for this less common arch is something that'll need to be contributed to fully pass all the tests.


[NTR/gene] Hereditary inclusion-body myopathy

Preferred gene-related syndrome label
[NTR/gene] Hereditary inclusion-body myopathy
See
https://pubmed.ncbi.nlm.nih.gov/25149037/
rename inclusion myopathy (allof the diseases are hereditary).
Also,
revise congenital myopathy according to https://ijponline.biomedcentral.com/articles/10.1186/s13052-017-0419-z
Also add term
Genetic Muscle Disorders:
with these three main children
Muscular dystrophies: Duchenne, Becker, Facioscapulohumeral, Myotonic, Congenital, Distal, Emery-Dreifuss, Oculopharyngeal, Limb Girdle
Congenital myopathies: Central Core, Myotubular, Nemaline, Ullrich/Bethlem, RyR1
Metabolic muscle diseases: Mitochondrial Myopathy, Pompe Disease, McArdles Disease, Carnitine Palmitoyl Transferase Deficiency

Hi Sabrina!  Will it be possible to add RYR1-Related Diseases as a synonym for this condition?  PS:  We have a NORD report.  Thank you, Gioconda (If needed I can submit a ticket)


redirect to new sandbox if the old one is not available

@tobiasqueck changes taken over to https://github.com/SAP/open-ux-tools/pull/2159, thus closing this one


Futures consumer example no longer works with 0.15

The example in https://github.com/sozu-proxy/lapin/blob/master/futures/README.md#creating-a-consumer as of a5bf90043697d46c7a534d1af36023de8c1211c3 no longer seems to work with 0.15
error[E0271]: type mismatch resolving `<impl std::marker::Send+futures::future::Future as futures::future::IntoFuture>::Error == std::io::Error`
  --> src\main.rs:26:18
   |
26 |                 .and_then(|stream| {
   |                  ^^^^^^^^ expected struct `lapin_futures::error::Error`, found struct `std::io::Error`
   |
   = note: expected type `lapin_futures::error::Error`
              found type `std::io::Error`

error[E0599]: no method named `and_then` found for type `futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]>` in the current scope
  --> src\main.rs:31:18
   |
31 |                 .and_then(|(client, heartbeat)| {
   |                  ^^^^^^^^
   |
   = note: the method `and_then` exists but the following trait bounds were not satisfied:
           `futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]> : futures::future::Future`
           `&mut futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]> : futures::stream::Stream`
           `&mut futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]> : futures::future::Future`

error: aborting due to 2 previous errors

Some errors occurred: E0271, E0599.
For more information about an error, try `rustc --explain E0271`.
error: Could not compile `rmq_sqlite`.

To learn more, run the command again with --verbose.

It compiles correctly with 0.14.1

Heh, I indeed forgot to update the README.
The example from the examples/ directory works fine if your want to
contribute by fixing the README :)
I’ll fix it soon-ish otherwise
On Sat 8 Dec 2018 at 17:47, Jens Hedegaard Nielsen<EMAIL_ADDRESS>wrote:

The example in
https://github.com/sozu-proxy/lapin/blob/master/futures/README.md#creating-a-consumer
as of a5bf900
https://github.com/sozu-proxy/lapin/commit/a5bf90043697d46c7a534d1af36023de8c1211c3
no longer seems to work with 0.15
error[E0271]: type mismatch resolving <impl std::marker::Send+futures::future::Future as futures::future::IntoFuture>::Error == std::io::Error
--> src\main.rs:26:18
|
26 |                 .and_then(|stream| {
|                  ^^^^^^^^ expected struct lapin_futures::error::Error, found struct std::io::Error
|
= note: expected type lapin_futures::error::Error
found type std::io::Error
error[E0599]: no method named and_then found for type futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]> in the current scope
--> src\main.rs:31:18
|
31 |                 .and_then(|(client, heartbeat)| {
|                  ^^^^^^^^
|
= note: the method and_then exists but the following trait bounds were not satisfied:
futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]> : futures::future::Future
&mut futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]> : futures::stream::Stream
&mut futures::future::and_then::AndThen<tokio_tcp::stream::ConnectFuture, impl std::marker::Send+futures::future::Future, [closure@src\main.rs:26:27: 30:18]> : futures::future::Future
error: aborting due to 2 previous errors
Some errors occurred: E0271, E0599.
For more information about an error, try rustc --explain E0271.
error: Could not compile rmq_sqlite.
To learn more, run the command again with --verbose.
It compiles correctly with 0.14.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sozu-proxy/lapin/issues/151, or mute the thread
https://github.com/notifications/unsubscribe-auth/AANm3mv7ymvv8JUQJ80OOYPoBUilBB9yks5u2-01gaJpZM4ZJtxR
.

Thanks, Is it the intention that the readme example should match the example in the examples dir or should it just be updated to map the errors appropriately

They are supposed to match, yes

Unfortunately, the examples in lapin/futures are not a good substitute for the simple example in the README. Specifically, the client.rs example is actually both a client and server. For those of us trying to come to terms with async style nesting/chaining, this is more complicated than needs be.
Case in point, I tried to separate the two, cutting out the message consumption in the client, and creating a server.rs which cuts out the message production. And this works, however, neither of the executables exit when done. That is expected behavior for a server, but not for a client I warrant.
I know that the answer is probably somewhere in the tokio documentation. However, it would be great to add termination to the example client.
Also, it would be fantastic if there was some discussion in the docs of how one would use the client code in production. Would this run in a separate thread using message passing from the rest of the client? Or would one go through the whole process outlined for each message?
Anyway, thank you for the excellent crate!

Will fix tomorrow

Wrt termination, you have to cancel the heartbeat using the heartbeat handle

Btw, that’s just terminology but both are clients, just a producer client and a consumer client, but no server there

Wrt termination, you have to cancel the heartbeat using the heartbeat handle

Ahh. Thank you.

Any plans to update other example from lapin-futures (consumers.rs and topic.rs) directory?
First of all because it will reflect the actual state of the lapin-futures crate (probably to lapin-async it applies as well). In addition to it that will be really helpful for case when someone wants to port code after breaking changes around Error/ErrorKind starting from the 0.15.0 release.


Update?

This a great document, but it's a little dated.  Any plans to update it and the instructions on using ZAP?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 03ce2683-1bb4-671a-630b-2c909184e93d
Version Independent ID: 5e57efbe-f0c3-6e0f-8591-b60bb04a964c
Content: Add Continuous Security Validation to your CICD Pipeline - Azure DevOps
Content Source: docs/migrate/security-validation-cicd-pipeline.md
Product: devops
Technology: devops-migrate
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@scott1138  - Thank you for your inquiry.  This article was contributed by the ALM Rangers. There is no plan to update it at this time.


frint-compat: fixes for readableApps.

What's done

Fix for shared state in old mapToProps

Coverage increased (+0.001%) to 97.292% when pulling c43bb6aad28ba8f2103d9013b804c76506313cfb on compat-fixes into 88c339f4031f5689fe78e7b4b0659b28eaf1df7f on master.


Make Tundra command line parsing Unicode-compliant.

We should be using http://msdn.microsoft.com/en-us/library/fzc2cy7w(v=VS.100).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/ms683156(v=vs.85).aspx to properly parse command line inputs even if they contain odd characters, like åäö€Ӕ or something else. Currently char* and std::strings are used.
(This is definitely not the only place for Unicode issues).
QString uses UTF-16, which is ok.

Had to unfortunately revert this in realxtend/naali repos tundra2 branch before the 2.1.2 release as it broke command line parameters.
https://github.com/realxtend/naali/commit/0d6a9abbcb80440f9f3d4f428a343cb77aa4be70
Tundra.exe --headless --config viewer-browser.xml gave me this:
Startup options:
Warning: Warning: Orphaned startup option parameter value "-" specified!
   '-' '-'
Warning: Warning: Orphaned startup option parameter value "v" specified!
   'v'
   '--accept_unknown_http_sources'
   '--accept_unknown_local_sources'
   '--fpslimit' '60'
   '--hide_benign_ogre_messages'
   '--nofilewatcher'`


WIP: Fortran cmake

This is a work in progress pull request. Target is to use CMake for Fortran exercises.
I have tried to create a mini-test framework, config/TesterMain.f90, which is added to all exercise directories. The <exercise>_test.f90 contain the actual testing generated using a python script, config/create_fortran_test.py and then modified by hand.
I have got hello-world, bob and hamming up and running and travis build and test successfully. But I am new to github and exercism, so I would like to get some feedback before continuing down a path not wanted by the community. Please let me know if something is wrong in the place this pull request is done or with my fork, or if I can improve something. Thank you.

Thanks for the feedback. Some answers:
@SaschaMann

Is there a commonly used unit testing library for Fortran? Previously, FUnit was used, are there reasons against using it? (To prevent misunderstandings: I'm just curious, this isn't a disapproval at all)

I had a hard look at FUnit and did not find that it brought many advantages. On the disadvantage side, most Fortran users I know of would not have Ruby and even though I have some linux and admin experience I thought it was too much hassle to get Ruby installed first. In my company we have also looked for a good Unittesting framework for Fortran but ended up writing our own stuff similar to TesterMain.f90 which I wrote based on what I felt I needed.
If you are missing certain features in such a Test-module I would be very interested as I am not very used to Test Frameworks other than Python unittest which I like because its fairly simple to use and minimal overhead.

Is it somehow possible to install a library that contains TesterMain instead of including it in every exercise directory?

Yes, that just needs a bit more CMake magic to happen. I would do this in a later change.

@kotp

Think of these three categories of changes:

Documentation
Configuration
Exercises

I am fine with this kind of separation, but again I dont know how to do this in git. Would it be OK to incorporate the changes you and others have suggested into this single PR ? Or, if you could explain to how I should split the changes into different PRs/branches/.... I would try to go that route, but I am very uncertain to what the best way of handling this is.

If you are missing certain features in such a Test-module I would be very interested as I am not very used to Test Frameworks other than Python unittest which I like because its fairly simple to use and minimal overhead.

A feature that tests that a certain error is thrown for given arguments is missing in this, as far as I can see. I don't know how errors are handled in Fortran, but that might be something to add in the future if an exercise requires it.

This work was put into pull requests #36-#62.


[Project Missing] Water Monitoring System Project is not listed on the website

Hello,
I'm not able to see Water Monitoring System on the Projects page. Seems like it's not listed on the website: scodein.tech!
Here's the link to the GitHub repo.
PS: If you wish, I can raise the PR for the same.
With optimism,
Vinit Shahdeo
Project Admin

Hey @vinitshahdeo ,
We didn't found your submission of project in the form which was provided when we rolled out the selection form
We are not going to entertain any request which doesn't follow any rules. As it was clearly mentioned filling the form was mandatory.
I also had a chat with @PragatiVerma18 . You can refer her.
With regards
SCI team

@cipheraxat Thanks for informing.
Closing this issue.
Good luck!


Add ability to skip loadSpec,dimensions, metrics from DataSegment Announcements

Add Ability to skip list of dimensions, metrics and loadSpec from segment announcements.
Default behavior is unchanged.

This can be useful in order to reduce the heap pressure on the coordinator and broker when the number of DataSegments to be tracked are huge.
Note: Broker/coordinator end points that expose list of dimensions & metrics will report empty set of dimensions and metrics if skipDimensions and skipMetrics are set to true. However this info can still be queried using SegmentMetadataQuery.

:+1:

:+1: after docs are added

@nishantmonu51 conflicts

@fjy: resolved conflicts and added docs.

@b-slim I still had some comments outstanding on this one, it would have been nice to wait for my +1

@xvrl sorry I haven't seen that.


Something went really wrong! OT-node shutting down... TypeError: Cannot read properties of undefined (reading 'assertionId')

Issue description
Freshy rebuilt node, new paranets and node is in a reboot loop
Expected behavior
Normal startup and run
Actual behavior
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] TRACE:  Storing new session stream for remotePeerId: QmbKh9rxcfEeysLu3DbwDfAVBRNPtjMkk1ngqs2jEPEUqf with operation id: cce218e5-a8a6-4663-a7a5-af591e8e63cc
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] DEBUG:  Receiving message from QmbKh9rxcfEeysLu3DbwDfAVBRNPtjMkk1ngqs2jEPEUqf to QmPs2wjFAtb4uRuPZyKF2dt2gjG7vBdRu1bdbv2zW66iSv: protocol: /get/1.0.0, messageType: PROTOCOL_INIT;
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] USERLVL: {Operation ID: cce218e5-a8a6-4663-a7a5-af591e8e63cc} [v1_0_0HandleGetInitCommand] (Command ID: ea436511-3be2-4efd-bc6f-d58230093af5)  level-change
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] TRACE: {Operation ID: cce218e5-a8a6-4663-a7a5-af591e8e63cc} [v1_0_0HandleGetInitCommand] (Command ID: ea436511-3be2-4efd-bc6f-d58230093af5)  Checking if assertion 0xe388cf288822784ae94b2e5cb481ce6c6862c4d958392c1f9fd0d0921beed320 exists for state 0xe388cf288822784ae94b2e5cb481ce6c6862c4d958392c1f9fd0d0921beed320, on blockchain: base:84532, contract: 0xb8B904c73D2fB4D8c173298A51c27Fab70222c32, and tokenId: 5683591
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] TRACE: {Operation ID: cce218e5-a8a6-4663-a7a5-af591e8e63cc} [v1_0_0HandleGetInitCommand] (Command ID: ea436511-3be2-4efd-bc6f-d58230093af5)  Checking if assertion exists in pending storage at path: /root/ot-node/data/pending_storage_cache/public/base:84532:0xb8b904c73d2fb4d8c173298a51c27fab70222c32:5683591/0xe388cf288822784ae94b2e5cb481ce6c6862c4d958392c1f9fd0d0921beed320
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] TRACE: {Operation ID: cce218e5-a8a6-4663-a7a5-af591e8e63cc} [v1_0_0HandleGetInitCommand] (Command ID: ea436511-3be2-4efd-bc6f-d58230093af5)  Node connected to QmNpDvED1ud6N8HpH2KUG1X6v2Vcp3h4YsFYbki4SWxHTQ, updating sharding table last seen and last dialed.
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] DEBUG:  Sending response from QmPs2wjFAtb4uRuPZyKF2dt2gjG7vBdRu1bdbv2zW66iSv to QmbKh9rxcfEeysLu3DbwDfAVBRNPtjMkk1ngqs2jEPEUqf: protocol: /get/1.0.0, messageType: NACK;
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] TRACE:  Session found remotePeerId: QmbKh9rxcfEeysLu3DbwDfAVBRNPtjMkk1ngqs2jEPEUqf, operation id: cce218e5-a8a6-4663-a7a5-af591e8e63cc
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] TRACE:  Removed session for remotePeerId: QmbKh9rxcfEeysLu3DbwDfAVBRNPtjMkk1ngqs2jEPEUqf, operationId: cce218e5-a8a6-4663-a7a5-af591e8e63cc.
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] TRACE:  Storing new session stream for remotePeerId: QmaG78PiYa97z6ArM7uYZkSXaX1SCGWpwBGPspDq1xgm71 with operation id: e6cfb4e6-2397-456f-8ec0-b05272c43b76
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] DEBUG:  Receiving message from QmaG78PiYa97z6ArM7uYZkSXaX1SCGWpwBGPspDq1xgm71 to QmPs2wjFAtb4uRuPZyKF2dt2gjG7vBdRu1bdbv2zW66iSv: protocol: /store/1.0.0, messageType: PROTOCOL_REQUEST;
Nov 05 01:07:48 curated2 node[697867]: [2024-11-05 01:07:48] DEBUG: {Operation ID: cce218e5-a8a6-4663-a7a5-af591e8e63cc} [v1_0_0HandleGetInitCommand] (Command ID: ea436511-3be2-4efd-bc6f-d58230093af5)  Reading operation id: e6cfb4e6-2397-456f-8ec0-b05272c43b76 cached data from file
Nov 05 01:07:48 curated2 node[697867]: Something went really wrong! OT-node shutting down... TypeError: Cannot read properties of undefined (reading 'assertionId')
Nov 05 01:07:48 curated2 node[697867]:     at PublishController.v1_0_0HandleRequest (file:///root/ot-node/8.1.1+beta.3/src/controllers/rpc/publish-rpc-controller.js:33:45)
Nov 05 01:07:48 curated2 systemd[1]: otnode.service: Main process exited, code=exited, status=1/FAILURE
Nov 05 01:07:48 curated2 systemd[1]: otnode.service: Failed with result 'exit-code'.
Nov 05 01:07:48 curated2 systemd[1]: otnode.service: Consumed 10.861s CPU time.
Nov 05 01:07:48 curated2 systemd[1]: otnode.service: Scheduled restart job, restart counter is at 6.
Nov 05 01:07:48 curated2 systemd[1]: Stopped OriginTrail V8 Node.
Nov 05 01:07:48 curated2 systemd[1]: otnode.service: Consumed 10.861s CPU time.
Steps to reproduce the problem

Only seems to be on 1 of my nodes, all identical hardware and publishing scripts, paranets etc. I tried fully removing ot-node folder and also the mysql databases and starting over but somehow it keeps crashing with the same error

Specifications

Node version: v8.1.1 beta 3
Platform: Ubuntu 22
Node wallet: 0xaE601Cf4074F9C455c0d2675Fc0622Eb5ee3e25c
Node libp2p identity: 347

Error logs
Nov 05 01:05:34 curated2 node[697766]: [2024-11-05 01:05:34] TRACE: {Operation ID: 74543a8d-b2a5-4d1f-899b-a24719f51710} [findNodesCommand] (Command ID: 2989ce18-299b-4ed5-8924-c22b315fa3e5)  Node connected to QmbKh9rxcfEeysLu3DbwDfAVBRNPtjMkk1ngqs2jEPEUqf, updating sharding table last seen and last dialed. Nov 05 01:05:35 curated2 node[697766]: [2024-11-05 01:05:35] TRACE: {Operation ID: 74543a8d-b2a5-4d1f-899b-a24719f51710} [findNodesCommand] (Command ID: 2989ce18-299b-4ed5-8924-c22b315fa3e5)  Node connected to Qmbe7mDtqgaXVgMjUT6BgeAUQK7ybtFeue7Sw21NYYRVwF, updating sharding table last seen and last dialed. Nov 05 01:05:35 curated2 node[697766]: [2024-11-05 01:05:35] TRACE: {Operation ID: 74543a8d-b2a5-4d1f-899b-a24719f51710} [findNodesCommand] (Command ID: 2989ce18-299b-4ed5-8924-c22b315fa3e5)  Node connected to QmVikRKmkqrxEg2q8uXza3uLtRE5WLNEMCfX7WgrCBVAUw, updating sharding table last seen and last dialed. Nov 05 01:05:35 curated2 node[697766]: [2024-11-05 01:05:35] TRACE: {Operation ID: 74543a8d-b2a5-4d1f-899b-a24719f51710} [findNodesCommand] (Command ID: 2989ce18-299b-4ed5-8924-c22b315fa3e5)  Node connected to QmemEAoebqoXnv8ZqRjn25WtuBkH45MDU1gFyFARbudNhy, updating sharding table last seen and last dialed. Nov 05 01:05:35 curated2 node[697766]: [2024-11-05 01:05:35] TRACE: {Operation ID: 74543a8d-b2a5-4d1f-899b-a24719f51710} [findNodesCommand] (Command ID: 2989ce18-299b-4ed5-8924-c22b315fa3e5)  Node connected to Qmcx6RG1bA4yaZz2tDyDfep3h8xDYDyEgX6dmnNCRkVAnU, updating sharding table last seen and last dialed. Nov 05 01:05:35 curated2 node[697766]: [2024-11-05 01:05:35] TRACE:  Storing new session stream for remotePeerId: QmaG78PiYa97z6ArM7uYZkSXaX1SCGWpwBGPspDq1xgm71 with operation id: c2679a89-ff15-4886-ae74-c46ebdd2fd1b Nov 05 01:05:35 curated2 node[697766]: [2024-11-05 01:05:35] DEBUG:  Receiving message from QmaG78PiYa97z6ArM7uYZkSXaX1SCGWpwBGPspDq1xgm71 to QmPs2wjFAtb4uRuPZyKF2dt2gjG7vBdRu1bdbv2zW66iSv: protocol: /store/1.0.0, messageType: PROTOCOL_REQUEST; Nov 05 01:05:35 curated2 node[697766]: [2024-11-05 01:05:35] DEBUG: {Operation ID: 74543a8d-b2a5-4d1f-899b-a24719f51710} [findNodesCommand] (Command ID: 2989ce18-299b-4ed5-8924-c22b315fa3e5)  Reading operation id: c2679a89-ff15-4886-ae74-c46ebdd2fd1b cached data from file Nov 05 01:05:35 curated2 node[697766]: Something went really wrong! OT-node shutting down... TypeError: Cannot read properties of undefined (reading 'assertionId') Nov 05 01:05:35 curated2 node[697766]:     at PublishController.v1_0_0HandleRequest (file:///root/ot-node/8.1.1+beta.3/src/controllers/rpc/publish-rpc-controller.js:33:45) Nov 05 01:05:35 curated2 systemd[1]: otnode.service: Main process exited, code=exited, status=1/FAILURE Nov 05 01:05:35 curated2 systemd[1]: otnode.service: Failed with result 'exit-code'. Nov 05 01:05:35 curated2 systemd[1]: otnode.service: Consumed 10.178s CPU time. Nov 05 01:05:35 curated2 systemd[1]: otnode.service: Scheduled restart job, restart counter is at 4. Nov 05 01:05:35 curated2 systemd[1]: Stopped OriginTrail V8 Node. Nov 05 01:05:35 curated2 systemd[1]: otnode.service: Consumed 10.178s CPU time.
Disclaimer
Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to<EMAIL_ADDRESS>

Do all your nodes use the same RPC?

Do all your nodes use the same RPC?

Split between 2 different RPCs


Failed to pull image, content digest sha256 not found

Hello! First I would like to thank you for this awesome project! I have come across an issue while using it.
Context: I am running a k3s cluster on top of NixOS. I have already deployed nix-snapshotter successfully on my nodes. I can confirm my setup works as I was able to pull and run a Redis image from the Nix store.
However, I am now encountering a problem with a particular Docker image, mpepping/cyberchef. More specifically, I am using the image created by:
pkgs.dockerTools.pullImage {
  finalImageName = "mpepping/cyberchef";
  finalImageTag = "latest";
  imageDigest = "sha256:5044c72dd8070fb6e0595e720fc4440bf6168493b2433db06a1c966406398ba2";
  imageName = "mpepping/cyberchef";
  sha256 = "177yjfbz0ijc8lfqfr50fhqqmjk72373c0igyrxv3wwg0pyrgpv4";
}

When I use the Nix store path to this image, I receive the following events on the Kubernetes pod:
  Normal   Scheduled  19s   default-scheduler  Successfully assigned default/cyberchef-65769f8c78-7cmxv to lewis
  Normal   Pulling    19s   kubelet            Pulling image "nix:0/nix/store/frpcl21jwz0zhr2whmi21affqbfn9dqw-docker-image-mpepping-cyberchef-latest.tar"
  Warning  Failed     12s   kubelet            Failed to pull image "nix:0/nix/store/frpcl21jwz0zhr2whmi21affqbfn9dqw-docker-image-mpepping-cyberchef-latest.tar": content digest sha256:1ca8358066425ba22dd40a3bb562a1be846e7a721255ddfedcfb8468b028308f: not found
  Warning  Failed     12s   kubelet            Error: ErrImagePull
  Normal   BackOff    11s   kubelet            Back-off pulling image "nix:0/nix/store/frpcl21jwz0zhr2whmi21affqbfn9dqw-docker-image-mpepping-cyberchef-latest.tar"

The logs of nix-snapshotter show no problem:
msg="[image-service] Loading nix image archive"
msg="Importing image" ref="docker.io/mpepping/cyberchef:latest"
msg="Creating image" ref="docker.io/mpepping/cyberchef:latest"
msg="Created image" ref="docker.io/mpepping/cyberchef:latest"

It does look like this is an upstream containerd issue: https://github.com/containerd/containerd/issues/9873
Do you have any ideas how to avoid this issue?

Thanks for your response! I see, the images pulled using pkgs.dockerTools.pullImage are indeed not OCI compliant. I've found a partial workaround by passing the pulled Docker image to nix-snapshotter.buildImage in the fromImage attribute. E.g.:
  pkgs.nix-snapshotter.buildImage {
    name = "cyberchef";
    resolvedByNix = true;
    fromImage = dockerImage;
  };

While that copies the files of the image, it does not copy the configuration of it. There is probably a smarter way, but I created a small function to get the configuration of a Docker image:
  getDockerImageConfig = dockerImage:
    let
      configJson = pkgs.runCommand "config.json"
        {
          nativeBuildInputs = [ pkgs.skopeo pkgs.jq ];
        }
        ''
          skopeo --tmpdir $TMPDIR --insecure-policy inspect docker-archive:${dockerImage} --config | jq '.config' > $out
        '';
    in
    builtins.fromJSON (builtins.readFile configJson);

And I just pass it like this to the bulidImage function:
  pkgs.nix-snapshotter.buildImage {
    name = "cyberchef";
    resolvedByNix = true;
    fromImage = dockerImage;
    config = getDockerImageConfig dockerImage;
  };

This seems to work at least for the docker.io/mpepping/cyberchef:latest image!

That said, nix-snapshotter image service could be potentially extended to pull regular images via the nix:0 path, but not currently supported.

Would you happen to have any idea how to do it? Could you please share the outline?
I think pulling it from that machine is possible when the derivation is already built in some other machine.
However, when it's not found in any other machine, how can we trigger a new build from the current nix:0 path?


Add docker compose

Partially fixes #24 .
Changes

Added .env file with all environment variables which will be used by docker compose.
Added to README the steps on how to deploy using docker compose.
Added compose.yml file with all the configurations to start the webstore-demo-app.
Removed unused files
Renamed the src/otelcollector/conf.yml to src/otelcollector/otelcol-config.yml .
Updated otel-collector Jaeger exporter configuration with the new sintaxe: jaeger.insecure.true

I will re-send the changes done in this PR in another one.
Please ignore this PR.


Fix PFSFeeUpdates not being sent and preventing mediation

Fixes #1777
Description
Fixes the described issue.
Additionally, this includes some very relevant improvements to debouncing behafor for PFSCapacityUpdate and RequestMonitoring epics. Instead of some absolute debouncing, now pairwise operator helps compare a channel state with the previous one. This allows debouncing only when a pending transfer gets reduced (meaning there's a big chance of it being completed on next seconds) and allowing us to save some signatures and messages/http roundtrips (original intent of the debounces), while being smarter about when a transfer got completed instead or a deposit was made, skipping the debounce timeout and acting right away. There're tests for these specific behaviors.
Definition of Done

[x] Steps to manually test the change have been documented
[x] Acceptance criteria are met
[ ] Change has been manually tested by the reviewer (dApp)

Steps to manually test the change (dApp)

Check issue doens't happen when mediation is enabled
PFSCapacityUpdate and MonitoringRequest are performed immediatelly when a transfer succeeds or a deposit gets confirmed, and are debounced on transfer pending.

Changelog isn't needed, since mediation isn't exposed to the users yet.