Issues with running lighting_tutorial

I created a new conda environment(pythpn3.8.10 & cmake3.4.10) & installed habitat-sim with conda install habitat-sim withbullet -c conda-forge -c aihabitat. Then I ran 'python3 setup.py --bullet install'.

When I test the installation with habitat-viewer /path/to/data/scene_datasets/habitat-test-scenes/skokloster-castle.glb the following gets printed to terminal & viewer pops up & just stays blank(screenshot attached). Wait doesn't help, so I had to click 'Force Quit' which ultimately kills the simulator.

Terminal output:
Renderer: AMD RENOIR (DRM 3.42.0, 5.14.8-051408-lowlatency, LLVM 12.0.0) by AMD OpenGL version: 4.6 (Core Profile) Mesa 21.0.3 Using optional features:     GL_ARB_vertex_array_object     GL_ARB_ES2_compatibility     GL_ARB_separate_shader_objects     GL_ARB_robustness     GL_ARB_texture_storage     GL_ARB_invalidate_subdata     GL_ARB_texture_storage_multisample     GL_ARB_multi_bind     GL_ARB_direct_state_access     GL_ARB_get_texture_sub_image     GL_ARB_texture_filter_anisotropic     GL_KHR_debug Using driver workarounds:     no-layout-qualifiers-on-old-glsl     mesa-implementation-color-read-format-dsa-explicit-binding     mesa-dsa-createquery-except-pipeline-stats     mesa-forward-compatible-line-width-range WARNING: Logging before InitGoogleLogging() is written to STDERR I1116 10:16:43.308897 46267 ManagedFileBasedContainer.h:210] <Dataset>::convertFilenameToPassedExt : Filename : default changed to proposed scene_dataset_config.json filename : default.scene_dataset_config.json I1116 10:16:43.308987 46267 AttributesManagerBase.h:365] <Dataset>::createFromJsonOrDefaultInternal : Proposing JSON name : default.scene_dataset_config.json from original name : default | This file  does not exist. I1116 10:16:43.309165 46267 AssetAttributesManager.cpp:120] Asset attributes (capsule3DSolid : capsule3DSolid_hemiRings_4_cylRings_1_segments_12_halfLen_0.75_useTexCoords_false_useTangents_false) created and registered. I1116 10:16:43.309232 46267 AssetAttributesManager.cpp:120] Asset attributes (capsule3DWireframe : capsule3DWireframe_hemiRings_8_cylRings_1_segments_16_halfLen_1) created and registered. I1116 10:16:43.309274 46267 AssetAttributesManager.cpp:120] Asset attributes (coneSolid : coneSolid_segments_12_halfLen_1.25_rings_1_useTexCoords_false_useTangents_false_capEnd_true) created and registered. I1116 10:16:43.309299 46267 AssetAttributesManager.cpp:120] Asset attributes (coneWireframe : coneWireframe_segments_32_halfLen_1.25) created and registered. I1116 10:16:43.309315 46267 AssetAttributesManager.cpp:120] Asset attributes (cubeSolid : cubeSolid) created and registered. I1116 10:16:43.309324 46267 AssetAttributesManager.cpp:120] Asset attributes (cubeWireframe : cubeWireframe) created and registered. I1116 10:16:43.309355 46267 AssetAttributesManager.cpp:120] Asset attributes (cylinderSolid : cylinderSolid_rings_1_segments_12_halfLen_1_useTexCoords_false_useTangents_false_capEnds_true) created and registered. I1116 10:16:43.309383 46267 AssetAttributesManager.cpp:120] Asset attributes (cylinderWireframe : cylinderWireframe_rings_1_segments_32_halfLen_1) created and registered. I1116 10:16:43.309399 46267 AssetAttributesManager.cpp:120] Asset attributes (icosphereSolid : icosphereSolid_subdivs_1) created and registered. I1116 10:16:43.309422 46267 AssetAttributesManager.cpp:120] Asset attributes (icosphereWireframe : icosphereWireframe_subdivs_1) created and registered. I1116 10:16:43.309448 46267 AssetAttributesManager.cpp:120] Asset attributes (uvSphereSolid : uvSphereSolid_rings_8_segments_16_useTexCoords_false_useTangents_false) created and registered. I1116 10:16:43.309473 46267 AssetAttributesManager.cpp:120] Asset attributes (uvSphereWireframe : uvSphereWireframe_rings_16_segments_32) created and registered. I1116 10:16:43.309482 46267 AssetAttributesManager.cpp:108] ::constructor : Built default primitive asset templates : 12 I1116 10:16:43.310115 46267 SceneDatasetAttributesManager.cpp:36] File (default) not found, so new default dataset attributes created and registered. I1116 10:16:43.310148 46267 MetadataMediator.cpp:127] ::createSceneDataset : Dataset default successfully created. I1116 10:16:43.310160 46267 AttributesManagerBase.h:365] <Physics Manager>::createFromJsonOrDefaultInternal : Proposing JSON name : ./data/default.physics_config.json from original name : ./data/default.physics_config.json | This file  exists. I1116 10:16:43.310266 46267 PhysicsAttributesManager.cpp:26] JSON Configuration File (./data/default.physics_config.json) based physics manager attributes created and registered. I1116 10:16:43.310273 46267 MetadataMediator.cpp:212] ::setActiveSceneDatasetName : Previous active dataset  changed to default successfully. I1116 10:16:43.310277 46267 MetadataMediator.cpp:183] ::setCurrPhysicsAttributesHandle : Old physics manager attributes  changed to ./data/default.physics_config.json successfully. I1116 10:16:43.310288 46267 MetadataMediator.cpp:68] ::setSimulatorConfiguration : Set new simulator config for scene/stage :  and dataset : default which is currently active dataset. Using PhysicsManager config:  /home/sparsh/habitat/habitat-sim/./data/default.physics_config.json I1116 10:16:43.316956 46267 AttributesManagerBase.h:365] <Physics Manager>::createFromJsonOrDefaultInternal : Proposing JSON name : /home/sparsh/habitat/habitat-sim/./data/default.physics_config.json from original name : /home/sparsh/habitat/habitat-sim/./data/default.physics_config.json | This file  exists. I1116 10:16:43.317085 46267 PhysicsAttributesManager.cpp:26] JSON Configuration File (/home/sparsh/habitat/habitat-sim/./data/default.physics_config.json) based physics manager attributes created and registered. I1116 10:16:43.317096 46267 MetadataMediator.cpp:68] ::setSimulatorConfiguration : Set new simulator config for scene/stage : ../versioned_data/habitat_test_scenes_1.0/skokloster-castle.glb and dataset : default which is currently active dataset. I1116 10:16:43.317112 46267 ManagedFileBasedContainer.h:210] <Object Template>::convertFilenameToPassedExt : Filename : data/objects/example_objects changed to proposed object_config.json filename : data/objects/example_objects.object_config.json W1116 10:16:43.317118 46267 AttributesManagerBase.h:301] <Object Template>::loadAllTemplatesFromPathAndExt : Parsing Object Template : Cannot find data/objects/example_objects as directory or data/objects/example_objects.object_config.json as config file. Aborting parse. I1116 10:16:43.317122 46267 viewer.cpp:771] Scene Dataset Configuration file location : default | Loading Scene : ../versioned_data/habitat_test_scenes_1.0/skokloster-castle.glb I1116 10:16:43.317131 46267 MetadataMediator.cpp:68] ::setSimulatorConfiguration : Set new simulator config for scene/stage : ../versioned_data/habitat_test_scenes_1.0/skokloster-castle.glb and dataset : default which is currently active dataset. Killed

When I try to run the lighting_setup tutorial with python3 examples/tutorials/lighting_tutorial.py, I get the following error:
ImportError: generic_type: type "SceneNode" referenced unknown base type "Magnum::SceneGraph::Object<Magnum::SceneGraph::BasicTranslationRotationScalingTransformation3D<float> >"

Thanks for the help!

installed habitat-sim with conda install habitat-sim withbullet -c conda-forge -c aihabitat. Then I ran 'python3 setup.py --bullet install'.

Don't install habitat-sim via conda and then via setup.py. That may end up causing a version mismatch between habitat and magnum (which seems like what happened here). Do only one or the other.

