Added the resource  for Operating System

Added 5 resources for Operating System including playlist in both English and Hindi,sheets, notes and last-minute revision notes.

Please add this section in the index as well

Please add this section in the index as well

I have made the required changes please approve it and merge this PR . And please add a hacktoberfest label to it .

Great work!
Please resolve conflicts so that merging can be done

Great work! Please resolve conflicts so that merging can be done

Please check whether it's okay or now. I have removed the conflicts.

Looks good!
Thank you for your contribution


facade second commit

Description of changes
Migrate the getTransformerFactory into the api category. This required exposing isAdminApp, which I added a provider facade as well for mostly to abstract away the gross access pattern for require().method name.
This PR is intended to go immediately on top of https://github.com/aws-amplify/amplify-cli/pull/10402, but is separated into logical units to ship.
Issue #, if available
N/A
Description of how you validated changes
Unit tests pass, running an e2e suite at https://app.circleci.com/pipelines/github/aws-amplify/amplify-cli/8475/workflows/4a455f9e-52aa-4496-b741-f5695b46895d
Checklist

[x] PR description included
[x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10404 (01073c4) into master (714f2fa) will increase coverage by 0.07%.
The diff coverage is 62.06%.

@@            Coverage Diff             @@
##           master   #10404      +/-   ##
==========================================
+ Coverage   46.57%   46.65%   +0.07%
==========================================
  Files         703      702       -1
  Lines       35246    35115     -131
  Branches     7134     7106      -28
==========================================
- Hits        16417    16383      -34
+ Misses      17042    16955      -87
+ Partials     1787     1777      -10

Impacted Files
Coverage Δ

...mation/service-walkthroughs/appSync-walkthrough.ts
15.36% <0.00%> (+0.06%)
:arrow_up:

...graphql-transformer/transform-graphql-schema-v1.ts
8.55% <0.00%> (-0.82%)
:arrow_down:

...-cli-core/src/plugin-facade/api-category-facade.ts
25.00% <25.00%> (ø)

...graphql-transformer/transform-graphql-schema-v2.ts
14.50% <33.33%> (-0.88%)
:arrow_down:

...rc/plugin-facade/cloudformation-provider-facade.ts
40.00% <40.00%> (ø)

packages/amplify-cli/src/commands/status.ts
40.98% <50.00%> (ø)

...rovider-awscloudformation/src/utility-functions.js
8.73% <50.00%> (ø)

...rc/graphql-transformer/transform-graphql-schema.ts
44.44% <66.66%> (ø)

packages/amplify-cli/src/commands/upgrade.ts
91.78% <88.23%> (-1.87%)
:arrow_down:

packages/amplify-cli-core/src/index.ts
100.00% <100.00%> (ø)

... and 9 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


WIP: let quote optional

will fix #543

Wiil be a solution to temporarily resolve #265

Will also be a solution to temporarily resolve #336

Codecov Report

Merging #552 into master will decrease coverage by <.01%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master     #552      +/-   ##
==========================================
- Coverage   49.65%   49.65%   -0.01%
==========================================
  Files          33       33
  Lines        7016     7019       +3
==========================================
+ Hits         3484     3485       +1
- Misses       3065     3066       +1
- Partials      467      468       +1

Impacted Files
Coverage Δ

xorm.go
70% <100%> (+0.5%)
:arrow_up:

engine.go
56.65% <75%> (-0.13%)
: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 6dd1a9d...91e61f3. Read the comment docs.

This PR introduces a new parameter QuoteMode, now there are 3 values, QuoteAddAlways, QuoteNoAdd, QuoteAddReserved.


Build error: Can't build Mozc by gcc-14.1.1 20240507

Description
I can't build Mozc by gcc-14.1.1 20240507.
Commit-id
d569f615fabd238b479bb6e44a8288b2eea4e0b1
Build target

Docker build for Linux and Android-lib

https://github.com/google/mozc/blob/master/docs/build_mozc_in_docker.md

CI build status

passing

Environment

OS: Arch Linux
Compiler version (optional): gcc-14.1.1 20240507

Build commands
Steps of command lines to reproduce your error.

cd src/
bazel build package --config oss_linux -c opt

Error logs
INFO: From Compiling src/google/protobuf/arena.cc:
external/com_google_protobuf/src/google/protobuf/arena.cc: In member function 'void* google::protobuf::internal::SerialArena::AllocateAlignedFallback(size_t)':
external/com_google_protobuf/src/google/protobuf/arena.cc:194:10: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
  194 |   return ret;
      |          ^~~
external/com_google_protobuf/src/google/protobuf/arena.cc:191:9: note: 'ret' was declared here
  191 |   void* ret;
      |         ^~~
ERROR: /home/user/.cache/bazel/_bazel_user/3b071445677b72e8d401337ab1a5c4ad/external/com_google_protobuf/src/google/protobuf/BUILD.bazel:548:11: Compiling src/google/protobuf/map_field.cc [for tool] failed: (Exit 1): gcc failed: error executing CppCompile command (from target @@com_google_protobuf//src/google/protobuf:protobuf) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 62 arguments skipped)

Additional context
I can build mozc by gcc-13.2.1 20240417.
cd /usr/bin/
sudo mv gcc gcc-14
sudo mv gcc-13 gcc
bazel build package --config oss_linux -c opt

Thank you for developing Mozc.

Hi utuhiro78,
Since the build failed at src/google/protobuf/map_field.cc, it could be an issue of Protocol Buffers.
To get more error logs, would you try a build with --sandbox_debug and  --verbose_failures?
bazel build package --config oss_linux -c opt --sandbox_debug --verbose_failures

The error is indeed with Protobuf, and it is due to them unconditionally enabling -Werror, which in turn stumbles upon some innocuous -Wmaybe-uninitialized and turns them into errors which then break the build.
This was already reported back in November with https://github.com/protocolbuffers/protobuf/issues/14714 and can be fixed with https://github.com/protocolbuffers/protobuf/pull/14752, but the relevant PR was closed and so far has not been merged.
Tl;DR we just need to explicitly disable -Werror before building.

Thank you for the information,
Would you try to build Mozc with --copt="-Wno-error"?
bazel build package --config oss_linux -c opt  --copt="-Wno-error"

and also --copt="-Wno-maybe-uninitialized"?
bazel build package --config oss_linux -c opt  --copt="-Wno-maybe-uninitialized"

Would you try to build Mozc with --copt="-Wno-error"?

Unfortunately, passing -Wno-error won't work because Protobuf's global -Werror is applied later down the line, resulting in a build command like this:
[...] /usr/bin/gcc [...] '-std=c++20' -Wno-error [...] -Werror [...]

and also --copt="-Wno-maybe-uninitialized"?

This will work because -Wmaybe-uninitialized is not explicitly invoked, so it can be easily overridden, but it needs to be applied to Bazel's exec configuration as well, like so:
bazel build package --config oss_linux -c opt --copt="-Wno-maybe-uninitialized" --host_copt="-Wno-maybe-uninitialized"

I personally would suggest mozc not to do any workaround, because it may introduce issue in the future if compiler did anything on the flag.
In case any found this issue, the flag that I use is
--cxxopt=-Wno-uninitialized --host_cxxopt=-Wno-uninitialized

It works with gcc and clang. (clang doesn't have maybe-uninitialized)

Looks like this was actually addressed in the protobuf upstream.

https://github.com/protocolbuffers/protobuf/commit/5695a882bd93b8ae4803f220a448785dc868a876

Hopefully we can close this issue when we switch to protobuf v29.

Turns out that the fix was already cherry-picked into protobuf v28.0 and v27.5.

https://github.com/protocolbuffers/protobuf/releases/tag/v28.0
https://github.com/protocolbuffers/protobuf/releases/tag/v27.5

So we are really ready to close this issue just by updating protobuf.

This is supposed to be fixed with 0108eeee0c538069f7af369cad5129f803ba8a1a.
Let us know if the issue still persists.


Move audio into its own useAudio hook

I think this will solve the problem of having to have muted as a useEffect dependency alongside hasUpdates and hasNew.

Nope. Code is nice and clean though.

And this is being done in the mega vatsim feature.


complete libs and api move to separate repo

edgeview and newlog needed to wait for the previous PR with updated pkg/pillar. Now that is done, we can update them, and the last traces of eve/libs and eve/api are moved.

Check with @uncleDecart ; I think he knows what is going on.

@deitch ACLDependList was removed during zedrouter refactoring. There are other fields that edgeview should be now using to get the same info. I will open another PR with your commit + my commit that will fix the build.

@milan-zededa thank you, that is fine. If you prefer a PR with a commit that just fixes the edgeview dependency on ACLDependList, and then I can rebase this PR on that one once it is merged in, that is fine, too. Whatever is easiest.

@milan-zededa thank you, that is fine. If you prefer a PR with a commit that just fixes the edgeview dependency on ACLDependList, and then I can rebase this PR on that one once it is merged in, that is fine, too. Whatever is easiest.

@milan-zededa @deitch @naiming-zededa who is fixing edgeview so we can proceed?

I will try to do it this week - turned out there is more things that need to change, so a bit more work than originally expected. Then I may need help from @naiming-zededa to retest edgeview locally.

Superseded by https://github.com/lf-edge/eve/pull/3396


any sample for one to many relation

@rayhan0421,
Relationships are not currently supported. It's in roadmap.

thanks  you


Add support for multiple data files in a project

currently projects only support 1 "available" data files (the last one added), others get ignored. we would like the user to be able to switch between data files in a project.

released in 2.3.9, bugs should be reported as separate issues


Add a Gitter chat badge to README.md

Polymer/web-component-tester now has a Chat Room on Gitter
@nevir has just created a chat room. You can visit it here: https://gitter.im/Polymer/web-component-tester.
This pull-request adds this badge to your README.md:

Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Lol. Audacious. @nevir assume you would want this along-side the other badges and not beneath the getting started guide?


Add containment for subclasses in main class

Prior to this commit, the main class used 'include' for the prepare, install,
setup, and service subclasses.  This commit updates that to use 'contain' so
that relationships can be drawn to Class['wildfly'] and have that relationship
also extend to the resources in the subclasses.

Thanks. 😄

Coverage remained the same at 75.862% when pulling 3ffeed449f47de756fb46be577df5bd8e428c805 on gabe-sky:add_containment into c8fba4e7570b8981f28e1a2a2802c7bda646db26 on biemond:master.


Jmw fix samples

Community complained that the 'here' link at the bottom of the article wasn't working. I fixed the issue.

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

There was an error while validating job c4135a9d-2f9b-4a1f-a769-c254cc56e5eb Message:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
Details:Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase+ContextCommandException:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
---> System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Error clonning repository ---> LibGit2Sharp.NotFoundException: Branch 555 not found. Available branches: origin/master
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetBranch(Repository repo, String name)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass47_2.b__5(KeyValuePair2 branch)    at System.Collections.Generic.List1.ForEach(Action1 action)    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass47_1.<CloneRepository>b__2()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func1 func)
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction(Action action)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository()
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetVersionAsync(String path)
at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)    --- End of inner exception stack trace ---    --- End of inner exception stack trace ---    at Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase.ThrowIfErrorsLogged()    at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)
at Microsoft.LightweightJobEngine.Core.Language.JobWorkflow1.RunCommands(Guid jobId, IDictionary2 context, CancellationTokenSource cancelSignal)


