Cannot create Encryption Scope using customer-managed key

I am able to create Encryption Scope using MS-managed key but not with customer-managed key.
First, I added the key in my key vault which is in the same region and has both soft-delete and purge protection enabled.
Then I go to my storage account and try to create the Encryption Scope. I choose the key vault and key and click create. Then nothing happens.
When I check the activity log, I see the following error message:
Failed to create encryption scope. Encryption scope TestCustKey could not be created. Error: Internal server error.
"value": "InternalServerError",
"localizedValue": "Internal Server Error (HTTP Status Code: 500)"

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

ID: 67b6f617-965e-12ea-8832-6fa7df1420dd
Version Independent ID: 6a254f35-542f-4c61-bb7f-612f5284d427
Content: Create and manage encryption scopes (preview)
Content Source: articles/storage/blobs/encryption-scope-manage.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

Thanks for the feedback! We are currently investigating and will update you shortly.

@dckfnuance Our product team confirmed this is currently an issue and are working to deploy a fix. I will update when I have more information available.

@dckfnuance The fix has been deployed and should now be resolved. If you continue to have issues please tag me and feel free to reopen this issue.


Support for CANBed M4?

Have been following for a while and just noticed SEEED is selling these: https://www.seeedstudio.com/Canbed-M4-p-4782.html
I suspect they could work with this without too much effort given they are SAME5 based.  Any chance support could be added?
Happy to try and help with this but not entirely sure where to start.  Looks like maybe the board support for tinyusb?  Thanks!

Yeah, I've got a debugger I can use for it.  It looks like the chip is the same as the Adafruit ItsyBitsy M4, which already has support in the tinyusb project.  I suspect that, combined with the Feather M4 CAN Express work you added would get the job done, maybe with some minor tweaks.  I was going to look at this weekend and see what I could manage to do.

No luck so far.  Ran into some weird issues that I think are from the specific includes for the feather M4.  Still working on this but going to take longer than I thought it would.

Supported as of v1.0.18


nav bar link fixed

Closes #1087
The issue with the navbar links on the three pages (Blogs, Rejuvenate, and AR Meditate) has been resolved.

@RitiChandak can u please update the codebase to resolve conflicts

Thankyou


Fix load command

What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

alluxio-bot, cherry-pick this to branch-3.0-preview please

alluxio-bot, cherry-pick this to branch-3.0-preview please

alluxio-bot, cherry-pick this to branch-3.0-preview please


Cygwin package

Could you try to integrate apt-cyg into Cygwin as a package?

@szepeviktor According to https://cygwin.com/setup.html , a Cygwin package requires an active maintainer, and the packages needs to be released in a specific manner. Up to the job?

Sorry, no.


Feat/looping 2.5 list item progress

What is the context of this PR?
This PR builds upon the simple repeating blocks iteration  of the Looping 2.5 Repeating Blocks feature.
This PR augments the Progress Store to capture the completion progress of list items. This allows runner to have context about whether list items have been fully completed between block routings, enabling the ability for the list collector summary to show the correct icon based on completion of items (not yet done), as well as route to incomplete ones (done).
Changes
progress_store.py:Updated some type hints.
List items are added to this store keyed by id of the section in which a list item's list collector appears, and the list item id. Their completed locations are the add block and repeating blocks if they exist.
questionnaire_schema:
Used walrus operator to simplify condition check of repeating blocks.
Returning false if answer id does not belong to a block when calling is_answer_in_repeating_blocks
questionnaire_store_updater.py: Updated the method description for remove_list_item_and_answers to reflect the changes it has on the progress store for list items and renamed the method to remove_list_item_data .
list_remove_question.py: Makes use of newly named remove_list_item_data
list_repeating_block.py: Added cached property for repeating_block_id.
get_next_location_url now makes use of get_first_incomplete_repeating_block_location_for_list_item to navigate to the next repeating block.
handle_post(self) now calls add_completed_location on the QuestionnaireStoreUpdater and marks the list item complete if all of the repeating blocks have a completed location on the list items progress.
list_collector.py:  Added cached properties for repeating_block_ids and list_name for the list that it represents.
get_next_location_url(self) now navigates to the first incomplete block of the first incomplete list item, if any exist, else navigate to the next block on the path as normal.
Added method to evaluate list collector completeness.
handlers/question.py: capture_dependent_sections_for_list(self, list_name) ensures that only repeating sections and the section within which the list collector for the list item occurs, are captured as dependant sections - filters out the list items progresses as they should not be dependants.
Added public methods for use by list collector handlers to get the first incomplete block from a list collector or from a list item, the latter is used by the former, but may be used individually.
How to review
The current implementation of list item progress makes sense and the happy path of completing the Looping 2.5 journey still works while tracking progress between routes - without the list collector summary showing list item completeness of list items, however it should enforcing returning to list items repeating blocks if they were skipped.
Make use of the test schema list_collector_repeating_blocks_section_summary.json when testing this.
You can visit the dump/debug route to see the list item progress as you complete the list collector and see how it changes as blocks are completed as well as when list items are removed. Once all repeating blocks of a list item are complete, you should see that the list item itself is marked complete in the dump.
Most pre-existing tests should be passing but if they fail (particularly test_with_primary_person and test_without_primary_person) they will be fixed in a future PR.
Future PRs
Displaying list item completeness on list collector summary
Unit testing
Functional testing
Additional test schemas
Type hinting files/methods touched by this feature impl

 Capture of related answers on separate pages - Looping 2.5 (5 SP)

Functionally works as expected, I can see the progress for each list item when dump/debug. Also happy with the changes from my level of understanding. I just have a question just for my own curiosity, in the future are we planning to make it clearer which list items we are completing. For example if I enter car companies one, two, three and four. I complete one and three but do not fully complete two and four. Then I press save and continue, it displays the next sections for car two since its in-complete but it is a generic page that does not have any indication that we are filling it out for car two. Sorry if that did not make any sense.

Yeah this was a concern of mine, but it will be handled via placeholders which will say the item's Add block answer values which will be displayed ✨ somewhere ✨
I'll update my test schema to use placeholders in the next mini PR


Async method POST

Hi,
I added a small change that allows making a POST request in async mode, along with data attribute. I also edited a readme file and provided an example.

Thanks, This feature is already added to the plugin.

I think the plugin still lacks the option to post "data" in "POST" ajax requests.
Something the pull request from @sebenik  had.


Item Transformer based on experience.

I wonder if it's possible to get players who have a certain level in an aptitude to get bigger rewards on the item transformers points? I believe it would give more purpose to up your level in a certain aptitude.

You can use the transformer callbacks and the API for that purpose (you can ask for help in the discord or forum topic).


Partial fix for the getting started tutorial

fixes #413