Thanks for the reply @erikwijmans!
When I ran lighting_setup.py before installing habitat via python3 setup.py --bullet install I was getting something like system is configured to run bullet but bullet isn't installed. Hence, I ran the above command with setup.py, hoping that it'd solve the issue (Also, I thought I came across something like 'bullet physics engine doesn't get automatically installed with conda install').
Now, I tried to create a new conda environment & installed habitat-sim only with conda. I was able to run the testing with habitat-viewer, but lighting_tutorial.py isn't running. I'm getting a Segmentation fault (core dumped) error. The following is the complete terminal output:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1118 00:03:13.779678 12889 ManagedFileBasedContainer.h:210] ::convertFilenameToPassedExt : Filename : default changed to proposed scene_dataset_config.json filename : default.scene_dataset_config.json
I1118 00:03:13.779711 12889 AttributesManagerBase.h:365] ::createFromJsonOrDefaultInternal : Proposing JSON name : default.scene_dataset_config.json from original name : default | This file  does not exist.
I1118 00:03:13.779958 12889 AssetAttributesManager.cpp:120] Asset attributes (capsule3DSolid : capsule3DSolid_hemiRings_4_cylRings_1_segments_12_halfLen_0.75_useTexCoords_false_useTangents_false) created and registered.
I1118 00:03:13.780009 12889 AssetAttributesManager.cpp:120] Asset attributes (capsule3DWireframe : capsule3DWireframe_hemiRings_8_cylRings_1_segments_16_halfLen_1) created and registered.
I1118 00:03:13.780047 12889 AssetAttributesManager.cpp:120] Asset attributes (coneSolid : coneSolid_segments_12_halfLen_1.25_rings_1_useTexCoords_false_useTangents_false_capEnd_true) created and registered.
I1118 00:03:13.780071 12889 AssetAttributesManager.cpp:120] Asset attributes (coneWireframe : coneWireframe_segments_32_halfLen_1.25) created and registered.
I1118 00:03:13.780082 12889 AssetAttributesManager.cpp:120] Asset attributes (cubeSolid : cubeSolid) created and registered.
I1118 00:03:13.780093 12889 AssetAttributesManager.cpp:120] Asset attributes (cubeWireframe : cubeWireframe) created and registered.
I1118 00:03:13.780120 12889 AssetAttributesManager.cpp:120] Asset attributes (cylinderSolid : cylinderSolid_rings_1_segments_12_halfLen_1_useTexCoords_false_useTangents_false_capEnds_true) created and registered.
I1118 00:03:13.780143 12889 AssetAttributesManager.cpp:120] Asset attributes (cylinderWireframe : cylinderWireframe_rings_1_segments_32_halfLen_1) created and registered.
I1118 00:03:13.780156 12889 AssetAttributesManager.cpp:120] Asset attributes (icosphereSolid : icosphereSolid_subdivs_1) created and registered.
I1118 00:03:13.780166 12889 AssetAttributesManager.cpp:120] Asset attributes (icosphereWireframe : icosphereWireframe_subdivs_1) created and registered.
I1118 00:03:13.780184 12889 AssetAttributesManager.cpp:120] Asset attributes (uvSphereSolid : uvSphereSolid_rings_8_segments_16_useTexCoords_false_useTangents_false) created and registered.
I1118 00:03:13.780198 12889 AssetAttributesManager.cpp:120] Asset attributes (uvSphereWireframe : uvSphereWireframe_rings_16_segments_32) created and registered.
I1118 00:03:13.780205 12889 AssetAttributesManager.cpp:108] ::constructor : Built default primitive asset templates : 12
I1118 00:03:13.780763 12889 SceneDatasetAttributesManager.cpp:36] File (default) not found, so new default dataset attributes created and registered.
I1118 00:03:13.780778 12889 MetadataMediator.cpp:127] ::createSceneDataset : Dataset default successfully created.
I1118 00:03:13.780786 12889 AttributesManagerBase.h:365] ::createFromJsonOrDefaultInternal : Proposing JSON name : ./data/default.physics_config.json from original name : ./data/default.physics_config.json | This file  exists.
I1118 00:03:13.781102 12889 PhysicsAttributesManager.cpp:26] JSON Configuration File (./data/default.physics_config.json) based physics manager attributes created and registered.
I1118 00:03:13.781116 12889 MetadataMediator.cpp:212] ::setActiveSceneDatasetName : Previous active dataset  changed to default successfully.
I1118 00:03:13.781119 12889 MetadataMediator.cpp:183] ::setCurrPhysicsAttributesHandle : Old physics manager attributes  changed to ./data/default.physics_config.json successfully.
I1118 00:03:13.781123 12889 MetadataMediator.cpp:68] ::setSimulatorConfiguration : Set new simulator config for scene/stage : data/scene_datasets/habitat-test-scenes/van-gogh-room.glb and dataset : default which is currently active dataset.
Renderer: AMD RENOIR (DRM 3.42.0, 5.14.8-051408-lowlatency, LLVM 12.0.0) by AMD
OpenGL version: 4.6 (Core Profile) Mesa 21.0.3
Using optional features:
GL_ARB_vertex_array_object
GL_ARB_ES2_compatibility
GL_ARB_separate_shader_objects
GL_ARB_robustness
GL_ARB_texture_storage
GL_ARB_invalidate_subdata
GL_ARB_texture_storage_multisample
GL_ARB_multi_bind
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_texture_filter_anisotropic
GL_KHR_debug
Using driver workarounds:
no-layout-qualifiers-on-old-glsl
mesa-implementation-color-read-format-dsa-explicit-binding
mesa-dsa-createquery-except-pipeline-stats
mesa-forward-compatible-line-width-range
I1118 00:03:13.817095 12889 ManagedFileBasedContainer.h:210] ::convertFilenameToPassedExt : Filename : data/scene_datasets/habitat-test-scenes/van-gogh-room.glb changed to proposed scene_instance.json filename : data/scene_datasets/habitat-test-scenes/van-gogh-room.scene_instance.json
I1118 00:03:13.817118 12889 MetadataMediator.cpp:311] ::getSceneAttributesByName : Dataset : default has no preloaded SceneAttributes or StageAttributes named : data/scene_datasets/habitat-test-scenes/van-gogh-room.glb so loading/creating a new StageAttributes with this name, and then creating a SceneAttributes with the same name that references this stage.
I1118 00:03:13.817127 12889 ManagedFileBasedContainer.h:210] ::convertFilenameToPassedExt : Filename : data/scene_datasets/habitat-test-scenes/van-gogh-room.glb changed to proposed stage_config.json filename : data/scene_datasets/habitat-test-scenes/van-gogh-room.stage_config.json
I1118 00:03:13.817132 12889 AttributesManagerBase.h:365] ::createFromJsonOrDefaultInternal : Proposing JSON name : data/scene_datasets/habitat-test-scenes/van-gogh-room.stage_config.json from original name : data/scene_datasets/habitat-test-scenes/van-gogh-room.glb | This file  does not exist.
E1118 00:03:13.817241 12889 StageAttributesManager.cpp:86] ::registerObjectFinalize : Render asset template handle : data/scene_datasets/habitat-test-scenes/van-gogh-room.glb specified in stage template with handle : data/scene_datasets/habitat-test-scenes/van-gogh-room.glb does not correspond to any existing file or primitive render asset.  Aborting.
Segmentation fault (core dumped)

data/scene_datasets/habitat-test-scenes/van-gogh-room.glb does not correspond to any existing file or primitive render asset. Aborting.
Looks like you need to download the example assets as described here.

Thanks for the reply @aclegg3! It helps.
I actually ran that command & downloaded the example assets. It got downloaded as data/versioned_data/habitat_test_scenes_1.0/ & the lighting_tutorial.py expects data as data/scene_datasets/habitat-test-scenes/.
https://github.com/facebookresearch/habitat-sim/blob/3f385c4976dc2f8394f8e3f823ad21ef1d4cecbe/examples/tutorials/lighting_tutorial.py#L58
I changed the above line of code to data/versioned_data/habitat_test_scenes_1.0/ & it works! You probably want to modify lighting_tutorial.py accordingly.
Thanks!

Thanks @sparsh-umd, the datasets downloader should be creating data/scene_datasets/habitat-test-scenes as a symbolic link to data/versioned_data/habitat_test_scenes_1.0/ . Maybe this wasn't working properly on your system? I think your solution of using the absolute path makes sense, but beware other possible issues with tutorial code expecting that symlinks are created and valid.

Thanks for the reply @aclegg3 !
Oh, right! I understand what happened.
I downloaded the dataset on a different machine (The symlinks are working here) & just copied the data from that machine to the current machine I'm running the tutorial on.


Format code

Resolves #33

Coverage remained the same at 54.053% when pulling f27e923c8777ad053525c65092f064d059c6fc12 on format-code into 972ec5c4a887bae83883d22aeecbc0f5736f4b59 on development.


Importing breadboard breaks Webpack builds

We have magic comments in place for Vite to ignore certain imports in client-side code, but not for webpack
https://github.com/breadboard-ai/breadboard/blob/ff6e3e066e80d6149203094189c45efa345944fd/packages/breadboard/src/loader/default.ts#L28
The equivalent comment for Webpack is webpack-ignore
https://webpack.js.org/api/module-methods/#magic-comments
Steps to Reproduce the Problem

Import a function or class from @google-labs/breadboard in client-side code in a project built with webpack

Expected Behavior
Code that is specifically server-side (e.g. code that interacts with the file system) is excluded from the Webpack build.
Actual Behavior
Webpack raises an error at build time.
Failed to compile.

node:fs/promises
Module build failed: UnhandledSchemeError: Reading from "node:fs/promises" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.

(note that importing types only does not trigger this error)


Added edge preloading for vertices

There is a configuration property for setting the edge labels you want to preload but I don't think it is being used.

This is still not being used.


[0.8] readOnly property without notify will not be readOnly

If a property foo is readOnly but does not notify, a _setFoo setter is not created, and the foo property will be directly settable.
Relatedly, considering the following contrived element:
<link rel="import" href="../polymer/polymer.html">
<script>
  Polymer({
    is: 'test-el',

    properties: {
      foo: {
        readOnly: true,
        value: function() {
          console.log('The foo setter is:', typeof this._setFoo);
        }
      },

      bar: {
        readOnly: true,
        notify: true,
        value: function() {
          console.log('The bar setter is:', typeof this._setBar);
        }
      }
    }
  })
</script>

The console output is:
The foo setter is: undefined
The bar setter is: function

I'm seeing this behavior as well.

Fixed in https://github.com/Polymer/polymer/commit/3428904744254db20f83c1c81e7fbc2257a69d3f#diff-b4a3d550848337ffd82c9363497e30f3R68


Fixed README typos and added credits/contacts to ALL contributors in #Contact

The Contact section now has links to everyone's email/company/GitHub/Google Scholar. Only enhanced README, no add or delete data. Revision preview shown here:

Here's the previous/current version for comparison:

@liucl19 Tagging my mentor for review.


Move BotIdentityKey to BotAdapter from BotFrameworkAdapter

Related to #1523
Description
Move BotIdentityKey from  BotFrameworkADapter to BotAdapter.
This is a port of the changes made here:
https://github.com/microsoft/botbuilder-dotnet/issues/3146
Specific Changes

Pull Request Test Coverage Report for Build 107628

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.862%

Totals

Change from base Build 107533:
0.0%

Covered Lines:
8750

Relevant Lines:
11469

💛  - Coveralls

@benbrown, @stevenic I have a PR out in dotnet that adds an overload for taking the OAuthScope/Audience value: https://github.com/microsoft/botbuilder-dotnet/pull/3409, maybe I should schedule a sync-up to discuss the necessary changes in dotnet and what needs to be ported.
@johnataylor, @carlosscastro

NOTE: This should not be merged until it has been adequately tested. I don't have the information required to test skills myself.


chore: update registry

Closing in favor of : https://github.com/paritytech/asset-transfer-api-registry/pull/71


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter zendure-solarflow for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.zendure-solarflow
   -

ERRORS:

[ ] :heavy_exclamation_mark: [E162] js-controller 3.3.22 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.

WARNINGS:

