How to project the 3D point to image？

I read the 3D point and intrinsic&extrinsic parameter from json file, and i want to project the 3D points to image plane, but the result is confusing.
And I did not find a indruction about the coordinates system, could you tell me the define of different plane and the transformation about 3D plane and image plane?

Hi, we define the coordinates system in this page

Hi, we define the coordinates system on this page.

Hi, thank you for your excellent work. I have already read the document, but I am still confused about the reason for the first three coordinate changes. They change the coordinate frame from Waymo camera to Waymo camera, but I'm not sure what their purpose is.

Refer to offcial replay, we can project the 3D point in waymo coordinate.


importing a file replaces elements and reverts versions

Importing a file imports the elements without 1) regenerating the ids (desired?), and 2) not keeping/incrementing the latest versions, and instead reusing the versions from the file.
This causes resolution issues on save/sync.
We can either regenerate ids on import (same as we do with paste), or use the latest version + 1 (and regenerate versionNonce).
Steps to repro:

import a file with element A with version 0
delete element A, which increments version to 1
import the file again, which replaces the element A, setting version back to 0
whatever onChange or sync resolution there is, it'll consider change (3) as a no-op, resulting in not syncing the change to database/clients.

@dwelle won't this be resolved once we have the autosave feature?  As this happens when the latest drawing version is not saved to the file.

No, that's unrelated. Whether you save back to the file you imported from or not shouldn't affect the state integrity.
If the host app (in our case Excalidraw+) persists to the database, we need to ensure the changed elements increment their version (and never decrement). This also affects collaboration.

ok now it's clear since we are reverting the versions, the collaboration also gets affected.
I think we can increment the version and update the version nonce as well so the file import is treated as a new operation and the sync issue also gets resolved.

Yes, I'm inclining towards incrementing versions as well. Will make a PR later.


Update 4.md

I added a link to a great David Robinson talk about sharing your work.

Awww, thanks @laderast !


Fix Helm tiller installation

Workaround: https://github.com/terraform-providers/terraform-provider-helm/issues/148

@jonandernovella just added your Helm workaround


Fix invalid link

This PR is to fix the invalid link, the backslash is not supported in link/image.

Docs Build status updates of commit 4e3ad4f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingMaps/coverage/traffic-coverage.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

It is currently working on live. This change does not appear to be needed. What was the impetus for the change?

@kgoseng There are two reasons to fix it.

In the Github preview page, the link doesn't work.
There are two warnings(InvalidFileLink) in the build report, if someone create a pr which contains the change on this file, the warning will displayed on the PR comments(Here is a example)

Docs Build status updates of commit 4e3ad4f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingMaps/coverage/traffic-coverage.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@eriklindeman Can you help to merge the PR?


Add a pre-deployment sanity check

Just display warnings if the app_module doesn't exist to avoid the
 UnboundLocalError: local variable 'app_module' referenced before assignment

that happens from putting the wrong values in zappa_settings.

on it.

I'm going to put the addition for this in zappa/cli.py:create_package(). Does this seem like a suitable place?

This would probably be better to but in zappa.py so that it could be used by other clients. We should expect that this function may grow over time.

@Miserlou zappa/zappa.py appears to be unaware of the zappa_settings reference that zappa/cli holds onto. Should I inject the zappa_settings into zappa/zappa.py or should I implement it in the update method within ZappaCLI?

It would be helpful to check types on config values -- for example, memory_size, parameter_depth, timout_seconds, etc all need to be numbers, not strings. If they are strings, zappa will zip your project, upload it, then fail with an error:

Parameter validation failed:
Invalid type for parameter MemorySize, value: 128, type: <type 'unicode'>, valid types: <type 'int'>, <type 'long'>

This recently happened to somebody in IRC:
[1471899440322] No module named your_module
[1471899440322] No module named your_module: ImportError
Traceback (most recent call last):
 File "/var/task/handler.py", line 345, in lambda_handler
   return LambdaHandler.lambda_handler(event, context)
 File "/var/task/handler.py", line 122, in lambda_handler
   return cls().handler(event, context)
 File "/var/task/handler.py", line 317, in handler
   raise e
ImportError: No module named your_module

Could we check if the specified module exists before uploading?


chore(master): release 1.1.43

:robot: I have created a release beep boop
1.1.43 (2023-05-03)
Miscellaneous

deps: update dependency vite-node to v0.31.0 (1227563)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.43 :sunflower:


Add Production CDATA Endpoint to FormsFlow Production Deployment

The production CDATA endpoint is now live. Please integrate this into the production application to prepare for final testing and go-live.
Production API URL:
https://analytics-api.psa.gov.bc.ca/apiserver/api.rst
Please ensure that dev and test environments continue to use the (shared) test API:
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rst

@iman-jamali-fw Is this critical for the launch of Telework, Iman?

@iman-jamali-fw yes correct.  It's with the pull/get and not the push with the POST.

@warrenchristian1telus You can find the relevent env variables on Openshift, under forms-flow-webapi by these two names:

EMPLOYEE_DATA_API_URL
EMPLOYEE_DATA_AUTH_TOKEN I believe this token need to be updated for the new endpoint url.

@iman-jamali-fw The above URL and token have been updated. I've also updated the "ODS" URL for POSTS back to CDATA:
ODS_URL = https://analytics-api.psa.gov.bc.ca/apiserver/api.rsc

Hi @iman-jamali-fw I've updated the CDATA API Token, but noticed there's a 500 error from request. Not sure if this could be to do with the token being wrong, but I wouldn't expect that could cause a 500 error. Can you please look into it?

A similar ticket #405 was closed (ticket was about Telework users not seeing Peoplesoft data in PROD)

Tested in PROD-

Employee info pre-populated correctly. Name is also in correct order

Address fields also loaded correctly-

Moving ticket to Review Pipeline

Tested successfully. Closing ticket


[Feature] Remove zk3.4 support in 3.3

Pre-check

[X] I am sure that all the content I provide is in English.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Remove zk3.4 support in 3.3

Remove dubbo-dependencies-zookeeper, dubbo-remoting-zookeeper.
Rename all the zookeeper-curator5 related modules to zookeeper

Related issues
No response
Are you willing to submit a pull request to fix on your own?

[ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'm interested. Can you assign it to me?

I'm interested. Can you assign it to me?

done

I'm interested. Can you assign it to me?

done

I realized that perhaps dubbo-zookeeper-curator5-spring-boot-starter needs to do the same things when I'm coding.Is that correct?

I find this PR can't pass CI because the CI project uses curator4.1, so it throws an error java.lang.NoSuchMethodError: org.apache.curator.framework.recipes.cache.NodeCache.getListenable()Lorg/apache/curator/framework/listen/Listenable; I have submitted another PR in the CI repository to try to fix this problem.
Refer: #19

Is this issue completed? Is there any progress? I am very interested in this and want to join. @Stellar1999

Is this issue completed? Is there any progress? I am very interested in this and want to join. @Stellar1999

I believe it's nearly complete and just awaiting merging.

Already done


lxrun extension

Currently there is only possible to use one rootfs.
Would be great if it would be possible to create multiple folders for using different rootfs folders.
You are all probably aware of https://github.com/RoliSoft/WSL-Distribution-Switcher project.
Example :
lxrun /setdefaultrootfs <rootfs_folder>
lxrun /setdefaultrootfs rootfs_ubuntu_16.04
lxrun /setdefaultrootfs rootfs_ubuntu_trusty
Or for just current session
lxrun /setrootfs <rootfs_folder>
Which could make it possible to run multiple processes with different distributions.

Good suggestion.  We have some future plans related to this - but I can't go into more detail at this time.

Thanks a lot. Glad to hear that
On Thursday, October 27, 2016, Ben Hillis<EMAIL_ADDRESS>wrote:

Good suggestion. We have some future plans related to this - but I can't
go into more detail at this time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.<
https://ci3.googleusercontent.com/proxy/vmYPNxFGgvmRiaHD7Yn-9GO3aUk8EWUEfDKO2rhlD3NKAzheL3EdbGSdgwoPLh7xhrMC0Tug3RdXJBe-7JSh7wxLAwlIwSHaaV2vkvkZMKxlMKe8E-FRioOu7hGdtXGnymj6U79r2JFY5BeIc_kGu2XjLqyIhA=s0-d-e1-ft#https://github.com/notifications/beacon/ADdKSGRxGQRVhwR5TjodeMVOBltm7Xy1ks5q4MQ5gaJpZM4KcClq.gif>

Closing this out now that distributions are in the store.


Authoring/Hosting project tooling support

Creating an issue to track the status of end-to-end C# Authoring/Hosting. Here is a list of hacks that we should remove to consider authoring/hosting experience complete:

[ ] Instead of winmd reference from hosting project, allow for project reference to the component
[ ] Remove need for DeploymentContent set to true in hosting project file (for the manifest and runtimeconfig)
[ ] Automate activatable classes instead of manually creating manifest file
[ ] Remove need for creating WinRT.Host.runtimeconfig.json (create a default, and allow override)
[ ] GeneratedFilesDir in authoring csproj
[ ] CsWinRTEnableLogging in authoring csproj (#687)
[ ] CsWinRTWindowsMetadata (#657)
[x] Copy hosting dlls so you don't need Directory.build.targets files (#474)

For packaged apps, there are some additional hacks:

[ ] Manually copying CsWinRT and component assemblies to the Appx folder on deploy
[ ] Manually editing the appxmanifest, for example:

<Extensions>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>WinRT.Host.dll</Path>
          <ActivatableClass ActivatableClassId="Net5BgTaskComponent.BgTask" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
  </Extensions>

Other existing issues for E2E authoring support include:

[x] #633
[ ] #656
[ ] #649
[x] #662

Hosting support needs some more work with ProjectReferences, but PackageRef's are handled by my PR #665

Hosting support needs some more work with ProjectReferences, but PackageRef's are handled by my PR #665

Meeting notes:
Top priority is project reference support, as a few of the later hacks we want to see if they are needed once projref support is in place.
Second priority: manifest/runtimeconfig

Mano will work on embedding manifest in authored component, with the hope that consumers wont need to make a manifest file at all.

Joshua will work on making a generic runtimeconfig, and shipping it with DeploymentContent metadata -- consumers wont need to author one unless they want to make a custom one (by referring to the hosting docs)

Meeting notes:
Top priority is project reference support, as a few of the later hacks we want to see if they are needed once projref support is in place.
Second priority: manifest/runtimeconfig

Mano will work on embedding manifest in authored component, with the hope that consumers wont need to make a manifest file at all.

Joshua will work on making a generic runtimeconfig, and shipping it with DeploymentContent metadata -- consumers wont need to author one unless they want to make a custom one (by referring to the hosting docs)

Closing and tracking the remaining items separately


Add treesitter indent rules

I am pretty new to nu-lang, so the indent rules might not be exhaustive, but I decided to add it here since it was missing.

I thought we had indent rules before but maybe I'm just remembering wrong?

It looks like it didn't have one. I will add indenting for parenthesis expressions as well.

I have added some more rules but won't be working on it anymore for now.

Thanks!


UnicodeDecodeError on upload

Unfortunately this is a blocker for me, rendering git-annex's glacier special remote useless - the whole point of trying it was to be able to upload big binary files.
$ glacier --region eu-west-1 archive upload music myiso.exe
Traceback (most recent call last):
  File "/home/adam/bin/glacier", line 730, in <module>
    App().main()
  File "/home/adam/bin/glacier", line 716, in main
    self.args.func()
  File "/home/adam/bin/glacier", line 498, in archive_upload
    file_obj=self.args.file, description=name)
  File "/usr/lib/python2.7/site-packages/boto/glacier/vault.py", line 177, in create_archive_from_file
    writer.write(data)
  File "/usr/lib/python2.7/site-packages/boto/glacier/writer.py", line 219, in write
    self.partitioner.write(data)
  File "/usr/lib/python2.7/site-packages/boto/glacier/writer.py", line 61, in write
    self._send_part()
  File "/usr/lib/python2.7/site-packages/boto/glacier/writer.py", line 75, in _send_part
    self.send_fn(part)
  File "/usr/lib/python2.7/site-packages/boto/glacier/writer.py", line 222, in _upload_part
    self.uploader.upload_part(self.next_part_index, part_data)
  File "/usr/lib/python2.7/site-packages/boto/glacier/writer.py", line 129, in upload_part
    content_range, part_data)
  File "/usr/lib/python2.7/site-packages/boto/glacier/layer1.py", line 1279, in upload_part
    response_headers=response_headers)
  File "/usr/lib/python2.7/site-packages/boto/glacier/layer1.py", line 114, in make_request
    data=data)
  File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1068, in make_request
    retry_handler=retry_handler)
  File "/usr/lib/python2.7/site-packages/boto/connection.py", line 942, in _mexe
    request.body, request.headers)
  File "/usr/lib64/python2.7/httplib.py", line 973, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 827, in _send_output
    msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 12: ordinal not in range(128)

This reminds me of http://bugs.python.org/issue12398 and I think it's likely a bug in boto or python 2.7 or an interaction between the two. I've not seen it in glacier-cli before though. It'll need some deeper investigation I don't have time to do right now, sorry.

I think you're right - I just found https://github.com/boto/boto/issues/2603

I will investigate how glacier-cli works with that mentioned boto change.

Note that I'm using https://github.com/basak/glacier-cli/pull/17 path to handle UTF8 filenames.

Yep I saw that, although in my case the UTF8 is in the content not the filename.

I can confirm that with fix from boto/boto#2603 glacier-cli works without problem. So this is not issue in glacier-cli per se and can be closed.

Thank you!

Confirmed it works for me.  To be clear, the fix mentioned in boto/boto#2603 is actually boto/boto#2697.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/505 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit b290eb0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


joinusbutton

issue: #454
i have made the text centered in joinus button

can you please review my pr @AshutoshDash1999

@khadar1020 how did you raise that bug? everything looks fine on the main site

At that time i think I was having some network issue @AshutoshDash1999 sorry for inconvenience


Was the data used cherry picked to achieve the results?

Hi @shreshthtuli
I have a few questions related to the methodology used to test specifically with the NAB dataset and the results claimed in the paper as I find discrepancies in the details in the paper and the implementation here.
This implementation appears to cherry pick the ec2_request_latency_system_failure only to achieve the stated results, whereas the paper suggests that 6 of the NAB realKnownCause time series were used.
The paper does state that the nyc-taxi data was omitted related to reference [37] but it does not state that any of the other time series data were excluded, in fact it suggests that temperature sensors, CPU utilization and service request latencies states are included.  This is further contradicted by Table 1: Dataset Statistics which incorrectly states that the NAB has Dimensions 1 (6) time series which have 4033 data points each.  In the realKnownCause dataset there are 7 data files, 6 if you exclude nyc-taxi.
However the 4033 stated in the paper is incorrect because each data set is different, only ec2_request_latency_system_failure.csv has 4032 data points (the first line is the header).
7268 data/NAB/ambient_temperature_system_failure.csv
18051 data/NAB/cpu_utilization_asg_misconfiguration.csv
4033 data/NAB/ec2_request_latency_system_failure.csv
22696 data/NAB/machine_temperature_system_failure.csv
10320 data/NAB/nyc_taxi.csv
1883 data/NAB/rogue_agent_key_hold.csv
5316 data/NAB/rogue_agent_key_updown.csv
The code in this repo only uses the ec2_request_latency_system_failure.csv time series and none of the other data files.  Is this intentional only in the code in this repo?
The code also suggests that a single file is also cherry picked for the SMD, SMAP, MSL and UCR datasets as well.
I can reproduce the results (approximately) with the repo code which only analyses data/NAB/ec2_request_latency_system_failure.csv
(TranAD-py3813) python3.8 main.py --model TranAD --dataset NAB --retrain
Using backend: pytorch
Creating new model: TranAD
Training TranAD on NAB
Epoch 0,        L1 = 0.0139506543864614
Epoch 1,        L1 = 0.0054278862890085895
Epoch 2,        L1 = 0.0022614214054147716
Epoch 3,        L1 = 0.0019642349941314963
Epoch 4,        L1 = 0.00173621153602022
100%|....| 5/5 [01:48<00:00, 21.75s/it]
Training time:   108.7441 s
         f1  precision  recall    TP      TN   FP   FN   ROC/AUC  threshold
0  0.941171   0.888889     1.0  24.0  4005.0  3.0  0.0  0.999626   0.023759
{'FN': 0,
 'FP': 3,
 'Hit@100%': 1.0,
 'Hit@150%': 1.0,
 'ROC/AUC': 0.999625748502994,
 'TN': 4005,
 'TP': 24,
 'f1': 0.9411711188269714,
 'precision': 0.8888885596709039,
 'recall': 0.9999995833335069,
 'threshold': 0.023758633112854723}

However if we modify main.py for each time series file, e.g.
		if dataset == 'NAB': file = 'ec2_request_latency_system_failure_' + file

Run and analyse each time series individually, the results are very different.
Helpfully the preprocess.py actually does process all the time series csv files so that part does not need to be done manually.
For instance if we run against machine_temperature_system_failure.csv we get e.g.
		if dataset == 'NAB': file = 'machine_temperature_system_failure_' + file

(TranAD-py3813) python3.8 main.py --model TranAD --dataset NAB --retrain
Using backend: pytorch
Creating new model: TranAD
Training TranAD on NAB
Epoch 0,        L1 = 0.019334903755942094
Epoch 1,        L1 = 0.016960065431186312
Epoch 2,        L1 = 0.013977453509440806
Epoch 3,        L1 = 0.009545037586836993
 80%|....| 4/5 [09:56<02:20, 140.18s/it]
Epoch 4,        L1 = 0.004949710965787078
100%|.....| 5/5 [13:12<00:00, 158.50s/it]
Training time:   792.5071 s
Training time:   792.5071 s
Testing TranAD on NAB
    f1  precision  recall   TP       TN   FP    FN  ROC/AUC     threshold
0  0.0        0.0     0.0  0.0  22663.0  0.0  32.0      0.5  2.488242e+34
{'FN': 32,
 'FP': 0,
 'Hit@100%': 1.0,
 'Hit@150%': 1.0,
 'ROC/AUC': 0.5,
 'TN': 22663,
 'TP': 0,
 'f1': 0.0,
 'precision': 0.0,
 'recall': 0.0,
 'threshold': 2.4882420924397714e+34}

ambient_temperature_system_failure
(TranAD-py3813) python3.8 main.py --model TranAD --dataset NAB --retrain
Using backend: pytorch
Creating new model: TranAD
Training TranAD on NAB
Epoch 0,        L1 = 0.02496952796652665
Epoch 1,        L1 = 0.023605584579499107
Epoch 2,        L1 = 0.023813407321826633
Epoch 3,        L1 = 0.02008705596131717
Epoch 4,        L1 = 0.026066340296358053
100%|.....| 5/5 [02:18<00:00, 27.63s/it]
Training time:   138.1634 s
Testing TranAD on NAB
         f1  precision  recall   TP      TN   FP   FN   ROC/AUC  threshold
