use largest RenderResources instead of first to initialize uniform buffers

Fixes #1056
When using two texture atlas with different sprite counts, the buffers were sometimes initialized with the smallest, causing a panic when sending the largest.
See example https://github.com/bevyengine/bevy/issues/1056#issuecomment-753513160 for a reproducer, with one atlas of 8 (2 by 4) and the other of 177 (3 by 59) sprites.

This resolves the issue mentioned, but its a bit of a hack because we're now allocating space for the largest sprite count across all atlases. The UniformBufferArray abstraction was written for "dynamic uniforms", which must have the exact same size for each item in the array. The code is breaking for non-dynamic uniforms (specifically buffer/storage uniforms, which can be arrays of any size).
Clearly I bungled non-dynamic uniform support :smile:
I think the "correct" fix would be to allocate exactly the right amount of space in the staging buffer, probably as a separate step for non-dynamic uniforms outside of UniformBufferArray. We should probably only use UniformBufferArray when dynamic = true.
On the other hand, thats a lot of work and the current system has a number of flaws / limitations. Maybe its worth scrapping the whole thing and building the ideal system (whatever that looks like).

This resolves the issue mentioned, but its a bit of a hack because we're now allocating space for the largest sprite count across all atlases. The UniformBufferArray abstraction was written for "dynamic uniforms", which must have the exact same size for each item in the array. The code is breaking for non-dynamic uniforms (specifically buffer/storage uniforms, which can be arrays of any size).
Clearly I bungled non-dynamic uniform support :smile:
I think the "correct" fix would be to allocate exactly the right amount of space in the staging buffer, probably as a separate step for non-dynamic uniforms outside of UniformBufferArray. We should probably only use UniformBufferArray when dynamic = true.
On the other hand, thats a lot of work and the current system has a number of flaws / limitations. Maybe its worth scrapping the whole thing and building the ideal system (whatever that looks like).

I'm cool with merging this as-is, provided we have plans to follow up / record that as an issue.

I'm cool with merging this as-is, provided we have plans to follow up / record that as an issue.

its a bit of a hack because we're now allocating space for the largest sprite count across all atlases

Yup, I figured as much... but it's a part of the code I'm not (yet) completely comfortable with and it took me already long enough to track it to this 😄
Still I think it's a "good enough" hack, as currently it's randomly either allocating space for the largest, or crashing. With this it's consistently allocating more space.

its a bit of a hack because we're now allocating space for the largest sprite count across all atlases

Yup, I figured as much... but it's a part of the code I'm not (yet) completely comfortable with and it took me already long enough to track it to this 😄
Still I think it's a "good enough" hack, as currently it's randomly either allocating space for the largest, or crashing. With this it's consistently allocating more space.

I'm cool with merging this as-is, provided we have plans to follow up / record that as an issue.

I can open an issue copy pasting your comment above, but I'll finish googling some of the things inside first !

I'm cool with merging this as-is, provided we have plans to follow up / record that as an issue.

I can open an issue copy pasting your comment above, but I'll finish googling some of the things inside first !

Cool that all sounds good to me. If nobody else gets around to it, I'll probably pick up the "high level data binding" rewrite soon-ish. This the current impl even confuses me and I wrote the dang thing / understand the concepts!

Cool that all sounds good to me. If nobody else gets around to it, I'll probably pick up the "high level data binding" rewrite soon-ish. This the current impl even confuses me and I wrote the dang thing / understand the concepts!

How come more people aren't experiencing this issue though? Do people just build one big texture atlas, or I mean should we be doing that?

How come more people aren't experiencing this issue though? Do people just build one big texture atlas, or I mean should we be doing that?

There are plenty of legitimate reasons to use multiple atlases (ex: staying under device texture size limits if you have many sprites or your sprites are large. logical separation, etc). We should support this scenario :smile:
I have a feeling that more people aren't hitting it because in most cases only one atlas is needed and thats "easier".

There are plenty of legitimate reasons to use multiple atlases (ex: staying under device texture size limits if you have many sprites or your sprites are large. logical separation, etc). We should support this scenario :smile:
I have a feeling that more people aren't hitting it because in most cases only one atlas is needed and thats "easier".


Skip playing voice lines for player

We should only play voice lines for AI soldiers. Currently it also plays for player. To fix:

[x] Change UMassPlayerControllableCharacterTrait::IsActorPlayerControlled to BlueprintPure
[x] In CharacterVoiceLineHandler in PlayVoiceLine function, add a check for IsActorPlayerControlled and if it's true, don't play voice line.

You can test this via:

Open L_SmallNoObstacles
pm.SkipFindingTargets 1
pm.SkipGameOverChecks 1
PIE
Kill all your teammates
pm.SkipGameOverChecks 0
Shoot at the enemy team so they turn to you and start firing
Wait until you're hit or die and make sure no voice line plays

Blocked by AC_Character_MassNotification
TODO:


Caustics

I was just skipping through a demo presentation at Unite Berlin on Unity's new Lightweight Render Pipeline, and they had a section (timestamped link here) where they briefly show how they apply some fake caustics on geometry under the water.
Would it be possible to have an option for something like this in Crest?  I think it'd work well with the shoreline foam to really sell the effect.
EDIT:  I tried to throw the Enhancement label on this, but I assume that's something only you can do?

Yeah that kind of effect should fit well, and could be on a static switch as an option.
Didn't know about the labels - I guess so!

Finally wading into this one since i seem to be in the mood to work on pretty effects at the moment.
I went into this with almost 0 confidence but ended up with something thats not too shabby actually!
Video: https://drive.google.com/open?id=1ZnLJqJPAHrromL8JBTP_M15_Jqt8wsTs
Image:

as usual the code is a bunch of cluttered crap with magic constants throughout. what are your initial thoughts and what kind of stuff would you like to tweak?
there are interesting RnD directions here. one would be generating the caustics properly from the waves. another would be generating approximate caustics but responding to the current wave spectra. another thing i'd like to try out is to distort the caustics based on the displacement texture, which would mean they would respond to the dynamic wave sim i think. that could look amazing i reckon..

Oh i forgot about the talk you linked above! Looks like he uses a flipbook animation for the caustics, kinda happy i got pretty good results using a single texture :).
(btw he is hoping to release the boat demo with 2018.3, forum thread: https://forum.unity.com/threads/lwrp-boat-racing-demo-from-gdc.527104/ )

Woah, that looks great already!  Is the movement a flipbook, or just panning and multiplying a couple of textures?
I hadn't even considered distortion.  I reckon you're right, distorting based on the displacement texture would look fantastic.
As far as tweakable parameters, the most obvious are things like multiplying the light intensity, and some sort of minimum depth control (it looks like you're already fading it in the shallows?).  Do caustics get more or less sharp depending on the depth they're cast on?  I haven't looked at any reference, really.  I don't know if that sort of thing would even be noticable.
Oh man, this will look so cool on sea creatures swimming just below the surface of the water.  I can't wait to see more! You continue to impress! :D

Yeah it should work on any opaque surfaces under the water - i want to see it on the sea creatures!
Yeah its panning mixed with some distortion. Oh and i tried taking the normals from the displacement textures. it worked, but unfortunately was one of the many things that does not translate well from imagination to reality IMO. if the caustics were really being generated from the waves i think it would look quite cool, but just distorting the existing patterns with the dynamic waves was subtle and not worth the expense i think: https://drive.google.com/open?id=1yRGEayKC5Lri923iQdpVVNVGe4vbGAD1
I think of the of the caustics as light being focused when the water surface forms a lens and as such has a focal point/depth. Of course in reality the water is a mix of different wavelengths and its more complicated, but i think assuming a focal depth is reasonable for us. I'm not sure what the best reference is but RBrucks has done some interesting work on rendering out caustics, such as https://www.youtube.com/watch?v=efh-fdJA9hw , and this focusing effect is visible. i fake this by setting a mip bias (poor man's blur), which helps to get rid of the jarring sharp caustics just below the water surface.
i have added some tweak vars in the referenced commit. if you could play around with it and let me know what is/isn't working well I'd be grateful. thanks!

btw the Texture Average Value param is a value associated with the texture and not something that should be hand tweaked. it compensates for the fact that the caustics texture is not a floating point texture that sums to a known value. when this value is configured wrong, the blurred caustic regions will appear too dark or too light (verify by flipping Caustics on and off using the toggle).

Just dropped it in.  It adds so much to the shorelines, it's fantastic!  Only thing missing I can think of is an option to adjust the scale of the texture (it's already pretty good, but I'd like to tweak the scale a tiny bit).
I can't get over just how much more grounded it looks now.  I'd really love to share some clips of Crest in our game some time soon!

Oh good point :) added now and merged to master - another jewel in the crest crown, woop!!
Yeah i'd love to see more! I'm also thinking of making a 'studios using crest' section or testimonials or something and would love to discuss what could make sense here. Anyway that's probably a conversation for another day.
Let me know if you have any other feedback/issues with the caustics!


WIP: generalize mat inv compute null space

Fix #21.

This is now blocked by #28, #29, #30.

This is now blocked by #28, #29, #30.

OK, blocking PRs have been merged.

Closed by accident.  This does not happen on GitLab.

OK, reverted (force pushed again) base and feature branches, and now I can reopen.

TEMP-BASE-haplav/generalize-MatInvComputeNullSpace deleted now.

@jkruzik This is ready for your review. Tests are clean on my machine.

OK, @jkruzik approvable now?


Fixes bootloader version

This PR upgrades the bootloader crate's version from 0.9.8 to 0.9.23 to account for this fix: https://github.com/rust-osdev/bootloader/pull/264, which can affect post-09 examples.
There is also a note about using the bootloader's custom physical memory offset feature (from https://github.com/phil-opp/blog_os/issues/1138#issuecomment-1242711282) and some of its caveats.

Thanks!


Allow REGIONAL custom domain

Hi,
Expected Behavior
by default, the module creates an EDGE custom domain.  Creation of REGIONAL api gateway resource with Custom Domain Name
Actual Behavior
When we create a REGIONAL API Gateway, ACM cert outside of us-east-1 and try to create a custom domain, we get the following error.
creating API Gateway Domain Name (api.example.com): BadRequestException: Invalid certificate ARN: arn:aws:acm:eu-west-2:1234567890:certificate/400522a7-5e1d-4923-bf24-3d3047e34aef. Certificate must be in 'us-east-1'.
Steps to Reproduce
Configure a REGIONAL api gateway and try to create a custom domain name.
Proposed solution
Update aws_api_gateway_domain_name resource with ability to pass endpoint_configuration
  endpoint_configuration {
    types = [ "REGIONAL" ]
  }

This has been fixed with release 5.0.1