[ ] :eyes: [W040] "keywords" within package.json should contain "ioBroker"
[ ] :eyes: [W046] devDependency should not require a specific version. Use "~1.2.3" or "^1.2.3" syntax. Please update "@iobroker/adapter-react:2.2.4"
[ ] :eyes: [W046] devDependency should not require a specific version. Use "~1.2.3" or "^1.2.3" syntax. Please update "prettier:3.2.5"
[ ] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

This issue has been replaced by new isse #59
This issue can be closed.
your
ioBroker Check and Service Bot


Drop shadow is cut off on the last item in the channel list summary view.

Description
Drop shadow is cut off on the last item in the channel list summary view.
Expected Behavior
Drop shadow should display correctly
Actual Behavior
Drop shadow is cut off at the bottom

Possible Fix
Adjust padding/margin
Steps to Reproduce
Scroll right to the bottom of the channel list and look at the drop shadow at the bottom of the last item
You must be on the summary view. Card view doesn't have the same issue
Your Environment

Zap version: 0.4.x
Operating System and version: mac

Closed via https://github.com/LN-Zap/zap-desktop/pull/1678


How to modify requests made to pages that I subscribe to?

Can i customise the User Agent headers? I want to leverage on socks5-https-client when performing the requests.
Thanks in advance.

This seemed like a good idea, so I quickly added a new config.json value that lets you set the User-Agent header.
It's documented here --
https://github.com/scripting/river5/blob/master/docs/CONFIG.md#httpport-1337
Let me know if it works.

Hi,
What should i change the User Agent headers to? It looks like socks5-https-client requires edit to the request headers.
var Agent = require('socks5-http-client/lib/Agent');

request(**{
	url: 'http://en.wikipedia.org/wiki/SOCKS',
	agentClass: Agent,
	agentOptions: {
		socksHost: 'my-tor-proxy-host', // Defaults to 'localhost'.
		socksPort: 9050 // Defaults to 1080.
	}**
}, function(err, res) {
	console.log(err || res.body);
});

I think i'll have to npm install socks5 first, then pass the Agent into the request.


elpais.com Incorrect parsing

Platform: Windows 10
Mercury Parser Version: <IP_ADDRESS>
Node Version (if a Node bug):
Browser Version (if a browser bug): Chrome Version 72.0.3626.109 (Official Build) (32-bit)

Expected Behavior
Parsed page should have whole information

Current Behavior
Only the information on grey box at the bottom was displayed

Steps to Reproduce
Open page https://elpais.com/politica/2019/07/03/actualidad/1562148329_246724.html

Detailed Description

Possible Solution
Parse webpage correctly, with all information, both on the main text and the text on the box.

Hi @nmrsousa, I recommend creating a custom parser for this use-case.
Please see: https://github.com/postlight/mercury-parser/blob/master/src/extractors/custom/README.md


Error "Could not determine  a title id for this" when export and run the project

After exporting and run the project, when using Login with Custom ID. it shows the error "Could not determine  a title id for this"
But running the project in Editor, the login fuction works fine.
godot-playfab version: 1.0.0
Godot 4.1 beta1

This was a regression. Fixes a problem where, for Godot 3, I had naively skipped the first three elements of an object that was to be serialized, because it only contained Godot specific metadata that wouldn't need serialization in the context of serialising to JSON for HTTP requests.
Godot 3 always had these in the same order, at the first three elements of an object.
However, with Godot 4, this order is no longer guaranteed. I had fixed this at one point, but some of that seems to have gotten lost in the migration effort.
Thank you very much for finding this, @natnankumchin!


Move from pip to conda for Requirements File

Implemented with https://github.com/brightway-lca/brightway-learn/commit/631b47f44c5ad296beb3fa93fba7194eae7c217d


Remove dependency on rust nightly

Upgrade to tacho 0.4.1 so that rust nightly is not required.
RUSTFMT FOR THE RUSTFMT DIETY!  Apply new rustfmt style to the whole repo.

no functional change, ship myself. ☄


Added range functionality to Faker::Commerce.price

This pull request allows a range (via two values) to be passed to Faker::Commerce.price with the idea that developers who have price level validations can choose where this random price falls.  After digging through the code I realized there was already a helper method found in Faker::Base.rand_in_range which does exactly that.
Prior to this all prices fell between 0..100.

👍

This is already implemented so closing this PR.


keyboard-layout-editor: init at 0-unstable-2019-05-14

Fixes #124134
Tested program, works well.
Things done

Built on platform(s)

[x] x86_64-linux

[x] Tested basic functionality of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@ofborg build keyboard-layout-editor


Clarify java version required for building

PR Description
Clarify required version of Java.
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

Also made source for a table prettier...


Execute with lifecycle log level when not attached to a terminal

Expected Behavior
Executing a Gradle build when not attached to a terminal or with output > redirected | piped
Current Behavior
The default log level LIFECYCLE provides console output for external tools to scrape for information e.g. task executions. Most of these tools run on console=plain. Optimally, these tools would use the tooling API but some simply don't do that at the moment.
Context
The default log level is going to be changed from LIFECYCLE to WARN (https://github.com/gradle/gradle/issues/1610). Tooling that used to rely on this console output previously available usually run with console=plain (e.g. Jenkins plugin, IDE etc.). For them to continue working as before sufficient output needs to be available.
Test Cases

From a terminal the build renders output on WARN log level.
From a terminal the build renders output on LIFECYCLE log level if configured with --console=plain.
From a terminal the build renders output on provided log level if command line option is provided.
From Jenkins/IDE the build renders output on LIFECYCLE log level.
From Jenkins/IDE the build renders output on LIFECYCLE log level if configured with --console=plain.
From Jenkins/IDE the build renders output on provided log level if command line option is provided.

Setting WARN log level by command line option or system property is going to be ignored for this issue. In it's currently form it will render LIFECYCLE log level if not terminal is available.

This is blocked somewhat by #1610

I don't think it's necessarily blocked. What we'd do is to just set to LIFECYCLE. However, we would really see a change in behavior before #1610 is merged.

It's blocked in that the tests will fail until #1610 is merged.  But I suppose it's not technically blocked until it is ready to merge.  Right now it's just mustComeAfter

From a terminal the build renders output on LIFECYCLE log level if configured with --console=plain

I'm not sure we should consider --console plain at all

Decided to implement it in a different way.


shuffle full Librispeech data

We noticed when training with the librispecch tdnn_lstm_ctc recipe, there is an occilation in the training loss curve:

[tensorboard]
Initial learning rate = 1e-4
WER: 7.04 test-clean, 18.28 test-other

With @desh2608 's help and suggestion (-- he had this issue in the SPGI recipe), we tried two ways to deal with it.

As done in this PR, we shuffle the CutSet for librispeech. Due to the lazy evaluation mechanism, extra step has to be taken to force the CutSet to be "not-lazy" so that the full dataset can be mixed properly.

[tensorboard]
Initial learning rate = 1e-4
WER: 6.85 test-clean, 17.74 test-other

However, I noticed a new issue of the shuffling. The running time become 1.5x slower even when using the same GPUs, if you compare the two tensorboards above.
It may be due to the lost of benefits of reading CutSet lazily, but this may not be the case. See below.

We shuffle the jsonl files offline, and load them lazily as in here:

cat <(gunzip -c data/fbank/librispeech_cuts_train-clean-100.jsonl.gz) \
  <(gunzip -c data/fbank/librispeech_cuts_train-clean-360.jsonl.gz) \
  <(gunzip -c data/fbank/librispeech_cuts_train-other-500.jsonl.gz) | \
  shuf | gzip -c > data/fbank/librispeech_cuts_train-all-shuf.jsonl.gz

The result is in:

[tensorboard]
Initial learning rate = 1e-4
WER: 6.86 test-clean, 17.8 test-other

The running time turns out the same as the first method.
What makes me more confusing is that, in my previous experiment, shuffling the cuts offline does not make training slower.

[tensorboard]
Initial learning rate = 1e-4
WER: 6.83 test-clean, 17.91 test-other

However, I could not replicate this experiment anymore.
I hope to put this issue here now for more dicussion, if you think more investigation is worthwhile. Thanks.

Interesting... the only difference I can think of when using eager vs lazy CutSets is that with eager, you are holding much more objects in memory, and the cuts are being pickled and piped over processes in the DataLoader. But without proper profiling it is very difficult for me to hypothesize why you would see such a slowdown...

Thanks, Piotr, for the comments! What would you suggest to set up the profiling properly?
I have been worried that I might have done something wrong without knowing it. I am thinking to replicate the "offline shuffling" experiment first. In that case, there shouldn't be any training time slowdown right?

Since it looks like the issue is related to dataloading, first thing I'd do is remove the training code and just iterate over the dataloader for simpler profiling. Then you can do it multiple ways. One way is to measure the time it takes between every step of iteration over mini-batches. If your hypothesis is true, you should see that the average per-step time it takes to iterate over an eager CutSet is longer than with a lazy CutSet. You can probably dig deeper using py-spy (either top or record commands) and try to identify in which function the program spends more time when using eager vs lazy. You might need to attach to different processes from multiple terminals (the main process/consumer and the dataloading process/producer).
I also realized later that whatever slowdown you observe might be related to how much load there is on your cluster. If a lot of people are using magnetic disks data for reads/writes, or overloading the CPUs, etc. you might see slowdowns. Try to monitor these things with tools like htop / iotop / nmon to confirm the slowdown is not related to external load.

And yes, for "offline shuffling" we shouldn't expect any slowdown.

Perhaps we could change the data-prep scripts to shuffle the data offline?
We were trying to move towards lazy loading of data anyway.

Ok, if that's so, I will make the offline shuffling work for now.
What if people want to train on libri-100 + 360 parts only? Then, in the data prep, we will need to provide several shuffled mixture: 100, 100+360, 100+360+500. Is that what we hope to have?

We only have options for 100 and 960 right now.  so no need to do all possible amounts.

@huangruizhe
Could you please the code style issues?

Yes, I will do that.

Not sure why it does not pass the automatic checks. All checks are passed locally

Not sure why it does not pass the automatic checks. All checks are passed locally

Are you using the same version of black as listed in
https://k2-fsa.github.io/icefall/contributing/code-style.html

It works!
With the black comes with "git commit" automatically, the changes were passed locally but not here.
With the suggested version of black installed and run black your_changed_file.py, the style inconsitency is found.

@huangruizhe
Could you also propagate the changes to other folders for librispeech?

Is this change going to be merged?

Is this change going to be merged?

Sorry. Missed this PR.


String.get_slice_count() on empty string returns 0

Godot version
Godot v4.2.dev5 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - integrated Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)
System information
Godot v4.2.dev5 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - integrated Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)
Issue description
String.get_slice_count() on empty string always returns 0, but empty strings normally count.
This is unexpected and it's also the only case inconsistent with the default parameters of split(). In general, this method is advertised as a cheap substitute to split() and getting the size of the returned PackedStringArray.
Examples:
"a,b,c".split(",") returns ["a", "b", "c"] and is considered as 3 slices.
",,".split(",") returns ["", "", ""] and is considered as 3 slices.
"".split("") returns [""] but is considered as 0 slices.
Steps to reproduce
prints("".split(",").size(), "".get_slice_count(";"))  # Prints "1 0"