keylime_tenant --c update fails with a race condition

Environment

OS / version: openSUSE Tumbleweed
Processor architecture: x86_64
TPM Manufacturer: vTPM
Keylime version: 6.1.0

Description
I can add nodes via
keylime_tenant -v <IP_ADDRESS> -t NODEIP -u NODEUUID --cert default -c add

But when I update them with
keylime_tenant -v <IP_ADDRESS> -t NODEIP -u NODEUUID --cert default --include payload -c update

fails with
Using config file /etc/keylime.conf
importing [''], __package__='keylime.elchecking'
2021-07-19 10:16:19.334 - keylime.tpm - INFO - TPM2-TOOLS Version: 5.1.1
2021-07-19 10:16:19.336 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2021-07-19 10:16:19.337 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x400000
2021-07-19 10:16:19.337 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x808000
Please enter the password to decrypt your keystore:
2021-07-19 10:16:21.733 - keylime.ca-util - INFO - Creating cert package for NODEUUID in NODEUUID-pkg.zip
2021-07-19 10:16:21.785 - keylime.ca-util - INFO - Creating cert package for RevocationNotifier in RevocationNotifier-pkg.zip
/usr/lib/python3.8/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 10:16:21.819 - keylime.cloudverifier - INFO - DELETE returning 202 response for agent id: NODEUUID
/usr/lib/python3.8/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 10:16:21.828 - keylime.cloudverifier_common - WARNING - Non-fatal problem ocurred while attempting to evaluate agent attribute "mb_refstate" (('malformed node or string: <_ast.Name object at 0x7f634faf6550>',)). Will just consider the value of this attribute to be "None"
2021-07-19 10:16:21.829 - keylime.tenant - INFO - CV completed deletion of agent NODEUUID
/usr/lib/python3.8/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 10:16:21.843 - keylime.cloudverifier - WARNING - Agent of uuid NODEUUID already exists
2021-07-19 10:16:21.844 - keylime.tenant - ERROR - Agent NODEUUID already existed at CV. Please use delete or update.

The logs show two issues:

One unrelated, where complains about mb_refstate
The log shows a request to DELETE the node, but complains later when adding that is still there

A final keylime_tenant -v <IP_ADDRESS> --cert default -c list shows an empty list of nodes

I can confirm this issue using a sqlite database.
Adding sleep(2) after mytenant.do_cvdelete(...) does make the tenant work as expected which makes me believe that the verifier returns 200 but the agent is not yet removed from the database.

Uhm now that I am inspecting the code this is indeed weird. The def do_cvdelete if gets a 202 will do several gets and some sleeps until is finally reported as deleted.

This is very interesting. If both of you are seeing the same problem is two separate environments we need to address it. How hard is to reproduce it?
I am asking because we are using keylime in production with hundreds of agents (and in a PoC with 5,000 agents) and have never noticed this problem.
Can you give me more details, both about your environments and the kinds of situations where the bug manifest itself?

