HADOOP-17938. Print lockWarningThreshold in InstrumentedLock#logWarni…

JIRA: HADOOP-17938
Print lockWarningThreshold in InstrumentedLock#logWarning and InstrumentedLock#logWaitWarning.
Before:

After:

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  3s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 50s

trunk passed

+1 :green_heart:
compile
22m 50s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
19m 56s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  4s

trunk passed

+1 :green_heart:
mvnsite
1m 38s

trunk passed

+1 :green_heart:
javadoc
1m  5s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 39s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
2m 38s

trunk passed

+1 :green_heart:
shadedclient
21m  6s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 57s

the patch passed

+1 :green_heart:
compile
22m 23s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
22m 23s

the patch passed

+1 :green_heart:
compile
20m 10s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
20m 10s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  8s

the patch passed

+1 :green_heart:
mvnsite
1m 35s

the patch passed

+1 :green_heart:
javadoc
1m  8s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 38s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
2m 36s

the patch passed

+1 :green_heart:
shadedclient
21m 13s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
17m 25s
/patch-unit-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

198m 28s

Reason
Tests

Failed junit tests
hadoop.fs.TestLocalFSCopyFromLocal

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3485/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3485

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux ec0f2a003db2 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / d4c7adb610f2c917aafb73f444e026587c964934

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3485/1/testReport/

Max. process+thread count
1297 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3485/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

The failed unit test is unrelated to the change. See #3482.
@ferhui @Hexiaoqiao Could you please take a look. Thanks.

Is it better to add a blank between ms and value?
e.g "%d ms"

Thank you for reminding me. I am going to update it.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m 56s

trunk passed

+1 :green_heart:
compile
21m 13s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
18m 30s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  6s

trunk passed

+1 :green_heart:
mvnsite
1m 37s

trunk passed

+1 :green_heart:
javadoc
1m  8s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 39s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
2m 24s

trunk passed

+1 :green_heart:
shadedclient
20m 51s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 55s

the patch passed

+1 :green_heart:
compile
20m 32s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
20m 32s

the patch passed

+1 :green_heart:
compile
18m 33s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
18m 33s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  5s

the patch passed

+1 :green_heart:
mvnsite
1m 35s

the patch passed

+1 :green_heart:
javadoc
1m  6s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 40s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
2m 33s

the patch passed

+1 :green_heart:
shadedclient
21m  7s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
17m 20s
/patch-unit-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 58s

The patch does not generate ASF License warnings.

189m  3s

Reason
Tests

Failed junit tests
hadoop.fs.TestLocalFSCopyFromLocal

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3485/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3485

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux ba4e74a8d1cf 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / ab133f5eb4d9780954404d14e387984697a6691f

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3485/2/testReport/

Max. process+thread count
1295 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3485/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

my bad. it should be changed to a HDFS jira before I merge.

my bad. it should be changed to a HDFS jira before I merge.

Thanks @jojochuang for the merge.


Wrong pluralization for days

Example:
Input: 0 * ? * 2/1 *
Output:
Every hour, every 1 days of the week, Monday through Saturday
Expected: Every hour, every 1 day of the week, Monday through Saturday

What version are you using.
I get:

Every minute, between aN:00 AM and aN:59 AM, every 1 months, February through December
on http://bradymholt.github.io/cRonstrue/

You're probably using: 0 * ? * 2/1 right?

Fixed by b013556


Todo list

Brainstorming things to do before we can start using this code more reliably.
Tagging @jchodera @gregoryross, feel free to add points by editing (assuming you can) or replying.

[x] Clean up the repository

[x] docstrings
[x] unused files
[x] directory structure

[ ] setup.py & conda package

using the usual devtools setup

[ ] Add tests and continuous integration (Travis)

[ ] Update calibration code with the ncmc changes.

[ ] Validate that calibrations with SAMS works well enough

[ ] Investigate convergence of ref. free energies.

Implict vs explict solvent calibrations
Effect of counterions in explicit calibration energies
Variance estimation

We need to implement some functions before we can use calibration:

[ ] set up easy calibration at given pKa for amino acids
[ ] set up ligand system (solvation?) and calibrate automatically as well

[ ] Maintain charge neutrality by inserting/deleting counter ions (replacing water)

Remove dependency on pre-existing ions
add user specified ions instead

[ ] Small molecule input files cpin/prmtop/ffxml

Currently working on an ffxml format that takes input from epik, relies on openmoltools

[ ] Needs work on openmoltools for implicit solvent support

[ ]  Implement constant-counterions

[ ]  Set up test systems

Lower priority/ extra features:

[ ] pKa biasing
[ ] Selection of residue pairs for simultaneous (de)protonation
[ ] Getting rid of cpin files

[ ] Protein constant-pH ffxml?

Thanks!  This is great.
I'd can help overhaul the NCMC and counterion insertion/deletion code.  I should have time to do this Tue.


mcumgr: taskstat show name & used size

Is your enhancement proposal related to a problem? Please describe.
Now mcumgr taskstat show prio to task name & can't show used stack size
Describe the solution you'd like
mcumgr taskstat show task name & used stack size

Already happening when ONFIG_OS_MGMT_TASKSTAT_STACK_INFO is set (code that does it: https://github.com/zephyrproject-rtos/zephyr/blob/30cd0d4338601ffd39d8f5d1a992cb4f090ced6e/subsys/mgmt/mcumgr/lib/cmd/os_mgmt/src/os_mgmt.c#L108-L129)


migration bug with default null value?

I am trying to implement migrations but it always chokes at the same point. Setting 'null' => TRUE just produces the word NULL rather than DEFAULT NULL, which produces an SQL error. In more detail:
The CI 2.1.0 documentation says to set up fields like this:
'blog_description' => array(
	'type' => 'TEXT',
	'null' => TRUE,
),

however when I do that and run a migration, I get a MySQL error:
A Database Error Occurred
Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NULL,

So I looked this up, and everywhere it says that in MySQL for null defaults the proper syntax is DEFAULT NULL, including on mysql.com:

If the column can take NULL as a value, the column is defined with an explicit DEFAULT NULL clause.

but the codeigniter produced SQL is this:
`first_name` VARCHAR NULL,

Where's the keyword DEFAULT?

I researched this tonight and found the issue. In your migration file you had:
	'type' => 'VARCHAR',
	'constrain' => '300',
	'null' => TRUE
),```

Which should be:

```'last_name' => array(
	'type' => 'VARCHAR',
	'constraint' => '300',
	'null' => TRUE
),```

Notice constrain should be constraint. After making that change it worked fine for me.

Thanks Eric!
On Nov 29, 2011 10:48 PM, "Eric Barnes" <
<EMAIL_ADDRESS>wrote:

I researched this tonight and found the issue. In your migration file you
had:
       'type' => 'VARCHAR',
       'constrain' => '300',
       'null' => TRUE
),```

Which should be:

```'last_name' => array(
       'type' => 'VARCHAR',
       'constraint' => '300',
       'null' => TRUE
),```

Notice constrain should be constraint. After making that change it worked
fine for me.

---
Reply to this email directly or view it on GitHub:
https://github.com/EllisLab/CodeIgniter/issues/714#issuecomment-2954682


Can't cancel Red subscription

Describe the bug
Hey! I'm trying to cancel my Red subscription through Brave browser (also I tried to cancel through Chrome, but error remains), but for some reason can't do it. I saw exactly the same error earlier, but I thought it will be fixed. Link: https://www.codewars.com/subscription/edit
Screenshots

Browser
Brave

OS: Windows 11
Browser:  Brave
Version: v1.60.125

Hi @K1ngFish, please email<EMAIL_ADDRESS>with your email address and username. Our support team will be able to help with subscriptions :)

Thank you for fixing that @hobovsky


Improved test coverage

Initial coverage added for modules.

Tests will currently fail as an Api key is needed inside ./jest.
Do we want to keep these Api live or mocked?

Tests will currently fail as an Api key is needed inside ./jest.
Do we want to keep these Api live or mocked?


chore: bdd-nh-1589793273 to 0.0.1

chore: Promote bdd-nh-1589793273 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


ImportError: cannot import name 'information_ratio' from 'empyrical'

This is still an issue with the latest pyfolio / empyrical install (0.5.3)

Hi @sokol11 , information_ratio was removed from empyrical and then from pyfolio in v0.8.0 (released Aug 23, 2017). It sounds like you have an old version of pyfolio that still depends on information_ratio.
Feel free to open a new issue in pyfolio or zipline if their latest versions still have this problem!


Update pulumi-terraform to a9a9ca8157

Merging and will add a CHANGELOG entry before release

Closed via #299


Clean package names and directory structure

Comment from @Nicoretti on PR #202
from exasol_advanced_analytics_framework.udf_framework.query_handler_runner_udf \
    import QueryHandlerRunnerUDF

Naming is slightly out of control, the full name contains:

3x  udf
2x query
2x framework
2x handler
2x runner

which results in the need to break the import line ...

Proposed renaming

udf communication and the query handlers are two seperate features, that should get their own  package under exasol.aaf. or however we call it. I think, actually exasol.analytics might be not the worst idea.

I also was considering exasol.analytics and am fine with it.
Abbreviating everything (e.g. to aaf) might also not always be the best idea.

udf communication and the query handlers are two seperate features, that should get their own package

They have (see picture containing udf/communication and udf/query_handler).
The only things I moved directly under udf are connection_lookup.py and dynamic_modules.py.
But I am happy to move these two files to any other position, as well.

The question is more, if the query handler has directly something to do with udfs. Yes, it can be used together with UDFs, but it can also be used without.

Suggestion for structure below analytics:

udf

communcation
autoudf
utils

exasol_data_science_utils_python/udf_utils/udf_context_wrapper.py
exasol_data_science_utils_python/udf_utils/iterator_utils.py

query_handler exasol_advanced_analytics_framework/query_handler

udf exasol_advanced_analytics_framework/udf_framework

