flaky test test_gluon_data.test_recordimage_dataset_with_data_loader_multiworker

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-13418/11/pipeline
======================================================================

ERROR: test_gluon_data.test_recordimage_dataset_with_data_loader_multiworker

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\Anaconda3\envs\py2\lib\site-packages\nose\case.py", line 197, in runTest

    self.test(*self.arg)

  File<EMAIL_ADDRESS>line 173, in test_new

    orig_test(*args, **kwargs)

  File<EMAIL_ADDRESS>line 86, in test_recordimage_dataset_with_data_loader_multiworker

    for i, (x, y) in enumerate(loader):

  File<EMAIL_ADDRESS>line 279, in next

    return self.__next__()

  File<EMAIL_ADDRESS>line 267, in __next__

    self.shutdown()

  File<EMAIL_ADDRESS>line 298, in shutdown

    w.terminate()

  File "C:\Anaconda3\envs\py2\lib\multiprocessing\process.py", line 137, in terminate

    self._popen.terminate()

  File "C:\Anaconda3\envs\py2\lib\multiprocessing\forking.py", line 312, in terminate

    _subprocess.TerminateProcess(int(self._handle), TERMINATE)

WindowsError: [Error 5] Access is denied

another one here:
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-13436/4/pipeline
It seems this flaky test happens pretty frequently.

Another one here:
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-cpu/detail/PR-13463/2/pipeline

@mxnet-label-bot add [Flaky, Test, Python]

another one here:
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-13418/11/pipeline

Please reopen
PR #16253
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-cpu/detail/PR-16253/3/pipeline
timeout error
======================================================================

ERROR: test_gluon_data.test_recordimage_dataset_with_data_loader_multiworker

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\Python37\lib\site-packages\nose\case.py", line 198, in runTest

    self.test(*self.arg)

  File "C:\jenkins_slave\workspace\ut-python-cpu\tests\python\unittest\common.py", line 177, in test_new

    orig_test(*args, **kwargs)

  File "C:\jenkins_slave\workspace\ut-python-cpu\tests\python\unittest\test_gluon_data.py", line 91, in test_recordimage_dataset_with_data_loader_multiworker

    for i, (x, y) in enumerate(loader):

  File "C:\jenkins_slave\workspace\ut-python-cpu\windows_package\python\mxnet\gluon\data\dataloader.py", line 473, in __next__

    batch = pickle.loads(ret.get(self._timeout))

  File "C:\Python37\lib\multiprocessing\pool.py", line 653, in get

    raise TimeoutError

multiprocessing.context.TimeoutError:

-------------------- >> begin captured stdout << ---------------------

Worker timed out after 120 seconds. This might be caused by

            - Slow transform. Please increase timeout to allow slower data loading in each worker.

            - Insufficient shared_memory if `timeout` is large enough.

            Please consider reduce `num_workers` or increase shared_memory in system.

--------------------- >> end captured stdout << ----------------------

-------------------- >> begin captured logging << --------------------

common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=908339891 to reproduce.

--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
test_gluon_data.test_recordimage_dataset_with_data_loader_multiworker

This looks more like a IO stall than a bug.

120 seconds is quite some time. Considering everything is happening on local volume, it's quite unlikely that the disk is so occupied. Could something be stuck? I think it's worth investigating.

Any suggestions?

It may be a shared memory problem. Check shm used by using df -h and find shm. If it is 100%, then your multiprocess worker will just stall.
If you use docker.
Use --shm 1024m to lauch docker, so docker run --shm 1024m
why?
gluon.data.DataLoader uses python multiprocess, multiprocess need shared memory. The default shared memory is 64m in docker container. You can check the shm usage by using df -h and find shm.

Any suggestions or fix? The issue still persist

Any suggestions or fix? The issue still persist
Worker timed out after 120 seconds. This might be caused by

            - Slow transform. Please increase timeout to allow slower data loading in each worker.

            - Insufficient shared_memory if `timeout` is large enough.

            Please consider reduce `num_workers` or increase shared_memory in system.

Try to monitor your shared memory usage while running the program.  If the problem is still here, try to increase the shared memory size.


Add strategy_version to other connections that use it

🔧 Changes
Add the strategy_version option to the Connection types which should support it, but currently don't.
These include:

ConnectionOptionsOIDC
ConnectionOptionsOAuth2 (for Paypal)
ConnectionOptionsAD
ConnectionOptionsAzureAD
ConnectionOptionsADFS
ConnectionOptionsSAML

To find which connections make use of this option, look in https://github.com/atko-cic/auth0-preprocessors/

📚 References

https://auth0team.atlassian.net/browse/ULP-6129
https://auth0team.atlassian.net/browse/ESD-3957

🔬 Testing

📝 Checklist

[ x] All new/changed/fixed functionality is covered by tests (or N/A)
[ x] I have added documentation for all new/changed functionality (or N/A)

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

Project coverage is 95.68%. Comparing base (5b0aac1) to head (2f12990).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #443      +/-   ##
==========================================
+ Coverage   95.67%   95.68%   +0.01%
==========================================
  Files          49       49
  Lines        8187     8211      +24
==========================================
+ Hits         7833     7857      +24
  Misses        237      237
  Partials      117      117

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


Diff command fails because pg_jsonschema is not enabled on shadow db

Describe the bug
Using the diff command with extensions not enabled by default results in error. In my case, i enabled (other than the default extensions) the pg_jsonschema extensions, to validate a column holding JSONB data. It seems that the shadow db, created during the execution of the diff command, doesn't take into account possible extensions enabled on the main supabase instance, and therefore apply them before comparing changes.
To Reproduce
Steps to reproduce the behavior:

From the Supabase Dashboard, search and enable pg_jsonschema
Apply some changes to the database, including at least 1 JSONB field with a check having a function from pg_jsonschema (ex. jsonb_matches_schema() )
Run supabase db diff
See error

Expected behavior
No errors are thrown, shadow db  and the command outputs the expected result
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Rerun the failing command with --create-ticket flag.

Ticket ID: a3ab023086174add99c5dcb28fe95b0d

Version of OS: Windows 11

Version of CLI: 1.148.6

Version of Docker: 25.0.3, build 4debf41

Versions of services:
-- supabase/postgres          <IP_ADDRESS>
-- supabase/gotrue              v2.143.0
-- postgrest/postgrest          v12.0.1
-- supabase/realtime             v2.25.66
-- supabase/storage-api        v0.46.4
-- supabase/edge-runtime    v1.38.0
-- supabase/studio                 20240301-0942bfe
-- supabase/postgres-meta    v0.79.0
-- supabase/logflare               1.4.0
-- bitnami/pgbouncer            1.20.1-debian-11-r39
-- darthsim/imgproxy             v3.8.0

Additional context
If applicable, add any other context about the problem here.

Browser: Brave
Version of supabase-js:  v2.39.8
Version of Node.js  v20.9.0

Do you have create extension if not exists pg_jsonschema in any of your migration files?

Nope, I solved the issue by including that line in my first migration file. Can't believe the issue was that simple, thanks a lot!


DST Root CA X3 certificate is not in the certificate chain

Describe the bug:
The X.509 certificate stored in the secret as tls.crt contains the certificate of the server and the certificate of the Letsencrypt CA, but not the certificate of its cross-signing CA Identrust. Some applications (like Zimbra) reject these certificates, because they cannot check the trust up to the root.
Expected behaviour:
The certificate in the secret contains the complete certificate chain up to the root, incl. cross-signing certificates.
Steps to reproduce the bug:
None. The certificate simply lacks the described certificate.
Anything else we need to know?:
The needed certificate can be downloaded here: https://www.identrust.com/node/935
Environment details::

Kubernetes version: 1.13.1
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc): on-premise
cert-manager version (e.g. v0.4.0): 0.5.2
Install method (e.g. helm or static manifests): static manifests

/kind bug

Sorry. I think I've misunderstood something... the root certificate must be installed in the local certificate store. The chain should only contain intermediate certificates, so everything is ok.
The issue can be closed.


cmd/compile: debug info for inlined funcs are sometimes lost

with go version devel +23ce272bb1 Mon Jul 2 17:50:00 2018 +0000 linux/amd64

$ cat main.go
package main

import "fmt"

func main() {
        x := &X{Foo: 10}
        y := InlineThis(x, "bar")
        fmt.Printf("Y = %+v\n", y)
}

type X struct {
        Foo int
}

func InlineThis(x *X, s string) int {
        y := x.Foo + len(s)
        return y
}

With go1.11, I expected debug info for the InlineThis would be present in the (default) optimized binary,
but it doesn't.
With --gcflags="-N", I could see some trace of InlineThis in the binary.

 <1><732df>: Abbrev Number: 3 (DW_TAG_subprogram)
    <732e0>   DW_AT_name        : main.InlineThis
    <732f0>   DW_AT_inline      : 1     (inlined)
    <732f1>   DW_AT_external    : 1

@heschik

Peculiar. Running with -d dwarfinl=2:
assembling DWARF inlined routine info for "".main
PutDefaultFunc(go.info."".main)
putscope(go.info."".main,0): vars:
[snip]

It looks to me like the inline call table is completely missing the call to InlineThis. @thanm might be able to help.

InlineThis gets inlined and completely optimized away (to a single y:=13).  I'm not sure where you would hang a reference to the now-gone function.
@dr2chase