Mine is trivial. Is a two-node setup in QEMU with vTPM. The OS is openSUSE MicroOS and using the package from Factory (https://build.opensuse.org/package/show/openSUSE:Factory/keylime). But this should be irrelevant as is 6.1.0 with some patches that are in master (and not related with this codepath)
In this system is directly reproducible. Each update produces this issue but I remember in a different environment a successful update before.
I need to recollect more information in this setup and once is done, I will debug the issue. At the same time I will make a different deployment to see if is present too.

My system a Fedora 33 VM using libvirt + QEMU with vTPM and 2GB of RAM. This reproducible with the latest Keylime git version installed with ./installer.sh.
Here the output on my system. The second update should work but it doesn't.
[root@localhost keylime]# keylime_tenant -c list
Using config file /etc/keylime.conf
2021-07-19 18:29:49.195 - keylime.tpm - INFO - TPM2-TOOLS Version: 4.3.0
2021-07-19 18:29:49.198 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2021-07-19 18:29:49.199 - keylime.tenant - WARNING - Using default UUID D432FBB3-D2F1-4A97-9EF7-75BD81C00000
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:29:49.216 - keylime.tenant - INFO - Agents: "[]"

[root@localhost keylime]# keylime_tenant -c update -u D432FBB3-D2F1-4A97-9EF7-75BD81C00000 -t <IP_ADDRESS>  -f ../secret  -nvc
Using config file /etc/keylime.conf
2021-07-19 18:29:57.665 - keylime.tpm - INFO - TPM2-TOOLS Version: 4.3.0
2021-07-19 18:29:57.667 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2021-07-19 18:29:57.668 - keylime.registrar_client - WARNING - TLS is enabled.
2021-07-19 18:29:57.668 - keylime.registrar_client - INFO - Setting up client TLS...
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:29:57.689 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x408000
2021-07-19 18:29:57.689 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x808000
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:29:57.728 - keylime.tenant - ERROR - Response code 404: agent id not found
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:29:57.929 - keylime.tenant - WARNING - DANGER: EK cert checking is disabled and no additional checks on EKs have been specified with ek_check_script option. Keylime is not secure!!
2021-07-19 18:29:57.929 - keylime.tenant - INFO - Quote from <IP_ADDRESS> validated

[root@localhost keylime]# keylime_tenant -c list
Using config file /etc/keylime.conf
2021-07-19 18:30:00.823 - keylime.tpm - INFO - TPM2-TOOLS Version: 4.3.0
2021-07-19 18:30:00.826 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2021-07-19 18:30:00.826 - keylime.tenant - WARNING - Using default UUID D432FBB3-D2F1-4A97-9EF7-75BD81C00000
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:00.844 - keylime.tenant - INFO - Agents: "[{'agent_id': 'D432FBB3-D2F1-4A97-9EF7-75BD81C00000'}]"

[root@localhost keylime]# keylime_tenant -c update -u D432FBB3-D2F1-4A97-9EF7-75BD81C00000 -t <IP_ADDRESS>  -f ../secret  -nvc
Using config file /etc/keylime.conf
2021-07-19 18:30:03.662 - keylime.tpm - INFO - TPM2-TOOLS Version: 4.3.0
2021-07-19 18:30:03.664 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2021-07-19 18:30:03.664 - keylime.registrar_client - WARNING - TLS is enabled.
2021-07-19 18:30:03.665 - keylime.registrar_client - INFO - Setting up client TLS...
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:03.683 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x408000
2021-07-19 18:30:03.683 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x808000
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:03.748 - keylime.tenant - INFO - CV completed deletion of agent D432FBB3-D2F1-4A97-9EF7-75BD81C00000
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:03.767 - keylime.tenant - ERROR - Agent D432FBB3-D2F1-4A97-9EF7-75BD81C00000 already existed at CV. Please use delete or update.

[root@localhost keylime]# keylime_tenant -c list
Using config file /etc/keylime.conf
2021-07-19 18:30:07.567 - keylime.tpm - INFO - TPM2-TOOLS Version: 4.3.0
2021-07-19 18:30:07.569 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2021-07-19 18:30:07.569 - keylime.tenant - WARNING - Using default UUID D432FBB3-D2F1-4A97-9EF7-75BD81C00000
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:07.588 - keylime.tenant - INFO - Agents: "[]"

[root@localhost keylime]# keylime_tenant -c update -u D432FBB3-D2F1-4A97-9EF7-75BD81C00000 -t <IP_ADDRESS>  -f ../secret  -nvc
Using config file /etc/keylime.conf
2021-07-19 18:30:09.831 - keylime.tpm - INFO - TPM2-TOOLS Version: 4.3.0
2021-07-19 18:30:09.834 - keylime.tenant - INFO - Setting up client TLS in /var/lib/keylime/cv_ca
2021-07-19 18:30:09.834 - keylime.registrar_client - WARNING - TLS is enabled.
2021-07-19 18:30:09.834 - keylime.registrar_client - INFO - Setting up client TLS...
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:09.854 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x408000
2021-07-19 18:30:09.854 - keylime.tenant - INFO - TPM PCR Mask from policy is 0x808000
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:09.890 - keylime.tenant - ERROR - Response code 404: agent id not found
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/usr/lib/python3.9/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made to host '<IP_ADDRESS>'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-07-19 18:30:10.081 - keylime.tenant - WARNING - DANGER: EK cert checking is disabled and no additional checks on EKs have been specified with ek_check_script option. Keylime is not secure!!
2021-07-19 18:30:10.082 - keylime.tenant - INFO - Quote from <IP_ADDRESS> validated
[root@localhost keylime]#


0.20.0 was never published

https://crates.io/crates/geojson/versions is missing 0.20.0, despite there being an apparent release commit: https://github.com/georust/geojson/commit/80a08e6a80f2479c459e5b77a5dd22ebeab2f46c, but no tag.

Ah, that's because a load of nice additional conversions landed sort of out-of-the-blue, and we didn't want to exclude them. I'm hopefully going to revisit the docs this weekend to see whether they can benefit from the new features, and then push out a new release early next week.  Sorry if this held you up!

Published!


Cannot set locale for Month View

I am trying to set the locale with moment.js to get a the german names for the months.
 Am I using moment.js wrong or is this just not supported?

You can see examples in the demo page.
If you still need help please create a fiddle or plunker that demonstrates the problem.


Uninstallation removes everything from the installation directory

Brief description of your issue
I forgot to create distinct folder for processhacker when installed, so it had some files and folders along with processhackers'. When I uninstalled it, everything except installer, which was in the same directory was erased.
Steps to reproduce (optional)

Install to folder which has some files/folders
Uninstall

Expected behavior (optional)
files/folders are not deleted
Actual behavior (optional)
files/folders are deleted
Environment (optional)
No response

The uninstaller is supposed to remove the directory otherwise what's the point?
If we don't remove the directory then we'll get complaints about junk getting left over after uninstalling.

Yeah this just sounds like you ignored the assumption literally every installer/uninstaller makes. Dont install programs in shared folders

I would expect this from any program sharing directories?

I'm sure that I've seen "safe" uninstallation behavior several times

Were the files moved to the recycle bin or permanently deleted?

Permanently deleted

I'm sure that I've seen "safe" uninstallation behavior several times

These uninstallers hardcode filenames and forget to remove older files from older versions.

The problem is when some users install version X.X.X and then don't update for years.
We'll rename or remove files in version Y.Y.Y but they never installed that version, so those files were never removed.
Years later they install version Z.Z.Z and it starts crashing or has some other issue because the file that should have been removed 5 years ago by the previous updates wasn't removed.

I considered hard-coding all the names and only removing those files but:

Some users have plugins-extra plugins and we can't include them all.
If you configure symbol server support without a directory then Windows dbghelp.dll downloads PDBs into the directory (several GB of files).
Some other programs can leave junk in the directory.

Simply removing the installation directory is what the large majority of users expect when they uninstall. It's not expected that anyone installs the program into a common directory shared with other files/programs because due to the legacy design of Windows multiple programs sharing the same directory creates DLL planting/security issues and DLL hell.
Executables should always have their own separate directories.

Permanently deleted

I could change this to move files to the recycle bin so at least if anyone does this again they can undelete those files?

Installer can eventually show a warning if the target folder exists already.
Though it should be shown only in case of clean install as in case of upgrade it is expected that the folder does exist.

if the target folder exists already.

It should probably show a warning when you're installing into a directory that isn't empty?

Yup, that would be even better.

I considered hard-coding all the names and only removing those files

Isn't possible to track files somhow? Maybe using some sort of lightweight local storage? Or program creates-deletes files often?

program creates-deletes files often

There's been a dozen or so changes over the last 14 years and there's more planned in the future and it's not feasible to track files over such long time periods... It's more simple, easy and much more reliable to clean the installation directory entirely than hundreds of lines of spaghetti code to handle older versions and new versions.

show a warning when you're installing into a directory that isn't empty

Fixed in bdb10b18b5d90697a2f146b674fd278e21a343e2


Column filter - strict search

Hello,
When using YAFCF on a table containing the string "active" in the <td>, the <select> filter is not working properly.
I've done my best to narrow it down: https://jsfiddle.net/r0v67p2o/2/
As you can see, all filter are working fine, except for the "active" string.
It's nothing to do with the string "active", it's because the search appear to be "wildcarded" (searching "active" will display "inactive" as well).
I've done the same test with only Datatable, in order to confirm that this bug was indeed on YADCF side: https://jsfiddle.net/xh6q9gpv/1/
Let me know if I can help.
Thank you.
EDIT:
old title: Column filter not working for a specific string "active"

.. I just had an epiphany after writing this. The issue is not with the word "active", it's just that the search is not "strict", so "inactive" is displayed too when choosing "active".
I'm editing the issue, sorry.
I there any way to tell YADCF to do a strict search? Just like the Datatable example.

Hi
Try filter_match_mode

filter_match_mode
Required:           false
Type:               String
Default value:      contains
Possible values:    contains / exact / startsWith / regex
Description:        Allows to control the matching mode of the filter (supported in select / auto_complete / text filters)


Intune Data Connector in Sentinel

I'm missing/would like to have a data connector for Intune in Sentinel

@guidovbrakel - If you'd like to request any connector that isn't part of existing connector list, we have this form you can fill in: https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR-kibZAPJAVBiU46J6wWF_5URDZQSEtOMVlSQTdVTkFPU1BUR0ZWU1FJNC4u
Please follow the steps in this blog to connect your Intune/Endpoint Manager tenant to Azure Sentinel
https://azurecloudai.blog/2020/07/02/connecting-intune-to-azure-sentinel/


Fix go get command in README.md

As demonstrated below in a Docker container running the official golang image, the previous command didn't work:
$ docker run -it golang
root@a09850143f57:/go# go get github.com/JFrogDev/artifactory-cli-go
package github.com/JFrogDev/artifactory-cli-go: no buildable Go source files in /go/src/github.com/JFrogDev/artifactory-cli-go
root@a09850143f57:/go# echo $GOPATH
/go
root@a09850143f57:/go# go get github.com/JFrogDev/artifactory-cli-go/...
root@a09850143f57:/go# ls /go/bin
art

Thank you for this @hkjn !
Can you please sign JFrog's CLA so that I can merge your fix?

I just signed the CLA, @eyalbe4.


Add new Remark Command

Hi,
Add Remark Command with checkstyle errors fixed.

Codecov Report

Merging #6 (aed96d8) into master (a0cd6a4) will decrease coverage by 0.67%.
The diff coverage is 62.29%.

@@             Coverage Diff              @@
##             master       #6      +/-   ##
============================================
- Coverage     72.15%   71.48%   -0.68%
- Complexity      399      407       +8
============================================
  Files            70       73       +3
  Lines          1232     1287      +55
  Branches        125      130       +5
============================================
+ Hits            889      920      +31
- Misses          311      332      +21
- Partials         32       35       +3

Impacted Files
Coverage Δ

.../seedu/address/logic/parser/AddressBookParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

...eedu/address/logic/parser/RemarkCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...va/seedu/address/logic/commands/RemarkCommand.java
60.86% <60.86%> (ø)

...c/main/java/seedu/address/model/person/Remark.java
62.50% <62.50%> (ø)

...java/seedu/address/logic/commands/EditCommand.java
97.05% <100.00%> (+0.04%)
:arrow_up:

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)

...ain/java/seedu/address/logic/parser/CliSyntax.java
85.71% <100.00%> (+2.38%)
:arrow_up:

...c/main/java/seedu/address/model/person/Person.java
97.82% <100.00%> (+0.20%)
:arrow_up:

.../java/seedu/address/model/util/SampleDataUtil.java
25.00% <100.00%> (+5.00%)
:arrow_up:

... and 5 more

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 a0cd6a4...aed96d8. Read the comment docs.

LGTM.


Add Support for ZLL Wall Switches from Busch-Jaeger

Hey Man!
Busch-Jaeger manaufactured Light & Scene Switches, which ar supported from deCONZ. I add one to deCONZ and I'm able to configure the buttons in phoscon App. This switch (https://www.busch-jaeger.de/produkte/produktloesungen/fernsteuerung/zigbee-light-link/) is not regongnized from the homebridge-hue plugin, because of following error:
Log Messages
[Hue] HomeBee-GW: /sensors/4: warning: ignoring unknown ZHASwitch sensor {"config":{"group":"2","on":true,"reachable":true},"ep":10,"etag":"4e7e472a30052e6e04579ae4cc7d7b3b","manufacturername":"Busch-Jaeger","mode":1,"modelid":"RM01","name":"RM01 4","state":{"buttonevent":null,"lastupdated":"none"},"swversion":"1.2.0","type":"ZHASwitch","uniqueid":"d8:5d:ef:11:a1:00:3b:c2-0a-1000"}
Jan 08 22:45:24 HomeBee homebridge[9897]: [1/8/2019, 10:45:24 PM] [Hue] HomeBee-GW: /sensors/5: warning: ignoring unknown ZHASwitch sensor {"config":{"group":"2","on":true,"reachable":true},"ep":11,"etag":"4e7e472a30052e6e04579ae4cc7d7b3b","manufacturername":"Busch-Jaeger","mode":1,"modelid":"RM01","name":"RM01 5","state":{"buttonevent":null,"lastupdated":"none"},"swversion":"1.2.0","type":"ZHASwitch","uniqueid":"d8:5d:ef:11:a1:00:3b:c2-0b-1000"}
Jan 08 22:45:24 HomeBee homebridge[9897]: [1/8/2019, 10:45:24 PM] [Hue] HomeBee-GW: /sensors/6: warning: ignoring unknown ZHASwitch sensor {"config":{"group":"2","on":true,"reachable":true},"ep":12,"etag":"4e7e472a30052e6e04579ae4cc7d7b3b","manufacturername":"Busch-Jaeger","mode":1,"modelid":"RM01","name":"Switch 6","state":{"buttonevent":null,"lastupdated":"none"},"swversion":"1.2.0","type":"ZHASwitch","uniqueid":"d8:5d:ef:11:a1:00:3b:c2-0c-1000"}
Jan 08 22:45:24 HomeBee homebridge[9897]: [1/8/2019, 10:45:24 PM] [Hue] HomeBee-GW: /sensors/7: warning: ignoring unknown ZHASwitch sensor {"config":{"group":"2","on":true,"reachable":true},"ep":13,"etag":"4e7e472a30052e6e04579ae4cc7d7b3b","manufacturername":"Busch-Jaeger","mode":1,"modelid":"RM01","name":"Bedienelement 4-fach","state":{"buttonevent":null,"lastupdated":"none"},"swversion":"1.2.0","type":"ZHASwitch","uniqueid":"d8:5d:ef:11:a1:00:3b:c2-0d-1000"}

Dear @ebaauw,
in my Home I'm working with DeCONZ. In Office I just startet with Hue Bridge v2. I connected same switches to bridge, but I just got the first button as light. Am I right, that there is no way to get the buttons through Hue Bridge?