sqlexecutor
exasol_data_science_utils_python/udf_utils/sql_executor.py
exasol_data_science_utils_python/udf_utils/pyexasol_sql_executor.py
testing

exasol_advanced_analytics_framework/udf_utils/testing/mock_sql_executor.py
exasol_data_science_utils_python/udf_utils/testing/mock_result_set.py

utils exasol_data_science_utils_python/utils
schema

remove exasol_data_science_utils_python/udf_utils/testing/mock_sql_executor.py

Interpreting indent level:

sqlexecutor

exasol_data_science_utils_python/udf_utils/sql_executor.py
exasol_data_science_utils_python/udf_utils/pyexasol_sql_executor.py

Updated Image:

Additional renaming:

Additional renamings:

query.handler → exasol/analytics/query_handler
query_result → exasol/analytics/query/handler/result
exasol/analytics/deployment/ → exasol.analytics.query_handler/deployment
exasol/analytics/deploy.py → exasol.analytics.query_handler/deployment/deploy.py
exasol/analytics/slc.py → exasol.analytics.query_handler/deployment/slc.py


added use cripple spawner and fixed respawn

Added use cripple spawner on a high-health spawner (> 95%), and also fixed respawn as I forgot to remove the * 1000

FYI for future, normally I'd want to see these as two separate Pull Requests because they're unrelated (one is a bugfix and the other is a new feature).

Yeah, I debated, but was lazy, lol. I'll keep em separate from now on though
-Greg Septon
On Sat, Jun 13, 2015 at 12:20 AM, Martin<EMAIL_ADDRESS>wrote:

FYI for future, normally I'd want to see these as two separate Pull
Requests because they're unrelated (one is a bugfix and the other is a new
feature).
—
Reply to this email directly or view it on GitHub
https://github.com/mouseas/steamSummerMinigame/pull/53#issuecomment-111679818
.


How to apply pretrained model?

Hi,
I'm a member of the HuBMAP CMU TC team. I'd like to test this great work on 3D Image Mass Cytometry (IMC) images, but I didn't see the manual/instruction as Cellpose has. Would you please walk me through how to apply the pretrained Cellpose3D model on a 3D image to generate segmentation masks?
Thanks,
Haoran

Dear Haoran,
thanks for your message and your interest in our implementations – we’re currently still working on some more documentation and integration to other tools and would provide you some more information on how to use it soon. May I ask how you’d like to use the software?
Options are:

If you want to use the Python implementation to train your own models, I would have to refer you to a colleague (Dennis Eschweiler, CC’ed).
If you just want to apply pretrained models that can be easily accomplished via XPIWIT, a software tool we developed for this or via MorphoGraphX that also soon includes the Cellpose3D algorithm in the latest release. However, we still need to prepare a new release for this, such that it may be used by others. For now, see here for downloading XPIWIT: https://bitbucket.org/jstegmaier/xpiwit/downloads/ https://bitbucket.org/jstegmaier/xpiwit/downloads/ and here for a collection of pipelines https://github.com/stegmaierj/XPIWITPipelines https://github.com/stegmaierj/XPIWITPipelines . The latter site is still under construction and not very informative yet, but we’ll try to fill it in the next couple of days/weeks.

Best regards,
Johannes

On 13. Oct 2021, at 00:05, Haoran Chen @.***> wrote:
Hi,
I'm a member of the HuBMAP CMU TC team. I'd like to test this great work on 3D Image Mass Cytometry (3D) images, but I didn't see the manual/instruction as Cellpose has. Would you please walk me through how to apply the pretrained Cellpose3D model on a 3D image to generate segmentation masks?
Thanks,
Haoran
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/stegmaierj/Cellpose3D/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHOCRI65IYUZG6Y6EYQ2TLUGSWJVANCNFSM5F3WKDOA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi Johannes,
Thanks for your reply. I just want to apply pretrained models on test data so I will try XPIWIT per your instruction.
May I ask if you are planning to integrate Cellpose3D into the Cellpose python package?
Best,
Haoran

