React Native v0.44  DeviceInfo native module is not installed correctly

Description
At first I run create new project using expo And then at package.json I change the react-native version to v0.44.
When run using expo (send to device) I receive  DeviceInfo native module is not installed correctly.
Reproduction Steps and Sample Code
{
  "name": "example",
  "version": "0.0.0",
  "description": "Hello Expo!",
  "author": null,
  "private": true,
  "main": "main.js",
  "dependencies": {
    "axios": "^0.16.1",
    "expo": "16.0.0",
    "react": "16.0.0-alpha.6",
    "react-native": "0.44.0",
    "react-native-elements": "^0.11.2"
  }
}

Why I changed my react-native version to 0.44 because at expo sdk (v0.43) I got error while updating property selectioncolor of view managed by androidtextinput error. https://github.com/facebook/react-native/issues/13465
Additional Information

React Native version: v0.44
Platform: Android
Development Operating System: [FILL THIS OUT: Windows 10
Dev tools: VSCode, Expo XDE

Expo SDK v16 doesn't support react-native 0.44, maybe they will support in next release (SDK v17). Change react-native to 0.44 will don't help.

Somehow, my side, the issue is fixed by reset the simulator device

@stefensuhat Just recompile your project, and it will solve ;)
You're can be using a new RN code with an outdated binary.
This happened to me in both platforms when I've upgraded

@giautm yeah. I can't wait because of the input text bug
@rodriguesbreno @hellomaya I've tried compile it few times keep getting those error

i think what @rodriguesbreno mean it, recompile the native app. If you using expo then you need to detach it and run react-native-upgrade . After that you need to recompile the android/ios folder.

@dededada Exactly!
I mean recompile the native app.

This usually happens when you have multiple packagers running.

Hi, i reproduced all these steps and still face the issue.

I've solved as a temporary. Not sure which step worked.
"dependencies": {
    "react": "16.0.0-alpha.6",
    "react-native": "0.43.0"
  }

I did that aswell but now i'm getting undefined is not an object (evaluating '_reactNative.ViewPropTypes.style') as if the upgrade/downgrade messed with my modules.

Hi you can create new fresh project with Expo v0.17 then copy existing project to override it, this will fixed expo upgrade issue on this version.

I fixed using the fork from Expo's repository of the React Native NPM module: https://github.com/expo/react-native/archive/sdk-17.0.0.tar.gz .
In package.json just do this:
...
"react-native": "https://github.com/expo/react-native/archive/sdk-17.0.0.tar.gz",
...

Of course npm install is needed
I've deleted the entirely folder node_modules just in case and then npm i

@krosti there is any PR /fix for react-native#master?

@krosti  trying sdk-17.0.0.tar.gz shows error below.
undefined is not an object (evaluating 'RCTAsyncStorage.multiMerge')
"dependencies": {
"axios": "^0.16.0",
"eslint": "^3.19.0",
"moment": "^2.18.1",
"react": "16.0.0-alpha.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-17.0.0.tar.gz",
"react-native-adjust": "4.11.1",
"react-native-android-permissions": "0.0.7",
"react-native-checkbox-field": "^1.1.0",
"react-native-datepicker": "^1.3.2",
"react-native-firebase-analytics": "^3.0.0",
"react-native-geocoder": "^0.4.6",
"react-native-google-ads-conversion-tracking": "^0.1.0",
"react-native-google-analytics-bridge": "^5.0.1",
"react-native-google-places-autocomplete": "^1.2.6",
"react-native-i18n": "0.0.8",
"react-native-image-progress": "^0.6.0",
"react-native-instagram-oauth": "0.0.7",
"react-native-inviewport": "^1.1.0",
"react-native-linear-gradient": "^2.0.0",
"react-native-maps": "^0.15.2",
"react-native-permissions": "^0.2.7",
"react-native-progress": "^3.0.0",
"react-native-push-notification": "^2.1.0",
"react-native-safari-view": "^2.0.0",
"react-native-share": "^1.0.13",
"react-native-simple-modal": "^5.0.0",
"react-native-social-share": "^0.8.0",
"react-native-video": "^1.0.0",
"react-redux": "^5.0.5",
"redux": "^3.7.0",
"redux-immutable": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-persist": "^4.8.1",
"redux-thunk": "^2.2.0",
"rnpm": "^1.9.0",
"superqs": "^0.1.1",
"window-size": "^0.3.0",
"ws": "^1.1.1"
},
Do you have any workaround?

@akudo7 : Trying to uninstall Expo-Client app and try again.

@akudo7  Have you expo client? Try below.
In exp.json, change sdkVersion to "17.0.0"
In package.json, change these dependencies:
"react-native": "https://github.com/expo/react-native/archive/sdk-17.0.0.tar.gz",
"expo": "^17.0.0",
"react": "16.0.0-alpha.6"
...

@giautm @sungjk  Hi, thank you very much for your reply! I am not familiar with using expo thought. Is it possible to point me how to write exp.json in this case? Again, thank you very much. You are my only hope.

@akudo7 try this. Expo Document

I have the same issue.
And I run project at Xcode while have jsbundle in my project.
When I click Button and load the bundle that the simulator show this error.
I run rm -rf node_modules && npm install at rn root but does not work.
Please anyone can solve this problem help me.

I have the same issue for both platforms, and the reason is that the version of RN libraries (integrates them into an old project) is not the same with the RN version used to build the bundle file. Check the versions if you have the same problem. :-)

reset the simulator and try again it should work fine

Has anyone found a solution for this? I have tried the above suggestions but I am still getting the same error:
undefined is not an object (evaluating 'RCTAsyncStorage.multiMerge')

I'm also facing the same problem. Please guide me.


Support non-R4 Dependencies

There is some interest in having dependencies that are not just FHIR R4 (US Core for example): https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/FSH.20Online/near/210070678. We would need to add some way for the user to indicate the dependencies they want to load, and most of the code to actually load those dependencies should already exist.

This is done and live!

This is done and live!


Solved the Python library dependency issue on the ARM platform.

Solved the Python library dependency issue on the ARM platform.

gevent version has been changed to 23.9.1.


Enhanced pagination

This commit updates the pagination element to optionally display the total number of pages. It also updates the paginated search mixin to optionally accept the total number of results and the total number of pages in the result data. These data are automatically drawn in the UI when present. All examples and the docs have been updated to include this functionality.

I thought we were supposed to have a page header that said "11-20 of 73 results" rather than just "73 results" (or 15 in this example). You can see which page you're on at the bottom, but I'm looking for the "11-20 of 73 results" info at the top.

Can we get rid of "Next >" on the last page and "< Previous" on the first page? I realize they're not active links, but they still look the same.

I thought we were supposed to have a page header that said "11-20 of 73 results" rather than just "73 results" (or 15 in this example). You can see which page you're on at the bottom, but I'm looking for the "11-20 of 73 results" info at the top.

This is a good suggestion. I'll update the PR to do this. FYI, it appears that the gene search spec was never updated to include the desired page info  behavior so I just went ahead and implemented whatever.

Can we get rid of "Next >" on the last page and "< Previous" on the first page? I realize they're not active links, but they still look the same.

I would prefer to keep the buttons and make their enabled/disabled state more apparent, i.e. currently their default state is the same as their disabled state (this is a UIkit ism), which is misleading.

@sammyjava I just pushed the changes we discussed. Whether or not the pagination buttons are enabled still isn't super obvious but it's better than it was. Also note that all of the changes introduced in this PR are backwards compatible, so existing code that uses the paginated search components will still function, although additional pagination information is required for new features to work.

Using prod MiniMine with graphql-server:main and web-components:enhanced-pagination I get, on dev/examples/lis-gene-search-with-linkouts.html:
Uncaught (in promise) ReferenceError: pageSize is not defined
    getGenes lis-gene-search-with-linkouts.html:176
    promise callback*getGenes lis-gene-search-with-linkouts.html:137
    _search lis-paginated-search-mixin.ts:500
    _updateData lis-paginated-search-mixin.ts:577
    handleEvent lit-html.ts:2003
    _submit lis-form-wrapper-element.ts:105
    handleEvent lit-html.ts:2003
    submit lis-form-wrapper-element.ts:84
    submit lis-paginated-search-mixin.ts:465
    _queryStringSubmit lis-paginated-search-mixin.ts:479
    _contentLoaded lis-dom-content-loaded-controller.ts:55
    _contentLoaded lis-dom-content-loaded-controller.ts:54
    promise callback*_contentLoaded lis-dom-content-loaded-controller.ts:52
    hostConnected lis-dom-content-loaded-controller.ts:26
    connectedCallback reactive-element.ts:1042
    connectedCallback reactive-element.ts:1042
    connectedCallback lit-element.ts:189
    legacyCustomElement custom-element.ts:21
    customElement custom-element.ts:64
    __decorate lis-gene-search-element.js:4
    <anonymous> lis-gene-search-element.ts:172

Whoops! I must've hit undo one too many times when editing. Try now.

Hey, @alancleary I just discovered that Linkouts are broken. Totally broken on the dev site (dunno why) and on my own machine I'm getting one rather than three displayed. Use this .env:
PORT=4444
INTERMINE_URI=https://mines.legumeinfo.org/minimine/service
MICROSERVICES_URI=https://services.lis.ncgr.org

And use gene ID cicar.ICC4958.gnm2.ann1.Ca_00193. You'll find that the Apollo sandbox returns three linkouts, but the web component only displays one: JBrowse2, which is none of the three returned from Apollo sandbox!
Do we have the microservices hardcoded somewhere hitting something other than graphql? This is Very Weird.
I'll hold off on telling people about the dev site until this is fixed since they'll be sure to notice it.

@alancleary ARGH never mind, I was confusing region and gene linkouts. Still need to figure out why it's broken on the jekyll site....

...and...now it works. I just copied code over again. WTF. Anyway, it's all set, I'll let folks know.


Question about rearrangement task