Minimal reproduction project
N/A

It also seems like get_slice_count() doesn't follow split()'s convention of considering empty splitters as something that should split all characters.
So "abc".split("") returns ["a", "b", "c"] but is considered as 0 slices.

Investigating further - the behavior described in my last comment is consistent with how get_slice() is implemented (which method is also a proposed alternative for split(), but doesn't work with empty delimiters).
But get_slice() always returns an empty string on invalid input, so changing the behavior in the original post is not inconsistent.
(good lord, the logic around empty strings in our String class is so royally messed up)


Touch and multi-touch support discussion

Comfortable touch operation is the first priority for miRack and obviously provides experience much closer to real hardware than mouse operation. This particular thread is for discussion of touch/multi-touch operation, originated from a similar issue in VCVRack repo by @alectron.
miRack is primarily supposed to be used on ARM boards likely with a touch screen, but can be used on desktops as well. Due to inability and unwilingness of the VCVRack author to work on touch support, I may implement it in miRack for desktops as well if there’s a demand.
Anyway, the suggestions from the original thread that are going to be implemented first are

[x] larger hit zones for controls and ports. This is a simple change as long as larger zones of different controls don’t intersect.
[x] module locking, so that accidentially dragging a module background doesn’t move the module. On touch screens this will probably be the default mode, with touch and hold to move modules.

Multi-touch is the next step once my multi-touch screen arrives and I learn how to work with multi-touch devices on Linux.

Yes, it's done. I think you should be able to apply this patch to VCV code too if you're able/willing to compile yourself. I don't see another way as even if I eventually make my fork available for Windows, closed-source plugins won't work with it.

The current VCV rack version is unusable.
Is it currently possible to compile mi-rack for windows ?
Or may I try to compile VCV rack version applying the patch you mentionned in first post ? (https://github.com/VCVRack/Rack/issues/960)
The problem is that I cannot figure where to apply the patch (where is the settings.json file ?)
Thanks in advance
Jean-Yves


⚠ Samsung has degraded performance

In 75ec5f0, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1582 ms

Resolved: Samsung performance has improved in 0ae5657.


Can you add a license?

Great component! Would like to include this in my projects.

Spoke too soon. I see it in your package.json. Maybe you can add it through github too? and a LICENSE.md file?

Hi, no problem, just added a LICENSE file.
Hope that helps! Feel free to let me know if you have any other suggests or improvements.


Add support for variables

Variables are stored expressions that are lazily evaluated when the variable is used.

Variables must not start with a number and can have alphanumeric characters and underscore. No other characters are allowed.
Restrict length of variable names to 128.
Ensure circular dependencies are not allowed in the variable expression. For example:_c = _c + 1

should not be allowed, but an expression of a variable may reference other variables.
Have in-built read-only variables to hold constants for e.g, PI, E, _4K, PAGE_SIZE etc.
Variables should be case insensitive.

I hardly ever use variables. Closing.


Add test 'test_backing_image_content'

https://ci.longhorn.io/job/private/job/longhorn-tests-regression/124/


Simplify the indexer by not passing an llm

Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/assign @thoraxe
makes the indexer no longer tied to any of the watsonx stuff.
if/when we want to explore more embedding models this may need a follow up

/approve

/lgtm


update license file

updates the license file to follow the same convention as rollup-starter-lib

@kenjiO I will leave the merging to you as you should have all the necessary access rights by now :)


[Kilo] MaaS template fixes

This commit makes the following template updates:

in ceph_osd_stats.yaml.j2, osd_id is cast to a string otherwise
ansible will throw a template error since it cannot contact an int
and a string
in rabbitmq_status.yaml.j2, we update the rabbitmq_mem_alarm_status
alarm to reference rabbitmq_mem_alarm_status rathe than
rabbitmq_disk_free_alarm_status

Connects rcbops/u-suk-dev#1175
(cherry picked from commit 70a1538418004b59262729809caa4cad0bae8c01)

Works fine in Kilo AIO.


Update teachers.html.erb Fixed Grammatical Errors and typos

Fixes #
Describe the changes you have made in this pr -
fixed grammatical errors on the webpage
Screenshots of the changes (If any) -

Coverage remained the same at 82.507% when pulling 8bf3c36709bf1008204fa8daa1a685345f9ae4bb on ericsheng495:patch-10 into 6569232a75d650e5123363c7f51280129df87f9b on CircuitVerse:master.

@tachyons can you please see this?

@sakshi1499 I have closed all my other issues. I don't see the general typo issue. If there are anymore problems, please let me know so I can fix it tomorrow.


feat(client): add implementation about class "BasicSearchJob"

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 18 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 86.318%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tensorbay/client/job.py
6
18
33.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
7842

Relevant Lines:
9085

💛  - Coveralls


add .peek

so you can access an item without shifting it in the lru list

Can you add a test case and entry to the README?

done :)

Awesome, thanks.


Extract browserTrigger from ngScenario

browserTrigger currently lives under https://github.com/angular/angular.js/blob/master/src/ngScenario/browserTrigger.js
Before ngScenario is removed, we need to move browserTrigger to a place where tests can use it like before.
Tentatively assigning @petebacondarwin

Putting in the backlog for now until we get round to doing this.

We should move browserTrigger to ngMock right? @Narretz ?

Yes, we (I) can do it. That would also mean we have to document it - atm it's not a public API.

Do we have to document it and make it public? Can't we just move it for now?

That's also an option of course ...

#14718 was merged. Seems like this issue can be closed.


Timezone issue while showing calendar events.

Version

Development Environment

Current Behavior

Even though time zones provided in Calendar options. It is only working properly for current date time indicator with blue and rest of all functionalities are taking browser time but not the option mentioned in timezone.

This issue in Day, Week and Month view.
For other things like start time and end time in schedule popup, I am handling with moment time zone. The main issue is calendar view and Today button. These are working on browser time.
Week view

Month View

Day view

// Write example code

Expected Behavior

Is there any way to handle above issue?

The main time zone should be the first element of the timezones array.
Did you do that?

would mind provide an example to rectify my issue?

timezones: [
  { // you want to see
    timezoneOffset: -420,
    tooltip: 'Us/Pacfic'
  },
  { // add system timezone info (Browser, OS time..)
    timezoneOffset: 540,
    tooltip: 'Seoul'
  }
]


Fix Nil Pointer Panic around configsecret Reconciler

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
fixed #920

License
Apache 2.0

What's in this PR?

Add nil pointer checker around nodeAgentInstance.fluentdDataProvider and make sure it's passed in when nodeInstanceAgent is created. Stems from using it here: https://github.com/banzaicloud/logging-operator/blob/master/pkg/resources/nodeagent/configsecret.go#L237 and it never being set here: https://github.com/banzaicloud/logging-operator/blob/master/pkg/resources/nodeagent/nodeagent.go#L319-L323
Why?

causing a panic when trying to access a nil pointer
Additional context

when the instance was setup it was forgotten to pass the main reconcile fluentDataProvider down to the subsequent reconcilers. The only one that apparently used it was configsecret which only shows up when you use a secret to setup your output.
Checklist

[x] Code meets the Developer Guide
[x] User guide and development docs updated (if needed)
[ ] Related Helm chart(s) updated (if needed)

 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.

thanks, confirmed this fixes my issue, too :+1:

@ahma any chance we can get this released as a v3.17.3?

@luthermonson 3.17.3 is out now.


style: minor formatting updates

use Collections.singletonList instead of Arrays.asList
fix a typo in javadoc

Can one of the admins verify this patch? If it is not dangerous to our systems, juts tell me to "run_tests".  ( without the underscore and quotes :smiley: )

:question: BTW, why isn't there a Copyright header to this file TransactionLifecycleListener.java?
I forked this repository and would like to be sure I respect the (LGPL?) license terms.

run_tests

run tests

Hello @Karm I still approve of this change. Will you either merge it or withdraw the PR.


[Feature Request] NativeSelect should support any type values for options

Usage example, including component, action, motion, or utility API
const items = [
  { label: 'Stem bolt', value: {price: 5, quantity: 1000}},
  { label: 'Phaser', value: {price: 1000, quantity: 6}},
];

let value;

...

<NativeSelect bind:value={value} data={items} />

Support for this is more consistent with how Svelte presently handles <select>.
Possible implementation - describe how the feature can be implemented
Change the value type in SelectItem from string to any, and anywhere value is currently being coerced into a string.
Do you want to contribute this feature and create a pull request
No

Hum, I understand what you are requesting, since it's supposed to have the same behaviour as native <select>. I'll explore a way of making this work without impacting other components that use the Input component, since these changes will also make way to the future components of Select


Tags

Are there plans to 'update' this solution in the abi S3 buckets? If yes, we would just change the .json version from v2 to v3 in the init CFN and so on?
Wondering what's the best way to make progress if I wanted to tag everything including EB rules across accounts through the lambda? Should I run this solution first followed by "https://github.com/CrowdStrike/aws-cspm-registration-cloudformation/tree/main/custom-eb-tags"? If yes then won't that break point-1?

