Known issues Log

It looks like the Known Issues are deleted after 46 days. Not sure where 46 came from. Can you please explain. Here are few suggestions:

It's hard to believe that there are only 5 known active issues and 4 closed issues. What criteria are used to surface the issues to this page ?
Can you please make all the issues available on a separate page? This will be super helpful. Ideally a Power BI report that tracks all the issues (active/closed) would be great.
Issues are very scant on details. No error messages are shown, which Power BI release was used, how it was solved with steps/screenshots, how to recreate the issue etc. I understand that can be a burden on the docs team but imagine how much it will help the users and the support team.

Thanks.

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

ID: f647b6e3-c651-b39b-56d5-f919184c92c1
Version Independent ID: f647b6e3-c651-b39b-56d5-f919184c92c1
Content: Power BI known issues - Power BI
Content Source: powerbi-docs/troubleshoot/known-issues/power-bi-known-issues.md
Service: powerbi
Sub-service: pbi-troubleshooting
GitHub Login: @mihart
Microsoft Alias: mihart

cross reference #4251

Thanks for your comment, @pawarbi. This issue has been assigned to the doc author for review.

Hi @pawarbi ,
Thank you for your suggestions.  We are in the process of improving how we present our known issues, so stay tuned.  I've passed along your comments to the Known Issues team.
Thanks again.
the DOCS team


Fix overlayfs xen dracut subpackage entanglement

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
During a previous change, we inadvertently took some files belonging to dracut-overlayfs and gave them to dracut-xen. This PR fixes that entanglement.
See introducing change: https://github.com/microsoft/azurelinux/commit/3ce79012a33322bdcdfa68601d2b0129b2c5ab0b#diff-aaff17f1c552b2af5d9d0f054230df6757145a7c7bf500d490903f808ab20e03R277
Change Log

Move files from dracut-xen to dracut-overlayfs
Make latest dracut-overlayfs Conflicts with previous versions of dracut-xen

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

https://dev.azure.com/mariner-org/mariner/_build/results?buildId=653563&view=results

This'll be retargeted to an evergreen branch unless some impact is observed in 3.0 with overlayfs.


Change flattenJSONObject to return POSIX compliant names

Closes https://github.com/abhilash1in/aws-secrets-manager-action/issues/20

Should I remove the lock?

@cbui Thank you for your contribution!

Should I remove the lock?

Yes, please. I'll update package-lock.json in a separate commit after bumping up a few dependencies.
The PR looks good on the first glance. Will take another look at merge it in.

Removed.

@cbui Thank you for your contribution!

Thank you for this action 🥇

@cbui @abhilash1in Just FYI I don't think this PR is working


AnimationMixer: Fix non-numeric misc type (Resource, Dictionary & etc.) values cannot be blended with UpdateMode.UPDATE_CONTINUOUS

Closes #82949
Closes #82905
If you try to use UpdateMode.UPDATE_CONTINUOUS with a non-numeric Misc Type value, it will fail to apply the value because there is currently no way to blend using UpdateMode.UPDATE_CONTINUOUS.
I believe that in the future we should convert them to have weight as Pair<Variant value, float weight> in the similar way that bool values are converted to 0 or 1 and blended, but for now it will force UpdateMode.UPDATE_DISCRETE instead of UpdateMode.UPDATE_CONTINUOUS since it is useless now.

Thanks!


Don't test uint32 and int64 in bincount

numpy.bincount doesn't support uint32 and int64 on 32-bit environment.
It is because a given array is casted to numpy.intp in the method.
I removed this test case from the unit test of cupy.bincount.
fix #924

LGTM!


chore: codesandbox auto builds

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Statement of Financial Condition: Missing checks?

"Base Pay from _ Salary _Wages" and "Veteran's Benefits _ State _Federal" are two row names that look like that should be checked for either of those cases. We don't seem to ask about them though, and I'm not sure if there's any other kinds of questions we should be asking.

Was taken care of in https://github.com/BryceStevenWilley/docassemble-DeadBrokeDads2/commit/799f9f9fd797a1bc93ef4e22bdcdf5ece3e09141, and an extra space to make things a bit easier in the next commit


Fix issue #6478 (bug in the language services)

I made the changes suggested in #6478 (check that symbol is not undefined right away) and found a fairly minimal repro which I added as a fourslash test case.
The last commit, which reverts package.json to use the latest nightly instead of a fixed version, causes this build to break since the latest nightly still has bugs in it. Most likely that revert should be done tomorrow, after this PR is in and a new, working nightly is released. I'll remove the revert from here so that can be done later if requested

Hey @JKillian can you hard reset your branch to 047c62c24025b9ec0086223b9248a464c6d63501 and force push? We can perform the revert tomorrow after the nightly is updated.

Yep, done!


Fix horizontally overflowing images

Images are no longer overflowing on the home page and documentation pages.
Before:

After:

Fixes #313

@johnletey Didn't notice that there was a theme file! Ideally, the one in the theme file should have worked. I'll investigate :mag:

It looks like there's a theme ui context conflict, I'll go ahead and merge this for now since it at least temporarily fixes while I dig into the underlying issue.
Thanks for the PR!


Vi: Delay when switching from insert mode to normal mode

When in Vi mode and switching from insert mode to normal mode there's a 500 ms delay by default.
In bash and zsh shell there's no delay on switching. What is the reason for the current delay?
I'm running nushell with a patched version of rustyline without delay: https://github.com/homburg/rustyline/commit/810be16fe4dc14b0830d5311bc099d2b3bfa73d5 It seems to be working.

https://github.com/kkawakam/rustyline/blob/master/src/tty/unix.rs#L389
https://github.com/kkawakam/rustyline/blob/master/src/config.rs#L386
You don't need a patch, you just need to do (order matters):
        .edit_mode(EditMode::Vi)
        .keyseq_timeout(0) -- depends on how much your terminal is responsive

Thanks you for the response.
My right key still works perfectly in insert mode with a timeout of 0.
I'll have to suggest a configuration option or a smaller default timeout in nushell, thanks!


URL parameters are not supported

Coming from ThunderClient, my queries do not work out-of-the-box after the import.
Example:
GET localhost:3000/users/{id}
I expect that {id} in URL parameter would be added as parameter as query params are added so I can dynamically make queries with same URL.
Either URL parameters are not yet supported or plugin is using different placeholder format.
ps. thanks for this drop-in replacement!

Hi
Variable substitutions work for {{variable}} like in Postman. Please try GET localhost:3000/users/{{id}}


Input type (instagram-login) Float Screen when OnFocus

I'm trying instagram-login
When I try in my android, and I focus to type username..
The screen go up like this pict
https://forum.ionicframework.com/uploads/default/original/3X/7/d/7d59faf5622c48031d7286b84abbbdb4744dda10.png
how can i solve that.
that's ionic problem??
Or something. Ty