Hi, Ram. Thanks for the source code.
I attempt to run the rearrangement task (pickplace). But I get the following error.
2022-11-06 22:43:04,068 Initializing dataset PickPlaceDataset-v0
2022-11-06 22:51:58,049 initializing sim PickPlaceSim-v0
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1106 22:51:58.059725 1074011 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : default changed to proposed JSON configuration filename : default.scene_dataset_config.json
I1106 22:51:58.059878 1074011 AssetAttributesManager.cpp:117] Asset attributes (capsule3DSolid : capsule3DSolid_hemiRings_4_cylRings_1_segments_12_halfLen_0.75_useTexCoords_false_useTangents_false) created and registered.
I1106 22:51:58.059922 1074011 AssetAttributesManager.cpp:117] Asset attributes (capsule3DWireframe : capsule3DWireframe_hemiRings_8_cylRings_1_segments_16_halfLen_1) created and registered.
I1106 22:51:58.059986 1074011 AssetAttributesManager.cpp:117] Asset attributes (coneSolid : coneSolid_segments_12_halfLen_1.25_rings_1_useTexCoords_false_useTangents_false_capEnd_true) created and registered.
I1106 22:51:58.060015 1074011 AssetAttributesManager.cpp:117] Asset attributes (coneWireframe : coneWireframe_segments_32_halfLen_1.25) created and registered.
I1106 22:51:58.060035 1074011 AssetAttributesManager.cpp:117] Asset attributes (cubeSolid : cubeSolid) created and registered.
I1106 22:51:58.060047 1074011 AssetAttributesManager.cpp:117] Asset attributes (cubeWireframe : cubeWireframe) created and registered.
I1106 22:51:58.060081 1074011 AssetAttributesManager.cpp:117] Asset attributes (cylinderSolid : cylinderSolid_rings_1_segments_12_halfLen_1_useTexCoords_false_useTangents_false_capEnds_true) created and registered.
I1106 22:51:58.060109 1074011 AssetAttributesManager.cpp:117] Asset attributes (cylinderWireframe : cylinderWireframe_rings_1_segments_32_halfLen_1) created and registered.
I1106 22:51:58.060128 1074011 AssetAttributesManager.cpp:117] Asset attributes (icosphereSolid : icosphereSolid_subdivs_1) created and registered.
I1106 22:51:58.060143 1074011 AssetAttributesManager.cpp:117] Asset attributes (icosphereWireframe : icosphereWireframe_subdivs_1) created and registered.
I1106 22:51:58.060163 1074011 AssetAttributesManager.cpp:117] Asset attributes (uvSphereSolid : uvSphereSolid_rings_8_segments_16_useTexCoords_false_useTangents_false) created and registered.
I1106 22:51:58.060184 1074011 AssetAttributesManager.cpp:117] Asset attributes (uvSphereWireframe : uvSphereWireframe_rings_16_segments_32) created and registered.

I1106 22:51:58.060938 1074011 MetadataMediator.cpp:54] MetadataMediator::createDataset : Dataset default successfully created.
W1106 22:51:58.065546 1074011 Simulator.cpp:91] Downsampling by : 0
I1106 22:51:58.065589 1074011 PhysicsAttributesManager.cpp:27] File (./data/default.physics_config.json) not found, so new default physics manager attributes created and registered.
I1106 22:51:58.065599 1074011 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : data/scene_datasets/mp3d/JeFG25nYj2p.glb changed to proposed JSON configuration filename : data/scene_datasets/mp3d/JeFG25nYj2p.stage_config.json
I1106 22:51:58.065686 1074011 AbstractObjectAttributesManagerBase.h:180] File (data/scene_datasets/mp3d/JeFG25nYj2p.glb) exists but is not a recognized config filename extension, so new default Stage attributes created and registered.
I1106 22:51:58.065703 1074011 Simulator.cpp:156] Loading navmesh from data/scene_datasets/mp3d/JeFG25nYj2p.navmesh
I1106 22:51:58.065935 1074011 Simulator.cpp:158] Loaded.
I1106 22:51:58.065958 1074011 SceneGraph.h:93] Created DrawableGroup:
corrupted size vs. prev_size

It seems that the env cannot load the scene_datasets, but i download the MP3D scene datasets, pick_palce dataset, and objects assets by instructions.
Do you have any idea how to solve it?

I want to know how to determine whether the habitat-sim is installed successfully? Because i find that the error above is related to the habitat-sim. Following the provided instructions, i cannot see the habitat-sim package in the habitat-web conda environment. So, to verify my guess, i run the following scripts:
python examples/pickplace_replay.py --path data/datasets/pick_place/pick_place_12k/sample/sample.json.gz
Unsurprisingly, i encounter another error and the result is same as the issue4 with len(self._sim.get_existing_object_ids()) == 0 :

Your answer is that you'll have to download object assets as well., but i have downloaded the datasets, scene_datasets, and test_assets/objects. Moreover i cannot find the corresponding code for loading the test_assets/objects and the definition on the function get_existing_object_ids. So, Did i do something wrong (e.g., habitat-sim)? Do you have any idea how to solve it?

I try to test the code on the objectnav task by the following scripts:
python examples/objectnav_replay.py --path data/datasets/objectnav/objectnav_mp3d_70k/sample/sample.json.gz
there is no similar error. So, is it possible that you missed some code (e.g., objects initialization due to self._sim.get_existing_object_ids())?

Hi, I cannot run the object_nav task normally due to the missing code defined in the init() of ObjectNavDatasetV2 class.
I try to modify the code but encounter another error : SyntaxError: future feature annotations is not defined. This seems to be related to the version of python (3.6). I would like to construct another conda env with python=3.7, but the code needs tensorflow==1.3.1, which results in some dependency conflicts. So, how to solve the dependency problem?

Hi @kevin-xuan,
To test whether habitat-sim is installed correctly can you run the following two commands in your python shell?
import habitat_sim
habitat_sim.__version__

python examples/pickplace_replay.py --path data/datasets/pick_place/pick_place_12k/sample/sample.json.gz
Unsurprisingly, i encounter another error and the result is same as the https://github.com/Ram81/habitat-imitation-baselines/issues/4 with len(self._sim.get_existing_object_ids()) == 0 :

This looks like a issue due to object assets not stored at the correct path.  You can find the code to load object assets here. Can you share the directory structure in your data folder? The output of ls data should do it

Hi, thanks for your reply. I verify the version of habitat_sim as follows:

Also, I check the data folder and the corresponding sub-folders as following:

Because pickplace task just need 9 scenes, the original mp3d scene_datasets were modified to satisfy the directory structure presented by you. And the overall structure is as follows:

I think that there is nothing wrong with the directory structure. In addition, i have found that the code to load object assets was used in the reconfigure function, but i didn't find the specific call on the reconfigure function.

Moreover, I also cannot run the objectnav task, the reason is above, could you tell me how to solve it?

Hi, I cannot run the object_nav task normally due to the missing code defined in the init() of ObjectNavDatasetV2 class.
I try to modify the code but encounter another error : SyntaxError: future feature annotations is not defined. This seems to be related to the version of python (3.6). I would like to construct another conda env with python=3.7, but the code needs tensorflow==1.3.1, which results in some dependency conflicts. So, how to solve the dependency problem?

@kevin-xuan can you share the full error log? It's hard to figure out the issue with just a part of the error log

Thank you for your response. As for objectnav task, when initializing the dataset class, I encounter the following error due to the none config:

Then, I add some code to debug successfully as follows:
self.episodes = []
if config is None: return

So, I successfully construct the env, but when debugging the line, the other error happened:

I try to find the possible reason, which seems to be related to the version (3.6) of python. In README, if i create a conda env with python=3.8, then the python setup.py develop --all cannot the tensorflow==1.13.1:

Moreover, I hope you can also solve the issue about pickplace task.
@Ram81 , can you have an idea to solve the two problems?

Hi, could you offer a solution to the issue?
Ram Ramrakhya @.***> 于2022年11月18日周五 06:10写道：

Hi, I cannot run the object_nav task normally due to the missing code
defined in the init() of ObjectNavDatasetV2 class.
I try to modify the code but encounter another error : SyntaxError: future
feature annotations is not defined. This seems to be related to the version
of python (3.6). I would like to construct another conda env with
python=3.7, but the code needs tensorflow==1.3.1, which results in some
dependency conflicts. So, how to solve the dependency problem?
@kevin-xuan https://github.com/kevin-xuan can you share the full error
log? It's hard to figure out the issue with just a part of the error log
—
Reply to this email directly, view it on GitHub
https://github.com/Ram81/habitat-imitation-baselines/issues/8#issuecomment-1319272961,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU7BMGPVLCQQGLMSMEX7I5DWI2ULXANCNFSM6AAAAAARYPHEMY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, I try to run the pickplace_replay.py wth created
default.physics_config.json file  again and encounter the same problem:
[image: 捕获.PNG]
PickPlaceDataset-v0
is used in the task config, but i want to know whether the load_scene
function in the PickPlaceDataset class should be used, which seems to load
the object assets.
Ram Ramrakhya @.***> 于2022年11月21日周一 07:25写道：

As for the pick and place task, it looks like simulator cannot find the
object assets in it's object assets manager. Can you create a file named
default.physics_config.json in the data folder with following content and
try running the replay script again?
{
"physics_simulator": "bullet",
"timestep": 0.008,
"gravity": [0,-9.8,0],
"friction_coefficient": 0.4,
"restitution_coefficient": 0.1,
"rigid object paths":[
"test_assets/objects/",
"data/assets/objects/ycb_google_16k_v2/configs_gltf"
]
}
—
Reply to this email directly, view it on GitHub
https://github.com/Ram81/habitat-imitation-baselines/issues/8#issuecomment-1321274300,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU7BMGOFBIUKV6T5KLH7MWLWJKXNLANCNFSM6AAAAAARYPHEMY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, i ensure that the version of python, tensorflow is same as above:
[image: 捕获1.PNG]
but when i use import tensorflow as tf in console, i encounter the error:
[image: 捕获2.PNG]
I also try to find the solution, but the answer seems to be related to
version of python (3.6). As such, i need to update my python (python>=3.7).
But as i mentioned before, the script  "python setup.py develop --all"
forces tensorflow==1.13.1 to be install, which is incompatible with
python>=3.7. So, could what can i do to solve this problem?
Ram Ramrakhya @.***> 于2022年11月21日周一 07:22写道：

Hi @kevin-xuan https://github.com/kevin-xuan,
It looks like the issue is with your version of tensorflow. Can you retry
setting up the conda environment with
python=3.6
tensorflow==1.13.1
tensorflow-estimator==1.13.0
Unfortunately, I haven't tested the environment on python 3.8 so I can't
guarantee if it will work on latest python version.
—
Reply to this email directly, view it on GitHub
https://github.com/Ram81/habitat-imitation-baselines/issues/8#issuecomment-1321273425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU7BMGP6SYJIFXW4RXUJOM3WJKXCNANCNFSM6AAAAAARYPHEMY
.
You are receiving this because you were mentioned.Message ID:
@.***>