To update solution you would download the latest crowdstrike_init_stack.yaml and update the main stack with the new template.
To tag eventbridge resources you would essentially follow the How to use steps in https://github.com/CrowdStrike/aws-cspm-registration-cloudformation/blob/main/custom-eb-tags/README.md but I will work on writing a document to fix the steps as it relates to this repo.


publish npm package

https://www.npmjs.com/package/datatables ?

Indeed sorry I didn't see it, I didn't see it in the Installation section neither in the link to which it refers.

I'm working on a number of changes for installation and packaging DataTables and its extensions on the various package managers that are available. Likely it will take a few months before they are fully deployed as there are a number of other things I'm working on as well. Going to close this bug in the mean time.


documenting XLA flags used by MaxText

documenting XLA flags used by MaxText

Sorry -- this is a replacement for PR 817 (I closed/canceled that one).


Invalid Login not handled in front end.

No error message pops up on wrong credentials.

@RRK1000 Was working on this.

An alert is shown on invalid login, will send a PR. Without a USN and Password input, the browser console should respond back with 'USN can't be empty', but it doesn't. I was trying figure that out.

Make sure it spans or alerts error. Something like this. Even a text below the box is fine.


Crash When Entering The Midnight Dimension

https://paste.dimdev.org/gupuyokomo.sql

This crash seems to happen every time I transport to another dimension

Same for me when I enter the Betweenlands dimension


Navigation transition direction parameter

Hi,
We are using SwiftUIRouter in our application but some usecases came up where we programmatically route using
navigator.navigate and would like to have control over the resulting NavigationActions direction since we use that to animate the route transition and sometimes we want to go 'deeper' but route-wise the code will classify it as 'sideways'.
An example would be navigating from /auth/login to /auth/reset/mail to reset/auth/reset/confirm where we would like to go .deeper in that order and .higher in reverse.
Maybe navigator.navigate could accept an optional direction parameter to override the default behaviour. @frzi let me know what you think. In case this is a good idea I'd be happy to open a PR if it helps.

Truth be told I'm not very keen on being able to override expected behaviour of the framework. Being able to override the direction with Navigator.navigate(to:) means we'd also have to take this in account with Navigator.goBack and Navigator.goForward. Most of all the thought of NavigationAction.direction being unpredictable doesn't sit well with me.
If you're not satisfied with the logic of NavigationAction.direction you can easily add your own: 😄
extension NavigationAction {
	public var alternativeDirection: Direction {
		let currentComponents = currentPath.split(separator: "/")
		let previousComponents = previousPath.split(separator: "/")

		if currentComponents.count > previousComponents.count {
			return .deeper
		}
		else if currentComponents.count == previousComponents.count {
			return .sideways
		}
		else {
			return .higher
		}
	}
}

In this case instead of navigator.lastAction?.direction you'd use navigator.lastAction?.alternativeDirection

Thank you so much for your quick reply. That's totally fair and we will go with an extension just as you suggested. :)


improve the readability of README for filteringRequestBody

this tries to close #238

Coverage remained the same at 93.03% when pulling fdda35935d42ca8405d590b2aae807dd1f8d9d63 on xavierchow:master into a831db3353b3ededbbd9446f245f7e8607e3e929 on pgte:master.

Coverage remained the same at 93.03% when pulling fdda35935d42ca8405d590b2aae807dd1f8d9d63 on xavierchow:master into a831db3353b3ededbbd9446f245f7e8607e3e929 on pgte:master.


Add new half bridge dts binding and fix pinmux

This PR fixes the new pinmuxing introduced in Zephyr 2.5 for the half bridge PWM signals. These changes go into the develop branch, which should be merged into master after Zephyr 2.5 release mid February.
As there were some issues with the previous approach of assigning the timer to the DC/DC (see also commit message), a new half-bridge dts binding is introduced, which will also be helpful for potential upstreaming of the half bridge driver to Zephyr.
Ping @luizvilla and @hugueslarrive: This is also relevant for your porting work of the OwnTech boards. Feel free to have a look and give some feedback.

Merging into develop branch because I want to continue with other work that relies on these updates.


Two tables join, and the columns will be misaligned.

Here is my code:
select
    owner,
    owner_email,
    owner_mgr,
    owner_mgr_email,
    week_begin,
    actual_hour,
    working_days*8 as working_hour
from(
    select
        owner,
        owner_email,
        owner_mgr,
        owner_mgr_email,
        week_begin,
        sum(ts_hour) as actual_hour
    from workload_union
    where owner_active=1
    group by owner, owner_email, owner_mgr, owner_mgr_email, week_begin
) ht left join week_calendar wc on ht.week_begin = wc.week
as hour_table;

select
    tpe as tpe,
    wl.description,
    item as item,
    ky_project_id as ky_project_id,
    ky_project_name as ky_project_name,
    wl.ky_customer_id as ky_customer_id,
    occur_date as occur_date,
    ...
    outlier as outlier,
from
workload_union wl left join hour_table ht on wl.week_begin = ht.week_begin and wl.owner_email = ht.owner_email
as workload3;

I expec description to appear in the second column.But It always appear at the end of columns.
It may occured becaused spark RDD sorting.

Look at this:
https://stackoverflow.com/questions/52434075/scala-spark-order-changes-when-writing-a-dataframe-to-a-csv-file
And you can fix this by use ET TableRepartition.
HERE is the doc:
https://docs.byzer.org/#/byzer-lang/zh-cn/extension/et/TableRepartition?id=%e8%a1%a8%e5%88%86%e5%8c%ba%e6%8f%92%e4%bb%b6-tablerepartition


can't get Slack event API to work (0.4.2)

Hi I am trying to use the new slack event API instead of the RTM, configured the app with all the message events (message.channels, message.groups, etc) and added the following scopes:
var service = Botkit.slackbot({
    interactive_replies : true, // tells botkit to send button clicks into
                                // conversations
    json_file_store : './db_bot/',
   rtm_receive_messages: false, // disable rtm_receive_messages if you enable events api
}).configureSlackApp({
    clientId : process.env.clientId,
    clientSecret : process.env.clientSecret,
    hostname : process.env.hostname,
    scopes : [ 'bot', 'commands', 'user',
        'users:read',
        'chat:read:user',
        'channels:history',
        'groups:history',
        'im:history',
        'mpim:history'],
});

the team has granted permission accordingly as far as I can see, but I am not receiving any user message with rtm_receive_messages: false. The code that receives message should be fine since it worked under RTM if I comment out rtm_receive_messages: false.
Not sure what I missed, thoughts? Or is there an example I can take a look?

You also need to expose the bot to the web, by either hosting it somewhere or using a service like localtunnel.me
Last, make sure you are using controller.setupWebserver() and controller.createWebhookEndpoints() to start a server and to receive messages.

@jonchurch,

Have you configured your webhook and event subscriptions in your Slack App settings on their website?

Yes. snapshots below:
event endpoint:

bot events:

You also need to expose the bot to the web, by either hosting it somewhere or using a service like localtunnel.me

Yes, the slash-commands worked as the evidence

Last, make sure you are using controller.setupWebserver() and controller.createWebhookEndpoints() to start a server and to receive messages.

yes, done that 2
service.setupWebserver(process.env.port, function(err, webserver) {
    service.createHomepageEndpoint(webserver)
       .createWebhookEndpoints(webserver)
       .createOauthEndpoints(
               webserver, function(err, req, res) {
                if (err) {
                    res.status(500).send('ERROR: ' + err);
                } else {
                    res.send('Success!');
                }
            });
});

It looks like the WebhookEndpoints's webserver.post('/slack/receive', function(req, res) ... is only triggered when I typed slash-commands, does this mean that slack is not sending the message events I subscribed ? Here is the authentication snapshot:

never mind, found the problem, right on the snapshot it showed the slack configuration enable-event is OFF, that was dumb, sorry, now I am good. thx.

resolved. was able to receive events from slack with 0.4.2.

@connectdotz No worries! I did the exact same thing last night working on a web api example 😂


Node 16 support dropped in a PATCH release?

Describe the bug
I just tried to reinstall my project's dependencies and realized that this package has suddenly dropped support for Node.js v16 in a patch update. My project was configured with v3.1.1, and the latest version of this package is v3.1.2. By default, when there is no lock file available in a project, package managers try to resolve the latest version satisfying the semver of any package and PATCH updates are always thought to be safe to upgrade.
To Reproduce
Steps to reproduce the behavior:

Create or open a project in a Node.js v16 environment.
Manually add/update the package dependencies to include "pdf2pic": "^3.1.1" (notice the ^ at the front of the version number) and save your package.json file.
Try to re-install the dependencies by deleting the existing lock file from the project.

Expected behavior
All the dependencies should be installed without any error.
Screenshots

Additional Information:

OS: MacOS
pdf2pic version ^3.1.1 (auto resolves to version 3.1.2 because of the newer PATCH update yesterday)

Hi @heyFahad, sorry for the inconvenience. I have created a PR to add node 16 support again.
dropping node 16 support will instead go to next major version.

@heyFahad version 3.1.3 will be released shortly to fix this.


Is there way to call conditionally some of the backend services for a given endpoint

I have a use case where one endpoint that has multiple backend services that would be called. This is straight forward to call multiple backend endpoints for an endpoint. This is working fine in Krakend. Now there is a requirement that based on certain parameters passed in the request of the endpoint, not all backend endpoints would be called. Like if there are 3 backend endpoints and in certain scenario I need to call only 2 among those 3 backend endpoints. Is that conditional calling of backend is possible in Krakend? I have one simple solution to create new endpoint for that scenario which calls only 2 backend points. But wouldn't want to create many endpoints based on scenarios.

This is what you are looking for: http://localhost:1313/docs/endpoints/common-expression-language-cel/#example-conditional-call-of-sequential-backends-aka-skip-backends


Remove all components of Iris logger

This Iris logger was decommissioned several years ago, but most of the components still remain in the guts of Iris.  This is becoming a problem for some users who wish to add their own logger, as the components which remain of the AVD logger override any additional ones.
I would recommend that the remaining components of the AVD Iris logger either be removed OR put back into use, but definitely not jot left as they are.

Some of this appears to be done in https://github.com/SciTools/iris/pull/2435.


Notebook diff: Stage / Unstage / Revert selected ranges command does not work

#105770