I provide docker image

I provide docker image.
This is the up to date version of softether.
I tested both Kubernetes and Docker
docker hub
git hub

can you please share details of how to use it ?
typical use cases, examples ... it would be nice if you can provide PR on current docs

This is not an issue.


Fix test_numbers.json schema to pass validation.

Adds a min/max to the question that sets the min/max values for the subsequent range questions.
This essentially prevents the situation where a user may input a max value that is smaller than the min value.
Ideally we would validate that max is greater than min on the set-min-max-block question but this isnt necessary to satisfy any requirements at the moment.
What is the context of this PR?
Fixes #1460
How to review

Run unit tests and assert that schema validation does not fail
Test that in the set-min-max-block question it is not possible to enter a max value than is less than the entered min value

@nealedj can you squash this one now?


Gemfile's Ruby version out of sync

The Gemfile has ruby '2.2.3' but when I went through the setup instructions for Docker development on OS X, I ended up with a ruby version of 2.2.4.
This means that the setup instructions don't work as written (you run into an error when running docker-compose up). Once you change the version to the correct one it works fine. (But I didn't want to commit this change).
We're pulling from this Dockerfile, ruby 2:2, which has 2.2.4, but I guess it was 2.2.3 when that Gemfile was authored.
The easy fix would be upgrading to 2.2.4 -- would this work, or be convenient?

@erose Thanks for bringing this up, it'll be good to improve this friction. :)
You're spot on about this working previously, and then at some point aftereward the Docker Hub Ruby image, which is only tagged at 2.2, published 2.2.4.  I updated all the Ruby dependencies to 2.3.0 in this PR, which also has steps for getting things working locally:https://github.com/studentinsights/studentinsights/pull/60

@erose Closing this, since https://github.com/studentinsights/studentinsights/pull/60 should address it, and please re-open if there's still issues.


Retry when pull request annotation fails

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
Rather than to fail with Dependabot::PullRequestCreator::AnnotationError at the first failure, it would be nice if we added retries to this step. The goal is to avoid errors like this one:

pull_request_creator/github.rb:120:in `rescue in create_annotated_pull_request': POST https://xxxx/labels: 500 -  (Dependabot::PullRequestCreator::AnnotationError)

This exception was introduced here

Thanks @yeikel !
Agreed we should add retries here, but i'm not sure we need a manual implementation of it... I have a hunch there's some wrapper code somewhere that you could add that would handle the retry intelligently. Let me ask internally to see if a teammate knows of any.


Web and pdf loaders

Added PigPdf implementation for PdfSource
Added basic WebLoader implementation using AngleSharp
Regarding Using Include="System.Net.Http" - I have troubles building project in Rider, it doesn't include that in generated global usings file
Included some sample.pdf for testing purposes

This looks really good, thank you for the PR!


Add structured markup to PDP

Background
https://developers.google.com/search/docs/data-types/product
https://json-ld.org/
Work
Add JSON-LD script for Google's Product schema at the bottom of the PDP page component.

Duplicate of #149


⚠ Bofrost.be has degraded performance

In 9ffcc74, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2417 ms

Resolved: Bofrost.be performance has improved in 762b038.


Update requirements.txt

tornado is necessary to this sample

add ‘tornado’ to jina example requirment.txt


chore(package): update tap to version 14.1.0

Closes #31

Coverage remained the same at 77.273% when pulling 9db81d03bffefb77b315787269b6d74afe4a0e59 on greenkeeper/tap-14.1.0 into 13cafb747967d261def075b6ca64291a25cde1be on master.

Coverage remained the same at 77.273% when pulling 9db81d03bffefb77b315787269b6d74afe4a0e59 on greenkeeper/tap-14.1.0 into 13cafb747967d261def075b6ca64291a25cde1be on master.


Revert recent changes for exportability for package declarations

We figured that there are several enhancements to make to fully reconcile the exportability of package decls and the ideal user experience of other features. Namely:

we need to teach availability checker to treat package decls like SPI decls in terms of requiring explicit availability annotations.
we need to allow package decls to reference SPI decls without additional SPI annotations on package decls.

@swift-ci please smoke test

@swift-ci please smoke test

It turns out that I need to revert these two PRs:

https://github.com/apple/swift/pull/73161
https://github.com/apple/swift/pull/73498


Use correct name for related manager

I know that people should probably overwrite this template.... but it's really confusing that it doesn't work :)

I get the hack'ish nature of this now :) While rendering a RichTextBlockWithFootnotes, footnote_list is populated and this is the list that we're expected to iterate over in the template :+1:


fresh install error : doom-package-error

What did you expect to happen?
i expected doom to install correctly
What actually happened?

x There was an unexpected error:
  Type: doom-package-error
  Message:
    Error with packages
  Data:
    "ws-butler"
    (error "Failed to run \"git\"; see buffer *straight-process*")
    "Cloning into '/home/younlok/.emacs.d/.local/straight/repos/ws-butler'...
    fatal: unable to access 'https://github.com/hlissner/ws-butler.git/': Failed to connect to github.com port 443: Connection timed out
    "
  Straight output:
    Cloning into '/home/younlok/.emacs.d/.local/straight/repos/ws-butler'...
    fatal: unable to access 'https://github.com/hlissner/ws-butler.git/': Failed to connect to github.com port 443: Connection timed out
Run the command again with the -d (or --debug) switch to enable debug
mode and (hopefully) generate a backtrace from this error:
doom -d install
If you file a bug report, please include it!

Steps to reproduce:
doom intall
System information:

((emacs
  (version . "26.3")
  (features . "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2")
  (build . "Aug 29, 2019")
  (buildopts "--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now")
  (windowsys . batch)
  (daemonp))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop, origin/develop, origin/HEAD 3a5ef316f 2020-04-19 22:04:12 -0400")
  (dir . "~/.doom.d/"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/bin/bash")
  (uname . "Linux 4.19.69-1-lts #1 SMP Thu Aug 29 12:06:45 CEST 2019 x86_64")
  (path "/usr/local/bin" "/usr/bin" "/bin" "/usr/local/sbin" "/usr/lib/jvm/default/bin" "/usr/bin/site_perl" "/usr/bin/vendor_perl" "/usr/bin/core_perl" "/usr/local/go/bin" "~/flutter/flutter/bin" "/usr/lib/jvm/default/bin" "/usr/bin/site_perl" "/usr/bin/vendor_perl" "/usr/bin/core_perl" "/usr/local/go/bin" "~/flutter/flutter/bin" "/usr/lib/emacs/26.3/x86_64-pc-linux-gnu"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold snippets :emacs dired electric undo vc :checkers syntax :tools (eval +overlay) lookup magit :lang data emacs-lisp markdown org sh :config (default +bindings +smartparens))
  (packages "n/a")
  (unpin "n/a")
  (elpa "n/a")))

See
https://github.com/hlissner/doom-emacs/issues/2937
for a workaround

fatal: unable to access 'https://github.com/hlissner/ws-butler.git/': Failed to connect to github.com port 443: Connection timed out

The error says the connection timed out. This is a networking issue, not an issue with Doom. Simply try doom install again.
Otherwise, try https://github.com/hlissner/doom-emacs/issues/2937#issuecomment-616211870


Anarchy Tokens Logo for adding

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

Moved to tokens folder


GWS15k Benchmark Dataset

Great Paper!
Is the GWS15k benchmark dataset available somewhere?

It's private :( You have to make it yourself following the instructions in the paper that introduced it


In OpenSCENARIO defined command driving backward should be supported.

@fabianoboril Please, help me for that.
I want to define negative velocity in the OpenSCENARIO scenario as in line 124: https://gist.github.com/jS5t3r/c1e2543ede9275b0c735b5100d3ef7c0
But the car does not move backwards. Probably, it must be programmed that by a negative velocity
the car sets its reverse gear. For example, by a negative velocity, a pedestrian can walk backwards.

From our perspective it's sensible that negative speeds should mean 'reverse' as there's no restriction on that number stating that it must be positive and there's no other reasonable interpretation of negative speed values

Would you plan this feature in near future?

Hi,
we plan to change internally a couple of things to be able to use the new TrafficManager of CARLA, that was recently merged and will be announced with the next release. Afterwards, we can look in how to enable going backwards, as this will change some of the underlying behaviors quite significantly (e.g. lane following will become better, easier to use, etc.)

@fabianoboril   can you please guide me to support -ve velocity, in my case vehicle is initiated at high speed with respect to the waypoint and time information. and parameter declaration is used to start with a defined velocity.  can we move the car strictly with waypoint and time information during deceleration and stop a vehicle at some interval


feat: DTOSS 6233 sonarqube bugfixes

Description
Resolving all the bugs generated by SonarQube.
Please find below the SonarQube link have the bug details:
https://sonarcloud.io/project/issues?issueStatuses=OPEN%2CCONFIRMED&types=BUG&id=NHSDigital_dtos-cohort-manager
Context

Type of changes

[ ] Refactoring (non-breaking change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist

[ ] I am familiar with the contributing guidelines
[ ] I have followed the code style of the project
[ ] I have added tests to cover my changes
[ ] I have updated the documentation accordingly
[ ] This PR is a result of pair or mob programming

Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

[ ] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Closed as the PR is having unverfied commits which can't be merged


Testing: Mining control via Chain Manager

Overview
Use RPC methods https://infura.io/docs/ethereum/json-rpc/eth-mining
Specification
Be able to control mining
def mine(self, num_blocks: int=1, timestamp: Optional[int] = None) -> str:
    ...

Overview of chain manager
class ChainManager:
    ...
    # Mining management
    def mine(self, num_blocks: int=1): ...
    def enable_automining(self): ...
    def disable_automining(self): ...
    ...

Dependencies
#129

Inside ChainManager.mine:
if timestamp:
    self.pending_timestamp = timestamp

self.provider.mine(num_blocks)

Updates to:

https://github.com/ApeWorX/ape/blob/main/src/ape_test/providers.py#L12
https://github.com/ApeWorX/ape-hardhat/blob/main/ape_hardhat/providers.py#L49


How to implement contenteditable for inline content editing?

Any clues on how one would implement contenteditable (like Craft.js does)?

I also cannot get content editable to work.
I am using the example from this repository.
Clicking on a text container outlines the container in blue, but does not allow the text to be edited.
It also does not work with your published example ->
https://yoychen.github.io/v-craft/


docs : list init options, and their default values

What:

[x] find what all the options are
[x] list them together with their default values

Why:

Currently, some of these options are shown in examples in the README,
however, there isn't a central place which lists them all.

Coverage remained the same at 95.207% when pulling 0bbc231984fc0185965926368a9de6ce79cc6c71 on bguiz:patch-1 into 6e5b7b474c4d50ca84f96f2402649e516507af93 on nats-io:master.

I think the correct way to do this is to add a function that generates the defaults and then dumps them. This way we can expose the defaults without making them go out of date.

The README.md file has been updated with all properties, default values, and documentation.


Question - Why using VAE and not just UNet to predict the final output image?

Hello,
First of all thank you for your great work!
I have a question about the use of VAE. Why don't use only UNet to predict the generated image?

Hello,
Thank you for the appreciation. We can indeed just have UNet model and not have vae at all. That was the approach used by authors of DDPM which I have implemented here .
But while that works when images are smaller say 64x64, the training time and computational cost to train that on larger  images, say of size 512x512, is huge.
So instead the authors of LDM first downscale the image from hi res pixel space(512x512) to a lower res latent space(64x64 using a vae with downscale factor of 8) and train UNet for diffusion in this latent space.
Hope this helps.

Thank you very much for you reply! Completely understood your answer.

Happy to help!


Editing CSS in the inspect menu is broken in Chromium browsers

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
To re-create this issue, perform the following steps:
Create a new project with "ng new demo"
When creating the project, make sure to enable SCSS
Create 2 components, each with its own unique SCSS file.
Create a mixin in the generated styles.scss.
Import styles.scss in both components and utilize the shared mixin in both.
Include both components in the generated app component template.
Run "ng serve".
In Google Chrome, or any other Chromium-based browser open up to http://localhost:4200/
Right-click and inspect one of the components. In the Styles tab, edit one of the styles. The styles of the other component will have become corrupted and cannot be undone until the page is refreshed.
For this demo, I have 3 instances of Component A and 3 instances of Component B.
I inspected the last instance of Component B.

I changed the background from lightgreen to darkgreen and the styles for Component A no longer apply.

I changed the color back to lightgreen and styles for Component A are still in a broken state.

Please provide a link to a minimal reproduction of the bug
https://www.icloud.com/iclouddrive/029Z8W6H1o12qpP8GR4bJ6m4g#demo
Please provide the exception or error you saw
Please see the screenshots included above.

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 15.0.3
Node: 16.17.0
Package Manager: npm 8.18.0
OS: win32 x64

Angular: 15.0.3
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1500.3
@angular-devkit/build-angular   15.0.3
@angular-devkit/core            15.0.3
@angular-devkit/schematics      15.0.3
@schematics/angular             15.0.3
rxjs                            7.5.7
typescript                      4.8.4

Anything else?
The issue exists in any Chromium-based browser, but does not exist in Firefox or Safari.
The issue only exists when running on localhost using the command "ng serve". It does not exist when you run "ng build" and serve the files separately.
I've personally tested this on the latest iterations of macOS and Windows 11 and the issue exists in both Operating Systems.
The issue did not appear in Angular 14, but appeared when we upgraded our projects to Angular 15 and could no longer edit the CSS in the browser during development.

Looked a bit more into this and it appears that this is caused by the sourceURL comments which are added by css-loader.
[_nghost-ogu-c13] {
  display: flex;
  flex-direction: column;
  min-height: 1px;
  min-width: 1px;
  border: 1px solid lightgreen;
  border-radius: 12px;
  background-color: lightgreen;
  padding: 12px 8px;
  margin-bottom: 4px;
}
/*# sourceURL=webpack://./src/app/b/b.component.scss */
/*# sourceURL=webpack://./src/styles.scss */
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYi9iLmNvbXBvbmVudC5zY3NzIiwid2VicGFjazovLy4vc3JjL3N0eWxlcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VDS0UsYUFBQTtFQUNBLHNCQUFBO0VBTkEsZUFBQTtFQUNBLGNBQUE7RURDQSw0QkFBQTtFQUNBLG1CQUFBO0VBQ0EsNEJBQUE7RUFDQSxpQkFBQTtFQUNBLGtCQUFBO0FBRUYiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0IFwiLi4vLi4vc3R5bGVzLnNjc3NcIjtcclxuXHJcbjpob3N0IHtcclxuICBAaW5jbHVkZSBmbGV4LWNvbHVtbjtcclxuICBib3JkZXI6IDFweCBzb2xpZCBsaWdodGdyZWVuO1xyXG4gIGJvcmRlci1yYWRpdXM6IDEycHg7XHJcbiAgYmFja2dyb3VuZC1jb2xvcjogbGlnaHRncmVlbjtcclxuICBwYWRkaW5nOiAxMnB4IDhweDtcclxuICBtYXJnaW4tYm90dG9tOiA0cHg7XHJcbn1cclxuIiwiQG1peGluIGZsZXgtZml4IHtcbiAgLy9maXhlcyBuZXN0ZWQgZmxleGJveGVzXG4gIG1pbi1oZWlnaHQ6IDFweDtcbiAgbWluLXdpZHRoOiAxcHg7XG59XG5cbkBtaXhpbiBmbGV4LWNvbHVtbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIEBpbmNsdWRlIGZsZXgtZml4O1xufVxuXG5AbWl4aW4gZmxleC1yb3cge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBAaW5jbHVkZSBmbGV4LWZpeDtcbn1cblxuLy8gKiB7XG4vLyAgIGNvbG9yIDpyZWRcbi8vIH1cbiJdLCJzb3VyY2VSb290IjoiIn0= */

Closed via https://github.com/angular/angular-cli/pull/24436


Use .Insert() method on Observable collection instead of Add()

Add() --> Insert() - to put new items first, not last.
if -> switch  - I've applied this minor refactoring here.

Hi! Thanks for PR. I see you also made some unrelated changes, can you roll those back and just keep the .Insert(0, ...) one?

Hi! Thanks for PR. I see you also made some unrelated changes, can you roll those back and just keep the .Insert(0, ...) one? I prefer if/else to switch and there is a reason for ToArray() in RemoveInactiveDownloads.

Ok, for me it was just small refactoring, but u r rite. So yeah I'll keep only Insert().

Thanks!


Completions for objectives, tags, and teams are only provided when the cursor is at the beginning

:tada: This issue has been resolved in version 2.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


async validate multiple feilds

hello
I have 2 feilds that I want to do async validate for
asyncBlurFields: [ 'username', 'email' ],

but I want each one to call a different function they both call asyncValidate following this example
I asked that question in the discord channel as suggested but I got nothing
however I then tried this hack:
const asyncValidate = (values, dispatch , props) => {
  console.log(props.form);
  return new Promise((resolve, reject) => {
    if (props.form._active === 'username'){
      (async function() {
        const resp = await fetch('/graphql', {
          method: 'post',
          headers: {
            Accept: 'application/json',
            'Content-Type': 'application/json',
          },
          body: JSON.stringify({
            query: '{allUsers(username:"' + values.username + '"){username}}',
          }),
          credentials: 'include',
        });
        const { data } = await resp.json();
        if (data.allUsers.length > 0) {
          reject({ username: 'That username is taken' });
        }else {
          resolve()
        }
      }());
    } else if (props.form._active === 'email') {
      (async function() {
        const resp = await fetch('/graphql', {
          method: 'post',
          headers: {
            Accept: 'application/json',
            'Content-Type': 'application/json',
          },
          body: JSON.stringify({
            query: '{allUsers(email:"' + values.email + '"){email}}',
          }),
          credentials: 'include',
        });
        const { data } = await resp.json();
        console.log(data);
        if (data.allUsers.length > 0) {
          reject({ email: 'That email is taken' });
        }else {
          resolve()
        }
      }());
    }
  })
}

Everything is fine but when I reject the promise when email is taken the error for the username disappears and vice versa.
How can I do that elegantly without bugs?

+1
I'm using asyncValidate for multiple fields too, username and tel number.
I'm using the same approach as yours, when my telNumber is in error state.
Then, when I blur username field and got a resolve promise for username field,
The error state of telNumber field is gone.

In case you're still having this issue, it seems you need to reject the promise with every error.
In our case, I've used Lodash to extract all errors from the props.form object.
I push any error the validation might find in this currentErrors object and reject the promise with said object if it's not empty.

in V6 this will become an issue again because props.form will only return the current form name.

Wouldn't it make sense if the Field component had a asyncValidate property? This would enable us to create independent async validation functions per field, in theory.
If the status of this validation is passed to the component this would also solve https://github.com/erikras/redux-form/issues/900?

I agree with @peteruithoven  , IMO props are always a friendlier solution.

@KaboomFox's fix published in v6.0.0-rc.5.

@peteruithoven Did you proposed solution ever make it through? If not, did you @KaboomFox 's solution or something else?

@peteruithoven Did you proposed solution ever make it through? If not, did you @KaboomFox 's solution or something else?
@erikras Do you plan to have asyncValidate be a field property with access to the meta prop?

@oyeanuj
const asyncValidate = (values, dispatch, props, field) => {
if (field === 'something') {.....

@oyeanuj Not that I know of, it's was mostly a issue for the future of the project I'm working on. This has also meant that I haven't found the time to work on this yet.

A viable solution is:
const asyncValidate = (values, dispatch, props) => {
  const previousErrors = props.state.form.myform.asyncErrors;
  const [ currentFieldName, currentFieldValue ] = Object.entries(values)[0];
  asyncOperation(currentFieldName, currentFieldValue).catch(err => {
    throw Object.assign({}, previousErrors, {[currentFieldName]: err});
  });
}

Are any of these still relevant answers to the latest build?

I had to update @vvgomes fantastic solution to
const asyncValidate = (values, dispatch, props) => {
  const previousErrors = props.asyncErrors;
  const [ currentFieldName, currentFieldValue ] = Object.entries(values)[0];
  asyncOperation(currentFieldName, currentFieldValue).catch(err => {
    throw Object.assign({}, previousErrors, {[currentFieldName]: err});
  });
}

@keatz55 I'm using 6.6.3 and the changed field name is provided as a 4th parameter, so this works:
const asyncValidate = (values, dispatch, props, currentFieldName) => {
  const previousErrors = props.asyncErrors;
  const currentFieldValue = values[currentFieldName];
  asyncOperation(currentFieldName, currentFieldValue).catch(err => {
    return Object.assign({}, previousErrors, {[currentFieldName]: err});
  });
}

@upq I am able to validate multiple field on onBlur. But I'm unable to get why my submit button is not working after that. Here is my async method. Can you please help me
import * as api from '../../../tools/apiConfig';
import axios from 'axios';
function asyncValidate(values, dispatch, props, currentFieldName) {
const locale = props.locale.contactinfo;
return new Promise((resolve, reject) => {
if (currentFieldName === 'zip') {
const field1 = {
postal_code: values.zip
}
axios.post(api.VALIDATE_ZIP, field1).then((response) => {
if (response.data == false) {
reject({ zip: locale.postalRemoteValidate });
}
else {
resolve()
}
});
}
else if (currentFieldName === 'email') {
let field2 = {
email: values.email
}
axios.post(api.VALIDATE_EMAIL, field2).then((response) => {
if (response.data == false) {
reject({ email: locale.emailValidation });
}
else {
resolve()
}
})
}
})
}
export default asyncValidate;

Can anyone please help  me with that? I'm kind of stuck here.

@Abhijeetjaiswalit first thing you could try is to throw the new errors object instead of rejecting the promise (with just the new error entry). Something like this:
throw Object.assign({}, previousErrors, {[currentFieldName]: err});

Besides that, another suggestion to make your design simpler is to remove the field specific logic from your asyncValidate definition. You could try to inject another function that takes care of field specific validations so that asyncValidate has less reponsibilities (and code).
Hope that helps 😉

@vvgomes  thanx for your suggestion. Tried you way. but now it is showing : Uncaught (in promise) Object {zip: "please enter a valid postal code."}  on console.

@vvgomes any other suggestion, please?

@Abhijeetjaiswalit at this point, it's hard to suggest a solution without context. However, you could try to run the official asyncValidation example and try to modify it in baby-steps towards your scenario. At one point, you may want to extract the asyncValidate function to something similar to what @ljwagerfield suggested earlier in this thread.

@vvgomes i've tried everything and then i came here for help. In any case it is showing uncaught (in promis)  error. And if i try to reject in case of  error then it doesn't allow me to submit the form once validation fails.

@vvgomes helped me, I'm posting like it was at the end.
"redux": "^3.7.2",
"redux-form": "^7.0.4"
const asyncValidate = (values, dispatch, props, field) => {

    const apiUrl = process.env.API_URL;

    if (field === 'userName') {
        return fetch("${apiUrl}/auth/validations/v1", {
            method: "POST",
            body: JSON.stringify({
                type: 'user-name',
                value: values.userName
            }),
            headers: new Headers({
                "Content-Type": "text/plain"
            })
        }).then(function (response) {
            return response.text();
        }).then(function (data) {
            const previousErrors = props.asyncErrors;
            if (data && (data === true || data === 'true')) {
                throw Object.assign({}, previousErrors, {[field]: 'b591d5f.0450d1b.76ae7b1.d'})
            }
        });
    }

}

export default reduxForm({
    form: 'signUp',
    destroyOnUnmount: false,
    asyncValidate: asyncValidate,
    asyncBlurFields: ['userName']
})(injectIntl(SignUpForm));

As far as I can tell from using redux-form: 7.3.0 you must return a promise. So the code above will fail due to: Uncaught Error: asyncValidate function passed to reduxForm must return a promise.
Be aware that the asyncValidate is invoked before the submit as stated in the docs:

Asynchronous validation will be called before the onSubmit is fired, but if all you care about is validation onSubmit, you should use Submit Validation.

Then the field parameter is undefined. Just wanted to share that, since I spent a while trying to find that out.
As I only want to validate individual fields on blur with asyncValidate I return a promise that resolves right after that:
return new Promise(resolve => resolve());

Please let me know if there is any cleaner solution if you find one.
@Abhijeetjaiswalit the reason, your submit button is not working is exactly that case, when you don't resolve the promise you return.

@radzak I have the same situation where I want to do asyncValidate only if there is some value present in the field, but it required the promise to be returned.
I think there should be a way to not call the function at all from shouldAsyncValidate based on values of fields.
`let ReduxifyForm = reduxForm({
form: 'userForm',
asyncValidate,
asyncChangeFields: ['username', 'email'],
shouldAsyncValidate: ({trigger}) => trigger !== 'submit'
})(Form)
const asyncValidate = (values) => {
const { username } = values
if (username) {
return //server API's using fetch
}
return new Promise(resolve => resolve());
}
`

I am facing the same issue. Tried the solution mentioned in the comments as well. Please help
`const asyncValidate = (values, dispatch, props, currentFieldName) => {
const previousErrors = props.asyncErrors;
debugger;
// const currentFieldValue = values[currentFieldName];
if (currentFieldName === 'mobile_no') {
return axiosInst
.get('/number/exists', {
params: { mobile_no: values.mobile_no },
})
.then(response => {
if (response.data.status !== 'Failed') {
return axiosInst
.get('/droppedregistrations/add', {
params: { mobile_no: values.mobile_no },
})
.then(response => {
console.log('mobile dropped ' + response.data);
})
.catch(error => {
throw Object.assign({}, previousErrors, {
[currentFieldName]: error.response.data.errors.mobile_no[0],
});
});
} else {
throw Object.assign({}, previousErrors, {
[currentFieldName]: 'This mobile number already exists',
});
}
});
} else if (currentFieldName === 'email') {
return axiosInst
.get('/email/exists', {
params: { email: values.email },
})
.then(response => {
if (response.data.status !== 'Failed') {
return axiosInst
.get('/droppedregistrations/add', {
params: { email: values.email },
})
.then(response => {
// throw Object.assign({}, previousErrors);
// Promise.reject(new Error('fail'));
console.log('Email Dropped ' + response.data);
})
.catch(error => {
throw Object.assign({}, previousErrors, {
[currentFieldName]: error.response.data.errors.email[0],
});
});
} else {
throw Object.assign({}, previousErrors, {
[currentFieldName]: 'This email already exists',
});
}
});
}
};
export default reduxForm({
form: 'company-step-1',
validate,
asyncValidate,
// asyncBlurFields: ['mobile_no', 'email'],
})(Step1Component);
`

@peeyush-ad2games I believe, it's now possible with shouldAsyncValidate :)
Take a look at blurredField param to shouldAsyncValidate function

this is my async validate for username and email
`
const asyncValidate = (values, dispatch, props, field) => {
return new Promise((resolve, reject) => {
Axios.get('/api/v1/users', {
params: {
_id: values._id,
[field]: values[field]
}
})
.then(res => {
if (res.data.total > 0) {
return reject({
...props.asyncErrors,
[field]: 'Questo valore già usato.'
})
}
if (Object.keys(props.asyncErrors).length) {
return reject(props.asyncErrors)
}
return resolve()
})
.catch(() => resolve())
})
}
export default reduxForm({
form: 'user',
// validate
asyncValidate,
asyncBlurFields: ['username', 'email']
})(UserForm)
`

For me if I have two fields email / password :
  if (fields === 'email' && values.email) {
    promises.push(verifyEmail(values.email, dispatch))
     // don't add the promise with the same "name" of the field
    if(props.asyncErrors && props.asyncErrors.password){
      promises.push(
        new Promise((resolve, reject) => {
          reject({password : props.asyncErrors.password})
        })
      )
    }
  }

  if (fields === 'password' && values.password) {
    promises.push(verifyPassword(values, dispatch))
     // don't add the promise with the same "name" of the field
    if(props.asyncErrors && props.asyncErrors.email){
      promises.push(
        new Promise((resolve, reject) => {
          reject({email: props.asyncErrors.email})
        })
      )
    }
  }
 // return one promise in the end
  return Promise.all(promises).then(() => {})


Produce interview package

Produce an interview package that includes:

[ ] purpose of interview
[ ] safe space expectation
[ ] agenda and interview questions

Similarly to this package here

The linked package seems to require a password in order to open it ... @remyb2canada @ElminaIusifova do you have the password?

Interview questions framapad: https://mensuel.framapad.org/p/9f58-interview-questions?lang=en
Purpose of interview and safe space expectation framapad: https://mensuel.framapad.org/p/9f59-interview-purpose-and-safe-space-expectation?lang=en
@remyb2canada I didn't do an agenda as I wasn't sure what to put in it beyond...we ask you questions. ?
@ElminaIusifova over to you! :)

Package for interviewee (by email)
https://mensuel.framapad.org/p/62H76sglHG4TE0NyaBxw
Package for the interviewer (a person who interviews)
https://mensuel.framapad.org/p/qUtTvj996vMydDHWe7KL
@remyb2canada @RachelMuston  I dont think we need agenda in our case.  Feel free to modify both framapads


Fixed clearing query param with unsafe characters in name

queries map uses encoded names as keys, but unencoded name was passed to remove()

Looks great. thanks!


Add QuickLZ decompression rule

Tested on 32-bit and 64-bit samples from the QuickLZ website, and on a malware sample that uses QuickLZ (ShadowPad). Good detection in both.
Am not sure of the best way to run this at scale and ensure there are no false positives, ideas welcomed.

Thanks for the contribution @edeca!  Nice use of description to put contextual data in the rule.
I'm running a quick check against the capa-testfiles to check for false positives.  If there are any I will post them up here so the rule can be adjusted.

I got only one result back in the capa-testfiles repo.
+------------------------+------------------------------------------------------------------------------------+
| md5                    | 6a352c3e55e8ae5ed39dc1be7fb964b1                                                   |
| sha1                   | e2cfb70c2757270288d10008fb4c8d3c2afd8fc3                                           |
| sha256                 | c69121a994ea8ff188510f41890208625710870af9a06b005db817934b517bc1                   |
| path                   | capa-testfiles/6a352c3e55e8ae5ed39dc1be7fb964b1.dll_                               |
+------------------------+------------------------------------------------------------------------------------+

+------------------------------------------------------+------------------------------------------------------+
| CAPABILITY                                           | NAMESPACE                                            |
|------------------------------------------------------+------------------------------------------------------|
| decompress data using QuickLZ                        | data-manipulation/compression                        |
+------------------------------------------------------+------------------------------------------------------+

Would you be able to download https://github.com/fireeye/capa-testfiles/raw/master/6a352c3e55e8ae5ed39dc1be7fb964b1.dll_ and check offset 0x10010DE0 to ensure it matches the intended logic of this rule?

Looks fine - references to the file were added in this commit which is expected.

can we add the 6a352c3e55e8ae5ed39dc1be7fb964b1 sample to the list of examples? this way the linter shouldn't warn about a missing example.

Looks fine - references to the file were added in this commit which is expected.

Great, thanks for checking!  Everything looks good to me.
Like @williballenthin said, adding  - 6a352c3e55e8ae5ed39dc1be7fb964b1:0x10010DE0 to the example list will keep the linter from warning.

Added hash to the list of examples. Linter now returns:
(nursery) decompress data using QuickLZ
  WARN: no violations: Graduate the rule

lets graduate it then!
this means moving the rule from the nursery directory into the appropriate directory structure.

🥳 thanks @edeca !


Fixing Identity 851

Reviewed. Can merge.

Can you resend this PR, since it contains some merge conflicts. and also please verify  the PR, since it has so many commits.


fix: various typos

Summary
Updated the cSpell config version to the currently supported 0.2. Re-ran accross the repo and fixed some of the basic ones up to the letter "a"

FYI, used cspell --config cSpell.json --no-progress --words-only --unique "**" > project-words.txt to create a big text file of all the current issues so I could pick out some of the more obvious typos

Rebased out the code file changes to submit separately


[FEAT] Implement hybrid search functionality with BM25 integration

Description
Add support for hybrid search by adding BM25S index fitting and search.
We first initialize the BM25S index in the fit fn, and then during retrieval, based on the value of alpha we decide to combine it with vector search. alpha is a common value deciding the strength of the respective scores, which affects how much weight each component receives.
Given that it required major code for combining the values together, I created a separate function _merge_results with the process to normalize the scores for each of the components, weighted addition based on alpha, re-rank them by combined scores, trim based on k value, and then present.
alpha by default is set to 1.0 which implies that hybrid search is disabled
Please let me know if anything else is needed. Happy to receive feedback. 😊
Copilot Summary
This pull request introduces significant enhancements to the Pipeline class in the korok/korok.py file, focusing on enabling hybrid search by integrating BM25 with vector search. The changes include updates to the initialization, fitting, and querying processes, as well as the addition of utility methods for normalizing and merging search results.
Key changes include:
Hybrid Search Integration:

Added bm25 and alpha parameters to the Pipeline class to support hybrid search. The bm25 parameter allows for the inclusion of a BM25 index, while the alpha parameter controls the weighting between BM25 and vector search results.
Implemented the is_hybrid_available class method to check for the availability of the BM25 module.
Updated the fit method to initialize and index BM25 if hybrid search is enabled (alpha < 1.0).
Modified the query method to perform BM25 search and merge results with vector search results when hybrid search is enabled.

Utility Methods for Result Handling:

Added _normalize_scores to normalize search scores between 0 and 1.
Added _split_vicinity_results to separate vector search results into documents and scores.
Added _merge_results to combine and rank results from vector search and BM25 search based on the provided alpha value.

Dependency Management:

Added a new dependency group hybrid in pyproject.toml to include the bm25s package required for hybrid search.

Hey @stephantul!
I believe I have made the necessary changes; could you please have a look?
Thanks! 😊

Hey @stephantul!
Thank you for the detailed feedback~ 😊 I made the required changes, and tested out the working as well. Could you have a look?
Thanks!

Just added both sentence-transformers and bm25s to the defualt installs. Does this seem fine, @Pringled?

@bhavnicksm Sure, I think removing them is fine (and better) at the moment, and we can think about how to set this up at a later point, thanks!

Done! (^-^)

Awesome, merging now! 🚀


'Website' Tab Issue

When migrating a Team to a new geo one of the things that is missing is the parsing of tabs created to display SharePoint files. For example, we have a team in North America with a 'Website' tab that points to https://sample-NAM.sharepoint.com/sites//file.aspx and that Team/SharePoint sites moves to EUR (https://sample-EUR.sharepoint.com/sites//file.aspx) the website tab will display an error. This requires Team owners to recreate these tabs, possibly losing whatever URL it happened to be pointing at.

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

ID: 8330026f-6986-c8e2-f532-f1ae3a06e4b8
Version Independent ID: e62c6f5a-d930-31de-dc1f-da57f0c7229f
Content: Multi-Geo Capabilities in Microsoft Teams - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/multi-geo-capabilities-in-teams-in-microsoft-365.md
Service: o365-solutions
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@MikePlumleyMSFT Please help us in resolving this issue. Thanks

@David-Rosenthal can you help?

@David-Rosenthal Gentle reminder. Please help. Thanks

@chhaya-sharma9 Did you find an answer on this issue I messaged about last year?

@David-Rosenthal, not yet. Asked for the current status on this issue with Files team. Added you in the email thread.

@chhaya-sharma9 Kindly update, thanks.


[BUG] depthai-sdk error when recording to MCAP: 'XoutFrames' is not defined

Check if issue already exists

Google it (e.g. error xy github luxonis depthai)
Check troubleshooting in documentation.

Describe the bug
I'm doing some development with the depthai-sdk package. When running the mcap-record.py script I get NameError: name 'XoutFrames' is not defined error from depthai_sdk/recorders/mcap_recorder.py. Before this, I was also missing the geometry_msgs package (and others) that I installed manually from https://rospypi.github.io/simple/.
Minimal Reproducible Example
Append the MRE to the bug report, instructions here
I'm running depthai v2.19.1 on a Raspberry Pi 4 with Ubuntu 20.04 and followed these instructions for a Ubuntu installation:
https://docs.luxonis.com/projects/api/en/latest/install/
The script: https://github.com/luxonis/depthai/blob/main/depthai_sdk/src/depthai_sdk/recorders/mcap_recorder.py
Expected behavior
Depth and video data should be saved as MCAP file type.
Screenshots

~/Luxonis/depthai/depthai_sdk/examples/recording$ python mcap-record.py
Recording...
Closing OAK camera
Traceback (most recent call last):
File "mcap-record.py", line 12, in
recorder = oak.record([color.out.encoded, left, right, stereo.out.depth], './records/mcap', RecordType.MCAP)
File "/home/ubuntu/.local/lib/python3.8/site-packages/depthai_sdk/oak_camera.py", line 407, in record
record = Record(Path(path).resolve(), record_type)
File "/home/ubuntu/.local/lib/python3.8/site-packages/depthai_sdk/record.py", line 78, in init
from .recorders.mcap_recorder import McapRecorder
File "/home/ubuntu/.local/lib/python3.8/site-packages/depthai_sdk/recorders/mcap_recorder.py", line 10, in
class McapRecorder(Recorder):
File "/home/ubuntu/.local/lib/python3.8/site-packages/depthai_sdk/recorders/mcap_recorder.py", line 20, in McapRecorder
def update(self, path: Path, device: dai.Device, xouts: List[XoutFrames]):
NameError: name 'XoutFrames' is not defined

Pipeline Graph
Please also provide a screenshot of your pipeline using the DepthAI Pipeline Graph.

Had to use oak.show_graph() as the pipeline_graph script wasn't working. Commented out recording line so it didn't crash.

Nodes (id):
===========
ColorCamera (0)
VideoEncoder (1)
MonoCamera (2)
MonoCamera (3)
StereoDepth (4)
Connections:
============
0 MonoCamera (3): out -> StereoDepth (4): [8] right
1 MonoCamera (2): out -> StereoDepth (4): [8] left
2 ColorCamera (0): video -> VideoEncoder (1): [4] in

Attach system log

Provide output of log_system_information.py
log_system_information.txt
Output as .txt because Markdown doesn't support uploading JSON.

Additional context
Unsure if it's related to this issue due to me having to manually install the ROS message definitions, but recording depth as rosbag files works but I'm unable to open them in the Intel Realsense Viewer due to a message error.

Has this been resolved @daniilpastukhov ?

Yes, it's fixed in develop branch already. The issue will be fixed in 1.9.5 that is coming soon


Unable to use the style

I have a simple question how can I apply the style. Could you please point me to some guide? I have Maptiler free account and API key. I hardcoded API key in local copy of JSON file. What should I do next?

Hi,
Thanks for asking.
This repo was also only intended for internal use.
What I can offer is this style for the canton of Zurich, which we made for QGIS based on OSM: https://github.com/geometalab/QgisStyleKtZH . Unfortunately, we hardly have time to offer support for this.

Thank you, I will look to above link.


Add 2i2c staff as admins to all hubs

Summary
Currently, we must manually add 2i2c engineers as "admin users" for all of the hubs that we deploy. For example, here we manually list these users:
https://github.com/2i2c-org/pilot-hubs/blob/master/config/hubs/2i2c.cluster.yaml#L93
Instead of this, we should have a single list of 2i2c Engineers and automatically add this list as admins on all of our hubs.
Value
This would de-duplicate information across our hub configuration, and reduce the amount of toil that is needed to add new admins to hubs.
Tasks to complete

[ ] Implement hub deployment code to utilize a central list of admins

Setting this one to medium priority since it's more of a "improve our practices in general" thing rather than a mission-critical improvement

A few next steps on this one:

Patch the deploy script the "hacky way", even though we know this would be best done in upstream improvements
Open an issue in JupyterHubland to ask about best practices around this topic (potentially just pointing to @GeorgianaElena's issue here: https://github.com/jupyterhub/jupyterhub/issues/3525)


New structure

This is a draft for a possible new structure of the hack website.
https://whimsical.com/9YPGp1pMXThn9SkJLLgBYY
What changed?

Two new sections:

Buidler plugin and Aragon Toolkit (Perhaps Toolkit and aragonAPI could be merged together since both are libraries used to interact with the Aragon solidity contracts)

The guides have moved to their respective project (e.g. Your first Aragon app to the Buidler plugin section).
The App Center section has moved to a Publishing sub-section of the Buidler plugin.
The Metamask and Frame guides are removed.
Some sections of Basics have moved to The stack
Custom deploy is renamed to Custom organizations

Another possible structure could be to separate this information further into 2 sections:

DAO development
Aragon App development

https://whimsical.com/XBNVSBTCbD3FJLS8e1VfLt

Been thinking about this a bit more, and starting to come down to:

One site (hack.aragon.org, aragon.org/hack, or s/hack/build/) to act as a map

Introduce the areas of development possible (e.g. Connect, aragonOS / client apps)

Separate "concerns" to use their own documentation sites (whether READMEs, gitbooks, microsites, etc)

aragonPM
Buidler
Client API
Connect
Power tools / CLI
Utilities (most of these are small and READMEs will suffice)


Add unalias and clear alias

Pull Request Test Coverage Report for Build 195

7 of 37 (18.92%) changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.0%) to 78.913%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/parser/AddressBookParser.java
0
1
0.0%

src/main/java/seedu/address/model/alias/exceptions/AliasNotFoundException.java
0
2
0.0%

src/main/java/seedu/address/model/AddressBook.java
3
5
60.0%

src/main/java/seedu/address/model/ModelManager.java
0
3
0.0%

src/main/java/seedu/address/model/alias/UniqueAliasList.java
4
9
44.44%

src/main/java/seedu/address/logic/parser/UnaliasCommandParser.java
0
6
0.0%

src/main/java/seedu/address/logic/commands/UnaliasCommand.java
0
11
0.0%

Totals

Change from base Build 185:
-1.0%

Covered Lines:
1830

Relevant Lines:
2319

💛  - Coveralls

Rmb to add tests


Repo is not available

The repo isn't available now. Looks like you published it on JCenter and JCenter is closed so please publish it with Maven.

looks like it was mentioned in here


cmd/link: mips64x linking with cgo broken

Seems after commit 0a15d95 external linking with cgo on mips64x is broken.
Failure build example:
https://build.golang.org/log/18b5dee1d5363bf6412b564f5e6d9d767dc0f2ff
/cc @matloob
I can have a look some time later or tomorrow.

Also broken on PPC64, fixed by changing cmd/link/internal/ppc64/obj.go:
-       ld.Thearch.Linuxdynld = "/lib64/ld64.so.1"
+       ld.Thearch.Linuxdynld = "/lib64/ld64.so.2"

(still testing, but at least I can run 'go')

Linking on mips64 is fixed by https://go-review.googlesource.com/c/27555/, ppc64 is fixed by https://go-review.googlesource.com/c/27562/. Thanks!


JSON-Schema validation requires a value in WhereClauseCondition but the user guide indicates a value is optional

The value in WhereClauseCondition is intended to be not required so that conditions can be defined based on missing values. However, when validating an ARS JSON file against the JSON-Schema definition created by the LinkML generator, missing values are reported as an error.
Checking the JSON-Schema, it appears that the rules defined on the WhereClauseCondition class (maximum cardinality of 1 when comparator is EQ, NE, LT, LE, GT, or GE and minimum cardinality of 2 when comparator is IN or NOTIN) are not being correctly applied in the generated JSON-Schema representation of the model - the check preconditions are applied, but the cardinality postconditions are not; instead, value is being marked as required.
These rules are not an integral requirement for the model - they are more aspirational, and could be applied separate as business rules.  I'd therefore recommend disabling the rules (and explicitly marking value as required: false) to allow validation of missing values to pass correctly.

These rules may be redefined within the model if/when the model is upgraded to use a version of LinkML that renders rules like this correctly. Alternatively, these rules may be implemented as separately as conformance rules.


Add version number to docker run example

Thanks!

I think we need to check if we can't replace all these with stable so that we don't have to change this all the time.
If this doesn't work we need to update our release protocol

Yes we can try to use stable, would be more practicable.
And I already updated the release protocol today: https://github.com/OGGM/glacier_simulator/commit/788bb14f8965be0ce254cb7bcc4013f17f37282d


Column type: image

An image thumbnail colum should be easy to do.
Allow developer to customize:

max width
max height
(Aspect ratio should be kept)

Click on image should open image in a new tab.
We could make thumbs using Glide: https://packagist.org/packages/league/glide
Any alternatives in mind?

Why not Intervention Image?

Hmm... I may be mistaken, but I think they do separate things:

You can use Intervention to create thumbnails and store them in your filesystem;
You can use Glide for on-demand image processing;

In fact, I believe Glide uses Intervention to do all its processing. It's just an API for it, in the form or URL parameters.

@tabacitu yeah, my fault.
I read more carefully the documentation package, very cool. Waiting for the new version. My implementation of file fields is not very flexible, have a lot to configure the model class.

field name
type (image or file)
storage dir (or Storage disk)
size & weight
field and size for thumb

Done! Added in https://github.com/Laravel-Backpack/CRUD/commit/f4051759c5e97f46785c7b90cc9627a0b57ad40d. Documentation here.


Added Travis CI

Codecov Report

Merging #16 into master will increase coverage by 0.08%.

@@            Coverage Diff            @@
##           master     #16      +/-   ##
=========================================
+ Coverage   96.31%   96.4%   +0.08%
=========================================
  Files           5       5
  Lines        1167    1167
  Branches       78      78
=========================================
+ Hits         1124    1125       +1
  Misses         22      22
+ Partials       21      20       -1

Impacted Files
Coverage Δ

NLog.xLogger/xLogger.cs
94.77% <ø> (+0.15%)
:white_check_mark:

Continue to review full report at Codecov.

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


ImageButton ignores clicks if the image was just created

It is smart to create images once and store them for reuse every frame. But if you happen to recreate images every frame, ImageButton will not react to mouse clicks at all (tho it still draws the image correctly).
I use this function to create images:
function createImage(w, h, col)
    local data = love.image.newImageData(w, h)
    for x = 0, w-1 do
        for y = 0, h-1 do
            data:setPixel(x, y, _G.unpack(col))
        end
    end
    return love.graphics.newImage(data)
end

If I use this function to create an image, save the image in a variable, and then use that variable consecutively for calls to ImageButton(...), it works as expected. But if I call it directly to recreate an image each time I want to call ImageButton(...), then the .hit of the returned state is never true, even though I press the button rendered, and the button is rendered correctly.

Same cause as in #37: The image is used as button id, but the button id changes every frame. You will have to use the id option or Image:refresh(data) so that the id stays consistent over frames.


iOS can not read a barcode while Android can

I use different kind of barcodes in my app, but for one of them I have this issue:
Android can read barcode, but iOS devices can not read (When barcode is bold).
This is the link of my barcode image (left is working on both platforms, right one is only working on Android):
https://github.com/juliansteenbakker/mobile_scanner/assets/81231302/c5a05488-3fae-4281-a3ed-74bb450a6b06
Flutter doctor results:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.1 22C65 darwin-arm64, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.81.1)
[✓] Connected device (2 available)
[✓] Network resources

I just discovered this behavior and came to see if there was any info.  I was wondering what the difference was, thanks for the pics. It the Bold style doing it.

try with version 3.5.2

Problem is solved with version 3.5.2, thanks.


gcloud build issue in KFServing CI

/kind bug
What steps did you take and what happened:
The following error happens when doing image build step on the KFServing argo CI workflow, seems starting to happen recently.
Activating service-account
Activated service account credentials for<EMAIL_ADDRESS>Copy source to GOPATH
Creating temporary tarball archive of 168 file(s) totalling 1.4 MiB before compression.
Uploading tarball of [.] to [gs://kubeflow-ci_cloudbuild/source/1598927047.71441-106d5e9c40ff43119fbc7f1c8507080a.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/kubeflow-ci/builds/b375ed94-487c-4515-bf70-33cf579cc38d].
Logs are available at [https://console.cloud.google.com/cloud-build/builds/b375ed94-487c-4515-bf70-33cf579cc38d?project=593963025935].
ERROR: (gcloud.builds.submit) [Errno 104] Connection reset by peer
This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach

After @jinchihe's investigation looks somehow if we split the 11 concurrent image builds into 3 steps the success rate increased a lot. Not sure if this is due to some networking bandwidth issue. Also according to https://cloud.google.com/sdk/gcloud/reference/builds/submit#--region it must be set to us-central1 but we are on us-east1-d, so I guess global service is used instead?
What did you expect to happen:
Anything else you would like to add:
Environment:

Istio Version:
Knative Version:
KFServing Version:
Kubeflow version:
Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
Minikube version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

/cc @andreyvelich @johnugeorge I think katib has similar issue and it is also building quite a lot of images concurrently.

@yuzisun I tried to follow your approach (https://github.com/kubeflow/kfserving/pull/1063) in Katib: https://github.com/kubeflow/katib/pull/1316.
It helps with GCP networking issue for us.
Does the restarts help in your CI?

We have added the argo retries also.


Unable to access GPU Acceleration

Issue
Hi, I am unable to use my GPU (NVidia RTX 3060) to allow the GPU acceleration for the package.
Initially, I installed CUDA 10.1 alongwith cuDNN and followed all the necessary steps mentioned in this tutorial . I used the arch code to be 86 for my GPU but it seems like CUDA 10.1 does not supports my GPU architecture.
I wanted to ask, what will be the possible CUDA, CuDNN, Tensorflow and openCV etc versions that I need to install and what will be the procedure that I need to take care of?
System:

OS: [Ubuntu 18.04]
ROS version: [Melodic, ]
GPU: [NVidia RTX 3060]

Hi.
I don't have an RTX30 card so I don't know for sure, but I'd like to offer some suggests.
The RTX 30 series is an Ampere architecture GPU, so it needs CUDA 11 or later to work.
Please check this link.
So, I would recommend installing CUDA 11.3.
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=18.04&target_type=deb_local
darknet-ros works without installing CuDNN or TensorFlow.
Please contact me if you make any progress.
I hope it works.

Hi, after posting this question I solved the error myself.
I already had cuda 11.3 and cuDNN 8+
I removed other architectures and added sm86 for my GPU arch.
then I built it and it worked.
also I added some lines in cmake file of darknet_ros
`IF (CUDA_VERSION VERSION_LESS "11.0")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_30,code=sm_30")
ENDIF()
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_35,code=sm_35")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_50,code=sm_50")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_52,code=sm_52")
IF (CUDA_VERSION VERSION_GREATER "7.6")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_60,code=sm_60")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_61,code=sm_61")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_62,code=sm_62")
ENDIF()
IF ((CUDA_VERSION VERSION_GREATER "9.0") OR (CUDA_VERSION VERSION_EQUAL "9.0"))
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_70,code=sm_70")
ENDIF()
IF ((CUDA_VERSION VERSION_GREATER "10.0") OR (CUDA_VERSION VERSION_EQUAL "10.0"))
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_75,code=sm_75")
ENDIF()
IF ((CUDA_VERSION VERSION_GREATER "11.0") OR (CUDA_VERSION VERSION_EQUAL "11.0"))
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_80,code=sm_80")
ENDIF()
IF ((CUDA_VERSION VERSION_GREATER "11.2") OR (CUDA_VERSION VERSION_EQUAL "11.2"))
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_86,code=sm_86")
ENDIF()`

@Ar-Ray-code I need help with training custom dataset, if we can connect?

I am also working on a darknet tutorial. Please check out this repository: https://github.com/Ar-Ray-code/Darknet-quick-training-tutorial.
Please close this issue.


Private rolls and Blind GM rolls works the same

Regardless of whether the player chooses "Blind GM roll" or "Private GM roll", the owner of the roll always sees the result. This bug only occurs to me in this system.
Steps to reproduce the behavior:

Have the player set the dice mode to "Blind GM roll".
Have them roll any skill.

Expected behavior
The player can still see the result of their roll.
Desktop (please complete the following information):

Foundry Version: v12.331
System Version: 1.903
Hosted on Forge: Yes

This bug was confirmed by other user on system channel on Foundry discord server.

Ouch.

Fixed, will be released in 1.904. Thanks for the report.


Ryan davies19 development mod

This branch was just a temporary branch, I've pulled the changes back into the original GHE pull request.  Closing this.


Show compiler error

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
Hi,
I'm very new to electron-forge, I know it uses electron-compile under the hood to compile SCSS files, but I can't find any way to clearly show any error when compiling SCSS files fails. No error is shown in the console and the application is started as if everything worked well... Is there a way to show compile errors?

@jonathan-roy If you're using v5 compilation errors will appear in your console when you request a file that fails to compile

@MarshallOfSound Ok so I think there is a bug when doing the following:
electron-forge init test
cd test
npm install

Create src/style.scss file with the following content:
body {
   background-color: $undefinedVariable;
}

Then add the following line into src/index.html:
<link rel="stylesheet" href="style.scss">

Now, when starting the application with electron-forge start we have no error shown and the application is started. The only way to show the error is to open the 'sources' tab in Electron's devtools, then open the style.scss file which contains:
Failed to compile /Users/jroy/Workspace/test/src/style.scss: Error: Undefined variable: "$undefinedVariable".
        on line 2 of /stdin
>> 	background-color: $undefinedVariable;

   -------------------^

Error: Error: Undefined variable: "$undefinedVariable".
        on line 2 of /stdin
>> 	background-color: $undefinedVariable;

   -------------------^

    at /Users/jroy/Workspace/test/node_modules/electron-compilers/lib/css/sass.js:101:17
    at Immediate._done [as _onImmediate] (/Users/jroy/Workspace/test/node_modules/sass.js/dist/sass.sync.js:669:9)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)


Update README.md

Description:
This adds documentation for the new nodes on mainnet as of 0.47.4
Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[x] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Updated in 2da1131


Cant get the pan scrubbing to work even when setting animated to true and enablePanGesture to true

Cant get the pan scrubbing to work even when setting animated to true and enablePanGesture to true...When clicking and dragging on the app in ios sim nothing seems to be happening

Cant get the pan to work on the example either

How did you solve this?

For future reference: I ran into the same issue and I realized it's due to the panGestureDelay as called out in the README:

panGestureDelay: Set delay for the pan gesture to activate. Set to 0 to start immediately after touch. Defaults to 300.


more STACK based ques

using C++ STL
Maximum area histogram (MAH)
Maximum area of boolean matrix (MAH variation)
Rainwater trapping problem
Min stack ques in O(n) space
Min stack ques in O(1) space

Please add hactoberfest tag to the PR !! @Kanhakhatri065 @ephremdeme


SSR patch needed

"window is not defined"
nuxt.js, ssr

I am not using nuxt then how do we disbale ssr. This problem is across all my plugins not just this one. Do we have to do anythingin webpack?


python3Packages.azure-mgmt-netapp: 0.6.0 ->  0.7.0

Motivation for this change
bumping packages I maintain
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @
[3 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/74885
3 package were built:
azure-cli python37Packages.azure-mgmt-netapp python38Packages.azure-mgmt-netapp

@GrahamcOfBorg build azure-cli python37Packages.azure-mgmt-netapp python38Packages.azure-mgmt-netapp

@GrahamcOfBorg build python38Packages.azure-mgmt-netapp

@GrahamcOfBorg build python38Packages.azure-mgmt-netapp

@GrahamcOfBorg build python38Packages.azure-mgmt-netapp

ill fix darwin in another PR


AirSense 11?

Hi all,
has someone had a look at the AirSense 11? It has two debug-ports on the board, one looks identical to the one on the S10, and a second one, a bit smaller with only 3 holes, near the (now soldered on :-@) modem...
Would be interesting, if this one also has more than the official modes, if bluetooth can be used for something usefull (other than pairing their sh***y cloud-app), and if it's possible to disable the modem without board-surgery.
Regards,
/hp

This projects looks deader than my own.... Hasn't been updated in years, none of the pull requests responded to or issues responded to.
From what i've read online, the Airsense 11 firmware can't be dumped from the ST32H753 chip. It looks like at the very least they've enabled read protection on the chip. Disabling it will erase the firmware we're looking to dump. Firmware hasn't been released online that i know of so we can't set about disabling the functionality yet and creating custom firmware etc.


feat!(queue): add pub key item opening

depends on go-vela/server#843

sorry about the commit history, this branch must have diverted off another branch or something


AutoDeleteOnIdle - what is Idle actually?

What Idle really means?
When a new message comes to queue and noone is listening for a queue does idle reset?
When someone is listening for a queue but no messages are pushed there will the queue be deleted by idle?

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

ID: 9113c501-b9ba-0e4e-c497-2c5735dee396
Version Independent ID: 705669ed-ced6-654b-6f75-72e0c48932eb
Content: QueueDescription.AutoDeleteOnIdle Property (Microsoft.ServiceBus.Messaging) - Azure for .NET Developers
Content Source: xml/Microsoft.ServiceBus.Messaging/QueueDescription.xml
Service: service-bus-messaging
GitHub Login: @CamSoper
Microsoft Alias: casoper

Thank you for your feedback.  Tagging and routing to the team best able to assist.

@lAnubisl thanks for raising this issue.
Any operation (send or receives) resets the idle timer.

@axisc , and if there's a connection listening for messages from a queue but no messages being pushed to the queue?
Will listening to the queue count as NOT idle when no actual messages are sent/received?

If there are any connections listening for messages on the queue, then they usually have a long polling mechanism. In that case the queue is not idle.
The queue is only truly idle if no operations are executed against it.

closing this issue for now, do let us know if there are any follow up questions.

The documentation is still not very clear on this. I can't read from the current page, what exactly "idle" means.
I had to search and found this issue, which explains it in a comment.
Will the documentation be updated with the answer in this thread?

There actually needs to be traffic for the interval to be reset, just having a connection is not enough. We will update the documentation accordingly (https://docs.microsoft.com/en-us/azure/service-bus-messaging/advanced-features-overview#autodelete-on-idle).

@EldertGrootenboer it would be good to expand on what 'traffic' stand for. Receiving from the entity, sending to the entity, or both.


Default schema not working.

System information:

OS:  Windows 7
DBeaver version: 7.1.0
Java version : OpenJDK 11, (bundled with DBeaver)
Additional extensions: None

Connection specification:

Database name and version:  Postgres 10.6
Driver name: PostgreSQL JDBC Driver
Do you use tunnels or proxies (SSH, SOCKS, etc)?   Yes, SSH tunnel.

Describe the problem you're observing:
The default schema not working as it should.  The connection is setup with a default database and schema.  When a new SQL Editor is opened, the active datasource and schema are correctly displayed in the toolbar.  However, a simple SELECT on a known table in the schema will generate a SQL error that table does not exists.  If you use the toolbar to temporarily change the active schema to "public" and then back to the desired shema, then the table is found and queries work correctly.    I noticed that the hints do work correctly.  e.g. if you are typing in a table name or view name, the list of options presented is correct.  It is only when performing the actual query execution where the error is encountered.
Steps to reproduce, if exist:

Start DBeaver.
Create connection to a Postgres DB with a default DB and Schema set in the connection.
Click on "New SQL Editor" in tool bar.  The default DB and Schema from step 2 show be listed as the "Active DataSource and Schema" in the toolbar.
Try to do a select on any table in the shema.  An error should be displayed that the table is not found.

Include any warning/errors/backtraces from the logs

dbeaver.log.log

Note: The last version where the default schema worked properly was 7.0.3.

This is possibly related to #9185

Thank you for you suggection. With help of #9185 I could reproduce it.
Steps:

create postgresql connection
select default schema and database in connection settings>initialization (except public)
Press Ok
Select PostgreSQL in db navigator
Open new SQL Editor
Run a select statement (select * from tablename) for a table from the selected schema.7.

Actual result: the table is not found in the schema and not displayed in ResultSet.
Expected: Mentioned table is displayed in ResultSet.

This issue is about both Oracle and Postgres. [x:oracle] https://github.com/dbeaver/dbeaver/issues/8766

Fixed.
For PG I've changed connection state init procedure.
For Oracle I fixed a bug with active schema visualization.

Verified both (PostgreSQL and Oracle)


Fixed typos; Some additions

Fixed typos.
Removed Unix commands.
Added some good use cases.
Added section on Command Redirection and Command Chaining.

Thank you SO much for your contribution, @KartikSoneji! :smile:
Your work is appreciated!
I hope you consider contributing to this repo in the future as well!


added newsletter title to newsletter project

Description
added proper document title in the newsletter project
Fixes:  #564
Type of change

[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

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Anirban-1490 text issue is still not solved.

@Anirban-1490 text issue is still not solved.

no text issue

@Anirban-1490 please send the link which you are using for preview as in the above link text issue is still there.

@Anirban-1490 please send the link which you are using for preview as in the above link text issue is still there.

here it is from the netlify preview -
https://deploy-preview-584--cool-front-end-templates.netlify.app/newsletter
and i am using chrome for this

@DEEPIKA-SUK please check now if that issue is fixed

@arpit456jain @DEEPIKA-SUK  please close this PR. I made a mistake and committed fixes for another project from this repo( Art of rural) on this PR. below are the commits i added accidently

so i am thinking of two fresh new PR for those two issues . so please close this one and remove the lebels.

https://deploy-preview-584--cool-front-end-templates.netlify.app/newsletter

yes now it is working.

@arpit456jain @DEEPIKA-SUK please close this PR. I made a mistake and committed fixes for another project from this repo( Art of rural) on this PR. below are the commits i added accidently

so i am thinking of two fresh new PR for those two issues . so please close this one and remove the lebels.

ok


pycvvdp.cvvdp.predict/loss not working for batch size > 1

I_ref = torch.rand((2, 1, 1080, 1920), dtype=torch.float32)
I_test = torch.rand((2, 1, 1080, 1920), dtype=torch.float32)

cvvdp = pycvvdp.cvvdp(display_name='standard_fhd')
JOD = cvvdp.loss(I_test, I_ref, dim_order="BCHW" )

{
	"name": "RuntimeError",
	"message": "The expanded size of the tensor (1) must match the existing size (2) at non-singleton dimension 0.  Target sizes: [1, 3, 1, 1080, 1920].  Tensor sizes: [2, 1, 1, 1080, 1920]",
	"stack": "---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[76], line 8
      5 I_test = torch.rand((2, 1, 1080, 1920), dtype=torch.float32)
      7 cvvdp = pycvvdp.cvvdp(display_name='standard_fhd')
----> 8 JOD = cvvdp.loss(I_test, I_ref, dim_order=\"BCHW\" )
     10 print(f'JOD: {JOD}')

File ~/anaconda3/envs/TORCH2.2CUDA11.8/lib/python3.12/site-packages/pycvvdp/cvvdp_metric.py:279, in cvvdp.loss(self, test_cont, reference_cont, dim_order, frames_per_second)
    276 def loss(self, test_cont, reference_cont, dim_order=\"BCFHW\", frames_per_second=0):
    278     test_vs = video_source_array( test_cont, reference_cont, frames_per_second, dim_order=dim_order, display_photometry=self.display_photometry )
--> 279     (Q_jod, stats) = self.predict_video_source(test_vs)
    280     return (10.-Q_jod)

File ~/anaconda3/envs/TORCH2.2CUDA11.8/lib/python3.12/site-packages/pycvvdp/cvvdp_metric.py:372, in cvvdp.predict_video_source(self, vid_source)
    370 if is_image:
    371     R = torch.empty((1, 6, 1, height, width), device=self.device)
--> 372     R[:,0::2, :, :, :] = vid_source.get_test_frame(0, device=self.device, colorspace=met_colorspace)
    373     R[:,1::2, :, :, :] = vid_source.get_reference_frame(0, device=self.device, colorspace=met_colorspace)
    375 else: # This is video
    376     #if self.debug: print(\"Frame %d:\
----\" % ff)

RuntimeError: The expanded size of the tensor (1) must match the existing size (2) at non-singleton dimension 0.  Target sizes: [1, 3, 1, 1080, 1920].  Tensor sizes: [2, 1, 1, 1080, 1920]"
}

That is right. Batch sizes greater than 1 are currently not supported. If you could please explain your use case so that we can prioritize adding support for batches.

Thanks for your good work and reply! I am trying to evaluate the images from the focal stack. So I use the batch channel to represent images of different focal distances. It could be faster to have batches supported but I guess I can also loop over the batches and calculate the mean for now.


Provide runtime implementation for source maps

This is necessary for the scenarios where somebody wants to use the runtime without the modules. This agent will be overridden when the modules provide custom network domain implementation

:+1:


🌐 Website Issue | Signal

Description
When click Requires phone number, it will lead to nextcloud's E2EE issue.
Either the link is not correct, or it's wrongfully placed.
Screenshots

That would be an error... my guess is that may have happened when we went over to the new badge system, thanks for spotting that!


etcd 501: All the given peers are not reachable

Registrator v5 logs the following error "501: All the given peers are not reachable" when it tries to register services on an etcd 0.4.6 cluster.  The cluster is healthy and reverting to Registrator v4 fixes the problem.  Upgrading etcd is not an option as this is running on stock CoreOS images which don't include etcd 2.0 yet.
From what I have gathered the issue seems to be related a backwards incompatible change in etcd v2 https://github.com/coreos/go-etcd/issues/181 to address this backwards incompatible change they have created a 0.4.6 tag.
For reference, confd is also effected by this https://github.com/kelseyhightower/confd/issues/195

This is a known problem but thanks for submitting an issue about it. The next release of registrator will have a fix for this in it. This is actually the last thing on my list (along with some basic tests) before proposing a new release.

Nice!  I searched a bit and didn't see any discussion about it here.  Its good to know that its a known issue and even better to know there is a fix on the way.  Thanks!

Yep, same issue happened with skydns when go-etcd got updated. This happened because he stopped using godep.

I apologize as I am still rather new to Etcd and Registrator, but for some reason I am getting this error when I use a hostname rather than the static IP of an etcd peer.  For example:
in my cloud-config.yml, my etcd is listening on <IP_ADDRESS>:, and the client port is on <IP_ADDRESS>:.  My hostname, etcd.example.com points to <IP_ADDRESS>.
When I start registrator pointing to etcd.example.com:2379 (or 4001) in that case, the above error is given.  When I try to connect to <IP_ADDRESS>:2379, the above error is given.
When I connect directly to <IP_ADDRESS>, everything is fine.  Is there a reason for this error?  Is there a way to mitigate it without always pointing directly to the static IP?  I know this might not be an issue with Registrator, rather how i am configuring etcd, but I figured this might be a good place to ask.

This was completely my fault.  In the documentation i say '-h $HOSTNAME' and included it with my Docker run.  This actually caused the /etc/hosts of my container to redirect the etcd connection to the wrong IP.

This has been fixed for some time on master and with the latest v6 release also works fine for me.  Going to close this out.


Pypy3.5-c-jit-latest nightly builds (please review)

Unfortunately last nightly build did not succeed so I can't test it right now:
http://buildbot.pypy.org/nightly/py3.5/pypy-c-jit-latest-linux64.tar.bz2 is empty
so the output currently is:
Downloading pypy-c-jit-latest-linux64.tar.bz2...
-> http://buildbot.pypy.org/nightly/py3.5/pypy-c-jit-latest-linux64.tar.bz2
/home/samo/.pyenv/plugins/python-build/bin/python-build: línea 230: pushd: pypy3.5-c-jit-latest-linux64: No existe el archivo o el directorio

BUILD FAILED (Ubuntu 16.04 using python-build 1.0.0-94-geb2e5ac)

Inspect or clean up the working tree at /tmp/python-build.20161015133206.14884
Results logged to /tmp/python-build.20161015133206.14919.log

Last 10 log lines:
    Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Error is not recoverable: exiting now

I'd like to find a way to catch an empty file and show the error message instead. Any suggestions appreciated.

Evil laughter ("It's alive! It's alive!")
$ pypy3
Python 3.5.1 (3ced7022e9b5, Oct 17 2016, 01:10:02)
[PyPy 5.6.0-alpha0 with GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``A random quote''
>>>>

I'd still like to catch failed nightly builds, but me and bash don't get along very nicely.

Thanks, I do not remember why I had uncommented them, but it seems to work now:
$ pyenv local pypy3.5-c-jit-latest
$ python
Python 3.5.1 (24e0383cef36, Nov 15 2016, 02:10:34)
[PyPy 5.6.0-alpha0 with GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>>
$ pip --version
pip 9.0.1 from /home/samo/.local/lib/python2.7/site-packages (python 2.7)
$ pyenv versions
  system
  2.7.12
  3.3.6
  3.4.5
  3.5.2
  ironpython-2.7.7-rc2
  jython-2.7.1b3
  pypy2-5.6.0
  pypy3.3-5.5-alpha
* pypy3.5-c-jit-latest (set by /home/samo/.python-version)
  pypy-stm-2.5.1
  pyston-0.5.1
  stackless-2.7.12
  stackless-3.4.2
$ python -m pip --version
pip 8.1.2 from /home/samo/.pyenv/versions/pypy3.5-c-jit-latest/site-packages (python 3.5)
$ python -m ensurepip
Ignoring indexes: https://pypi.python.org/simple
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./.pyenv/versions/pypy3.5-c-jit-latest/site-packages
Requirement already satisfied (use --upgrade to upgrade): pip in ./.pyenv/versions/pypy3.5-c-jit-latest/site-packages
$ python -m ensurepip --upgrade
Ignoring indexes: https://pypi.python.org/simple
Requirement already up-to-date: setuptools in ./.pyenv/versions/pypy3.5-c-jit-latest/site-packages
Requirement already up-to-date: pip in ./.pyenv/versions/pypy3.5-c-jit-latest/site-packages

There is just the old bundled pip but that's something better handled upstream.


Calls window.FirebasePlugin.grantPermission() but no prompt and no Token

When I call the window.FirebasePlugin.grantPermission() there is no prompt on android emulator
But, when I call the getToken method, I get no value.
What am I missing?

grantPermission only works for iOS

So how do I get the token (or identifier of some sort) to use to push android notifications

  (<any>window).FirebasePlugin;.getToken(token => {
    console.log(token);
  });

That seems to only work if the push notification was already approved.
If I just call this in the beginning of the app it says null
How do I make sure the app has permission to push, get the token and push notifications?

I think on Android you do not need to request permission; it already enabled

I am not sure why, but my getToken always returns null
So I am guessing there has to be a confirmation somewhere that the user has to provide

Tried this uninstall the plugin and then run this cordova plugin add<EMAIL_ADDRESS>--save
without ionic

same result, no luck

your goolge services is correct ?

are you calling after platform.ready().then?

Below is what my js file looks like
`/*

Licensed to the Apache Software Foundation (ASF) under one

or more contributor license agreements.  See the NOTICE file

distributed with this work for additional information

regarding copyright ownership.  The ASF licenses this file

to you under the Apache License, Version 2.0 (the

"License"); you may not use this file except in compliance

with the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,

software distributed under the License is distributed on an

"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

KIND, either express or implied.  See the License for the

specific language governing permissions and limitations

under the License.
*/
var app = {
// Application Constructor
initialize: function() {
this.bindEvents();
},
// Bind Event Listeners
//
// Bind any events that are required on startup. Common events are:
// 'load', 'deviceready', 'offline', and 'online'.
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
// deviceready Event Handler
//
// The scope of 'this' is the event. In order to call the 'receivedEvent'
// function, we must explicitly call 'app.receivedEvent(...);'
onDeviceReady: function() {
app.receivedEvent('deviceready');
HasPushPermission();
},
// Update DOM on a Received Event
receivedEvent: function(id) {
var parentElement = document.getElementById(id);
var listeningElement = parentElement.querySelector('.listening');
var receivedElement = parentElement.querySelector('.received');
 listeningElement.setAttribute('style', 'display:none;');
 receivedElement.setAttribute('style', 'display:block;');

 console.log('Received Event: ' + id);

}
};