From: stegmaierj @.>
Sent: Wednesday, October 13, 2021 5:01 AM
To: stegmaierj/Cellpose3D @.>
Cc: Haoran Chen @.>; Author @.>
Subject: Re: [stegmaierj/Cellpose3D] How to apply pretrained model? (#1)
Dear Haoran,
thanks for your message and your interest in our implementations – we’re currently still working on some more documentation and integration to other tools and would provide you some more information on how to use it soon. May I ask how you’d like to use the software?
Options are:

If you want to use the Python implementation to train your own models, I would have to refer you to a colleague (Dennis Eschweiler, CC’ed).
If you just want to apply pretrained models that can be easily accomplished via XPIWIT, a software tool we developed for this or via MorphoGraphX that also soon includes the Cellpose3D algorithm in the latest release. However, we still need to prepare a new release for this, such that it may be used by others. For now, see here for downloading XPIWIT: https://bitbucket.org/jstegmaier/xpiwit/downloads/ https://bitbucket.org/jstegmaier/xpiwit/downloads/ and here for a collection of pipelines https://github.com/stegmaierj/XPIWITPipelines https://github.com/stegmaierj/XPIWITPipelines . The latter site is still under construction and not very informative yet, but we’ll try to fill it in the next couple of days/weeks.

Best regards,
Johannes

On 13. Oct 2021, at 00:05, Haoran Chen @.***> wrote:
Hi,
I'm a member of the HuBMAP CMU TC team. I'd like to test this great work on 3D Image Mass Cytometry (3D) images, but I didn't see the manual/instruction as Cellpose has. Would you please walk me through how to apply the pretrained Cellpose3D model on a 3D image to generate segmentation masks?
Thanks,
Haoran
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/stegmaierj/Cellpose3D/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHOCRI65IYUZG6Y6EYQ2TLUGSWJVANCNFSM5F3WKDOA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/stegmaierj/Cellpose3D/issues/1#issuecomment-942085093, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2AA25WQHQT636DJVXGPFLUGVDGXANCNFSM5F3WKDOA.

Hi Haoran,
I just updated the XPIWIT binaries on the repository and you find the latest version here: https://bitbucket.org/jstegmaier/xpiwit/downloads/ https://bitbucket.org/jstegmaier/xpiwit/downloads/ . Moreover, the description of how to use the Cellpose3D XPIWIT pipeline was also updated (see https://github.com/stegmaierj/XPIWITPipelines https://github.com/stegmaierj/XPIWITPipelines ). It should run smoothly with the test image “SyntheticMembranes.tif https://github.com/stegmaierj/XPIWITPipelines/blob/main/Data/SyntheticMembranes.tif” that you find in the data folder of the XPIWITPipelines repository. Just let me know if you run into any issues with that.
We’re not planning to integrate it to the original Cellpose python package, as we have a completely decoupled implementation. It’s all reimplemented in our own frameworks and extends the ideas of the original Cellpose algorithm to a full 3D version of the algorithm.
Best regards,
Johannes

On 13. Oct 2021, at 23:04, Haoran Chen @.***> wrote:
Hi Johannes,
Thanks for your reply. I just want to apply pretrained models on test data so I will try XPIWIT per your instruction.
May I ask if you are planning to integrate Cellpose3D into the Cellpose python package?
Best,
Haoran

From: stegmaierj @.>
Sent: Wednesday, October 13, 2021 5:01 AM
To: stegmaierj/Cellpose3D @.>
Cc: Haoran Chen @.>; Author @.>
Subject: Re: [stegmaierj/Cellpose3D] How to apply pretrained model? (#1)
Dear Haoran,
thanks for your message and your interest in our implementations – we’re currently still working on some more documentation and integration to other tools and would provide you some more information on how to use it soon. May I ask how you’d like to use the software?
Options are:

If you want to use the Python implementation to train your own models, I would have to refer you to a colleague (Dennis Eschweiler, CC’ed).
If you just want to apply pretrained models that can be easily accomplished via XPIWIT, a software tool we developed for this or via MorphoGraphX that also soon includes the Cellpose3D algorithm in the latest release. However, we still need to prepare a new release for this, such that it may be used by others. For now, see here for downloading XPIWIT: https://bitbucket.org/jstegmaier/xpiwit/downloads/ https://bitbucket.org/jstegmaier/xpiwit/downloads/ and here for a collection of pipelines https://github.com/stegmaierj/XPIWITPipelines https://github.com/stegmaierj/XPIWITPipelines . The latter site is still under construction and not very informative yet, but we’ll try to fill it in the next couple of days/weeks.

Best regards,
Johannes

On 13. Oct 2021, at 00:05, Haoran Chen @.***> wrote:
Hi,
I'm a member of the HuBMAP CMU TC team. I'd like to test this great work on 3D Image Mass Cytometry (3D) images, but I didn't see the manual/instruction as Cellpose has. Would you please walk me through how to apply the pretrained Cellpose3D model on a 3D image to generate segmentation masks?
Thanks,
Haoran
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/stegmaierj/Cellpose3D/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHOCRI65IYUZG6Y6EYQ2TLUGSWJVANCNFSM5F3WKDOA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/stegmaierj/Cellpose3D/issues/1#issuecomment-942085093, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2AA25WQHQT636DJVXGPFLUGVDGXANCNFSM5F3WKDOA.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/stegmaierj/Cellpose3D/issues/1#issuecomment-942719496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHOCRLHJBOVZBPGQB7EWG3UGXX7LANCNFSM5F3WKDOA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Same problem here:
saskra@a:~/PycharmProjects/XPIWITPipelines/2021_10_15_XPIWIT_Ubuntu_x64/Bin$ ./XPIWIT.sh
Segmentation fault (core dumped)
saskra@a:~/PycharmProjects/XPIWITPipelines/2021_10_15_XPIWIT_Ubuntu_x64/Bin$ ./XPIWIT
./XPIWIT: error while loading shared libraries: libc10.so: cannot open shared object file: No such file or directory

Alright, that definitely looks weird. Could you provide some more details on the system / OS version you‘re trying to run it on? This would potentially help to reproduce the error.
Thanks!

It's Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-161-generic x86_64).
By the way, it works under Windows, but there I have the weaker hardware. In addition, it also breaks there when I replace the sample files with my own - but I'd better open a separate issue for that.

It works on Ubuntu 20.04.3 LTS.

Hello, I have a similar issue. It is linked here: https://github.com/stegmaierj/XPIWITPipelines/issues/2.
After making the file executable, I get Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion "sym != NULL'"failed!

Hi ivanmag22,
jop there is a checkpoint available in the repository. If you apply the model using apply_network.py, it automatically loads the provided checkpoint by default ([epoch=999.ckpt](https://github.com/stegmaierj/Cellpose3D/blob/main/epoch%3D999.ckpt)).
Otherwise, if you want to use XPIWIT to just apply the model to some data, see here for some more details. There is a pretrained model contained in the [Cellpose3D.pt](https://github.com/stegmaierj/XPIWITPipelines/blob/main/Cellpose3D/Cellpose3D.pt) file that can be loaded by XPIWIT and used for processing.
Hope this helps?
Best regards,
Johannes


Cannot parse cubic-bezier with negative y coordinate

I get a NoComma exception when trying to parse a cubic-bezier with a negative y coordinate:
require('@hookun/parse-animation-shorthand').parseSingle('3s cubic-bezier(0.68, -0.82, 0.42, 1.52) infinite alternate foo')

Uncaught:
$Error: NoComma
    at Object.exports.getCubicBezier (/path/to/project/node_modules/@hookun/parse-animation-shorthand/lib/getCubicBezier.js:20:23)
    at Object.exports.parseSingleAnimationShorthand [as parseSingle] (/path/to/project/node_modules/@hookun/parse-animation-shorthand/lib/parseSingleAnimationShorthand.js:59:53) {
  code: 'NoComma'
}

According to the spec it's only the x coordinates that have to be in the [0:1] interval: https://www.w3.org/TR/css-easing-1/#cubic-bezier-easing-functions

I was able to reproduce the problem. I'll fix it within a week.
Thanks for the report!

I'll close this issue when I publish the new version.

This issue has been fixed in v0.1.4.

Confirmed! Thanks a lot for the fast action! 🚀


chore(docs): Update smithy-build.json section in the README.md

Updated the README file, the smithy-build.json section

package.package yielded errors
the dependencies were incomplete

Faster to replace than to find missing tokens.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @Naumel, thanks for the PR!
Currently the README example provides the minimal configuration to generate a client, and is not specific to using any external dependencies such as the AWS @aws.protocols#restJson1 protocol.
I think this is a good candidate to use in the smithy-examples repo, so I'll keep this PR open until we have a corresponding PR in that repo.

https://github.com/smithy-lang/smithy-typescript/pull/1082 fixes the smithy-build.json examples.

Created a draft PR in smithy-examples for smithy-typescript codegen plugin examples: https://github.com/smithy-lang/smithy-examples/pull/66


feat!: add support of multiple object's shapes

Signed-off-by: ktro2828<EMAIL_ADDRESS>Category

[x] Perception
[x] Sensing

What

Add support of evaluating the objects not only shape with box, but also polygon and ~cylinder~.
After this PR, We need to specify shape paramter to initialize DynamicObject instead of size as below.
Only for POLYGON objects, footprint must be specified.
BOX or CYLINDER objects' footprint can be computed internally as a rectangle.
NOTE
Input footprint is assumed that it is with respect to each object's coordinate system.
Although polygon returned with DynamicObject.state.footprint is with respect to each object's coordinate system, polygon returned with DynamicObject.get_footprint() is with respect to base_link or map coordinate system.
we support following shapes.
class ShapeType(Enum):
    BOUNDING_BOX = "bounding_box"
    # CYLINDER = "cylinder" -> removed at https://github.com/tier4/autoware_perception_evaluation/pull/7/commits/f957d2e5f0b55f280c0365ac3318203264527e65
    POLYGON = "polygon"

from perception_eval.common.object import DynamicObject
from perception_eval.common.shape import Shape, ShapeType

shape_type: Union[str, ShapeType] = ShapeType.BOUNDING_BOX  # or "bounding_box" is also OK.
size: Tuple[float, float, float]
footprint: Optional[Polygon] = None # For BOUNDING_BOX None is OK. For POLYGON it should be specified.

shape = Shape(shape_type=shape_type, size=size, footprint=footprint)

dynamic_object = DynamicObject(
    ...
    shape=shape,
    ...
)

# We can access "size" as before
object_size: Tuple[float, float, float] = dynamic_object.state.size

# This is with respect to each object's coordinate system
footprint: Polygon = dynamic_object.state.footprint

# This is with respect to base_link or map coordinate system
footprint: Polygon = dynamic_object.get_footprint()

Type of change

[x] New feature
[x] Update document

Test performed

[ ] test.sensing_lsim

[ ] test.perception_lsim

Reference

Notes for reviewer

@miursh Cylinder has been removed at https://github.com/tier4/autoware_perception_evaluation/pull/7/commits/f957d2e5f0b55f280c0365ac3318203264527e65

NOTE
In this PR, when estimation has unknown label it will be allowed to be matched
https://github.com/tier4/autoware_perception_evaluation/blob/f47b36b687f871eac8e51c3eaa09544de10d23b0/perception_eval/perception_eval/evaluation/result/object_result.py#L419-L421
Also, object_result.is_label_correct always returns True if label of estimation is unknown
https://github.com/tier4/autoware_perception_evaluation/blob/f47b36b687f871eac8e51c3eaa09544de10d23b0/perception_eval/perception_eval/evaluation/result/object_result.py#L216-L228

@ktro2828

Also, object_result.is_label_correct always returns True if label of estimation is unknown

Is this always used if label is unknown? or is there some config/option to use this?

@miursh Sorry, I made a mistake, and I have updated like following.

Allow to match when either Est or GT has unknown label
https://github.com/tier4/autoware_perception_evaluation/blob/f01f350168a7fd11c64ea1d16509d56b716bc80f/perception_eval/perception_eval/evaluation/result/object_result.py#L415-L420

DynamicObjectResult.is_result() only checks matching score
https://github.com/tier4/autoware_perception_evaluation/blob/f01f350168a7fd11c64ea1d16509d56b716bc80f/perception_eval/perception_eval/evaluation/result/object_result.py#L97-L123

for classification, returns is_label_correct result. It checks whether label is same, which means it is not allowed matching of unknown and the other labels
https://github.com/tier4/autoware_perception_evaluation/blob/f01f350168a7fd11c64ea1d16509d56b716bc80f/perception_eval/perception_eval/evaluation/result/object_result.py#L215-L224

@ktro2828
For current implementation, https://github.com/tier4/autoware_perception_evaluation/blob/f01f350168a7fd11c64ea1d16509d56b716bc80f/perception_eval/perception_eval/evaluation/result/object_result.py#L415-L420
if the autoware output label is "unknown", it always run matching, isn't it?
I think V&V team requirement is that they want to evaluate both with and without "unknown" class by one scenario.

@miursh @hayato-m126 in https://github.com/tier4/autoware_perception_evaluation/pull/7/commits/60034142a4e8d81a29225b11930a10c313f45c05
I added a LabelParam and it has a parameter named allow_matching_unknonw. This is a flag whether allow matching unknown and the other labels.
from perception_eval.common.label import LabelParam

label_param = LabelParam(
            label_prefix="autoware",  # Prefix of label name ... ("autoware", "traffic_light")
            merge_similar_labels=False,  # A flag if merge similar labels ... e.g. bus -> car
            allow_matching_unknown=True,  # A flag if allow to matching unknown and the other labels
            count_label_number=True,  # A flag if count the number of each label as debug
)

perception_cfg = PerceptionEvaluationConfig(
    ...
    label_param=label_param,
    ...
)

sensing_cfg = SensingEvaluationConfig(
    ...
    label_param=label_param,
    ...
)

@hayato-m126 I'm sorry for that I've removed LabelParam and make it possible to specify label parameters in evaluation_config_dict like following, because I think this is easier for users to initialize PerceptionEvaluationConfig :pray:

evaluation_config_dict = {
            ....
            # label parameters
            "label_prefix": "autoware",
            "merge_similar_labels": False,
            "allow_matching_unknown": True,
           ....
}

evaluation_config = PerceptionEvaluationConfig(
            dataset_paths=dataset_paths,
            frame_id="base_link" if evaluation_task == "detection" else "map",
            result_root_directory=result_root_directory,
            evaluation_config_dict=evaluation_config_dict,
            load_raw_data=True,
)

@hayato-m126 I've merged develop, so could you check this with driving_log_replayer?

Thank you for updating this branch. I'm going to check.


Question about TSM result

In Jester dataset, TSM result in Table 1 of your paper is 94.4 (ResNet50 8frame 3crop 10clip),
But TSM result in origin paper(Table 1) is 97.0 (ResNet50 8frame  full-resolution 2clips ).
I test the TSM by myself from the TSM official public code and it can also reach 97.0.
How cause this Gap between 94.4 and 97.0?

In Jester dataset, TSM result in Table 1 of your paper is 94.4 (ResNet50 8frame 3crop 10clip),
But TSM result in origin paper(Table 1) is 97.0 (ResNet50 8frame full-resolution 2clips ).
I test the TSM by myself from the TSM official public code and it can also reach 97.0.
How cause this Gap between 94.4 and 97.0?

Hi there, thanks for your question. We just directly use the result in STM paper in Table 2. I guess it might be caused by using different training augmentation strategies.


Azure Storage Image Hosting

Just looking at the default location for image uploads, it is the default for Ghost which is /content/images/... is there a plan to move this to true Azure Storage hosting for something like https://XXX.blob.core.windows.net/container/image.jpg??

Hey @NickBrooks, thanks for asking - I don't want to change Ghost in any way, so not in this repo. Ghost does support custom image storage providers (https://github.com/TryGhost/Ghost/wiki/Using-a-custom-storage-module), but I don't think that one for Azure Blob storage is available yet... So it's still looking for a brave hero to build it ;-)
I'll be closing this issue in the meantime.

Hmm... I think I may try to do this, sometime this weekend...

That'd be awesome, let me know if you need any help. Just makes a lot of
sense if you start to create a lot of content!
On Fri, 6 Nov 2015 at 13:39 Tommy Parnell<EMAIL_ADDRESS>wrote:

Hmm... I think I may try to do this, sometime this weekend...
—
Reply to this email directly or view it on GitHub
https://github.com/felixrieseberg/Ghost-Azure/issues/10#issuecomment-154271954
.

Agreed, I like the idea. I'm def gunna do this over the weekend

@NickBrooks @felixrieseberg https://github.com/tparnell8/ghost-azurestorage I mostly do client side js (and by mostly I mean thats pretty much all I do) Please feel free to submit pr's to remove any derpy-ness you see

Looks good I'll take a look on Monday!

It totally works atleast! I was able to use it to host things in storage...

Awesome, super well done. I'll reference it in the readme :fireworks:!


resources

how do i add resources to an island? im trying to add ironwood and twigs but cant seem to find any info.
i have added islands that official uses for those resources but that did not work

You can't add resources to an island.
On Sat, 15 Aug 2020, 06:44 blowbie<EMAIL_ADDRESS>wrote:

how do i add resources to an island? im trying to add ironwood and twigs
but cant seem to find any info.
i have added islands that official uses for those resources but that did
not work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GrapeshotGames/ServerGridEditor/issues/85, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEYKHZXO5EFXV7IQHMSHCTSAWO2RANCNFSM4P73CM6A
.

any idea how i add the resources? i tried to add the islands that are used on official but that did not work.

Its all new but also the option of adding your own islands. Atlas is slowly
opening everything so the information is really not available yet.
On Sun, 16 Aug 2020, 09:07 blowbie<EMAIL_ADDRESS>wrote:

any idea how i add the resources? i tried to add the islands that are used
on official but that did not work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GrapeshotGames/ServerGridEditor/issues/85#issuecomment-674456029,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEYKHYHXBYISLR3DHCVKO3SA4IKZANCNFSM4P73CM6A
.


MVC for sharing: email share of something immutable (PDF, image, etc.)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1278
Originally created by @dmor on 2019-11-07 16:00:46

A simple first step to enable sharing would be to allow some simple sharing

What the recipient gets is immutable (they can't edit it)
No login required or Meltano permissions required
Let's us track how often the user decides to "share"
Can create a hook to get people who constantly get these emails to sign up for their own account (MAUI)

For another issue, but good ideas that came up as we talked about this:

Possible next step: Automate saving something somewhere in the cloud for the user
Possible next step: Automate the sending on a schedule

cc: @DouweM @bencodezen @mbergeron this idea came up in Meltano Social Hour

View 8 previous comments from the original issue on GitLab


[REQUEST] Implement overlapping Stop times in Block trips (GTFS rule)

Is your feature request related to a problem? Please describe.
Stop times should not be overlapping in Block trips. This is a GTFS rule implemented in Google Python validator and featured in Google Type Error as TYPE_BLOCK_TRIPS_WITH_OVERLAPPING_STOP_TIMES.
Describe the solution you'd like
Actual Google GTFS validator behaviour : verifies trips in a block. Verifies that a trip does not overlap with another one (same stop time for a stop).
Describe alternatives you've considered
Additional context
Line 39 in Error support priorities https://docs.google.com/spreadsheets/d/1vqe6wq7ctqk1EhYkgtZ0_TbcQ91vccfs2daSjn20BLE/edit#gid=0

@lionel-nj Looks like these are the Python unit tests for this rule, which match the interpretation we discussed:
https://github.com/google/transitfeed/blob/1c7f8c03612ac5c9c2b3f9a4cac6c229a04376b9/tests/transitfeed/testschedule.py#L62
One additional item to check, though, before calling it an error, is to make sure that the trips are assigned to the same service_id. You can see these checks in the Python tests.

Thank you. Looking at these tests it seems that an error is raised whether trips belong to the same service_id or not. @barbeau
https://github.com/google/transitfeed/blob/1c7f8c03612ac5c9c2b3f9a4cac6c229a04376b9/tests/transitfeed/testschedule.py#L129
https://github.com/google/transitfeed/blob/1c7f8c03612ac5c9c2b3f9a4cac6c229a04376b9/tests/transitfeed/testschedule.py#L152
From my understanding the following situations would generate a notice:

routeId
tripId
serviceId
blockId
first stop time
last stop time

0
2
a
5
07:00
10:00

0
5
b
5
08:45
11:20

0
8
c
5
11:40
13:50

routeId
tripId
serviceId
blockId
first stop time
last stop time

0
2
a
5
07:00
10:00

0
5
a
5
08:45
11:20

0
8
a
5
11:40
13:50

@lionel-nj Sorry, yes, you're right - I should have mentioned that if the service_ids are different, but the services still overlap the same period of time, that's still an error. So if in the above example service_ids a, b, and c are running on January 1st, that's an error.
If the service dates don't overlap, though, then that's fine. So if in the above example service_ids a and c are running on January 1st only, and b is running on January 2nd only, then this is fine (no error).
This 2nd test case for non-overlapping service periods that doesn't throw an error is here in Python:
https://github.com/google/transitfeed/blob/1c7f8c03612ac5c9c2b3f9a4cac6c229a04376b9/tests/transitfeed/testschedule.py#L195
This part of the rule is trickier to implement because you need to interpret both the data in calendar.txt and calendar_dates.txt to understand on what days the service is running.

Oh, true! - I see, that does help a lot!


Cannot redefine property: tap

Fresh install of Laravel 8 with Laravel mix: 6.0.6
webpack-cli] TypeError: Cannot redefine property: tap
    at Function.defineProperty (<anonymous>)
    at Object.<anonymous> (node_modules/laravel-mix-blade-reload/node_modules/laravel-mix/src/helpers.js:21:8)

const mix = require('laravel-mix');

require('laravel-mix-blade-reload');

mix.js('resources/js/app.js', 'public/js')
    .bladeReload()
    .postCss('resources/css/app.css', 'public/css', [
        //
    ]);

My guess is maybe releasing a 2.0 with laravel-mix 6.0 instead of 5.0 as a dependency

Hi,
thanks for the report. I'm sorry for the late response but I'm pretty lazy these last days :) I'm about to look at it and fix it.

Hi,
thanks for the report. I'm sorry for the late response but I'm pretty lazy these last days :) I'm about to look at it and fix it.

I'm very sorry, but I can't help you. Changing the laravel-mix version from 5 to 6 is not enough, because for unknown reasons webpack's devServer.after is not working anymore and I'm unable to find a solution. I suggest you not to use this plugin for laravel-mix version 6+, use this browserSync solution instead. At least until I have enough time to keep updating these plugins, since I'm not using them at all (pure webpack, gulp, or parcel.js are better options for me).

I'm very sorry, but I can't help you. Changing the laravel-mix version from 5 to 6 is not enough, because for unknown reasons webpack's devServer.after is not working anymore and I'm unable to find a solution. I suggest you not to use this plugin for laravel-mix version 6+, use this browserSync solution instead. At least until I have enough time to keep updating these plugins, since I'm not using them at all (pure webpack, gulp, or parcel.js are better options for me).

@krehak haha I totally understand. I appreciate you looking into it and linking me to an alternative. I completely overlooked that option. Thanks!

@krehak haha I totally understand. I appreciate you looking into it and linking me to an alternative. I completely overlooked that option. Thanks!

@dillingham I overlooked the option as well, I just found it by accident :) Glad I helped you with the alternative.

@dillingham I overlooked the option as well, I just found it by accident :) Glad I helped you with the alternative.

@dillingham I almost forget :) Anyway, I finally found a way to support laravel-mix 6, so now you can use laravel-mix-blade-reload version 2 - 2a5c1985fe71f4201d3c82abdc58a8b51e4efc8d