Open the my-work.github-issues file
Have some changes, open the diff view
Select some changes. Context menu -> Stage Selected Ranges -> no effect 🐛

The Unstage Selected Ranges and Revert Selected Ranges equally do not work.

Good catch. It's really interesting as it's a diff editor for notebook cells and the git extension is not aware of that currently.
To improve this experience, the Git extension can detect if the document is a composite document in a notebook document, and then use the Notebook API to update the cell document accordingly. cc @joaomoreno and I'll send PR to polish this next iteration.

It's unknown yet what we should do with git actions in embed virtual diff editor thus we hide them from the notebook diff editor.

I verified that the Git actions are no longer shown in the context menu -> verified.
However the Git stage selected lines is still available in the command palette and triggering it has no effect. Ideally it should not be shown in the command palette.


What happened for NDJSON support on CLI?

Describe the bug
When I tried to run this script, it shown an error.
I believe that it worked before.
CREATE EXTERNAL TABLE IF NOT EXISTS asdf STORED AS NDJSON LOCATION 'some.ndjson';
SELECT * FROM asdf LIMIT 5;

Execution("Unable to find factory for NDJSON")

contents of the file is
{"asdf": 1}
{"asdf": 2}

To Reproduce
Use that file and run that script.
Expected behavior
It should create a table.
Additional context

datafusion-cli 14.0.0

When I tried it with STORED AS JSON it still didn't work.
CREATE EXTERNAL TABLE IF NOT EXISTS asdf STORED AS JSON LOCATION 'some.ndjson';
SELECT * FROM asdf LIMIT 5;

There have been changes in how table providers are registered so this is likely a regression. It would be good to get some regression tests added when we fix this.
I am guessing that the fix is simply to add NDJSON to this code in datafusion-cli:
fn create_runtime_env() -> Result<RuntimeEnv> {
    let mut table_factories: HashMap<String, Arc<dyn TableProviderFactory>> =
        HashMap::new();
    table_factories.insert(
        "csv".to_string(),
        Arc::new(ListingTableFactory::new(FileType::CSV)),
    );
    table_factories.insert(
        "parquet".to_string(),
        Arc::new(ListingTableFactory::new(FileType::PARQUET)),
    );
    table_factories.insert(
        "avro".to_string(),
        Arc::new(ListingTableFactory::new(FileType::AVRO)),
    );
    table_factories.insert(
        "json".to_string(),
        Arc::new(ListingTableFactory::new(FileType::JSON)),
    );

What do you think about adding several test-cases for the datafusion-cli to check if some features works as intended?

Seems to have been gone missing in https://github.com/apache/arrow-datafusion/pull/1010

Seems that this now available as regular "json" format:
https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/src/datasource/file_format/json.rs#L46
The following works on my machine:
DataFusion CLI v14.0.0 ❯ create external table x stored as json location 'datafusion/core/tests/jsons/1.json'; 0 rows in set. Query took 0.021 seconds. ❯ select * from x; +-----+----------------+---------------+------+ | a   | b              | c             | d    | +-----+----------------+---------------+------+ | 1   | [2, 1.3, -6.1] | [false, true] | 4    | | -10 | [2, 1.3, -6.1] | [true, true]  | 4    | | 2   | [2, , -6.1]    | [false, ]     | text | |     |                |               |      | +-----+----------------+---------------+------+ 4 rows in set. Query took 0.030 seconds.
I have updated PR-4427 such that both JSON and NDJSON are registered by default

I'm closing this issue because the problem has been fixed with PR-4427.


zerotierone: 1.8.3 -> 1.8.4

Motivation for this change
https://github.com/zerotier/ZeroTierOne/releases/tag/1.8.4
https://github.com/zerotier/ZeroTierOne/blob/1.8.4/RELEASE-NOTES.md
Things done

Built on platform(s)

[X] x86_64-linux
[X] aarch64-linux
[X] armv7l-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build zerotierone


Adds code review comments

:smile: :panda_face:
All in all great work team! Yinz put together a project that was functional and decently styled. Please review the comments and fix the tests.
Focus on Partials / creating Single Responsibility views and drying up your code.
@kevalwell @rayanb @JeffT23

RIP
On Fri, Aug 3, 2018, 3:12 PM Zack Mance<EMAIL_ADDRESS>wrote:

Closed #17 https://github.com/rayanb/east_philosophy/pull/17.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rayanb/east_philosophy/pull/17#event-1770662309, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIEgJ9S1MA6Xfl-gg9WTE0u38eA_LpRNks5uNKCqgaJpZM4DoVjs
.


Add customizable messages to paidtimeout module

Pull request checklist:

[ ] CHANGELOG.md was updated, if applicable
[x] Documentation in docs/ or install-docs/ was updated, if applicable
[x] I have tested all changes

I need to make the commands page dynamic. Obviously it shouldn't show anything if the messages are blank. What is the best way of going about this? Seems to be the last thing I need in order to complete the pr.

@pajlada Maybe I'm missing something, but the example you provided on stream doesn't seem to sufficiently cover the fact that there are 2 commands. Should I split it into example1 and example2 variables? Keep in mind there there are different timeout values and costs (1 for each command).


DG review

In the introduction -> Shown below is the GUI of EYLAH -> G: graphic / need to be changed to User interface.

The intro, I like it in my view.

I expected to see your architecture diagram to have a sense for your app but you haven't updated it yet.

Instead, I could see the "comprehensive class diagram" after the architecture diagram from AB3.
-> This is quite nice to see the whole picture of your app, but I am not sure the name of it is used properly.
-> now, it sounds there is an official term for a "comprehensive" class diagram.
-> technical documents should be written objectively with standard terms.

Which part of the class diagram is for diet tracker and for expense splitter?

If necessary, express two of them in an abstract level at first and split them into a detailed diagram later.

And also, the comprehensive Class Diagram seems not to be drawn in a standard way. Do you use a tool provided by IntelliJ?
-> Compare this diagram with the standard class diagram we learned from our class.
-> one example, the standard class diagram doesn't have (c) inside of each class rectangle.

Now the activity diagram for expense splitter doesn't appear properly, please check its link.

UI component hasn't updated from address book 3.

Logic component hasn't updated from address book 3.

Model component hasn't updated from address book 3.

Storage component hasn't updated from address book 3.

Which means your document hasn't updated yet as I expected. The first part of this document I have reviewed so far would be quite important to give a good impression to a reader for your documentation skill. However, there isn't any update yet, so I can't provide feedback. I am sorry for this.

It seems some features are introduced in a repeated way for the explanation. For example, in 4.1.1 and 4.1.2, you try to explain each implementation in a similar way. I would like to ask you to think about ink ratio which means if there are any appeared inks for texts, images, etc., it should have a meaningful point for why it should appear. So, please think about the following questions. Q) Are textual descriptions for each activity diagram not repeated information with the given diagram?, Q) Could sequence diagrams for AddItemCommand and DeleteItemCommand be presented in a way with precedent UI, logic, Model, Storage components?

-> I don't know answers for the questions, however, I would like to point out the questions here because it would be helpful for you to improve your DG at least for revising in any way.

In ListCommand and EditCommand, the used sequence diagram is not labeled for used colors. What green color for? what about others? I guess the usage of color comes from AB3's beginning parts. Each component (Architecture, UI, Storage, etc.) uses the corresponding color with the color of each rectangle in the sequence diagram in your document. If you won't update the beginning part of your DG as similar to AB3, you should label the colors properly.

I skimmed through all diagrams, and I think they were drawn properly (don't trust me but I can't find common mistakes reported by the lecturer).

Each feature is explained well as going down as they are explained with proper UMLs.

I recommend you to have a look at the DG of w17-2. They updated all for the DG's beginning part properly so that the implementation part can be not complicated and not repeated. If there is something you can take and apply to your DG to improve, please do so.


ESBuild : Bundle in one file.

I hope it's the good file
package.json

Hey @Otomatyk, I've removed you as a collaborator. So you will not be able to create more PR. It's because I forgot that collaborators can do some things I don't want people to do for now.
So for you to be able to make PRs now, you must first form the project and then you can work on that repository as if it were yours. Then you can come back here and create a PR from your fork instead of directly from cardboard.  Take a look at these links:

https://github.com/nombrekeff/cardboard-js/wiki/Contributing-Guide
https://github.com/nombrekeff/cardboard-js/wiki/Development-Guide
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork

No problems, I understand, i’m a stranger for you, and as a collaborator I could do almost everything


[Feature Request] Option to see price per month versus price per hour?

A lot of customers run EC2 instances 24/7, instead of having to multiply the price per hours in a month it would be nice to just have a toggle on the site to see pricing per month for an instance.

Doh - https://www.ec2instances.info/?cost_duration=monthly


Reservation tap targets should be larger

These buttons are too small to tap easily:

Fixed and tested. Ready for acceptance.


Tobin pre post refactor

Started to refactor a few functions for Pre/Post pattern and ran into RetireWorkOnQueue which still had a bit of validation mingled with state update so I pulled out the validation and split up related functions to do validation prior to calling down chain and only update state after the call down the chain.
Also added flags to the refactored API functions.

That looks much better, 👍

Pushed another CL to address review feedback.

cherry-picked and pushed to master


Add "Constant" node type

Right now they look like inputs that ask you to choose a project and index into a band, which doesn't make sense.

Front end, yeah?

Indubitably


Use stable branch for the reference pages at clickhouse.yandex

It'd be awesome to show the stable version of the docs at the http://clickhouse.yandex/ site.
I suppose, most of the users will use the stable/packaged version and not the bleeding-edge one.
There are currently some differences between the reference and the stable version (for example, UUID functions aren't available yet in the stable branch) that confuse users.

Let denote "stable release" is when stable branch is build and published to ClickHouse deb repository (so you can update it via apt-get)
As I know, on each "stable release" contents of https://clickhouse.yandex/ is updated with respect to contents of doc/ directory of stable branch.
It is worth noting that appearing of new stable tag in "origin" repo doesn't mean that "stable release" will be  100% published. Up to 2 days are required to test stable branch. If there are no problems detected during the testing, release could be published.

As I know, on each "stable release" contents of https://clickhouse.yandex/ is updated with respect to contents of doc/ directory of stable branch.

Hm, but there is no any mention of UUIDNumToString/UUIDStringToNum in https://github.com/yandex/ClickHouse/blob/stable/doc/reference_ru.html at the moment, but there is at https://clickhouse.yandex/reference_ru.html.
I recall when my commits with the reference improvements were merged it was also deployed pretty fast, so maybe it still updates on every push to master or so.

It is worth noting that appearing of new stable tag in "origin" repo doesn't mean that "stable release" will be 100% published. Up to 2 days are required to test stable branch. If there are no problems detected during the testing, release could be published.

Yeah, I understand - but still, 2 days is still less than - how long was it, ~10 days? - since UUID functions were added in both the source code and the documentation :)
I don't really want to mess or intercept the Yandex's way of doing things, especially when it comes to deploying to your own servers. I just think it'd be more convenient/clear for the users.