I took another look at this testcase with a recent compiler (Go 1.13 / tip). Problem is still there.
As Keith says, all traces of the function in question are being optimized away -- unless there is some instruction somewhere with a "Pos" that originated in the inlined routine (and in this case we don't, they are all folded away), you don't get a record of the inline in the DWARF.
For grins I rewrote the testcase in C and compiled it with recent versions of clang and gcc. Code:

#include
#include

typedef struct {  int Foo; } X;

static inline int InlineThis(X *x, char *s) {
  int y = strlen(s) + x->Foo;
  return y;
}

int main() {
  X x;
  x.Foo = 10;
  int y = InlineThis(&x, "bar");
  printf("%d\n", y);
}

With clang there is also no trace of InlineThis, e.g. it does essentially the same thing as the Go compiler. With gcc there is at least a record of the inline, and it has (heroically) tried to capture the values of the parameters at the callsite:

 <2><342>: Abbrev Number: 22 (DW_TAG_GNU_call_site)
    <343>   DW_AT_low_pc      : 0x1a
    <34b>   DW_AT_abstract_origin: <0x399>
 <3><34f>: Abbrev Number: 23 (DW_TAG_GNU_call_site_parameter)
    <350>   DW_AT_location    : 1 byte block: 55 	(DW_OP_reg5 (rdi))
    <352>   DW_AT_GNU_call_site_value: 9 byte block: 3 0 0 0 0 0 0 0 0 	(DW_OP_addr: 0)
 <3><35c>: Abbrev Number: 23 (DW_TAG_GNU_call_site_parameter)
    <35d>   DW_AT_location    : 1 byte block: 54 	(DW_OP_reg4 (rsi))
    <35f>   DW_AT_GNU_call_site_value: 1 byte block: 3d 	(DW_OP_lit13)
 <3><361>: Abbrev Number: 0

however according to the DWARF above the callsite is being attributed to an instruction after the call to printf (oops) and the values of the call site parameters look pretty sketchy too (it says that we's passing a zero to InlineThis which doesn't look right).
My own feeling: not sure it is really worth while trying to support this case, or even if it is a good idea at all, given the added complexity that would be needed in the compiler, and given that other comparable compilers (with more resources than Go) aren't handling it.

Moving this issue from 1.14 to unplanned (please move it back if you object).


"Key interpolation not allowed" hint

This hint might be helpful in some cases. In its current state it's a bit noisy. Up to you whether this makes sense.

This seems innapropriate for function calls, as key interpolation is exclusive to dicts IIUC :thinking:

This seems innapropriate for function calls, as key interpolation is exclusive to dicts IIUC 🤔

Agreed

Any way to determine whether we are in a context where the hint should be emitted?

I think at this place in the code it's not possible. #let f(1: 1) could be recognized, but (1: 1) => .. and (1: 1) can't be distinguished there. It would probably have to be moved to the validation functions.

@mattfbacon do you still want to finish this or should it be closed?

I think it's too hard to properly detect whether it's valuable.


Update actor framework to 0.15.5, closes #32

Codecov Report

Merging #34 into master will decrease coverage by 0.6%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
- Coverage   92.42%   91.81%   -0.61%
==========================================
  Files           9        9
  Lines         330      330
==========================================
- Hits          305      303       -2
- Misses         25       27       +2

Impacted Files
Coverage Δ

include/spike/simple_service.hpp
95.74% <0%> (-4.26%)
:arrow_down:

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 f76a2bb...83b06cf. Read the comment docs.


Contributor text changed to button :)

Hi sir,
I have changed contributors from plain text to a button. Please accept my PR for Hacktoberfest.
Reagrds
GeorgeET15

Thanks a lot sir :)


Replace PDM logo

Fixes

Fixes #409 by @krysal
Description

This PR changes the icon for the Public Domain Mark tool (this is not exactly a license) and prefixes the <License> component with a V as per our new standard to follow Vue recommendation to not name components with a single word. Also, adds the CC logo for the CC0 tool, like the rest of the licenses.
Testing Instructions

Run storybook and observe changes in Components > VLicense > PDM route.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@dhruvkb I added the icon from Font Awesome as you suggested but changing only the viewBox naively breaks it. What do you do to add these icons correctly?

Yeah, sorry for the wrong resource I shared @krysal. I think using the SVG from Vocabulary might be better as it matches the viewBox of the other icons. I suspect they were taken from Vocabulary as well 😆.

I was thinking there was a specific process of scaling, transforming and/or repositioning the SVG, lol! Glad that it is a more straightforward solution. Thanks!
Fixed and ready to review.


Appstudio update test-component-pac-kqoe

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-kqoe-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
12 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
12 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
sanity-inspect-image

✅ Succeeded
47 seconds
clamav-scan

✅ Succeeded
1 minute
clair-scan

✅ Succeeded
28 seconds
sbom-json-check

✅ Succeeded
19 seconds
sanity-optional-label-check

✅ Succeeded
18 seconds
sanity-label-check

✅ Succeeded
9 seconds
show-summary

Pipelines as Code CI/test-component-pac-kqoe-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
22 seconds
sanity-inspect-image

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
28 seconds
sanity-label-check

✅ Succeeded
29 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-kqoe-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
31 seconds
build-container

✅ Succeeded
22 seconds
sanity-inspect-image

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
28 seconds
sanity-label-check

✅ Succeeded
29 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
show-summary


python3Packages.hug: disable broken marshmallow tests

Motivation for this change
This change fixes this build failure.
Things done
Built the package on NixOS aarch64 (in addition to x86-64 Linux).
Output of nix-shell -p nixpkgs-review --run "nixpkgs-review wip":
3 packages updated:
python3.7-hug python3.8-hug python3.9-hug

3 packages built:
python37Packages.hug python38Packages.hug python39Packages.hug