Thanks for opening an issue. Due to this issue being very outdated and the image not available anymore, I will be closing this thread. Feel free to reopen the issue in case you still need support!


libbson: 1.8.0 -> 1.9.2

Semi-automatic update. These checks were performed:

built on NixOS
found 1.9.2 with grep in /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2
found 1.9.2 in filename of file in /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2

Success on x86_64-linux (full log)
Partial log (click to expand)
-- Installing: /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2/lib/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake
-- Installing: /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2/lib/cmake/libbson-static-1.0/libbson-static-1.0-config-version.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2
shrinking /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2/lib/libbson-1.0.so.0
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2/lib
patching script interpreter paths in /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2
checking for references to /tmp/nix-build-libbson-1.9.2.drv-0 in /nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2...
/nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2

Success on x86_64-darwin (full log)
Partial log (click to expand)
-- Installing: /nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2/lib/pkgconfig/libbson-static-1.0.pc
-- Installing: /nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2/lib/cmake/libbson-1.0/libbson-1.0-config.cmake
-- Installing: /nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2/lib/cmake/libbson-1.0/libbson-1.0-config-version.cmake
-- Installing: /nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2/lib/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake
-- Installing: /nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2/lib/cmake/libbson-static-1.0/libbson-static-1.0-config-version.cmake
post-installation fixup
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2/lib
patching script interpreter paths in /nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2
/nix/store/dni6v80ykmv859dyz7b8cjwknhw1mksg-libbson-1.9.2

Success on aarch64-linux (full log)
Partial log (click to expand)
-- Installing: /nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2/lib/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake
-- Installing: /nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2/lib/cmake/libbson-static-1.0/libbson-static-1.0-config-version.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2
shrinking /nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2/lib/libbson-1.0.so.0
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2/lib
patching script interpreter paths in /nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2
checking for references to /build in /nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2...
/nix/store/wzcclxi96yb7n5ysqvybc25g3rw157x1-libbson-1.9.2