I also try to find the solution, but the answer seems to be related to
version of python (3.6). As such, i need to update my python (python>=3.7).
But as i mentioned before, the script  "python setup.py develop --all"
forces tensorflow==1.13.1 to be install, which is incompatible with
python>=3.7. So, could what can i do to solve this problem?

Hi @kevin-xuan, can you try updating your tensorflow version? Can you also share what OS you are running the setup on? It might help me understand better why the dependencies are failing

Hi @kevin-xuan is it possible for you to share the log file with the output you get on the terminal from the replay script for the pick_and_place task?
It mostly looks like a issue with habitat-sim not being able to locate the object assets. You shouldn't have to explicitly call load_scene method for it to work.

Hi, @Ram81 , Thanks for your reply, my OS is as follows:

I train objectnav task on a single node using python habitat_baselines/run.py  --exp-config habitat_baselines/config/objectnav/il_objectnav.yaml --run-type train
I update tensorflow==2.6.2 and tensorflow-estimator==2.6.0, the code runs successfully.
Thank you again for your patient reply.

As for the pickplace task, I run python examples/pickplace_replay.py --path data/datasets/pick_place/pick_place_12k/sample/sample.json.gz, and encounter the same error:
2022-11-25 16:48:37,893 Initializing dataset PickPlaceDataset-v1
2022-11-25 16:48:38,614 initializing sim PickPlaceSim-v0
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1125 16:48:38.621091 1824177 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : default changed to proposed JSON configuration filename : default.scene_dataset_config.json
I1125 16:48:38.621655 1824177 AssetAttributesManager.cpp:117] Asset attributes (capsule3DSolid : capsule3DSolid_hemiRings_4_cylRings_1_segments_12_halfLen_0.75_useTexCoords_false_useTangents_false) created and registered.
I1125 16:48:38.621722 1824177 AssetAttributesManager.cpp:117] Asset attributes (capsule3DWireframe : capsule3DWireframe_hemiRings_8_cylRings_1_segments_16_halfLen_1) created and registered.
I1125 16:48:38.621773 1824177 AssetAttributesManager.cpp:117] Asset attributes (coneSolid : coneSolid_segments_12_halfLen_1.25_rings_1_useTexCoords_false_useTangents_false_capEnd_true) created and registered.
I1125 16:48:38.621807 1824177 AssetAttributesManager.cpp:117] Asset attributes (coneWireframe : coneWireframe_segments_32_halfLen_1.25) created and registered.
I1125 16:48:38.621827 1824177 AssetAttributesManager.cpp:117] Asset attributes (cubeSolid : cubeSolid) created and registered.
I1125 16:48:38.621851 1824177 AssetAttributesManager.cpp:117] Asset attributes (cubeWireframe : cubeWireframe) created and registered.
I1125 16:48:38.621896 1824177 AssetAttributesManager.cpp:117] Asset attributes (cylinderSolid : cylinderSolid_rings_1_segments_12_halfLen_1_useTexCoords_false_useTangents_false_capEnds_true) created and registered.
I1125 16:48:38.621933 1824177 AssetAttributesManager.cpp:117] Asset attributes (cylinderWireframe : cylinderWireframe_rings_1_segments_32_halfLen_1) created and registered.
I1125 16:48:38.621955 1824177 AssetAttributesManager.cpp:117] Asset attributes (icosphereSolid : icosphereSolid_subdivs_1) created and registered.
I1125 16:48:38.621981 1824177 AssetAttributesManager.cpp:117] Asset attributes (icosphereWireframe : icosphereWireframe_subdivs_1) created and registered.
I1125 16:48:38.622009 1824177 AssetAttributesManager.cpp:117] Asset attributes (uvSphereSolid : uvSphereSolid_rings_8_segments_16_useTexCoords_false_useTangents_false) created and registered.
I1125 16:48:38.622040 1824177 AssetAttributesManager.cpp:117] Asset attributes (uvSphereWireframe : uvSphereWireframe_rings_16_segments_32) created and registered.

I1125 16:48:38.622871 1824177 MetadataMediator.cpp:54] MetadataMediator::createDataset : Dataset default successfully created.
W1125 16:48:38.629642 1824177 Simulator.cpp:91] Downsampling by : 0
I1125 16:48:38.644979 1824177 PhysicsAttributesManager.cpp:27] JSON Configuration File (./data/default.physics_config.json) based physics manager attributes created and registered.
I1125 16:48:38.645000 1824177 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : data/scene_datasets/mp3d/TbHJrupSAjP.glb changed to proposed JSON configuration filename : data/scene_datasets/mp3d/TbHJrupSAjP.stage_config.json
I1125 16:48:38.645429 1824177 AbstractObjectAttributesManagerBase.h:180] File (data/scene_datasets/mp3d/TbHJrupSAjP.glb) exists but is not a recognized config filename extension, so new default Stage attributes created and registered.
I1125 16:48:38.645450 1824177 Simulator.cpp:156] Loading navmesh from data/scene_datasets/mp3d/TbHJrupSAjP.navmesh
I1125 16:48:38.679610 1824177 Simulator.cpp:158] Loaded.
I1125 16:48:38.679929 1824177 SceneGraph.h:93] Created DrawableGroup:
Renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 510.39.01
Using optional features:
    GL_ARB_ES2_compatibility
    GL_ARB_direct_state_access
    GL_ARB_get_texture_sub_image
    GL_ARB_invalidate_subdata
    GL_ARB_multi_bind
    GL_ARB_robustness
    GL_ARB_separate_shader_objects
    GL_ARB_texture_filter_anisotropic
    GL_ARB_texture_storage
    GL_ARB_texture_storage_multisample
    GL_ARB_vertex_array_object
    GL_KHR_debug
Using driver workarounds:
    no-forward-compatible-core-context
    nv-egl-incorrect-gl11-function-pointers
    no-layout-qualifiers-on-old-glsl
    nv-zero-context-profile-mask
    nv-implementation-color-read-format-dsa-broken
    nv-cubemap-inconsistent-compressed-image-size
    nv-cubemap-broken-full-compressed-image-query
    nv-compressed-block-size-in-bits
creating staticStageObject_
creating staticStageObject_ .. done
I1125 16:48:38.860278 1824177 ResourceManager.cpp:247] ResourceManager::loadStage : Not loading semantic mesh
I1125 16:48:38.860338 1824177 ResourceManager.cpp:1146] Importing Basis files as BC3
W1125 16:48:44.849514 1824177 Simulator.cpp:248] :
---
 The active scene does not contain semantic annotations.
---
I1125 16:48:44.852299 1824177 simulator.py:220] Loaded navmesh data/scene_datasets/mp3d/TbHJrupSAjP.navmesh
2022-11-25 16:48:44,860 Initializing task PickPlaceTask-v0
Traceback (most recent call last):
  File "examples/pickplace_replay.py", line 90, in <module>
    main()
  File "examples/pickplace_replay.py", line 86, in main
    output_prefix=args.output_prefix
  File "examples/pickplace_replay.py", line 16, in run_reference_replay
    with habitat.Env(cfg) as env:
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/env.py", line 118, in __init__
    dataset=self._dataset,
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/registration.py", line 22, in make_task
    return _task(**kwargs)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/pickplace/pickplace.py", line 1389, in __init__
    super().__init__(**kwargs)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/embodied_task.py", line 249, in __init__
    entities_config=config,
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/embodied_task.py", line 277, in _init_entities
    task=self,
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/pickplace/pickplace.py", line 291, in __init__
    super().__init__(config=config)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/simulator.py", line 76, in __init__
    self.observation_space = self._get_observation_space(*args, **kwargs)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/pickplace/pickplace.py", line 295, in _get_observation_space
    len(self._sim.get_existing_object_ids())
  File "/home/raoxuan/.conda/envs/habitat-web/lib/python3.6/site-packages/gym/spaces/discrete.py", line 36, in __init__
    assert n > 0, "n (counts) have to be positive"
AssertionError: n (counts) have to be positive
I1125 16:48:45.144805 1824177 BulletPhysicsManager.cpp:16] Deconstructing BulletPhysicsManager
I1125 16:48:45.148142 1824177 PhysicsManager.cpp:33] Deconstructing PhysicsManager
I1125 16:48:45.148164 1824177 SemanticScene.h:41] Deconstructing SemanticScene
I1125 16:48:45.148169 1824177 SceneManager.h:25] Deconstructing SceneManager
I1125 16:48:45.148175 1824177 SceneGraph.h:26] Deconstructing SceneGraph
I1125 16:48:45.148715 1824177 Sensor.h:87] Deconstructing Sensor
I1125 16:48:45.148738 1824177 Sensor.h:87] Deconstructing Sensor
I1125 16:48:45.157009 1824177 Renderer.cpp:34] Deconstructing Renderer
I1125 16:48:45.157044 1824177 WindowlessContext.h:17] Deconstructing WindowlessContext
I1125 16:48:45.158684 1824177 Simulator.cpp:47] Deconstructing Simulator

Hi @kevin-xuan, sorry for the late reply. I was at a conference last week so didn't get much time to look at the issue.
Great to know that the ObjectNav training code is working. As for pick and place task it looks like the simulator is not able to locate the object assets and hence it is not able to add the objects in the scene which makes the observation space invalid shape. I will try to reproduce this issue at my end and get back to you once I have a fix for it. It mostly looks like a issue with scene config not pointing to the correct path for object assets.

Hi @Ram81 ,thanks for your reply

Hi @kevin-xuan , can you add a print statement after this line  and share the output from you get when you run the replay script?

Hi, @Ram81 , I try to add a print statement:

but I get the same error above, it seems not to call the _initialize_objects function, so I cannot observe the added print output.
2022-12-27 13:08:28,961 Initializing dataset PickPlaceDataset-v1
2022-12-27 13:08:29,470 initializing sim PickPlaceSim-v0
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1227 13:08:29.474469 2810735 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : default changed to proposed JSON configuration filename : default.scene_dataset_config.json
I1227 13:08:29.474586 2810735 AssetAttributesManager.cpp:117] Asset attributes (capsule3DSolid : capsule3DSolid_hemiRings_4_cylRings_1_segments_12_halfLen_0.75_useTexCoords_false_useTangents_false) created and registered.
I1227 13:08:29.474628 2810735 AssetAttributesManager.cpp:117] Asset attributes (capsule3DWireframe : capsule3DWireframe_hemiRings_8_cylRings_1_segments_16_halfLen_1) created and registered.
I1227 13:08:29.474664 2810735 AssetAttributesManager.cpp:117] Asset attributes (coneSolid : coneSolid_segments_12_halfLen_1.25_rings_1_useTexCoords_false_useTangents_false_capEnd_true) created and registered.
I1227 13:08:29.474689 2810735 AssetAttributesManager.cpp:117] Asset attributes (coneWireframe : coneWireframe_segments_32_halfLen_1.25) created and registered.
I1227 13:08:29.474702 2810735 AssetAttributesManager.cpp:117] Asset attributes (cubeSolid : cubeSolid) created and registered.
I1227 13:08:29.474714 2810735 AssetAttributesManager.cpp:117] Asset attributes (cubeWireframe : cubeWireframe) created and registered.
I1227 13:08:29.474745 2810735 AssetAttributesManager.cpp:117] Asset attributes (cylinderSolid : cylinderSolid_rings_1_segments_12_halfLen_1_useTexCoords_false_useTangents_false_capEnds_true) created and registered.
I1227 13:08:29.474771 2810735 AssetAttributesManager.cpp:117] Asset attributes (cylinderWireframe : cylinderWireframe_rings_1_segments_32_halfLen_1) created and registered.
I1227 13:08:29.474786 2810735 AssetAttributesManager.cpp:117] Asset attributes (icosphereSolid : icosphereSolid_subdivs_1) created and registered.
I1227 13:08:29.474802 2810735 AssetAttributesManager.cpp:117] Asset attributes (icosphereWireframe : icosphereWireframe_subdivs_1) created and registered.
I1227 13:08:29.474820 2810735 AssetAttributesManager.cpp:117] Asset attributes (uvSphereSolid : uvSphereSolid_rings_8_segments_16_useTexCoords_false_useTangents_false) created and registered.
I1227 13:08:29.474839 2810735 AssetAttributesManager.cpp:117] Asset attributes (uvSphereWireframe : uvSphereWireframe_rings_16_segments_32) created and registered.

I1227 13:08:29.475500 2810735 MetadataMediator.cpp:54] MetadataMediator::createDataset : Dataset default successfully created.
W1227 13:08:29.480440 2810735 Simulator.cpp:91] Downsampling by : 0
I1227 13:08:29.480506 2810735 PhysicsAttributesManager.cpp:27] JSON Configuration File (./data/default.physics_config.json) based physics manager attributes created and registered.
I1227 13:08:29.480517 2810735 ManagedContainerBase.cpp:19] ManagedContainerBase::convertFilenameToJSON : Filename : data/scene_datasets/mp3d/TbHJrupSAjP.glb changed to proposed JSON configuration filename : data/scene_datasets/mp3d/TbHJrupSAjP.stage_config.json
I1227 13:08:29.480597 2810735 AbstractObjectAttributesManagerBase.h:180] File (data/scene_datasets/mp3d/TbHJrupSAjP.glb) exists but is not a recognized config filename extension, so new default Stage attributes created and registered.
I1227 13:08:29.480608 2810735 Simulator.cpp:156] Loading navmesh from data/scene_datasets/mp3d/TbHJrupSAjP.navmesh
I1227 13:08:29.480835 2810735 Simulator.cpp:158] Loaded.
I1227 13:08:29.480852 2810735 SceneGraph.h:93] Created DrawableGroup:
Renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 510.39.01
Using optional features:
    GL_ARB_ES2_compatibility
    GL_ARB_direct_state_access
    GL_ARB_get_texture_sub_image
    GL_ARB_invalidate_subdata
    GL_ARB_multi_bind
    GL_ARB_robustness
    GL_ARB_separate_shader_objects
    GL_ARB_texture_filter_anisotropic
    GL_ARB_texture_storage
    GL_ARB_texture_storage_multisample
    GL_ARB_vertex_array_object
    GL_KHR_debug
Using driver workarounds:
    no-forward-compatible-core-context
    nv-egl-incorrect-gl11-function-pointers
    no-layout-qualifiers-on-old-glsl
    nv-zero-context-profile-mask
    nv-implementation-color-read-format-dsa-broken
    nv-cubemap-inconsistent-compressed-image-size
    nv-cubemap-broken-full-compressed-image-query
    nv-compressed-block-size-in-bits
creating staticStageObject_
creating staticStageObject_ .. done
I1227 13:08:29.620784 2810735 ResourceManager.cpp:247] ResourceManager::loadStage : Not loading semantic mesh
I1227 13:08:29.620829 2810735 ResourceManager.cpp:1146] Importing Basis files as BC3
W1227 13:08:34.339105 2810735 Simulator.cpp:248] :
---
 The active scene does not contain semantic annotations.
---
I1227 13:08:34.341039 2810735 simulator.py:220] Loaded navmesh data/scene_datasets/mp3d/TbHJrupSAjP.navmesh
2022-12-27 13:08:34,352 Initializing task PickPlaceTask-v0
Traceback (most recent call last):
  File "examples/pickplace_replay.py", line 90, in <module>
    main()
  File "examples/pickplace_replay.py", line 86, in main
    output_prefix=args.output_prefix
  File "examples/pickplace_replay.py", line 16, in run_reference_replay
    with habitat.Env(cfg) as env:
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/env.py", line 118, in __init__
    dataset=self._dataset,
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/registration.py", line 22, in make_task
    return _task(**kwargs)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/pickplace/pickplace.py", line 1389, in __init__
    super().__init__(**kwargs)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/embodied_task.py", line 249, in __init__
    entities_config=config,
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/embodied_task.py", line 277, in _init_entities
    task=self,
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/pickplace/pickplace.py", line 291, in __init__
    super().__init__(config=config)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/core/simulator.py", line 76, in __init__
    self.observation_space = self._get_observation_space(*args, **kwargs)
  File "/home/raoxuan/code/habitat-imitation-baselines/habitat/tasks/pickplace/pickplace.py", line 295, in _get_observation_space
    len(self._sim.get_existing_object_ids())
  File "/home/raoxuan/.conda/envs/habitat-web/lib/python3.6/site-packages/gym/spaces/discrete.py", line 36, in __init__
    assert n > 0, "n (counts) have to be positive"
AssertionError: n (counts) have to be positive
I1227 13:08:34.568691 2810735 BulletPhysicsManager.cpp:16] Deconstructing BulletPhysicsManager
I1227 13:08:34.571823 2810735 PhysicsManager.cpp:33] Deconstructing PhysicsManager
I1227 13:08:34.571841 2810735 SemanticScene.h:41] Deconstructing SemanticScene
I1227 13:08:34.571846 2810735 SceneManager.h:25] Deconstructing SceneManager
I1227 13:08:34.571849 2810735 SceneGraph.h:26] Deconstructing SceneGraph
I1227 13:08:34.572392 2810735 Sensor.h:87] Deconstructing Sensor
I1227 13:08:34.572418 2810735 Sensor.h:87] Deconstructing Sensor
I1227 13:08:34.579644 2810735 Renderer.cpp:34] Deconstructing Renderer
I1227 13:08:34.579677 2810735 WindowlessContext.h:17] Deconstructing WindowlessContext
I1227 13:08:34.585707 2810735 Simulator.cpp:47] Deconstructing Simulator

@kevin-xuan this looks like a gym package version issue in that case. Can you try installing pip install gym==0.21.0 in the conda environment and rerunning the script?

@Ram81 yeah, you're right, the code runs successfully. Thanks for your reply !

BTW, I would like to know why you discard the instruction and don't provide the language information about the objectnav task.

@kevin-xuan the ObjectNav task doesn't use the language instructions. You can refer to the task config and details here.
Closing this issue as it is resolved


Color Changing Website

https://abd-ar.github.io/

@abd-ar  Great Work! Welcome to the world of Open Source!

@abd-ar  you have been added to contribution table below! 👋⭐⭐⭐

@all-contributors please add @abd-ar  for code


Remove Accession Number for CA Transforms

Add a PR title
Describe what changed in this PR at a high level.
Issue
#1299
Checklist

[ ] I have added tests to cover my changes
[ ] I have added logging where useful (with appropriate log level)
[ ] I have added JavaDocs where required
[ ] I have updated the documentation accordingly

Note: You may remove items that are not applicable

Due to the unsigned commit issues in the #1277 branch that this was based on, we created a new branch story/1299-1-remove-accession-number and opened a new PR for this work #1371.


Fix vscode build

Purpose

Fix issue where the vscode plugin was not being built due to skipping executables.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[ERROR] TypeError: cannot use a string pattern on a bytes-like object

I'm getting this error with latest nodehun<EMAIL_ADDRESS>while building on macOS 10.14.5 (Darwin 18.6.0)
mbploreto:webservice loretoparisi$ node --version
v12.13.1
mbploreto:webservice loretoparisi$ npm --version
6.12.1
mbploreto:webservice loretoparisi$ node-gyp --version
v6.0.1

  CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
  LIBTOOL-STATIC Release/nothing.a
Traceback (most recent call last):
  File "./gyp-mac-tool", line 611, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./gyp-mac-tool", line 30, in main
    exit_code = executor.Dispatch(args)
  File "./gyp-mac-tool", line 45, in Dispatch
    return getattr(self, method)(*args[1:])
  File "./gyp-mac-tool", line 248, in ExecFilterLibtool
    if not libtool_re.match(line) and not libtool_re5.match(line):
TypeError: cannot use a string pattern on a bytes-like object
make: *** [Release/nothing.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/loretoparisi/Documents/Projects/node_modules/nodehun
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

It seems to me that this is related to node-gyp rather than this module itself.

[UPDATE]
According to this SF question this issue maybe related when using Python 3.x instead of Python 2.7 when on macOS
If this is the case, how to make node-gyp to use the old version of python. When on macOS we now have python 3.7.7 with brew by defaults.

Please upgrade gyp ERR! node-gyp -v v5.0.5

@cclauss thanks, I can only see
ip-192-168-1-168:Projects loretoparisi$ which node-gyp
/usr/local/bin/node-gyp
ip-192-168-1-168:Projects loretoparisi$ node-gyp --version
v6.0.1

Please look through your log above:
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5

@cclauss thank you. So if I do a locate node-gyp I cannot find the offender version v5.0.5 under path like
/usr/local/n/versions/node/
/usr/local/lib/node_modules/npm/node_modules/node-gyp
/usr/local/Cellar/node/
/Users/loretoparisi/.node-gyp/

etc. so what is forcing this command node-gyp during the build?

/Users/loretoparisi/Documents/Projects/node_modules/node-gyp/gyp ?

while I have all these (not sure why actually!)
/Users/loretoparisi/.node-gyp/
10.0.0/  10.1.0/  10.15.3/ 11.1.0/  6.9.4/   8.11.1/  8.11.2/  8.12.0/  8.9.1/   8.9.4/   9.11.1/

I think I have found it here
 /usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp --version
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):