@krehak thats awesome 🎉 Definitely will give it a spine as soon as Im working with blade again.
thanks for doing that :)

@dillingham you are welcome :)


feat: Rework documentation

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

GitHub release
v1.4.0

Your semantic-release bot :package::rocket:


[FR] Is there solutions to upload both dataset and its existed labels to CVAT in fiftyone right now?

Proposal Summary
I try to upload a validation coco dataset with existed labels 'ground  truth'  to CVAT, but in CVAT I can only see the images, can not see the existed labels that displayed in Fiftyone App
Motivation

What is the use case for this feature?
Wrong Labels corrections
Why is this use case valuable to support for FiftyOne users in general?
It should be able to correct/modified existed labels rather than labeling a new one
Why is this use case valuable to support for your project(s) or organization?
When we auto-labeled a dataset using models, there might be 10% bad labels, we want to correct them rather than re-labels them.
Why is it currently difficult to achieve this use case?
I find out all of the documents it seems we can only upload samples and labels separately, which is very inconvenient to use

What areas of FiftyOne does this feature affect?

[ ] App: FiftyOne application
[x] Core: Core fiftyone Python library
[ ] Server: FiftyOne server

Details
Load and dataset
import fiftyone as fo

dataset = fo.zoo.load_zoo_dataset(
    name='coco-2017',
    split="validation",
    dataset_name='test2',
    max_samples=50,
    shuffle=False,
)
dataset.persistent = True

From the screen shot we can see this dataset has labels filed 'ground_truth'
Then I upload dataset to CVAT
dataset = fo.load_dataset('test2')

dataset.annotate(anno_key, project_name='ZOO', label_field='ground_truth', label_type='detections',
                    username=*******, password=********, launch_editor=True)

But from the screen shot we can see there is no labels on CVAT's site.
Willingness to contribute
The FiftyOne Community welcomes contributions! Would you or another member of your organization be willing to contribute an implementation of this feature?