[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
[x] 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 nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109615 run on x86_64-linux 1

3 packages built:

python37Packages.hug
python38Packages.hug
python39Packages.hug

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109615 run on x86_64-linux 1

3 packages built:

python37Packages.hug
python38Packages.hug
python39Packages.hug

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109615 run on x86_64-darwin 1

3 packages failed to build and are new build failures:

python37Packages.hug: log https://termbin.com/f6uw
python38Packages.hug: log https://termbin.com/5qpe
python39Packages.hug: log https://termbin.com/i1su

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109615 run on x86_64-darwin 1

3 packages failed to build and are new build failures:

python37Packages.hug: log https://termbin.com/f6uw
python38Packages.hug: log https://termbin.com/5qpe
python39Packages.hug: log https://termbin.com/i1su

Next time please do not add fixup commits because github does not fixup them correctly.

Next time please do not add fixup commits because github does not fixup them correctly.

Next time please do not add fixup commits because github does not fixup them correctly.

Apologies for that. I added the fixup! prefix more to give an indication that I will rebase before the PR gets merged. I wasn't sure if the commit was good or not so I wanted to keep it separate (so it can be easily reviewed in isolation).
I will from now on force-push all follow-up PR changes into a single commit (squashed) unless told otherwise.

Next time please do not add fixup commits because github does not fixup them correctly.

Apologies for that. I added the fixup! prefix more to give an indication that I will rebase before the PR gets merged. I wasn't sure if the commit was good or not so I wanted to keep it separate (so it can be easily reviewed in isolation).
I will from now on force-push all follow-up PR changes into a single commit (squashed) unless told otherwise.


docs: Initial setup of the documentation for users

Close #41

@xeho91 Deployed on Cloudflare Pages!
https://svelte-docgen.pages.dev/

I've raised a question on the SveltePress discord to widen peer dependency of Vite on their side.


unpublish page translation on multilingual site does not actually unpublish the language version

Let's say I have a multilanguage site. My page name is
"About" for en language
"O nas" for sk language
For the first time, after the sk "O nas" has been created, but it's not published yet, I see the correct "About" fallback on site and grey indicator in the administration. After publishing sk version "O nas", everything is ok, the indicator changes to green, language version can be accessed by visitors. I decide to unpublish this sk translation for some reason, I click on "UNPUBLISH", but the page remains published in navigation menu and is publicly accessible, it only changes the indicator from green to grey.
I'm not sure if this is an actual issue (even I expected behavior similar to hide_untranslated), but it at least causes the grey indicator to behave in two different ways.
I've tried it from cms 3.0.12/django 1.6 to 3.1/django 1.7
thanks,
j.

I can reproduce this
Do you still see sk content on the unpublished page? have you checked the reachability of the page in an anonymous browser session?

@jozefsukovsky have you enabled the django cache? In that case the Django cache kicks in and there is little we can do. The only option is completely clear the cache on every page unpublish but it's an overkill, usually, as usually it's ok to wait for the cache timeout to delete the page cache.
If you need immediate deletion, you can hook to cms.signals.post_unpublish and clear the cache after the signal has been fired

@yakky unfortunately It's still happening, with no cache in an anonymous session (a different browser).
I'm sorry, I was probably a bit confusing. If I unpublish all translations the page will hide completely as expected. If I unpublish just sk translation I start seeing en content on the sk page (vice-versa when I unpublish en translation). I expected unpublishing just one translation will hide the item from the specific menu and sitemap. The same way as untranslated page behaves when hide_untranslated is True.
The use case is: I have a multilingual site and pages are already translated to all languages. Then I decide to unpublish complete page in some of available languages (I don't want any fallback I don't want to have this translation page visible in menu, sitemap, anywhere).
I can upload a demo project somewhere if needed.

@jozefsukovsky that would be great, thanks (this happens both with runserver and wsgi deployment, right?)

@jozefsukovsky Could you test #4261 (which is based on 3.0 as I think it worth to fix the bug in 3.0 too)

Attached is project as I mentioned before. I've tested with 3.0 branch and #4261 unfortunately the items are still available in the menu and opening the links shows page with no content.
https://www.dropbox.com/s/r14xfn6m923ctge/web.tgz?dl=0

Sorry, current of PR assumed 'hide_untranslated': False and 'redirect_on_fallback': False
Check the updated PR (still WiP): it returns a 404 when accessing sk/kontakty and will not show it in the menu

@jozefsukovsky Previous version of the PR assumed hide_untranslated=False to check the general behavior. I update with a commit regarding the menu, so the /sk/kontakty/ should be now not visibile in the menu
The blank page is due to language_fallback=False (or not defined) in CMS_PLACEHOLDER_CONF which does not trigger the fallback for placeholder rendering. This  is not True by default in 3.1

@jozefsukovsky does the refined PR works for you?

@yakky I've tested it now, it works perfectly.
Thanks!

Thanks for reporting and testing!


[WIP] add elasticsearch output

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
partially #40, mentioned in #40

License
Apache 2.0

What's in this PR?
Add support elasticsearch outpout

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

After weekend it's will ready sorry

What about add "user" and "password" fields to fluentd's configuration template? Of course default values also should be provided (nil) https://docs.fluentd.org/v1.0/articles/out_elasticsearch#user,-password-(optional)


SecCertificateCreateWithData Return nil in ios 10 and above

SecCertificateCreateWithData(kCFAllocatorDefault, ( __bridge CFDataRef) publicKeyContents);
Return nil in ios 10 and above where publicKeyContents is bace64Data of public key provided by server using PACS#1

@ankits47b I am no longer maintaining this repository, please feel free to open a pull request and I am happy to review and merge.
Thanks!


Wipeout Fusion SMB issues

I am using OPL 9.3+rev994, but the same happens on OPL 9.3 stable (tried the normal elf). My console is a SCPH39001 without a modchip and OPL is launched by FMCB.
The issue is only present when playing from SMB share, USB and HDD work as they should. The issues are present in both the NTSC and PAL versions of the game.
When on the main menu, the music seems to be out-of-time and there is audible distortion in the form of loud clicks and pops. Once you get in a race, there is constant stuttering where the game freezes and flickers about 1.5 times per second.  There is also a good chance of the game freezing completely, requiring a
a manual reset of the console, when browsing the options menu.

Hello,
please, report issues with games go in the official compatibility threads of the official forum:
http://psx-scene.com/forums/f150/open-ps2-loader-official-compatibility-list-thread-156233/
Also check the compatibility list, the game needs Mode 2 running through SMB
and works fine:
http://sx.sytes.net/oplcl/games.aspx
Best regards.

Thanks for pointing me to the official thread and page, I'd only seen the (obsolete) compat list thread by jay-jay.

You are welcome, you can visit each time the official threads, and because this issue is solved i close it.
Best regards.


Feature : Add Buttons To take Input from User, what Shot he want's to play.

Made the buttons responsive


Add treefmt to checks

Currently, we're only using nix-lint to check for potential issues. We should add support to treefmt check.

Already implemented


How can I add a portuguese dictionary?

Hi. I'm from Brazil and I'd like to use a portuguese (pt_BR) dictionary. How can I install and activate a new dictionary?

The Portuguese dictionary is already available in the recent versions (but for now it is pt_PT, not pt_BR). We are working on better multi-lingual support (which requires re-working how dictionaries are fetched as if we keep adding new languages with the old mechanism it will become a significant memory burden for JupyterLab).

This is now possible with the new 0.6.0 version, please see the instructions in the readme and the example here.

Thanks!


Granular management policy - promote to BETA

Description of your changes
Fixes some linter issues in the original PR and bumps to latest Crossplane Runtime today.

Bumps crossplane-runtime to a version in which GMP is beta. Just bumping crossplane-runtime gave me this issue so I needed to bump a few more things.

P.S: I couldn't push to that PR due to lack of permissions.
I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Tested with provider-aws, creating a DynamoDB Table with using initProvider and managementPolicies.

The KubernetesSource tests are sporadically failing. Retrigerred them...


Remove Windows build files.

The Windows build needs lots of love to get dll's building and to get an
installer functional. We don't have anyone to do or support the work
though so best to remove these and just add them back if / when someone
motivated to do the task comes along. We can't have these as part of a
release unless we can support whoever may use them.
This resolves #273
Signed-off-by: Philip Tricca<EMAIL_ADDRESS>

I'm going to really hate this.  Even though windows build doesn't work for real applications/normal use, it is very useful for code development.  I would prefer that it just be documented as such (and I think it already is, i.e. windows build only runs against simulator).

I think this is a bad idea.  Why is it a bug? Why remove existing functionality?

Currently, developers need to build this on both Windows and Linux which is an unnecessary step when the primary focus of this project is Linux.

Specifically answering the questions from @David-Challener above (hi @David-Challener !): Like @wcarthur1 says, these files are part of one developers debugging workflow. They're not a feature. Keeping a set of debug files in the source tree for each developer just won't scale and each file is a liability for the maintainer.

But do we not want to have this available on both LInux and Windows?  It
certainly is nice to run the same code from TrouSerS on both.
On Fri, Sep 23, 2016 at 12:05 PM, Philip Tricca<EMAIL_ADDRESS>wrote:

Specifically answering the questions from @David-Challener
https://github.com/David-Challener above (hi @David-Challener
https://github.com/David-Challener !): Like @wcarthur1
https://github.com/wcarthur1 says, these files are part of one
developers debugging workflow. They're not a feature. Keeping a set of
debug files in the source tree for each developer just won't scale and each
file is a liability for the maintainer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/01org/TPM2.0-TSS/pull/277#issuecomment-249233356, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE4MWeRmYkXkHbAyqiPzaoqI4zvkBTVhks5qs_iugaJpZM4KDW3J
.

@David-Challener That would be nice but I think you're making my point for me here: These aren't a VS build files that we can support since they just statically like everything into the test applications. These files are part of the debug environment that @wcarthur1 left behind. Having these files in the source tree is confusing people: it gives off the impression that we support Windows when in fact we don't.
I've made a pile of 'issues' for the work necessary for us to support a real Windows build but no one has taken on the work. If you've got some cycles to spare I'd gladly take PRs for those issues. They're organized under milestone #9 if you're interested in helping out.

THen why don't you simply document what they are, and leave them available
for the next person that has cycles necessary to update them?  Removing
data is seldom a good idea.
On Tue, Sep 27, 2016 at 1:34 PM, Philip Tricca<EMAIL_ADDRESS>wrote:

@David-Challener https://github.com/David-Challener That would be nice
but I think you're making my point for me here: These aren't a VS build
files that we can support since they just statically like everything into
the test applications. These files are part of the debug environment that
@wcarthur1 https://github.com/wcarthur1 left behind. Having these files
in the source tree is confusing people: it gives off the impression that we
support Windows when in fact we don't.
I've made a pile of 'issues' for the work necessary for us to support a
real Windows build but no one has taken on the work. If you've got some
cycles to spare I'd gladly take PRs for those issues. They're organized
under milestone #9 https://github.com/01org/TPM2.0-TSS/milestone/9 if
you're interested in helping out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/01org/TPM2.0-TSS/pull/277#issuecomment-249938547, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE4MWcMf4Ab4kbcaRpqSQH1trGqP0_D3ks5quVPAgaJpZM4KDW3J
.

I appreciate the advice @David-Challener but VCS mostly obsoletes it. A motivated party like yourself will only need to go back into git history and revive these files. Or better yet you could create a topic branch, pull them over and fix them up! Really though my advice would be to start from scratch since last I checked these were for VS 2010 which is pretty old and requires a paid license. Microsoft has iterated several times on the express and now community editions of VS which would be much more appropriate for the audience we're courting.
I'll make a link to the commit that removes these files for you in case you decide to pitch in. That way you can just revert it if you want to start from the existing files.

BTW, I just built under Windows and VS2015 last week.  And I plan to continue to do so.  I will keep this build environment going for my own use, but unfortunately, no one else will be able to use it.
I've said it before...developing TPM code running against the simulator and under VS2015 is the quickest and easiest path for TPM code developers.  I currently have a project where I have to port some Linux code from TPM 1.2 to 2.0.  I plan to get the 1.2 code to build under Windows, then add the 2.0 support while developing under Windows then port to Linux.  The debugging environment in Linux is vastly inferior to that under VS/Windows.
The documentation has always made it clear that the Windows support only works with the simulator and is for prototyping purposes.
I sympathize with the purist approach, but at heart I'm a pragmatist and the easiest way to get a job done is what I'm going to do.
So how did this get resolved?  Is the VS support now removed?  Github says that Philip closed this and deleted the flihp:rm-win-build branch.  I don't know if that means the VS files are gone or still there.


[BUG] Move-PnPFile -IgnoreVersionHistory

Hello all,
Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Cmdlet "Move-PnPFile -IgnoreVersionHistory" is not working as expected.
Expected behavior
When using "Move-PnPFile -IgnoreVersionHistory" i expect to see in the target site only the last version for the file moved.
Actual behavior
When using "Move-PnPFile -IgnoreVersionHistory" it moves all version history for one file.
*The actual behaviour was also confirmed by Microsoft Premier Support.
Steps to reproduce behavior
Move-PnPFile -SourceUrl "/teams/Site1/Move/1 - copia (4).txt" -TargetUrl "/teams/Site2/Moved/" -IgnoreVersionHistory
What is the version of the Cmdlet module you are running?
Using 1.8.46-nightly  PnP.PowerShell but its not working since the 1.8.0 version.
Which operating system/environment are you running PnP PowerShell on?

[X] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Similar to my issue #1246 but opposite way

Reproduced on version 1.9.5.

@Bryand13 - Can you try again with the nightly release? (Today is 1.10.64)

Yes i can. I'll let you know something ASAP. Thank you @veronicageek.

Hello @veronicageek,
I did the test today and unfortunatelly i had no luck. The version history is still moved to the target site.
Command used: Move-PnPFile -SourceUrl "/teams/site1/Librera_4/file.txt" -TargetUrl "/teams/site2/Moving" -IgnoreVersionHistory
Module version: 1.11.0  PnP.PowerShell installed on machine.
Regards.

Still an issue in 1.12.79 (history moved).

@Bryand13 - A new version of CSOM has been released last week (which we are consuming), can you please update to the latest release 2.1.x however you will need PS 7.2 or later to benefit from it.
PS5 support has been dropped in the new release.


[SPARTA-748] Add Plugins jar endpoints in order to upload jars and save it into one path published by the API

After this is possible to add the http uri in the policy definition as userPluginsJars

Coverage decreased (-0.1%) to 51.265% when pulling b3a6b24bcb65b46915059274ff1fe2a1785aee6c on ahvargas:feature/SPARTA-748 into 1ffa459e27bfa0d8d35c75461e31fb62825ca07e on Stratio:master.

Add configuration variables to docker-entrypoint

Coverage decreased (-0.1%) to 51.238% when pulling 91555204e555c764df50f52164aefc5911f39093 on ahvargas:feature/SPARTA-748 into 091be0098c4537649585eca15066a8317738d241 on Stratio:master.

Coverage decreased (-0.08%) to 52.921% when pulling 048fd8b0a38e0d2600b9557d10c07ee295701a45 on ahvargas:feature/SPARTA-748 into 597e80f1f61787610b8a8b91678f6def07432064 on Stratio:master.


Icons are broken in clr-vertical-nav and clr-accordion

Describe the bug
The icon for expand/collapse buttons in clr-vertical-nav and clr-accordion are broken.
How to reproduce

https://stackblitz.com/edit/clarity-v5-light-theme-accordion?file=src/app/app.component.html
https://stackblitz.com/edit/clarity-v5-light-theme-vertical-nav?file=src/app/app.component.html
Versions
Clarity project:

[ ] Clarity Core
[x] Clarity Angular/UI

Clarity version:

[ ] v3.x
[ ] v4.x
[x] v5.x

Framework version:
ie: Angular 11
Device:

Type: [e.g. MacBook]
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional notes
Add any other notes about the problem here.

Reason analysis: clr-icons.scss has this setting for the svg element  inside the clr-icon. the cds-icon lacks it, which leads to non-centered icon if height of the cds-icon is manipulated.
 & > * {
    height: 100%;
    width: 100%;

For everyone who is looking for a workaround:
.nav-group-trigger .nav-group-trigger-icon {
  display: flex;
}

also fixes the issue without the need of any hacks to pierce the shadow DOM which are needed to apply Jinnies fix.

@dorthrithil thanks for providing the workaround!
My "fix" was not a workaround suggestion, but just a direction to what we need to fix inside the component. I have a commit for it, but it currently depends on another related change, which I want to push together with this.

The icons in the vertical nav should be fixed with https://github.com/vmware/clarity/pull/5862.
The accordion ones were already fixed with https://github.com/vmware/clarity/pull/5810.

The fixes will be shipped with the next release.


Make pin return unchanged spec if it's already pinned

The current implementation of pin means that programs like find-photos can't take a pinned path as it's  argument. This should re-enable that functionality.
Do I need to bump up the noms version for this change?

whoops. I think you bump the 'patch' (third component) for something like this

LGTM w/ nit

Diff Coverage
File Path

•••••••••• 100%
js/noms/src/specs.js

•••••••••• 100%
js/noms/src/specs-test.js

Powered by Codecov. Last update 8320cb6...830de21


optimization: 并发控制参数优化

Codecov Report

Merging #455 (e2a3514) into V2.2.0-rc (90422e1) will decrease coverage by 0.00%.
The diff coverage is 70.00%.

@@              Coverage Diff              @@
##           V2.2.0-rc     #455      +/-   ##
=============================================
- Coverage      70.35%   70.34%   -0.01%
=============================================
  Files            270      270
  Lines          19711    19725      +14
=============================================
+ Hits           13867    13876       +9
- Misses          5844     5849       +5

Impacted Files
Coverage Δ

...ackend/components/collections/agent_new/install.py
89.13% <61.53%> (-1.05%)
:arrow_down:

...nents/collections/agent_new/choose_access_point.py
95.39% <100.00%> (-1.23%)
:arrow_down:

apps/backend/components/collections/core.py
96.15% <100.00%> (+0.69%)
:arrow_up:

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 90422e1...e2a3514. Read the comment docs.


config: enable certificate_html_view to enable certificate option in studio (MITxOnline)

What are the relevant tickets?
Part of debugging https://github.com/mitodl/hq/issues/1630, Specifically https://github.com/mitodl/hq/issues/1630#issuecomment-1640111969 comment.
Description (What does it do?)

This would enable a setting Certificates in the Studio course settings
Enabling the Certificates would make it easy for us to check if a course has active certificate pages created.
Would also allow us to Activate/Deactivate the certificate pages.
More details are in https://github.com/mitodl/hq/issues/1630#issuecomment-1640111969

Screenshots (if appropriate):
Certificate setting in Studio

Certificate Page in Studio

How can this be tested?
Once deployed, We should see Certificate setting in studio course settings. (See screenshot above)
Additional Context
This is probably just a temporary change to debug a few things in MITxOnline studio, It's possible that we would revert this once our debugging is complete.
If you think, To enable a feature temporarily have another solution than a PR, Please let me know.

pre-commit is failing on this PR, But that's also failing on the main, something to do with the ol-concourse setting's text length.

@blarghmatey Should this be deployed automatically on QA instance of MITxOnline? I tried checking on https://studio-qa.mitxonline.mit.edu/course/course-v1:Arbisoft+ARB_CRT_0001+2022_T1 if the Certificates setting is now available but I don't see it yet.

There were some issues with QA deployments this week (partially due to edx-sysadmin), but I think everything was working as of Thursday afternoon.  Please check again.
If the setting still isn't deploying, you may need to follow up with Sar since Tobias is out until Wednesday.

Thanks, I checked the QA again and I can see the certificate settings now on a sample course https://studio-qa.mitxonline.mit.edu/certificates/course-v1:Arbisoft+ARB_CRT_0001+2022_T1.
But on Production I still don't see, Wither we'll need to wait on our weekly production release or get this setting deployed on production as well. What do you think, should we wait for weekly release or get it deployed on production now?

We should wait for the weekly release, so the MITx team has an opportunity to test and discover any side effects.


perf: enable rollup treeshake

https://tsup.egoist.dev/#tree-shaking

It may be effective for CJS.
1.92B → 1.7KB
The size of most recent PR

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


glide update

pick up m3cluster interface change introduced in the shard state pr, feel free to close this and do glide update in your own diff @robskillington

Coverage increased (+0.03%) to 78.388% when pulling<PHONE_NUMBER>3de12ab406aa4aa635af1a0f6493dc on chao-shard-state into 82b8fdd24c7c8ce685c12c443e327476922d99d4 on master.

I've introduced these changes with https://github.com/m3db/m3db/pull/168 - thanks!

@cw9 I assume this is no longer needed?

I actually need this for the statsdex change that I plan to land before Rob's resharding change, just updated with the master m3cluster SHA

Coverage decreased (-0.02%) to 78.364% when pulling 39b871337278b773efd6c4c4d706332382550954 on chao-shard-state into 53a5c22ea83827c3c98290036966a5715bd8e084 on master.


/usr/local/include/sol/traits.hpp:482:53: fatal error:  no member named 'variant' in namespace 'std'

Build - https://travis-ci.org/github/horizonxyz/horizon/jobs/762615883#L5800

You can turn off variant by defining the SOL_STD_VARIANT macro to 0.

I forgot to make this required, so I patched the latest. Grab the latest and this should be okay.


ci test: do not merge.

I've removed some tests to test the code coverage plugin.

Codecov Report

Merging #6 (46f9b40) into main (3d4e519) will decrease coverage by 3.97%.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff             @@
##              main       #6      +/-   ##
===========================================
- Coverage   100.00%   96.03%   -3.97%
===========================================
  Files            3        3
  Lines          630      630
===========================================
- Hits           630      605      -25
- Misses           0       21      +21
- Partials         0        4       +4

see 1 file with indirect coverage changes

It works.


[!] Aborted. Peer Flood Error

I followed all the steps according to the tutorial, but in the last step I encountered this error, how should it be solved?
error:
[!] Aborted. Peer Flood Error

Yes the same problem facing me


ModuleNotFoundError: No module named 'finrock'

ModuleNotFoundError: No module named 'finrock'
Even I try to pip install finrock, it does not work
How to fix this?

This package is not published in pypi, you need to install it locally:
pip install . within finrock package, or pip install <finrock package path>


Monthly NRT

Adds a CLI for monthly NRT processing.

This does not update any attrs to reflect the NRT nature of this product. Need to update the title/version/summary/metadata_link attrs similar to how the daily nrt code does it.


Notebook: UI edge case -  link not scrolling correctly to corresponding section.

Note: this bug is an edge case where expected behavior under certain conditions is not acceptable. A prior bug 8428 solved for many issues encountered with respect to document links.

We are dealing with an edge case when navigating to a section in a notebook. Basically if we add a lot of
 on a code cell and we use the same cell to add an anchor link, there is an issue with the offset and the section is not visible. We noticed that Jupyter notebooks handles this case gracefully, is there a way to replicate the same behavior?
Attached: Notebook file (replace txt extension with ipynb before opening in ADS.)
Anchors-Sample_ipynb.txt
Attached: Gif showing behavior.

Azure Data Studio Version: 1.16.0

Steps to Reproduce:

Add a lot of
 on a code cell, and use the same cell to add an anchor link.
Given the offset (of
s) , when the anchor link is clicked, the section it links to is not visible.

Issue already fixed with by 8428

@halerankin -
The offset issue is more severe if the text cell containing the links are somewhere in the middle of a notebook.
File to repro: https://github.com/MsSQLGirl/jubilant-data-wizards/blob/main/Simple Demo/Sample Notebooks - Data Analysis/ADSNotebooksDemo.ipynb
In Azure Data Studio, you can simply press Ctrl + O, and paste the raw path
https://raw.githubusercontent.com/MsSQLGirl/jubilant-data-wizards/main/Simple%20Demo/Sample%20Notebooks%20-%20Data%20Analysis/ADSNotebooksDemo.ipynb

I converted the ipynb to readme.md (a markdown file). It looks like the links are working (except for the ones that are referring to other notebook's parts) in Azure Data Studio.
The readme.md file on GitHub, the links behave as expected (for links that are within the md file). i.e.
The markdown file is here:
https://github.com/MsSQLGirl/jubilant-data-wizards/tree/main/Simple Demo/Sample Notebooks - Data Analysis
Note: GitHub Jupyter Notebook Viewer doesn't support linking.

@halerankin  - is the  issue still a problem in the latest insider?

@MsSQLGirl I tested both notebook files in the Insider's Build (v.1.26) and confirm the anchors working as expected!

@MsSQLGirl I tested both notebook files in the Insider's Build (v.1.26) and confirm the anchors working as expected!

Closing this. Fixed by #13926.

Closing this. Fixed by #13926.

Closing this. Fixed by #13926.

Closing this. Fixed by #13926.


Fill Out PSUB obsidian notes

[x] Time Tracking PSUB
[x] Exogenous Processes PSUB
[x] Agent Actions PSUB
[ ] Evolve Block Process
[ ] Payouts
[ ] Dynamically Evolve Time
[ ] Metrics
[ ] Meta Stuff

The flow for each should be:

Add the dataview tables
Add the content
Add a new issue for fleshing out further


Incorrect bracket colors in Vue HTML

Issue Type: Bug
Object props with nested objects have incorrect brace colors if the closing braces of the two objects are touching. The issue continues with further nesting, with weirder results when the nesting depth is even.
<template>
	<test :some-value="{param1: 2, object: {}}"/>
</template>

VS Code version: Code - Insiders 1.64.0-insider (807bf598bea406dcb272a9fced54697986e87768, 2021-12-20T07:18:13.749Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.88GB (6.15GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

vetur
oct
0.35.0

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
pythontb:30258533
pythonvspyt551:30291412
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
vscop804cf:30404767
vs360:30404995
vsclayoutctrt:30405800
py55gd98cf:30408622
vscexrecpromp3t3:30407760
azactmsal:30409287

Token inspector says that they are Other

Can you check the language of each bracket token? Matching brackets must have the same language.

Everything has vue-html as the language.
Matching brackets have the same textmate scopes. The same color ones that shouldn't match have differing textmate scopes.

This is the issue:
https://github.com/vuejs/vetur/blob/5651cd5ff61a81a1f85b557eba052dc84602c8c0/languages/vue-html-language-configuration.json#L13
vue-html configures }} to be a bracket pair. The parsing algorithm matches longest bracket pairs first (otherwise they would never be matched).
Please file an issue in the vue extension.


Custom Output: How to convert the bytestring to a proper OpenCv Object

How do I convert the given byte-string inside the custom output to a numpy-array that's working with OpenCv? And how do I convert it back after altering the image?
from __future__ import print_function

import picamera

class MyOutput(object):
    def __init__(self):
        self.size = 0

    def write(self, s):
        self.size += len(s)
        #-->How to convert s to an OpenCv object?

    def flush(self):
        print('%d bytes would have been written' % self.size)

with picamera.PiCamera() as camera:
    camera.resolution = (640, 480)
    camera.framerate = 60
    camera.start_recording(MyOutput(), format='h264')
    camera.wait_recording(10)
    camera.stop_recording()

Guessing this is a follow-on from #338...
The output's write method is being called with H.264 encoded data and I get the impression you're wanting to modify the unencoded frame (using OpenCV) before it gets to the H.264 encoder. Unfortunately, that's not easily possible with picamera, which is hooking the camera's video output (almost) straight to the H.264 encoder in the GPU (i.e. the ARM never sees the unencoded frames).
My understanding is that it is possible to construct an MMAL pipeline (or rather pipelines) which permit the ARM to modify the unencoded frames before they reach the encoder (essentially you setup an unencoded recording, then setup a standalone H.264 encoder, grab buffers from the recording, modify them and pass them onto the encoder, writing its output wherever you want). However, I've not tried this myself hence it's not documented anywhere at the moment, and I've no idea what sort of framerate one could achieve performing the modification in Python (would probably depend on the complexity of the modification).
It's something I'd like to cover at some point, but I've no idea when that'll be at the moment.

Alrighty. Thanks anyways for the answer!


fix executeQuery on uninstall with showpare 6.4

fix executeQuery on uninstall with showpare 6.4
fixed #26

@runelaenen could yyou review this PR? It is an Small additional fix for Showpare 6.4


Update for Manifest V3

I made the changes necessary for it to run in V3. I tested it on my copy of Chrome.

Thanks for the PR! I'll try it for a few days and if everything goes well we can merge

Yeah! Lemme know if you encounter any issues. Glad to help!
Sent from my iPhone

On 21/09/2024, at 4:53, Joaquin Sargiotto @.***> wrote:

Thanks for the PR! I'll try it for a few days and if everything goes well we can merge
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Sorry, I accidently closed the PR, could you re-open the PR against the branch manifestv3? I can't modify which branch the PR is pointing at


mock api for integration test

mock api for integration test

Coverage remained the same at 38.484% when pulling a8e550716ffcf1353ae33cca5cf004046f785a32 on embbnux:feature-mock-test into 2061cbe9e54da74ed5b091578e47cfd900b37822 on ringcentral:master.


Getting error autoload.php file not found

Unable to run php artisian command, getting error autoload.php file not found

does your APP_KEY at .env file empty?

Yes, that should be the case. please check once and feel free to open the issue again if it is not resolved.


Surface tweaks

A few fixes for surfaces and electrostatic coloring
Specifically, fix the buggy surfaces seen at high scaleFactor values in 'av' mode, assign correct atom indices, and tidy up electrostatic coloring code.

awesome, thank you


feat(falco): allow setting resources and securityContext on the falco…

…-driver-loader init container
Signed-off-by: Benjamin Maisonnas<EMAIL_ADDRESS>What type of PR is this?
/kind feature
/kind chart-release
/area falco-chart
What this PR does / why we need it:
Give more control to users on how the init container runs, helps with satisfying kubeaudit rules and overall security.
Checklist

[x] Chart Version bumped
[x] CHANGELOG.md updated

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Benzhaomin
Once this PR has been reviewed and has the lgtm label, please assign issif for approval by writing /assign @issif in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

docs updated!

@alacuku: changing LGTM is restricted to collaborators

In response to this:

/LGTM

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: alacuku, Benzhaomin
Once this PR has been reviewed and has the lgtm label, please assign issif for approval by writing /assign @issif in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

docs updated!

Thank you @Benzhaomin!

@leogr, please take a look.

LGTM 👍

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alacuku, Benzhaomin, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: b4acb575c91bc337334d69f0b1adcb8f7a4ff6f3


Added custom ratios support

I've added custom ratios support. Usage is fairly simple a should support all mathematical operators
dict_custom = {"Working Capital/Rev": 'Working Capital/Revenue', "Working Cap-Rev": "Working Capital-Revenue", "Working Capital+Revenue": "Working Capital+Revenue"}
custom_ratios = companies.get_custom_ratios(custom_ratios=dict_custom)

This will create a dataframe that is multiindexed for each ticker with the following rows:
"Working Capital/Rev"
"Working Cap-Rev"
"Working Capital+Revenue"
The rows will contain the values of the specified mathematical operation in the dictionary. Because of the way this works only 1 mathematical operator can be passed per new row. However users can make more complex ratios/formulas by simply doing it in several rows and conducting the mathematical operations on those new rows. Since the dictionary is looped through from start to finish, the order of such ratios needs to follow the "logical" steps. I.e creating a ratio that is "(Working Capital/Revenue)*(Inventory) can be done via the following dictionary:
dict_custom = {"Step 1": 'Working Capital/Revenue', "Final ratio": "Step 1*Inventory"}

Can you have a look at the lining? Use pre-commit install. E.g black is failing.
I like this idea by the way.

I've not used it before so I honestly have no clue

I've updated the code, please see the following remarks/suggestions:

I moved these calculations to the Ratios class. This made more sense and it also allows a lot of the code from the function to be taken out.
You've made a lot of redundant iterations, please compare mine to yours.
I've made it a bit more robust. It should not work when you don't assign custom ratios and such. This is now part of the initialization of the Toolkit class.

Result:


Loki and Mimir need an alert for pods stuck in a pending state

We noticed that both loki and mimir pods could enter a pending state and get stuck in it indefinitely without us being alerted for that. Hence the need for creating an alert with such a purpose.

I should it would be managed by the DeploymentNotSatisfiedAtlas alert 🤔
https://github.com/giantswarm/prometheus-rules/blob/main/helm/prometheus-rules/templates/platform/atlas/alerting-rules/deployment.management-cluster.rules.yml#L20

Maybe it's related to test installations then?

@QuantumEnigmaa do you remember where we discussed this?

Coming from here: https://gigantic.slack.com/archives/C01176DKNP4/p1728541264647909
Was failing on glippy which is stable-testing. So, should have paged during business-hours.

The current alert monitors deployments, not statefulsets.
I'll craft an alert for statefulsets.

Anything left here @hervenicol ?

Fixing currently broken installations, but that means the alert actually works and is useful 🤣


Bitmap images inside SVG files.  Some browsers that support SVG, will not show embedded bitmap image...

Bitmap images inside SVG files.
Some browsers that support SVG, will not show embedded bitmap images.

This issue was imported from Google Moderator
Moderator votes: +5
Issue added by Alexander S. on 2014-09-29
To vote this issue up or down, simply include +1 or -1 in your comment.

+1


Feature Request - Pokemon Level and Powerups

A few features I think would be helpful:
Show the level of the Pokemon.
Show the resource cost of powering up 100% (at the player's current level, or a configurable player level).
Show the most desired move-set for the final evolution of the Pokemon (maybe too subjective?)
Thoughts?

I agree. I think a combo of this, and this would be perfect.

@brycesub How do you compute the "level"? It's not part of the raw data you get from the Inventory event. (Only CP, the IVs, and how many powerups you've used.)

Level may be able to be included in the future, but for now it isn't feasible. Same with powering up to 100%. I had intended to eventually give suggestions on movesets, however. Additionally, I'd like to include the ability to "sort by DPS" and "sort by durability" in the future.

you can compute the range of level by the dust-costs (is this number served by the data?)

level	Stardust
1	200
2	200
3	200
4	200
5	400
6	400
7	400
8	400
9	600
10	600
11	600
12	600
13	800
14	800
15	800
16	800
17	1000
18	1000
19	1000
20	1000
21	1300
22	1300
23	1300
24	1300
25	1600
26	1600
27	1600
28	1600
29	1900
30	1900
31	1900
32	1900
33	2200
34	2200
35	2200
36	2200
37	2500
38	2500
39	2500
40	2500
41	3000
42	3000
43	3000
44	3000
45	3500
46	3500
47	3500
48	3500
49	4000
50	4000
51	4000
52	4000
53	4500
54	4500
55	4500
56	4500
57	5000
58	5000
59	5000
60	5000
61	6000
62	6000
63	6000
64	6000
65	7000
66	7000
67	7000
68	7000
69	8000
70	8000
71	8000
72	8000
73	9000
74	9000
75	9000
76	9000
77	10000
78	10000
79	10000
80	10000

https://docs.google.com/spreadsheets/d/1q_GTEoPUpoES54XNDFRENfyd1TZsSkqugxkO_4IbV3Y/edit

I'd honestly rather wait until I can add in a hook to check power ups and do it the right way the first time. I'll be re-writing the inventory system in the near future and that should be pretty easy to do at the same time. I've just been sidetracked with this compatibility stuff lately.

Level can be calculated.
The CP formula is given here http://pokemongo.gamepress.gg/pokemon-stats-advanced#calculating-cp
Cp multiplier is level dependant. http://pokemongo.gamepress.gg/cp-multiplier

Very interesting information. I'll look into getting levels added this weekend.

Dust cost isn't served by the GetInventory callback afaict but it does show you how many times you've powered up the Pokemon itself.

Very true. I wonder how the game gets the information on level up cost though.

Alright, I'm looking at my Vaporeon here with 15/13/14 (ATK/DEF/STA), CP918.
CP = (ATK * DEF^0.5 * STA^0.5 * CPM^2) / 10
918 = ((VATK + 15) * (VDEF + 13)^0.5 * (VSTA + 14)^0.5 * CPM^2) / 10
Looking at the Master Protobuf rip that's floating around:
Stats {
  BaseStamina: 260
  BaseAttack: 186
  BaseDefense: 168
}

918 = ((186+15) * (168+13)^0.5 + (260+14)^0.5 * CPM^2) / 10
918 = (2720.73 * CPM^2) / 10
9180 = (2720.73 * CPM^2)
3.374 = CPM^2
CPM = sqrt(3.374) = 1.83687
Uh, well, that seems wrong.
Any feedback on where I may have went wrong?
(Note: I did upgrade this Vaporeon 3 times, it is now at a cost of 1300.
Based on the dust cost chart, that'd be "21-24". I believe other charts use "half levels," so this would be level 10.5 to 12. Based on the CPM chart, that should be .43 to .46.)
= (186+15 * (168+13)^0.5 + (260+14)^0.5 * .445) / 10
= (186+15 * (168+13)^0.5 + (260+14)^0.5 * .445) / 10
= 39.51.
Err, yeah, this doesn't seem right.
Tips?

Attack = (BaseAttack+ IndividualAttack) * CPM
Defense = (BD + ID) * CPM
Stamina = (BS + IS) * CPM
CP = ((Attack) * (Defense)^0.5 * (Stamina)^0.5 * (CPM)^2) / 10
CP = (  ((BA+IA)*CPM)  *  ((BD+ID)*CPM)^0.5  *  ((BS+IS)*CPM)^0.5  *  (CPM)^2) / 10
https://www.wolframalpha.com/input/?i=918+%3D+(((186+%2B+15)+*+x)++((168+%2B+13)++x)%5E0.5++((260+%2B+14+)++x)%5E0.5+*x%5E2)+%2F+10

Any idea if you can just round up/down or how that would work when it lies between two values?

Something is off because that's still not matching the stardust cost...

Oh, each individual term is multiplied by the CPM? That's not really clear from the way that page writes it, but OK. It's also definitely different from the formula they wrote here:

"Max  CP = ((Base_Attack + 15) * ((Base_Defense + 15)^0.5 * (Base_Stamina + 15)^0.5 * 0.7903001^2) / 10"

But okay, let me re-run my numbers.
ATK = (186 + 15) * X
DEF = (168 + 13) * X
STA = (260 + 14) * X
CP = [((BA + IVA) * CPM) * ((BD + IVD) * CPM)^0.5 * ((BS + IVS) * CPM)^0.5 * X^2] / 10
CP = [((186 + 15) * X) * ((168 + 13) * X)^0.5 * ((260 + 14) * X)^0.5 * X^2] / 10
918 = [(201 * X) * (181 * X)^0.5 * (274 * X)^0.5 * X^2] / 10
9180 = (201 * X) * (181 * X)^0.5 * (274 * X)^0.5 * X^2
9180 = 201 * sqrt(49594) * x^4
9180 / (201 * sqrt(49594)) = x^4
~0.205084 = x^4
x ~= 0.67295
This would also imply the real formula to be something like:
CP = [(BASE_ATK + ATK_IV) * sqrt((BASE_DEF + DEF_IV) * (BASE_STA + STA_IV)) * CPM^4] / 10
or
CPM^4 = (CP * 10) / [(BASE_ATK + ATK_IV) * sqrt((BASE_DEF + DEF_IV) * (BASE_STA + STA_IV))]
CPM = {(CP * 10) / [(BASE_ATK + ATK_IV) * sqrt((BASE_DEF + DEF_IV) * (BASE_STA + STA_IV))]}^0.25
which, just to confirm I am not /the worst/ at math:
= (918 * 10) / [(186 + 15) * sqrt((168 + 13) * (260 + 14))]
= 9180 / [(201 * sqrt((181) * (274))]
CPM^4 = 9180 / [201 * sqrt(49594)]
~= 0.205084
CPM ~= (0.205084)^0.25 ~= 0.67295
So my reduction is OK.
Again, powerup cost is at 1300 so by these charts that's level "11-13." which is only a CPM of 0.44 through 0.48, so we're way off course here.
Alright, at least that's a sane multiplier... but it's still pretty wrong... Even if they rounded those numbers, it shouldn't be off by that much. I am not inclined to really trust this formula...
Feeds Vaporeon a candy
+40, CP now 958. Cost still 1300.
+40, CP now 998. Cost still 1300!
+40, CP now 1038. Cost is now 1600.
If I'm reading the dust cost chart right, I'm now at Step 25 that displays 1600, so I must have been at Step 22.
Let's re-run the numbers...
CPM = {(CP * 10) / [(BASE_ATK + ATK_IV) * sqrt((BASE_DEF + DEF_IV) * (BASE_STA + DEF_IV))]}^0.25
CPM = 0.693940
Chart puts that at "Level 27," which is a stardust cost of 4000 or so... I don't think these formula are correct.

Looks like the parentheses on the source provided was incorrect.
Real formula is apparently:
CP = (BA + IVA) * (BD + IVD)^0.5 * (BS + IVS)^0.5 * (CPM^2 / 10)
Difference is in what's getting divided by 10. It's just the CPM^2, not the whole enchilada.
deep breath
1038 = (186 + 15) * (168 + 13)^0.5 * (260 + 14)^0.5 * (CPM^2/10)
1038 = 201 * sqrt(49594) * CPM^2/10
10380 / [201 * sqrt(49594)] = CPM^2
CPM = sqrt(10380 / [201 * sqrt(49594)])
CPM ~= 0.48155219 ...
Power-up cost: 1600 -- 25th power-up state.
Level as given by CPM -- nearest match -- 0.48168495 is Level 13.
Whoa! Direct hit!
(The 25th power-up state, what I'd really like to call level because I think half-levels are unnecessarily complicated, is the same as Level 13.)
:)

So we can actually use this to determine levels. Great success! Thanks for all your work.

Yes, though unfortunately the last step there is an approximate table lookup instead of a direct conversion, but with FLOPS errors that's probably as close as you're going to get.
Final formula looks something like this:
CPM = [(CP * 10) / {(ATK_B + ATK_IV) * [(DEF_B + DEF_IV) * (STA_B + STA_IV)]^0.5}]^0.5
e.g., my Vaporeon again (1038CP):
CPM = [(1038 * 10) / {(186 + 15) * [(168 + 13) * (260 + 14)]^0.5}]^0.5
CPM ~= 0.481552191487 ...
Likely the rounding is due to the CP being rounded up/down from its actual value, which is likely a float of some sort.
Also found these formula which may be of interest:
https://drive.google.com/file/d/0B0TeYGBPiuzaenhUNE5UWnRCVlU/view
Includes a lot of useful stuff for us,
HP, ATK, DEF,
the DPS which another issue requested.
I also like the idea of having:
%perfect (As it is calculated now, a straight percentage)
%cps (Weighted IV perfection based on maximizing CPS)
Lastly, all known CPM can fit on a 5-degree polynomial:
CPM = 1.278E-9x^5 - 2.981E-7x^4 + 2.598E-5x^3 - 1.112E-3x^2 + 0.032x + 0.075
(for X as the Nth power up state, i.e. where my Vaporeon is Lv25.)
Taking our computed CPM, we can solve for X (Well, wolfram can; I am not really adept at fifth degree equations) --
0.48155219 = 1.278E-9x^5 - 2.981E-7x^4 + 2.598E-5x^3 - 1.112E-3x^2 + 0.032x + 0.075
x = 24.9532
So we have calculated that this Vaporeon is power up level 25 from principal stats and a fifth-degree polynomial equation determined via regression from all known data-mined CPM levels for Pokemon power up states 1-80 (i.e. "level 1-40")
My math is literally nowhere good enough to boil that down into y = f(x), though. Lookup table is the best we can do until someone smarter than me can compute level = f(CPM).
This weekend's gonna be a fun one!
--js

This is excellent work, man. I appreciate your effort.
This weekend will be fun, indeed. I'm going to completely redesign the UI and this data gives us the ability to implement so many new features.

I put together a spreadsheet to figure some things out. Just fill out the info in the second row.
https://docs.google.com/spreadsheets/d/1thedZjuGNQHLY8hmoijURLZrwnBFjoHHZS23vFvRfos/edit?usp=sharing

BTW, I upgraded under the proxy while dumping everything. The UpgradePokemon event actually shows you the CM:
UpgradePokemon::{
"result": "SUCCESS",
"upgraded_pokemon": {
"id": "10677862168141413653",
"pokemon_id": "VAPOREON",
"cp": 1078,
"stamina": 134,
"stamina_max": 134,
"move_1": "WATER_GUN_FAST",
"move_2": "HYDRO_PUMP",
"height_m": 1.0086523294448853,
"weight_kg": 3.386974573135376,
"individual_attack": 15,
"individual_defense": 13,
"individual_stamina": 14,
"cp_multiplier": 0.42250001430511475,
"pokeball": "ITEM_POKE_BALL",
"captured_cell_id": "9935993010607095808",
"creation_time_ms": "1468702345099",
"num_upgrades": 7,
"additional_cp_multiplier": 0.06835579872131348,
"nickname": "Rainer93"
}
}
This upgrade pushed me to 1078 as you can see,
which by formula is:
= [(1078 * 10) / {(186 + 15) * [(168 + 13) * (260 + 14)]^0.5}]^0.5
~- 0.4907
The upgrade formula shows this as:
"cp_multiplier": 0.42250001430511475,
"additional_cp_multiplier": 0.06835579872131348,

which would be:
0.42250001430511475 + 0.06835579872131348
= 0.49085581302642823
which is the exact CPM of this Pokemon.
(cp_multiplier is the CPM when you caught it, additional_cp_multiplier is all of the CPM you've added.)

You're right. It seems to have come with the pogo-mitm update. I've got levels being added to the metadata right now, though, so we're good to go!


MsshellBuilder doesn't honor StandardError

Hello, interesting library!
I was about to start using it, but then I examined the code a little bit and I could see that the core part of your implementation (which I guess lives in https://github.com/tatsuya-midorikawa/Owl.cli/blob/main/src/Owl.cli/MsshellBuilder.fs ) only uses proc.StandardOutput, but ignores proc.StandardError.
There are many cases in which it's extremely useful to get the output given to StdErr, not just StdOut.

Thank you for your feedback!
I've been planning to implement Process.StandardError additionally, so I'd like to proceed with the study and implementation of the interface.
Please look forward to its release!

After much verification, I found that due to API limitations, it is not possible to wait for StdErr and StdOut at the same time.
I am not sure if it is useful to wait only for StdErr, but I will try to implement this in a future version.

Are you sure? But I could swear that the lib CliWrap does this.

Due to the current Owl.cli mechanism, the output is read at the following locations, but if ReadLine() is called when there is no output in StdErr, the process is completely blocked.

https://github.com/tatsuya-midorikawa/Owl.cli/blob/main/src/Owl.cli/ShellBuilder.fs#L36

Therefore, if we can come up with a better way, we will proceed to support StdErr so that it can be read at the same time as StdOut, but for the time being, we are considering separating the processes.

Ah, so with "API" you meant Owl.cli API, not dotnet BCL.

Why not make it default to be both StdOut and StdErr? I know it would be a breaking change, but then just increase majorVersion (semVer).

I will proceed with my attempt to rebuild the Owl.cli API. As you said, it is a big change, so I will provide it as a trial function by separating namespace (Owl.cli.exp) for the time being.


Problems running the instruction 'drop table' in Quickstart for Cloud Simulator

Hi. Thanks again for your help.
Explanation
I'm trying to run the Quickstart snippet for the Cloud Simulator option and I'm encountering a problem.
I'm creating a Maven Project and adding the nosqldriver dependency.
<dependency>
      <groupId>com.oracle.nosql.sdk</groupId>
      <artifactId>nosqldriver</artifactId>
      <version>5.2.27</version>
</dependency>

I'm also creating the Quickstart.java file and running it as expressed in the code. The program successfully creates the table, puts the demo object and reads that same object, but the program breaks when executing the drop table statement.
tableRequest = new TableRequest()
                .setStatement("drop table if exists " + tableName);

handle.doTableRequest(tableRequest,
                      20000,
                     1000);

The stacktrace of the exception thrown is the following:
Acquired handle for service cloudsim at endpoint http://localhost:8080
Created table JavaQuickstart ...
Put row, result non-null Version
Got row, result {"id":123,"name":"joe","data":{"a":1,"b":2}}
Exception in thread "main" oracle.nosql.driver.TableNotFoundException: Table not found: cloudsim:JavaQuickstart
	at oracle.nosql.driver.ops.serde.BinaryProtocol.mapException(BinaryProtocol.java:524)
	at oracle.nosql.driver.http.Client.handleResponseErrorCode(Client.java:1077)
	at oracle.nosql.driver.http.Client.processOKResponse(Client.java:911)
	at oracle.nosql.driver.http.Client.processResponse(Client.java:863)
	at oracle.nosql.driver.http.Client.execute(Client.java:511)
	at oracle.nosql.driver.http.NoSQLHandleImpl.getTable(NoSQLHandleImpl.java:210)
	at oracle.nosql.driver.ops.TableResult.waitForCompletion(TableResult.java:457)
	at oracle.nosql.driver.http.NoSQLHandleImpl.doTableRequest(NoSQLHandleImpl.java:355)
	at com.oracle.Quickstart.main(Quickstart.java:205)

Process finished with exit code 1

The code looks OK, so I'm not able to pinpoint the source of the problem. Any idea how to go about it?
Steps to reproduce the problem
I just created a new project on IntelliJ IDEA using Maven, set the Quickstart file as my main class and ran the code. I'm not adding the jar file to the classpath for executing since I'm using the Maven dependency. I'm using OpenJDK 16 on Oracle Linux 8, the code also fails in OpenJDK 11.
Are you able to reproduce the problem?
Thanks in advance 😊

Hi, Thanks for taking the time to debug the problem and post it here!
The version of the cloud simulator that is posted is quite old and we will be releasing a new one hopefully within a week that will fix this problem. There is no workaround short of ignoring the exception as the table will have been successfully dropped in this path. The issue does not exist in either the cloud service itself or the on-premise product.
Sorry for the confusion.
Regards,
George

Hi George.
Thanks for answering back, good to know. Will wait for the new version of the cloud simulator to be released then.

In case you haven't yet seen it there is a new cloud simulator version posted:
https://www.oracle.com/downloads/cloud/nosql-cloud-sdk-downloads.html

Thanks, will have a look at it :)


dom0 random netvm change for select AppVMs

Add the support to randomly change netvms (presumably VPN AppVMs) for a set of AppVMs.

Depends on #2


Question on multitenancy or private topics?

Hi all.
I am sorry if this is not the correct place to ask the question.
I am looking for a MQTT broker where different clients can not see each others topics.
So lets say I have client A connecting from 2 different devices, then client B should not see any of client A's topics being sent between the devices of client A. Lets say we use something like an API Key.
I see you have ACLs but can that be updated dynamically at runtime?  We will have 1000s of clients at some point so we can not stop and start the services. Is there an API to update the ACL at runtime or how will that work?
Regards.

@JacoFourie You can have full multi-tenancy using mountpoints (creating fully separated topic trees under different MQTT listeners). This can be used for different customers of an MQTT platform to ensure separation.
This is probably not what you want to do to just separate MQTT clients though (when you say "clients" I suppose you mean MQTT clients not "customers"). The separation there is based on ACLs.
ACLs usually are cached in per-client session on the broker. Therefore a client has to be disconnected to force an ACL reload. I do not know if that's what you mean by restarting "services" (that is, whether a "service" is an MQTT client in your case).
You can also administratively re-authorize clients (knowing their ClientID) in a "live" fashion without disconnecting, using the command line. See vmq-admin session reauthorize --help. This re-authorizes the subscriptions but not the publish policies for that Client.

:point_right: Thank you for supporting the VerneMQ project: https://github.com/sponsors/vernemq

@JacoFourie You can have full multi-tenancy using mountpoints (creating fully separated topic trees under different MQTT listeners). This can be used for different customers of an MQTT platform to ensure separation.
This is probably not what you want to do to just separate MQTT clients though (when you say "clients" I suppose you mean MQTT clients not "customers"). The separation there is based on ACLs.
ACLs usually are cached in per-client session on the broker. Therefore a client has to be disconnected to force an ACL reload. I do not know if that's what you mean by restarting "services" (that is, whether a "service" is an MQTT client in your case).
You can also administratively re-authorize clients (knowing their ClientID) in a "live" fashion without disconnecting, using the command line. See vmq-admin session reauthorize --help. This re-authorizes the subscriptions but not the publish policies for that Client.
👉 Thank you for supporting the VerneMQ project: https://github.com/sponsors/vernemq

Hi. Thank you for coming back to me. Let me explain a bit more. I am building a mobile app that will receive some IOT data. The data is sent from a Raspberry Pi. As the mobile app/device can be on the local network where the Pi is or outside the network on a GSM network when not at home I need to create a broker in the cloud that the Pi and mobile device will connect to.
We will have thousands of customers and these customers should not see each others data. I see in the documentation that you can have the ACLs in the database. So do I understand correctly that if I setup the ACL with a prefix with something like an API key that I generate for each Customer then the customer will only be allowed to publish and subscribe to topics that has his API key in the start of the topics.
As for the starting of the services what I am trying to say there is we will have a lot of customers. We will create a program that when a client signs up for the service the customer will get a account with an API key. I take it I can insert into the Postgrsql DB the user / password and the ACL for that customer. So then the Pi and the mobile app will use that username / password to connect to the broker. Do I have to restart any of the broker services once I inserted the customer into the DB or does the broker do a lookup in the DB every time we have a connect?

Yes, you can use a prefix like that for separation in the topics. You still have to fully configure the ACL based on the ClientIDs. (There's no concept of grouping Clients in the ACLs.)
Yes, the broker will lookup the ACLs at CONNECT time.

:point_right: Thank you for supporting the VerneMQ project: https://github.com/sponsors/vernemq

@ioolkos this sounds great. How would the ACL look for a customer to subscribe and publish only his topics if his API key is<PHONE_NUMBER>.
So the topic tree will be /1234567890/#
If this customer connects with any device to the broker with any number of devices. When you say based on ClientIDs does that mean for each device I have to add an entry to the DB with an unique ClientID and ACL?

If I have a Customer with an API Key<PHONE_NUMBER> will these values in the DB work so that the Customers can only see its own topics?
mountpoint  = ''
client_id   = '1234567890'
usernamme   = '1234567890'
password    = 'xxxxx'
publish_acl = '[{"pattern":"1234567890/#"}]'
subscribe_acl = '[{"pattern":"1234567890/#"}]'
I see you have to enable multiple sessions from the same ClientID.

I see that Multiple Sessions per ClientId is deprecated. So do I understand correctly that the ACL are per clientID and not per username / password?

@JacoFourie
It's a little complicated. Authentication is via username/password. Then authorization checks whether that username is allowed to use the ClientID. I think only MQTT spec v5 states this explicitly:

In particular, the implementation should check that the Client is authorized to use the Client Identifier as this gives access to the MQTT Session State (described in section 4.1). This authorization check is to protect against the case where one Client, accidentally or maliciously, provides a Client Identifier that is already being used by some other Client.

But that's the reason that in Verne (at least in the DB based auth plugins) you kind of have a mix of authentication and authorization. You have username/pw, and then the ACLs. The check whether ClientID, Username and PW alignes, is made implicitly.
So, I guess, yes for you matters you could say ACLs are per ClientID.

:point_right: Thank you for supporting the VerneMQ project: https://github.com/sponsors/vernemq

@ioolkos thank you for the info and help. I got my test system up and running and I have created some records in the DB with the ACLs for pub and sub. Using the API key in the ACL works 100% the way I need it. It is clear that I will have to create a record per connected device with the same ACLs that will work in a group.


Payload for http checks

I'm trying to use the data configuration attribute in order to send a json payload to a certain endpoint. The payload is something like the following:

{"foo":[{"id":"1","name":"text"}],"bar":[{"id":"2","name":"text2"}]}

I've noticed that, first, this only works on POSTs requests, does that mean that I cannot use this on PUT or DELETE requests? And second, this needs to be passed as a list of key/value pairs, how would that be in this case?

foo:
id: 1
name: text
bar:
id: 2
name: text2

Something like that?
Please let me know.

Yeah, it's just POST. It'd be nice if we can PUT/DELETE with a json payload.
https://github.com/DataDog/integrations-core/blob/master/http_check/datadog_checks/http_check/http_check.py#L289

Hi @Painyjames thanks for reporting.
Adding this to our queue, it shouldn't be much work but can't give you an ETA.

Fixed via #1718 we're late to include this feature in 6.3 so worst case it'll be out with 6.4.


Recyclerview scroling to top when items changed.

Using a recyclerview with an ObservableList for the data. When items are added, the recyclerview scrolls back to the top. I suspect this is because the whole adapter is being incorrectly replaced. This happens in 1.0.0 but not 0.16

ViewDataBinding will register a callback on ObservableList that whenever there's any change (e.g. adding, removal) on the list, it will re-invoke the binding method setAdapter().

Hey, any news on this one. I have a working solution, but i still notices one or two times that this happened again and can't figure it out. See attached bindings code:
// RecyclerView
@SuppressWarnings("unchecked")
@BindingAdapter(value = {"itemView", "items", "adapter", "itemIds"}, requireAll = false)
public static <T> void setAdapter(RecyclerView recyclerView, ItemViewArg<T> arg, List<T> items, BindingRecyclerViewAdapterFactory factory, BindingRecyclerViewAdapter.ItemIds<T> itemIds) {
  if (arg == null) {
    throw new IllegalArgumentException("itemView must not be null");
  }
  if (factory == null) {
    factory = BindingRecyclerViewAdapterFactory.DEFAULT;
  }
  BindingRecyclerViewAdapter<T> adapter = (BindingRecyclerViewAdapter<T>) recyclerView.getAdapter();
  if (adapter == null) {
    adapter = factory.create(recyclerView, arg);
    adapter.setItemIds(itemIds);
    recyclerView.setAdapter(adapter);
  } else if (!adapter.getItemViewArg().equals(arg)) {
    adapter.notifyDataSetChanged();
  }
  adapter.setItems(items);
}

Don't know if this is something you want as a solution.

Same issue. Any news ?

I've released 1.0.1 which reverted dynamic itemView support since it was causing the issue. It may come back in the future if I can find a good way to support it.


Application Insights no correlation for calls from MS Office AddIn

List of NuGet packages and version that you are using: Microsoft.ApplicationInsights (2.21.0), Microsoft.ApplicationInsights.WorkerService (2.21.0)
Runtime version (e.g. net461, net48, netcoreapp2.1, netcoreapp3.1, etc. You can find this information from the *.csproj file): netcoreapp3.1
Hosting environment (e.g. Azure Web App, App Service on Linux, Windows, Ubuntu, etc.): Microsoft Office AddIn

Describe the bug
To set up Application Insights Worker Service I followed guide from this article
As a result I've got the following code, that calls Azure AppService:
    IServiceCollection services = new ServiceCollection();
    services.AddLogging(loggingBuilder => loggingBuilder.AddFilter<ApplicationInsightsLoggerProvider>("", LogLevel.Information));
    services.AddLogging(loggingBuilder => loggingBuilder.AddFilter<ApplicationInsightsLoggerProvider>("Microsoft", LogLevel.Information));

    services.AddApplicationInsightsTelemetryWorkerService("my-ikey");

    IServiceProvider serviceProvider = services.BuildServiceProvider();
    ILogger<ThisAddIn> _logger = serviceProvider.GetRequiredService<ILogger<ThisAddIn>>();
    // Obtain TelemetryClient instance from DI, for additional manual tracking or to flush.
    var _tc = serviceProvider.GetRequiredService<TelemetryClient>();

    var _httpClient = new HttpClient();
    ServicePointManager.Expect100Continue = true;
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

    using (_tc.StartOperation<RequestTelemetry>("getButton_click"))
    {
        _logger.Log(LogLevel.Information, "getButton clicked");
        using (var requestMessage = new HttpRequestMessage(HttpMethod.Get, @"my-deployed-service/api/transactions"))
        {
            var res = _httpClient.SendAsync(requestMessage).Result;
            _logger.LogInformation("Calling web api completed with status:" + res.StatusCode);
        }
    }

The issue is that "getButton_click" operation has different operationId and is not correlated with further logic.
But strange behavior is that issue fixes after I start traffic capture with Fiddler.
Correlation with Fiddler

Correlation without Fiddler

At the same time I tested this code with .Net 6.0 and .Net Core 3.1 Console applications and it works properly.
To Reproduce

Create Azure Application Insights instance.
Create Azure App Service (ASP .NET 6.0)
Enable Application Insights for App Service following this article
Deploy your App Service to Azure
Create MS Project VSTO project and add my code to AddIn Startup Method.
Change my-ikey in code to your Application Insights Instrumentation Key
Change my-deployed-service in code to your App Service URL
Launch MS Project VSTO project and check Application Insights logs, you can use this KQL request:
(requests | union dependencies | union pageViews) | project timestamp, itemType, name, id, operation_ParentId, operation_Id, url | order by timestamp desc

There was a conflict with another AddIn, so issue is closed.


How to setup the Non-compliance message via PowerShell?

[Enter feedback here]
Hello. How to setup the Non-compliance message via PowerShell ? Thanks !
I am not finding any option in the cmdlet thanks !

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

ID: 7e746c38-18e2-56fd-becf-a4d0d05127f6
Version Independent ID: d4be02d5-a0c5-a614-f206-e3448bd337cc
Content: Details of the policy assignment structure - Azure Policy
Content Source: articles/governance/policy/concepts/assignment-structure.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@MauricioZa The non-compliance message doesn't have a parameter in PS/CLI yet, but it's on the roadmap.  Once it is completed, the cmdlet/operation Docs should be updated with a relevant example of it's use.  Since this is a coming feature to SDK and not an existing problem with Docs, I'm going to close this issue.  Thanks again for the question!
#please-close


ISPN-15838 Add realm to tls-endpoint for Insights

https://issues.redhat.com/browse/ISPN-15838

Thank you guys!


CORS error

I have CORS error using this code from another webapp. (e.g. my frontend port: 3000, this mock: port 3003)
I need to use "Access-Control-Allow-Origin", "*" on this code but It seems the CORS is not implemented yet.
I have tried to fork your code to add my CORS implementation and submit PR request,
but I cannot be use the "turbo" build engine on my Windows machine for this error :
 ERR_PNPM_LINKING_FAILED  Error: EPERM: operation not permitted, unlink<EMAIL_ADDRESS>`.
I don't have sufficient level of experience with "turbo" engine. Any suggestion to solve this ?
Thank's in advance

config/application.rb
Rails.application.config.middleware.insert_before 0, Rack::Cors do
  allow do
    origins 'https://yourfrontendapp.com' # Replace with your actual frontend URL
    resource '*',
      headers: :any,
      methods: [:get, :post, :put, :patch, :delete, :options, :head],
      credentials: true
  end
end

hope that will help you brother

@tchisama  I appreciate your goodwill but this is not Rails. It is Typescript.

sorry for the misunderstanding <3


Cubic chunks for infinite height/depth

Currently the y coordinate ranges from 0 to 255, and chunks are identified by (p,q). To allow building higher and lower arbitrarily, just as it is possible to build in the X and Z directions arbitrarily, would be nice to change chunks from 32x256x32 to 32x32x32 and add another identifying coordinate (p,q,r), extending the Y dimension as far as X or Z.

There are a lot of hardcoded range checks,  hy > 0 && hy < 256

Discussion on cubic chunks: https://forum.feed-the-beast.com/threads/cubic-chunks-cubic-chunks.33326/

There is no real height limit on the blocks. In my fork, I removed some of those hardcoded checks and added a BUILD_MAX or something (don't remember the define name, lol) to config.h. The world can be built upwards indefinitely with Craft's storage setup. Minecraft stores chunks as arrays and indexes them with some XYZ multiplication, like a 3D array. By contrast, Craft stores the individual blocks as mapped values in a hash table, so there is no limit on the key amplitude except INT_MAX. The only issue I foresee with bigger heights is the ambient occlusion and face occlusion becoming memory intensive in compute_chunk() (main.c).


Use SPDX License IDs

Both NPM and Bower specify that the license field should be a valid
SPDX license ID.

https://github.com/bower/bower.json-spec#license
https://docs.npmjs.com/files/package.json#license

Deferring to @alice in case there are Google specific guidelines around this.

LGTM


Query: how to execute a command for which function doesn't exist and is huge

I have some really very hue commands to execute
Eg.
nosetests -vv --goober tests/my_path --matchMethod='(?:\b|_)[Tt]est(.*)(unit)+' --with-xunit --exclude-dir=tests/test_suites --cover-html --cover-html-dir=testreports/coverage/destination --cover-package=pkg1,pkg2,pkg3,pkg4,pkg5 --cover-erase --cover-inclusive --with-xcover --xcoverage-file=testreports/coverage/customcover.xml --rednose --exe
which function of sh allows to execute(with access to stdour & stderr) command as it it?

do you want to capture stdout/err or just print it to the terminal?

closing due to inactivity


Russian text 5.0.1

Adaptation to 5.0.1

Hey, can you please resolve conflicts before I merge with 5.0 ?


abcm2ps: 8.13.19 -> 8.13.20

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
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)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
moving /nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20/doc to /nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20/share/doc
shrinking RPATHs of ELF executables and libraries in /nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20
shrinking /nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20/bin/abcm2ps
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20/bin
patching script interpreter paths in /nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20
checking for references to /build in /nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20...
/nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20

@GrahamcOfBorg build abcm2ps

Success on x86_64-linux (full log)
Partial log (click to expand)
/nix/store/zi8gqkh7qqv51vmk0zn5p9n3ys55gpl0-abcm2ps-8.13.20

Success on aarch64-linux (full log)
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
moving /nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20/doc to /nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20/share/doc
shrinking RPATHs of ELF executables and libraries in /nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20
shrinking /nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20/bin/abcm2ps
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20/bin
patching script interpreter paths in /nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20
checking for references to /build in /nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20...
/nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20

Success on aarch64-linux (full log)
Partial log (click to expand)
these derivations will be built:
  /nix/store/r78bh0i6ri3zn6lr1nggn8p2ni6zzbm7-abcm2ps-8.13.20.drv
waiting for locks or build slots...
/nix/store/k57m5mbnrdpaz6h6mfazdasfdnscr992-abcm2ps-8.13.20

Success on x86_64-darwin (full log)
Partial log (click to expand)
for f in ./*.abc ./*.eps ./*.txt; do \
	install -m 644 $f /nix/store/b94rdggaiw4jinc3w1sa5wimzm1450kl-abcm2ps-8.13.20/doc/abcm2ps; \
done
glibPreFixupPhase
post-installation fixup
moving /nix/store/b94rdggaiw4jinc3w1sa5wimzm1450kl-abcm2ps-8.13.20/doc to /nix/store/b94rdggaiw4jinc3w1sa5wimzm1450kl-abcm2ps-8.13.20/share/doc
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/b94rdggaiw4jinc3w1sa5wimzm1450kl-abcm2ps-8.13.20/bin
patching script interpreter paths in /nix/store/b94rdggaiw4jinc3w1sa5wimzm1450kl-abcm2ps-8.13.20
/nix/store/b94rdggaiw4jinc3w1sa5wimzm1450kl-abcm2ps-8.13.20