@grahamcofborg build  collectd collectd-data libbson mongoc syslogng syslogng_incubator

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘syslog-ng-3.13.2’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/tools/system/syslog-ng/default.nix:57 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/lib/collectd/write_tsdb.so
shrinking /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/lib/libcollectdclient.so.1.1.0
gzipping man pages under /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/lib  /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/bin  /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/sbin
patching script interpreter paths in /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0
checking for references to /tmp/nix-build-collectd-5.8.0.drv-0 in /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0...
moving /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/sbin/* to /nix/store/h74lgqv4akj2lv2pp7b0lsqpxn4641kq-collectd-5.8.0/bin
building path(s) ‘/nix/store/sg04hdi20rgb3smzz7hp38xq93dnvqmz-collectd-data-5.8.0’
installing

Failure on aarch64-linux (full log)
Partial log (click to expand)
Package ‘oraclejdk-8u161’ in /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix:71 has an unfree license (‘unfree’), refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

@grahamcofborg build mongoc collectd collectd-data syslogng libbson syslogng_incubator

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘syslog-ng-3.13.2’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/tools/system/syslog-ng/default.nix:57 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
patching script interpreter paths in /nix/store/nsld9ayvsbkdd1wsnxm27jzpnxakvg0d-syslog-ng-incubator-0.6.2
checking for references to /tmp/nix-build-syslog-ng-incubator-0.6.2.drv-0 in /nix/store/nsld9ayvsbkdd1wsnxm27jzpnxakvg0d-syslog-ng-incubator-0.6.2...
building path(s) ‘/nix/store/6zw15i7sr471i1hcaa8nbw0b6l3avykd-collectd-data-5.8.0’
installing
/nix/store/v3bbb7vk9wgwqxzqmi5q5ihy48fqh1by-mongoc-1.8.0
/nix/store/nsx031qk8hvyal37vks6bfh648zmc1gq-collectd-5.8.0
/nix/store/6zw15i7sr471i1hcaa8nbw0b6l3avykd-collectd-data-5.8.0
/nix/store/118nl71ic29sg7znrhnq7z3m5m8hxf25-syslog-ng-3.13.2
/nix/store/5y9552xapnwpn686pmjgjkdsddrfppr8-libbson-1.9.2
/nix/store/nsld9ayvsbkdd1wsnxm27jzpnxakvg0d-syslog-ng-incubator-0.6.2


Failing test in clifford_simulator_test

Description of the issue
I encounter a failing test on my local machine.
How to reproduce the issue
Run pytest in a fresh virtual environment. My Python version is 3.8.4rc1.  Logs messages: {msgs}.')
E           AssertionError: collapse_wave_function expected to appear in log messages but it was not found. Logs messages: ['/home/sungkevin/Projects/Cirq/cirq/sim/clifford/clifford_simulator_test.py:505: DeprecationWarning: The collapse_wavefunction parameter of CliffordState.perform_measurement was used but is deprecated.\nIt will be removed in cirq v0.10.0.\nUse collapse_state_vector instead.\n\n  _ = clifford_state.perform_measurement([q],\n'].

testing/logs.py:77: AssertionError

Cirq version
0.9.0.dev

Thanks for opening @kevinsung! This is a real bug - collapse_wavefunction was deprecated but the code deprecation code had collapse_wave_function instead inconsistently. I opened a PR to fix it. What I'm puzzled about is how this worked on Python 3.7 and not in Python 3.8...maybe @deprecated_parameter doesn't work that well in Python 3.7...


Phpstan level max

@betterthanclay Did you know that PHPStan does not test unused traits??

I've messed it up :(


Implement Unbounded Multi-Histogram from Spec

Enable tau to automatically derive from epsilon (and delta if delta not automatic)
Enable pluggable choice for algo for support vs algo for report

Done


Read origin id from hauki

Previously we were using the resource id from hauki as origin id from
hauki but those two are separate ids and that caused some problems in
OpeningHoursClient.
This fixes that so that the origin id is read which is the id that tvp
uses for resources.

Need to check those test failures

@aprenfors this is ready now


✨ Feature request: Gradients

Hi, thanks for your work on this plugin! I wonder if it's possible to have this utility scrollbar-thumb-gradient-* in order to add gradients to the scrollbar thumb:

The snippet for it to work in vanilla css would be something like:

*::-webkit-scrollbar-thumb {
  --tw-gradient-from: #ef4444 var(--tw-gradient-from-position);
  --tw-gradient-to: #3b82f6 var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

This is a cool idea, but I'm worried about the complexity. Case in point: in the example, you've got from-red-500 and to-blue-500.  That means that, as written, those utilities would be shared by scrollbar-thumb-gradient-* and Tailwind's own bg-gradient-*, so you'd realistically only be able to use one or the other on any given element (since having the same gradient on both the background and the scrollbar is almost definitely not what you want). Similarly, I'd expect a call for scrollbar-track-gradient-* to come up, which would have the same types of conflicts. You'd end up needing separate sets of *-from-* and *-to-* (and *-via-*, for that matter) for each new pseudoelement that could have a gradient.
I'm not especially motivated to tackle this one because, in addition to the complexity concerns, this would be a strictly nocompatible mode feature, since it doesn't apply to Firefox and wouldn't even apply to Chrome if the user had #enable-experimental-web-platform-features enabled. And unlike the existing nocompatible mode features, this one wouldn't even have a corollary across browsers.

Thanks for your response, I understand the drawbacks and ended up using custom CSS (not everything has to be done in tailwind).


Support for SoniC Broadcom v4.0.1 images.

Added support for versioning the test ressources and
Added support for v4 config_db versions.

@kamalkrbh could you please have a look?


Add option to turn on\off fan boost

Is your feature request related to a problem? Please describe:

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:
 button to activate the boost fan mode for the heater

There is no way in apple to add this switch that I know to the UI


PlayerInventory block does not connect to itemduct when server rebooted

https://github.com/CoFH/Feedback/issues/938
Please fix this bug. I really want to make something that working with PlayerStorage inventory, but couldn't

Thanks for fixing it


raise target validation errors when name property is empty

Create more than one target in pyproject.toml, but now only use first one, others used in future.
When execute pytest, raise validation errors:

pytest-pyppeteer will validate name is not empty, and match file name in desc folder. Then validate matched desc file MUST exist [HomePage].

I will fix this issue to ignore to create target which missing name or name is empty.
[tool.pytest.pyppeteer.targets.target2]
name = ""
base_url = ""

or
[tool.pytest.pyppeteer.targets.target2]
base_url = ""


Some feature request

I thought this app is not in development anymore, so I didn't ask for it. But as I'm using it as my Daily diary. I feel like it needs some improvements. First and for most is App lock. I think it is really important for a diary app to be secure for user privacy. Other than that dark mode will also be really good thing to have. Also a daily diary reminder will be also good. Other than these your app is really beautiful. And I love this app. Please don't stop development:). I know that these things are already being asked but I thought to ask them again as it has been some time since then.

Hey Drangonfly, thank you for your kind words. I'm glad that the app can provide value to you. I understand that the app lock is a rather important feature and it is going to come next. I'm sorry that I'm less active on development right now.


Add timezone dropdown to settings

There is more info here: https://github.com/TryGhost/Ghost/issues/1265#issuecomment-35809646
The full list of timezones will be determined in #2359 - if that's completed first, the full list can be added in this issue, if not just use GMT (London) and GMT+1 (Amsterdam) as the options for now to make it work.
As a result of this issue, we should have a new dropdown on the settings/general screen with at least the 2 options listed above.
The default setting / selection should be GMT.
The setting doesn't get used anywhere yet.

Closing all the timezone related issues with the label later this is stalled. Will reopen when we're ready to attack this with a plan.


[Fix] Remove Unit from Cloudwatch alarm creation

If units aren't set on the corresponding cloud watch metrics then the alarm will be stuck in an INSUFFICIENT_DATA state, see here for further information: https://boto3.readthedocs.io/en/latest/reference/services/cloudwatch.html#CloudWatch.Client.put_metric_alarm and here: https://github.com/boto/boto3/issues/480

This removes the use of Unit in the cloud watch alarm creation for now, though this may be revisited.

LGTM


Remove acset transformation type parameters kept for backward compatibility

Closes #755.

FYI @mehalter, this is something that was previously added for backwards compatibility with AlgPetri but is now being removed.


H3 headers are smaller than usual text

Hi! I found your extension today and it is awesome
Got some strange behaviour – H3 headers are smaller than normal text:

MacOS, extension v. 0.1.7

I made changes in version 0.1.8.

Thanks! Will wait for the new version on VS Code Marketplace


Q: Migrate with another system

Hey
first I should say thanks for this awesome module .
and here is my question : in other systems verification is by users emails and generating a link for verifying user but in our system we verify users by their mobile phone and saving there mobile phone in a table with number , key (that sent to them) , verifyed and user object , now I wanna when user try to active two factor system , they choose their number (that verifyed before) from my table .
should I make another record in phone_devices model for activing two factor for them ?
what is your suggestion ?

If you want to use 2FA via SMS you can use the twilio backend to do that.

If you want to switch all your users to TFA, you could add their phone numbers to the table two_factor_phonedevice. Beware that you'd need to generate a unique key for all those entries -- never share a key between multiple entries. Use django_otp.util.random_hex to generate those keys.


Add eslint with initial rules

I only addressed the first batch of style rules. The new set haven't been marked for discussion yet, so I wasn't sure if anyone wanted to include them or not.
Didn't fix the fixable violations this time. Just to keep the diff more readable.
Closes #490

The lint command now modifies code, so I thought it important to run the command as part of the PR, even if it confuses the diff.
Found conflicting rules. One required each item in a list or object on a new line while another required spaces before and after inline lists. Not sure what you want to go with.

Ooh I may have missed the multi-line lists/objects item on the survey. I don't think the items should be on multiple lines in all cases.

There were no spaces between brackets (src/components/ConfirmLeave.js 15)

The linter will add spaces between brackets for objects and arrays, but expressions in code bodies are supposed to be on separate lines. The linter caught the error, it just could not fix automatically.

Space before inline /> or > (src/components/CustomClient.js 73 and other places)

I added a rule enforcing spaces before the /> in self-closing tags, but I don't think there is an existing rule for the other one. Specifically I cannot find a way to enforce a space before > in the opening tag only when props are present.

With multiple attributes, all attributes on separate lines (src/components/FeedbackAnytime.js 9)

Moved the first prop to a new line when there are multiple props.

Set state stuff looks too long but is one-line (src/components/FeedbackPrompt.js 27)

Do you want to enforce a max line length?

Weird same-line child when parent and child attributes are on second line (src/components/MainMenu.js 22)

Enforced consistent formatting of closing tag.

Correcting indenting messes up well-aligned variable declarations - variable names in same group should line up with each other. Not sure there's a way to fix this. (src/components/OnLeavePrompt.js 45 and more)

I left-aligned the variable declarations. The extra spaces around the equals isn't great, but I imagine eliminating all extra whitespace would mess up formatting elsewhere in the project.

Btw, lined-up spacing would be for object props too, not just regular variable declarations

Lined-up spacing? You mean aligning the values in multi-line objects? Unlike variable initializations, that is actually possible with key-spacing.

Wow, that should solve a lot of those issues. Not sure I have the fortitude to double check everything that's going on, but I'm sure we can deal with what doesn't work later.

Lined-up spacing? You mean aligning the values in multi-line objects?

Yeah, values in multi-line objects. Why the heck is that possible while multi-line variable declaration aligning isn't? This world is a nutty place.

Object values are now aligned. You can change the rule to { "align": "colon" } if you want the colons to be aligned as well.


policy valid characters denylists contains symbols present in existing resources in Azure

# Function to count special characters in display names
function Count-SpecialChars {
    param (
        [array]$items,
        [string]$command
    )
    if ($items.Count -eq 0) {
        Write-Output "Results for '$command': (No items found)"
        return;
    }

    $specialChars = '#|<|>|\*|%|&|:|\|\?|\+|/'

    # Create a hashtable to store the count of each special character
    $charCount = @{}

    # Initialize the counts to zero for each special character
    $specialChars -split '\|' | ForEach-Object { $charCount[$_] = 0 }

    # Process each display name
    $items `
    | ForEach-Object { $_.name } `
    | ForEach-Object {
        $name = $_
        $_.ToCharArray() | ForEach-Object {
            $char = $_
            if ($char -match $specialChars) {
                $charCount[$char]++
                Write-Host "Found character $char in $name"
            }
        }
    }

    # Display the results
    Write-Output "Results for '$command':"
    $charCount.GetEnumerator() | Where-Object { $_.Value -gt 0 } | Sort-Object -Property Name | ForEach-Object {
        Write-Output "Character '$($_.Key)' matches: $($_.Value) time(s)"
    }
    Write-Output ""
}

# Get the data from each command
$policyDefinitions = az policy definition list | ConvertFrom-Json
$policySetDefinitions = az policy set-definition list | ConvertFrom-Json
$policyExemptions = az policy exemption list | ConvertFrom-Json
$policyAssignments = az policy assignment list | ConvertFrom-Json

# Count special characters for each command
Count-SpecialChars -items $policyDefinitions -command 'az policy definition list'
Count-SpecialChars -items $policySetDefinitions -command 'az policy set-definition list'
Count-SpecialChars -items $policyExemptions -command 'az policy exemption list'
Count-SpecialChars -items $policyAssignments -command 'az policy assignment list'

Results for 'az policy definition list':

Results for 'az policy set-definition list':

Results for 'az policy exemption list': (No items found)
Results for 'az policy assignment list':
Character ':' matches: 1 time(s)

Colons are listed as invalid, but are present in some policy assignments apparently

Related: #122020

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

ID: 374ec8eb-64d4-3766-5c5e-39137a262ffd
Version Independent ID: 3abeeae9-6854-651a-483c-a1673eea9f9f
Content: Resource naming restrictions - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/resource-name-rules.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @mumian
Microsoft Alias: tomfitz

@TeamDman
Thanks for your feedback! We will investigate and update as appropriate.

@TeamDman, thank you for the feedback.
@mumian, could you please review this feedback and share your thoughts. Even though the doc says that ":" (colon) is not allowed for Assignment name, when assigning policy/initiative, the colon in the name does not cause failure. Should the doc be updated to remove colon from the set of allowed characters? Thank you

@davidsmatlak - can you confirm the information?

Specifically, the : is appearing in GC Audit ISO 27001:2013 as created by this cloud accelerator
https://github.com/search?q=repo%3Acanada-ca%2Faccelerators_accelerateurs-azure+"GC+Audit+ISO+27001%3A2013"+New-AzureRMPolicyAssignment&type=code

@mumian I verified that colons are not allowed in the Resource name which is shown as Assignment ID in the portal. The last element in the Assignment ID is the resource name. A colon can be used in the Display name which is shown as Name in the portal.
To update the documentation, the resource name invalid characters are: % & \ ? / < > : # or control characters.

@TeamDman - I have created a PR with the information from David.  The article will be updated later today.  Let us know if you have any further questions.
#please-close


CIV-8998 -Added notification event for create LiP claim flow

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-8998
Change description
added new notification handler to Notify claimant that claim is submitted.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Ticket is in Dev Blocked


Byteball-Altcoin exchange bot generates error message

Expected behavior
Byteball-Altcoin exchange bot ought to generate addresses for coins exchanges.
Actual behavior
It keeps replying An error has happened: "An error encountered while address generation. Please try again later."
How to reproduce

Launch then click on  chat > Bot Store
Locate byteball altcoin exchange bot then click to add
Try exchanging Gbyte to btc by replying the with  to <BTC address>
eg
to btc 3G7oSzWDjwFzJmPXRwBtkVVAkHySS75aj9

App version: byteball 2.4.0
Operating system: android  8.1 Oreo.  Tecno camon X pro

Recording Of The Bug
https://youtu.be/0BHqY_VVGgc

Please contact the developer and operator of this bot http://byteball-exchange-bot.com


Make filter labels consistent with Prometheus

Filtering the alert out when the label is missing precludes a
possible match for an empty value. This change allows the
match to be evaluated.
Closes #2342
Signed-off-by: Victor Araujo<EMAIL_ADDRESS>

Added tests :+1:


Fix for mobile Safari's ReferenceError

Mobile safari throws a ReferenceError even when checking for undefined.

Shouldn't performa

Unfortunate, no. Safari throws a ReferenceError even when checking for performance.

How about window.performance or self.performance?

That's' interesting...
window.performance and self.performance report 'undefined', but performance
throws a ReferenceError.
On Wed, Jun 17, 2015 at 9:58 AM, Ricardo Cabello<EMAIL_ADDRESS>wrote:

How about window.performance or self.performance?
—
Reply to this email directly or view it on GitHub
https://github.com/mrdoob/stats.js/pull/47#issuecomment-112876538.

I guess we should replace it with self.performance && self.performance.now then...?

Went ahead and made those changes and tested that it works.

Thanks!


[FEATURE] Checkboxes

Description of the requested feature
Just a simple checkbox, they would be good.
Proposed configuration syntax
<checkbox checked="what happens when checked, if possible"/>
Additional context
no

it would make sense to have a
<checkbox onchecked="notify-send 'checkbox checked'" onunchecked="notify-send 'checkbox unchecked'"/>

thing, imo. but yea, sounds good!

Has been implemented in #119


minio: 2019-10-12T01-39-57Z -> 2020-03-06T22-23-56Z

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/minio/minio/releases.
meta.description for minio is: "An S3-compatible object storage server"
meta.homepage for minio is: "https://www.minio.io/"
Updates performed:

Golang update
Quoted meta.homepage for RFC 45

Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2020-03-06T22-23-56Z with grep in /nix/store/fkk3a4ax7pxlplkycn97m6cd706wn7x8-minio-2020-03-06T22-23-56Z

directory tree listing: https://gist.github.com/521ba3962ce5932494c4345f4598584e

du listing: https://gist.github.com/63059bfe2161c498d2f40f6453b0ad30

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
minio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fkk3a4ax7pxlplkycn97m6cd706wn7x8-minio-2020-03-06T22-23-56Z \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A minio https://github.com/r-ryantm/nixpkgs/archive/8ff14dd4f846c8bdb7d4a68ae414ff384db0d9d1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fkk3a4ax7pxlplkycn97m6cd706wn7x8-minio-2020-03-06T22-23-56Z
ls -la /nix/store/fkk3a4ax7pxlplkycn97m6cd706wn7x8-minio-2020-03-06T22-23-56Z/bin

cc @edolstra @bachp @kalbasit for testing.

This is the same as #82138


Actor remoting with JSON

Is there a sample anywhere of how to do this?
I'm pretty sure V2 remoting supports this. The page below shows how it's done with services, but not for actors. Thanks.
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-communication-remoting

I've put together a solution which demonstrates what I'm trying to do. It looks like the actor call is being made, but it blows up when it tries to deserialize the arguments. Any suggestions? Thanks.
JsonActorSerialization.zip

Well there's a day I'll never get back. Here's a suggestion guys. If you're going to add functionality that allows you write your own serialization, you might as well provide the one everyone wants (JSON) out of the box. What you certainly don't want to do is provide a half baked hodge podge of code THAT DOESN'T WORK, as you've done here...
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-communication-remoting
And for anyone who does want to do JSON serialization for Actors, the code below does work. I know it does because I actually compiled, and wait for it, I RAN IT.
JsonSerializationExample.zip
Final tip for the Microsoft documentation guys... always provide a working solution nicely zipped up. Copying and pasting code into a help page almost ALWAYS loses vital information. Whether it's a namespace, and import, or even a tiny class, something gets lost.

Hi Jack,
Thanks for the feedback. The documentation feedback is a good one. Adding @amanbha and @suchiagicha for the feedback around Actors & Service Remoting.

@jackbond
Steps for plugin serialization remains the same as service remoting.
You dont need to write JsonFabricTransportActorRemotingProviderAttribute to make this work.

You should write ServiceRemotingJsonSerializationProvider implementation (which you have already wrote it.)

You need to plugin to your actor service .Need to write custom actor service and then override listener as pasted below.
How to write custom actor service
protected override IEnumerable CreateServiceReplicaListeners()
{
return new[]
{
new ServiceReplicaListener((c) =>
{
return new FabricTransportActorServiceRemotingListener(this, new ServiceRemotingJsonSerializationProvider());
})
};
}

You need to plugin on the client side in ActorProxyFactory .

var proxyFactory = new ActorProxyFactory((c) =>
{
return new FabricTransportActorRemotingClientFactory(
fabricTransportRemotingSettings: null,
callbackMessageHandler: c,
serializationProvider: new ServiceRemotingJsonSerializationProvider());
});
In order to get faster response , please makes sure to open issues in actor repro (https://github.com/Microsoft/service-fabric-services-and-actors-dotnet/issues)

@suchiagicha You're kidding right? I wasted a day of my life because no one has provided a WORKING sample of Json remoting. What has been provided are CODE SNIPPETS THAT DON'T WORK. I complain that you should provide working samples in solution format so that there is ZERO ambiguity and PROOF that the code works. I then provide YOU with a working sample solution, and what do you do? You respond with code snippets???
Does Microsoft not provide you guys copies of Visual Studio? Are your internet connections so bad that you can't download the community edition for free? What exactly makes it so that you are PHYSICALLY INCAPABLE OF PROVIDING WORKING SOLUTIONS???
FYI, the code on this page is still broken. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-communication-remoting Maybe someone could get it to work if they notice, BY MIRACLE, the line
settings.UseWrappedMessage = true
in one of Micah's comments. I suspect that MIGHT resolve the Json deserialization issue I encountered. Of course, reading the documentation for that property here
https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicefabric.services.remoting.fabrictransport.runtime.fabrictransportremotinglistenersettings.usewrappedmessage?view=azure-dotnet#Microsoft_ServiceFabric_Services_Remoting_FabricTransport_Runtime_FabricTransportRemotingListenerSettings_UseWrappedMessage
contains ZERO actual helpful information, once again reinforces the importance of WORKING CODE EXAMPLES.

@jackbond There is no need to respond with that level of hostility.
https://opensource.microsoft.com/codeofconduct/

We also hit an issue with getting service fabric remoting to work with the newest JSON examples.
I do not know if it is the same issue @jackbond is seeing, but with .NET Core 2.1 apps the deserialization does not work, I assume due to runtime generated types. I have opened an issue here: JamesNK/Newtonsoft.Json#1808 .
A workaround for now could be something similar to
  class CustomSerializationBinder : DefaultSerializationBinder
  {
    public override void BindToName(Type serializedType, out string assemblyName, out string typeName)
    {
      typeName = serializedType.FullName;
      assemblyName = serializedType.Assembly.FullName;
    }

    public override Type BindToType(string assemblyName, string typeName)
    {
      Type type = null;
      if (assemblyName.Contains("_.service.mt"))
      {
        var assembly = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(a => a.FullName == assemblyName || a.GetName().Name == assemblyName);
        type = assembly?.GetType(typeName);
      }
      return type ?? base.BindToType(assemblyName, typeName);
    }
  }

and adding this serialization binder to the serializer settings in ServiceRemotingRequestJsonMessageBodySerializer and ServiceRemotingResponseJsonMessageBodySerializer:
      serializer = JsonSerializer.Create(new JsonSerializerSettings()
      {
        TypeNameHandling = TypeNameHandling.All,
        SerializationBinder = new CustomSerializationBinder()
      });

@LasseNisted The sample I provide side steps that problem entirely by wrapping the arguments in an array instead of a dynamic class. The UseWrappedMessage property may actually side step the dynamic class problem as well, but I found it only after I got my solution going. I haven't attempted to see if setting IsWrappedMessage to true would resolve the issue. It SOUNDS like it might, but like I said, it's poorly documented.

@jackbond
I looked at your samples. You are not using same code as mentioned in public doc.
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-communication-remoting
For E.g : You are not inheriting from WrappedMessage in the implementation of JsonRemoteRequest.
I followed the instruction as mentioned in the public doc and created one sample for you.
Please have a look at it .
https://github.com/suchiagicha/Samples/tree/master/ActorCustomSerializer
As mentioned by @LasseNisted  , json serializer won't work in .net core because of .net core issue mentioned by him.
Till the time , .NET team respond to the issue, you can use the workaround as mentioned by him.
Just want to clarify, we don't ship json serializer with service fabric remoting. We provide interfaces to users to plug-in their own serialization .

@suchiagicha To clarify, I started with the sample code, when it didn't work, I wrote code that did. The code that I provided in JsonSerializationExample.zip does not inherit from WrappedMessage because I wanted to explicitly control the serialization. As a result, my code does work with .net core 2.1.
In regards to not shipping a json serializer with service fabric remoting, I can understand not including that in the main package. However, there ought to be an official Microsoft.ServiceFabric.Services.Remoting.Json package so your developers aren't having to deal with the intricacies of serialization. I'd say this is especially true since the DocumentDb team refuses to mark their Geography classes with DataContract.
Finally, I downloaded your code ActorCustomSerializer, and it does not compile.

@suchiagicha My mistake, Windows security blocking the files because they came from an external zip. I was able to get your sample going, just wish it existed five days ago. :) Thanks for your help.

As an aside, is there a way to customize the serialization of exceptions?  I'm using the JSON serializer for messages, but anytime an exception is thrown by the actor it fails with a serialization exception:
System.Runtime.Serialization.SerializationException   HResult=0x8013150C   Message=Type 'SoftPro.Exceptions.Web.NotFoundException' in Assembly 'SoftPro.Exceptions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' is not marked as serializable.   Source=mscorlib   StackTrace:    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
It looks like the remoting framework is trying to use the binary serializer for exceptions based upon this stack:
mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(object obj, System.Runtime.Serialization.ISurrogateSelector surrogateSelector, System.Runtime.Serialization.StreamingContext context, System.Runtime.Serialization.Formatters.Binary.SerObjectInfoInit serObjectInfoInit, System.Runtime.Serialization.IFormatterConverter converter, System.Runtime.Serialization.Formatters.Binary.ObjectWriter objectWriter, System.Runtime.Serialization.SerializationBinder binder)	Unknown mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(object obj, System.Runtime.Serialization.ISurrogateSelector surrogateSelector, System.Runtime.Serialization.StreamingContext context, System.Runtime.Serialization.Formatters.Binary.SerObjectInfoInit serObjectInfoInit, System.Runtime.Serialization.IFormatterConverter converter, System.Runtime.Serialization.Formatters.Binary.ObjectWriter objectWriter, System.Runtime.Serialization.SerializationBinder binder)	Unknown mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(object graph, System.Runtime.Remoting.Messaging.Header[] inHeaders, System.Runtime.Serialization.Formatters.Binary.__BinaryWriter serWriter, bool fCheck)	Unknown mscorlib.dll!System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(System.IO.Stream serializationStream, object graph, System.Runtime.Remoting.Messaging.Header[] headers, bool fCheck)	Unknown Microsoft.ServiceFabric.Services.Remoting.dll!Microsoft.ServiceFabric.Services.Remoting.V2.RemoteException.FromException(System.Exception exception)	Unknown Microsoft.ServiceFabric.Services.Remoting.dll!Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Runtime.FabricTransportMessageHandler.CreateFabricTransportExceptionMessage(System.Exception ex)	Unknown Microsoft.ServiceFabric.Services.Remoting.dll!Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Runtime.FabricTransportMessageHandler.RequestResponseAsync(Microsoft.ServiceFabric.FabricTransport.V2.Runtime.FabricTransportRequestContext requestContext, Microsoft.ServiceFabric.FabricTransport.V2.FabricTransportMessage fabricTransportMessage)	Unknown
We have some custom exceptions in our code that we are currently serializing using JSON and a custom JsonConverter.  This works great for stateless web APIs.  I would like to be able to control the serialization of exceptions from Actors so I don't have to go through our code base and ferret out all our exception classes to ensure they are configured for binary serialization (e.g. with the [Serializable] attribute and ISerializable implementation).
Is this possible?

@suchiagicha We're attempting to delete an actor now, so I modified your ActorCustomSerializer as below to demonstrate the problem we're experiencing. The ActorId class doesn't play nicely with the JsonDeserializer. Is there any workaround for this, other than putting custom logic in the serialization provider to handle ActorId? Thanks.
        static void Main(string[] args)
        {
            while(true)
            {
                try
                {
                    ActorId actorId = ActorId.CreateRandom();

                    var proxyFactory = new ActorProxyFactory((c) =>
                    {
                        return new FabricTransportActorRemotingClientFactory(
                            fabricTransportRemotingSettings: null,
                            callbackMessageHandler: c,
                            serializationProvider: new ServiceRemotingJsonSerializationProvider());
                    });

                    var proxy = proxyFactory.CreateActorProxy<IActor1>(actorId, "fabric:/Application7");
                    var msg = new BaseType();
                    msg.j = 15;
                    proxy.SetMessageAsync(msg, CancellationToken.None).GetAwaiter().GetResult();
                    var res = proxy.GetMessageAsync(CancellationToken.None).GetAwaiter().GetResult();

                    var serviceProxyFactory = new ServiceProxyFactory((c) =>
                    {
                        return new FabricTransportServiceRemotingClientFactory(serializationProvider: new ServiceRemotingJsonSerializationProvider());
                    });

                    var partitionKey = new ServicePartitionKey(actorId.GetPartitionKey());
                    var serviceProxy = serviceProxyFactory.CreateServiceProxy<IActorService>(new Uri("fabric:/Application7/Actor1ActorService"), partitionKey);

                    serviceProxy.DeleteActorAsync(actorId, CancellationToken.None).Wait();

                    Console.WriteLine(res.j);

                    Debugger.Break();
                }

                catch (Exception ex)
                {
                    Debug.WriteLine(ex);
                    Debugger.Break();
                }
            }
        }

@jackbond Looks like you are using Newtonsoft, so you will have to rely on custom converter for it which handles ActorId.

@amanbha I was afraid you were going to post something like that. I'm beginning to understand why you guys didn't provide a complete sample of a custom provider. At this point I'm left to wonder, what the next's landmine I'm going to merrily stroll over? Can I really be the first person to implement a JsonSerializationProvider for an ActorService and have the outlandish requirement of deleting actors?

@jackbond  Given the fact that remoting layer allows you to bring in any serializer, the json package would be nice for convenience, so it would be an enhancement feature request and the team need to triage it against other work items which we have.
Actor and Service remoting code is open sourced at https://github.com/Microsoft/service-fabric-services-and-actors-dotnet . You can create a feature request for it there.
Also please feel free to contribute to the project so that it can be part of future releases. Or you can release the additions which you are making for it as a separate nuget package which can be leveraged by the community.

@suchiagicha FYI - trying re repro your sample gives albeit with stateless service instead of actor gives
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Security.Permissions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.'
this happens at newtonsoft serialize response level -    at Newtonsoft.Json.Serialization.JsonTypeReflector.get_DynamicCodeGeneration()
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateMemberValueProvider(MemberInfo member) in //Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs:line 1400
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperty(MemberInfo member, MemberSerialization memberSerialization) in //Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs:line 1428
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperties(Type type, MemberSerialization memberSerialization) in //Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs:line 1366
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType) in //Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs:line 340
at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType) in //Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs:line 1249
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) in //Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs:line 70
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) in /_/Src/Newtonsoft.Json/JsonSerializer.cs:line 1151
at Actor1.ServiceRemotingResponseJsonMessageBodySerializer.Serialize(IServiceRemotingResponseMessageBody responseMessageBody) in C:\temp\Samples\ActorCustomSerializer\Actor1.Interfaces\JsonSerializationProvider.cs:line 115
at Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Runtime.FabricTransportMessageHandler.CreateFabricTransportMessage(IServiceRemotingResponseMessage retval, Int32 interfaceId, Stopwatch stopwatch)
at Microsoft.ServiceFabric.Services.Remoting.V2.FabricTransport.Runtime.FabricTransportMessageHandler.RequestResponseAsync(FabricTransportRequestContext requestContext, FabricTransportMessage fabricTransportMessage)
the respose simply could not be easier (minus the SF wrapping)
public interface IService1 : IService
{
    Task<bool> Return();
}

}


remove reprepro

fix #16050
ping @tianon

LGTM because I don't want you to open more PRs

:metal: LGTM
You've tested this already and it's known to be working, right? :smile:

yes i did nummerous times w experimental
On Thu, Sep 3, 2015 at 5:35 PM, Tianon Gravi<EMAIL_ADDRESS>wrote:

[image: :metal:] LGTM
You've tested this already and it's known to be working, right? [image:
:smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/16066#issuecomment-137610295.

:innocent:


Problem with User Authentication

@poryadel
Ok. Sorry thanks. but user has been Authenticated well and user variable Informations are just fine.
This is my code anyway:
var userCredentials = Tweetinvi.Auth.CreateCredentials(
            WebConfigurationManager.AppSettings["PublicTwitterAppKey"],
            WebConfigurationManager.AppSettings["SecretTwitterAppKey"],
            kookkon.TWT_AccessKey,
            kookkon.TWT_AccessSecretKey);

var authenticatedUser = Tweetinvi.User.GetAuthenticatedUser(userCredentials);
byte[] file1 = System.IO.File.ReadAllBytes(Server.MapPath("~/images/Photo4.jpg"));
media = Upload.UploadImage(file1);
var c = authenticatedUser.PublishTweet("Sometext", new PublishTweetOptionalParameters
{
         Medias = new List<IMedia> { media, media }
});

Is there any problem with that.
some times ExceptionHandler.GetLastException() returns null!

From my understanding the problem is intermitent.
If this is correct I suppose that your problem comes from RateLimits.
The User.GetAuthenticatedUser is limited by Twitter to 15 calls every 15 minutes.
Can you please verify if your problem does not come from there.
Thank you


Provide resumableCurrentChunkSize on fileProgress

For now I have made this code:
    r.on('fileProgress', function (file, message, fileCategory) {
        var chunkSize = file.chunkSize;
        var total = file.file.size;
        var hash = file.uniqueIdentifier;
        var totalSent = parseInt($('#' + hash).data('total-sent') || 0, '10') + chunkSize;
        $('#' + hash).data('total-sent', totalSent);
        console.log(file, total, totalSent, totalSent / total * 100);
        var progress = parseInt(totalSent / total * 100, 10);
        if (progress === 100) {
            $('#pourcent').text('');
        }
        else {
            $('#pourcent').text(progress + '%');
        }
    });

This code is a bit wrong since the last chunk is not the size of a normal chunk, so it ends up like this: 117%
It would be nice to have the totalSent or currentChunkSize to be able to compute a percentage of file sent.

or should https://github.com/pointcloudtechnology/resumable.js/blob/0dc8a29358f693611cdc2ae81360ec5cd4514692/src/resumableFile.ts#L131
be fixed ?
In my events it stays at _prevProgress: 0

Hi @williamdes
If I see correctly you found the correct solution for your problem already. 😁
As the "real" problem was a wrong explanation in the readme, this will be fixed with #9, which I will start working on now.
Hopefully once the readme is updated, we can more easily keep it up-to-date! 👍


Example for __format__ ft. f-strings

Problem:
For an integer, f"{10:b}" returns '1010' :)
For a float, f"{10.0:b}" raises a ValueError :(
Goal:
f"{10.0:b}" returns the string of 32bits<PHONE_NUMBER>1000000000000000000000
Solution:
Defined a class that inherits from float and implements a format specification for binary.

Not sure if inheriting from float was done correctly.

Make black happy :)

Not really fond of the unittest usage ngl

Not really fond of the unittest usage ngl

That lib sucks :trollface:

bytes = pack(">f", self) should return big-endian according to the URL. No?
https://docs.python.org/3/library/struct.html#byte-order-size-and-alignment.


Custom element not found

Hi,
I tried your card, but the display ends with an error.
Custom element not found: circular-timer-card
It is installed from HACS and the paths in resources are set correctly.
what is wrong?

Same for me. Tried to install it manually too without HACS

same for me

Maybe an overload. But same here. Installed via HACS. The resource is added. Clear cache. Nothing helped

redownloaded, reinstalled, clear cache, and no change.

redownloaded, reinstalled, clear cache, and no change.

Does the HACS indicate 154990b commit as the installed/available one (very top left corner of the HACS page)? I tried installing the card via HACS myself and I needed to clear cache serveral times, after which everything did start correctly.

yes, I tried in another browser and it works. still not in the ios app

works for me now, also in ios app, thx


[Performance] Enable chunked prefill and prefix caching together

[Do not auto-merge] Add missing co-athors of #7753
Co-authored-by: Tao He<EMAIL_ADDRESS>Co-authored-by: Juelianqvq<EMAIL_ADDRESS>

@comaniac Thank you ❤ !


Metrics tab hidden

I installed Graphana folowing this link http://docs.grafana.org/installation/debian/ and then I installed the Azure plugin with this tutorial: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitor-send-to-grafana.
After installs, the metrics tab is hidden. Anyone with the same issue?

You are looking at the dashboard settings. You need to open the panel settings: click on the "Panel Title" to get a context menu and choose edit.

Closing this but I can reopen if you need more help.

Ok, thank you and sorry for my mess. Now it's working:

Great!


check for cachetoken representing a retry before activating and completing work

Instead of just checking a Work/WorkItem's workToken to detect duplicates, also check the cacheToken.
Change behavior of ActiveWorkState#activateWork to only return ActivateWorkResult.DUPLICATE if both work and cache tokens are the same.  Else if the work tokens match but the cache tokens do not, evict the currently queued work and add the newer retry of the work to the work queue.
more context:

https://github.com/apache/beam/pull/28537#discussion_r1337174068
https://github.com/apache/beam/pull/28537#discussion_r1337172196

r: @scwhittle

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Latest changes don't appear to have been pushed
BTW if fixups to PR are kept as separate commits (instead of squashed and force pushing) I think that Github review tool may work better. It seems easy to squash when merging so I don't think there should be concerns about those commits making it to beam/master branch.

Latest changes don't appear to have been pushed BTW if fixups to PR are kept as separate commits (instead of squashed and force pushing) I think that Github review tool may work better. It seems easy to squash when merging so I don't think there should be concerns about those commits making it to beam/master branch.

sgtm i think i got confused about the recommendations :) will keep them at seperate commits from now on

waiting on author

@m-trieu Can we rebase and get this in? I still think it would be beneficial, it just fell off the radar.

@m-trieu Can we rebase and get this in? I still think it would be beneficial, it just fell off the radar.

@scwhittle ready for another look Thanks!


Feature Request: Better DVR filename idea (like GoPro)

Why not do something like GoPro does for naming the files.

Maintain the filename count between SD card formats, and firmware updates.
When files split, use a similar mechanism to GoPro so that it is easy to determine that the files were split and go together.

So, as an example, GoPro would have a filename like
GOPR3364.mp4, and if it was split, the second, third, and so one would be named GP013364.mp4, GP023364.mp4, etc
We could have something like HDZR1234.ts, and HDZ11234.ts, HDZ21234.ts, etc
Once you get HDZR9999.ts, it could reset to HDZR0000.ts, or could continue on to 5 digit numbering, HDZR10000.ts, HDZR10001.ts, etc, and the split files would be HDZ110000.ts, and HDZ210000.ts, etc for HDZR10000.ts, and HDZ110001.ts and HDZ210001.ts for HDZR10001.ts, etc....  I am not sure what GoPro does in this scenario.

This is in my opinion the wrong way to name files, since if you do this, then you break the only information that you currently have (without a powered RTC) about the order of the files.
What you propose breaks the alphanum order.
The better solution would be to implement https://github.com/hd-zero/hdzero-goggle/issues/42, and if a split is needed, just add _1 , _2 etc. at the end of the filename.

Reject.


Memory leak on 1.0.1 fixed on master, please T&R 1.0.2 with fix?

v1.0.1 has a nasty memory leak, which is fixed on master. Unfortunately...

the commit which brings the fix is very untidy, commit msg unhelpful, changes a bunch of random things, including whitespace and ... a memory leak. See 9b02f2a46cd55d0570a3bcaa0631924874b53191
there is no tagged release with the fix :-( !

I can confirm that v1.0.1 leaks calendars because it does not handle scope destroy, I can confirm that current master is fixed, and the code execution goes right through the scope.$on('destroy') handler installed in the patch above.
Please kindly tag and release a 1.0.2 with a fix?

It turns out current master has other unaddressed bugs. I have backported and tidied up the memleak fix at https://github.com/martin-langhoff/ui-calendar/releases/tag/1.0.2ml .
You can use this in bower with git://github.com/martin-langhoff/ui-calendar.git#1.0.2ml

If anyone considers opening a 1.0.x stable branch for this project, I would be happy to submit the fix as a PR, see https://github.com/martin-langhoff/ui-calendar/tree/1.0.x

The branch mentioned above passes the builtin tests.

This is addressed by 2702f1c on maint-1.0 branch. on maint-1.0 branch.


Add Support for Observe Only Resources

Description of your changes

This PR adds support for Observe Only resources. It also bumps up to v0.16.1.
Related PR: https://github.com/upbound/provider-aws/pull/672
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Provisioned and orphaned a cloudplatform.ServiceAccount resource. Then I tried importing it while running the provider with the newly introduced alpha feature disabled. As expected, I observed the managementPolicy is set to a non-default value but the feature is not enabled Synced == false status condition. Then, I enabled the new alpha feature by passing --enable-management-policies command-line option to the provider and successfully imported the managed resource using the following manifest:
apiVersion: cloudplatform.gcp.upbound.io/v1beta1
kind: ServiceAccount
metadata:
  annotations:
    crossplane.io/external-name: example-service-account
  name: example-import
spec:
  managementPolicy: ObserveOnly
  forProvider: {}

The full manifest of the imported resource (spec.managementPolicy: ObserveOnly) looks like the following:
apiVersion: cloudplatform.gcp.upbound.io/v1beta1
kind: ServiceAccount
metadata:
  annotations:
    crossplane.io/external-name: example-service-account
  creationTimestamp: "2023-04-18T14:21:05Z"
  generation: 1
  name: example-import
  resourceVersion: "103947"
  uid: b1c4184d-fa91-49f9-8054-5bb07afda9f7
spec:
  deletionPolicy: Delete
  forProvider: {}
  managementPolicy: ObserveOnly
  providerConfigRef:
    name: default
status:
  atProvider:
    description: ""
    disabled: false
    displayName: Upbound Example Service Account
    email<EMAIL_ADDRESS>    id<EMAIL_ADDRESS>    member<EMAIL_ADDRESS>    name<EMAIL_ADDRESS>    project: ...
    uniqueId: "104341227125047722363"
  conditions:
  - lastTransitionTime: "2023-04-18T14:24:38Z"
    reason: ReconcileSuccess
    status: "True"
    type: Synced
  - lastTransitionTime: "2023-04-18T14:24:38Z"
    reason: Available
    status: "True"
    type: Ready

Update and performance regression tests have been done in the context of https://github.com/upbound/provider-aws/pull/672.

We can ignore check-examples job failure. The related issue about this: https://github.com/upbound/provider-gcp/issues/280


Prowler v4 importer ignores muted findings

Bug description
When prowler scan is performed with mutelist and findings in report have status_code: FAIL but status: Suppressed they should not be imported to the defectdojo instance
Steps to reproduce
Steps to reproduce the behavior:

Create mutelist.yaml file with excluded finding
Run prowler with option --mutelist-file mute.yaml
Import the resulted json-ocsf report to the Defectdojo
Find muted findings in the Active findings

Expected behavior
Muted findings should not be imported to the Defectdojo
Deployment method (select with an X)

[ ] Docker Compose
[x] Kubernetes
[ ] GoDojo

Environment information

DefectDojo version: v. 2.37.0

Screenshots

Suggestion: https://github.com/DefectDojo/django-DefectDojo/pull/10733

Can you close this issue @ivan-morhun ?


Issue 857 configuration / advanced parameters

@pl-buiquang We wait for the back part before merging or not?


chore: improve dev script and codes

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 7.32%. Comparing base (a2979cd) to head (04cc444).
Report is 118 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #320   +/-   ##
=====================================
  Coverage   7.32%   7.32%
=====================================
  Files         94      94
  Lines       6022    6022
  Branches    1150    1150
=====================================
  Hits         441     441
  Misses      4486    4486
  Partials    1095    1095

Flag
Coverage Δ

unittests
7.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


More than two applications from one person

We don't have a way of knowing whether or not someone has applied for more than two lots. We also don't really know whether or not DPD cares (given that someone can own more than one property so therefore can perhaps apply for 2 per property owned). Let's find out.

Let's leave this up to Large Lots administrators.


Use nested builds to shrink images

When hub supports this, it reduces the image sizes quite a bit:
datakit : 1.4 G -> 21 M
github  : 1.7 G -> 22 M

Note: tests fail are failing in the CI because the CI tries to install the test dependencies in the final image, which no longer has the build environment. However, the tests are now being run in the main dockerfile (in the build part), so we can remove that from the CI once this is merged.

Merging as hub builds have stopped anyway due to the move to the new organisation. Once we have a new org set up, I can get the CI to push there directly.


⚠ Bofrost.de has degraded performance

In c82ff35, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1256 ms

Resolved: Bofrost.de performance has improved in 7605029 after 6 minutes.