I need support by the Hue bridge before homebridge-hue can do anything.

I need support by the Hue bridge before homebridge-hue can do anything.
Any update? Is the eg. Jung Light Link wall transmitter (JUNG ZLL LS 5004 M ZigBee) still only supported by deCONZ? Or can I use it with the Hue Bridge v2 (with all 8 buttons)?

What update would you expect from me?  It’s up to Signify and Jung to support these switches on the Hue bridge.  Until that happens, there’s nothing Homebridge Hue can do.


Allow command entry in Podman RuntimeConfig to overrides image's entrypoint - preparations

Issues: #24

Definition of Done
The PR shall be merged only if all of following items were checked. In case an item is not applicable as described, please provide a short explanation right after the item in question. Separate the explanation by a semicolon and write it as bold text like ; requirements are handled in issue #xyz:

[x] documentation of all modules /*/doc/swdesign is up-to-date
[x] requirements are up-to-date and requirements for new features have been added and mapped to source and test - This will be fixed in the issue #1
[x] conform to unit verification strategy - This will be fixed in the issue #1

Changes from @krucod3 is okay for me.


[TODO] nautobot: migrate to V2

This is gonna be a big one
https://docs.nautobot.com/projects/core/en/stable/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1/#python-code-location-changes

This is on hold until we migraste to pydantic V2. nautobot V2 depends on nautobot-ssot v2, which depends on diffsync v2 which depends on pydantic V2

Completed in PR #27


fix(overlay): If there are a large number of overlay layers, the container can't be started

If there are a large number of overlay layers, the container can't be started. My image layer is about 60-80 layers.

@mxpv

@Burning1020 Done.

Yes, I have tested in a 128-layers image and it works fine. @Burning1020

Yes, I have tested in a 128-layers image and it works fine. @Burning1020

OK. Thanks.


Fix typo in FHIR audit header name

The documentation currently states that custom FHIR audit log headers must be named like X-MS-AZUREFHIR-AUDIT-AUDIT-<name>.
However, all the examples of custom FHIR audit log headers in the documentation only contain a single AUDIT followed by a name, i.e. all examples follow the template X-MS-AZUREFHIR-AUDIT-<name>.
To prevent reader confusion, this change makes the documented header name template consistent with the examples.

@matjazl - Would you review the proposed update to your article? Thanks.

@c-w : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Link to related Object

Hi,
how can i place a Link into every Table Row to a related Object?
In the "Comments" Table i would like to have Links "Open Post" to open the related Post.
Is this possible?
Many Thanks
Dietmar

yes using the following docs. http://administrator.frozennode.com/docs/columns#custom-outputs  the model is available in the closure as $model now as well.
'hex' => array(
    'title' => 'Color',
    'output' => function($value, $model)
    {
        return 'id.'">(:value)';
    },
),


Improved plugin system

[x]  Use the plugin system internally

In order to keep the base logic clear, we should use plugins more that splits the flow
~~https://github.com/dotansimha/graphql-yoga/pull/1329~~

[ ]  Go through the existing Envelop plugins

For example, response cache might be easier with HTTP-related hooks

[x]  https://github.com/dotansimha/graphql-yoga/issues/1038

[x]  https://github.com/dotansimha/graphql-yoga/issues/1327

New plugins

Automatic/Manual Persisted Queries plugin

~~https://github.com/dotansimha/graphql-yoga/pull/1137~~

Response Cache (on top of the existing Envelop plugin)

~~https://github.com/dotansimha/graphql-yoga/pull/1359~~

A better version of SOFA
Sentry (pre-configured only put your key and that is it ™)
Prometheus

https://app.crisp.chat/website/af9adec5-ddfa-4db9-a4a3-25769daf2fc2/inbox/session_0193251d-5676-49c1-83a0-dfdfab3ee19c/
https://app.crisp.chat/website/af9adec5-ddfa-4db9-a4a3-25769daf2fc2/inbox/session_88821587-54b0-4853-b522-e7f5dc7bc65a/

Closing in favor of
https://github.com/dotansimha/graphql-yoga/issues/1732


Showing duplicate service

I use this plugin to be able to broadcast heart rate via BLE, I'm using bluetooth_low_energy: ^4.0.0
Everything works great, but after a while about 10 to 15 minutes after "startAdvertising", I see a second service appear like below:

I use iOS to advertise service, and scanner is android devices, do you know the reason why?
Thanks a lot!

After seached the internet, I think this is a normal behaivor, look at this article: https://novelbits.io/bluetooth-address-privacy-ble/
The iOS used Resolvable Random Private Address which will changed about every 15 mintes.
The Android system also use random address, the MAC address changed every time the startAdvertising is called.

After seached the internet, I think this is a normal behaivor, look at this article: https://novelbits.io/bluetooth-address-privacy-ble/
The iOS used Resolvable Random Private Address, the MAC address changed about every 15 mintes.
The Android system also use random address, the MAC address changed every time the startAdvertising is called.

Thank you very much, I got it now

Closed.


Object.assign Polyfill (For Wechat)

WeChat is a popular chat app in China. On Android it embeds Tecent's custom Webkit browser "X5". This browser requires polyfill for Object.assign.
Maybe it would be nice to have a more declarative way to add polyfills. Right now I used next.conig.js to modify the main.js entry:
// next.config.js
module.exports = {
  cdn: false,
  webpack: (cfg, { dev }) => {
    // prepend polyfill
    const main = cfg.entry["main.js"]
    cfg.entry["main.js"] = [require.resolve(__dirname + "/polyfill"), main]
    // console.log("entries", cfg.entry)

    return cfg
  }
}

Where polyfill.js is the following (note that the feature detection has to use string concat to prevent babel from transforming it to its own assign):
if (typeof Object["ass"+"ign"] != 'function') {
  Object.assign = function (target, varArgs) { // .length of function is 2
    'use strict';
    if (target == null) { // TypeError if undefined or null
      throw new TypeError('Cannot convert undefined or null to object');
    }

    var to = Object(target);

    for (var index = 1; index < arguments.length; index++) {
      var nextSource = arguments[index];

      if (nextSource != null) { // Skip over if undefined or null
        for (var nextKey in nextSource) {
          // Avoid bugs when hasOwnProperty is shadowed
          if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
            to[nextKey] = nextSource[nextKey];
          }
        }
      }
    }
    return to;
  };
}

@hayeah We already adding the polyfill for that.
(Actually babel)
So it'll work by default and you don't need to do this hack.

I'm testing with Firefox 28 which doesn't have Object.assign but it doesn't work with latest 2.0.0-beta.39. Here are my presets in .babelrc:
"presets": [
    "es2015",
    "stage-0",
    "next/babel",
    "react"
  ],

am I missing something?

@xdamman could you open a new issue and a possible sample app to re-produce this issue.

@arunoda here: https://github.com/zeit/next.js/issues/1506


Fixed zero leechers/seeders which would overflow on cast

Issue
Seeders and leecher overflow when zero (usize -> i32) on Announce Response in some torrent clients.
Fix
using try_into() and defaulting to zero on unwrap, instead of a as cast.
I'm not a Rust expert by any means so this may not be the most optimal way to fix the issue. This might also be system dependant since it's a issue relating to usize.
This pull request only fixes the udp version of aquatic, other protocols don't seem to be affected (?).
See user issue ngosang/trackerslist/issues/396
Reproduced locally with Tixati

@greatest-ape I am excited for feedback on this change

Nice catch, thanks!
Using try_into is indeed the best solution, but could you please change unwrap_or(0) to unwrap_or(i32::MAX)?

Hmm, come to think of it, I don't really understand how this happened. With your fix applied, does rtorrent show correct stats?

It turns out that I had introduced a seeder/leecher counting underflow bug in https://github.com/greatest-ape/aquatic/commit/becf88c3721deeb77120630e5aca7808b16dcfd4, now fixed in PR https://github.com/greatest-ape/aquatic/pull/91.
Thanks for spotting this, @TheVoxcraft.

Yes, came to the similar conclusion after further testing.
No problem! :)

This fix is now in production :) Thank you both!


Texture reapeat on imprt disabled on godot 4, so it won't work ..

See Using SmartShape2D with Godot 4 on how to enable repeat in textures.

my bad sorry


Add support for kpod exec

Support exec'ing into pods using kpod.

Maybe add a unified issue for tracking kpod feature?

@feiskyer We could add a tracking issue that links to individual issues so they could be assigned to whoever wants to work on them.

@feiskyer what we are looking for is a way to allow contributors to grab different issues, so we don't have multiple people working on the same feature.

what we are looking for is a way to allow contributors to grab different issues, so we don't have multiple people working on the same feature.

yeah. make senses to me. Thanks.

@mrunalp If it's fine with you, I would like take this as a start.

@Crazykev Sure, thanks!

@Crazykev Did you ever work on this?

@rhatdan I believe we will need to re-assign all of these kpod issues.

Yes, I think either you or @mheon have to work on this.

@rhatdan Not working on this recently, please re-assign someone else.

@baude  was working on this.  Moving it to libpod repo.


mention Jython in README

It's a pretty important one (Django documentation even have a page dedicated to Jython)

Jython only supports Python 2, whereas this project targets Python 3 support only...

True but it's also a good and well-known example of "alternative Python implementation". It will not be immediately useful for Jython in its current state, but it will be in case Jython will ever decide to migrate to Python 3

IronPython also only target Python2 and it was listed :)
Le lun. 29 juil. 2019 à 15:58, Antonio Cuni<EMAIL_ADDRESS>a
écrit :

True but it's also a good and well-known example of "alternative Python
implementation". It will not be immediately useful for Jython in its
current state, but it will be in case Jython will ever decide to migrate to
Python 3
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pyhandle/hpy/pull/8?email_source=notifications&email_token=AADLH34C6JD7IQSSIXHBJJDQB3ZR5A5CNFSM4IGOIKEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3AZLVA#issuecomment-516003284,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADLH3ZKAYWZTZI4L6UBAETQB3ZR5ANCNFSM4IGOIKEA
.

And, fwiw, I don't expect Python 2 support to be hard to do so I may do it once we have a Python 3 story.


Remove the offer sdp from peer.Join. fix #409

Separate the offer sdp parameter in the peer.Join method.
This allows for a more flexible signal design. The current modification does not affect the existing ion-sfu signaling but separates the first offer SDP from the join method. When the join fails, we don’t have to operate pc or create an offer on the client-side.
before:
                       answer, err := peer.Join(payload.Join.Sid, offer)
                        if err != nil {
                                switch err {
                                case sfu.ErrTransportExists:
                               ...
                        }

after:
                       err = peer.Join(payload.Join.Sid)
                        if err != nil {
                                switch err {
                                case sfu.ErrTransportExists:
                                  return sig.SendReply(JoinReply{Success: false, Error: sfu.ErrTransportExists })
                                case sfu.RoomIsFull:
                                  return sig.SendReply(JoinReply{Success: false, Error: sfu.RoomIsFull })
                                 ...
                        }
                        return sig.SendReply(JoinReply{Success: true, Error: nil })

                       ......

                       // recv description.
                       answer, err := peer.Answer(offer)
                       if err != nil {
                               return status.Errorf(codes.Internal, fmt.Sprintf("answer error: %v", err))
                       }

Reference issue
Fixes #409

It was originally this way, and @tarrencev added it to the join to streamline the process awhile back.  thoughts @tarrencev

i'm ok with these changes

LGTM


Added webhooks service

Added ability to subscribe and unsubscribe from webhooks
Added ability to retrieve existing webhook subscriptions.

@mphacker side note to this, I may be looking into creating the stuff for processing web hook events at some point in the next month or so, but no exact time guarantee:
https://dev.twitch.tv/docs/api/webhooks-reference
Whatever it would be, it mainly just be focused on the following:

The individual model of the web hook events (some look to be pretty similar to PubSub, so might be some freebies)
The logic to process the HttpRequest object to said model (parsing the request URL, de-serializing the content, etc)

No real need for it's own dedicated project, but not 100% sure how I would lay it out in project. If it's something you're looking at right now, feel free to take a stab at it.


Clicking Scrollbar triggers close SimpleSelect when in Bootstrap Modal

This happens in a SimpleSelect with almost 3000 options, that when I click on the scrollbar SimpleSelect automatically closes itself. So far its only on this dropdown in the bootstrap modal.
How do I fix this?
http://i66.tinypic.com/w1qt81.png

This is my declaration:
<SimpleSelect placeholder="Search or Type Item name"                                                       onValueChange={this.onItemSelect}                                                       ref="itemName"                                                       theme="bootstrap3"                                                       autofocus={true}                                                       style={{ fontSize: "12" }}                                                       uid={(item) => item.value}                                                       options={this.state.labels}                                         />

Sorry, for clarification on the issue: Users can't use the scrollbar on the dropdown without it closing upon click.

Noticed the issue here too. I just happened to be using the bootstrap modal as well. I wonder if it has anything to do with the modal? Shouldn't it be as simple as preventing any click through that's not on a list item?

Had the same issue, but with a different modal implementation. I was able to fix this by removing tabIndex from the modal container.

@annelorraineuy  currently i have the same issue with the version 2.0.3, a solution can be add a property tether={false} but its no working for me.

I have the same problem. tether property does not help.
Any updates on this ?

Pushing for an update on this as we have clients experiencing this issue on a live platform.

Remembering this issue I solved adding transitionEnter={false} property, you can try if you don't want to use a animation to display the dropdown, work for me even on IE10 browser.


Exit and Files?

When I leave a session, I am prompted about saving files. It's unclear as to what is going on, who has file ownership, and who should save what. A section on explaining that might help a lot.

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

ID: faa41bfb-a781-102a-19d8-96d32f2c7da1
Version Independent ID: 053e8e36-d51e-f03f-f10e-e593e90edefd
Content: Collaborate using Visual Studio - Visual Studio Live Share - Visual Studio Live Share
Content Source: docs/use/vs.md
Service: vs-liveshare
Product: visual-studio-family
GitHub Login: @Chuxel
Microsoft Alias: clantz

@lostintangent

@EdTheC The files are owned by the “host” (the developer that shared), and therefore, when a guest leaves a collaboration session, they shouldn’t be prompted about saving any files. If you’re seeing this behavior, then that’s a bug. We’ll use this issue to track resolving that. Thanks for reaching out!

@EdTheC I tested and this does not repro for me with the latest version of the extension, so I'm going to close this issue. Please let us know if it happens again.


Add PFTs to ClimaLandSimulations

Purpose
Adds the ability for users to define PFT schemes which construct the required site-varying parameters to run the model, and defines a default PFT scheme mirroring the one in CLM5. Will allow fluxnet_simulation to be run with or without default or custom PFTs.
Content

Adds a PFT struct which consists mainly of a NamedTuple which maps each required site-varying parameter to a value

Uses an inner constructor to validate all fields are populated

Provides a function params_from_pfts which given a PFT scheme (a Vector of PFT structs) and a Vector giving the percentage of cover of each PFT in the scheme for a given area, defines each required parameter variable as the linear combination of the parameters for each PFT, weighted by the cover fraction.
Provides default PFT scheme with (some) sourced parameter values

To-do

[ ] Source parameter values for plant hydraulics parameters for each PFT
[ ] Separate site-specific non-PFT params, and site-to-site constants such that they are still read in when using PFTs
[ ] Use multiple dispatch to handle whether parameters are read from site file or from PFT
[ ] Create a tutorial for using PFTs in fluxnet sim
[ ] Change to dominant PFT type rather than dot product

[ ] I have read and checked the items on the review checklist.

i was able to run the Ozark experiment using PFTs this morning setting the Ozark site to a pure temperate deciduous broadleaf forest, but using prior values for the g1.
diurnals.pdf
fingerprint.pdf
timeseries_fluxes.pdf
timeseries_H2O.pdf
looks encouraging but I still need to find the correct unit conversion for g1 from CLM and correct values for the energy and hydraulics parameters.

just a comment, I think it's good practice to add your initial in front of the branch name, i.e., es/PFTs (but no need to rename it, not essential)

@Espeer5 is this PR outdated? (as you merged the other one), if so we can close this one?

Closing - this is outdated now as PFTs were added to source in #493


Unable to install module via npm install on Windows and Ubuntu

Hi,
I'm trying to add your library to my React Native application by following your guide on both Linux and Windows, to which I run into the same problem when npm install tries to run ./build_ios_frameworks.sh
I have attached the stack trace
Ubuntu
`╰─$ npm install

<EMAIL_ADDRESS>install /mnt/f/Development/WetnessApp/node_modules/react-native-ble-plx
./build_ios_frameworks.sh

./build_ios_frameworks.sh: line 4: carthage: command not found
./build_ios_frameworks.sh: line 5: carthage: command not found
npm ERR! Linux 3.4.0+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>install: ./build_ios_frameworks.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script './build_ios_frameworks.sh'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-native-ble-plx package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./build_ios_frameworks.sh`
Windows
`$ npm install

<EMAIL_ADDRESS>install F:\Development\WetnessApp\node_modules\react-native-ble-plx
./build_ios_frameworks.sh

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: ./build_ios_frameworks.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script './build_ios_frameworks.sh'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-native-ble-plx package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./build_ios_frameworks.sh`

Thanks for your report!
Please install 0.1.5 version of react-native-ble-plx which should check if your operating system contains carthage binary for building iOS frameworks. It should work at least on Ubuntu. On Windows bash may be necessary to go through installation process.

Thanks very much for your help!

Is it working properly now? If so, I'll close the issue.

Yep all good, thanks!

@Cierpliwy am I understanding correctly that this means I cannot use react-native-ble-plx if I'm developing an iOS app using React Native on Windows (since I'd need Carthage)?


Change julia jupyterhub dropdowns, and the default choice

Right now they are listed as:

VSE
PIMS
binder
colab

First, we should remove colab from this list since it doesn't yet support julia.  After that, I think things look better with the full URL, so maybe change this to (in this order!)

mybinder.org (Public)
quantecon.syzygy.ca (Public)
vse.syzygy.ca (UBC only)

I think that it could also be that colab is the current default?  If so, then change it to quantecon.syzygy.ca for now
Where if we decide that quantecon.syzygy.ca dominates Binder, we can temporarily remove it.

Done.


Using get_as gives compile error: call to 'get_impl' is ambiguous

This program:
#include <iostream>
#include "cpptoml.h"

int main() {
  std::shared_ptr<cpptoml::table> root = cpptoml::make_table();
  root->insert("Double", 12.3);
  auto d = root->get_as<double>("Double");
  std::cout << *d << std::endl;
}

is giving me this error from clang (also see similar error from g++):
$ make
clang -c -Wall -std=c++11 -g -I../../cpptoml/include main.cc -o main.o
In file included from main.cc:2:
../../cpptoml/include/cpptoml.h:1113:20: error: call to 'get_impl' is ambiguous
            return get_impl<T>(get(key));
                   ^~~~~~~~~~~
main.cc:5:20: note: in instantiation of function template specialization 'cpptoml::table::get_as<double>' requested here
  auto d = config->get_as<double>("Double");
                   ^
../../cpptoml/include/cpptoml.h:892:1: note: candidate function [with T = double]
get_impl(const std::shared_ptr<base>& elem)
^
../../cpptoml/include/cpptoml.h:939:1: note: candidate function [with T = double]
get_impl(const std::shared_ptr<base>& elem)
^
1 error generated.
make: *** [main.o] Error 1

I only am seeing it for get_as<double> (or float).

Looks like I was getting this error with an earlier commit of cpptoml.


Adding a unit test to demonstrate and detect issue #116

Create a parent-child model where the child has a FK reference to
the parent. Have the parent have an IList collection of children.
EF will automatically put a HashSet in for ICollection, so it must
be IList to demonstrate the issue.
The test then uses OwnedCollection to demonstrate multiple adding
of children to the parent element. The test will fail accordingly when it expects to get 2 children but instead gets 4.
Referencing issue #116

Hello @rwdalpe ,
Thank you for the pull, we have merged it manually (had some conflict with the project structure change) which successfully reproduced the issue.
We will look now at the pull #174 , to check if it fixes it correctly.


Explain how to run lints locally on command line

The Style Guidelines mention:

Run MarkdownLint against your changes with our config.

Most editors have a MarkdownLint plugin available (e.g. VS Code, Sublime Text, Vim).

For those who don't have an IDE/editor with the plugin, would it be possible to list the commands necessary to install and run MarkdownLint againt the project's config? For example, something like
npm install markdownlint # or:
npm install markdownlint --save-dev
# then, explain how to run

This is less of an issue if the CI runs automatically on PRs -- which it seems to do for people who have contributed in the past.
Maybe this could also be wrapped in a .sh or .bash script (many Windows users have something like cmder or WSL2). As a bonus, in the future there could even be some custom automated checks for rules like "don't use bold/italics", "don't nest bullet points" or "use 3rd person instead of we/our/I/my".
Just writing down some thoughts, even the automated CI is already great 🙂

I think we could close this once #1480 is merged, since the checks are so relaxed now


scss.sh error

version:sass (3.4.23)
jlfangdeMacBook-Pro:gravstrap-theme jlfang$ sass --watch sass:css
>>> Sass is watching for changes. Press Ctrl-C to stop.
      _error sass/lib/sass/gravstraptheme.sass (Line 1: File to import not found or unreadable: compass/css3/border-radius.
Load path: /Users/jlfang/www/yigong/donglinsi/strap.donglinsi.com/user/themes/gravstrap-theme/sass)_
[Listen warning]:
  Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.

Seems gravstrap theme was built with Compass SCSS.  This is really nothing to do with Grav though, please open an issue on gravstrap theme repo.


cmd: Check --help was given in RunE.

Setting DisableFlagParsing caused issues where --help would not be taken into
account:
$ sudo ./ig profile block-io --help
INFO[0000] Running. Press Ctrl + C to finish
To fix this, we need to check that --help was given in RunE and call the
corresponding Help().

Fixes: 8511d3b25dd7 ("gadgets: Add custom formatting options")

The intention behind setting DisableFlagParsing was to be able to add/modify flags at a later stage (iirc in this case it was to be able to update the available columns). For --help to still work, it has to be manually handled, though - I know this was implemented in an earlier PoC, but it must somehow have been removed/forgotten.
Re-adding this code inside RunE after all changes/additions have been made to the flags, should also update the help output:
			if showHelp, _ := cmd.Flags().GetBool("help"); showHelp {
				return cmd.Help()
			}

/cc @mauriciovasquezbernal

I find the whole stuff overcomplicated but your solution does the trick, thank you.

Yeah, I agree - we sadly occasionally have a chicken+egg problem with the cobra library. For containerized gadgets we can only know all details at runtime (after initializing and parsing the containerized gadget's metadata) - and this hack was the only solution I found to make it work more dynamically.

I just realized DisableFlagParsing also breaks --verbose :(

I just realized DisableFlagParsing also breaks --verbose :(

Yes, setting this flag actually broke few things and I would like to avoid us having to implement the same logic the library handles for us in RunE().

Is there anything else you know of that broke? While I'd also prefer to not re-implement logic, we probably have to. But at least the registry is handling ~95% of all IG commands at one place... :)


Fixed a problem that before_llm_cb return value is not canceled even if False when the return value is coroutine.

https://github.com/livekit/agents/issues/958#issue-2600681919

 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.

Can you sign the CLA :)

I did it, thank you :)

Thanks!

Just a nit - https://github.com/livekit/agents/blob/b16b24654e04805662c22fe12ef43c66064177f6/livekit-agents/livekit/agents/pipeline/pipeline_agent.py#L22C1-L22C18 - the type should have Awaitable[Literal[False]] as well

@martin-purplefish
I forgot! Thanks for pointing it out. I've fixed it!
https://github.com/livekit/agents/pull/965


How to override verification email

I want to send a customized verification email.  I find no documentation about how to do this.
We want to translate from English to Spanish. Please, help with some indications!

Hi the method to override the default email is very simple
dj_rest_auth users default alluath, so to override you have to add this to file in your django templates

ensure you have
email_confirmation_message.html
email_confirmation_signup_message.html

you can take sample code for email_confirmation_message.html
`

{% load account %}
    {% user_display user as user_display %}
    {% load i18n %}
    {% autoescape off %}

Investor Application

E-mail Confirmation

              Hey {{ user_display }},

It looks like you just signed up for The App, that’s awesome! Can we ask you for email confirmation? Just click the button bellow.

            CONFIRM EMAIL ADDRESS

              Keep Rockin'!
 Your The App team

Thanks for using The App!

www.investors.com.ng

{% endautoescape %}

`

for email_confirmation_signup_message.html
{% include "account/email/email_confirmation_message.html" %}

for email_confirmation_signup_message.html
{% include "account/email/email_confirmation_message.html" %}
you can read the documentation for more clarification Sending Email

@sazzeb  I have very similar folder structure as yours but im still using the default email template. Am I suppose to override VerifyEmailView?
My url.py path:
     path('dj-rest-auth/account-confirm-email/', VerifyEmailView.as_view(), name='account_email_verification_sent')

Hi the method to override the default email is very simple
dj_rest_auth users default alluath, so to override you have to add this to file in your django templates

ensure you have email_confirmation_message.html email_confirmation_signup_message.html

I fixed my problem, thanks a lot

I want to customise the view so that email can be sent asynchronously.
can anybody help me on this.I am using it in rest framework.
Thank you

@sazzeb Your link to the documentation is returning a 404.


Redo "Improved performance of Count Hql queries"

This PR redos the performance improvement reverted on this PR https://github.com/OrchardCMS/Orchard/pull/7563
It is an alternative way of improving performance of Count Hql query compatible with SQLCE.
I have had to use a nested sql to avoid SQLCE limitation. Problem is those are not supported by NHibernate HQL so I translated main HQLquery  to SQL and then used it as nested sql of the general sql doing a count. Problem with this query is cannot be cached by NHibernate second level cache, so I removed SetCacheable line. Now performance is better than with reverted code, so I would prefer to use this version than previous one despite now the query is not cached by NHibernate. I submit this PR just in case it is interesting for you merging it. @sebastienros @paynecrl97

@jersiovic have you tried to repro this issue with and without this PR ? https://github.com/OrchardCMS/Orchard/issues/7554

@sebastienros Yes, in fact I repro the issue with SQLCE using my original code for improving performance then I modified code till I found this way of improving performance but avoiding the problem with SQLCE..


Add 'watch' method on Signal

as discussed, a function receives values from camonitor and flips a status object when the function returns true

closed by #442 Thanks @teddyrendahl !


example not reproducible

This rust example does not work as is.
Per the compiler I had to add use std::io::Cursor; to in order for the example to work
https://github.com/pola-rs/polars-book/blob/3278793c6129f9d1c16dc85f3ffedbd4852efd90/user_guide/src/quickstart/intro.md?plain=1#L73

Shouldn't this be marked as resolved per #313?

@c-peters, pinging you to aid in housekeeping, not to bug you. 😅

@avimallu can you point me to this fix in the book? Perhaps I can verify independtly and close? :P

I thought the linked pull request fixed it (someone re-linked this issue on there), #213. Is that not the case? 😅

Ping


Added dismiss functionality regarding issue 140

Added functionality for dismissing the spinner when the default dismiss spinner does not work, through view hierarchy #issue_140

Guidelines
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
This commit is regarding issue 140 that I have already opened, It's a suggested solution to the problem that I mentioned. I already use it in my project with success, so I thought we can add it as an extra helping functionality in PowerSpinner library.
The problem was that in some cases the power spinner stays visible and cannot be dismissed.
My proposed solution is an extension function of the parent view, that iterates all the view hierarchy of the current view,
if we find an instance of  PowerSpinner view then dismiss it (with the already dismiss functionality).

Added two extension functions in PowerSpinnerExtension file, one public and the other private.
Added some comments for each function

The usage is fairly easy -> parentView?.dismissPowerSpinner()
Types of changes
What types of changes does your code introduce?

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

Preparing a pull request for review
Ensure your change is properly formatted by running:
$ ./gradlew spotlessApply

Please correct any failures before requesting a review.

Hey @GerasimosGots, before merging this, could you run ./gradlew spotlessApply and './gradlew apiDump' command lines?

Hey @GerasimosGots, before merging this, could you run ./gradlew spotlessApply and ./gradlew apiDump command lines?

Done!


.NET 6 Isolated: Service Bus trigger: SessionLockLost after previous run timeouts

When Session Service bus trigger timeouts, second re-run gets SessionLockLost.
MessageLock is set to 30s in service bus queue
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="5.7.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.7.0" OutputItemType="Analyzer" />
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.10.0" />

Happening also in local debug environment as well in azure with this simple function.
host.json:
{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "excludedTypes": "Request"
      }
    }
  },
  "functionTimeout": "00:05:00",
  "extensions": {
    "serviceBus": {
      "messageHandlerOptions": {
        "maxAutoRenewDuration": "00:06:00",
        "maxConcurrentCalls": 1
      },
      "sessionHandlerOptions": {
        "maxAutoRenewDuration": "00:06:00",
        "maxConcurrentSessions": 1
      }
    }
  }
}

Function:
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Logging;

namespace FunctionApp1
{
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Logging;

namespace FunctionApp1
{
    public class Function1
    {
        private readonly ILogger _logger;

        public Function1(ILoggerFactory loggerFactory)
        {
            _logger = loggerFactory.CreateLogger<Function1>();
        }

        [Function("Function1")]
        public async Task Run([ServiceBusTrigger("myqueue", Connection = "myservicebus", IsSessionsEnabled = true)] string myQueueItem,
            CancellationToken cancellationToken)
        {
            _logger.LogInformation($"C# ServiceBus queue trigger function processed message: {myQueueItem}");

            await Task.Delay(TimeSpan.FromMinutes(6), cancellationToken);

            _logger.LogInformation($"C# ServiceBus queue trigger function processed message: {myQueueItem}");
        }
    }
}

Local run logs:
logs.txt
Every run will end in timeout, but every second run will contain also this error:
...
Azure.Messaging.ServiceBus: The session lock has expired on the MessageSession. Accept a new MessageSession. TrackingId:92657c70000035de00acf5db63ef84d6_G7_B11, SystemTracker:pepotest:Queue:myqueue, Timestamp:2023-02-17T13:51:18 (SessionLockLost).
...
This is annoying because session messages should not run concurrently but they are (in azure) in this case due to loosing session lock.
Thx for help.
PP

Hi, any progress?

Hi, any progress?

Hi, any progress?

Hi, any progress?

solved by
https://github.com/Azure/azure-sdk-for-net/issues/35267


[Request] Dockerfile

Let me preface by saying I am entirely unfamiliar with Rust. This is kind of a question and a request.
I tried following the README directions for 'Compiling to WebAssembly' and produced the following Dockerfile to try to run the build.
FROM rust:1.31

RUN apt update && apt install curl nodejs

RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

COPY . .

RUN cd ./wasm && wasm-pack build && cd ..

However, this ultimately results in the following error compiling.
Any ideas or hints for a newbie?
At any rate, I am wondering if others feel a dockerfile might be useful for this project.
<lines of downloading and compiling omitted>
warning: unused import: `rustpython_vm::pyobject::AttributeProtocol`
 --> src/lib.rs:9:5
  |
9 | use rustpython_vm::pyobject::AttributeProtocol;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

error[E0599]: no method named `set_attr` found for type `std::rc::Rc<std::cell::RefCell<rustpython_vm::pyobject::PyObject>>` in the current scope
  --> src/lib.rs:23:17
   |
23 |     vm.builtins.set_attr("print", vm.context().new_rustfunc(wasm_builtins::builtin_print));
   |                 ^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.
error: Could not compile `rustpython_wasm`.

To learn more, run the command again with --verbose.

The command '/bin/sh -c cd ./wasm && wasm-pack build && cd ..' returned a non-zero code: 1

I agree that a Dockerfile in some form would be nice! Maybe it can be added in the wasm folder to allow the demo page to be served locally? A pull request is always welcome!

I'd be willing to work on this! That error message seems pretty weird, but I'm sure there's a good reason for it.

Alright, how does look #248?

Hmm. I'm still having an error trying to build  Dockerfile.wasm
docker build -t wasmdemo -f Dockerfile.wasm

Here's the tail end of the build log
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x6

added 671 packages from 1201 contributors and audited 11309 packages in 19.086s
found 0 vulnerabilities

><EMAIL_ADDRESS>dist /rustpython/wasm/demo
> webpack --mode production

🧐  Checking for wasm-pack...

✅  wasm-pack is installed.

ℹ  Compiling your crate...

wasm-pack error: Running the wasm-bindgen CLI
Caused by: Process exited with exit code: 1: `wasm-bindgen` did not exit successfully.

stdout:

stderr:

error: failed to read `target/wasm32-unknown-unknown/release/rustpython_wasm.wasm`
        caused by: Not a directory (os error 20)

Hash: 62051ee7fdb43b7c67eb
Version: webpack 4.28.3
Time: 98287ms
Built at: 01/03/2019 6:18:21 AM
 4 assets
Entrypoint main = styles.css index.js
[0] ./src/index.js 396 bytes {0} [built]
[1] ./src/style.css 39 bytes {0} [built]
[3] ./src/main.js 1.27 KiB {2} [built]
    + 6 hidden modules

ERROR in ./src/main.js
Module not found: Error: Can't resolve '../../lib/pkg' in '/rustpython/wasm/demo/src'
 @ ./src/main.js 1:0-36 7:12-14 33:23-32
 @ ./src/index.js
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 2.94 KiB {0} [built]
    [2] (webpack)/buildin/global.js 472 bytes {0} [built]
    [3] (webpack)/buildin/module.js 497 bytes {0} [built]
        + 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/codemirror/lib/codemirror.css:
    Entrypoint mini-css-extract-plugin = *
       2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!src/style.css:
    Entrypoint mini-css-extract-plugin = *
    [0] ./node_modules/css-loader/dist/cjs.js!./src/style.css 516 bytes {0} [built]
        + 1 hidden module
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>dist: `webpack --mode production`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  Can you confirm that there's a symlink in wasm/lib to ../../target?

@windelbouwman oh, thanks for the invitation!
@spyoungtech, I guess if you have issues, you can talk on gitter, as the dockerfiles work on my machine with a fresh clone of the repository.


Installation failed

Recently downloaded visual studio code VSCodeUserSetup-x64-1.48.0.
Tried installing it. Installation failed with the message "IPersistFile::Save failed; code 0x80070005. Access is denied."
Screenshot for the same is attached.

After clicking on ok, above image was displayed. However vscode was not installed.

And when I tried running it as admin the following message was displayed.

however after continuing vscode was installed successfully. Seems like permission issue with certain files to me. Looks like and installer issue.

Here is another thing, icon is on desktop, available in context menu as well, also can be seen in control panel but not in start menu.


changed uglify options

2 changes here:

i think compressor should be compress. i'm not sure if both work or not, but the (webpack docs)[http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin] say compress

UglifyJS unescapes \u0000 and other unicode char code strings and converts them . this results in some libraries (eg, js-base64, firebase) getting screwed up, and Chrome refusing to load the extension b/c the injectionisn'tutf-8`.

i hit that problem today and have been researching it. i could be wrong, but wanted to put in a PR to see what you thought
there's a couchDB bug that briefly explains it here
the post that discusses the solution is on the uglify repo here

Thanks a lot for the fixes!


Exec tachikoma update<PHONE_NUMBER>3347

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 68.0% when pulling 42f4f667e40af00b5e0515a7812eee3915edda2e on pazjacket:tachikoma/update-20160911163347 into 391307db508f29cde46957edf9baba38c7a2933e on sanemat:master.


Elections/votes: Incorrect result graphic and calculation

…/…/assignments/…
OpenSlides Version: 4.0.0-beta-20221012-1e75339
Bug description

If "yes/no per candidate" is set as 100% base, the graphic still shows the abstentions.
For the yes and no votes, it says 100% each, which is wrong. There seems to be no calculation.

Expected behavior

If 100% base is set as "yes/no per candidate, then the graphic shows only the yes and no votes.
The calculation for the yes and no votes is correct.

Screenshots

@alveolus Can't replicate in current client

@luisa-beerboom The bug occurs in the productive setup and also affects motions/polls. I could now find the following error message in the console.
TypeError: Cannot read properties of undefined (reading 'onehundred percent base')

@alveolus I also tried it in the demo (which is the same version), and it still works.
This error seems to be thrown by a method that is used to generate the chart data, but with this info the best thing I can do is make the error go away without changing anything about the display errors that you are experiencing.
Based on that error, the problem might be that somehow the poll's percent base is not being loaded from the backend. But unless I can take a look at a specific instance where this actually happens, I can at best make wild guesses as to why that happens.
Please provide a specific test instance where this happens, along with a detailed description what I should do to reproduce this bug on that instance.


Add a new route for redoc

Types of changes

New feature (non-breaking change which adds functionality)
Documentation

Description

Implements a clean way to add a new route to see the OpenAPI
documentation using Redoc.

Checklist:

[] I have updated the documentation accordingly
[] I have written unit tests

Codecov Report

Merging #72 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   97.94%   97.94%
=======================================
  Files           6        6
  Lines         243      243
=======================================
  Hits          238      238
  Misses          5        5

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 68fd7ae...f928aec. Read the comment docs.


Segfault on Stackage build server when running test suite

On the Stackage build server:
Test suite failure for package isocline-1.0.1
    test-example:  exited with: ExitFailure (-11)
Full log available at /var/stackage/work/unpack-dir/.stack-work/logs/isocline-1.0.1-test.log

The log file itself is empty. I tested on my local Linux machine, and everything passed correctly, so I'm not sure what the issue is.
I'm going to disable the isocline test suite for Stackage for now.

Thanks @snoyberg -- not sure what causes this; it doesn't show up on macOS either. The "test" is strange though as it runs the "interactive" example and relies on ^D/eof to terminate which may perhaps cause issues in an automated pipeline;
so, disabling the test on stackage makes sense for now until we can repro.

No worries! And sorry I don't have a repro to provide here. Feel free to close this, I tried a few other things with terminals to trigger this and nothing happened.

Thanks so much. I think this is fixed since v1.0.7


" in annotations

Same problem as #163 with annotations and " (I suspect)

I implemented a workaround in the helper, but better fix it in the parser directly


wip: select where enum column equals to one of the string literals

This is neat!

@Newbie012 What can be expected in terms of the release timeline?
Just debating whether to release safeql to the team with or without this change.

Any minute now. I first had to refactor the error positioning logic before adding this feature


fix: missing files

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


cannot import name copy_bezier_curve

Hi,
I'm really interested to try out this tool but sadly when I'm trying to load the script I got this error: "cannot import name copy_bezier_curve". If you have a solution for it I would be happy to hear it. Thank you.
Balázs

damn, i thaugh i fixed that one. I probably just did on the production deployed version.
Let me take a look.

ok this was fixed a while ago but i forgot to publish the change :)
it is done now


Add XBPM feedback for i03

Merge https://github.com/DiamondLightSource/dodal/pull/142 first.
Needed for https://github.com/DiamondLightSource/hyperion/issues/796

From https://jira.diamond.ac.uk/browse/I03-870 it looks like the stability check is no longer needed in ophyd.


Bumps version to 0.1.3

@benlovell I've addressed your comment, thank you

This should actually be 0.2.0, because it's the first in the 0.2.X series :)

@tijmenb Yep, you're right. My brain is mush. :smile:

@tijmenb @benlovell updated.


Not working with spaces in GRAV_ROOT

It doesn't find content neither themes when GRAV_ROOT directory path contains spaces.

I'm having trouble replicating this.. I created a subdir called /grav test/ and put a grav instance in there.  And was able to reach it no problem with http://localhost/grav%20test/
Also admin plugin seems to work fine, so no problems with routing. Can you provide more info as to the exact nature of your problem???

El domingo, 22 de noviembre de 2015, Andy Miller<EMAIL_ADDRESS>escribió:

I'm having trouble replicating this.. I created a subdir called /grav
test/ and put a grav instance in there. And was able to reach it no
problem with http://localhost/grav test/
Also admin plugin seems to work fine, so no problems with routing. Can you
provide more info as to the exact nature of your problem???

Inside grav instance I have a symbolic link from user/ to  $HOME/Dropbox
(madsgroup)/foo/bar/user
When I change the link to another dir whithout spaces in the path,
everything works ok.
But, at the time I'm writing, I realise I have not check whether the
problem is the space or the '(', ')' chars.
-- david

I can't replicate this.  I have tested with both spaces and parenthesis in my webroot.  After adjusting my webserver config so it could find the new path, everything worked fine.
Also i've tried changing a subdirectory with Grav installed so that it had both spaces and parenthesis, and after replacing spaces with %20 it worked fine too.


Wipe out all Track 1 source code

@ArthurMa1978 :  Just to clarify, this is regarding the T1 management libraries, correct?   We have some data-plane T1 libraries in the repo that have not yet reached end-of-life.

@jsquire yes, this is just for management libraries.


Postgres Official Image fails to launch with dotenvx run -- postgres

I have a simple Dockerfile using an official Postgres image that does not seem to want to run Postgres through dotenvx run. This is a minimal Docker file that fails to run with the following error:
Error
<EMAIL_ADDRESS>injecting env (21) from encrypted .env.vault
 postgres: could not access the server configuration file "/var/lib/postgresql/data/postgresql.conf": No such file or directory
 Command failed with exit code 2: /usr/local/bin/postgres
 command [postgres] failed

   try without dotenvx: [postgres]

 if that succeeds, then dotenvx is the culprit. report issue:
<https://github.com/dotenvx/dotenvx/issues/new>

Dockerfile
# Use the official PostgreSQL Alpine image
FROM postgres:13-alpine

# Copy the dotenv vault file over to the container
COPY --chown=postgres:postgres .env.vault .

# Install cURL
RUN apk add --no-cache curl
# Install dotenvx
RUN curl -fsS https://dotenvx.sh/ | sh

# Expose the PostgreSQL port
EXPOSE 5432

# Allow remote connections to PostgreSQL from all IP addresses with md5 authentication
RUN echo "host all  all    <IP_ADDRESS>/0  md5" >> /var/lib/postgresql/data/pg_hba.conf

USER postgres

ENV POSTGRES_DB=postgres
ENV POSTGRES_USER=postgres
ENV POSTGRES_PASSWORD=postgres

# hijack the launch of the postgres service to ensure the .env.vault file is decrypted and loaded.
# Remember, you must ensure the DOTENV_KEY environment variable is available to this
# dockerfile at build time. This is the key used to decrypt the .env.vault file.
CMD ["dotenvx", "run", "--", "postgres"]

I have inspected the container and confirmed that dotenvx is installed and available, and that the /var/lib/postgresql/data/postgresql.conf file is indeed present. Why might it be causing Postgres to not find its own configuration file in the default directory? I have tried many variations including passing the config location in manually like this:
CMD ["dotenvx", "run", "--", "postgres", "-c", "config_file=/var/lib/postgresql/data/postgresql.conf"].
I am happy to provide additional info. Thank you.

if you remove the dotenvx run portion in your CMD, does postgres start up successfully?
CMD postgres
(at first glance, it looks like it could be a file permissions issue allowing postgres to access/read that file)

Yep it runs and starts fine without the dotenvx prefix. I should have specified that in my original post. I briefly looked into the execa docs to try and see if there was something happening there that would be causing this, but it is a bit out of my experience zone.

ok, i'll work on duplicating the issue

i'm receiving the same error you are getting without using dotenvx.
example code: https://github.com/motdotla/pgtest

are you sure your /var/lib/postgresql/data/postgresql.conf exists on your machine?

Thanks for digging into this with me. I am running this within my Docker container, so that file wouldn't exist on my local machine. Do you have a way to run my Dockerfile? That is interesting you are also getting that error when you try it on your local machine. I am now wondering if the base image postgres:13-alpine is potentially doing something I don't know about.

Well I eventually got this working after many many hours of frustration. I'm going to close this as I don't have any evidence that it's an issue with dotenvx. But I will leave my solution here for anyone else stumbling onto this issue in the future.
My Solution
I eventually ended up creating a custom ENTRYPOINT file based on the information in this thread: https://github.com/docker-library/postgres/pull/496
For some reason, this seems to work for me when other techniques did not. Here is my pg-custom-entrypoint.sh file:
pg-custom-entrypoint.sh
#!/usr/bin/env bash
set -Eeo pipefail

# Example using the functions of the postgres entrypoint to customize startup to always run files in /always-initdb.d/

source "$(which docker-entrypoint.sh)"

docker_setup_env
docker_create_db_directories
# assumption: we are already running as the owner of PGDATA

# This is needed if the container is started as `root`
#if [ "$1" = 'postgres' ] && [ "$(id -u)" = '0' ]; then
#	exec gosu postgres "$BASH_SOURCE" "$@"
#fi

if [ -z "$DATABASE_ALREADY_EXISTS" ]; then
	docker_verify_minimum_env
	docker_init_database_dir
	pg_setup_hba_conf

	# only required for '--auth[-local]=md5' on POSTGRES_INITDB_ARGS
	export PGPASSWORD="${PGPASSWORD:-$POSTGRES_PASSWORD}"

	docker_temp_server_start "$@" -c max_locks_per_transaction=256
	docker_setup_db
	docker_process_init_files /docker-entrypoint-initdb.d/*
	docker_temp_server_stop
else
	docker_temp_server_start "$@"
	docker_process_init_files /always-initdb.d/*
	docker_temp_server_stop
fi

exec postgres "$@"

And here is my resulting Dockerfile:
Dockerfile

# Use the official PostgreSQL Alpine image
FROM postgres:13-alpine

# Copy the dotenv vault file over to the container
COPY --chown=postgres:postgres .env.vault .
COPY --chown=postgres:postgres pg-custom-entrypoint.sh /usr/local/bin/pg-custom-entrypoint.sh

# Install cURL
RUN apk add --no-cache curl
# Install dotenvx
RUN curl -fsS https://dotenvx.sh/ | sh

# Expose the PostgreSQL port
EXPOSE 5432

# Allow remote connections to PostgreSQL from all IP addresses with md5 authentication
RUN #echo "host all  all    <IP_ADDRESS>/0  md5" >> /var/lib/postgresql/data/pg_hba.conf

USER postgres

# hijack the launch of the postgres service to ensure the .env.vault file is decrypted and loaded.
# Remember, you must ensure the DOTENV_KEY environment variable is available to this
# dockerfile at build time. This is the key used to decrypt the .env.vault file.
CMD ["dotenvx", "run", "--", "pg-custom-entrypoint.sh"]

Thanks for taking the time to try and reproduce this issue. Hope this comment can help others in the future. 👋

ok, glad you were able to solve the issue @frostbytedata. thanks for sharing for others!

Figured out how to do this without creating a custom entrypoint script @frostbytedata.
Use the following as your command: in your compose.yml file (instead of defining it in the image):
command: sh -c "dotenvx run -- /usr/local/bin/docker-entrypoint.sh postgres"
I'll share what else I've learned shortly here: https://github.com/dotenvx/dotenvx/issues/235, once I finish the setup.


add on timezone option on the profile and consider that in the graphs somehow

won't be necessary :)

works like a charm already :+1:


Fix creating clients with unicode service name

This is for a problem identified in boto/boto3#70. The workaround is
simply to call str() on the service name, as is done elsewhere in
Boto 3. This only affects Python 2.
cc @jamesls @kyleknap

+0 on this.  Especially given calls such as session.get_available_services() returns the service names as a str type, there's nothing that I'm aware of in our code base that actually returns unicode service names is there?  However, given it's such a small change, it's not a huge deal to get this in.
:shipit:

@jamesls, loading config from UTF-8 JSON could give you unicode strings that get sent into create_client. I agree it's not super likely but we had a customer using Boto 3 run into this issue.


Feature Req: Thumbs up/down on mini player

OS:
Windows 10
Issue Descriptions:
Not a bug. Feature request. Thumbs Up/Down UI on mini player when mousing over
Steps to Reproduce:
none

PS. Thank you. Been wanting this standalone client for awhile so I can close Chrome but still listen.

Discussed this in many issues, those thumbs buttons are there on radios and not on normal queues, this is just to allow normal queues to have shuffle / repeat controls as most users expect


GEODE-6150: added test (Allow use of client/server max-threads with SSL)

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[*] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[*] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[*] Is your initial contribution a single, squashed commit?

[*] Does gradlew build run cleanly?

[*] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

this PR appears to have been abandoned

@mivanac could you please have a look at this PR again.
Please either close or update for review.

This is PoC. Now I will start working on systematization of solution. Comments are welcome.

@mivanac If this is PoC, would you please convert this to a "draft" PR, that way we can exclude it from explicitly trying to review the work for merger.

New PR created


External monitoring

Need external monitoring to alert when services aren't running as expected.  (Internal monitoring already achieved via Grafana/Cadvisor/Swarmstats).
Monitoring should include the following checks:

Basic Dashboard and Girder access
Ability to launch tales
Detect underlying FS issues (i.e., Nebula read-only errors)
Mongo status
Swarm service status

Have been exploring using the existing Nagios system at SDSC used by NDS and the OMD/Check_MK system hosted and used by ISDA.  Rob has created a WT tenant on OMD, and this seems like the better approach.

Preliminary OMD tenant now available and integrated with NCSA Identity LDAP. Access is limited to  grp_wtops (and cmkadmin user):
https://gonzo-nagios.ncsa.illinois.edu/WT

Leaving this open since I still need to document the OMD integration.

Leaving this open since I still need to document the OMD integration.