[ ] Yes. I can contribute this feature independently
[x] Yes. I would be willing to contribute this feature with guidance from the FiftyOne community
[ ] No. I cannot contribute this feature at this time

This is already standard functionality.  Documentation is here: https://docs.voxel51.com/integrations/cvat.html#editing-existing-labels


Update Spanish README.md

[X] Fixed some spelling errors.
[X] Updated the Spanish README.md for Docker usage.

Thanks!


Update nda100-v4-series.md

@cynthn : Thanks for your contribution! The author(s) have been notified to review your proposed change.


heroku is shutting down their free offers

Came here from hackernews looking for inspiration for DevOps take home tests and came across this test.
Just wanted to point out that heroku is shutting down their free tier dynos and databases. More information here: https://help.heroku.com/RSBRUH58/removal-of-heroku-free-product-plans-faq
It might be of your interest to maybe remove heroku as a free offer listed in the exercise.

thanks!


Check whether a number is a Perfect Number or not in C++

…or not

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
A program to check whether a number is perfect number or not in C++.
Perfect number is a positive integer which is equal to the sum of its proper positive divisors.
For example: 6 is the first perfect number
Proper divisors of 6 are 1, 2, 3. Sum of its proper divisors = 1 + 2 + 3 = 6. Hence 6 is a perfect number.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#4853

@HarshCasper Please review my PR.

@ankitaggarwal23  Made the required changes.

@ankitaggarwal23 did the changes. Please review.

Thank you so much!


call a make file

can this CI be used to get a github hook and then call a makefile for building my golang code ?
the make file does all the packaging and pushing releases to my own s3 server.
--
also the GUi is in chinese. I guess i will just have to use google translate for now :)

Yes, you can use it like this.  Unfortunately, only Chinese is available now and there is no plan to do i18n.  According to the scenario you describe, you can check GitHub Actions, and you can also achieve your needs.

thanks @naiba
Will try it out.
Regarding i18n:

https://phrase.com/blog/posts/internationalisation-in-go-with-go-i18n/

will work on your .html, if we just convert into standard golang templates

https://github.com/getcouragenow/bootstrap/tree/master/tool/i18n

This can auto translate the files from a JSON file. Works well and we have used it for Chinese.
It is used for this: https://maintemplate.ci.getcouragenow.org/#/settings

Change "Language" and it you will see.

@joe-getcouragenow Oh wow seems that is an easy way get into I18n.
If you translate the readme.md to English, I'll I
Put the i18n package into NoCD and export the Chinese string to a single JSON file, then you can translate it. 😁

README_Chinese.md.txt
Just drop into root.

Nice work. Thanks for the translation. I'll start work on i18n.

Hi @joe-getcouragenow
I'm glad to tell you that the multilingual support is now complete 4094ae6 and you can start using it. Feedback is welcome.

Hey @naiba Wow that fast. Had a look and it looks great.
How did you make the English text ? you did not use the tool we build ?
https://github.com/getcouragenow/bootstrap/tree/master/tool/i18n
I ask because we can easily translate into all languages with that tool as part of a make file.

@joe-getcouragenow
Because I need to make the key name of i18n meaningful, which is equivalent to translating it again, so I translated it by the way.

Ok. Will close for now i think.
I ran the code here now. All works for now.
Will make other issues and help fix a few thngs.


Memory write error at 0x80000000. MicroBlaze instruction insert overrun

Hello,
First of all, thanks for your tutorial, it's great and easy to follow.
I followed it using an Arty 100 instead of the Arty 35 and everything seemed to work fine. However, when I try to run the program the following error appears:
10:05:47 ERROR	: Memory write error at 0x80000000. MicroBlaze instruction insert overrun
I checked the Vitis Log and this is it in case you need it:
10:04:56 INFO	: Checking for BSP changes to sync application flags for project 'DDR3_read_test'...
10:05:27 INFO	: Bit file 'C:/workspace/DDR3_read_test/_ide/bitstream/download.bit' is generated.
10:05:27 INFO	: Connected to target on host '<IP_ADDRESS>' and port '3121'.
10:05:27 INFO	: 'targets -set -filter {jtag_cable_name =~ "Digilent USB104 A7 - 100T 210398AE9417A" && level==0 && jtag_device_ctx=="jsn-USB104 A7 - 100T-210398AE9417A-13631093-0"}' command is executed.
10:05:29 INFO	: Device configured successfully with "C:/workspace/DDR3_read_test/_ide/bitstream/download.bit"
10:05:41 INFO	: Connected to target on host '<IP_ADDRESS>' and port '3121'.
10:05:42 INFO	: Jtag cable 'Digilent USB104 A7 - 100T 210398AE9417A' is selected.
10:05:42 INFO	: 'jtag frequency' command is executed.
10:05:42 INFO	: 'targets -set -filter {jtag_cable_name =~ "Digilent USB104 A7 - 100T 210398AE9417A" && level==0 && jtag_device_ctx=="jsn-USB104 A7 - 100T-210398AE9417A-13631093-0"}' command is executed.
10:05:44 INFO	: Device configured successfully with "C:/workspace/DDR3_read_test/_ide/bitstream/system_wrapper_leds.bit"
10:05:44 INFO	: Context for processor 'microblaze_0' is selected.
10:05:44 INFO	: Hardware design and registers information is loaded from 'C:/workspace/system/export/system/hw/system_wrapper_leds.xsa'.
10:05:44 INFO	: 'configparams mdm-detect-bscan-mask 2' command is executed.
10:05:44 INFO	: Context for processor 'microblaze_0' is selected.
10:05:44 INFO	: System reset is completed.
10:05:47 INFO	: 'after 3000' command is executed.
10:05:47 INFO	: Context for processor 'microblaze_0' is selected.
10:05:47 ERROR	: Memory write error at 0x80000000. MicroBlaze instruction insert overrun
10:05:47 INFO	: ----------------XSDB Script----------------
connect -url tcp:<IP_ADDRESS>:3121
targets -set -filter {jtag_cable_name =~ "Digilent USB104 A7 - 100T 210398AE9417A" && level==0 && jtag_device_ctx=="jsn-USB104 A7 - 100T-210398AE9417A-13631093-0"}
fpga -file C:/workspace/DDR3_read_test/_ide/bitstream/system_wrapper_leds.bit
targets -set -nocase -filter {name =~ "*microblaze*#0" && bscan=="USER2" }
loadhw -hw C:/workspace/system/export/system/hw/system_wrapper_leds.xsa -regs
configparams mdm-detect-bscan-mask 2
targets -set -nocase -filter {name =~ "*microblaze*#0" && bscan=="USER2" }
rst -system
after 3000
targets -set -nocase -filter {name =~ "*microblaze*#0" && bscan=="USER2" }
dow C:/workspace/DDR3_read_test/Debug/DDR3_read_test.elf
----------------End of Script----------------

I checked online and I saw it could be something related to the timing constraints, so I checked the Vivado timing report summary and i got this:

Is there anything I could change in order to work properly?
Thank you in advance

Hi!
Honestly, I don't remember seeing such an error before.
As the first troubleshooting step, I recommend that you lower the MicroBlaze's frequency to 100 MHz. As I described in this chapter of the tutorial, lowering the frequency will eliminate the timing violations, and the overall design should be more stable.
Do I understand correctly that you built the HW design from scratch following the tutorial's steps?
Did you also create the Vitis workspace from scratch or re-used the one provided in the project_files? I recommend that you create a brand new Vitis workspace using the HW definition .xsa file exported from your HW design. You then just copy the main.cpp into the src folder of your Vitis workspace.

Hi!
The thing is I want to run the MicroBlaze at 200MHz as I want to run instructions at that frequency, so I followed the tutorial in order to achieve that. In previously attempts of changing the MicroBlaze frequency to 200MHz the local memory was the one that had problems with it.
Yes, I built the HW from scratch following every step.
I tried to create the Vitis workspace using the .xsa file exported instead of importing the one provided but I still get the same error.
In case I can't set the MicroBlaze clock to 200MHz, is there any way that I can send a signal in a PMOD, for instance, at 200MHz?
Thank you very much

tried to lower the frequency to 100MHz and the error is still appearing

Can you upload your HW design here so I can look at it? Please note that limit for attachment size on a GitHub issue is 25 MB for files, which are not pictures or videos.

want to run the MicroBlaze at 200MHz

As I explained in the tutorial, 200 MHz seems on the boundary of what is possible on the Artix 7 FPGA chip.
In a more complex design, where I needed to use AXI Quad SPI IP, I had go with the MicroBlaze frequency down to 160 MHz.
Have you considered using Xilinx Zynq SoC (e.g., Cora Z7)? It comes with one or two ARM cores running at 667 MHz. The overall HW design is much simpler than using a MicroBlaze (see this tutorial).

is there any way that I can send a signal in a PMOD, for instance, at 200MHz?

I believe 200 MHz should be possible on Arty A100 by a logic implemented in the Programmable Logic of the FPGA.
You would need to write such logic in Verilog. Or you can write it in C and convert it to Verilog by Vitis HLS.

Can you upload your HW design here so I can look at it? Please note that limit for attachment size on a GitHub issue is 25 MB for files, which are not pictures or videos.

Sure, I am uploading the .xpr file so you can check it, thank you
project_3.zip

As I explained in the tutorial, 200 MHz seems on the boundary of what is possible on the Artix 7 FPGA chip.

I set 200MHz as a reference value, but I previously tried to change the frequency and set it to a value different than 100MHz and I had problems too.
I will check the Xilinx Zynq SoC to see it if it has what I need, thanks for the tip!

I believe 200 MHz should be possible on Arty A100 by a logic implemented in the Programmable Logic of the FPGA.

Okay, I see. I will check how to implement it.

project_3.zip