hey @loretoparisi :)
I ran into this issue myself -- turns out I just needed to updated NPM itself (which has node-gyp as a dependency)
npm i -g npm

Thanks @wulf, npm i -g npm fixed this for me! (I'm using node v11.15.0 on Darwin 19.6.0)

@Wulf great, thank you! in fact it worked with node v12.16.1, npm v6.13.4, node-gyp v6.0.1. Closing then.


Implement Google Analytics

Implement Google Analytics for the HIPC Dashboard.

Change was made for issue #50.

Google emailed me an analytics report for July for the HIPC Dashboard, so I guess it is working!


check / parse all sitemaps

ie, sitemap_index and get all sitemaps URLs
similar to CSSProcessor, parse to get URLs, but don't generate XML from DOMDocument/XMLDocument, just string replace

Also also need to include /wp-content/plugins/wordpress-seo/css/main-sitemap.xsl
if that is a sitemap created by Yoast SEO

@nhhau definitely!
will check against Yoast, SEO Framework and (other popular one I forget name of at the moment @thegulshankumar is using it)
will improve functionality to crawl URLs from the sitemaps and follow them, which should ensure Yoast/other multi-page sitemaps all get included properly

WordPress SEO Plugin – Rank Math 😊

That's the one! Thanks @thegulshankumar!

As tested in version 6.6.21,
Yoast
Normally, If sitemaps are like this
If sitemaps contain a number it is not being recognised
add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' );

 function max_entries_per_sitemap() {
    return 1;
}

http://example.com/post-sitemap1.xml	        2020-08-30 21:36 +00:00
http://example.com/post-sitemap2.xml	        2020-09-02 21:31 +00:00
http://example.com/post-sitemap3.xml 	2020-09-02 22:01 +00:00
http://example.com/page-sitemap1.xml	2020-08-30 21:55 +00:00
http://example.com/page-sitemap2.xml	2020-08-30 22:38 +00:00
http://example.com/page-sitemap3.xml	2020-08-30 22:38 +00:00

Update: I tried Slim SEO plugin,  It produces XML file at the /sitemap.xml location
Only the first sitemap.xml file is coming in export. I tried as .zip
List of missing files
/sitemap-post-type-post.xml
/sitemap-post-type-page.xml
/sitemap-taxonomy-category.xml
/wp-content/plugins/slim-seo/src/Sitemaps/style.xsl

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://example.com/wp-content/plugins/slim-seo/src/Sitemaps/style.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>http://example.com/sitemap-post-type-post.xml</loc>
	</sitemap>
	<sitemap>
		<loc>http://example.com/sitemap-post-type-page.xml</loc>
	</sitemap>
	<sitemap>
		<loc>http://example.com/sitemap-taxonomy-category.xml</loc>
	</sitemap>
</sitemapindex>


Profile followups

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #6972
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI;

Copilot Summary

🤖 Generated by Copilot at b4265ec
This pull request introduces several changes to improve the UI and functionality of the activity history table in the profile and collection pages. It adds new components such as EventTag, ResponsiveTable, and HistoryRow to display the event data in a consistent and responsive way. It also refactors the existing components such as History and EventRowDesktop to use the new components and props. It updates the GraphQL query to fetch the metadata of the NFTs involved in the events and displays them in the table. It removes some unused code from the utils/historyEvent file.

🤖 Generated by Copilot at b4265ec

We create and destroy with our code
We unleash the power of the EventTag
We make the table responsive and bold
We query the NFTs and their metadata

@exezbcz no Percentage column ?

@exezbcz pls do visual check
also no Percentage column ?

I dont think its necessary, most of the times you will see 100% there (sold at list price after mint), we have holders and flipper tab for that

Please add 16px bottom margin on the create identity button

@exezbcz pls check now

@hassnian works for me, thanks!

pay 80 usd
merge then when it will builds 👀

😍 Perfect, I’ve sent the payout
💵 $80 @ 4.48 USD/DOT ~ 17.857 $DOT
🧗 13QUj3pZyFNfYj4AM336hRdyLQbevj5H3sR4PKmLEXLdwZhh
🔗 0xc85aa03ade2438aa5751e0bff3066c27a796e77c38ee7cfa0c8d858419ea1da4
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

buy action is being show as a sale:
https://github.com/kodadot/nft-gallery/assets/36627808/7aeb16f7-cce2-4db8-b377-5f02cd0e634f

@prury yes, I think its because we don't have buy event in collection - its the same from the collection perspective. Lets make this followup and I will design a tag for that

mobile spacing:

@prury the margin is still there and is the same as the desktop version

it looks like less because the columns on mobile are not shown

@exezbcz what should be the margin then ?

In case of the desktop, would it be possible to put it at the same row as the filters please?

On mobile, its okay to leave them like this, 24px top bottom margin would be better tho

Please make the filters jump to the second row if they don't fit


[RTE.ie] failing to download

[x] I've verified and I assure that I'm running youtube-dl 2016.08.28

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
/usr/local/bin/youtube-dl --verbose "http://www.rte.ie/player/at/show/keeping-ireland-alive-the-health-service-in-a-day-30004189/10616459/"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://www.rte.ie/player/at/show/keeping-ireland-alive-the-health-service-in-a-day-30004189/10616459/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.28
[debug] Python version 2.7.11 - Linux-4.6.7-200.fc23.x86_64-x86_64-with-fedora-23-Twenty_Three
[debug] exe versions: none
[debug] Proxy map: {}
[rte] 10616459: Downloading webpage
[rte] 10616459: Downloading JSON metadata
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 433, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 423, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1788, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 691, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/rte.py", line 55, in _real_extract
IndexError: list index out of range

Description of your issue, suggested solution and other information
youtube-dl fails downloading from RTE.ie, though this should work and there have been resolved bugs during the last weeks/months.

RTE streams are DRM now so this might not work


Test the off-by-1 error in pickles

Add a test to cover the case of off-by-one error, where both uses of max_n should be max_n+1. The fix for this issue can be found here.
Requirement:
A test that generates a proof using domain size 16 for the step circuit, uses a side-loaded verification key in pickles to verify it.
It would probably be easiest to use the transaction snark to do this, since the logic is already set up apart from the step circuit size.

the test is here, but I'm not able to trigger the error so far: https://github.com/MinaProtocol/mina/pull/12436/commits/f4e7d741039ed9198a598ec4e3d7354e0f8c36bf


Pushover notifications

Hi all,
Is something like pushover notifications something we could benefit from?
Scenario I have in mind:
You set the location, share de map with your mobile and go hunting. When a pokemon spawns that you have in your notification list, it give a notification on you computer/mac, but on to go it would be able to push a notification to your mobile or even smart watch. 1 click and you get directions!

Pushover.net

good idea :+1:

or any change to add Growl? Once notifications are linked to Growl, it's easy to push it to Prowl for iOS device.

How do I send Pushover notifications in Python?
The standard httplib and urllib libraries can be used, replacing "APP_TOKEN" with the token of your app, and "USER_KEY" with your user's key (or your own if sending messages to your own devices).
import httplib, urllib
conn = httplib.HTTPSConnection("api.pushover.net:443")
conn.request("POST", "/1/messages.json",
urllib.urlencode({
"token": "APP_TOKEN",
"user": "USER_KEY",
"message": "hello world",
}), { "Content-type": "application/x-www-form-urlencoded" })
conn.getresponse()
For Python 3, httplib has been replaced with http.client and urlencode has moved to urllib.parse.
import http.client, urllib
conn = http.client.HTTPSConnection("api.pushover.net:443")
conn.request("POST", "/1/messages.json",
urllib.parse.urlencode({
"token": "APP_TOKEN",
"user": "USER_KEY",
"message": "hello world",
}), { "Content-type": "application/x-www-form-urlencoded" })
conn.getresponse()
Alternatively, the 3rd party pushnotify Python package written by Jeffrey Goettsch, the pushover Python 3 package written by Wyatt Johnson, and the Chump Python package written by Karan Lyons are available.
[Top]

I agree. I would love for this to be able to forward the notifications to my phone through Growl. I'm not sure exactly how to set it up, but this document implies it shouldn't be that difficult
http://www.growlforwindows.com/gfw/d.ashx?f=Growl%20for%20Windows%20-%20Application%20Integration%20Guide.doc

I got push bullet working in a previous build. I'm sure I could get it again if that would be useful.

@luckofthelefty Tremendously useful :)


docker-machine will hang docker daemons on version 0.5.14