window.FirebasePlugin.onTokenRefresh(function(token) {
// save this server-side and use it to push notifications to this device
alert(token);
}, function(error) {
alert(error);
});
function AskForPermission(){
alert("Calling AskForPermission");
try{
window.FirebasePlugin.getToken(function(token){
alert(token);
});
    window.FirebasePlugin.grantPermission();
    alert("Called AskForPermission");
    setTimeout("HasPushPermission()", 5000);
}catch(e){
    alert(e)
}

}
function HasPushPermission(){
alert("Calling HasPushPermission");
window.FirebasePlugin.hasPermission(function(data){
SetPushToken();
alert("HasPushPermission:" + data.isEnabled);
});
}
var SDSPushToken="";
function SetPushToken(){
alert("Calling SetPushToken");
try{
    window.FirebasePlugin.register();
}catch(e){
    alert(e);
}

window.FirebasePlugin.getToken(function(token) {
    // save this server-side and use it to push notifications to this device
    if(token != null){
        SDSPushToken = token;
        alert("Success:" + token);
        console.log("Success:" + token);
        SaveTokenToServer(token)
    }else{
        alert("No Token:");
        console.log("Success:" + token);
    }
}, function(error) {
    console.error(error);
});

}
function SaveTokenToServer(TokenToSave){
try{
$("#txtToken").val(TokenToSave);
}catch(e){
    alert(e)
}

}
function ShowAlert(Message){
alert(MessageText)
}
`
Now I check for token when the app loads, but i also added a textbox to manually get the token
Neither of which work for Android but work for iOS

Is there a specific API version that firebase needs to function?


Check scoring in ElasticSearch

TODO:

What is scoring in ElasticSearch?
Can we use it? And how?
Advantages/disadvantages?

It would seem everything is running in one node