In fact, stable tag is created (and stable branch is updated) at publishing of packages.
Publishing of packages is ordered manually and usually done after release was deployed in production on our clusters.

@alexey-milovidov If per-commits builds will be introduced, we can add an artefact which will publish docs/ in master branch to https://clickhouse.yandex/master/

I want single version of docs published: for single landing page.
(There are difficulties if many version of docs are available, especially for search traffic. Examples: MySQL, boost.)


Hey, everything is cool, but you can add the ability to use only icons or only the theme.

Hey,
It's possible to use only the icons or the theme.
You can set both individually in VSCode.
Color Theme
Preferences > Color Theme
File Icon Theme
Preferences > File Icon Theme
You can choose a different theme for each of them.


Rewrite SNAP action as Vivado Block diagram

Ideally, we wouldn't have to modify SNAP's action_wrapper to:

instantiate an AXI Stream Switch with related components inside a block diagram
connect this to one (or multiple) HLS blocks

This can be achieved by setting up a custom build process that is invoked in SNAP's action preprocess build phase. We would then rely on SNAP's hdl action infrastructure.
Points to consider:

One HLS block per operator? Memory-mapped configuration interface?
HDL-based implementation of read/write operators for better performance
Parameterizable stream widths
Specifying the block diagram as TCL script, to achieve independence of Vivado version

This is now implemented in the current master.