0  0.571423   0.666666     0.5  8.0  7247.0  4.0  8.0  0.749724   0.242905
{'FN': 8,
 'FP': 4,
 'Hit@100%': 1.0,
 'Hit@150%': 1.0,
 'ROC/AUC': 0.7497241759757276,
 'TN': 7247,
 'TP': 8,
 'f1': 0.5714232653482504,
 'precision': 0.6666661111115741,
 'recall': 0.4999996875001953,
 'threshold': 0.24290473564893963}

cpu_utilization_asg_misconfiguration
(TranAD-py3813) python3.8 main.py --model TranAD --dataset NAB --retrain
Using backend: pytorch
Creating new model: TranAD
Training TranAD on NAB
Epoch 0,        L1 = 0.03324215415963612
Epoch 1,        L1 = 0.008106389748116094
Epoch 2,        L1 = 0.002529195926459105
Epoch 3,        L1 = 0.001984188492030785
Epoch 4,        L1 = 0.0015926101990973518
100%|.....| 5/5 [05:13<00:00, 62.61s/it]
Training time:   313.0762 s
Testing TranAD on NAB
    f1  precision  recall   TP       TN     FP    FN   ROC/AUC  threshold
0  0.0        0.0     0.0  0.0  17865.0  169.0  16.0  0.495314   0.007806
{'FN': 16,
 'FP': 169,
 'Hit@100%': 1.0,
 'Hit@150%': 1.0,
 'ROC/AUC': 0.49531440612176997,
 'TN': 17865,
 'TP': 0,
 'f1': 0.0,
 'precision': 0.0,
 'recall': 0.0,
 'threshold': 0.007805882237460466}

rogue_agent_key_hold
(TranAD-py3813) python3.8 main.py --model TranAD --dataset NAB --retrain
Using backend: pytorch
Creating new model: TranAD
Training TranAD on NAB
Epoch 0,        L1 = 0.14766877207326337
Epoch 1,        L1 = 0.04074762281409836
Epoch 2,        L1 = 0.008037706233843128
Epoch 3,        L1 = 0.006572632858290873
Epoch 4,        L1 = 0.00619017350909441
100%|....| 5/5 [00:09<00:00,  1.89s/it]
Training time:     9.4785 s
Testing TranAD on NAB
    f1  precision  recall   TP      TN   FP    FN   ROC/AUC  threshold
0  0.0        0.0     0.0  0.0  1857.0  9.0  16.0  0.497588   0.091317
{'FN': 16,
 'FP': 9,
 'Hit@100%': 1.0,
 'Hit@150%': 1.0,
 'ROC/AUC': 0.49758842443729906,
 'TN': 1857,
 'TP': 0,
 'f1': 0.0,
 'precision': 0.0,
 'recall': 0.0,
 'threshold': 0.09131681264329333}

rogue_agent_key_updown
(TranAD-py3813) python3.8 main.py --model TranAD --dataset NAB --retrain
Using backend: pytorch
Creating new model: TranAD
Training TranAD on NAB
Epoch 0,        L1 = 0.06556579419797656
Epoch 1,        L1 = 0.010893150198842003
Epoch 2,        L1 = 0.0007480232414435224
Epoch 3,        L1 = 0.000666926173156983
Epoch 4,        L1 = 0.0004972484767934062
100%|.....| 5/5 [01:16<00:00, 15.34s/it]
Training time:    76.6953 s
Testing TranAD on NAB
    f1  precision  recall   TP      TN   FP    FN  ROC/AUC     threshold
0  0.0        0.0     0.0  0.0  5299.0  0.0  16.0      0.5  4.451219e+25
{'FN': 16,
 'FP': 0,
 'Hit@100%': 1.0,
 'Hit@150%': 1.0,
 'ROC/AUC': 0.5,
 'TN': 5299,
 'TP': 0,
 'f1': 0.0,
 'precision': 0.0,
 'recall': 0.0,
 'threshold': 4.451219100151551e+25}

This suggests the results of TranAD on the NAB realKnownCause data files would be as describe in the below table.
Is this an accurate interpretation?  Were the results published in the paper based on a different implementation?

data set
f1
precision
recall
TP
TN
FP
FN
ROC/AUC
threshold

ambient_temperature_system_failure
0.571423
0.666666
0.5
8.0
7247.0
4.0
8.0
0.749724
0.242905

cpu_utilization_asg_misconfiguration
0.0
0.0
0.0
0.0
17865.0
169.0
16.0
0.495314
0.007806

ec2_request_latency_system_failure
0.941171
0.888889
1.0
24.0
4005.0
3.0
0.0
0.999626
0.023759

machine_temperature_system_failure
0.0
0.0
0.0
0.0
22663.0
0.0
32.0
0.5
2.488242e+34

rogue_agent_key_hold
0.0
0.0
0.0
0.0
1857.0
9.0
16.0
0.497588
0.091317

rogue_agent_key_updown
0.0
0.0
0.0
0.0
5299.0
0.0
16.0
0.5
4.451219e+25

TOTAL
0.252099
0.259259166666667
0.25
-
-
-
-
0.623708666666667
-

Thanks for your interest in the project. This code has a static set of hyperparameters for the models with a single file being tested in each case for ease of use. We are working to finalize the parameters used for generating the results and the grid-search strategy for hyperparameter tuning for each file, which we shall upload as soon as it is ready.

@shreshthtuli thanks for quick response and explanation.  I am looking forward to taking it for a spin once they are uploaded :+1:


Add @bull-board/ui as peerDep of @bull-board/api

This closes https://github.com/felixmosh/bull-board/issues/564

Released in v5.1.2, can you try this version?

Works now :)
Although the solution feels off to me. ui's dependency of api is obvious, but the reverse dependency only exists because of this piece of code:
export function createBullBoard({
  queues,
  serverAdapter,
  options = { uiConfig: {} },
}: {
  queues: ReadonlyArray<BaseAdapter>;
  serverAdapter: IServerAdapter;
  options?: BoardOptions;
}) {
  const { bullBoardQueues, setQueues, replaceQueues, addQueue, removeQueue } = getQueuesApi(queues);
  const uiBasePath = path.dirname(eval(`require.resolve('@bull-board/ui/package.json')`));

  serverAdapter
    .setQueues(bullBoardQueues)
    .setViewsPath(path.join(uiBasePath, 'dist'))
    .setStaticPath('/static', path.join(uiBasePath, 'dist/static'))
    .setUIConfig(options.uiConfig)
    .setEntryRoute(appRoutes.entryPoint)
    .setErrorHandler(errorHandler)
    .setApiRoutes(appRoutes.api);

  return { setQueues, replaceQueues, addQueue, removeQueue };
}

Perhaps if createBullBoard is inherently coupled with @bull-board/ui, it should be exported from there? That would remove the cyclic dependency and resolve the issue (without declaring a peerDep)
Alternatively, perhaps createBullBoard should be decoupled from @bull-board/ui entirely, and accept another required parameter uiBasePath. Then @bull-board/ui could export a basePath to be used when calling createBullBoard

Thanx for the feedback.

createBullBoard is a builder of api, it should be on the server side part.
I've thought about it, but then each user of the lib will need to pass the same piece of code
Good possible solution, I'll consider this refactor, thanx


Some questions about the @pererenderer/rollup-plugin

My project is based on Vite packaging. Since my previous project was SPA, I ultimately hope that my project can be converted to SSG. Therefore, I started running npm install - save dev @ perenderer/rollup-plugin @ perenderer/renderer puppeteer puppeteer, and added import pre render from '@ perenderer/rollup-plugin in Vite. config. ts, with the following configuration:
rollupOptions: {
          plugins: [
            prerender({
              entryPath: 'index.html',
              renderer: '@prerenderer/renderer-puppeteer',
              rendererOptions: {
                  renderAfterDocumentEvent: 'custom-render-trigger',
                  headless: false
              },
              postProcess (renderedRoute) {
                // Replace all http with https urls and localhost to your site url
                renderedRoute.html = renderedRoute.html.replace(
                  /http:/ig,
                  'https:',
                ).replace(
                  /(https:\/\/)?(localhost|127\.0\.0\.1):\d*/ig,
                  (CDN_MAP[env] || ''),
                );
              },
            })
          ]
        }

But when I run vite build, the following error occurs:
Building [] 98% | Transforms: 4792/4792 | Chunks: 1/66 | Time: 15.5sPUPPETEER_DOWNLOAD_HOST is deprecated. Use PUPPETEER_DOWNLOAD_BASE_URL instead.
RollupError: index.html not found during prerender
    at error (file:///Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)
    at Object.error (file:///Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:25351:20)
    at /Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/@prerenderer+rollup-plugin@0.3.12_7eidxhdof2pvopxq7j3qg5ehba/node_modules/@prerenderer/rollup-plugin/dist/RollupPrerenderPlugin.js:99:38
    at Layer.handle [as handle_request] (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)
    at next (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)
    at /Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:284:15
    at param (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:365:14)
    at param (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:376:14)
    at Function.process_params (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:421:3)
    at next (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)
    at expressInit (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/middleware/init.js:40:5)
    at Layer.handle [as handle_request] (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)
    at /Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:346:12)
    at next (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)
    at query (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/middleware/query.js:45:5)
    at Layer.handle [as handle_request] (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)
    at /Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:346:12)
    at next (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)
    at Function.handle (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:175:3)
    at Function.handle (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/application.js:181:10)
    at Server.app (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/express.js:39:9)
    at Server.emit (node:events:527:35)
    at parserOnIncoming (node:_http_server:1143:12)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