Ok the symptom is that with build 0.5.14, this image converted to using /etc/docker/daemon.json for its configuration and /etc/systemd/system/docker.service has a generic /usr/bin/docker start line.
This is because the main docker-machine does not respect the daemon.json logic and will add it's own command line options and by design the daemon will not start. See https://github.com/docker/machine/issues/3062.
Reproduce by:
If you run docker-machine -d generic against this image with docker-machine 0.6 that is in docker for mac, it does not know about daemon.json and instead adds its configuration in the command line of /etc/systemd/system/docker.service.
This is the specific behavior of the docker daemon (see https://docs.docker.com/engine/reference/commandline/daemon/) so right now the -H options in the command line conflict with the fd:// option and overlay is specified in both.
When the command line and the daemon.json exist, docker will refuse to start. As an aside, if you are using Docker for Mac beta, it does not update any of the command line utilities, so you need to install Docker Toolbox for Mac to get the latest or run the latest installation scripts
The fix: document that if you use docker-machine you must remove daemon.json before running docker-machine create

Just for the records: With 0.5.4 we introduced Docker 1.11.1,
a VirtualBox machine 1.11.1 also does not contain any daemon.json file.

Oops fixed the version numbers should say 0.5.14. I know 0.5.2 works for sure.

Also wants sure if I should post to this or to docker-hypriot, but apt-get install docker-hypriot is also broken. Still on 1.10 and it fails to install properly with 0.5.14. I haven't had time to investigate, but perhaps you should bump release that.

@richtong To install docker-hypriot I guess you have to remove the package docker-engine manually. There are no dependencies between these two packages.

The /etc/docker/daemon.json was introduced in v0.5.5 with commit https://github.com/hypriot/image-builder-rpi/commit/f09778ce7deda95fceb8b712d04b597f73191e0a
We have to remove it for now to make the default SD image docker-machine compatible. Overlay and local unix socket can be achieved w/o this file as well.

Instead of removing /et/docker/daemon.json we can just make it empty with only
{
}

This solves the docker-machine problem.

Thanks I see sounds like the blog needs to deprecate docker-hypriot and use docker-engine instead then. That is way more standard! Nice work testing 0.5.15 now.


Update according to version 1 of the SailfishOS:Chum metadata definition

References:

Issue #100 "Draft a version of the metadata specification"
PR #181 "Metadata: parse new names" for the SailfishOS:Chum GUI application.

It would make sense to list the tags that were kept as synonyms from older spec. Otherwise, LGTM

It would make sense to list the tags that were kept as synonyms from older spec.

I originally intended that, but deliberately decided against it after trying some things and considering as follows:

The intention is to propose using the new tags when writing a Chum metadata section, hence I did no want to depict the four old tags as equivalent.
So I tried using small characters for mentioning the "old" tags below the current one in the first column of the table, but that looks ugly, because the whole document does not use small characters plus GitHub's Markdown dialect only supports sub- and superscript, but not the <small> attribute, hence the formatting becomes strange.

My solution is to explicitly and clearly denote the relationship between the v0 and v1 of the Chum metadata definition in the second bullet point of the Notes section above the table: Its second, concluding sentence contains three links and all three are nicely showing the old tags.
"Note that four tags of the original version 0 are deprecated due to issues, but still valid as synonyms to the four tags which superseded them in version 1."
Because explaining the relationship between v0 and v1 was necessary any way, it looks like an elegant solution to me to embed these three references as links there.  I also tried naming all eight tags (the four new and the four old ones) in this second bullet point of the Notes section, but then it grew too large to still be concise ("on the point") to be read and understood quickly.

Don't you think that the aforementioned statement with the three links unambiguously tells packagers / developers that the old tags are still valid?


[TEC-4696] GitHub action configs

What problem is the code solving?
Configuration for Github actions.
How does this change address the problem?
Adding new configuration file for github actions to run rspect and code quality checks. Also adding new PR template file.

@texpert I was not able to use the version<EMAIL_ADDRESS>There seems to be an issue when running it related to the depth of the git fetch. I tried multiple solutions I found online without success. (Eg: adding git fetch origin master --depth=1 like mentioned in the documentation or even something like git fetch --unshallow that some users reported solving the problem with it).
I don't think it is worth spending too much time on that. We can eventually improve this in the near future if it is ok with you.

@texpert I was not able to use the version<EMAIL_ADDRESS>There seems to be an issue when running it related to the depth of the git fetch. I tried multiple solutions I found online without success. (Eg: adding git fetch origin master --depth=1 like mentioned in the documentation or even something like git fetch --unshallow that some users reported solving the problem with it).
I don't think it is worth spending too much time on that. We can eventually improve this in the near future if it is ok with you.

I don't think it is worth spending too much time on that. We can eventually improve this in the near future if it is ok with you.

Absolutely! I'd gladly get rid of both Pronto and Reek in favour of  Code Climate :)

I don't think it is worth spending too much time on that. We can eventually improve this in the near future if it is ok with you.

Absolutely! I'd gladly get rid of both Pronto and Reek in favour of  Code Climate :)


Add expected role functionality

Do these work if you've deleted the interface?

If you delete ifcfg-vxlan0 before bringing the interface down you can still perform ifdown vxlan0 to delete the interface without issue.
sudo rm /etc/sysconfig/network-scripts/ifcfg-vxlan0
sudo ifdown vxlan0
WARN      : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.
WARN      : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.
WARN      : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.

Does it fail if the device exists? In the kayobe veth ifup script we have this:

if ! ip link show dev ${DEVICE} >/dev/null 2>&1 ; then
    echo "Creating veth pair ${DEVICE} - ${PEER_DEVICE}"
    ip link add dev ${DEVICE} type veth peer name ${PEER_DEVICE}
    if [[ $? -ne 0 ]]; then
        echo "Failed creating veth pair"
        exit 1
    fi
fi

It appears that it doesn't fail if the interface already exists. It provides a return code of 0 and the only indication that it didn't work as expected is a warning. However, this could lead to unintented behaviour whereby the configuration could be changed such as a new IPADDR which won't remove the existing IP rather add it as a secondary IP. Probably best to include the conditional you quoted.
[rocky@jack-vxlan-1 ~]$ sudo ifup vxlan0
WARN      : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.
WARN      : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.
WARN      : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.
WARN      : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.
WARN      : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.
WARN      : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.
RTNETLINK answers: File exists
[rocky@jack-vxlan-1 ~]$ echo $?
0

Do these work if you've deleted the interface?

If you delete ifcfg-vxlan0 before bringing the interface down you can still perform ifdown vxlan0 to delete the interface without issue.
sudo rm /etc/sysconfig/network-scripts/ifcfg-vxlan0
sudo ifdown vxlan0
WARN      : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.
WARN      : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.
WARN      : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.

That's interesting. I meant more that in the ifdown script you delete the vxlan interface, then run the ifdown-eth & ifdown-post scripts. Will those scripts be able to do anything sane if the interface is deleted?

Can you add it to stackhpc-release-train, so we get workflows etc.


mkindex: ignore case when search for words in the index

It wasn't quite clear to me whether the index generation should really be doing a case sensitive search for words. Doing so misses out lots of instances (e.g. TELNET misses the error code, cookies misses a ton of references, Javascript misses them all). On the other hand, this patch as-is causes a few wrong references (e.g. -u catches -U instances). Maybe index-words needs to be split into case sensitive and case insensitive sections.

Any thoughts as to the best solution?

I think going case insensitive is a better default so let's land that first.
Maybe we can then introduce some marker for index-words or something so that we can mark specific words/phrases as case sensitive, like for command line options.

I think I've found a solution to the case sensitivity issue. I've updated my PR to be case insensitive except for words starting with a dash (i.e. option names).  I see no issues with this method.


Staking IOTA

Hello there
I have 250 Iota on my wallet and I want to start staking where is the instruction to start it

There will be a new firefly version and announcement before staking starts on Shimmers and IOTAs official channels.


setProperty is not available for web causing unable to compile a web app.

Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
../packages/just_audio_media_kit/lib/mediakit_player.dart:60:12:
Error: The method 'setProperty' isn't defined for the class 'NativePlayer'.
 - 'NativePlayer' is from 'package:media_kit/src/player/native/player/stub.dart'
 ('../.pub-cache/hosted/pub.dev/media_kit-1.1.10+1/lib/src/player/native/player/stub.dart').
          .setProperty('prefetch-playlist', 'yes');
           ^^^^^^^^^^^
Error: Compilation failed.

Upstream issue: https://github.com/media-kit/media-kit/issues/886

Commit to be reverted to fix the issue: 47504b7

Commit to be reverted to fix the issue: 47504b7

Downgrade to v2.0.3 for the time being


Binding not properly generated in SAML metadata

After some investigation I noticed that even if i alter the Pac4j config object by setting: cfg.setDestinationBindingType(SAMLConstants.SAML2_REDIRECT_BINDING_URI);
the generated meta-data file still does not alter the assertionBinding. Which i can see the SAML2MetaDataGenerator line 197.. it's hardcoded to only do SAML2_POST_BINDING_URI.
The resulting assertion binding is set to: <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location=" ... " index="0"/>

+1 Thanks for resolving in #1012
Was not able to push fixes in time.

This 'fix' breaks our SSO-flows badly. This 'destination binding type' is now used for both the authn request and the response binding. It is uncommon to use post binding for the authn request, while it is common to use it for the response. After this change, this is no longer possible to configure


[WIP] feat(daffio): add guides to navigation

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
We don't render naivgation for the docs that we generate.
Touches #336
What is the new behavior?
This takes the guide docs generated in #437 and adds them to the sidebar of the daffio site.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Closing in favor of #769


Updates from SAML SSO - product documentation for NOV-22 release

OK to publish when requested.

@naveen-chikurthi
I've made the changes we discussed in this commit. https://github.com/mendix/docs/pull/5347/commits/3b61f789eb2a8f9d68ff2548ed5075a6ac5d3a85
Can you check that it now makes sense?
Can you also have a look at section 6. This lists a whole load of URLs, but I think some of them may have changed because of the support for multiple IdPs. For example:

/SSO/metadata – This provides a point for the IdP to automatically download the metadata from this SP
should this also include the IDP-alias?

Hi @MarkvanMents , Yes. it would be better if we change /SSO/Metadata url by including IDP alias name as well (/SSO/metadata/)

Hi @MarkvanMents , Yes. it would be better if we change /SSO/Metadata url by including IDP alias name as well (/SSO/metadata/)

Done that: https://github.com/mendix/docs/pull/5347/commits/3a2fcbe936dcaa65407dba13034f6d4c04893cdb

New SAML module release confirmed over Slack.


multidelegation emulation

Idea is to start with a given mnemonic and have shelley wallet funded. Then using the SAME mnemonic but different account indices spawn 2 shared wallets and fund them. Next, join pools (different for each shared wallet) and wait for rewards. Then withdraw rewards and return funds to the parent, shelley wallet.
Comments

Issue Number
adp-2608

bors try

bors r+


Composer installation failure with PHP 8

Problem 1
- devfaysal/laravel-bangladesh-geocode is locked to version 0.5.1 and an update of this package was not requested.
- devfaysal/laravel-bangladesh-geocode 0.5.1 requires php ^7.3 -> your php version (8.0.0) does not satisfy that requirement.

Added PHP 8 in composer.json and released a new version.
Try now and let me know if all working fine.

It's working


Update File Path in opentelemetry-collector/data-source-configurations/collect-logs/ Document

https://help.sumologic.com/docs/send-data/opentelemetry-collector/data-source-configurations/collect-logs/
File Path in configuration steps says to place .yaml file in "config" folder:
"1. Create a file in folder C:\ProgramData\Sumo Logic\OpenTelemetry Collector\config\ with name sysmon_windows.yaml."
Suggest correct path should be "C:\ProgramData\Sumo Logic\OpenTelemetry Collector\config\conf.d" as stated in the OpenTelemetry configuration yaml itself:
"## All modifications should be put as separate files in conf.d subdirectory"
In my testing, moving the sysmon_windows.yaml from "/config" and into "/config/conf.d" without any other configuration changes made, was the difference between OpenTelemetry correctly forwarding Sysmon logs, and not.

@CowpD, I'll work this issue with our internal Jira ticket: https://sumologic.atlassian.net/browse/DOCS-340.

@CowpD, the file path is now fixed: https://help.sumologic.com/docs/send-data/opentelemetry-collector/data-source-configurations/collect-logs/#collect-from-custom-channels-powershell-sysmon


Where is "How did you hear about us?"

Magento version: 1.9.3
Plugin version: 2.10
Description
I can't find "How did you hear about us?"
I am on system -> configuration ->payment methods -> Adyen but nothing
Any help? Thanks

Hi @reecreateeduardo,
I am not sure what you mean I don't think this comes from our extension. Can you provide a screenshot to clarify what you mean ?
Regards,
Rik
Adyen

Hi,
I was under the impression you plugin had a part on the checkout that the customer would have a dropbox or a text field followed with the question "how did you hear about us?"

Hi @reecreateeduardo,
No we don't. We only focus on payment methods integration and try to be on the back so you don't notice us. Closing the issue.
Regards,
Rik
Adyen


Add parameters for interactive containers.  Useful with kubectl attach.

@bgrant0607 @smarterclayton

Obviously this needs additions to validation.go, as well as implementation in the kubelet.  I'll do that once the API design is blessed.

(and regarding design this is basically a straight pass-through to the underlying container runtime)

The main alternative would be some kind of "interactive" field, but that ship has sailed, I guess, given all of the exec options. Anyway, assuming users are at least vaguely Linux-savvy is not unreasonable, and I presume all current container runtimes support them (Docker, Rocket, runc).
I'm basically ok with this, other than the nits.
cc @vishh @dchen1107, in case they have any comments about exposing these options

The argument for two parameters is that some people want stdin but not tty (e.g. workflow, non-terminal apps like gdb, etc)
Comments addressed, ptal.
Thanks
--brendan

Looks fine to me - I assume if these are present there is an additional step required for the container to launch (attachment of the input?)

Will want to describe what is required for these to be used in the description once we know that

@smarterclayton actually, I don't think anything more is needed:
docker -d -it busybox

works and produces a valid container.

LGTM

Comments addressed, ptal.
thanks
--brendan

LGTM.
When do we cut the next release? I want to ensure this doesn't end up in a release without the accompanying implementation.

@ncdc
On Saturday, August 1, 2015, Brian Grant<EMAIL_ADDRESS>wrote:

LGTM.
When do we cut the next release? I want to ensure this doesn't end up in a
release without the accompanying implementation.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/12007#issuecomment-126953315
.

@k8s-bot test this please

LGTM

@bgrant0607 can I get an LGTM on this?
Thanks!
--brendan

fwiw, see: https://github.com/GoogleCloudPlatform/kubernetes/pull/12168 for the implementation of this.

Now that the implementation exists, yes.

@k8s-bot test this [testing build queue, sorry for the noise]

@k8s-bot test this [testing build queue, sorry for the noise]

LGTM was before last commit, removing LGTM

@k8s-bot test this [testing build queue, sorry for the noise]

Automatic merge from SubmitQueue


Added support for project names with spaces

msbuild call was not quoted, so any space would break the build (either in the project name or the parent folder containing the project).
Fix #132.

Note: it would be awesome if this was deployed as a new package as soon as reviewed (it's currently a blocker for us).


Using SortingProjector instead of SortingTopNProjector for testUsedMemoryIsAccountedFor test case

Summary of the changes / Why this improves CrateDB
Using SortingProjector instead of SortingTopNProjector for testUsedMemoryIsAccountedFor test case
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Can one of the admins verify this patch?

ok to test


Add different "visible characters" behavior modes.

https://user-images.githubusercontent.com/7645683/144826774-b9c581d1-0e5b-4eb3-926b-f59e0348456e.mov
TODO:

[x] Label
[x] RichTextLabel
[x] Documentation

Fixes #53874, also see comments in #52860

I kinda hope this gets merged ASAP

Thanks!


error: option --cuda-ext not recognized when install the neuralnet-pytorch

Hi @justanhduc,
Thanks for your nice implementation,
I meet an error when using the command in readme pip install "neuralnet-pytorch[gin] @ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23" --global-option="--cuda-ext"
it said  option --cuda-ext not recognized
  cmdoptions.check_install_build_global(options)
Collecting neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23
  Cloning git://github.com/justanhduc/neuralnet-pytorch.git (to revision 6bda19fdc57f176cb82f58d287602f4ccf4cfc23) to /tmp/pip-install-36_85ofg/neuralnet-pytorch_9d5d3799930c4877a52d1ff128748ee3
Requirement already satisfied: matplotlib in ./graphx_venv/lib/python3.6/site-packages (from neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (3.0.3)
Requirement already satisfied: numpy in ./graphx_venv/lib/python3.6/site-packages (from neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (1.19.4)
Requirement already satisfied: gin-config in ./graphx_venv/lib/python3.6/site-packages (from neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (0.4.0)
Collecting future
  Using cached future-0.18.2.tar.gz (829 kB)
Collecting imageio
  Using cached imageio-2.9.0.tar.gz (3.3 MB)
Requirement already satisfied: pillow in ./graphx_venv/lib/python3.6/site-packages (from imageio->neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (8.0.1)
Requirement already satisfied: cycler>=0.10 in ./graphx_venv/lib/python3.6/site-packages (from matplotlib->neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./graphx_venv/lib/python3.6/site-packages (from matplotlib->neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (2.4.7)
Requirement already satisfied: python-dateutil>=2.1 in ./graphx_venv/lib/python3.6/site-packages (from matplotlib->neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (2.8.1)
Requirement already satisfied: kiwisolver>=1.0.1 in ./graphx_venv/lib/python3.6/site-packages (from matplotlib->neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (1.3.1)
Requirement already satisfied: six in ./graphx_venv/lib/python3.6/site-packages (from cycler>=0.10->matplotlib->neuralnet-pytorch[gin]@ git+git://github.com/justanhduc/neuralnet-pytorch.git@6bda19fdc57f176cb82f58d287602f4ccf4cfc23) (1.15.0)
Collecting scipy
  Using cached scipy-1.5.4.tar.gz (25.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Skipping wheel build for neuralnet-pytorch, due to binaries being disabled for it.
Skipping wheel build for future, due to binaries being disabled for it.
Skipping wheel build for imageio, due to binaries being disabled for it.
Building wheels for collected packages: scipy
  Building wheel for scipy (PEP 517) ... done
  Created wheel for scipy: filename=scipy-1.5.4-cp36-cp36m-linux_x86_64.whl size=44709882 sha256=68098fc04ec5590b60a477e6f770f6d06f46774dbfb1f736bae4303751645a26
  Stored in directory: /home/itri/.cache/pip/wheels/65/53/49/bf06728084167eb3898600fff91948ebd35e1c470a3cd06608
Successfully built scipy
Installing collected packages: scipy, imageio, future, neuralnet-pytorch
    Running setup.py install for imageio ... error
    ERROR: Command errored out with exit status 1:
     command: /media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-36_85ofg/imageio_97c7989ce77b41e39080fb6f005fc69a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-36_85ofg/imageio_97c7989ce77b41e39080fb6f005fc69a/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --cuda-ext install --record /tmp/pip-record-clyjvm6q/install-record.txt --single-version-externally-managed --compile --install-headers /media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/include/site/python3.6/imageio
         cwd: /tmp/pip-install-36_85ofg/imageio_97c7989ce77b41e39080fb6f005fc69a/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help

    error: option --cuda-ext not recognized
    ----------------------------------------
ERROR: Command errored out with exit status 1: /media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-36_85ofg/imageio_97c7989ce77b41e39080fb6f005fc69a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-36_85ofg/imageio_97c7989ce77b41e39080fb6f005fc69a/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --cuda-ext install --record /tmp/pip-record-clyjvm6q/install-record.txt --single-version-externally-managed --compile --install-headers /media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/include/site/python3.6/imageio Check the logs for full command output.

Following is my environment
--------------- -------
cycler          0.10.0
gin-config      0.4.0
kiwisolver      1.3.1
matplotlib      3.0.3
numpy           1.19.4
Pillow          8.0.1
pip             20.3.3
protobuf        3.14.0
pyparsing       2.4.7
python-dateutil 2.8.1
scipy           1.5.4
setuptools      50.3.2
six             1.15.0
tensorboardX    1.2
torch           1.2.0
torchvision     0.4.0
wheel           0.35.1

I can't find out the problem, thanks.

Hi. In that case could you please just try cloning the repository, checkout the revision 6bda19fdc57f176cb82f58d287602f4ccf4cfc23 and install using python setup.py install --cuda-ext?

Hi,
it works, I can run the code with neuralnet-pytorch now.
Thank you very much!

Hi,
I meet another error when running the training code.
AttributeError: module 'neuralnet_pytorch' has no attribute 'ext'
Training...
Traceback (most recent call last):
  File "train.py", line 92, in <module>
    train_valid()
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/lib/python3.6/site-packages/gin/config.py", line 1069, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/lib/python3.6/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/lib/python3.6/site-packages/gin/config.py", line 1046, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "train.py", line 86, in train_valid
    valid_freq=val_freq, reduce='mean')
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/lib/python3.6/site-packages/neuralnet_pytorch-1.0.0+fancy.144.g6bda19f-py3.6-linux-x86_64.egg/neuralnet_pytorch/monitor.py", line 843, in run_training
    loss = net.train_procedure(batch, *args, **kwargs)
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/src/networks.py", line 306, in train_procedure
    loss = self.get_loss(batch, reduce, normalized)
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/src/networks.py", line 302, in get_loss
    gt_pc) if isinstance(gt_pc, (list, tuple)) else normalized_chamfer_loss(pred_pc, gt_pc, reduce=reduce, normalized=normalized)
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/src/networks.py", line 301, in <listcomp>
    loss = sum([normalized_chamfer_loss(pred[None], gt[None], reduce=reduce, normalized=normalized) for pred, gt in zip(pred_pc, gt_pc)]) / len(
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/src/networks.py", line 20, in normalized_chamfer_loss
    loss = nnt.chamfer_loss(pred, gt, reduce=reduce)
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/lib/python3.6/site-packages/neuralnet_pytorch-1.0.0+fancy.144.g6bda19f-py3.6-linux-x86_64.egg/neuralnet_pytorch/metrics.py", line 117, in chamfer_loss
    from .extensions import chamfer_distance
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/lib/python3.6/site-packages/neuralnet_pytorch-1.0.0+fancy.144.g6bda19f-py3.6-linux-x86_64.egg/neuralnet_pytorch/extensions/__init__.py", line 1, in <module>
    from .dist_chamfer import chamfer_distance
  File "/media/itri/Files_2TB/chaoyu/pointcloud3d/graphx-conv/graphx_venv/lib/python3.6/site-packages/neuralnet_pytorch-1.0.0+fancy.144.g6bda19f-py3.6-linux-x86_64.egg/neuralnet_pytorch/extensions/dist_chamfer.py", line 3, in <module>
    import neuralnet_pytorch.ext as ext
AttributeError: module 'neuralnet_pytorch' has no attribute 'ext'
  In call to configurable 'GraphX' (<function train_valid at 0x7efeddcfcbf8>)
2020-12-30 15:12:02,628 [Thread-1    ] [INFO ]  Elapsed time 0.16mins run2	Epoch 1 Iteration 0/32514 (0.00%)

My environment setting
Package           Version
----------------- ------------------------
cycler            0.10.0
future            0.18.2
gin-config        0.4.0
imageio           2.9.0
kiwisolver        1.3.1
matplotlib        3.0.3
neuralnet-pytorch 1.0.0+fancy.144.g6bda19f
numpy             1.19.4
Pillow            8.0.1
pip               20.3.3
protobuf          3.14.0
pyparsing         2.4.7
python-dateutil   2.8.1
scipy             1.5.4
setuptools        50.3.2
six               1.15.0
tensorboardX      2.1
torch             1.2.0
torchvision       0.4.0
wheel             0.35.1

I think I have successfully installed the right version of neuralnet-pytorch
(revision 6bda19fdc57f176cb82f58d287602f4ccf4cfc23)
But something went wrong, could you give me some advice about this?
Thanks.

Hello.
It means you didn't successfully install the package.
Could you replace line 28 in setup.py by ext_root = os.path.join(os.getcwd(), 'neuralnet_pytorch/extensions') and run the setup again? This bug was fixed in 1c78fe3.

Hello.
It means you didn't successfully install the package.
Could you replace line 28 in setup.py by ext_root = os.path.join(os.getcwd(), 'neuralnet_pytorch/extensions') and run the setup again? This bug was fixed in 1c78fe3.

Hi, how do you modify the version as '6bda19fdc57f176cb82f58d287602f4ccf4cfc23' ?

Hi, how do you modify the version as '6bda19fdc57f176cb82f58d287602f4ccf4cfc23' ?

I have same question, how did you deal with it?


fix(simput): let simput use getTextMap for conversion

Use a global and fix up InpHelper.getTextMap() so
simput can use it.
Make symmetry line display a bit thicker.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added first draft version of Qubit manager to QIR

Not for merging at this time!
This is the first draft version of the native Qubit Manager with restricted reuse for QIR. Initial unit tests are included.
Qubit Manager supports

Allocation and release of qubits including arrays of qubits.
Reuse encouraged/discouraged. Extending capacity enabled/disabled.
Restricted reuse areas and segments to support low-depth circuits.

Qubit manager builds and tests are run as part of the qir-runtime-unittests. However it is not used at the moment.

I believe I'm done with the review. I assume you don't need approval (requesting for comments in this PR).

An interesting note: the clang-tidy on Linux tends to be stricter than the one on Windows, and has caught a few issues that were reported as errors on that platform causing the native Linux build step to fail. You can see those starting in the log here.

I feel tired/exhausted today. I still need to figure out the logic behind the calls of CQubitManager (Allocate(), Release(), Disable(), ...). I will postpone that until some time later.

Reapproving with minor comments.


issue 690 fixing dragging examples

@tombatossals @jessertaylor merging on travis passing; since this is just example fixes

LGTM :+1


Feature request: Default limit on log size

FEATURE REQUEST
I couldn't find an existing issue on this, so I thought I would mention it as I think it would be helpful for new adopters.
It would be nice if the compose files came with a predefined limit on log size, as Mainflux logs a fair bit of data, and will easily eat a few GB a month. This is easily enough worked around in Docker if one is aware of the problem, but this sort of thing always seems to happen at the worst possible time... :)
Since they use the JSON file logging driver, a fresh docker setup will to my knowledge not have any limit on file size - at least mine did not.

Indicate the importance of this enhancement to you (must-have, should-have, nice-to-have).
Not a must have, but a nice thing to reduce first time user issues I think.

@MisterScience5 Thank you for raising this issue.
docker-compose is meant to be used locally, for development and/or really simple tiny short-living demo's/showcases. This is why we never get into fine tunning like this log size limit etc... For anything above that, we recommend using k8s and helm chart
Can you tell us more about your issue, from a user perspective? When did you hit this limit and size issue? What's your env, local or cloud (some server, etc...)?

For our use, we'd set up a small hosted server on Linode using the smallest available option (1GB RAM, 25GB SSD) . I tried getting a MicroK8S-instance up and running, however the server was too resource constrained, so running MF in Docker-compose ended up being a cheaper option, and performance has been great all the while. I've since upgraded to a 2GB/50GB as some security update pushed me over the limit on available RAM, so there might be enough resources for K8S now.
I've had the server choke from full disks twice in the last 6-7 months before doing anything permanent about it, after cleaning logs it would run 3 months or so with a couple hundred things at which point logs would fill about 10-15GB give or take.

This does not looks to me like a problem that we should address in the code, but it should be rather addressed byt deployment itself (either via K8s scrips or some other way if you are deploying pure docker-compose). @nmarcetic @blokovi what is your opinion on this?

My solution was to add logging limits for the services in the docker compose file, i.e.:
services:
nginx:
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"

@drasko As I first wrote
I don't think its something that we need to add to core composition.
I  understand the usage of very limited compute resources that  @MisterScience5 addressing.
I would suggest you to try optimize docker-compose for production usage, by extending Mainflux base docker-compose  services. You will end up with single production.yaml file that actually wrap each service and there you can do additional configuration that you need (basically it will enherince any Mainflux service that you need to customize).
I would also suggest you to consider different logging drive if you have production or anything abov  tiny short-living demo's/showcase environment. Structual logging will not really help you if you can't search it, filter etc...
Maybe even to consider running this composition as a swarm stack.
What would be probably handful is to create such example and move to separate repo as a reference of  low compute resource usage.

@MisterScience5 I would accept this PR that @nmarcetic proposed, but not pollute the current docker-compose.yml. Our (Mainflux team) preferred way of deploying in production is Kubernetes, docker-compose is used mostly for dev purposes.


Negative arguments get mistaken for short flags

For an invocation matching:
app cmd <arg>

where arg happens to be a negative number:
app cmd -1

The -1 is mistaken for a short flag, and the following error appears:
app: error: unknown short flag '-1', try --help

The error appears even when app.Interspersed(false) has been used.
While it is possible to use a -- separator to explicitly end all flag parsing, it is not obvious from help.
Wouldn't it be better to see if the token matches an arg, and if yes, then suppress it?

So what happens if "-1" is actually a flag? How would you pass that as an argument?

I mean, this is traditionally what -- is designed for.

So what happens if "-1" is actually a flag? How would you pass that as an argument?

It makes sense when "-1" can match a flag.
It is an issue only when "-1" can not match a flag, which is how I came across this.

Right, but I'm asking if -1 is a flag, but you also want to pass it as an argument? I don't think there's a "right" answer here beyond "use --".

but I'm asking if -1 is a flag, but you also want to pass it as an argument?

No.
I want to pass it as an argument when it couldn't possibly match a flag. As I said in the very first line of my description of the issue:

For an invocation matching:
app cmd <arg>

Not, app [flags] cmd [flags] <arg>.

Yes, I understand what you're saying. But I'm asking you a broader question in return. Anyway, no, I don't think this is a good idea, as it isn't a general solution to this problem.


Behaviour for a course with no pre req, co req or restrictions

we need to figure out a default behaviour for courses with no requirement infos. Currently it's just a blank space on the course page

I was thinking we would just show all restriction headers and display 'This course has no X' under them for when a course doesn't have any X, X = prerequisites, corequisites, ...


【代码迁移】任务36：Multirate Training of Neural Networks

运行结果截图

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zxlzd seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Input System V3.5 - "Improved Ghost Note Detection"

old detection method worked nicely but was very prone to errors in charts that have a ton of ghost notes, now inputs do a single thing while ghost notes get deleted when loading the chart in the first place

this will be a draft until it's fully tested

last commit was made so if this ever gets merged, it doesn't break any mods that use that preference

fixed the conflicts already, i'm just testing to see if nothing broke

fixed the conflicts already, i'm just testing to see if nothing broke

i fixed on my end, i have yet to push the commit

my branch fucked up big time hold on


fs.close() callback not provided in write-entry.js.

I started seeing this error today:
fs.js:136
    throw new ERR_INVALID_CALLBACK();
    ^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
    at makeCallback (fs.js:136:11)
    at Object.close (fs.js:394:20)
    at Object.[close] (/home/dev/repo/node_modules/tar/lib/write-entry.js:225:8)
    at Object.[onread] (/home/dev/repo/node_modules/tar/lib/write-entry.js:243:18)
    at fs.read (/home/dev/repo/node_modules/tar/lib/write-entry.js:220:19)
    at FSReqWrap.wrapper [as oncomplete] (fs.js:467:17)

We're using tar v4.4.11. This error occurs when executing a tar.create() function on Ubuntu (Node v10.16.1) , but not on Windows (Node v12.4).
I think the issue is with the second parameter to the fs.close() function. Since Node v10 a callback is required as the second parameter.
In the lib/write-entry.js, that callback is not always provided. It's provided here:
https://github.com/npm/node-tar/blob/9232b3d7da934c142e3d0ab97ef35ec0ba3917fc/lib/write-entry.js#L219
and here:
https://github.com/npm/node-tar/blob/9232b3d7da934c142e3d0ab97ef35ec0ba3917fc/lib/write-entry.js#L269
But not here:
https://github.com/npm/node-tar/blob/9232b3d7da934c142e3d0ab97ef35ec0ba3917fc/lib/write-entry.js#L234
nor here:
https://github.com/npm/node-tar/blob/9232b3d7da934c142e3d0ab97ef35ec0ba3917fc/lib/write-entry.js#L243
I'm not sure how Node API changes are handled within this library so I can't send some code. I think there either needs to be code to check the Node version and act appropriately, or a specific version needs to be used as the default (ie. the latest one where the callback is required.)

Yeah, that's definitely an issue.  I was scratching my head because I could've sworn I'd fixed this, but it turns out I'd only fixed it on the v5 branch :)