Looks like the guide might still not work entirely (didn't work for me on the first try)
Maybe @Jimvin you can have a look some time?

Alright, things have been fixed in the meantime


Document rounded coordinates in EML / DwC

EML now makes use of package$coordinatePrecision to state:

Geospatial coordinates are provided as is.

or

Geospatial coordinates are as rounded to {0.001} degrees

Darwin Core now make use of package$coordinatePrecision to add:

dataGeneralizations: "coordinates rounded to {0.001} degrees" (or NULL)
coordinatePrecision: 0.001 (or NULL)

Ping @tucotuco

Cf. best practices, I now used rounded to 0.001 degree (singular, not plural degree)


Export list of dirty tiles to MBTiles

Talk directly to node-mapnik, so that we can render single tiles and get information about zero size tiles

This helps fix https://github.com/osm2vectortiles/osm2vectortiles/issues/74

I suggest we implement not a direct replacement of the export worker at first but a tool similar to tl , tilelive-copy that takes a list of dirty tiles and renders the tiles from tm2source into a tilelive sink (for simplicity MBTiles at first, later serialtiles).
If someone is finishing up #129  (at the moment it looks really promising) another one can work on #125 so we can test the tile updates for real asap.

Pleasant surprise. tilelive-copy actually supports a list rendering scheme which allows rendering a list of dirty tiles into a MBTiles file (which can then be patched to the original MBtiles file).
https://github.com/osm2vectortiles/osm2vectortiles/blob/feature/detect-dirty-tiles/src/export/export-list.sh
Added an additional export-list script to the exisisting export-local and export-worker scripts.
This removes the need of rewriting the export to support rendering dirty tiles.
The current naive implementation already supports detecting dirty tiles and rerendering them (not yet distributed).
# Writes a tiles.txt to the export folder of the latest dirty tiles
docker-compose up detect-dirty-tiles
# Renders the missing tiles from tiles.txt to a new MBTiles file that can then be patched.
docker-compose up export-list

The export list feature works so far. It is not distributed yet but it is enough to rerender dirty tiles at smaller scale in the next sprints.


Fix raw deployment service port

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2961
Type of changes
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevent result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

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

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

@sivanantha321 Any idea how this grpc test for raw deployment works before your change  ?

@sivanantha321 Any idea how this grpc test for raw deployment works before your change ?

@yuzisun As you can see that we are providing container ports in the test. The previous code base uses the provided container port to expose both the service and ingress. But this only work for the custom containers.

@sivanantha321 Any idea how this grpc test for raw deployment works before your change ?

@yuzisun As you can see that we are providing container ports in the test. The previous code base uses the provided container port to expose both the service and ingress. But this only work for the custom containers.

Got it, another side issues I found about the ingress host name which still contains the default suffix, not sure which host we are using in the test.
  spec:
    ingressClassName: istio
    rules:
    - host: sklearn-iris-grpc-default.example.com
      http:
        paths:
        - backend:
            service:
              name: sklearn-iris-grpc-predictor
              port:
                number: 80
          path: /
          pathType: Prefix
    - host: sklearn-iris-grpc-predictor-default.example.com
      http:
        paths:
        - backend:
            service:
              name: sklearn-iris-grpc-predictor
              port:
                number: 80
          path: /
          pathType: Prefix

@sivanantha321 Any idea how this grpc test for raw deployment works before your change ?

@yuzisun As you can see that we are providing container ports in the test. The previous code base uses the provided container port to expose both the service and ingress. But this only work for the custom containers.

Got it, another side issues I found about the ingress host name which still contains the default suffix, not sure which host we are using in the test.
  spec:
    ingressClassName: istio
    rules:
    - host: sklearn-iris-grpc-default.example.com
      http:
        paths:
        - backend:
            service:
              name: sklearn-iris-grpc-predictor
              port:
                number: 80
          path: /
          pathType: Prefix
    - host: sklearn-iris-grpc-predictor-default.example.com
      http:
        paths:
        - backend:
            service:
              name: sklearn-iris-grpc-predictor
              port:
                number: 80
          path: /
          pathType: Prefix

I believe default refers to namespace here not the suffix.

/lgtm
/approve


SP-3069 - Backport of PDI-15196 - JSON Input Step does not ignore missing paths

Fixed skipping rows if json field is null, empty or if there are no matches with json fields and at the same time there are no additional not null row fields. Corrected filtering out rows

Checked locally, PR looks good.
Waiting for wingman results.

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f plugins/kettle-json-plugin/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f plugins/kettle-json-plugin/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  plugins/kettle-json-plugin/src/org/pentaho/di/trans/steps/jsoninput/JsonInput.java
  plugins/kettle-json-plugin/src/org/pentaho/di/trans/steps/jsoninput/exception/JsonInputException.java
  plugins/kettle-json-plugin/src/org/pentaho/di/trans/steps/jsoninput/reader/FastJsonReader.java
  plugins/kettle-json-plugin/test-src/org/pentaho/di/trans/steps/jsoninput/JsonInputTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.steps.jsoninput.exception.JsonInputException

Complexity New Coverage: 50.00%
Instruction New Coverage: 50.00%
Line New Coverage: 50.00%
Method New Coverage: 50.00%

org.pentaho.di.trans.steps.jsoninput.JsonInput

Branch Change: -2.46%:small_red_triangle_down:
Complexity Change: -3.37%:small_red_triangle_down:
Instruction Change:  + .60%
Line Change: -.28%:small_red_triangle_down:
Method Change: -4.17%:small_red_triangle_down:

org.pentaho.di.trans.steps.jsoninput.reader.FastJsonReader

Branch Change:  + 8.77%
Complexity Change:  + 5.06%
Instruction Change:  + 2.17%
Line Change:  + 2.50%
Method Change:  + 2.43%

org.pentaho.di.trans.steps.jsoninput.reader.FastJsonReader.TransposedRowSet

Branch Change:  + 12.50%
Complexity Change: -11.11%:small_red_triangle_down:
Instruction Change: -21.51%:small_red_triangle_down:
Line Change: -19.47%:small_red_triangle_down:
Method Change: -20.00%:small_red_triangle_down:

@mbatchelor Could you review please


Installation fails when running OS in FIPS-enabled mode due to use of MD5

Installing nokogiri (1.6.8) sh: line 1:  6048 Aborted                 (core dumped) /somepath/vendor/ruby-2.1.2/bin/ruby extconf.rb 2>&1
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/somepath/vendor/ruby-2.1.2/bin/ruby extconf.rb

Using pkg-config version 1.1.7
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.1.0
checking for gzdopen() in -lz... yes
checking for iconv... yes

IMPORTANT NOTICE:
Building Nokogiri with a packaged version of libxml2-2.9.4.
Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:
gem install nokogiri -- --use-system-libraries
    [--with-xml2-config=/path/to/xml2-config]
    [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install

Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.

Extracting libxml2-2.9.4.tar.gz into tmp/x86_64-unknown-linux-gnu/ports/libxml2/2.9.4... OK
md5_dgst.c(78): OpenSSL internal error, assertion failed: Digest MD5 forbidden in FIPS mode!
extconf failed, exit code 134
Gem files will remain installed in /somepath/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.8 for inspection.
Results logged to /somepath/vendor/bundle/ruby/2.1.0/extensions/x86_64-linux/2.1.0-static/nokogiri-1.6.8/gem_make.out
An error occurred while installing nokogiri (1.6.8), and Bundler cannot continue.
Make sure that gem install nokogiri -v '1.6.8' succeeds before bundling.

I am also having a problem with this as MD5 is not a FIPS-compliant algorithm.
At this point, md5 is really not a good choice for hashing algorithm, so I'm surprised to see this added so recently.  Additionally, it seems this project added the md5sums themselves rather than referencing any upstream hashes, so this doesn't even really provide chain of trust validation.
Can this piece be removed or updated to use a better hash algorithm or better yet, use the gpg signatures from the upstream project?

@nvtsgit We don't use gpg signatures for tar file verification, because it would add gpg as an install dependency.

Any idea when the next release is coming that will include this?

Will be in v1.7.1.

This issue still exists in v1.7.1, although seemingly at a later point:
sh: line 1: 11740 Aborted                 (core dumped) /somepath/vendor/ruby-2.1.2/bin/ruby extconf.rb 2>&1
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

    /somepath/vendor/ruby-2.1.2/bin/ruby extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.1.0
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.4
with the following patches applied:
        - 0001-Fix-comparison-with-root-node-in-xmlXPathCmpNodes.patch
        - 0002-Fix-XPointer-paths-beginning-with-range-to.patch
        - 0003-Disallow-namespace-nodes-in-XPointer-ranges.patch

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

    gem install nokogiri -- --use-system-libraries
        [--with-xml2-config=/path/to/xml2-config]
        [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install

Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.
************************************************************************
Extracting libxml2-2.9.4.tar.gz into tmp/x86_64-unknown-linux-gnu/ports/libxml2/2.9.4... OK
Running git apply with /somepath/vendor/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/nokogiri-1.7.1/patches/libxml2/0001-Fix-comparison-with-root-node-in-xmlXPathCmpNodes.patch... OK
Running git apply with /somepath/vendor/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/nokogiri-1.7.1/patches/libxml2/0002-Fix-XPointer-paths-beginning-with-range-to.patch... OK
Running git apply with /somepath/vendor/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/nokogiri-1.7.1/patches/libxml2/0003-Disallow-namespace-nodes-in-XPointer-ranges.patch... OK
md5_dgst.c(78): OpenSSL internal error, assertion failed: Digest MD5 forbidden in FIPS mode!

extconf failed, exit code 134

Gem files will remain installed in /somepath/vendor/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/nokogiri-1.7.1 for inspection.
Results logged to /somepath/vendor/ruby-2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/nokogiri-1.7.1/gem_make.out```

If this is a problem for you, I strongly recommend compiling against your system libraries. The instructions can be found at:

http://www.nokogiri.org/tutorials/installing_nokogiri.html#using_your_system_libraries

You'll also note that I changed the milestone on this story to v1.8.0, reflecting the fact that v1.7.1 was a security update to v1.7.0 and did not contain any new features like this.
We're planning to use SHA-256 in v1.8.0. See commit 1805544 for details

Ah, gotcha -- I didn't realize your fix was moved to v1.8.0.  On a side note, how do I build the gem off master now so that I can test this pre-release version and see if it addresses the problem for us?

I think I figured it out using rake gem:spec and rake gem.  As such, it built nokogiri-<IP_ADDRESS>.20170404163350.gem.  However, I still get the same error.  I'll dig deeper to see if I can find the root cause.

I traced this further and found this to be a problem inside of mini_portile2.  Specifically, it uses MD5 for storing a hash of the configuration options when compiling (libxml2 in this case) -- it uses this info to decide if configuration needs to be run or if it's already been run (with the given options).  When I patch mini_portile2 to use a SHA256 (or some other algorithm for making this decision), it works just fine.  So, although the original issue was inside the nokogiri build process, this now appears to be a mini_portile2 issue.  For reference, you can look at the code here (http://www.rubydoc.info/gems/mini_portile2/2.1.0/MiniPortile#configure-instance_method) and here (http://www.rubydoc.info/gems/mini_portile2/2.1.0/MiniPortile#configured?-instance_method).

I'm going to reopen this so that I remember to bump the dependency on mini_portile2 (presuming I get to doing that) before I release 1.8.0.

This issue is addressed in https://github.com/flavorjones/mini_portile/pull/79 . mini_portile is currently set to ~>2.1.0 in nokogiri, so that mini_portile needs to be released first and and the version constraint set to ~>2.2.0. Alternatively it's maybe better to use ~>2.1, as this is preferred for semantic versioning.

Will be in 1.8.0, which I'm cutting tonight.


Error : Software caused connection abort: Error running context: Software caused connection abort at C:/Program Files/Git/mingw64/share/perl5/Git/SVN/Ra.pm line 312.

I got the error when I tried to migrate from svn to GitHub by using svn2git command below.
svn2git https://.........repourl/ --notrunk --nobranches --notags --verbose --authors /c/authors.txt
My pc OS is Windows10 64bit and I ran on CMD window.
I ran the command and then (after about 10mins) it is stopped with message.
Could you please help me?
Best Regards,
James

This means that the server closed the connection to due reaching a timeout as configured.
Increase the (http.conf) timeout settings on the apache server if you've got access to it.


Update th game over message

Update the game over message so people know how to play again!

test


Ensure synced deploys of a block are held in the correct order

This PR ensures that during chain sync, deploys which are fetched in parallel are inserted into the block for execution in the correct order.
It also updates the Debug impl for the mirrored DeployHash type in casper-types to use hex-encoded notation as per other hash digests.
Finally, it downgrades an error! log in the RPC server to warn! as it could be triggered by an invalid client request and doesn't represent an actual internal node error.
Closes #3253.

After discussion we figured, any approach using FuturesOrdered will not work, as it will allow one long fetch to block the remainder from making progress (e.g. if 100 are fetched concurrently with a limit of 5, and the first one is taking 9 minutes to complete, both the manual FuturesOrdered and .buffered, which actually uses FuturesOrdered behind the scenes, will not attempt to fetch a 6th item before the first one has completed).

bors merge


export point cloud file .ply

hello,i am using online node of cartographer,i have no bag file,How to save the ply format of the point cloud file？

The online node does write the Cartographer state on exit, therefore you should make a ROS service all to write_state to generate a .pbstream file. You can then use asset writer and more specifically the PlyWritingPointsProcessor to generate a .ply file.
Here is an example lua and launch file.

the launch file needs a bagfile  , but i do not have,I'm using the online laser and imu data.

Right, sorry, I did not catch that. In that case there is no way. The pbstream only contains heavily filtered versions of the point cloud and this is not sufficient to generate a .ply file.


Rancher 1.6.11 - Problem upgrading haproxy  to 0.7.15

Rancher versions:
rancher/server: 1.6.11
Operating system and kernel: (cat /etc/os-release, uname -r preferred)   Rancher OS
**Type/provider of hosts: Bare-metal
Setup details: (single node rancher  with  external DB)
upgraded rancher 1.6.11. After upgrading existent rancher/lb-service-haproxy:v0.7.9 to rancher/lb-service-haproxy:v0.7.15 through webinterface lb reboots with error.  Deleting and creating new LB works.
**Environment Template: Cattle:
Results:
LB reboots in loop:
20.11.2017 16:46:51time="2017-11-20T15:46:51Z" level=error msg="Failed to initialize Kubernetes controller: KUBERNETES_URL is not set"
20.11.2017 16:46:518acce6a9-4912-47e9-b38c-e0daba231c85time="2017-11-20T15:46:51Z" level=info msg="Starting Rancher LB service"
20.11.2017 16:46:51time="2017-11-20T15:46:51Z" level=fatal msg="CATTLE_ENVIRONMENT_ADMIN_ACCESS_KEY is not set, fail to init of Rancher LB provider"

I believe this should be tested in https://github.com/rancher/rancher/issues/10061, let me check

Can you share the compose files of the stack were you encountered this issue?

Of course, here for example with our main loadbalancer. i've added a new one and stopped the "old" instead of migration:
docker-compose.yml
version: '2'
services:
  nginx:
    image: nginx
    stdin_open: true
    tty: true
    labels:
      io.rancher.container.pull_image: always
      healthcheck: 'true'
  global-loadbalancer:
    image: rancher/lb-service-haproxy:v0.7.15
    ports:
    - 80:80/tcp
    - 443:443/tcp
    - 25:25/tcp
    labels:
      io.rancher.container.agent.role: environmentAdmin,agent
      io.rancher.container.agent_service.drain_provider: 'true'
      io.rancher.container.create_agent: 'true'
  GlobalLoadbalancer:
    image: rancher/lb-service-haproxy:v0.7.9
    ports:
    - 80:80/tcp
    - 443:443/tcp
    - 25:25/tcp
    labels:
      io.rancher.container.agent.role: environmentAdmin
      io.rancher.container.create_agent: 'true'
  promote-https:
    image: jamessharp/docker-nginx-https-redirect
    stdin_open: true
    tty: true
    labels:
      io.rancher.container.pull_image: always
      web.https: promote

rancher-compose.yml
version: '2'
services:
  nginx:
    scale: 1
    start_on_create: true
  global-loadbalancer:
    scale: 1
    start_on_create: true
    lb_config:
      certs:
      - somecert
      config: |-
        defaults
        log <IP_ADDRESS>:8514 local0 debug
      default_cert: somecert
      port_rules:
      - hostname: '*'
        priority: 1
        protocol: http
        selector: web.http=true
        source_port: 80
        target_port: 80
      - hostname: '*'
        priority: 2
        protocol: https
        selector: web.https=true
        source_port: 443
        target_port: 80
      - priority: 3
        protocol: tcp
        selector: web.smtp=true
        source_port: 25
        target_port: 25
      - hostname: rancher1
        priority: 4
        protocol: http
        service: nginx
        source_port: 80
        target_port: 80
      - hostname: rancher2
        priority: 5
        protocol: http
        service: nginx
        source_port: 80
        target_port: 80
    health_check:
      response_timeout: 2000
      healthy_threshold: 2
      port: 42
      unhealthy_threshold: 3
      initializing_timeout: 60000
      interval: 2000
      reinitializing_timeout: 60000
  GlobalLoadbalancer:
    scale: 1
    start_on_create: true
    lb_config:
      certs:
      - somecert
      config: |-
        defaults
        log <IP_ADDRESS>:8514 local0 debug
      default_cert: somecert
      port_rules:
      - hostname: '*'
        path: ''
        priority: 2
        protocol: http
        selector: web.http=true
        source_port: 80
        target_port: 80
      - hostname: '*'
        path: ''
        priority: 3
        protocol: https
        selector: web.https=true
        source_port: 443
        target_port: 80
      - priority: 4
        protocol: tcp
        selector: web.smtp=true
        source_port: 25
        target_port: 25
      - hostname: rancher1
        path: ''
        priority: 5
        protocol: http
        service: nginx
        source_port: 80
        target_port: 80
      - hostname: rancher2
        path: ''
        priority: 6
        protocol: http
        service: nginx
        source_port: 80
        target_port: 80
    health_check:
      healthy_threshold: 2
      response_timeout: 2000
      port: 42
      unhealthy_threshold: 3
      initializing_timeout: 60000
      interval: 2000
      reinitializing_timeout: 60000
  promote-https:
    scale: 1
    start_on_create: true

Ok, so to reproduce I can launch these compose files without the global-loadbalancer definition in v1.6.10 and upgrade to v1.6.11 and see the loadbalancer fail to start, correct?

We tried reproducing using your stack definition, but couldn't. Did you literally update the loadbalancer and it happened? No rollbacks, restarts, other things that might interfere in the process?

i can reproduce it with our production system, and i try to reproduce it on a test instance right now.

@superseb  I had the chance to reproduce it on a test system.
Tested with digital ocean but behave like baremetal:

new instance installed Ubuntu 16.04.3 LTS (4.4.0)
installed docker 17.03.2-ce (from your documentation)
spinup ranger with external database  docker run -d --restart=unless-stopped -p 9999:8080 rancher/server:v1.6.10 --db-host rancher --db-user rancher --db-pass secret --db-name ranchertest
4.added the same server as bare metal client  sudo docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.6 http://*********:9999/v1/scripts/D2F61534AAAAAAF496B4:1483142400000:LeOPXYOcYymrqOUkoKntrEflAU
added  a self signed test.key
added the following stack

version: '2'
services:
  nginx:
    image: nginx
    stdin_open: true
    tty: true
    labels:
      io.rancher.container.pull_image: always
      healthcheck: 'true'
  GlobalLoadbalancer:
    image: rancher/lb-service-haproxy:v0.7.9
    ports:
    - 80:80/tcp
    - 443:443/tcp
    - 25:25/tcp
    labels:
      io.rancher.container.agent.role: environmentAdmin
      io.rancher.container.create_agent: 'true'
  promote-https:
    image: jamessharp/docker-nginx-https-redirect
    stdin_open: true
    tty: true
    labels:
      io.rancher.container.pull_image: always
      web.https: promote

version: '2'
services:
  nginx:
    scale: 1
    start_on_create: true
  GlobalLoadbalancer:
    scale: 1
    start_on_create: true
    lb_config:
      certs: []
      config: |-
        defaults
        log <IP_ADDRESS>:8514 local0 debug
      default_cert: test
      port_rules:
      - hostname: '*'
        priority: 2
        protocol: http
        selector: web.http=true
        source_port: 80
        target_port: 80
      - hostname: '*'
        priority: 3
        protocol: https
        selector: web.https=true
        source_port: 443
        target_port: 80
      - priority: 4
        protocol: tcp
        selector: web.smtp=true
        source_port: 25
        target_port: 25
      - hostname: rancher1.tovista.eu
        priority: 5
        protocol: http
        service: nginx
        source_port: 80
        target_port: 80
      - hostname: rancher2.tovista.eu
        priority: 6
        protocol: http
        service: nginx
        source_port: 80
        target_port: 80
    health_check:
      healthy_threshold: 2
      response_timeout: 2000
      port: 42
      unhealthy_threshold: 3
      initializing_timeout: 60000
      interval: 2000
      strategy: recreate
      reinitializing_timeout: 60000
  promote-https:
    scale: 1
    start_on_create: true

waited until all is green and shiny
stoped rancher-server
spinup new version with external database  docker run -d --restart=unless-stopped -p 9999:8080 rancher/server:v1.6.11 --db-host rancher --db-user rancher --db-pass secret --db-name ranchertest
waited until all is up
upgraded with the little yellow arrow on the frontend. now it's in a weired state:

21.11.2017 00:01:41time="2017-11-20T23:01:41Z" level=error msg="Failed to initialize Kubernetes controller: KUBERNETES_URL is not set"
21.11.2017 00:01:41471dc628-0d5d-4c59-96f1-a239e95aa360time="2017-11-20T23:01:41Z" level=info msg="Starting Rancher LB service"
21.11.2017 00:01:41time="2017-11-20T23:01:41Z" level=fatal msg="CATTLE_ENVIRONMENT_ADMIN_ACCESS_KEY is not set, fail to init of Rancher LB provider"

I'll could you provide access to the test-system if you want to!

Yes please, ping me on Rancher Users Slack (https://slack.rancher.io)

Tracked this down to the database being slow (according to the log). Updated the issue with the logging, attached all relevant info in this comment.

rancher/server logging: rancherserver.log
stack json: stacklb.txt
service json: servicelb.txt

I can confirm this Bug. My LB logs:
27.11.2017 11:12:43time="2017-11-27T11:12:43Z" level=error msg="Failed to initialize Kubernetes controller: KUBERNETES_URL is not set"
27.11.2017 11:12:43time="2017-11-27T11:12:43Z" level=info msg="CATTLE_ACCESS_KEY is not set, skipping init of Rancher LB provider"

@KonstantinCodes  check if your LB has the agend lable
io.rancher.container.agent.role: environmentAdmin,agent
than the lb should start as expected

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


fix: BsonType not assignable to BsonArray INTELLIJ-94

Description
In MQL it is permissible to have a query like { countries: "Germany" } where countries is a list of string in mongodb schema. We were incorrectly marking such assignments as a possible flaw.
This commit fixes it by making sure that a given BsonType is assignable to a BsonArray as well as long as the given BsonType is also assignable to the underlying schema of the BsonArray

Checklist

[ ] New tests and/or benchmarks are included.
[ ] Documentation is changed or added.
[ ] Changelog is updated accordingly.
[ ] I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement).

Open Questions

The code looks good, but it still warns about nullable values, also inside arrays. Do you want to fix it here? The use case is:
I have a nullable value in Java (an Integer for example) and in MongoDB, I have a column that is an int and is not nullable. This happens because IIRC, Integer is mapped to AnyOf(BsonInt32, BsonNull) and this is not compatible right now with BsonInt32 (because of the null).


SSL, supervisor/monitor, template and orm examples

In a path to make japronto suitable to test in real work scenarios, it would be nice if :

someone  can add examples to use in ssl mode with ssl certificates, maybe as cherrypy do,

and how to make it keep runing, and auto start when system restart, maybe using supervisor.

and for last, it would be nice a example using  template and a orm

Its not issue or not even any feature enhancement.
Japronto mainly foced for Python 3.5+ HTTP toolkit
It seems you expecting your project or finished system, its not right place.
Yes. already SSL and other in Japronto streamline, similar as bottle.
For your query, you can pick any additional python package and merge them as your need.
but its not bug or any issues.

use nginx


Merge 2.60.0 into master

See detailed description in the commit message.

the value should be lower on master, shouldn't it?

the value should be lower on master, shouldn't it?

yes, just I have merge first and I will change the value


issue while adding the intent

Hi @alfredfrancis ,
i am getting below error while trying to add the intent.
2022/02/07 05:57:28 [error] 8#8: *14 connect() failed (113: Host is unreachable) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "POST /gateway/intents/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:8080//intents/", host: "localhost:8080", referrer: "http://localhost:8080/"
iky_gateway    | <IP_ADDRESS> - - [07/Feb/2022:05:57:28 +0000] "POST /gateway/intents/ HTTP/1.1" 502 575 "http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "-"

There is no error. It's just flask logs.
You can start the angular frontend to see the admin panel. Refer to readme for more information.

Should I have to refer to readme of front-end folder ?
On Mon, Jan 10, 2022, 4:05 PM Alfred Francis @.***>
wrote:

There is no error. It's just flask logs.
You can start the angular frontend to see the admin panel. Refer to readme
for more information.
—
Reply to this email directly, view it on GitHub
https://github.com/alfredfrancis/ai-chatbot-framework/issues/152#issuecomment-1008738605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMQ4NAI5NBX774LZ6LGAYJLUVKY6DANCNFSM5LTEBJKQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Alfred,
Now i am able to do the ng serve. please refer below , but run.py is still giving error
(bot) C:\chatbot2\frontend>npm run ng serve

<EMAIL_ADDRESS>ng C:\chatbot2\frontend
ng "serve"

** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2022-01-11T06:52:39.708Z
Hash: 45e968bc0340962d0b89
Time: 16204ms
chunk {agent.module} agent.module.chunk.js () 1.05 MB [rendered]
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 52.2 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 549 kB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 167 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 15.7 MB [initial] [rendered]
webpack: Compiled successfully.
webpack: Compiling...
Date: 2022-01-11T06:53:38.396Z - Hash:<PHONE_NUMBER>e53770bc17 - Time: 1208ms
6 unchanged chunks
webpack: Compiled successfully.

while running pytohn run.py
C:\chatbot2\frontend/dist/
<IP_ADDRESS> - - [11/Jan/2022 12:30:36] "GET / HTTP/1.1" 404 -

Hi @alfredfrancis ,
i am getting below error while trying to add the intent.
2022/02/07 05:57:28 [error] 8#8: *14 connect() failed (113: Host is unreachable) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "POST /gateway/intents/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:8080//intents/", host: "localhost:8080", referrer: "http://localhost:8080/"
iky_gateway | <IP_ADDRESS> - - [07/Feb/2022:05:57:28 +0000] "POST /gateway/intents/ HTTP/1.1" 502 575 "http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "-"

Looks like your backend is not up. Are you using docker setup ?

Yes
On Wed, Feb 9, 2022, 4:45 PM Alfred Francis @.***>
wrote:

Hi @alfredfrancis https://github.com/alfredfrancis ,
i am getting below error while trying to add the intent.
2022/02/07 05:57:28 [error] 8#8: *14 connect() failed (113: Host is
unreachable) while connecting to upstream, client: <IP_ADDRESS>, server: ,
request: "POST /gateway/intents/ HTTP/1.1", upstream: "
http://<IP_ADDRESS>:8080//intents/", host: "localhost:8080", referrer: "
http://localhost:8080/"
iky_gateway | <IP_ADDRESS> - - [07/Feb/2022:05:57:28 +0000] "POST
/gateway/intents/ HTTP/1.1" 502 575 "http://localhost:8080/" "Mozilla/5.0
(Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/97.0.4692.99 Safari/537.36" "-"
Looks like your backend is not up. Are you using docker setup ?
—
Reply to this email directly, view it on GitHub
https://github.com/alfredfrancis/ai-chatbot-framework/issues/152#issuecomment-1033648849,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMQ4NAKF4UPWNKUZNSMMCSTU2JEFZANCNFSM5LTEBJKQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Please use docker-compose setup as mentioned here. If you still face any error, please comment here with the output of docker-compose logs command.

Fixed in latest master branch


$title, But For Note ID

As it says on the tin. It's possible to query using $title using the collections views, and it's very helpful to use in a template because I don't need to manually point a note to itself. However, if I have two notes with the same name, both notes appear in the collection view, even if they are compelely unrelated.
Trilium generates its own unique note IDs and can search through them (note.noteId=xxxxx), and so I was wondering if it'd be possible to set up something like a $ID, which always returns the ID of the note that it's pasted on. I've already tried using the noteId search in a query and it was perfect.

Any update so far?

This will be included in the next release which I will be working on over the next couple weeks or so.

Ok, thanks for update very much! <3

BTW. Do you consider add also all custom labels somehow?


error when compiling a "de-serialized" CNN

This can be reproduced by serializing and de-serializing the model at the end of the example mnist_cnn.py with the code:
from keras.models import model_from_json
open('test.json', 'w').write(model.to_json())
model = model_from_json(open('test.json').read())
model.compile(loss='categorical_crossentropy', optimizer='adadelta')

The same code runs fine for mnist_mlp.py.
The error traceback is quite long as it repeats several time the same section (first block):
...

ERROR (theano.gof.opt): SeqOptimizer apply <theano.gof.opt.EquilibriumOptimizer object at 0x7f19792319d0>
ERROR (theano.gof.opt): Traceback:
ERROR (theano.gof.opt): Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 195, in apply
    sub_prof = optimizer.optimize(fgraph)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 81, in optimize
    ret = self.apply(fgraph, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1834, in apply
    self.local_optimizers_map.get(node.op, [])):
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 677, in __hash__
    return hash((type(self), self._props()))
TypeError: unhashable type: 'list'

Traceback (most recent call last):
  File "mnist_cnn.py", line 76, in <module>
    model.compile(loss='categorical_crossentropy', optimizer='adadelta')
  File "build/bdist.linux-x86_64/egg/keras/models.py", line 400, in compile
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/function.py", line 266, in function
    profile=profile)
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py", line 511, in pfunc
    on_unused_input=on_unused_input)
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1466, in orig_function
    defaults)
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1324, in create
    input_storage=input_storage_lists)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/link.py", line 519, in make_thunk
    output_storage=output_storage)[:3]
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/vm.py", line 897, in make_all
    no_recycling))
  File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/__init__.py", line 259, in make_thunk
    compute_map, no_recycling)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 739, in make_thunk
    output_storage=node_output_storage)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/cc.py", line 1073, in make_thunk
    keep_lock=keep_lock)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/cc.py", line 1015, in __compile__
    keep_lock=keep_lock)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/cc.py", line 1442, in cthunk_factory
    key=key, lnk=self, keep_lock=keep_lock)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/cmodule.py", line 1045, in module_from_key
    module = self._get_from_key(key)
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/cmodule.py", line 942, in _get_from_key
    if key in self.entry_from_key:
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 677, in __hash__
    return hash((type(self), self._props()))
TypeError: ('The following error happened while compiling the node', GpuDnnConvDesc{border_mode=u'full', subsample=[1, 1], conv_mode='conv'}(Shape.0, Shape.0), '\n', "unhashable type: 'list'")

I believe the issue is that the subsample argument expects a tuple and not a list. Python tuples are stored as lists in JSON.
This would be somewhat complex to fix at the deserialization step (we would need some flag to trigger a conversion from list to tuple -- but what flag?). The simplest way to fix might be in the convolution layers.

#739 fixes this issue.
Note that other layers have a similar problem like Permute.


Just want to output the schema to a .sql file.

I want to output the schema to an .sql file. No data, just the schema. So the:
DROP DATABASE suchandsuch;
CREATE DATABASE suchandsuch;
DROP TABLE suchandsuch;
CREATE TABLE suchandsuch (
(columns)
);
etc etc.  I can do that in every other DB creating/editing application so obviously I can do it in dbeaver but I can't find either in the docs or just clicking around in the ide.  Sorry for such a simple question but it's not under "export". It can let me export individual tables and their data but I don't care about that, I want the entire schema in a standard .sql file.
Thanks

Hi @squatcobbler ,
this feature is available in EE version only. It is available in Compare/migrate context menu for connection.
You could try Trial 14 day version https://dbeaver.com/

Haha ok thanks.  We were going to get licenses for the EE version if we liked the CE version, but the CE version is apparently crippled in a fundamental way and that says something about the company.
Well, the CE version is open source, right? So I couple presumably just branch it and write that feature in?
thanks

If you multi select all the tables then right click, Generate SQL -> DDL, then it seems to do exactly what you want.

If you multi select all the tables then right click, Generate SQL -> DDL, then it seems to do exactly what you want.

With sql server not work, for example not export default value of column


vault not working

What's the issue ??

you

Irrelevant, please describe your issues clearly and provide sufficient information..

no

am closing this issues - Reason: Troll


New Event for ThoughtWorks London

I would like to join to the next facilitator training.

Hi @gege83! The next facilitator training will be on Oct 30 with Codecop ☺ check http://coderetreat.org/pages/training/ for the schedule and the hangout event!
Welcome to gdcr17! 🎉☺


not able to run SimpleImaging on Phone

This is desiged to run on the phone but i cannot get it to run since the current version of phones is 10166 and the samples need 10240. Any ideas to make the samples work?
Severity	Code	Description	Project	File	Line
Error		Error : DEP3321 : To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.10240.0 or higher. You currently are running version 10.0.10166.0. Please update your OS, or change your deployment target to a device with the appropriate version.	SimpleImaging

You can hand-edit the package.appxmanifest file to have the version running on your phone (10166 is safe).

Yes, the samples were all built to target the RTM version of the SDK.  You can run against emulator until the next Phone flight.

David,
Had to modify the cdproj to set min version to 10166, but that appears to allow me back in. Thank you
From: David Goll<EMAIL_ADDRESS>Sent: Tuesday, August 4, 2015 6:12 PM
To: Microsoft/Windows-universal-samples<EMAIL_ADDRESS>Cc: Robert ROeder<EMAIL_ADDRESS>Subject: Re: [Windows-universal-samples] not able to run SimpleImaging on Phone (#108)
You can hand-edit the package.appxmanifest file to have the version running on your phone (10166 is safe).
—
Reply to this email directly or view it on GitHub https://github.com/Microsoft/Windows-universal-samples/issues/108#issuecomment-127810306 .  https://github.com/notifications/beacon/ACX36ygYp7NYPCXTar_1K_Yn204_zNaHks5okVpagaJpZM4FlvvL.gif


Wait for the prebuild workload.

What type of PR is this?
/kind feature

What this PR does / why we need it:
Wait for the prebuilt Workload if a Job is running before it.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Follow up for https://github.com/kubernetes-sigs/kueue/pull/3131#issuecomment-2413187780.
Does this PR introduce a user-facing change?

Wait for the prebuilt Workload if a Job is running before it.

Please also add "Fixes https://github.com/kubernetes-sigs/kueue/issues/3051" to the description.

Please also add "Fixes #3051" to the description.

IIUC correct https://github.com/kubernetes-sigs/kueue/pull/3131#issuecomment-2419065194 it's not fixing https://github.com/kubernetes-sigs/kueue/issues/3051.

Hm, I thought it does, because the integration test passes. I would prefer to better understand the issue in the https://github.com/kubernetes-sigs/kueue/pull/3131#issuecomment-2419065194 comment then before merging any of the solutions.

/hold for https://github.com/kubernetes-sigs/kueue/pull/3131#issuecomment-2419065194

/unhold due to https://github.com/kubernetes-sigs/kueue/pull/3131#issuecomment-2422662658.

I would suggest, for simplicity, move forward with this PR, and:

Return an error (to make the delays exponential)
In the release note say: 'Best effort support for scenarios when the Job is created at the same time as prebuilt workload or momentarily before the workload. In that case an error is logged to indicate that creating a Job before prebuilt-workload is outside of the intended use.
Update the docs for the prebuild workload annotation to say that the intended use of prebuilt workload is to create the Job once the workload is created. In other scenarios the behavior is undefined

I would suggest, for simplicity, move forward with this PR, and:

Return an error (to make the delays exponential)
In the release note say: 'Best effort support for scenarios when the Job is created at the same time as prebuilt workload or momentarily before the workload. In that case an error is logged to indicate that creating a Job before prebuilt-workload is outside of the intended use.
Update the docs for the prebuild workload annotation to say that the intended use of prebuilt workload is to create the Job once the workload is created. In other scenarios the behavior is undefined

Done

please check why the unit tests fail and adjust if ok

please check why the unit tests fail and adjust if ok

Done

/hold cancel

Thanks, please follow up with the docs update suggestion for the label

Oh, I see it is already added here. No need for follow up here.


Task distribution

Which task would you guys like to do? I would prefer task 1.

I am fine with any of the rest.

Hi All,
Shoot, I missed this and opened another issue. Justin if you would like task 1 that is fine by me, I will do task 2 instead (disregard my last issue on this). I'm working now so I will do 2 and make the library if that's okay with you @uarif

@WildJimmy , yes go ahead, I will do task 3.

Sounds good, I'll close this issue now that tasks are decided


Update for List View in Shifting from Gird LayOut to List Layout

Proposed Changes
-Aligned the components in shifitng and resource page
-Increased the search bar size in list view
-Adjusted the componets
-Changed the font to semibold in Resource card
-Changed the gridlayout from 2 cols to 3 cols to remove extra white space

Fixes #8826

@ohcnetwork/care-fe-code-reviewers
Before:

After:

Story points Requesting: 2 points
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

Summary by CodeRabbit

New Features

Enhanced the ListView component to display detailed patient information, shifting status, and facility details.
Added localization support for contact information with the new entry "contact_info": "Contact Info".

Bug Fixes

Improved rendering logic for shifting cards, simplifying conditional rendering for empty data states.

If we are making this change, I would really make it a list ie like a table; than have a grid;

CC @nihal467 @gigincg @rithviknishad

Any Changes required if yes. Suggest

@AnveshNalimela Please use the reference UI shared to update the list view.

Have a look.

@AnveshNalimela can you update the description and screenshot of this PR

[ ] On the mobile view, the heading is kept differently, which is kind of different, i think we can hide them in mobile view

[ ] the list is not properly responsive, in iPad pro, the multiple things are overlapping with each other

[ ] keep the heading left aligned as per design,

@nihal467  @rithviknishad  Made the changes mentioned and Updated PR and screenshots

@AnveshNalimela can you clear all the merge conflict to get it ready for review

@nihal The deploy failed due to cache issue of apps folder.the build got failed due to import statements. Could on the issue @rithviknishad

@AnveshNalimela lets get this merged ASAP

@rithviknishad could you review it and merge it .

Request for review only once all requested changes are resolved


Print with grid in Draw.io

I want to print my flow with grid lines on the background

Double post


Need clarification.

mediapipe.docx

Hi @smartkarthikn, If you are still looking answers for the queries in the doc. Please raise each of them as a new issue with complete details. There are different owners who can guide you,  as per the solutions.


NeonVM should kernel panic on OOM

Was suggested in a chat with @problame and @koivunej, to help with debugging postgres OOMs and to stop VMs from limping along when nothing's running.
May also consider making this a flag for vm-builder, so it's not necessarily enabled, but we'd want it for our images.

Not sure I understood the idea. Previously we discussed to use own OOM-Freezer instead of OOM-Killer for Postgres process. I'm not sure how to realize kernel panic when some process in user space paniced/killed. Currently if Postgres killed by any reason it will be restarted by init (according to settings in inittab).
We can terminate VM if compute_ctl finished with error but again I'm not sure it's good idea s VM will b terminated and runner Pod will be in Completed state (NeonVM controller can't restart failed/stopped VMs right now).

Current memory failure mode is OOMing, we might switch postgres to allocation failure, then this will probably make sense.  Then we want to be able to see a stacktrace of the kernel, so not closing this for now.


C++ Stderr: b'/usr/bin/ld: cannot find -lgtest: No such file or directory

cpp compile result in 6th turn: C++ Stdout: b''
C++ Stderr: b'/usr/bin/ld: cannot find -lgtest: No such file or directory\n/usr/bin/ld: cannot find -lgtest_main: No such file or directory\ncollect2: error: ld returned 1 exit status\n'
It seems like the compilation of C++ codes needs gtest. This is not mentioned in the README.md .

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

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

cpp compile result in 6th turn: C++ Stdout: b''
C++ Stderr: b'/usr/bin/ld: cannot find -lgtest: No such file or directory\n/usr/bin/ld: cannot find -lgtest_main: No such file or directory\ncollect2: error: ld returned 1 exit status\n'
It seems like the compilation of C++ codes needs gtest. This is not mentioned in the README.md .

Oh yes, I remember that it is necessary to install  google test dependency. That step is a little bit complex. I will update the steps after finishing the paper.

The current version of dataset generation does not use Google tests anymore.  I will remove the associated compilation flags for now.

Fixed as part of https://github.com/bin123apple/Fortran2Cpp/commit/8956aca16e088aaf53dc1527d4b776f9a33f99ca


Fixing HTML validator errors

Description
Aims to resolve all HTML validation issues associated with HTML files.

Which issue specifically can you share the screenshot

w3c validator is showing these errors in the file achievements.html

Go ahead with it

@anushbhatia @aman-atg may you please review my PR !!!

@anushbhatia Sir  @Castella1313 Open to collaboration? If yes, I would like to chip in as well. Else you may continue

@abhu-A-J yup, its absolutely fine. I have no problem with this.

@abhu-A-J let me know which file you will be working at?

@abhu-A-J let me know which file you will be working at?

Hey! I was thinking on the team, contact and achievements.
But it's upto you, you can tell me which ones I can take since you created the issue!

@abhu-A-J achievements.html is already done. you can take up the rest two.

do it for home page too


Server crash in 1.16.4 when hyperbox is mined

The box was mined, and the server crashed

I'm unable to reproduce this -- can you provide additional context? A crash log? What blocks were adjacent to the hyperbox? What blocks were inside the hyperbox?

I'm unable to reproduce this -- can you provide additional context? A crash log? What blocks were adjacent to the hyperbox? What blocks were inside the hyperbox?

Closed for inactivity and lack of context


Unable to Instantiate Class

I am getting this error upon simply placing a calendarview in an activity. Any feedback would help. Thanks

Here is my dependency Setup, I have also enabled Jetifier and AndroidX

how did you solve this error?


Remove "Stay Connected" text from Footer

Problem - The 'Stay Connected' text appears on the footer of the homepage and is no relevant or necessary for the current design.
Expected Behavior - The text should be removed from the footer.
Steps to Reproduce -

Visit the homeage.
Scroll to the footer.
Observe the 'Stay Connected' text.

Additional Context - Removing this will help simplify the layout and focus on important content.

@anuragverma108, can you assign this issue to me?

please assign me with this


E-O Info Arch (create To Be)

Tasks

[x] Develop information architecture (IA) document for EASEY-Out
[ ] Review documents with EPA

Outcomes

[ ] An IA document for the new EASEY-Out

Alex, I know we have sort of discussed this in passing last Thursday at the UX weekly, but I wanted to note here that I would like to talk about this work at the refinement 12/16 and that we do not want anything based off AMPD, but rather the requirements we determined/shared. (first task on this ticket doesn't seem applicable). Thanks!

@tlageman-epa — absolutely! EASEY-Out will be its own product defined by UXR and not by how AMPD currently works. We're on the same page. I also updated the tasks.

@JorjaComer — Here's the E-O Apportioned Emissions IA document for your review. I'll be going over this in the demo as well.


type object 'User' has no attribute 'get_user_by_token'

I get this feedback after logging in:
Traceback (most recent call last):
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 2446, in wsgi_app
    response = self.full_dispatch_request()
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1951, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1820, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\Users\asus\Desktop\group-17-electronic-voting-system\vote\routes.py", line 12, in home
    return render_template('home.html',title='Home')
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\templating.py", line 136, in render_template
    ctx.app.update_template_context(context)
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 838, in update_template_context
    context.update(func())
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_login\utils.py", line 379, in _user_context_processor
    return dict(current_user=_get_user())
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_login\utils.py", line 346, in _get_user
    current_app.login_manager._load_user()
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_login\login_manager.py", line 318, in _load_user
    user = self._user_callback(user_id)
  File "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_user\user_manager.py", line 130, in load_user_by_user_token
    user = self.db_manager.UserClass.get_user_by_token(user_token)
AttributeError: type object 'User' has no attribute 'get_user_by_token'

Any help would be appreciated

+1
same issue

I have the same issue and my user model is something like:
class User(db.Model, UserMixin):
    __tablename__ = "user"
    user_id = db.Column(db.Integer, primary_key=True)

Is this anything to do with my id column which I named user_id? Have to used id in your model?

+1

@crakernano @MajorTomaso
Seems that the version of Flask-User expects a method 'get_user_by_token' with the same algorithm as load_user in the User model:

Hope this help!

Just got this error. Fixed with:
from flask_user import UserMixin
Then:


Etcd{,2} fix for watches.

When we start to watch a file, we need to start from the version at the time of the original 'Get', not from the version of the file. The server may have compacted its history and lost the changes.
@rnavarro this should be your fix.

LGTM


Homework 2

homework_2

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
31

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


availability

can I availability meta data patch?
Setup details
Please provide following details, if applicable to your situation:

Runtime environment: [e.g. Browser, Node.js, React]
Used tus-js-client version: [can be obtained by running npm ls]
Used tus server software: [e.g. tusd, tus-node-server etc]

What do you mean with "availability meta data patch"? Do you want to read the metadata for previously created uploads? Could you please explain your needs in more than one sentence?

Closing this issue due to inactivity. Feel free to leave a comment if you want to continue the discussion :)


[mac] define TxFrame and RxFrame types

This PR defines RxFrame for receiving frames and TxFrame for
transmitting frames. The motivation is to prevent invalid uses of
Mac::Frame methods, because some of them are only available for rx
frames and some only for tx frames.

@jwhui rebased.


Problem in the particles management with the multiple module

Hi,
I am playing since this summer a lot with the multiple module, testing different configuration. I noticed a problem in the mass conservation which bothers me quite a lot.
I ran a simulation of a star cluster which initial conditions were taken from a previous study. The binaries were not identified and I let the multiple module take care of it at the first steps of the simulation. I have then lots of hard collision in the first step. But the problem happens a bit after, always at the same time: it seems that some stars disappear little by little (the first one is the id 35 in the example here). I don't get what is going on. Can you reproduce my problem ? and if you do, can you explain a bit how the code is supposed to work, because I think I misunderstood something...
Here is the code, the initial conditions in a csv file and the log file where I have the output of the multiple module, some log on energy and a list of the ids of the stars, single or in multiple system. (I put them as .txt files because I don't know how to do it another way...)
multhic.txt
log_multhic.txt

I just realised that I forgot to give the initial conditions. here is a tar with everything needed.
Multiple_test.tar.gz

I am just updating this issue because I looked a bit more closely to what happened. Actually both particle 9 and 35 were involved as scattering stars in an encounter where the SmallN code didn't finished (line 2777 of the log file). They seem to disappear right after it returns to the top level integration. But they should not be removed from the top level...


Update access-modifiers.md

Summary
Missing class in Privte definition
Fixes #Issue_Number (if available)

Thanks for submitting your PR @tmlslvnk
I am going to close this. I think it only adds confusion. We use the term "type" to mean either any type: either a class, struct, interface, or record. By singling out the class type, this change makes that less clear


Remove badge when there are no unwatched lessons

Currently if there are no unwatched lessons badge is set to 0.
I think that it would be  better if it is removed in that case.

Fixed in dev branch. Will be merged soon.


在macOS上运行报错

(tts) ➜  MeloTTS git:(main) ✗ melo "Text to read" output.wav

Text split to sentences.
Text to read

0%|                                                                                | 0/1 [00:00<?, ?it/s]Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertForMaskedLM: ['cls.seq_relationship.bias', 'cls.seq_relationship.weight']

This IS expected if you are initializing BertForMaskedLM from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
This IS NOT expected if you are initializing BertForMaskedLM from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
0%|                                                                                | 0/1 [00:02<?, ?it/s]
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/bin/melo", line 33, in
sys.exit(load_entry_point('melotts', 'console_scripts', 'melo')())
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/main.py", line 36, in main
model.tts_to_file(text, spkr, output_path, speed=speed)
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/api.py", line 110, in tts_to_file
audio = self.model.infer(
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/models.py", line 994, in infer
x, m_p, logs_p, x_mask = self.enc_p(
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/models.py", line 377, in forward
x = self.encoder(x * x_mask, x_mask, g=g)
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/attentions.py", line 107, in forward
y = self.attn_layers[i](x, x, attn_mask)
File "/opt/homebrew/Caskroom/miniconda/base/envs/tts/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/attentions.py", line 263, in forward
x, self.attn = self.attention(q, k, v, mask=attn_mask)
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/attentions.py", line 280, in attention
key_relative_embeddings = self._get_relative_embeddings(self.emb_rel_k, t_s)
File "/Users/zhuchenjie/vscode-workspaces/MeloTTS/melo/attentions.py", line 344, in _get_relative_embeddings
padded_relative_embeddings = F.pad(
IndexError: Dimension out of range (expected to be in range of [-3, 2], but got 3)

有兄弟解决了吗？我是M2 mini，报一样的错

M1 macbook, same error


Building query tree can be skipped

Building query tree is available inside sklearn.NearestNeighbor._tree. Therefore, no need to rebuild.
All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?
[x] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[x] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

Pull Request Test Coverage Report for Build 1158

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 95.147%

Files with Coverage Reduction
New Missed Lines
%

pyod/models/knn.py
3
93.1%

Totals

Change from base Build 1153:
-0.07%

Covered Lines:
7979

Relevant Lines:
8386

💛  - Coveralls

Checked for the customized metric, including:
https://github.com/yzhao062/pyod/blob/master/examples/knn_mahalanobis_example.py

Thanks @lorgoc the PR is merged and will be released in v0.7.6. Good work!


MSVC natvis visualizer does not work after introduction of inline ABI namespace

Description
#844 added a debugger visualizer for Visual Studio.
#3590 introduced an inline namespace under which the basic_json type now lives.
Therefore the type name pattern in the natvis file https://github.com/nlohmann/json/blob/0e61ee8b074ecb40be6439c7470764dc6c3e0743/nlohmann_json.natvis#L3 does not match the actual type anymore which means the visualizer does not work anymore.
With the inline namespace regularly changing, it might be worthwhile to dynamically generate the natvis file from CMake using the same "algorithm" for the type name pattern as implemented with the macros in the source code.
Reproduction steps
Create a nlohmann::json instance, fill it with some data, and break with Visual Studio debugger to inspect the object instance.
Expected vs. actual results
Actual: visualizer not active
Expected: visualizer provides pretty printing
Minimal code example
No response
Error messages
No response
Compiler and operating system
Visual Studio
Library version
3.11.1
Validation

[ ] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

On it. I think this is the thing I've been trying to remember, so, thanks!


onDoubleClick event dosn't work

I upgraded my angular project to realease version and switched angular2-tree-component to 1.3.2. Now onDobleClick event never fires. According to documentation it still must work.
<Tree [nodes]="nodes" [options]="options" (onDoubleClick)="onNodeDoubleClick(tree, node, $event)"></Tree>
onNodeDoubleClick($event) {      console.log($event);  }

I found this in source code warning: 'This event is deprecated, please use actionMapping to handle double clicks' for dblClick event. But there's no mention in documentation about it. So, actionMapping works good.

True, updated docs


Creating a pull request no longer uses commit message for PR description

This extension used to use the latest commit message content to pre-fill the PR title and description when using the Create Pull Request feature. Now it only pre-fills the title and leaves the description blank. Did this behavior change intentionally? If so, is there a setting to switch it back?

Extension version: 0.36.2
VSCode Version: 1.64.2
OS: MacOS 10.15.7

Steps to Reproduce:

Create a new branch
Add a commit to that branch with a multi-line commit message
Click the "Create Pull Request" button in the Source Control pane
See that the Title is set to the first line of the commit message but the description is blank.

Thanks for the detailed issue! I'm not able to reproduce this issue. Can you share a sample commit message and how you committed (command line, VS Code source control view, etc.)?

Sure. I use the terminal with GIT_EDITOR="code --wait" to type the commit message into VS Code. We use a template for our commits so they all look like:
Commit title goes here

This commit does X Y and Z, and a few other
things too.

See Jira issue ABC-123

modified: src/app/whatever.rb
- changed this file

modified: src/app/another.rb
- and this one too

Generally speaking, I would want everything below the first line to be the description of the PR. The extension used to do this by default, so I'm not sure what changed.

Thanks for the example and details. I tried with exactly your sample commit message and I'm still not able to repro the issue. A few more questions:

When do you push your branch?
Is there only the one new commit between on your "from" branch?
Can you share the Output from "GitHub Pull Request"?
Can you also open the developer tools (command Developer: Toggle Developer Tools) and share any output from the console?

My exact steps:

git checkout -b <branchname>
make sure I have GIT_EDITOR="code --wait"
Edit a file
git commit and past in the example message
"Create Pull Request" from the Source Control view.

I also tried with 4a: push branch.

Im having issues with gh pr create.
It doesnt auto-fill the title anymore either :/

Were you able to repro it @alexr00? Are there different steps?

I was able to repro. The steps:

Checkout topic branch A from base branch main.
Make a commit on branch A.
Make several commits on branch main.
Fetch main if you don't already have the changes from step 3.
Try to create a PR and verify that the PR description and title match those of the commit in step 2.


chore(vc): add suitable timeouts when to abandon block proposal duties

Overview
In the current implementation the validator client does NOT have suitable timeouts encoded. If it cannot receive information from peers it will hand indefinitely and miss its slot.
Create and configure timeouts

Waiting for attestations does have a timeout set that can be configured


Amcrest camera

Hi
Your integration partially works with my Amcrest camera.
Amcrest ProHD 1080P IP2M-841B
https://www.amazon.com/dp/B0145OQTPG
Software VersionV2.420.AC00.18.R, Build Date: 2019-08-03
WEB Version<IP_ADDRESS>9604
ONVIF Version16.12(V<IP_ADDRESS>3183)
S/NAMC000647ADA9BA3EA
What works:
Have a preview of the camera feed that updates every few seconds.
What doesn't work:
When I click on the camera and try to load the live stream it doesn't work (Yes I have added ffmpeg to configuration.yaml).
This is the error in the home assistant log file
2021-10-25 23:54:08 ERROR (stream_worker) [libav.rtsp] method OPTIONS failed: 404 Not Found
2021-10-25 23:54:08 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsp://****:****@<IP_ADDRESS>:554/cam/realmonitor?channel=0&subtype=0

If I want to view my camera in VLC the following work
rtsp://login.passwd@<IP_ADDRESS>:80/cam/realmonitor?channel=1&subtype=0
rtsp://login.passwd@<IP_ADDRESS>:554/cam/realmonitor?channel=1&subtype=0

But the following doesn't work:
..... channel=0  ....

So the problem is that it is trying to load channel=0

Does the audio/movement detection and switch work when on channel 0?

Hi merry Xmas. I can't remember I will investigate when return from holiday Inn a few weeks.

Thanks. I'm going to resolve this now to help clear the queue since I think this is working. Please reopen if it doesn't work.

@rroller It's been a while but I just ran into this. Channel 0 allows for motion/sound detection, but no video. Channel 1 allows for video but no motion/sound detection.

Hi. I'm not using HA or the camera currently so I can't confirm or deny this from another user perspective.


[rp] Import functionality for pipeline zips

New PR created with commits copied from an existing PR due to excessive diff and duplicate commits included in that PR. Original creator: @PopaRares
Description
Added import functionality for pipelines. Users now have a new options in the + New pipeline creation button labeled Import pipeline zip, which can be accessed from both the overview and the pipelines pages. The user can chose to overwrite existing files via the UI. This import capability seamlessly integrates with both types of pipeline downloads, as previously introduced in this PR.

Normal workflow of a pipeline import.

Error handling on pipeline import.
How it works
Our streamlined pipeline import process harnesses the robust functionality of the existing file upload feature. This efficient workflow introduces a novel UploadPipeline component, seamlessly integrating with the established FileUploader while introducing a distinctive pipelineZip flag to designate its type.
Upon upload, the server extracts the zip contents into a temporary folder. The process then involves parsing the configuration file of the pipeline, generating new resource names when necessary (in compliance with the overwrite setting) and, in the absence of errors, orchestrates the seamless deployment of all pertinent files to their designated locations in a consolidated bulk operation.
How Has This Been Tested?

[x] Downloaded pipeline from UI and imported zip successfully.
[x] Zipped a pipeline folder (on macOS) and imported zip successfully.
[x] Tried to import invalid file (e.g. a gif) and had error displayed in UI.
[x] Confirmed tag cache was updated after importing pipeline zip file.
[x] Confirmed block cache was updated after importing pipeline zip file.
[x] Confirmed block and tag cache was updated after deleting pipeline.

Checklist

[x] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[x] I have performed a self-review of my own code
[ ] I have added unit tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] If new documentation has been added, relative paths have been added to the appropriate section of docs/mint.json

cc:

@dy46 Rebased PR so tests are passing now


Add a Flutter Widget in native iOS App inside an UIView

I found out that there is the possibility to add a flutter widget inside my native App iOS, but also that the Flutter framework allow me only to create a new View controller to present, as showed into this snippet:
let flutterEngine = (UIApplication.shared.delegate as? AppDelegate)?.flutterEngine;
        let flutterViewController = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil)!;
        flutterViewController.setInitialRoute("route1")
        self.present(flutterViewController, animated: false, completion: nil)

So my question is: Is there the possibility to create a FlutterView and not only the restrictive FlutterViewController?
Thank you so much, Arcangelo

cc @dnfield
Do we need more docs around this?

It is not currently possible have just a UIView for a Flutter widget.
Can you speak a bit more about what you're trying to do and why you want to avoid using a ViewController?
@xster - I'm not sure what more we'd document here - the current documentation specifies how to use the add2app stuff.  If this really is a FAQ it's worth adding but I don't know if we're getting that request all that much.

@xster @dnfield At first I have tried to include ad UiView native iOS in flutter to allow me to include banner in any place into the screen (that is not possible to do at the moment with AdMob in flutter). This causes the app crash and the lost of gestures and any other problems (I have opened an issue for this). As second test I have tried to create a native App iOS and after to include Flutter widget for the equal parts of the native apps in Android and iOS but it seems that It is not possible at the moment. How can I solve that? My only problem is to add AdMob banner into the flutter App. Thank you!

I don't have anything too specific. If Android is going to support adding a FlutterView as entries in a table, it would be nice to describe what that looks like with custom UITableViewCells and Flutter inside it, whether as UIViews or UIViewControllers.

With native magic, anything is possible:
guard let flutterEngine = (UIApplication.shared.delegate as? AppDelegate)?.flutterEngine,
  let flutterViewController = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil) else {
    return nil
}

addChild(flutterViewController)
flutterViewController.view.translatesAutoresizingMaskIntoConstraints = false

guard let flutterView = flutterViewController.view else { return }

addSubview(flutterView)
flutterView.translatesAutoresizingMaskIntoConstraints = false
flutterView.topAnchor.constraint(equalTo: topAnchor).isActive = true
flutterView.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
flutterView.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
flutterView.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true

flutterViewController.didMove(toParent: self)
flutterView.layoutIfNeeded()

@ahusseini  Have you been able to use the above approach successfully.. My Idea is to develop several small components as flutter widgets and then use them across projects as reusable subviews

Hey @MithunMadhav1112, I haven't tried this for multiple flutter components, but that use case is on the horizon for us. This method works for us with one component, but I'd wager that we would need to spin up multiple engines for multiple components on screen. I'm not entirely sure though.

May I ask why this issue been closed? Is any solution or no can do?

Thanks, @ahusseini !


Added a solution with a Fibonacci twist

I thought I would do a little bit of creativity with my solution by going through a Fibonacci sequence that the user inputs. Thought it was a fun twist!

Neat! Thanks :)


Tooltip wrong position

this is simple line chart
tooltips aren't displaying near mouse, but only if the chart isn't on top of the website
if the chart is on the top, everythig is ok

I am having this same problem (the tooltips for a multi line chart with interactive guideline are showing way above where they should, all the way on another chart), but only with the interactiveGuideline and multi-tooltips. I checked that issue linked above from nvd3, and wrapping the chart in a div with position:relative moved the tooltip but not all the way into the right position. Anyone have any ideas here? This is really lame!

I think @arunkjn is right. I think it has to do with how nvd3 does Tooltip positioning.
Do you guys have your chart within a container which is scrolling, rather than a scrolling window?
In line 773 of nv.d3.js, you can see that one of the things nvd3 takes into account when positioning tooltip is the page's scrollTop.
scrollTop = window.pageYOffset

In my case, I have a div #main-content-container within the page that is actually scrolling, and so the position of the page is 0; as a result, the variable does not accurately reflect the page. If I replace above with
scrollTop = document.getElementById("main-content-container").scrollTop

the tooltip is positioned correctly.

I am using tooltip but data on tooltip is showing incorrectly . I have two bar on bar is showing correctly but other is showing wrong. i am attaching image1 and image2 . In the image1 tooltip data is showing correctly on the green bar while in image2 on blue bar showing tooltip data in incorrectly. on the blue bar should also showing X axis value as green bar but its showing 20 instead of COD maintenance.
Please suggest someone.


README.zh.md is not in Chinese

Please make a translated version of README, or remove 中文 link from README.md, it's kinda misleading.

We will fix it asap, thanks for notification.


Optimize the patch generation in the training set

Use the x and y position of a patch instead of cropping and saving each patch

Closing this issue as training is now done in ivadomed where patching is indeed done by indexing the x and y position of a patch instead of cropping and saving each patch on disk.


Support for Kobo Clara 2E?

Hi @Bill13579 ,
awesome project! I'm looking for an audio player for my Kobo Clara 2E for side-loaded audio books. Do you know of anybody who has tested buck with Kobo Clara 2E?
Regarding installation: I have already installed KoReader on my device. So, Nickel Menu is installed too. So, I'd only have to do step 2, 4 and 5, right?

I don't personally have a Clara 2E, so I haven't tested tested support for it. Yes I think you can skip 1 and 3. It might be a bit finicky to get everything set up, but best of luck!

Alright, I just followed the setup steps 2, 4 and 5. It went smoothly. There were no error messages displayed. However, how do I access it now that it's installed? Should there be a Nickel Menu entry for buck? I still only have the "KOReader" entry there. When I click on my side-loaded audios (.mp3z archives) they are still being opened with the rudimentary Kobo dev audio player. How can I get them to open with buck? Thanks for support.


AbortedPromiseError: Scene disposed error in Next.js

I am trying to load gaussian splat from a resource url in Next.js. But got error:
Error loading splat scenes: AbortedPromiseError: Scene disposed

Next.js: 14.2.3
gaussian-splats-3d: 0.4.4
Code (SplatsView copied from https://github.com/mkkellogg/GaussianSplats3D/issues/247):
'use client'

import * as THREE from "three";
import React, { useState, useEffect } from "react";
import * as GaussianSplats3D from "@mkkellogg/gaussian-splats-3d";

export function SplatsView({ sources, options }: { sources: Array<string>, options?: Array<any> }) {
    const [scene] = useState(() => new THREE.Scene())

    useEffect(() => {
        const viewer = new GaussianSplats3D.DropInViewer({
            sharedMemoryForWorkers: false,
            showLoadingUI: true,
            format: GaussianSplats3D.SceneFormat.Ply,
        });

        const addParams: Array<any> = sources.map((source: string, index: number) => {
            const params: any = {
                path: source
            };
            Object.assign(params, (options && options.length > index) ? options[index] : {});
            return params;
        });

        scene.add(viewer);

        viewer.addSplatScenes(addParams, false)
            .catch((err) => {
                console.log("Error loading splat scenes:", err);
            });

        return () => {
            viewer.dispose()
                .catch((err) => {
                    console.log("Error disposing of splats viewer:", err);
                });
        };
    }, []);

    return (<primitive object={scene} />);
}

export default function Page() {
  const splatURL = 'https://huggingface.co/datasets/runes/coolsplats/resolve/main/output.splat'

    return (
        <div>
            <SplatsView sources={[splatURL]} />
        </div>
    )
}

Thank you!
Stack trace:
Error loading splat scenes: AbortedPromiseError: Scene disposed
    at AbortablePromise.abortHandler (VM24892 gaussian-splats-3d.module.js:168:31)
    at AbortablePromise.abort (VM24892 gaussian-splats-3d.module.js:95:37)
    at AbortablePromise.eval [as abortHandler] (VM24892 gaussian-splats-3d.module.js:12281:37)
    at AbortablePromise.abort (VM24892 gaussian-splats-3d.module.js:95:37)
    at eval (VM24892 gaussian-splats-3d.module.js:12756:21)
    at Array.forEach (<anonymous>)
    at Viewer.dispose (VM24892 gaussian-splats-3d.module.js:12755:25)
    at DropInViewer.dispose (VM24892 gaussian-splats-3d.module.js:13417:28)
    at eval (page.tsx:34:20)
    at safelyCallDestroy (react-dom.development.js:20869:5)
    at commitHookEffectListUnmount (react-dom.development.js:21051:11)
    at invokePassiveEffectUnmountInDEV (react-dom.development.js:24033:13)
    at invokeEffectsInDev (react-dom.development.js:26852:9)
    at legacyCommitDoubleInvokeEffectsInDEV (react-dom.development.js:26829:5)
    at commitDoubleInvokeEffectsInDEV (react-dom.development.js:26816:7)
    at flushPassiveEffectsImpl (react-dom.development.js:26514:5)
    at flushPassiveEffects (react-dom.development.js:26438:14)
    at performSyncWorkOnRoot (react-dom.development.js:24870:32)
    at flushSyncWorkAcrossRoots_impl (react-dom.development.js:7758:13)
    at flushSyncWorkOnAllRoots (react-dom.development.js:7718:3)
    at commitRootImpl (react-dom.development.js:26369:3)
    at commitRoot (react-dom.development.js:26077:5)
    at commitRootWhenReady (react-dom.development.js:24749:3)
    at finishConcurrentRender (react-dom.development.js:24714:5)
    at performConcurrentWorkOnRoot (react-dom.development.js:24559:9)
    at workLoop (scheduler.development.js:256:34)
    at flushWork (scheduler.development.js:225:14)
    at MessagePort.performWorkUntilDeadline (scheduler.development.js:534:21)

Is it an actual error or console logging statement? Because you likely have Next.js running in strict mode, it will load your react component, then immediately unload and then load again to test how durable it is. When it unloads your react component, the viewer will get disposed, but because it is already trying to load a scene, that load has to be aborted and that's why you're seeing the AbortablePromiseError. However, I'm guessing you're seeing it because of this code:
viewer.addSplatScenes(addParams, false)
    .catch((err) => {
        console.log("Error loading splat scenes:", err);
    });

If you take out that console.log statement, it might go away.

If I change
        const viewer = new GaussianSplats3D.DropInViewer({

to
        const viewer = new GaussianSplats3D.Viewer({

Will get error
Uncaught (in promise) AbortError: signal is aborted without reason

@mkkellogg  Thank you for your reply!
Nothing is loaded in my page, and I got few errors:

Did you change GaussianSplats3D.Viewer back to GaussianSplats3D.DropInViewer ?

The above two error come from GaussianSplats3D.DropInViewer
Should I use GaussianSplats3D.Viewer or GaussianSplats3D.DropInViewer ?

You should be using GaussianSplats3D.DropInViewer, so it looks like you're fine there. When I run the code you pasted above in a Next.js project and I remove the line console.log("Error loading splat scenes:", err);, I don't see any errors and the splat scene loads fine.

That's weird,
I tried    "@mkkellogg/gaussian-splats-3d": "^0.4.4" with next.js version 14.2.8, '14.2.4' and 13.4.19 it all does not load the scene

It's probably worth checking -- Are you using your component under an R3F <Canvas> component somewhere?

Also, you need to be adding all the other three.js components needed for rendering (camera, controls, etc.) yourself

I'm new to both Three.js and Gaussian splats. Can you share your Next.js project? I can give you my email @mkkellogg

@mkkellogg No I am not using  at all.
Will
<SplatsView sources={[splatURL]} />

Alone not able to render a view?

Yeah the <Canvas> R3F element works similar to the way an HTML <canvas> works in standard three.js -- as the root rendering window. It serves as the container for standard three.js objects like the camera (which your example doesn't seem to have). Here's a simple example that I got to work:
'use client'

import { Canvas } from '@react-three/fiber'
import React from 'react';
import { SplatsView } from "@/components/canvas/SplatsView";
import { OrbitControls } from "@react-three/drei";

export default function Scene() {
  return (
    <React.StrictMode>
      <Canvas camera={{ near: 0.01, far: 1000 }}>
        <SplatsView
          sources={['https://huggingface.co/datasets/runes/coolsplats/resolve/main/output.splat']}
          options={[{ position: [0, 0, 0], scale: [2, 2, 2] }]}>
        </SplatsView>
        <OrbitControls />
      </Canvas>
    </React.StrictMode>
  )
}

It worked, thank you so much! I will dig in more about Three.js

Great!


coef() results was changed

Hi, Thank you for this package.
I using pando in my own data.
https://quadbio.github.io/Pando/articles/getting_started.html
When I use subset from Signac, coef() result was different.
https://stuartlab.org/signac/articles/pbmc_vignette
Strangely enough, when I increase nCount_peaks > 3000, the number of rows in the coef() result increases, even though the number of cells is decreasing.
Is there a reason why this ? thank you.

Hi @mkojima123, unfortunately I don't fully know and also can't really control how Seurats subset function interacts with the SeuratPlus object that Pando creates. I tried to make the object compatible with most Seurat functions, at least the ones that don't change the shape of the arrays. What you describe seems quite strange, and it leads me to believe that subset might not be fully compatible with Pando and I would avoid using it. As a workaround you can just save individual networks created by pando and add then back in after the subset. But anyway, the network would not by really valid for the subsetted object anymore, since inference on it would result in in different coefficients.

Thank you. I'm sorry for the late reply.
I understood that it is better not use subset.
Thank you for the information.


MAINT: Fix mistake in PR #7082

It should have been return NULL; not return;, cf. comments on #7082. Sorry about that.

LGTM, thanks @rlamy