Building [] 100% | Transforms: 4792/4792 | Chunks: 66/66 | Time: 60.1s

Build successful. Please see dist directory

error during build:
RollupError: Could not prerender: event 'custom-render-trigger' did not occur within 30s
    at error (file:///Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)
    at Object.error (file:///Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/es/shared/node-entry.js:25351:20)
    at Object.<anonymous> (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/@prerenderer+rollup-plugin@0.3.12_7eidxhdof2pvopxq7j3qg5ehba/node_modules/@prerenderer/rollup-plugin/dist/RollupPrerenderPlugin.js:140:34)
    at Generator.throw (<anonymous>)
    at rejected (/Users/admin/yuanman_work/test_monorepo/ah5/increase/h5-web/node_modules/.pnpm/@prerenderer+rollup-plugin@0.3.12_7eidxhdof2pvopxq7j3qg5ehba/node_modules/@prerenderer/rollup-plugin/dist/RollupPrerenderPlugin.js:29:65)
 ELIFECYCLE  Command failed with exit code 1.

My index.html file is located in the project root directory, at the same level as vite.config.js. Why can't find it?
After changing the headless in rendererOptions to false, I found that Chrome returned 500 when accessing <IP_ADDRESS>:8000. I don't know why running @ pererenderer/rollup plugin doesn't allow me to access my static resources. If I remove the plugin and run vite build again, there is an index.html file in my dist directory...
...
...
After a period of investigation, I finally pinpointed the issue to a plugin. If I were to introduce this plugin, the build would encounter errors. If I were to remove it, the build would proceed normally. I am not sure why this plugin has such problems, the plugin: '@vitejs/plugin-legacy': 4.1.1_terser<EMAIL_ADDRESS>import legacy from '@vitejs/plugin-legacy"
// legacy({
//   targets: ['iOS >= 9, Android >= 4.4, last 2 versions, > 0.2%,ChromeAndroid >= 54,not dead'],
//   modernPolyfills: ['es.global-this', 'es.array.flat'],
//   polyfills: ['es.array.flat'],
// })

The plugin is not built specifically for vite it on purpose only uses rollup hooks, from what I see the @vitejs/plugin-legacy is using the transformIndexHtml hook and seems to write multiple index.html in the output which might be what is causing an issue
I'll need to look into it but don't have any capacity to do so until November

The plugin is not built specifically for vite it on purpose only uses rollup hooks, from what I see the @vitejs/plugin-legacy is using the transformIndexHtml vite hook and seems to write multiple index.html in the output which might be what is causing an issue
I'll need to look into it but don't have any capacity to do so until November, maybe I can also use a custom transformIndexHtml hook in the case of vite to retrieve the content of the index.html file instead of looking on the filesystem.

Looking forward to your solution. Thank you very much


OSError: Expected 17060042 bytes, got 8538377 bytes from object

Dear experts,
I am trying to run fmriprep with the following command: fmriprep ~/Desktop/AgentData ~/Desktop/csv participant -t localizer --run-uuid 01 --no-freesurfer -w ~/Desktop/work --low-mem
I consistently got errors from  three nodes.The errors are the same.OSError: Expected 17060042 bytes, got 8538377 bytes from object. It would be a great help if I could get some information about why does this error comes and how to fix it. With many thanks!
Node Name:fmriprep_wf.single_subject_01_wf.func_preproc_task_localizer_run_02_wf.bold_mni_trans_wf.gen_ref
Node Name: fmriprep_wf.single_subject_01_wf.anat_preproc_wf.t1_2_mni
Node Name: fmriprep_wf.single_subject_01_wf.func_preproc_task_localizer_run_01_wf.bold_mni_trans_wf.gen_ref

Hi @shaohanyu2017,
First I'd say you want to replace --run-uuid 01 with --participant-label 01. That said, it seems to me that it is possible that some of your images have integrity problems.
You may want to run mriqc on this dataset to see whether you get similar errors.

Thank you! The issue was resolved when running fmriprep on a computer with 32G memory


Improved reporting of errors during async txn loading

Codecov Report

Merging #138 into master will decrease coverage by 0.06%.
The diff coverage is 10.52%.

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
- Coverage   69.80%   69.73%   -0.07%
==========================================
  Files          80       80
  Lines        5633     5641       +8
==========================================
+ Hits         3932     3934       +2
- Misses       1701     1707       +6

Impacted Files
Coverage Δ

scripts/lib/xpedite/jupyter/context.py
41.66% <10.52%> (-2.09%)
:arrow_down:

Continue to review full report at Codecov.

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


[bblfsh-web] use ClusterIP by default

Use ClusterIP by default.
Move to service.port/internalPort, for consistency with gitbase-web.
Also closer to official charts.

Signed-off-by: Santiago M. Mola<EMAIL_ADDRESS>

Looks good. It will be tested in https://github.com/src-d/infrastructure/issues/239

Hi @smola can you rebase and resolve conflicts?
Apart from that, it deployed well. Once resolved we'll merge it.

@driosalido Rebased.


[Refact] Replace alias wait with AnalogInteraction

I suggest to replace the wait alias operation with AnalogInteraction to be a bit more formal and explicit about what it does (it evolves the interaction term in the Hamiltonian for a register of interacting qubits).

Looks good to me - definitely more transparent.


IRedirectUriValidator

I created a custom class to validate redirectUris, implementing IRedirectUriValidator on my IdentityServer4 implementation.
In the IdentityServer4 startup in ConfigureServices, I have:
services.AddIdentityServer()
   .AddRedirectUriValidator<AuthorizedRedirectValidator>()

(the .AddRedirectUriValidator line is just one of the many sub functions called after AddIdentityServer())
I've tried putting the above in different orders, but regardless, when I run a client through the authentication, the above class that implements IRedirectUriValidator isn't getting called (it still calls the standard one).
Do I need to do anything else?  I realize that implementing your own validator instead of doing an exact match can open you to covert redirects and have exacting safeguards in the validator.

I've been playing with a client and its redirectUris and finally got the above to trigger.  It seems though that the standard redirect validator is still running beforehand and rejecting any uris that aren't explicitly mentioned in the server side client config.  Any way I can completely override it?

It seems that without being explicitly in the allowed uris, it fails on the authorize endpoint and throws an error:  (the below being run with minimal validation in the interface, only for debugging)

IdentityServer4.Endpoints.AuthorizeEndpoint:Information: {
"ClientId": "myClient",
"ClientName": "Custom Web Client",
"AllowedRedirectUris": [
"https://localhost:44001"
],
"SubjectId": "anonymous",
"RequestedScopes": "",
"Raw": {
"client_id": "myClient",
"redirect_uri": "https://localhost:44001/home",
"response_mode": "form_post",
"response_type": "code id_token",
"scope": ...
"state": "OpenIdConnect.AuthenticationProperties=...
"nonce": ...
}
}

I created a StackOverflow question as well:
https://stackoverflow.com/questions/48952192/identityserver4-redirect-validator-implementing-iredirecturi-interface

It seems though that the standard redirect validator is still running beforehand and rejecting any uris that aren't explicitly mentioned in the server side client config. Any way I can completely override it?

I don't think your observation is right - check our main repo, we use a custom validator there as well and it works as expected.

FWIW, I believe I found the cause of @DiginessForeve's issue.
If the Client.RedirectUris property is not set, or is set to an empty collection, then the IRedirectUriValidator will not be invoked. There needs to be a value in Client.RedirectUris. even if it's a garbage one. See the Config.cs here: https://github.com/IdentityServer/IdentityServer4.Demo/blob/master/src/IdentityServer4Demo/Config.cs, where we can see "https://notused" used everywhere as the RedirectUri.

I've been trying to get this working too, and have found that AddRedirectUriValidator<...>() doesn't seem to work, but adding this line (like the demo project) was successful:
services.AddTransient<IRedirectUriValidator, ...>();


Fails to launch

The downloaded .exe from here is a past version and when you run the update within it, it won't open.

From "here" is where? And why not straight download the latest version?

I've downloaded the latest version and it claims to be version <IP_ADDRESS>. So
I tried updating it from the launcher and it updates, creates a new exe and
then doesn't launch
On Sat, 8 Oct 2022, 10:58 am Nuclearist, @.***> wrote:

From "here" is where? And why not straight download the latest version?
—
Reply to this email directly, view it on GitHub
https://github.com/Nuclearistt/TEKLauncher/issues/39#issuecomment-1272167878,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3P4AYNG5743TCFPOILEIF3WCC2JFANCNFSM6AAAAAAQ776IGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Where exactly did you download the "latest" version? Doesn't sound like any of my sources

https://github.com/Nuclearistt/TEKLauncher/releases/tag/v<IP_ADDRESS>
Straight from this pages assets, I downloaded the new launcher exe. I did
it from my phone and it launched but said it was v8...., and when I
downloaded it on pc it doesn't launch.
On Sat, 8 Oct 2022, 11:08 am Nuclearist, @.***> wrote:

Where exactly did you download the "latest" version? Doesn't sound like
any of my sources
—
Reply to this email directly, view it on GitHub
https://github.com/Nuclearistt/TEKLauncher/issues/39#issuecomment-1272170992,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3P4AYLJJDRE7STSMF7VI2TWCC3QZANCNFSM6AAAAAAQ776IGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

The file from there cannot be any other version than 9.3.80
If it doesn't run then 99% sure it's missing .NET 6 Desktop Runtime, which is mentioned on top of readme and is such case in my opinion it makes absolutely no sense to create an issue

I've already installed the runtime twiceSent from my Galaxy
-------- Original message --------From: Nuclearist @.> Date: 8/10/22  11:16 am  (GMT+10:00) To: Nuclearistt/TEKLauncher @.> Cc: MaulerWolf09 @.>, Author @.> Subject: Re: [Nuclearistt/TEKLauncher] Fails to launch (Issue #39)
The file from there cannot be any other version than 9.3.80
If it doesn't run then 99% sure it's missing .NET 6 Desktop Runtime, which is mentioned on top of readme and is such case in my opinion it makes absolutely no sense to create an issue
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Check %appdata%\TEK Launcher folder, if there's DomainException.txt send it here, otherwise it's still some runtime-related issue that takes place before launcher's code gets to run

Much to my disgrace, some reason my pc was downloading x86 automatically.
It works, very sorry for the trouble, but thanks for the help. Keep up  the
great work man, we all appreciate you.
On Sat, 8 Oct 2022, 11:24 am Nuclearist, @.***> wrote:

Check %appdata%\TEK Launcher folder, if there's DomainException.txt send
it here, otherwise it's still some runtime-related issue that takes place
before launcher's code gets to run
—
Reply to this email directly, view it on GitHub
https://github.com/Nuclearistt/TEKLauncher/issues/39#issuecomment-1272175654,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3P4AYNTHACPUP2ZL5EROTLWCC5LTANCNFSM6AAAAAAQ776IGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Ability to see "Following since"/"Subbed for X months" and ability to backup/restore settings

What should be added?
Title pretty much covers it. BTTV allows you to see how long someone (including yourself) has been following a particular channel and subbed to it including what tier on the user card. Also adding the ability to import/export Chatterino settings to quickly transfer between PC's.
Why should it be added?
Follow since/Subbed for X months are convenient features that I mostly use on myself to see how long I've been following or subbing to a channel, but it's also something I'm used to when using BTTV chat in the past. Import/export settings is also a nice QoL feature to conveniently move between devices while retaining your preferences.
Sorry if these features were requested in the past, I didn't see them after a quick search and I'm new to Chatterino.

Going to write an addendum on another suggestion as well here, the ability to customize how deleted messages are displayed, such as having the deleted message strikethrough'ed as well as grayed so it's more discernible in faster chats.

Also adding the ability to import/export Chatterino settings to quickly transfer between PC's.

In the settings under the "AppData" section, there is a button which will take you to the directory that contains your Chatterino settings (as well as automatically created backups). You can just copy-and-paste them from there.

BTTV allows you to see how long someone (including yourself) has been [...] subbed to [a particular channel] including what tier [...]

This information is available when hovering a sub badge. (Although tooltips would need to be enabled, I assume.) I could definitely see this also being added to the user card as well, though.

Thanks for the response. I figured CV'ing the settings folder was a backup method, but I guess a one click backup/restore option would be nice.
I knew about the hovering over the sub badge to see how many months someone was subbed, but I think have the exact follow/sub date on the cards would be a good feature.

The followage issue can be found here: https://github.com/Chatterino/chatterino2/issues/1122
The subage issue can be found here: https://github.com/Chatterino/chatterino2/issues/1145
BUT I believe this isn't correct anymore. @pajlada is there now a public API to get the subage?
Either way, this should be split into separate issues as these are three very different things.

this contains two issues so I'll edit this

I am in the process of making a pull request closing this issue. Getting followage is entirely possible via Kraken, but for subage I would have to use @leppunen's subage API, but I am not sure whether he'd be okay with that.


Add navigation from interface to implementation in module

plugin version: v.69.1
Description
currently it doesn't seem possible to navigate from the definition in an interface .rei file to it's implementation (if that's the correct term) in a module (.re).
eg to pick a simple example to illustrate,  to go from the reprocessing Constants.rei declaration let pi: float to it's definition in Constants.re let pi = 4.0 *. atan(1.0);

this looks to be a very similar request to #81 except for reason files rather than ocaml

That should work with latest plugin version


[CON-557] INTEL-SA-00398 - Intel® SGX DCAP Software Advisory

Changes

Update DCAP plugin to version 1.11.2

We were technically already above the required version for this SA (1.10 vs 1.6), but I decided to bump the plugin version anyway. Should also get rid of that annoying logging "error" that we see in the terminal sometimes.


Solve the remaining maintainability issues

It now blocks the build.

Restricted the scope for this first release. Everything else will be done step by step.


QA-5297 [YCSB][AI3] Ability to use transactions for operations

Test run example - ✔ #7339
Ward report

We had a discussion with @iartiukhov on the approach.
Here are my thoughts on that. Please vote for 1 or 2.
There are 2 approaches for this task:
1. This PR #54
Created wrapper for operation that does a regular operation or wraps operations with transaction.
Property 'txops' specifies the amount of operations to wrap.
Pros:

Uniform approach for most of operations
Less code changes, no new classes
Ability to mix operations in one transaction
Ability to wrap batched operations in transaction as well

Cons:

Plus 1 if check for each operation
A bit more complex view with lambda expressions

2. Alternative apparoach in #55
Created separate class for KV API client that uses transactions (implemented only 1 additional class as an example).
Property 'batchsize' specifies the amount of operations to wrap.
Pros:

Simpler logic in operation with no additional if for non-transactional operations.

Cons:

Needs 5 new classes (one for each API)
Needs to create separate scenarios in 'poc-tester' with specifing new DB class (like, 'ycsb_dbClass: site.ycsb.db.ignite3.IgniteTxKvClient')
No ability to mix operations in one transaction


AnyOf does not behave correctly with () params

Bevy version
0.13
What you did
Query for AnyOf<((), &Foo)>.
What went wrong
Query did not match the single entity that only had a component Foo correctly.
Additional information
use bevy::prelude::*;

#[derive(Component)]
struct Foo;

fn setup(mut cmds: Commands) {
    cmds.spawn(Foo);
}

fn update(sanity_check: Query<&Foo>, bug: Query<AnyOf<((), &Foo)>>) {
    if sanity_check.get_single().is_ok() {
        println!("I exist!");
    }
    let _ = bug.single();
}

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_systems(Startup, setup)
        .add_systems(Update, update)
        .run();
}

I exist!
thread 'Compute Task Pool (4)' panicked at src/main.rs:14:17:
called `Result::unwrap()` on an `Err` value: MultipleEntities("bevy_ecs::query::state::QueryState<bevy_ecs::query::fetch::AnyOf<((), &bevy_bug::Foo)>>")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_bug::update`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!

The query is finding the entity, the reason your code panics is because it actually finds the entity twice. (See where the error says value: MultipleEntities).
If you change the code to print each match then you see that it matches: [(Some(()), None), (Some(()), Some(Foo))]

That's still Incorrect. It should have a single entity.

The documentation for AnyOf says:

Query<AnyOf<(&A, &B, &mut C)>> is equivalent to Query<(Option<&A>, Option<&B>, Option<&mut C>), Or<(With<A>, With<B>, With<C>)>>.

So  AnyOf<((), &Foo)> should be equivalent to Option<&Foo>, which also matches the entity twice.

Bit unintuitive but guess that makes sense.


[BUG] Creating VM with larger size than schedulable Longorn storage doesn't give error

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Check how much space is schedulable in Longhorn for cluster
Create a VM with a larger volume size than that.
Check event log
Check for detached volumes in Longhorn

Expected behavior

You should either get an error that there isn't enough space/schedulable space, or it shouldn't allow you to create it.
Support bundle

supportbundle_676e8bdf-3c83-4b6b-abe0-d4c672b11962_2021-12-01T21-23-34Z.zip
Environment:

Harvester ISO version: master-1e042e04-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): 3 node virtualized vagrant environment

Additional context
Add any other context abou

t the problem here.

ref: https://github.com/harvester/harvester/issues/1167

duplicate of https://github.com/harvester/harvester/issues/1400, and this issue is moved to 1.1 as backend enhancement is needed as normal users won't be able to check the longhorn-system namespace volumes directly.


"Null statement" error while counting record count

System information:

Windows 10
<IP_ADDRESS>011152110

Connection specification:

Custom JDBC driver

Describe the problem you're observing:
Getting "Null statement" error when clicking "Calculate total row count" button
Steps to reproduce, if exist:
Run any select, ex. SELECT * FROM F_ACCOUNT
200 records are returned
Click "Calculate total row count" button
Include any warning/errors/backtraces from the logs
eclipse.buildId=unknown
java.version=11.0.5
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Command-line arguments:  -os win32 -ws win32 -arch x86_64
org.jkiss.dbeaver.model
Error
Sat Nov 21 11:55:22 EET 2020
Null statement
java.lang.IllegalArgumentException: Null statement
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.createPreparedStatementImpl(JDBCConnectionImpl.java:719)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:405)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:178)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.prepareStatement(JDBCConnectionImpl.java:1)
at org.jkiss.dbeaver.model.DBUtils.makeStatement(DBUtils.java:1374)
at org.jkiss.dbeaver.model.DBUtils.makeStatement(DBUtils.java:1321)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.countData(SQLEditor.java:3137)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetViewer.lambda$37(ResultSetViewer.java:3564)
at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:168)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetViewer.readRowCount(ResultSetViewer.java:3559)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetViewer.access$27(ResultSetViewer.java:3552)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetViewer$9$1.evaluate(ResultSetViewer.java:1668)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetViewer$9$1.evaluate(ResultSetViewer.java:1)
at org.jkiss.dbeaver.ui.LoadingJob.run(LoadingJob.java:88)
at org.jkiss.dbeaver.ui.LoadingJob.run(LoadingJob.java:72)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Can't reproduce in Oracle, PostgreSQL, SQLite and MySQL in SQLEditor.
Need more information.
What database you use? Connection type?
May be, you can make video?

I have developed a custom JDBC driver of Temenos T24 banking system. And because my source code is not a part of callstack, I was is wondering what is requested (and apparently missing) in line JDBCConnectionImpl.java:719, which causes "Null statement".

Usually, it's just SELECT COUNT(*) FROM tableName

Can you take a look at your Query Manager?

No extra calls in Query Manager after clicking "Calculate total row count"

Is it possible to let me know what is missing in line JDBCConnectionImpl.java:719?
Perhaps my initial SELECT did not provide all requested data, so I can fix by jdbc driver.

Oh, I'm afraid it's not that easy, unfortunately. The conversion of the counting expression occurs first in this method. Perhaps this will help you.
https://github.com/dbeaver/dbeaver/blob/9156d4617dca0ad17d3e5e789d93586b711f0e3c/plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java#L3123


abnormal acrosome reaction definition and placement

abnormal acrosome reaction MP:0013287 and its child terms are currently placed under abnormal sperm physiology MP:0004543 and abnormal vesicle-mediated transport MP:0008546
abnormal acrosome reaction MP:0013287
DEF: abnormality in the cellular exocytosis of a single, anterior secretory granule following a sperm's attachment to the zona pellucida surrounding an oocyte
Consider:

Update the textual definition to reflect the definition in [GO:0007340]

SUGGESTED DEF: anomaly in the discharge, by sperm, of a single, anterior secretory granule following the sperm's attachment to the zona pellucida of the oocyte; the process begins with the fusion of the outer acrosomal membrane with the sperm plasma membrane and ends with the exocytosis of the acrosomal contents into the zona pellucida
Place abnormal acrosome reaction MP:0013287 under abnormal fertilization MP:0005410 and abnormal sperm physiology MP:0004543
Move impaired acrosome reaction MP:0004542 under impaired fertilization MP:0000242

Create new child term of abnormal acrosome reaction MP:0013287:
abnormal acrosomal vesicle exocytosis
DEF: anomaly in the calcium ion regulated exocytosis which results in fusion of the acrosomal vesicle with the plasma membrane of the sperm as part of the acrosome reaction
SYN: abnormal acrosome exocytosis
SYN: abnormal acrosome exocytosis
SOURCE: GO:0060478

Place acrosomal vesicle exocytosis under abnormal exocytosis MP:0020848 and abnormal acrosome reaction MP:0013287

Placed abnormal acrosome reaction MP:0013287 under abnormal fertilization MP:0005410 and abnormal sperm physiology MP:0004543
Created new term:
abnormal acrosomal vesicle exocytosis MP:0031376 and placed it under abnormal exocytosis MP:0020848 and abnormal acrosome reaction MP:0013287


[Verticapy 0.12.0] iDisplay Function

Hello,
It is currently not possible to use the iDisplay function, the following error is generated :
[Errno 2] No such file or directory: '/[...]/verticapy/html/html_template_connected.html'
The html folder is not present.
I think the problem is in the Setup.py file, the only extensions specified in package_data are : .csv and .json.
.html and .css are not specified.
Kind regards,
Réda

Thanks a lot @rbensa,
Indeed, I'm adding this in the next PR.
Best,


Cannot change the element of addButton section on a repeater input

Reproduction
https://formkit.link/9b1586934b8520e3a8e927e721fdbc41
Describe the bug
The element holding the addButton section on the repeater input cannot be changed.
I had a discussion with @GustavoFenilli on Discord more than a week ago about it, and he thought that maybe this section isn't actually "sectioned".
You can actually notice that the sections for the input don't include the addButton. Everything else works fine.
As you can see in the reproduction, you can update the text.
Locally I did replace the insert and remove controls with custom button components, but the addButton wouldn't work.
If the bug is fixed, I'd expect the addButton section to behave exactly like the other sections.
Environment
• Version: beta-15 or beta-16, same issue

This is fixed at @next https://formkit.link/e1e12bdaf53fb16b6b1bfbc5dc720f4b

Nvm not the same problem that was fixed! haha

As a workaround you can use <template> with section-schema https://formkit.link/156cb832a7d1d9dc6e9ce52f0b95cffb

As a workaround you can use <template> with section-schema https://formkit.link/156cb832a7d1d9dc6e9ce52f0b95cffb

Any pointer on how to do this on a schema?

@agenordebriat Here’s an example using schema: https://formkit.link/86584728067750c845611ced96d658ea

This has been fixed at 0.112.6.


Missing Id for Firewall Outbound Mapping

Hello,
it seems to me that the Objects returned by the Firewall Outbound Mappings-Endpoint are not including an corresponding id.
However, an id is required in order to delete a mapping. Is this a bug or an error in the documentation?
I make the call to GET /api/v1/firewall/nat/outbound/mapping and the returned Keys are:
[
    {
        "source": {"network": "<IP_ADDRESS>/24"},
        "sourceport": "",
        "descr": "",
        "target": "<IP_ADDRESS>",
        "targetip": "",
        "targetip_subnet": "",
        "interface": "wan",
        "poolopts": "",
        "source_hash_key": "",
        "ipprotocol": "inet",
        "destination": {"any": ""},
        "updated": {
            "time": "1623648668",
            "username": "admin@xxx (Local Database)",
        },
        "created": {
            "time": "1623648668",
            "username": "admin@xxx (Local Database)",
        },
    },
]

Furthermore, the returned values seem non-consistent with the values that need to be set for creating new mappings. (e.g. source is not supposed to be an object and ipprotocol is not documented)
Appreciate any response. Great API so far!

I got it working by experimenting random ids today. You can use the Array Index of the GET request as ID.
Keep in mind that the index changes after each deletion for later entries.

Hey there!
Sorry for the delayed response, I've taken a bit of a break from this project the last few months but will be ramping up development again soon.
As for your issue, obtaining object IDs is covered in the documentation here. If you have any further issues please let me know.
Thanks!


Sprite jitters when at rest

In the example,  with the two home bases and where you attract the sprite with your mouse, when the sprite reaches the mouse cursor it jitters slightly back and forth, even though the mouse is completely stationary.  I've been trying to figure out why but can't crack it.

func move_towards_position(target_position: Vector2, delta: float):
	self.position += self.position.direction_to(target_position) * delta * 400

This function needs a limiter to stop sprite jitter:
func move_towards_position(target_position: Vector2, delta: float):
	var dir: Vector2 = target_position - position
	var dist: = dir.length()
	dir = dir.normalized()
	if dist > 5: self.position += (dir * delta * 400)


New version: 3Dconnexion.3DxWare.10 version <IP_ADDRESS>55

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I accidentally approved the other PR without reviewing this one first. This one adds details that are missing from the other.

Close with reason: Duplicate of #159963;


Using two iOS frameworks in one app

System information

OS Platform and Distribution: iOS 14.5
Compiler version (e.g. gcc/g++ 8 /Apple clang version 12.0.0):
Programming Language and version ( e.g. C++ 14, Python 3.6, Java ):
Installed using virtualenv? pip? Conda? (if python):
MediaPipe version:
Bazel version: 3.7.2
XCode and Tulsi versions (if iOS): Xcode 12.5.1

Describe the problem:
I built iOS frameworks for Hand and Full Range Face Detection models. When I try to use these two framework in the app, I got the following error. What's the right way to use two different models in iOS app?
Note: I don't need to run the two models simultaneously.
objc[12033]: Class CaptureDelegate is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4760) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774628). One of the two will be used. Which one is undefined.
objc[12033]: Class CvAbstractCamera is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac47b0) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774678). One of the two will be used. Which one is undefined.
objc[12033]: Class CvPhotoCamera is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4800) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x1037746c8). One of the two will be used. Which one is undefined.
objc[12033]: Class CvVideoCamera is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4850) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774718). One of the two will be used. Which one is undefined.
objc[12033]: Class AppDelegate is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4968) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x1037747e0). One of the two will be used. Which one is undefined.
objc[12033]: Class CommonViewController is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4990) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774808). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPCameraInputSource is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac49e0) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774858). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPDisplayLinkWeakTarget is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4a30) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x1037748a8). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPInputSource is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4aa8) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774920). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPPlayerInputSource is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4ad0) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774948). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPLayerRenderer is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4b20) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774998). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPGLViewRenderer is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4b70) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x1037749e8). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPGraph is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4bc0) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774a38). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPTimestampConverter is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4c10) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774a88). One of the two will be used. Which one is undefined.
objc[12033]: Class GUSUtilStatusWrapper is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4c60) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774ad8). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPGraphGPUData is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4cb0) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774b28). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPMetalHelper is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4e40) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774b78). One of the two will be used. Which one is undefined.
objc[12033]: Class MPPMetalUtil is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4df0) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774bc8). One of the two will be used. Which one is undefined.
objc[12033]: Class TFLBufferConvert is implemented in both /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/HandTracker.framework/HandTracker (0x104ac4d00) and /private/var/containers/Bundle/Application/81F99537-3832-4F0D-A242-23371470AD83/DiamondTest.app/Frameworks/FaceTrackerFullRange.framework/FaceTrackerFullRange (0x103774c18). One of the two will be used. Which one is undefined.

Hi @ozgurshn, Could you please provide the steps to reproduce the above observation. Thanks!

Hi @sgowroji
For the hand model, I use these files to build the iOS framework, and put them handtracker folder in ios folder
https://github.com/ozgurshn/TestHandModel
Build using this command
bazel build -c opt --config=ios_arm64 mediapipe/examples/ios/handtracker:HandTracker
For the face model, I use these files and put them faceDetectionLandmark folder in ios folder
https://github.com/ozgurshn/TestMediaPipeFaceModel
Build using this command
bazel build -c opt --config=ios_arm64 faceDetectionLandmark:FaceTracker
Drag drop resulting frameworks to new Xcode project. Select the project in Xcode, In general/frameworks tab select embed&sign for each framework.
Create bridging header and import
#import <HandTracker/HandTracker.h>
#import <FaceTrackerFullRange/FaceTracker.h>
in view controller, create instances of this classes
  lazy var faceTracker: FaceTracker = FaceTracker()
  lazy var handTracker: HandTracker = HandTracker()

In viewdidload() start camera and then start graphs for each model
faceTracker.startGraph()
faceTracker.delegate = self
handTracker.startGraph()
handTracker.delegate = self

and
in captureOutput pass the pixelBuffer to models
func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
let pixelBuffer = CMSampleBufferGetImageBuffer(sampleBuffer)
faceTracker.processVideoFrame(pixelBuffer)
handTracker.processVideoFrame(pixelBuffer)
}
Import delegates
extension ViewController : TrackerDelegate
{

  func handTracker(_ handTracker: HandTracker!, didOutputLandmarks landmarks: [Landmark]!)  {
  }
  func handTracker(_ handTracker: HandTracker!, didOutputPixelBuffer pixelBuffer: CVPixelBuffer!) {

  }
}

extension ViewController:FaceTrackerDelegate
{
  func faceTracker(_ faceTracker: FaceTracker!, didOutputLandmarks faceArray: [Any]!) {
    print(faceArray.debugDescription)
  }

  func faceTracker(_ faceTracker: FaceTracker!, didOutputPixelBuffer pixelBuffer: CVPixelBuffer!) {

  }
}

I uploaded sample project here containing two frameworks and running code https://github.com/ozgurshn/HandAndFaceTrackerMediaPipe

Reassign to the MediaPipe iOS owner.

hey, any updates on how to approach this?

Hi @ozgurshn ,
Are you still looking for the resolution on this issue.

Hi, @sureshdagooglecom, it's expired for me, not looking for a solution anymore

Hi @ozgurshn,
The iOS builder is only designed to support a single iOS file per application. If you have successfully linked two solutions in a  single library, we can consider some instructions for other users. Thank you!

@ozgurshn were you able to solve this issue?


nitrpg: data management uses mongodb instead of json_store

Depends on #1759, #1760 and #1761.

test this please

+1


Add validation tests for all functions.

All functions should have validation tests.

I have included parameter validation tests on every API function and module of a library I am working on. To simplify the task, I have written another file (checks.scad) to be used by the API file including a bunch of test functions like:
function is_3Dvec(v) = (0*v==[0,0,0]);
function is_numlist(l,n) = is_list(l) && (is_undef(n) || n==len(l) ) && _and([for(v=l) is_num(v) ]);
function _and(cond) = [for(c=cond) if(!c) 0]==[];
Besides, checks.dat has 3 main functions to issue console error, warns and info messages like:
function assert_msg(org, msg ) = ...
function warn_msg(org, msg) =...
function info_msg(org, msg, id=0) = ...
assert_msg() is the base of parameter validation. The parameter org is a string containing the caller name. In warn_msg() and info_msg(), the parameter msg is a simple string. In assert_msg(), the msg parameter is a list with one element for each caller function parameter and where each element in the list is a pair of a boolean value and a string. A typical usage is:
function add2vectors(v1, v2) =
let( assert_msg( "add2vectors",
[  [is_numlist(v1) , "a list of numbers"],
[is_numlist(v2,len(v1)), "a list of numbers with the same dimension of the first"] ] ) )
v1+v2;
The result of
add= add2vectors([0,0], [0,1,0])
would be the console message:
ERROR in function add2vectors:
2nd param. isn't a list of numbers with the same dimension of the first
ERROR: Assertion '_and(x)' failed in file checks.scad, line 37
Hope it helps.

I suggest that we seek for a standardization of error messages to easy the user's task of identifying his/her error in the args. I have been trying to do it but it is already inconsistent. I have found many different styles of error message.
Some questions to consider:

Should the error msg indicate the name of the function which detected the error? As we don't have a central error report, the native assert msg and its details may be considered enough to identify its origin. The function name may not be enough because it might be called in many places of the user's code. So, the user would need to read the assert msg anyway to identify the code line.
Should the msg indicates what is wrong or what it is expected? I see pros and cons in each alternative.
Should the message include the value of the offending arg? That may generate large amounts of text depending on the arg value.  To specify the offending value in a long array, for instance, may require extra awkward code.
In some cases, the arg validation may be left to another function that would be called anyway in the normal flow. Would be that reasonable for the user? The error msg would come from a function the user's code doesn't called directly.

Basically duplicate of #231


build: use join_paths()

@ebassi Fixed!

@ebassi I also fixed libdir abspath, because pkgconfig had relative.

argh, fixed 3 errors from review


French translation

Hi !
here is the translation of Reflar / Reactions in French. :)
Continue like that !
Thanks +

Thanks!


Webstorm please!

Clear and concise description of the problem
It will be awesome if there is a webstorm iconify plugin.
Suggested solution
It will be awesome if there is a webstorm iconify plugin.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

This is out of scope. Thanks.


Docs: Improve CHANGELOG for v4

I manually fixed a number of issues for the v4 release changelogs:

Added summary to v4 entry so it can standalone from prerelease entries
Alphabetized items, but moved "Breaking" and "Fixes" first since those are most important for consumers
Removed duplicate entries from including issues (only PRs should be included)
Improved some entry titles for consistency

My goal is that we have a very easy-to-read changelog for v4 in a single place that draws attention to the most important changes first.
@aladdin-add can we also edit the text of https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/releases/tag/v4.0.0 to include the summary that I've created? That way, we can share the links to the v4 entry and people don't have to sort through the preleases to understand it.

the change was overwritten by a new release 4.0.1 v/_ . we will need find a way to avoid it being changed.


docker container fails to mount

Hi, I did submit below to main docker github for evaluation, maybe it has to do with OS/docker combination, appreciate your feedback and guide
environment
[amilkowski@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-229.1.2.el7.x86_64 #1 SMP Thu Mar 26 09:10:25 CDT 2015 x86_64 x86_64 x86_64 GNU/Linux
[amilkowski@localhost ~]$ docker -v
Docker version 1.5.0-dev, build fc0329b/1.5.0
running:
Scientific Linux release 7.1 (Nitrogen)
cpe:/o:redhat:enterprise_linux:7.1:ga
which really is Centos 7
trying to do neo4j docker from https://github.com/kbastani/docker-neo4j
docker pull kbastani/docker-neo4j
docker run -d -p 7474:7474 -v /home/amilkowski/data:/opt/data --name graphdb kbastani/docker-neo4j
container exists..
[amilkowski@localhost ~]$ sudo docker run -d -p 7474:7474 -v /home/amilkowski/data:/opt/data --name graphdb kbastani/docker-neo4j
2b2d38d3cfa1519f17fe896f37e6f66a743895f5ddabf099bba1ac3eff16ed8d
[amilkowski@localhost ~]$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2b2d38d3cfa1 kbastani/docker-neo4j:latest "/etc/bootstrap.sh - 3 seconds ago Exited (0) Less than a second ago graphdb
[amilkowski@localhost ~]$
IF I remove host to container mount override container runs (-v /home/amilkowski/data:/opt/data) below
so it does look like the feature of docker "mounting volumes from host" might be broken.. (ref. http://docs.docker.com/userguide/dockervolumes/)
[amilkowski@localhost ~]$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
26e3d3bcd81d kbastani/docker-neo4j:latest "/etc/bootstrap.sh - 4 seconds ago Up 3 seconds 1337/tcp, <IP_ADDRESS>:7474->7474/tcp graphdb

After you run the container once, you would use a different command to start it back up.
docker start graphdb

I've run into the same issue with Neo4j 2.2+. It looks like mounting volumes from host using boot2docker is no longer possible in 2.2 due to a bug with VirtualBox.
I'm going to check in with the Neo4j folks and see whether or not they plan to fix this soon. There is a workaround that requires copying the graph.db directory from your host into a mounted volume on your Docker container. It's not ideal, so I'm hoping the bug gets fixed in Neo4j.
Reported issues I've found relating to the root problem:

http://stackoverflow.com/questions/18370043/neo4j-server-in-virtualbox-unable-to-create-rrd-store
https://groups.google.com/forum/#!searchin/neo4j/docker/neo4j/9mATBkX2YxU/shL87NlE-YQJ

@kbastani any luck recently?

Neo4j fix has apparently been merged into 2.2 branch https://github.com/neo4j/neo4j/pull/4780
the relevant commit https://github.com/neo4j/neo4j/commit/038ff587d1355b45f4f1de2788c228b26c0d9d91 appears to be present in 2.2.3 release

This seems to be happening again with docker 1.8
Docker version 1.8.1, build d12ea79
Starting Neo4j Server console-mode...
Using additional JVM arguments:  -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow -XX:hashCode=5 -Dneo4j.ext.udc.source=tarball

2015-08-31 22:05:14.837+0000 INFO  [API] Setting startup timeout to: 120000ms based on 120000
2015-08-31 22:05:15.232+0000 INFO  [API] Successfully shutdown Neo4j Server.```


Native irfft (and inverse_stft) ops in TFLite

System information

TensorFlow version (you are using): 2.8.0 (Python 3.9.10)
Are you willing to contribute it (Yes/No): No (or rather yes, but probably with a lot of help to find my way around)

Describe the feature and the current behavior/state.
Now that TFLite supports natively ops for tf.signal.rfft and tf.signal.stft (see #27030), it would be really great to close the loop and add support for their inverse functions tf.signal.irfft and tf.signal.inverse_stft to support more broadly 1-dimensional data models.
Right now, here is what happens with this MWE:
import tensorflow as tf
import tensorflow.keras as tfk
import tensorflow.keras.layers as tfkl

N = 128
fft_length = 1024

input = tfk.Input((N, fft_length // 2 + 1), dtype=tf.dtypes.complex64)
output = tfkl.Lambda(lambda x: tf.signal.irfft(x), output_shape=(N, fft_length))(input)

model = tfk.Model(inputs=input, outputs=output)

tf.get_logger().warning("Begin Tensorflow test...")
test_input = tf.complex(
    tf.random.normal((1, N, fft_length // 2 + 1), dtype=tf.dtypes.float32),
    tf.random.normal((1, N, fft_length // 2 + 1), dtype=tf.dtypes.float32))
test_output = model(test_input)
tf.get_logger().warning("Tensorflow test finished...")

tf.get_logger().warning("Begin TFLite conversion...")
model.save('./tflite')
converter = tf.lite.TFLiteConverter.from_saved_model('./tflite')
tflite_model = converter.convert()
with open(os.path.join('./tflite', 'model.tflite'), "wb") as f:
    f.write(tflite_model)
tf.get_logger().warning("TFLite conversion finished...")

Output:
2022-02-23 17:05:01.840430: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:02.447990: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:02.448941: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:02.450203: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-02-23 17:05:02.450930: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:02.451762: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:02.452562: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:03.149397: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:03.150348: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:03.151175: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-23 17:05:03.152004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1525] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 10794 MB memory:  -> device: 0, name: Tesla K80, pci bus id: 0000:00:1e.0, compute capability: 3.7
WARNING:tensorflow:Begin Tensorflow test...
WARNING:tensorflow:Tensorflow test finished...
WARNING:tensorflow:Begin TFLite conversion...
WARNING:tensorflow:Compiled the loaded model, but the compiled metrics have yet to be built. `model.compile_metrics` will be empty until you train or evaluate the model.
2022-02-23 17:05:08.281960: W tensorflow/python/util/util.cc:368] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them.
2022-02-23 17:05:08.542623: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:357] Ignored output_format.
2022-02-23 17:05:08.542684: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:360] Ignored drop_control_dependency.
2022-02-23 17:05:08.544198: I tensorflow/cc/saved_model/reader.cc:43] Reading SavedModel from: ./tflite
2022-02-23 17:05:08.546087: I tensorflow/cc/saved_model/reader.cc:78] Reading meta graph with tags { serve }
2022-02-23 17:05:08.546141: I tensorflow/cc/saved_model/reader.cc:119] Reading SavedModel debug info (if present) from: ./tflite
2022-02-23 17:05:08.549053: I tensorflow/cc/saved_model/loader.cc:228] Restoring SavedModel bundle.
2022-02-23 17:05:08.587791: I tensorflow/cc/saved_model/loader.cc:212] Running initialization op on SavedModel bundle at path: ./tflite
2022-02-23 17:05:08.594120: I tensorflow/cc/saved_model/loader.cc:301] SavedModel load for tags { serve }; Status: success: OK. Took 49927 microseconds.
2022-02-23 17:05:08.602500: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:237] disabling MLIR crash reproducer, set env var `MLIR_CRASH_REPRODUCER_DIRECTORY` to enable.
loc(callsite(callsite(fused["IRFFT:", "model/lambda/irfft@__inference__wrapped_model_39"] at fused["PartitionedCall:", "PartitionedCall@__inference_signature_wrapper_138"]) at fused["PartitionedCall:", "PartitionedCall"])): error: 'tf.IRFFT' op is neither a custom op nor a flex op
error: failed while converting: 'main':
Some ops are not supported by the native TFLite runtime, you can enable TF kernels fallback using TF Select. See instructions: https://www.tensorflow.org/lite/guide/ops_select
TF Select ops: IRFFT
Details:
	tf.IRFFT(tensor<?x128x513xcomplex<f32>>, tensor<1xi32>) -> (tensor<?x128x1024xf32>) : {device = ""}