The .xpr file alone is not enough. I need the full content of the folder from which you took the .xpr file (including sub-folders!).
I suggest you first run reset_project command in the Tcl console to erase synthesis and implementation outputs. That will significantly reduce the overall size.

I don't see any obvious issue in your HW design.
I'm getting curious what the issue is. I will change board in your HW design to my Arty A7-35, produce outputs and try to run it. I will have time for this probably tomorrow or during the weekend.

Unfortunately, I don't know what the problem is you are facing. It worked for me without issues.
I installed the Vivado and Vitis 2023.2 (in Linux VM).
I opened your HW design and changed the board to Arty A7-35T (I made no other changes; the frequency remained 200 MHz).
Vivado asked me to go through the MIG wizard in order to re-generate it. Nevertheless, the configuration of MIG remained the same. I compared it to your original HW design.
I generated the Vivado outputs, created a Vitis Classic workspace, compiled the main.cpp.
The app ran normally and worked as expected (I checked with a scope connected to the board's pin A0).
Do you have access to other Artix-7 FPGA board? Maybe there is a HW issue with your Arty A7-100T.

I tried with another board, but the error is still appearing. I compiled a 'Hello world' application to try and it didn't run so the problem has to do something with the HW. The error is related to the MIG memory, since the 0x800000 address belongs to it, maybe something about the timing constraints? Do you have any timing violations in your Vivado output?
Thanks

Yes, I had a critical warning about timing constraints violations in Vivado. Those should disappear when the MicroBlaze frequency is lowered to 100 MHz, but you said you face the issue even at 100 MHz.
Yes, 0x80000000 is indeed the address at which the start of DDR3 memory is located.
Can you share the export of your Vitis workspace? Let me look at it. Maybe I will spot something.

Okay, sure, I am attaching it in a ZIP file.
Thank you
vitis_export_archive.ide.zip

I'm sorry, but I don't see what is wrong with your setup. :worried:
I created a new Vitis workspace and imported your export. I didn't see anything suspicious in the project.
Since I don't have Arty A7-100, I updated the hardware specification with Arty A7-35 system_wrapper.xsa from this repository. The build worked normally. I could start the debugger and step through your main.cpp.
When I copied into the Vitis main.cpp from this repository it worked as expected and I saw expected signal on the ping A0.

It's okay, no problem. Thanks for the help! I'll continue working on it and in case I fix it, I'll let you know.
Thank you again!

It's okay, no problem. Thanks for the help! I'll continue working on it and in case I fix it, I'll let you know.
Thank you again!

Hello.I also meet this problem,have you solved this problem?Thank you.

I opened your HW design and changed the board to Arty A7-35T (I made no other changes; the frequency remained 200 MHz). Vivado asked me to go through the MIG wizard in order to re-generate it. Nevertheless, the configuration of MIG remained the same. I compared it to your original HW design.
I generated the Vivado outputs, created a Vitis Classic workspace, compiled the main.cpp. The app ran normally and worked as expected (I checked with a scope connected to the board's pin A0).
Do you have access to other Artix-7 FPGA board? Maybe there is a HW issue with your Arty A7-100T.

Hello,is the project must work in Linux?

Hi!
Unfortunately, we weren't able to find the source of the issue gari-marcos had. :worried:
From a Google search, it seems that this happens sporadically to people (examples are here and here), but none of the forum posts came to a conclusion.
Which board and which version of Xilinx tools are you using?

is the project must work in Linux?

I'm using Windows. That's where I created and tested my DDR3 tutorial. Nevertheless, I expect that you can do the same also on Linux (if it's one declared by Xilinx to be compatible).

Thank you for your reply. The versions of Vivado and Vitis that I am using are both 2022.2. This project was working properly in 2019.1, but if I directly port it to version 2022.2 for use, the same error will occur
---Original---
From: "Viktor @.>
Date: Thu, Dec 12, 2024 18:17 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [viktor-nikolov/MicroBlaze-DDR3-tutorial] Memory write error at0x80000000. MicroBlaze instruction insert overrun (Issue #2)
Hi!
Unfortunately, we weren't able to find the source of the issue gari-marcos had. 😟
From a Google search, it seems that this happens sporadically to people (examples are here and here), but none of the forum posts came to a conclusion.
Which board and which version of Xilinx tools are you using?
is the project must work in Linux?
I'm using Windows. That's where I created and tested my DDR3 tutorial. Nevertheless, I expect that you can do the same also on Linux (if it's one declared by Xilinx to be compatible).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

This project was working properly in 2019.1, but if I directly port it to version 2022.2 for use, the same error will occur

It really sucks when different versions of the tools produce different results.
I wish I knew how to help you. :disappointed:
My wild guess is that this is some edge case issue dependent on your HW and version of the tools.
I created my MicroBlaze projects in versions 2023.1 and 2024.1 and never faced this issue.

Okay, thank you very much. Do you have any good suggestions? Should I rebuild the project in version 2022.2
---Original---
From: "Viktor @.>
Date: Thu, Dec 12, 2024 18:33 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [viktor-nikolov/MicroBlaze-DDR3-tutorial] Memory write error at0x80000000. MicroBlaze instruction insert overrun (Issue #2)
This project was working properly in 2019.1, but if I directly port it to version 2022.2 for use, the same error will occur
It really sucks when different versions of the tools produce different results.
I wish I knew how to help you. 😞
My wild guess is that this is some edge case issue dependent on your HW and version of the tools.
I created my MicroBlaze projects in versions 2023.1 and 2024.1 and never faced this issue.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Should I rebuild the project in version 2022.2

I think it's worth a try. It doesn't take much time.
If I were in your shoes, I would try different versions of the tools and different boards.
Keep the MicroBlaze frequency down at 100 MHz to eliminate timing issues being a factor.


chore (workflows): update demo deployement build artifact to include env

What is the purpose of this pull request?

What problem is this solving?

Types of changes

[ ] Feat: (new functionality)
[ ] Bug fix: ([#ref number] non-breaking change which fixes an issue)
[ ] Chore: (improvements that will not reflect in production behaviour)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Requires change to documentation, which has been updated accordingly.

#123  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @keeganpotgieter and the rest of your teammates on  Graphite


Transfer the repository to @sass organization?

We have now more than one maintainers, so I’m not sure whether this repository still should belong to @dahlia.  There’s the official organization named @sass, which consists of libsass upstream itself, and several bindings of it e.g. node-sass, perl-libsass, ruby-libsass.  I think @sass would be the best place to transfer this repository to, but wonder others’ opinions about the idea.  Also, I have currently no idea how we should do even if we want to do it.

Plus: although it might be somewhat off-topic, maintainer of the package metadata (described in setup.py) should contain @asottile.

AFAIK @hcatlin would be the right contact. Easiest probably by our [slack channel] 1.

Any update on this?

I'm not entirely convinced.  The current repositories contain bindings maintained by the core libsass maintainers.  This repository doesn't quite fit that as well

Wonder if the binding maintainers became core libsass maintainers, or core libsass maintainers also made bindings as well.


[openssl-3] Usage of ansi-x9.42 related APIs

Input Parameters:
"algorithm": "kdf-components",
"mode": "ansix9.42",
"hashAlg": "SHA-1",
"kdfType": "DER",
"oid": "060960864801650304012D",
 "zz": "72",
"keyLen": 2264,
"partyUInfo": "......",
"partyVInfo": "......",
"suppPubInfo": "......",
"suppPrivInfo": "......"

Usage of Openssl-3 APIs:
md = EVP_sha1();
mdname = EVP_MD_name(md);
kdf = EVP_KDF_fetch(NULL, OSSL_KDF_NAME_X942KDF_ASN1, NULL);
kctx = EVP_KDF_CTX_new(kdf);

*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_DIGEST, (char *)mdname, 0);
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_CEK_ALG, (char *)"AES-256-WRAP", 0);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SECRET, (unsigned char *)data->zz.buf, data->zz.len);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_X942_PARTYUINFO, (unsigned char *)data->party_u_info.buf, data->party_u_info.len);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_X942_PARTYVINFO, (unsigned char *)data->party_v_info.buf, data->party_v_info.len);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_X942_SUPP_PUBINFO, (unsigned char *)data->supp_pub_info.buf, data->supp_pub_info.len);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_X942_SUPP_PRIVINFO, (unsigned char *)data->supp_priv_info.buf, data->supp_priv_info.len);
*p = OSSL_PARAM_construct_end();
ret = EVP_KDF_derive(kctx, data->derived_key.buf, data->derived_key.len, params);

All the API calls are working fine and there is no error value returned. But result generated is not matching with expected one.
Please point out the issue with my code. It will be really helpful.
Note: Test-vectors and expected results are from reliable source, no reason to doubt those.
Thank You

I'd be checking your inputs.  The code looks reasonable.
The ...... look suspicious at the ends of the various fields.  Are they truncated?
Should the hex digit pairs be converted to bytes?

Yes "..." means truncated, sorry for confusion.
and hex digit pairs for (oid, zz, partyUInfo, partyVInfo, suppPubInfo & suppPrivInfo) are converted to bytes,
for example "data->zz.buf" is the array of unsigned chars of size  "data->zz.len"
I put some prints in "x942kdf_derive" to dump fields of "KDF_X942 *ctx",
all the values in test vector are reaching that function correctly. I tried to debug with my limited knowledge of openssl code.
But still result generated is incorrect.

One Complete testcase:
Input:
"algorithm": "kdf-components",
"mode": "ansix9.42",
"hashAlg": "SHA-1",
"kdfType": "DER",
"oid": "060960864801650304012D",
"zz": "E69A4E00C4998002A748095C340D44AEE885440E1AEAA52C3F3826BE45805421B435403B13BC6A99BF8FE2",
"keyLen": 376,
"partyUInfo": "F73BD0EF29555CFC8292193184",
"partyVInfo": "D80B18570032F765D3E455B075",
"suppPubInfo": "66F32ADD96030ADD3F738C3E43",
"suppPrivInfo": "2CDF44CF8CB00D386D0BB8E7B1"
Expected
"derivedKey": 410CD12549268A7BDA543B3A1A937EBC96CFD9B6184D97A599DD5FE748CDCEE942306FD7A8703DAC5756BCECD46AEC

I don't see any obvious problems.
@slontis?

I remember that we did have problems with this algorithm and the LAB needed to get ACVP to change their code so it worked correctly.
I would check with the 'reliable source' what they expect the otherinfo data to look like and compare it to what you get in openssl - since that is where things probably go wrong here..
Since the actual algorithm is fairly simple and  does KDF(z || otherinfo).. (with the counter embedded inside the DER data)
The encoding of Otherinfo has one of 2 forms:

The ANS X9.42-2003 standard uses OtherInfo:

OtherInfo ::= SEQUENCE {

 keyInfo KeySpecificInfo,

 partyUInfo [0] OCTET STRING OPTIONAL,

 partyVInfo [1] OCTET STRING OPTIONAL,

 suppPubInfo [2] OCTET STRING OPTIONAL,

 suppPrivInfo [3] OCTET STRING OPTIONAL

}

KeySpecificInfo ::= SEQUENCE {

 algorithm OBJECT IDENTIFIER,

 counter OCTET STRING SIZE (4..4)

}

OR

RFC2631 Section 2.1.2 Contains the following definition for OtherInfo

OtherInfo ::= SEQUENCE {

 keyInfo KeySpecificInfo,

 partyAInfo [0] OCTET STRING OPTIONAL,

 suppPubInfo [2] OCTET STRING

}
Where suppPubInfo is the key length (in bits) (stored into 4 bytes)

Thanks for reply.
test vectors that I am using are "demo vectors" and were generated on "13th Sept 2021".
Hopefully those should be in correct format.
==================================================================
other info is generated inside "x942kdf_derive" using parameters passed by calling program:
/* generate the otherinfo der */
if (!x942_encode_otherinfo(ctx->use_keybits ? ctx->dkm_len : 0,
ctx->cek_oid, ctx->cek_oid_len,
ctx->acvpinfo, ctx->acvpinfo_len,
ctx->partyuinfo, ctx->partyuinfo_len,
ctx->partyvinfo, ctx->partyvinfo_len,
ctx->supp_pubinfo, ctx->supp_pubinfo_len,
ctx->supp_privinfo, ctx->supp_privinfo_len,
&der, &der_len, &ctr))
What change in source code can I try at my end to make it generate correct output?
Thank You

What change in source code can I try at my end to make it generate correct output?

I was suggesting that the generated output is wrong... (So no changes to openssl source code should be done).
See https://github.com/usnistgov/ACVP/issues/1056
It says it should be fixed in release V<IP_ADDRESS>

You will need to pass the acvp-info parameter which you need to build up correctly from partyUInfo, partyVInfo, suppPubInfo and suppPrivInfo.  Also, don't pass these latter parameters in individually.  The acvp-info parameter replaces them.
The value is:

A0 | #partyUInfo | partyUInfo | A1 | #partyVInfo | partyVInfo | A2 | #suppPubInfo | suppPubInfo | A3 | #suppPrivInfo | suppPrivInfo

where the bold are bytes, #italic is the length of that value in a single byte, | is concatenation and the rest are the values.
I have manually confirmed that your example works and generates the expected output using OpenSSL.

Thanks for explanation.
Now other Info generated with test my vector:
30 64
30 11 06 09 60 86 48 01 65 03 04 01 2D 04 04 00 00 00 01     <---- Oid + Counter
A0 0D F7 3B D0 EF 29 55 5C FC 82 92 19 31 84        <------Correct
A1 0D D8 0B 18 57 00 32 F7 65 D3 E4 55 B0 75        <------Correct
A2 0D 66 F3 2A DD 96 03 0A DD 3F 73 8C 3E 43     <------Correct
A3 0D 2C DF 44 CF 8C B0 0D 38 6D 0B B8 E7 B1     <------Correct
00 00 00 00 00 00 00 00 00 00 00 00 00 A2 06 04 04 00 00 01 00         <------Extra bytes
In 2nd line, is counter value correct?
Last line is also having extra bytes
My result generated is still not matching.

In the form you have given you supply the party and  sup Info..
A2 == suppPubInfo and you have two values for this..
Set OSSL_KDF_PARAM_X942_USE_KEYBITS  to 0 will remove this extra value..

Thank you so much for help.
Now it is working perfectly fine.


Improved Datalust SEQ Target

Pull Request
Pull Request (PR) description
I fixed the SEQ integration and added support for labels.
Following Code: Write-Log -Level 'WARNING' -Message 'Hello, {0}!' -Arguments 'Powershell'
Before the Message was not converted correctly to the right text messages as it has not replaced the arguments
The Result was:

detailed:

The output in the console was fine:

After the PR:

the message is rendered by seq and used the correct property based by index
I also added support for labels:
Write-Log -Level 'DEBUG' -Message 'Hello, {0}!' -Arguments 'Powershell' -Body @{     labels = @('scriptlanguage') }
It converts the messagetemplate send to seq to "Hello, {scriptlanguage}!" and gives them the correct properties.

the main advantage is that named labels are searchable in seq while searching for "0" gives a lot of results.

Thank you for the contribution!


Added generation counter in content tree config

For container images, we won't get SHA in config so we need to resolve it before doing download/verification in EVE. With the help of the generation counter, we will identify whether we want to resolve SHA or not.
generation counter needs to be an array because multiple instances can run on a different version of an image corresponding to the same content-id (in case of containers).
cc: @bharani-zededa @nordmark

Couldn't the controller create a new ContentTree UUID and send it to EVE?

If we will get a new ContentTree UUID then we don't need an array.

Also, don't know if we should report the generation counter in the ZVolumeInfo message
If we need one for CT then also report for the CT info

Ok, I will add it in info as well.

@bharani-zededa If two instances want to run on same image say nginx:latest, will we get one ContentTree UUID or two?

@bharani-zededa If two instances want to run on same image say nginx:latest, will we get one ContentTree UUID or two?

That depends on the controller implementation (and subject to change) depending on user work flow. EVE should not make an assumption either way.
FWIW, I don't think this should be an array (and if it is an array, I don't understand how controller can provide that information).