[yandexmusic] Unable to download JSON metadata: HTTP Error 451: Unavailable For Legal Reasons

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that a supported site is broken
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[ ] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
I have a music bot that opens music via discord, but my bot cannot read the json of the music from yandex music or other platforms
c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules@distube\yt-dlp\dist\index.js:111
throw new import_distube.DisTubeError("YTDLP_ERROR", ${e2.stderr || e2});
^
DisTubeError [YTDLP_ERROR]: ERROR: [yandexmusic:track] 70033669: Unable to download JSON metadata: HTTP Error 451: Unavailable For Legal Reasons (caused by <HTTPError 451: 'Unavailable For Legal Reasons'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
at c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules@distube\yt-dlp\dist\index.js:111:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async YtDlpPlugin.resolve (c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules@distube\yt-dlp\dist\index.js:103:18)
at async DisTube.play (c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules\distube\dist\index.js:2279:14) {
errorCode: 'YTDLP_ERROR'
}
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
PS C:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules\@distube\yt-dlp\bin> .\yt-dlp.exe  https://music.yandex.com/album/5568718/track/34976783?lang=en
[yandexmusic:track] Extracting URL: https://music.yandex.com/album/5568718/track/34976783?lang=en
[yandexmusic:track] 34976783: Downloading track JSON
[yandexmusic:track] 34976783: Downloading track location url JSON
ERROR: [yandexmusic:track] 34976783: Unable to download JSON metadata: HTTP Error 451: Unavailable For Legal Reasons (caused by <HTTPError 451: 'Unavailable For Legal Reasons'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
PS C:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules\@distube\yt-dlp\bin> .\yt-dlp.exe https://music.yandex.com/album/5568718/track/34976783?lang=en -vU
[debug] Command-line config: ['https://music.yandex.com/album/5568718/track/34976783?lang=en', '-vU']
[debug] Encodings: locale cp1254, fs utf-8, pref cp1254, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[yandexmusic:track] Extracting URL: https://music.yandex.com/album/5568718/track/34976783?lang=en
[yandexmusic:track] 34976783: Downloading track JSON
[yandexmusic:track] 34976783: Downloading track location url JSON
ERROR: [yandexmusic:track] 34976783: Unable to download JSON metadata: HTTP Error 451: Unavailable For Legal Reasons (caused by <HTTPError 451: 'Unavailable For Legal Reasons'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 694, in extract
  File "yt_dlp\extractor\yandexmusic.py", line 116, in _real_extract
  File "yt_dlp\extractor\yandexmusic.py", line 44, in _download_json
  File "yt_dlp\extractor\common.py", line 1048, in download_content
  File "yt_dlp\extractor\common.py", line 1012, in download_handle
  File "yt_dlp\extractor\yandexmusic.py", line 38, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 882, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 839, in _request_webpage

  File "yt_dlp\extractor\common.py", line 821, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3742, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 451: Unavailable For Legal Reasons

PS C:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules\@distube\yt-dlp\bin>

Open the webpage URL in browser on the same machine, from the same IP address, and in a private browsing session (not logged in, since you are not passing cookies to yt-dlp) and see if the media will play

the media didnt play it gave error "Unfortunately, Yandex Music isn't available in your country yet"

I've checked that all provided URLs are playable in a browser with the same IP and same login details

the reason why this is in the issue checklist is because you can't expect yt-dlp to be able to download a video if you can't play it in your browser

Why is this reopened?


[wrt][xwalk-3278] Add 12 TCs to wrt-upgrademanu-android-tests

The tests have one bug about cookie: xwalk-3332

Impacted TCs num(approved): New 12, Update 0, Delete 0
Unit test Platform: Android
Android test result summary: Pass 12, Fail 0, Block 0

No Pre-condition in Shared_Embedded and Embedded_Shared?

Updated

LGTM

Update the title to XWALK-3287


Non-determinism in getting last layer patch tokens.

Hi,
When I do something like:
feature_model_with_inter = ModelWithIntermediateLayers(model, n_last_blocks=1, autocast_ctx=autocast_ctx)

embeddings_one = feature_model_with_inter(image)[0][0] # First indexing into layer, then into patch tokens.
with autocast_ctx():
    embeddings_two = model.forward_features(x)['x_norm_patchtokens']
print(torch.equal(embeddings_one, embeddings_two))

I get False.
As I understand it, the ModelWithIntermediateLayers class is used for getting features of the last n blocks, so the code above should give me the features of the last block. Both using the same auto-casting, and both use LayerNorm.
When I compare the two features, they are similar but not exactly the same, not sure why.

First, is the model running in .eval() mode ?
There is also a bit of randomness in neural network operations in general. Matrix multiplications are not exactly deterministic, and the error accumulates during the sequence of operations.

The model is in eval mode.


Behaves like drift

Description

Allow elements exposing behaves_like_drift = True in build_particles(..., match_at_s=VAL).
Needs twin pull request in xtrack

Closes # .
Checklist
Mandatory:

[x] I have added tests to cover my changes
[ ] All the tests are passing, including my new ones
[x] I described my changes in this PR description

Optional:

[ ] The code I wrote follows good style practices (see PEP 8 and PEP 20).
[ ] I have updated the docs in relation to my changes, if applicable
[ ] I have tested also GPU contexts

Proposed changes implemented, and updated logic of flags. See PR xsuite/xpart#304

Also, doing line.unfreeze() was not enough; I also needed to remove the existing tracker with line.tracker = None.

Could you please add self.tracker = None to the Line.unfreeze method?


feat: usergroup schema

Describe the feature you'd like to request
A usergroup is to users what a collection is to projects.
A user should be able to specify a YAML file that enumerates an array of user_source_ids as part of a usergroup.
For example:
version: x
name: kariba_data_collective
display_name: Active Members of Kariba Data Collective
git_users:
  - ccerv1
  - ryscheng
  - ravenac95
farcaster_users:
  - 529
  - 63755
  - 297654
eoas:
  - 0x...
  - 0x...

The collection should then resolve the distinct artifacts owned by members of the usergroup.
Perhaps the usergroup_namespace could be the sub-directory where the usergroup is defined ?
Describe the solution you'd like
We need both static usergroups and dynamic ones. A dynamic usergroup would be something like a bot filter or OpenRank-generated list.
I could imagine a new directory we maintain the looks something like this:
usergroups/
│
├── oso/
│   ├── models/
│   │   ├── oso_bot_filter.sql
│   │   ├── oso_power_addresses.sql
│   │
│   └── static/
│       ├── kariba_data_collective.yaml
│       └── data_challenge_winners.yaml
│
└── superchain/
    ├── models/
    │   ├── superchain_bot_filter.sql
    │   ├── superchain_power_addresses.sql
    │   └── superchain_trusted_users.sql
    │
    └── static/
        ├── op_airdrop_1.yaml
        ├── op_airdrop_2.yaml
        ├── op_badgeholders.yaml
        └── op_coredevs.yaml

We would then need some dbt macros to process these into a usergroups table.
Describe alternatives you've considered
We could continue to hardcode usergroups into our dbt models and upload static datasets to BigQuery.

Summarizing my thoughts from our conversation from today,
makes sense to start with the dbt model for this. I think there's a good chance 90% of our use cases will be covered by writing the dbt models, which could come from data connectors, or static tables from static_sources.
as a second step, it'd be cool to add some UX to the OSO web app to easily add / tag new user groups. We should file a separate issue for this.
Not opposed to making a yaml schema in the future, but I think it might not be as useful as the prior 2 points.

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Gonna close this out based on the discussion above.
I'll comment on this issue for followon work
https://github.com/opensource-observer/oso/issues/1997


Convert vehicle types

Is your feature request related to a problem? Please describe.
There are two vehicle types used, see VehicleConfig in smarts/core/vehicle.py and VehicleType in envision/types.py. They have a different set of keys for the vehicle types so we need a way to convert between the types.
Describe the solution you'd like
Function to convert types or unify vehicle types
Describe alternatives you've considered
Additional context
https://github.com/huawei-noah/SMARTS/runs/5116001501?check_suite_focus=true

see Issue #1270 for a bit more detail.


Unable to pull lineup or add lineup

When I ssh into openelec on my rasberry pi and try to run the schedules direct script I get a datetime warning and unable to add a lineup see the following....
python sd2xmltv.py -u username -p password -m
2016-10-07 13:29:26,949 main                            INFO     Getting SchedulesDirect token.
2016-10-07 13:29:27,487 main                            INFO     Getting SchedulesDirect status.
2016-10-07 13:29:28,001 root                                WARNING  Key(s) not processed for Status: datetime
2016-10-07 13:29:28,002 main                            INFO     Account will expire on 2016-12-04 06:03:16 (57 days).
2016-10-07 13:29:28,004 main                            INFO     SchedulesDirect last update at 2016-10-07 03:46:00 (9 hours 43 minutes ago).
2016-10-07 13:29:28,005 main                            INFO     Message: No known issues.
Manage Account Options:

List subscribed lineups
Add lineup
Remove lineup
List lineup channels.

Choose an option or 'x' to exit.

2

Add Lineup
Enter 5-digit zip or postal code or 'x' to cancel:

84101
2016-10-07 13:29:51,285 root                                ERROR    {"response":"NO_LINEUPS","code":4102,"serverID":"20141201.web.2","message":"No lineups have been added to this account.","datetime":"2016-10-07T13:29:51Z"}
Traceback (most recent call last):
File "sd2xmltv.py", line 362, in
main()
File "sd2xmltv.py", line 356, in main
app.manage()
File "sd2xmltv.py", line 62, in manage
self._sd.manage()
File "/storage/.kodi/addons/tools.module.sd2xmltv/libschedulesdirect/schedulesdirect.py", line 298, in manage
self._add_lineup()
File "/storage/.kodi/addons/tools.module.sd2xmltv/libschedulesdirect/schedulesdirect.py", line 330, in _add_lineup
subscribed_lineups = self.get_subscribed_lineups()
File "/storage/.kodi/addons/tools.module.sd2xmltv/libschedulesdirect/schedulesdirect.py", line 70, in get_subscribed_lineups
lineups_dict = api.get_subscribed_lineups(self._token)
File "/storage/.kodi/addons/tools.module.sd2xmltv/libschedulesdirect/api.py", line 70, in get_subscribed_lineups
if "response" in response and response["response"] == "NO_LINEUPS":
TypeError: string indices must be integers, not str

Hi, I believe that was fixed in the develop branch of the repository.  Can you grab that version and give it a try?  I'll try to get develop merged with master this weekend if not today.
Thanks

That worked, Thanks!!
Sent from my iPhone

On Oct 7, 2016, at 8:32 AM, astrilchuk<EMAIL_ADDRESS>wrote:
Hi, I believe that was fixed in the develop branch of the repository. Can you grab that version and give it a try? I'll try to get develop merged with master this weekend if not today.
Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

That worked! Thanks!
Sent from my iPhone

On Oct 7, 2016, at 8:32 AM, astrilchuk<EMAIL_ADDRESS>wrote:
Hi, I believe that was fixed in the develop branch of the repository. Can you grab that version and give it a try? I'll try to get develop merged with master this weekend if not today.
Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Document how to run SC in clustered mode

The problem faced currently?
The current docs does not shows how to run SC in clustered mode or a distributed environment, even though SC supports it.
How can we solve it?
Add a section for clustered mode in various deployment guides(docker, manual)

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

This is particularly important now since running SC in clustered mode requires consul

Done in v0.13.0


Return channel ID resulted from im.open call

Web API method im.open, in a successful call scenario, returns the
newly openned channel ID. This channel ID is required to call
chat.postMessage successfully. The method implemented in
SlackWebApiClientImpl.openDirectMessageChannel(String) should return
this ID.
This commit provides the necessary code change in the interface and
the implementation class. Fix for issue #4

thank! your request


Use PackageLicenseExpression instead of PackageLicenseFile

Is your feature request related to a problem? Please describe.
The Radzen.Blazor package uses an embedded license file instead of a license expression. This makes it hard to filter automatically; therefore, we have to approve each version manually to ensure no license change occurred.
Describe the solution you'd like
Since Radzen.Blazor uses the MIT license, the package could use a PackageLicenseExpression instead of a PackageLicenseFile to convey its licensing. This is recommended when using one of the supported licenses (https://learn.microsoft.com/en-us/nuget/reference/nuspec#license) and would make automatically approving this package's license possible. The License would also be directly visible on nuget instead of an opaque link to a license file.

We would accept a PR with the proposed change.


Up-to-date Installation Guide

Is there any up to date information on how to get jasper-dev set up and running?
I'd really like to start experimenting, but the overhead is quite big, I've tried following the documentation, but it is outdated, it is unclear to me what requirements are to be met, and I found that the master doesn't work with latest sphinx etc. If anyone could explain to me ort point me to information, I'd be thankful :)

there is a google group for support: https://groups.google.com/forum/#!forum/jasper-support-forum.
If you get master running, dev should run too, or post specific problems. Lots of info are already here in the issues.

Thank you, I guess I'll try the Raspi 2 image Curry posted over there, thanks to the afford in this place.
I'll keep experimenting though, I'd prefer installing it myself ;)

I am updating the RPI2 and RPI3 images.  Once they are to a stable place I will document everything for everyone and post it.  My apologies for the delay; but I have a log going on.
Thanks.

Thank you. Eagerly waiting for the new images. I can test and provide feedback. Appreciated.

Thank you, I found a couple other small issues; so i am fixing those before I re-release.


Option to disable /faction home

Is your feature request related to a problem?
I run a vanilla-like server with a teleportation system that requires energy, /factions home makes this feature irrelevant.
Describe the solution you'd like.
I'd like to be able to disable /factions home.
Describe alternatives you've considered.
Our only other alternative is to not use factions.
Other
No response

Please read our config documentation.
You can disable the /factions home command by setting "home" to false in the factions.json file found in the config folder.
Here's an example:
{
  "version": 3,
  "power": {
    "base": 20,
    "member": 20,
    "claimWeight": 5,
    "deathPenalty": 10,
    "powerTicks": {
      "ticks": 12000,
      "reward": 1
    }
  },
  "safe": {
    "enderChest": true,
    "double": true
  },
  "home": false,
  "display": {
    "factionNameMaxLength": -1,
    "changeChat": true,
    "tabMenu": true,
    "nameBlackList": [
      "wilderness",
      "factionless"
    ]
  },
  "relationships": {
    "allyOverridesPermissions": true,
    "defaultGuestPermissions": ["USE_BLOCKS", "USE_ENTITIES"]
  },
  "maxFactionSize": -1,
  "friendlyFire": false,
  "requiredBypassLevel": 2
}

I am closing this issue as resolved now, if this does not solve your problem, please reopen the issue with more details.


Fix bug with enable_mixed_granularity_parts and mutations

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Bug Fix

Short description (up to few sentences):
Fix ALTER TABLE ... UPDATE query for tables with enable_mixed_granularity_parts=1.

Fail is not connected with changes (known bug in CI)


ZH CVVC: Add tests for mixed hanzi and pinyin lyrics

prevent bugs like what #1235 fixes from appearing again

GitHub actions tests will pass after #1235 is merged


Backported non-breaking fixes and updates from main branch

tool_pexec.sh:

Shellcheck'ed and improved inner script, avoid inlining inner/large script.
Process large (std-)input efficiently. Print parallel execution efficiency.
Improved behavior of --nth and --min arguments

Tests/fixes:

Avoid sed in-place edit (not portable to BSD), and attempt to ban "sed -i" in scripts (tool_normalize.sh).
eltwise/run_test.sh: avoid sub-Shell in order to just list two directory patterns.
Test case for libxsmm_stochastic_convert_fp32_bf8/libxsmm_convert_f32_to_bf8_stochastic.
Fixed condition (convert test).

Performance report:

tool_logrept.sh: emit report-URL (PDF) in any case (buildkite artifact upload is not accessible inside of the Slum job).
Support multiple report/graphics files (tool_report.py). Optionally upload PDF-report as an artifact, and embed URL as link into log. Auto-enable untied mode for secondary image formats.
Implemented an option for untied/separate plots, and updated documentation accordingly.

Other fixes:

Fixed randomized selection of compiler (exclude script for base environment).
Fixed linking Fortran code under macOS (Makefile.inc).

Updates:

Updated requirements, regenerated documentation.
Updated environment (GCC 13.1).

Thanks for the approval! I am still working on the "Retry" front to let tests pass.


Getting a lot of notifications but there is never a appointment

/my_services
120686

hm, looks like it finds way less appointments than it used to, i'll take a look into it, maybe they've changed something

thanks ❤


Test AWS 2 SQS properly

@llowinge you may want to review.

493b761: rebased and removed the unnecessary AWS SDK version override in the SQS test.


Allow the eWallet to work without integration

Currently, the eWallet cannot be used as a stand-alone with only mobile applications using it (currently, it is needed for a provider to create an application to store users, etc.)
This feature is needed for the sample Coffee shop application we're going to be working on.
It involves:

A merchant app, where an administrator can login (by entering email/password). From this application, a logged-in admin can then proceed to top-up or purchase on behalf of a user by scanning a user's identity QR code. This application should automatically logout admins unless they specified a "Remember Me" button, hence the need to add Face ID / Touch ID.
A user app, where a user should be able to sign up and login (all through the eWallet API, /signup is currently missing. The user can then see his balances or generate his identity QR code.

Tasks:

[ ] Ensure the differentiation field between admins and users is only provider_user_id
[ ] Add /user.signup endpoint in client API, which will only proceed a request if ALLOW_USER_REGISTRATION is set to true (defaults to false)
[ ] Add /user.login endpoint in client API (which follows the same rules as above, depending on ALLOW_USER_REGISTRATION

If this eWallet becomes standalone, the end users won't even have provider_user_id.
Need to figure out if provider_user_id should be generated, or find another differentiator.


Fix issue with :gear: Gemoji

I fixed it by switching from remark-gemoji-to-emoji to retext-emoji. Turns out we just need to tell retext-spell that these sequences are Gemoji. We don't necessarily need to convert them from Gemoji into emoji.

FYI @nicholaswilde

Seems to have fixed it. Thanks!