Traceback (most recent call last):
  File "/fsx/findsimilar-experiments/tflite_irfft_test.py", line 24, in <module>
    tflite_model = converter.convert()
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/lite.py", line 803, in wrapper
    return self._convert_and_export_metrics(convert_func, *args, **kwargs)
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/lite.py", line 789, in _convert_and_export_metrics
    result = convert_func(self, *args, **kwargs)
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/lite.py", line 1084, in convert
    return self._convert_from_saved_model(graph_def)
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/lite.py", line 967, in _convert_from_saved_model
    result = _convert_saved_model(**converter_kwargs)
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/convert_phase.py", line 213, in wrapper
    raise converter_error from None  # Re-throws the exception.
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/convert_phase.py", line 206, in wrapper
    return func(*args, **kwargs)
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/convert.py", line 789, in convert_saved_model
    data = convert(
  File "/fsx/findsimilar-experiments/venv-newtf28/lib/python3.9/site-packages/tensorflow/lite/python/convert.py", line 306, in convert
    raise converter_error
tensorflow.lite.python.convert_phase.ConverterError: <unknown>:0: error: loc(callsite(callsite(fused["IRFFT:", "model/lambda/irfft@__inference__wrapped_model_39"] at fused["PartitionedCall:", "PartitionedCall@__inference_signature_wrapper_138"]) at fused["PartitionedCall:", "PartitionedCall"])): 'tf.IRFFT' op is neither a custom op nor a flex op
<unknown>:0: note: loc(fused["PartitionedCall:", "PartitionedCall"]): called from
<unknown>:0: note: loc(callsite(callsite(fused["IRFFT:", "model/lambda/irfft@__inference__wrapped_model_39"] at fused["PartitionedCall:", "PartitionedCall@__inference_signature_wrapper_138"]) at fused["PartitionedCall:", "PartitionedCall"])): Error code: ERROR_NEEDS_FLEX_OPS
<unknown>:0: error: failed while converting: 'main':
Some ops are not supported by the native TFLite runtime, you can enable TF kernels fallback using TF Select. See instructions: https://www.tensorflow.org/lite/guide/ops_select
TF Select ops: IRFFT
Details:
	tf.IRFFT(tensor<?x128x513xcomplex<f32>>, tensor<1xi32>) -> (tensor<?x128x1024xf32>) : {device = ""}

The TF Select workaround mentioned in the error message does seem to work, so the community may have a workaround in the meantime (with all the caveats mentioned in https://www.tensorflow.org/lite/guide/ops_select), but I think it'd be in the best interest of the community to have the inverse operators supported natively whenever possible, for a much facilitated deployment of models.
Will this change the current api? How?
Not that I can think of, but maybe I don't fully understand the question.
Who will benefit with this feature?
Every TensorFlow user needing to deploy a TFLite model that relies on STFT processing, so that could cover many people working on projects involving audio data, financial data, or any other form of 1-dimensional data series.
Any Other info
Nothing. Just thanks to the community for keeping TensorFlow running and growing 👍

Hi @francoisgermain ! Putting resolved gist as a workaround for now. Thank you!

Thanks for posting the gist of the workaround @mohantym. As I indicated, I hope it will be possible to bring them into the officially supported ops soon enough. And if I can be of any help to that, happy to help, but I'll probably need a few pointers on where to start. Thanks again.

I would like to second this request as well. And add that as far as I could find out and understand it is already implemented as a custom op. So maybe is just a question of promoting it into built in.
Thank you

Any update on native implementations of inverse rfft and inverse stft in tflite? These would be very useful to those using tf to process audio

I made #61280 to take move IRFFT2D to builtins.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.
Thanks.

Hi. I'm still waiting for a review for #61280. Please keep this issue open.

Hi @francoisgermain,
Thanks for raising this issue. Are you aware of the migration to LiteRT? This transition is aimed at enhancing our project's capabilities and providing improved support and focus for our users. As we believe this issue is still relevant to LiteRT we are moving your issue there. Please follow progress here.
Let us know if you have any questions. Thanks.


is there any way to change profile picture and website link ?

I would love this as well. Anyone got ideas?

Addressed in rewrite or no longer relevant.


Invalid json output

The json file generated with cargo scout-audit --output-format json is invalid.

This is an error. That's not proper json format and we shouldn't be calling it that way.
If this pseudo-proto-json format is useful for something change its name.
Also, a proper json format file is required for other uses and interoperability, so we should create a proper one.