Container list font hierarchy and split by property type

Adjusts the container list font hierarchy to be container (bold) > materials (normal)
Removes the property type display name logic as a temp fix for WRAP-513

:tada: This PR is included in version 1.23.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


AWS Amplify with isomorphic rendering

I'm currently integrating Amplify/Cognito into a server side rendered Angular 5 application. Obviously the server side rendered application has no access to local storage so I've configured Ampify to use cookie storage instead
Auth: {
  ...
      cookieStorage: {
        domain: 'localhost',
        expires: 365,
        path: '/',
        secure: false
      },
  ...
}

But when the server rendered application is loaded it shows these two errors when it tries to retrieve the cookies
[WARN] 51:02.95 Cache - getItem failed! TypeError: Cannot read property 'getItem' of null
[WARN] 51:02.140 Cache - getItem failed! TypeError: Cannot read property 'getItem' of null

I'll hazard a guess and say that's because it's using document.cookie and that doesn't exist in the node environment. Are there any suggestions on how I can get the server rendered application to read the cookies from Amplify?

for node it has an in memory storage, see https://github.com/aws/aws-amplify/tree/master/packages/amazon-cognito-identity-js/lib

Forgive me if this comes across as a bit of a stupid question but how would you tell Amplify to use memory storage when you configure it?
Looking at the code, if you pass in cookieStorage in your config you then set userPoolData.Storage
https://github.com/aws/aws-amplify/blob/b439e08f927305ffa1b030c123165f0ee82c55f7/packages/aws-amplify/src/Auth/Auth.ts#L96-L98
but I can't see how else you can pass any other storage via Amplify.configure

Don't have full SSR yet, but I was able to check if there user is authenticated by looking at the cookie for CognitoIdentityServiceProvider.${userPoolWebClientId}.LastAuthUser and then the JWT which is also in the cookie.

Can anyone explain if it's even possible to use Amplify server-side?
I presume you'd require the module...
const amplify = require('aws-amplify');

I then tried the following...
const Amplify = amplify.default;

Amplify.configure({
  Auth: {
    identityPoolId: '',
    region: '',
    userPoolId: '',
    userPoolWebClientId: '',
  }
});

Amplify.Auth.signIn('foo', 'bar')
  .then(data => console.log(data))
  .catch(err => console.log(err));

This ^^ errors when run via node.
I think Amplify ultimately wouldn't work because it uses client-side APIs like fetch. I've tried installing packages to support fetch in node (just as an example) but I think it's too dependent on client-side implementations 🤔

Note: I don't know JS (or Node) that well at all - so there might be other ways.

@Integralist I think it can be used on server-side, we were using it to handle user signin/signup with it. the only thing we need to do is add this on top of the entry js file
import fetch from 'node-fetch';
global.fetch = global.fetch || fetch;

It will warn you about getItem, but that's fine.

@crysislinux that didn't work for me.
I get the error...
import fetch from 'node-fetch';
^^^^^^

SyntaxError: Unexpected token import
    at new Script (vm.js:51:7)
    at createScript (vm.js:136:10)
    at Object.runInThisContext (vm.js:197:10)
    at Module._compile (internal/modules/cjs/loader.js:618:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
    at startup (internal/bootstrap/node.js:201:19)
[nodemon] app crashed - waiting for file changes before starting...

@Integralist That's because you don't have ES6 transpiling it seems.
A quick google search would have gotten you the answer:
https://stackoverflow.com/questions/39436322/node-js-syntaxerror-unexpected-token-import
Just replace
import fetch from 'node-fetch';

with
const fetch = require('node-fetch');

This issue just became a holder for other questions rather than the one asked by OP (@mogusbi).
I'm still not sure how to use Memory Storage...

Nah, it's looking for localStorage.
If you grep the aws-amplify code in node_modules, you'll see this:
 function BrowserStorageCache(config) {
        var _this = this;
        var cacheConfig = config ? Object.assign({}, Utils_1.defaultConfig, config) : Utils_1.defaultConfig;
        _this = _super.call(this, cacheConfig) || this;
        _this.config.storage = cacheConfig.storage;
        logger.debug('Using AsyncStorageCache');
        return _this;
    }

(Looks like it was transpiled to ES5 from TypeScript)
So it can take a localStorage polyfill in the config as storage.
You could use a polyfill from npm, or just use the ghetto polyfill from the AWS App Sync docs:
https://docs.aws.amazon.com/appsync/latest/devguide/building-a-client-app-javascript.html
Like this:
const storage = {
	store: {},
	getItem(key) {
		return this.store[key]
	},
	setItem(key, value) {
		this.store[key] = value
	},
	removeItem(key) {
		delete this.store[key]
	}
}

config = { storage, ...config }

We've added a polyfill for this that uses the InMemoryStorage in place that should address this:
https://github.com/aws/aws-amplify/blob/master/packages/aws-amplify/src/Common/Polyfills/Polyfills.ts
Please let us know if you still have issues here.

Was this pushed? Seems like this is still happening. It shows a warn like this four times, then hangs. The debug reveals that 'AWSPinpointProvider' is trying to connect, but (since I didn't configure it) it fails. Could be a red herring.
[WARN] 49:28.401 Cache - getItem failed! TypeError: Cannot read property 'getItem' of null

Should I create a new issue for this?

Yup, still getting the same issue:
WARN] 26:47.552 Cache - getItem failed! TypeError: Cannot read property 'getItem' of null
Page hangs.

Has this been resolved please? Getting the same error

@jwulf is the code you pasted meant to replace the one in BrowserStorageCache?

No mate, that's the enriched configuration object that you pass into the constructor to inject a polyfill implementation.

Thanks @jwulf. Will try that out.

For achieving SSR this is what I've done, just in case it helps someone. I'm using Koa but I think it should be easy to modify it for Express or something else.
In the server.js file:
        import Amplify from 'aws-amplify';     import fetch from 'node-fetch';     ...     // Middleware for adding storage polyfill that uses incoming cookies      app.use(async (ctx, next) => {         Amplify.configure({             Auth: {                 ...             },             Storage: {                 // This one (uppercase) is for S3             },             storage: {                 store: {},                 getItem(key) {                     return ctx.cookies.get(key);                 },                 setItem(key, value) {                     return ctx.cookies.set(key, value, { httpOnly: false });                 },                 removeItem(key) {                     ctx.cookies.set(key, '');                 },             },             API: {                 ...             },         });         await next();     });
Then in the client, in the app component:
import Amplify from 'aws-amplify'; ... if (isClient) {     Amplify.configure({         Auth: {             ...             cookieStorage: {                 domain: ...,                 expires: ...,                 path: ...,                 secure: ...,             },         },         Storage: {             ...         },         API: {            ...         },     }); }


systemd service file goes into bad state and won't restart caddy

1. What version of Caddy are you using (caddy -version)?
0.10.3
2. What are you trying to do?
I'm trying to restart caddy while testing new configs and after a while it will not restart.
3. What is your entire Caddyfile?

{{config.site.domains[0]}}:8080 {
  tls off

  root {{config.dev.path.devDir}}public
  gzip

  fastcgi / <IP_ADDRESS>:9000 php
  rewrite / {
    r /(.*)
    to {path} index.php?url={1}&{query}
  }
}

4.
I'm using Ubuntu 16.04 and restarting in the terminal with systemctl restart caddy.
7. What did you see instead (give full error messages and/or log)?
@klingtnet posted this on https://github.com/mholt/caddy/issues/711#issuecomment-308885617
It looks like the settings for StartLimitInterval, StartLimitBurst are to conservative.
$ journalctl -xefu caddy
Jun 15 18:02:08 m253 systemd[1]: caddy.service: Unit entered failed state.
Jun 15 18:02:08 m253 systemd[1]: caddy.service: Failed with result 'start-limit-hit'.
Jun 15 18:02:10 m253 systemd[1]: caddy.service: Start request repeated too quickly.

A workaround is to deactivate the start limit check until we decided which values StartLimitInterval, StartLimitBurst should be set to.
8. How can someone who is starting from scratch reproduce the bug as minimally as possible?
To reproduce the problem simply start caddy's service systemctl start caddy call systemctl restart caddy and it will fail to restart eventually (after ~10 retries on my machine).

FWIW, i hit this issue too and decided to bin the restart limit for the moment. i don't find it particularly useful anyway in all honesty.

Maybe I'm missing something but I think that if the system is continually restarting a vital service so much for whatever reasons then there are worse problems to deal with.

I ended up writing my own systemd service a few days ago; and that was before finding the default one elsewhere on the site.

Ubuntu 16.04.2 LTS, installed as  /etc/systemd/system/caddy.service
Created a user with useradd -m caddy
Using /etc/default/caddy as my config file: seems to be in keeping with how to edit services on Ubuntu and RHEL/CentOS.

[Unit]
Description=Caddy Server
After=network.target
[Service]
Type=simple
LimitNOFILE=8192
ExecStart=/usr/local/bin/caddy -conf /etc/default/caddy
User=caddy
Group=caddy
[Install]
WantedBy=multi-user.target

Closing, since there is a PR open that seems to relate to this.


Feat/update tests

In this PR

Added tests for sending initCode with patch user op and sign user op
Removed user op methods from the front end

See #7 for additional test refactors required

Closing because already merged and no longer relevant


Finishing off redirection of permanent exhibitions

Type
:sparkles: Feature
We need to redirect v1 Med Man and Med Now to v2
https://wellcomecollection.org/exhibitions/medicine-now to https://wellcomecollection.org/exhibitions/WeobUyQAAKdwjbEO
https://wellcomecollection.org/exhibitions/medicine-man to https://wellcomecollection.org/exhibitions/Weoe4SQAAKJwjcDC
BUT before we do that, we need to decide what to do about the three promos featured on v1:

Promo for Curiosities from the Collection
Promo for Image Gallery
Promo for Young Explorers

Options:

Take no action until we decide how to treat image galleries and related content in Jan/Feb
Create image gallery static images like we did with temporary exhibitions, to link to Drupal galleries; hardcode other two promos

Anything we can learn about CTR from v1 exhibition page to related content from GA, @hthair?

Still do to:
https://wellcomecollection.org/exhibitions/medicine-man to https://wellcomecollection.org/exhibitions/Weoe4SQAAKJwjcDC

@jennpb Does this also need to be done by 21 May? @gestchild is working on the Medicine Man temporary closure #2599

Yup, it can be picked up with redirects. It's in the ToDo column.

Closing as these URLs have been redirected, and the migrated ones will be migrated with the Drupal migration piece of work.


Changed props.category to track.category()

This customer (https://segment.zendesk.com/agent/tickets/46706) complained that they pass Category with a capital C, and we don't properly map this to GA. They don't want to change all their casing to be lowercase. Facade methods do this for us, but we were just using props.category instead of track.category().

LGTM


Add MustSatisfyAnyOf plutus-contract tests

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Formatting, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reference the ADR in the PR and reference the PR in the ADR (if revelant)
[ ] Reviewer requested

Use https://github.com/input-output-hk/plutus-apps/pull/752 instead to merge into main


update cli scenarios

Summary
add image classification to cli scenarios

@briacht Ping

I had to create a new PR: #23283
Also I got rid of the "Future" statement.

Closing PR since there's a new one.


Workflow ignoring nodeSelector and tolerations when defined in WorkflowTemplate

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issue exists when I tested with :latest
[X] I have searched existing issues and could not find a match for this bug
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what did you expect to happen?
I defined a WorkflowTemplate containing nodeSelector and tolerations. When I manually submit the WorkflowTemplate from the UI both fields are ignored and the workflow is running on any available node in the cluster.
Version
v3.5.2
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: benchmarks
spec:
  entrypoint: main
  serviceAccountName: workflow
  templates:
  - dag:
      tasks:
      - arguments:
          parameters:
          - name: msg
            value: 'hello'
        name: benchmark
        template: benchmark
    name: main
    nodeSelector:
      pool: workflows
    tolerations:
    - key: pool
      operator: Equal
      value: workflows
  - inputs:
      parameters:
      - name: msg
    name: benchmark
    script:
      command:
      - python
      image: python:latest
      source: |
        print("{{inputs.parameters.msg}}")

### Logs from the workflow controller

```text
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

Logs from in your workflow's wait container
kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

@nice-pink have u tried v3.4.11?

No I haven't as we're already on v3.5.4.

It seems that we have not implemented the child template's inheritance of the parent template nodeSelector.Currently only workflow-level and node-level nodeSelector are supported.


Hotfix  serverless sql

Azure SQL Standard Tier is more expensive than hopefully needed. To make Azure SQL serverless work, I:

disabled the default columnstore option, and
made the connection-azuresql job come before the integration-azuresql job to ensure that the serverless db is unpaused/active before connecting

@swanderz In order to override the pytest-dbt-adapter suite, you have to include the overrides directly in the .dbtspec file.
I'm hopeful that something like this would work. I'm not positive if dbt_project_yml can be a YAML dict or if it needs to be passed as a pythonic dict like so.
target:
  ...

projects:
  - overrides: base
    dbt_project_yml: &override-project
      name: dbt_test_project
      config-version: 2
      version: '1.0.0'
      models:
        +as_columnstore: false
  - overrides: ephemeral
    dbt_project_yml: *override-project
  - overrides: incremental
    dbt_project_yml: *override-project
  - overrides: snapshot_strategy_timestamp
    dbt_project_yml: *override-project
  - overrides: schema_test
    dbt_project_yml: *override-project

sequences:
  ...

Just edited comment above based on this error. Checked and saw the project name is schema_tests (plural).

thanks @jtcohen6!