Add machine readable output

Closes #10
Example JSON output:
{
  "componentVersions": {
    "nonconformantComponents": [],
    "allProvided": true
  },
  "componentIdentifiers": {
    "nonconformantComponents": [
      "xyz-0.1.0:",
      "xyz-0.1.0:",
      "xyz-0.1.0:"
    ],
    "allProvided": false
  },
  "componentSuppliers": {
    "nonconformantComponents": [
      "xyz-0.1.0:",
      "xyz-0.1.0:",
      "xyz-0.1.0:"
    ],
    "allProvided": false
  },
  "componentNames": {
    "numNonconformantComponents": 0,
    "allProvided": true
  },
  "authorNameProvided": true,
  "timestampProvided": false,
  "dependencyRelationshipsProvided": true,
  "isNtiaConformant": false,
  "sbomName": "xyz-0.1.0"
}

Feedback and suggestions welcome.
The messages data structure that is integral to this codebase meant that this PR introduces functions that parse through messages.
A superior approach perhaps, but one which would have required surgery to the codbase, would be to re-architect the whole codebase via a singleton, object-oriented approach in which data is stored in a class in an organized fashion. This would obviate the need for these "reconstruction" functions. But I think that was too much for this PR. I am glad to re-organize the codebase like I suggest in future PRs, making maintenance easier.

Thanks @jspeed-meyers - changes all look good

@puerco suggested to use the SPDXID instead of the name for all component-related output. Will try to implement.

Upon review, pulling the SPDX ID out is actually more complicated than I thought. The messages list that the code parses to create this output does NOT contain the SPDX ID; it contains the component name. The only way to implement this without awkward contortions is the re-architecture that I alluded to above.
For now, I'll simply open an issue on using SPDX-ID instead of name in machine-readable output. We can potentially address that on another day :) Issue here: https://github.com/spdx/ntia-conformance-checker/issues/25

@linynjosh, feel free to take a look over if you can find the time (at what I what I know can be a busy time, at least in the US). I'll merge this in the middle of next week unless I hear further suggestions or critiques.


introduce global bgp network

Pull Request Description
Describe what this PR does / why we need it
Introduce GlobalBGP Network to provide a cluster-scope BGP IPAM, which can only work with exist BGP Networks.
Does this pull request fix one issue?

For #219
Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report

Merging #240 (2182e50) into main (044aee8) will decrease coverage by 1.98%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
- Coverage   27.41%   25.42%   -1.99%
==========================================
  Files          23       24       +1
  Lines        1674     1805     +131
==========================================
  Hits          459      459
- Misses       1163     1294     +131
  Partials       52       52

Flag
Coverage Δ

unittests
25.42% <0.00%> (-1.99%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/apis/networking/v1/utils.go
56.83% <0.00%> (-13.08%)
:arrow_down:

pkg/ipam/types/constants.go
0.00% <0.00%> (ø)

pkg/utils/ip.go
80.00% <0.00%> (-15.66%)
:arrow_down:

pkg/ipam/types/subnet.go
20.60% <0.00%> (ø)

pkg/apis/networking/v1/ipinstance_types.go
100.00% <0.00%> (ø)

pkg/apis/networking/v1/zz_generated.deepcopy.go
0.00% <0.00%> (ø)

pkg/apis/networking/v1/conversion.go
0.00% <0.00%> (ø)

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 044aee8...2182e50. Read the comment docs.


Update to Laravel 5.1

Changes
Updates Northstar to Laravel 5.1. (Closes #215.) For details on specific changes, see the Upgrade Guide.
How should the reviewer start?
Each change relates to an item in the Upgrade Guide, so I'd recommend skimming through that before reviewing the code changes.
How should this be manually tested?
Double-check that endpoints still function as expected. The PHPUnit test suite remains green. :traffic_light:

For review: @jonuy

Exciting.
I ran phpunit tests plus a handful of tests through Paw with success:

GET, POST, PUT /users
POST /login
POST /logout
POST /user/campaigns/:nid/signup
POST /user/campaigns/:nid/reportback

:+1:


Memory usage

Hello,
Thanks for this code which works great with rspamd!
We are seeing a constant increase in memory consumption.
Have you ever seen this?
Best regards

I can confirm the issue, which apparently comes from Razor2::Client::Agent itself (commenting the $agent->checkit line resolves the crazy memory usage).
However, in case you didn't know, Razorfy usage is deprecated by rspamd, which recommends using razor-check directly (over systemd).

Tanks for your feedback.


Moved MSBuild properties from Directory.Packages.props to Directory.Build.props (#491)

This PR addresses #491.
I had to adjust the .gitignore file too to include the Directory.Build.props file. I also removed Directory.Build.targets from it since this is nothing that is created automatically or temporarily and is created on purpose.

@ardalis Is there any reason why this isn't merged yet? Is there anything left to do for me?

Thanks for the reminder!


Set time

Hi,
Thanks for your library.
Can I set time for how much seconds it takes to animating to next step?

Thanks for using. There is no such property yet. Please give me some time to improve it.


osinfo-db: 20180502 -> 20180514

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/osinfo-db/versions.
These checks were done:

built on NixOS

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

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

found 20180514 with grep in /nix/store/4lgxl3vd6h691mx9hn2znln8idhv5bnn-osinfo-db-20180514

directory tree listing: https://gist.github.com/557cda4c5d9742fc2f03e3eb6c73b7ee

du listing: https://gist.github.com/17de36b5bae99c6d771de2b293c347b5

meta.description for osinfo-db is: '"Osinfo database of information about operating systems for virtualization provisioning tools"'.
cc @bjornfor for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: osinfo-db
Partial log (click to expand)

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

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

Success on x86_64-linux (full log)
Attempted: osinfo-db
Partial log (click to expand)
copying path '/nix/store/3ggafh661509ymq931h74vkrla8mwa2k-osinfo-db-tools-1.1.0' from 'https://cache.nixos.org'...
building '/nix/store/93h00v3gf028nibliwy9dvvj5vvx2rbb-osinfo-db-20180514.tar.xz.drv'...

trying https://releases.pagure.org/libosinfo/osinfo-db-20180514.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 70780  100 70780    0     0  61334      0  0:00:01  0:00:01 --:--:-- 61334
building '/nix/store/4qakvwmffp17w91dwg2amf4zc9yjks1r-osinfo-db-20180514.drv'...
installing
/nix/store/4lgxl3vd6h691mx9hn2znln8idhv5bnn-osinfo-db-20180514

Success on aarch64-linux (full log)
Attempted: osinfo-db
Partial log (click to expand)
building '/nix/store/3qan2424bvayspny5a3q6739b32m0xfc-osinfo-db-20180514.tar.xz.drv'...
copying path '/nix/store/q868dvydy3jc381mbs1j9n2biyrlgpkg-intltool-0.51.0' from 'https://cache.nixos.org'...

trying https://releases.pagure.org/libosinfo/osinfo-db-20180514.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 70780  100 70780    0     0   114k      0 --:--:-- --:--:-- --:--:--  114k
building '/nix/store/q103scgzc6dj74180jirnb94mcw3p5f9-osinfo-db-20180514.drv'...
installing
/nix/store/xm944pqvrdy4zbypw9pvh7ah50d4bwip-osinfo-db-20180514


change onother champs

Describe the solution you'd like
how to change onother champs is very dangerous feed only with 1 champ
Version
v2.3.0
Additional context

You can change the champs in the settings. But it depends on what champs you own on the account and what champs the other players pick.

This should be fixed in the latest release. Champions will be randomly selected based on all available champs in the account.


Replace docker_extract with skopeo copy and umoci unpack

ubuntu:latest is downloaded into $XDG_DATA_HOME/puzzlefs/ubuntu using skopeo copy.
If $XDG_DATA_HOME is missing or it's an empty string, then $HOME/.local/share is used.
Then umoci unpack is used to extract the image into a temporary directory.
Fixes #68

Hm, with this change, when I run 'make check', I get:
mounted /dev/loop40 backed by /tmp/tmp.hXNkHjOxT5 at /tmp/tmp.iBOx98F3Nj

digest: 0f68130ec7b6d1eba27cd64c4dd71aa6e78569cba49ed42e2e3065702c31502c
fusermount3: failed to unmount /tmp/tmp.iBOx98F3Nj/mount: Device or resource busy
thread 'test_fs_verity' panicked at 'assertion failed: res.success()', exe/tests/verity.rs:39:13
stack backtrace:
   0: rust_begin_unwind
             at /rustc/b28d30e1e3c2b90fd08b7dd79d8e63884d1e0339/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/b28d30e1e3c2b90fd08b7dd79d8e63884d1e0339/library/core/src/panicking.rs:64:14
   2: core::panicking::panic
             at /rustc/b28d30e1e3c2b90fd08b7dd79d8e63884d1e0339/library/core/src/panicking.rs:111:5
   3: verity::fuser_umount
             at ./tests/verity.rs:39:13
   4: verity::test_fs_verity
             at ./tests/verity.rs:141:5
   5: verity::test_fs_verity::{{closure}}
             at ./tests/verity.rs:77:24
   6: core::ops::function::FnOnce::call_once
             at /rustc/b28d30e1e3c2b90fd08b7dd79d8e63884d1e0339/library/core/src/ops/function.rs:507:5
   7: core::ops::function::FnOnce::call_once
             at /rustc/b28d30e1e3c2b90fd08b7dd79d8e63884d1e0339/library/core/src/ops/function.rs:507:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
unmounting: /tmp/tmp.iBOx98F3Nj, deleting blockdev /dev/loop40 and backing file /tmp/tmp.hXNkHjOxT5
umount: /tmp/tmp.iBOx98F3Nj: target is busy.
test test_fs_verity ... FAILED

Ah - never mind, the failure was because umoci was in my ~/bin, not in /usr/bin.


Cleanup dangling issues from 64bit merge

Original issue: https://charm.cs.illinois.edu/redmine/issues/1422

CkLocMgr still has some unnecessary or erroneous bits of code that were left over from the 64bit merge. At a quick glance:

CmiUInt8 is still only used for chare arrays and isn't well documented

-The CkLocRec hash table is poorly hashed after switching the key from CkArrayIndex to CmiUInt8
-Some fault tolerance code still seems to be using CkArrayIndex where it shouldnt. See createLocal() in cklocation.C
-Since all records are now local, flushLocalRecs() and reclaimRemote(...) in cklocation.C may be no longer needed at all.

Original date: 2017-02-15 23:29:20

~~https://charm.cs.illinois.edu/gerrit/#/c/2250/~~ https://github.com/UIUC-PPL/charm/commit/af8d6cccdc241ab003c7cd759e57e3a9ad5a5b13 is being implemented to address the poor hashing issue for CmiUInt8.

Original date: 2017-02-15 23:55:49

inform(CmiUInt8, CkArrayIdx, int) and inform(CmiUInt8, int) do completely different things and it is undocumented as to why even though they would seem to have the same purpose.


Feature request: Tail more of a container's log

Rancher versions:
rancher/server: v1.6.7
One of the most common operations I do is viewing the log a container. Most of the time to find errors. Today only a few lines of the log are visible so if there is a long stack trace it is not possible to see the root cause.
I would like to be able to enter a number and have that amount of tail of the log, similar to docker logs --tail 1000 my_container.
This request is similar to #5794 but with a tail instead of seeing all log (which I think is unpractical). In  #5794 it is suggested that you go to the host. However, that would require you to find the private, key, ssh into the host, find the correct container id, do a docker logs --tail | less etc. That seems like a lot of work to do one of the most common operations in troubleshooting a container. Rancher is on a mission to make it easier to run containers, and having this feature I think would make it easier than doing all of the aforementioned steps manually.

hi @jonaskello , looks like the rancher cli provides this functionality.
Fetch the logs of a container

Example:
  $ rancher logs web

Usage: rancher [global options] logs [OPTIONS] [CONTAINERNAME CONTAINERID...] or [SERVICENAME SERVICEID...]

Options:
   --service, -s     Show service logs
   --sub-log         Show service sub logs
   --follow, -f      Follow log output
   --tail value      Number of lines to show from the end of the logs (default: 100)
   --since value     Show logs since timestamp
   --timestamps, -t  Show timestamps```

Yes that --tail the option is exactly what I would like to have in the UI!

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


[Branch release/2.2] buildbootstrapcli.sh failed on Linux

mkdir -p aosc.5-x64/dotnetcli # Workaround
./buildbootstrapcli.sh -release -rid aosc.5-x64 -os Linux -seedcli ~/dotnet

/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:435:12: error: 'sk_ASN1_OBJECT_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_ASN1_OBJECT_num(eku);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:451:12: error: 'sk_ASN1_OBJECT_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_ASN1_OBJECT_value(eku, loc);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:602:29: error: 'sk_GENERAL_NAME_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            for (i = 0; i < sk_GENERAL_NAME_num(altNames); ++i)
                            ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:604:41: error: 'sk_GENERAL_NAME_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
                GENERAL_NAME* altName = sk_GENERAL_NAME_value(altNames, i);
                                        ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:649:25: error: 'sk_GENERAL_NAME_free' was marked unused but was used [-Werror,-Wused-but-marked-unused]
                        sk_GENERAL_NAME_free(altNames);
                        ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:655:13: error: 'sk_GENERAL_NAME_free' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            sk_GENERAL_NAME_free(altNames);
            ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:863:21: error: 'sk_GENERAL_NAME_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
        int count = sk_GENERAL_NAME_num(san);
                    ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:867:38: error: 'sk_GENERAL_NAME_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            GENERAL_NAME* sanEntry = sk_GENERAL_NAME_value(san, i);
                                     ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:947:21: error: 'sk_GENERAL_NAME_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
        int count = sk_GENERAL_NAME_num(san);
                    ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:951:38: error: 'sk_GENERAL_NAME_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
            GENERAL_NAME* sanEntry = sk_GENERAL_NAME_value(san, i);
                                     ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1015:12: error: 'sk_X509_num' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_num(stack);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1031:12: error: 'sk_X509_value' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_value(stack, loc);
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1043:5: error: 'sk_X509_pop_free' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    sk_X509_pop_free(stack, X509_free);
    ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1169:12: error: 'sk_X509_new_null' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_new_null();
           ^
/root/source-build/scripts/bootstrap/aosc.5-x64/corefx/src/Native/Unix/System.Security.Cryptography.Native/openssl.cpp:1190:12: error: 'sk_X509_push' was marked unused but was used [-Werror,-Wused-but-marked-unused]
    return sk_X509_push(stack, x509);
           ^
15 errors generated.
make[2]: *** [System.Security.Cryptography.Native/CMakeFiles/objlib.dir/build.make:76: System.Security.Cryptography.Native/CMakeFiles/objlib.dir/openssl.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:471: System.Security.Cryptography.Native/CMakeFiles/objlib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Failed to build corefx native components.

ebfa978

We're not currently working on these scripts.  Marking as "up for grabs".

[Triage] Closing as obsolete - buildbootstrapcli.sh no longer exists.


04/08/2018 23:55 : Create Pull Request for branch prTesting_2018040823 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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.


pythonPackages.python-miio: 0.5.8 -> <IP_ADDRESS>

Motivation for this change
The miio integration in home-assistant is broken with the current version. These changes works as a override in my setup.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build home-assistant

Anything I need to do here to move this forward?

Rebased on master, the patch is now smaller. cc @fabaff


[Storage] Fix Storage CredScan warnings and update baseline

This change fixes all of the Storage CredScan warnings that were for test encryption keys in test files. Fixed by switching to use existing keys in Storage fake_credentials.py file that is already suppressed.
Also removed these warnings from the baseline and removed a bunch of old Storage warnings from the baseline for recoding files that no longer exist. No more Storage suppressions in the baseline!

API change check
API changes are not detected in this pull request.


YouTube subtitles only download is BROKEN

Please delete this comment / question it was created here by mistake

show a verbose log

show a verbose log
can you please delete this thread, I am unable to. thanks


python311Packages.meross-iot: <IP_ADDRESS> -> <IP_ADDRESS>

Diff: https://github.com/albertogeniola/MerossIot/compare/refs/tags/<IP_ADDRESS>...<IP_ADDRESS>
Changelog: https://github.com/albertogeniola/MerossIot/releases/tag/<IP_ADDRESS>
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 264598 run on x86_64-linux 1

4 packages built:

python310Packages.meross-iot
python310Packages.meross-iot.dist
python311Packages.meross-iot
python311Packages.meross-iot.dist


[BEAM-124] Flink and Spark running Examples WordCountIT

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @mxm @amitsela
Hey Max, Amit.
Looking for some feedback on this pull request. The purpose is to remove the dependencies of Spark and Flink runner on Beam to enable them to run the WordCountIT in examples, as Dataflow currently does. As things were in the codebase, both Spark and Flink depended on examples for some of the code in WordCount.java and TfIdf.java. In the Flink case I've removed the tests; in the Spark case I've just added the code in. I'd love to hear your guys' thoughts on what the right thing to do is going forward.
The benefit we get from this is that this is where the new End-to-End tests seem to be going, such that they can be written in a runner-agnostic way and then run just by flipping a few flags (for example, see the commands below for running this test). Let me know your thoughts!
mvn clean verify -pl examples/java -am -rf :java-examples-all -DskipITs=false -DintegrationTestPipelineOptions='[ "--tempRoot=/tmp", "--inputFile=/tmp/kinglear.txt", "--runner=org.apache.beam.runners.spark.SparkPipelineRunner", "--sparkMaster=local" ]'
mvn clean verify -pl examples/java -am -rf :java-examples-all -DskipITs=false -DintegrationTestPipelineOptions='[ "--tempRoot=/tmp", "--inputFile=/tmp/kinglear.txt", "--runner=org.apache.beam.runners.flink.FlinkPipelineRunner" ]
mvn clean verify -pl examples/java -am -rf :java-examples-all -DskipITs=false -DintegrationTestPipelineOptions='[ "--tempRoot=gs://clouddfe-testing-temp-storage", "--runner=org.apache.beam.sdk.testing.TestDataflowPipelineRunner" ]'
Jason

I think this is the right way to go. In #343 I'm also removing these two examples because all RunnableOnService tests will be executed on Flink with those changes.

I generally agree with @aljoscha and once https://github.com/apache/incubator-beam/pull/294 is done, and RunnableOnService tests will cover those use cases, they might be removed from Spark runner tests as well.
@davorbonaci your thoughts on the examples pom.xml ?

Hi @jasonkuster! +1 for enabling end-to-end tests for all Runners. A couple questions: I wonder why do you remove a Flink TfIdf integration test and add one for Spark? ☺ Presumably because the RunnableOnService tests are not yet integrated with the Spark Runner?

Hey @mxm! I removed in Flink and added in Spark just to see what the two different methods of resolving the dependency issues would look like. I'm happy to do either for either one, but based on the above comments it looks like the RunnableOnService tests are in process on both Spark and Flink, so once those are done and in it sounds like the right thing to do is just to remove the offending tests. I'm flexible though - my goal is just to get the E2E tests running everywhere. :smile:

(should be rebased, given relevant changes to the pom.)

@jasonkuster The RunnableOnService tests are integrated with the Flink Runner for batched execution. So removing batch examples is fine. The streaming side still needs side inputs to support the tests.
+1 for merging from my side (needs rebasing though)


facing error

I tried to use the transformer directly, but I ran out of memory. So, I attempted to load the transformer in 4-bit precision, but it gave me an error due to missing arguments.
here code and error
code -
!pip install --upgrade transformers bitsandbytes accelerate
from transformers import AutoTokenizer, AutoModel
import torch
import os
offload_folder = "/content/drive/MyDrive/text_to_song"
Set environment variable before importing PyTorch
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "expandable_segments:True"
from transformers import AutoTokenizer, AutoModel, BitsAndBytesConfig
import torch
import os
Offload folder for weights
offload_folder = "/content/sample_data/offload_weights"
Set PyTorch environment variable
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "expandable_segments:True"
Define 4-bit quantization configuration
quantization_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_use_double_quant=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_compute_dtype=torch.float16
)
Model checkpoint path
ckpt_path = "Mar2Ding/songcomposer_sft"
Load tokenizer
tokenizer = AutoTokenizer.from_pretrained(ckpt_path, trust_remote_code=True)
Load model with 4-bit quantization
model = AutoModel.from_pretrained(
ckpt_path,
device_map="auto",
offload_folder=offload_folder,
trust_remote_code=True,
quantization_config=quantization_config
)
Confirm device
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model.to(device)
Prepare inputs
prompt = 'Create a song on bravery and sacrifice with a rapid pace.'
inputs = tokenizer(prompt, return_tensors="pt").to(device)
Generate tokens step-by-step
with torch.no_grad():
generated_tokens = model.inference(
inputs["input_ids"],
pad_token_id=tokenizer.eos_token_id,  # Prevent pad/eos token conflicts
)
Decode and print output
output = tokenizer.decode(generated_tokens[0], skip_special_tokens=True)
print(output)
error -
TypeError                                 Traceback (most recent call last)
 in <cell line: 29>()
27 prompt = ' Total 7 lines. The first line:可,,<137>,<79>|惜,<D#4>,<137>,<79>|这,,<137>,<88>|是,,<121>,<79>|属,,<121>,<79>|于,<D#4>,<214>,<88>|你,<D#4>,<141>,<79>|的,,<130>,<79>|风,,<151>,<79>|景,<A#3> ,<181><137>,<79>\n'
28 inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
---> 29 outputs = model.generate(**inputs, max_new_tokens=50)
30 result = tokenizer.decode(outputs[0], skip_special_tokens=True)
31
16 frames
/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py in _call_impl(self, *args, **kwargs)
1745                 or _global_backward_pre_hooks or _global_backward_hooks
1746                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1747             return forward_call(*args, **kwargs)
1748
1749         result = None
TypeError: Linear4bit.forward() takes 2 positional arguments but 3 were given

I did some digging into this. It looks like a version issue.
Try this:
python -m pip install bitsandbytes==0.41.0 --prefer-binary --extra-index-url=https://jllllll.github.io/bitsandbytes-windows-webui

pip install torch==2.0.1 torchvision==0.15.2 --index-url https://download.pytorch.org/whl/cu118

I appreciate your help it worked,
but can this generate song in audio format?
i am asking this because when I run above code its generates text file only so if you have the programme to generate an audio song please help me with it


Update BINDINGS.md

Raylib VAPI has been updated to support all features added by Raylib 5.0.
A more object oriented wrapper library is being worked on, very excited to merge once done!

@lxmcf thanks for the update!


Add essential task icon for Files

Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Closes #16320

Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

Open Files
Open Task Manager
The process now has an icon. NOTE: This icon is located at \src\Files.App\Logo.ico and it should always be replaced with the icon of the version launched to the public or as an insider build.

Why is this important?
In order for users to find Files more easily and be more comfortable with the app, the task should have an appropriate icon.

Expanded view for better reference (same thing: above is the latest Insider build, below is the build in this pull request)

@IviriusMain congrats on your first pull request! Thank you!


PON gCNV resources

Hi,
Many thanks for making this available. I was wondering if you are able to provide the PON resource files e.g. the contig ploidy priors for the GATK cCNV calling.
resources/hg19/PoN/gCNV/20190414_WES
Kind regards,
Sam Kleeamn

Dear Sam,
I am sorry that it is not possible for us for to share a PoN in the form we are currently using it, due to legal reasons. We are working on an aggregated and summarised version, void of low frequencies, that could maybe share in the future.
Thank you for your interest in our work.
Best regards,
Frederik

Many thanks for the rapid response. Please can you share the contig ploidy priors at least?


Add python 3.8 support

Adds support for python 3.8. An additional dependency backports.zoneinfo has to be introduced for python<3.9 to replace the stdlib zoneinfo module introduced in 3.9.
We'll have to watch out and use from __future__ import annotations if we ever add type hints using list[T] or dict[K,V].

Good idea, I tested the bot with python 3.8.10, python 3.9.10 and even python 3.10.2 and everything works fine. 👍


Search box doesn't work

Hey guys, when i try to use the code for the search box from the docs(exactly as it is in the docs), i get an error saying
"Uncaught Error: Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue."
Does anyone have any ideas as to how to solve this?

If you're using React version 16 then it currently doesn't work https://github.com/tomchentw/react-google-maps/issues/640

i probably am, it's a small project i started a couple of days ago. Guess i'll just wait till the next update. Thanks Micheal Brooks

Any update on this? :o

Released v9.1.0

I'm having the same issue with my project, and it using react version 17.0.1; Is there any solution for this bug? Please help me with this problem.

@Littlewiz123 The repo of this project is unmaintained more than 3 years, and we had build new version https://www.npmjs.com/package/@react-google-maps/api
We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
You can enjoy autocomplete.
You can see our docs: https://react-google-maps-api-docs.netlify.app
Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.app/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples
The bundle size is much smaller: https://bundlephobia.com/result?p=@react-google-maps/api
Our Spectrum community: https://spectrum.chat/react-google-maps
Our Slack channel: https://join.slack.com/t/react-google-maps-api/shared_invite/enQtODc5ODU1NTY5MzQ4LTBiNTYzZmY1YmVjYzJhZThkMGU0YzUwZjJkNGJmYjk4YjQyYjZhMDk2YThlZGEzNDc0M2RhNjBmMWE4ZTJiMjQ
Enjoy!


chore: use goimports for import grouping

Changed by running goimports -local github.com/Azure/azure-workload-identity -w .
fixes #724

Codecov Report

Merging #809 (4d5fa8a) into main (b0a9152) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #809   +/-   ##
=======================================
  Coverage   50.92%   50.92%
=======================================
  Files          36       36
  Lines        2370     2370
=======================================
  Hits         1207     1207
  Misses       1116     1116
  Partials       47       47

Impacted Files
Coverage Δ

pkg/cmd/serviceaccount/delete.go
50.00% <ø> (ø)

pkg/cmd/serviceaccount/root.go
0.00% <ø> (ø)

pkg/cmd/version/root.go
18.18% <ø> (ø)

pkg/kuberneteshelper/serviceaccount.go
77.41% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Dynamic property relationships on Eloquent model from route model binding return null

This used to work in Laravel 5.2. Ever since I'm working on upgrading my app to 5.3 I've stumbled upon this particular problem.
Forgive me for not writing out an exact minimal test case scenario, because I located the problem down to this point and I think it's clear enough for you guys to understand it with a bit of PHP code made up on the fly.
Let's say I have an app that shows a list of games (like football game matches). Each game belongs into one league.
class Game extends Model
{
    public function leagues()
    {
        return $this->hasOne(League::class);
    }
}

class League extends Model
{
    public function games()
    {
        return $this->hasMany(Game::class);
    }
}

Simple, right? In the database, games has a field league_id. Elementary stuff.
The problem I'm having is Eloquent's dynamic properties to access relationships don't work on models injected through (implicit) route model binding anymore since the 5.3 update. In my case, I can't do $game->league->id anymore because the league dynamic property is (or returns) null. If I grab the Game object manually through Game::find($id), then I can do the aforementioned action and access $game->league->id like normal.
Here's some example code to show you what I mean:
// routing
Route::get('games/{game}/status', function (App\Game $game) {
	dd([$game, $game->league]);
});

Outputs in 5.3: [Game instance], null
Outputs in 5.2: [Game instance], [League instance]
Expected: [Game instance], [League instance]
If I change the routing to this:
Route::get('games/{game}/status', function (App\Game $game) {
	$game = Game::find(1); // disregard the whole injected model, just grab it from the database
	dd([$game, $game->league]);
});

Outputs in both 5.3 and 5.2: [Game instance], [League instance]
I hope my explanation is clear enough. :)
Could be a bug, could be something that I'm doing wrong. It goes without saying that I've read the 5.3 upgrade guide, the updated documentation for both Eloquent relationships and routing and skimmed through a few dozen of commits to see if I missed anything. Alas, I can't seem to find the problem myself.

Looks like you forgot to add our binding middleware as stated in the upgrading guide.

Welp, it looks like I did. My apologies and thanks for the swift reply.


Default group should be the group specified by the attributes

If you try and change the group sensu, the sensu processes can't read any of the files since they always default to the 'sensu' group. This fixes that issue.

@joshgarnett thanks for rebasing!
In testing your change I've found that this implementation isn't effective in 100% of cases. I believe this is because the value of node['sensu']['group'] will be evaluated at the time the cookbook code is loaded, so we may not see the expected group ownership after convergence due to load order, etc.
I think this probably needs to be lazily evaluated inside the provider.


useTable, useRowSelect hook, cellFunction

after last commit where Child -> ReactNode my code didn't work. Please help, how convert it to ReactNode
In columns array i try to get check column, before update that code works:
column<String> {
                id = "check"
                accessorFunction = { it.openmat_id.absoluteValue.toString() }
                cellFunction = {cell ->
                    styledImg {
                        attrs {
                            cell.row.getToggleRowSelectedProps()
                            src = if (cell.row.isSelected)
                                "check-icon.png"
                            else
                                "uncheck-icon.png"
                        }
                        css {
                            minWidth = 24.px
                        }
                    }
                }

now it TypeMismatch, need ReactNode, found Unit.

Parent builder abuse was fixed/locked :)
Solution - use buildReactElement (it was right solution at start)
column<String> {
    id = "check"
    accessorFunction = { it.openmat_id.absoluteValue.toString() }
    cellFunction = { cell ->
        buildReactElement {
        styledImg {
            attrs {
                cell.row.getToggleRowSelectedProps()
                src = if (cell.row.isSelected)
                    "check-icon.png"
                else
                    "uncheck-icon.png"
            }
            css {
                minWidth = 24.px
            }
        }
        }
    }
}

cc @sgrishchenko @aerialist7

Thanks a lot

Maybe we need to add useful overloads for render props in react-table? I think it is no very convenient for users to write buildReactElement everywhere. And to be honest I think buildReactElement should be internal API, not public.

No overloads required, it can be fixed by 1-2 function adapters


Include code flows in finding description when importing SARIF

Each finding in a SARIF file can contain a codeFlows property that can refer to multiple source code locations relevant to the finding. SAST tools often use this property to document how data flows from input to output.
Currently, the SARIF parser discards all of this information when building a finding. It includes only the location in the locations property.
As a developer investing a finding, having the full data flow makes it much easier to triage an issue. Without it, developers have to determine from potentially many execution flows which one exhibits the reported vulnerability. Having the information in the description would immediately identify the code flow that requires investigation.

@kdyck-cb this is a long term enhancement I wanted to introduce in Dojo. make the file+path something outside findings.
This way you can have 1..n relation between the file and the finding.
The code flow could be an attribute of the relation between the file and the finding. This modification is hard to implmeent according to the other core project members.


Set default flag on font variables

I've had an issue open on govuk_template regarding the NTA font not containing international characters. I've been provided with a new font, "nta-extended", which contains a bigger character set. However, I can't override the font in the toolkit as when importing _typography.scss it imports font_stack, setting the font back to the standard "nta". By using the !default flag, the font can be overwritten before importing the toolkit sass files, and it won't be set back to "nta".

Adding for context:
This is similar to a PR I raised but didn't follow up on: https://github.com/alphagov/govuk_frontend_toolkit/pull/230
The difference with this branch is a change in name of the font-stack variable to be a bit more explicit, which becomes the thing that apps can edit.

Is there a way we can include nta-extended in the toolkit, as an opt-in?

@fofr it would be good to get nta-extended into the toolkit, but I'm out of date with how the font gets pulled in, and from where. I've got the font file, so suggestions and help welcome.

I'd advocate the approach in #230.
The fonts are kept in the govuk_template as .eot files and .woffs (which are embedded into the stylesheet with base64) so we'd need to add nta-extended there I think.

#230 looks like a better solution. Sorry, I didn't check through the closed PRs before opening this one.

I've re-opened #230, closing this one in lieu.
Thank you for prompting this @daveraine :smile:

@fofr Awesome, thanks :+1:


Update Razor to 1.0.0-alpha3

At a high level this update adds support for:

ASP.NET Core 3.0 preview 4 support
Razor Components
Blazor
TagHelpers
Razor diagnostics
Report an issue wizard
More OS platform support
Lots of bug fixes

Note: For the ASP.NET Core 3.0 preview 4 support it requires OmniSharp-Roslyn >= 1.32.14 for most setups
I'll work on updating the test plan for Razor after this PR.
/cc @rchande @akshita31 @danroth27

👏👏👏

For this to function properly on Mac/Linux it also requires https://github.com/OmniSharp/omnisharp-roslyn/pull/1450

This good to go?

One other note, this payload no longer reports target framework in telemetry.


Allow gitlab.com as cookbook source

Former implementation allowed github, but failed on gitlab.
Cc: @aboten

+1

@Annih you are collaborator on the repo so you can publish a new version


Cesium Inspector Roadmap

Create a new widget that will ultimately replace the Terrain Inspector app.  Do not use Dojo.
Phase One

[x] Click on primitive to show bounding sphere(s) (debugShowBoundingVolume)
[x] Click on primitive to show modelMatrix reference frame (DebugModelMatrixPrimitive)
[x] Click on primitive to draw only it (Scene. debugCommandFilter)
[x] Option to show FPS (PerformanceDisplay).  Make sure the size isn't too small.
[x] Option to color-code commands based on the frustum (Scene.debugShowFrustums)
[x] Option to show number of commands executed in one, two, or more frustums (Scene. debugFrustumStatistics)
[x] Terrain Inspector features

Phase Two

[ ] Adjust frustums, e.g., switch from one to multiple frustums
[ ] Ability to disable DrawCommand culling, e.g., as if all commands had boundingVolume === undefined.
[ ] Display if translucency is OIT MRT, OIT Multipass, or Alpha blending.
[ ] Display drawing buffer width and height.
[ ] Option to color-code individual commands (Scene.debugShowCommands)
[ ] HUD with terrain stats
[x] Improve PerformanceDisplay.  #1350
[x] Ability to change resolution scale (good for testing fill rate). #1678, Browsers debuggers support this now.

Phase Three

[x] Model debugging.  Show stats.  Show wireframe (Model.debugShowWireframe).  See @pjcozzi
[x] Click on a model, show and play its animations and other metadata.

Phase Four

[ ] Show what WebGL extensions are in use.
[ ] Option to freeze the frame, but still move the camera around to investigate culling, etc.
[ ] Option to visualize vertex attributes similar to (or instead of) createTangentSpaceDebugPrimitive.
[ ] Option to turn primitives to wireframe (not sure how yet).
[x] Option to show all shaders in the shader cache and allow us to edit them (as opposed to editing the orginial .glsl files).  Firefox now has a tool for this.

TBA

[ ] Write a short tutorial on how to integrate the widget and use the app
[ ] Consider a hot key or Chrome Extension to make this painless to bring up.

This is unlikely to become a priority anytime soon. We'd still happily accept a PR addressing this issue. But tracking this isn't particularly useful because of its low priority, so I will close it. Thanks!


instruction wording udpated

i was finding it hard to understand the instructions on first pass. i believe this edit preserves the intended message while making it a bit easier to read. also corrected a typo.

Thanks, this has been subsumed by: https://github.com/input-output-hk/cardano-node/pull/2442


Add Fabric keys to BuddyBuild

Rob suggested using environment variables to build with our Fabric keys.
Look into dis.

No longer using Fabric. Closing.


Checking for ffmpeg twice

[x] I've verified and I assure that I'm running youtube-dl 2018.09.01

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[x] Question
[ ] Other

When running youtube-dl (without any parameters) it always checks ffmpeg and ffprobe versions twice.
07:10:23.367241     25388 /usr/bin/python /usr/local/bin/youtube-dl
07:10:23.459397       25389 /sbin/ldconfig -p
07:10:23.549655       25390 stty size
07:10:23.582957       25393 ffmpeg -version
07:10:23.634771       25394 ffprobe -version
07:10:23.687911       25397 ffmpeg -version
07:10:23.734922       25398 ffprobe -version

I think it's useless to check versions of binaries twice.
I'd be happy with a --force-ffmpeg-version=4.0.2 parameter, for skip checking binaries on every run. (I run a dozens of youtube-dl per one second)

If you run it without any parameters it should not check anything. If you run it with -v it will check each executable once for debug output. It may output it twice due to avconv/avprobe symlinked to ffmpeg counterparts on your OS. Read issue template and provide complete verbose log along with strace output.

Ok, i have a /etc/youtube-dl.conf which contains
--add-metadata --embed-thumbnail
parameters. Each of them checking for ffmpeg once. Can it be one check at all? Or no check at all with a parameter?


Things to do in 3.0

This issue is to track a repo wide impacting changes:
Remove the compatibility switches

[ ] Remove compat switch for Enum DataAnnotation localization. In #7748 we decided to fix the fact that Enum localization didn't use DataAnnotationLocalizerProvider behind a compat switch because it was a breaking change. For 3.0.0 we should remove that compat switch and only support the new behavior (usage of DataAnnotationLocalizerProvider).

Remove all the obsolete methods

[ ] See https://github.com/aspnet/Mvc/issues/6497

Unit testing cleanup

[ ] Make ControllerBase.User virtual for unit testability.

This looks like the uber-issue for 3.0 😈 But, do we have an issue covering removal of [Obsolete] types and members?
I see #7382 but nothing that covers all of the ~38 [Obsolete] members e.g. the many old constructor overloads in input formatters and model binders or the ActionResult.ExecuteResult(...) overrides.


Term signal

Overview
This pull request changes raft so that term changes are made immediately and term change signals are made afterward. Previously, election timeouts were invalidated by incoming term changes which caused an election loop.
Stale term was also fixed and http/pprof was added too.

+1


fix(cors): fix cors / remove headers no longer needed

Just testing out @shindigira's good PR over here on AWS, and I was hitting some CORS errors. Talked with @jcadam14 a bit, and I think removing the custom headers on the POST will as Alex would say "feed two birds with one scone."

We don't need these custom headers anymore (user info is pulled from keycloak and the subject line is handled by the backend)
CORS woes

It's possible we'll want to re-introduce custom headers for something (maybe user name for the Complete User Profile, if we don't go the route of updating it in Keycloak first), but for now we don't need them.
Closes #270
Changes

removes unnecessary headers causing CORS issues

How to test this PR
I set up the institutions db / keycloak so that you can test it on the preview site, and it's set to include this Phase 2 Sigmund PR as well.

Navigate to the preview site
Log in
See the email-to-case Complete user profile form
Fill it out and submit it
See the success screen

(depending on how it's set up when you test it, someone will get an email, currently me but @jcadam14 can check it/change that)
Screenshots
Before the PR, CORS errors

After the PR, no CORS errors and success

Example email sent from the backend

Notes

If we decide to add back some custom headers later, I think just watch out for the allowed_headers?

Heyo @shindigira! I wanted to keep the diff really small so as to not step on the toes of your other PR, but I'm happy with the changes if you are. 👍

This PR should make it easier to use custom headers in our testing in the future.
https://github.com/cfpb/regtech-mail-api/pull/21#pullrequestreview-1898720404


Version 1.3.2 crashing on startup

I don't know if this might be related to the fact that I was using a beta version before updating, but version 1.3.2 crashes on launch for me on OS 10.9.5.  Are there some preference files I need to remove?
Crash log is here:
https://gist.github.com/ccampbell/fb2279c86feb6325c823

What a major oversight! I didn't realize the method I used was introduced in 10.10. This is now fixed in 563c57d and will be pushed out very shortly.

Thank you!

And now version 1.3.3 is out!

1.3.3 crashes on me. Could it be because I'm on 10.8.5?

Same issue for me, and I'm on 10.8.5 as well.

I believe it is 10.8 related, I will try to look into this as soon as I can.

+1


lighting tecnology bug

When you use the Future mode in some games, everything looks very shiny as if it were a neon:

And if you use it in automatic mode, it looks good without any problem:

That's just... that's what future lighting does...


Add search (filter) for an specific Integration on Homepage's Integrations section

Description
This PR fixes #1798
Notes for Reviewers
Signed commits

[X] Yes, I signed my commits.

@vishalvivekm can you please review this PR ?

@shubhusion Thanks for your contribution, let's discuss this on the website's call. Please add this as an agenda item to the meeting minutes. The call is scheduled for Monday at 5:30 PM IST.

@shubhusion Thanks for the words!

@Ashparshp can you review this PR ? Earlier @hargunkaur286 had reviewed it.

@vishalvivekm required changes has been made.

I found several issues while reviewing your PR. I'm not sure if these are only happening on my end.
Screencast from 2024-08-12 09-50-39.webm
I am not able to see the cursor icon on the button and can only click certain areas on the buttons below. Other issues are mentioned in the video. Also, the gap between buttons is different from our previous one.
I am using Firefox for testing.

I found several issues while reviewing your PR. I'm not sure if these are only happening on my end.
Screencast from 2024-08-12 09-50-39.webm
I am not able to see the cursor icon on the button and can only click certain areas on the buttons below. Other issues are mentioned in the video. Also, the gap between buttons is different from our previous one.
I am using Firefox for testing.

@amitamrutiya i have made no modifications in buttons. My task was to add a search filter above the icons.

I think this PR makes the above mentioned changes.

I think this PR makes the above mentioned changes.

@amitamrutiya buttons are working for me.
spacing and other issues i will rectify
https://github.com/user-attachments/assets/18dc38fd-2ac0-4ef6-adf3-b1ccb2327225

@amitamrutiya all issues you raised have been rectified.

@vishalvivekm @sudhanshutech please review this pr

LGTM! We can fix those issues as well, as @amitamrutiya pointed out. However, let's address only the ones that have been modified for now. We can proceed with the PR if @shubhusion is not going to work on the fix. @amitamrutiya, you can take up the rest in a separate issue if you'd like.
@shubhusion thoughts?

@Ashparshp The issues pointed out by @amitamrutiya have been rectified in the last two commits.

Thank you @shubhusion.

@hargunkaur286 can you please review this pr ?

@shubhusion, I'm adding this as an agenda item to the meeting minutes. Please join the evening call and let's take it forward.


Update Composer dependencies (2021-04-26-00-04)

Visual regression test passed!
View the visual regression test report


Issue a warning when not using lxml (and a new release of OWSLib)

It seems that not all the functionalities will work when lxml is not present.  It would be nice to issue a warning when OWSLib falls back to the default etree.  (See https://github.com/USGS-CIDA/pyGDP/issues/120)
PS: The bug fix https://github.com/geopython/OWSLib/commit/6f40078e0624079e266e00181b09e76c7956e733 is not in the 0.9.0 version.  We could use a new release of OWSLib :wink:

@ocefpaf thanks for the info.  OWSLib 0.9.1 released as per #278.

@ocefpaf I think this issue is downstream of OWSLib.  In your case, it is pyGDP which is depending on lxml semantics.  Issuing a warning in OWSLib would not be valid in this case, as OWSLib is guaranteed to work without lxml.
You can check which etree OWSLib is working with by a utlilty test like:
from owslib.etree import etree

def which_etree():
        """decipher which etree library is being used by OWSLib"""
        which_etree = None

        if 'lxml' in etree.__file__:
            which_etree = 'lxml.etree'
        elif 'xml/etree' in etree.__file__:
            which_etree = 'xml.etree'
        elif 'elementree' in etree.__file__:
            which_etree = 'elementtree.ElementTree'

        return which_etree

Alternatively https://github.com/geopython/OWSLib/blob/master/owslib/etree.py can be update to include logging.  Pull requests welcome.

@ocefpaf I think this issue is downstream of OWSLib.

Makes sense.  If etree not quacking like a lxml is not a problem for OWSLib, than the type checking should happen in pyGDP.
Thanks for the release.

@ocefpaf FYI I've since added this in #279 as a convenience function in master branch.


VS2022 nmake build fails with broken udpUuid.h file

Compilation error:
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\malloc.h(43): error C2054: expected '(' to follow 'unknown'

Cause is generated udpUuid.h file
#define VFS_VERSION_UUID \
git-232c3d8f088d31614001f2b816c3c8d3ab2e18f4
unknown

The problem was both clauses of the if in makefile.vc that generates the git id were being executed. I could not figure out why. The DOS batch file syntax is one big mystery.
The problem only manifests if there is not already a manifest in the source root.
Pull request #2 has a proposed fix.

I incorporated the fix.

Thanks.


GooglePlacesSearchQuery vs. query

Thanks for the package and work on this.  I'm a little confused as to how to use this with my project so wanted to ask for help here.
Can someone explain to me the difference between query and GooglePlacesSearchQuery and how to use them? I've been trying to get search results limited by type to 'bar' and nothing seems to be working.  What is the difference between the type prop in query and the type (or types?) prop in GooglePlacesSearchQuery?  I've been trying to find explanations and have had no luck.
I want to get a list of places not only if the user searches by address or business name, but by keyword, i.e. if they put 'bar' into the search input.  Currently I do not get a relevant list of results from entering the word 'bar' or 'bar near city name'.  The results seem unrelated and include places that are temples among other things, and not bars.  Can anyone point me in the right direction?

@FaridSafi - Could we get some insight on this?
In my current project, I'm looking to allow user input for placetypes, as well as business names.
(I.e. Ideally, a user can enter "cafe", "coffee", or "Starbucks", and the AutoComplete will return a list of relevant options.)

CurrentLocation and  predefinedPlacesAlwaysVisible props has to be true. Pressing the CurrentLocation shows the results

Can someone explain to me the difference between query and GooglePlacesSearchQuery and how to use them?

The GooglePlacesSearchQuery is used when currentLocation={true} and nearbyPlacesAPI='GooglePlacesSearch'.
In that case, we are calling a different API, so the query is a little different. See the Google docs for more details and options.
The query prop is used for regular text search.  See the Google doc here for more on that.
There is query, GooglePlacesDetailsQuery, GooglePlacesSearchQuery, and GoogleReverseGeocodingQuery.  More on how it all works below.

Currently I do not get a relevant list of results from entering the word 'bar' or 'bar near city name'.

This is not possible right now with the library.  This might be added in the next major version.
The Google Places Query Autocomplete API would cover this.

This is pretty confusing, and we need proper docs for this.
Here is the breakdown of the Google APIs and how they are used in the library, to the best of my understanding.
Google Provides a bunch of web APIs for finding an address or place, and getting it’s details.
There are the Google Places Web APIs (Place Search, Place Details, Place Photos, Place Autocomplete, Query Autocomplete) and the Google Geocode API .
The are 5 Google Places APIs:

Place Autocomplete - automatically fills in the name and/or address of a place as users type.
Place Details - returns more detailed information about a specific place (using a place_id that you get from Place Search, Place Autocomplete, or Query Autocomplete).
Place Photos - provides access to the millions of place-related photos stored in Google's Place database (using a reference_id that you get from Place Search, Place Autocomplete, or Query Autocomplete).
Place Search - returns a list of places based on a user's location or search string.
Query Autocomplete - provides a query prediction service for text-based geographic searches, returning suggested queries as users type.

The Geocoding API allows you to convert an address into geographic coordinates (lat, long) and to "reverse geocode",  which is the process of converting geographic coordinates into a human-readable address.
Which APIs does this library use?
Place Autocomplete API, Place Details API, Place Search API and the Geocoding API.
We use the Place Autocomplete API to get suggestions as you type.  When you click on a suggestion, we use the Place Details API to get more information about the place.
We use the Geocoding API and the Place Search API to use your current location to get results.
Because the query parameters are different for each API, there are 4 different "query" props.

Autocomplete -> query (options)
Place Details -> GooglePlacesDetailsQuery (options)
Nearby Search -> GooglePlacesSearchQuery (options)
Geocode -> GoogleReverseGeocodingQuery (options)

Number 1 is used while getting autocomplete results.
Number 2 is used when you click on a result.
Number 3 is used when you select 'Current Location' to load nearby results.
Number 4 is used when nearbyPlacesAPI='GoogleReverseGeocoding' is set and you select 'Current Location' to load nearby results.


[ISSUE #7481] Remove invalid key/value in logPolling map (#7481)

Which Issue(s) This PR Fixes

Fixes #7481
Brief Description
Removed invalid key/value in logPolling map

How Did You Test This Change?
using mvn test

@joeCarf  can you verify this pr?

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (7e17867) 43.13% compared to head (b6a6839) 43.18%.

Files
Patch %
Lines

...tmq/broker/longpolling/PullRequestHoldService.java
40.00%
2 Missing and 1 partial :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7670      +/-   ##
=============================================
+ Coverage      43.13%   43.18%   +0.04%
  Complexity      9800     9800
=============================================
  Files           1165     1165
  Lines          84480    84486       +6
  Branches       10967    10969       +2
=============================================
+ Hits           36442    36484      +42
+ Misses         43518    43475      -43
- Partials        4520     4527       +7

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

@cserwen  done the changes

@cserwen done


I found a bug in  DefaultProfilerConfig.java

problem:  pinpoint.config's properties  profiler.include not work
so I review the code ,and find something maybe wrong
What version of pinpoint are you using?
master
   //. file:  https://github.com/pinpoint-apm/pinpoint/blob/master/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/config/DefaultProfilerConfig.java
  // position line 365 to 375
    @Value("${profiler.include}")
    void setProfilableClassFilter(String profilableClass) {
        // TODO have to remove
        // profile package included in order to test "call stack view".
        // this config must not be used in service environment because the size of  profiling information will get heavy.
        // We may need to change this configuration to regular expression.
        if (profilableClass != null && profilableClass.isEmpty()) {
            this.profilableClassFilter = new ProfilableClassFilter(profilableClass);
        } else {
            this.profilableClassFilter = new SkipFilter<String>();
        }
    }

     if (profilableClass != null && profilableClass.isEmpty()) {   this line
the condition maybe is profilableClass != null && !profilableClass.isEmpty() , or this will not work forever
thank a lot

Yes. It looks like it's a bug. Any suggestions?

Yes. It looks like it's a bug. Any suggestions?

please fix it like this: profilableClass != null && !profilableClass.isEmpty()
I already tested in local env
Also need I create a pr for this?


Organization team members cannot see private repos under My Repos in Kitematic.

I created an organization account via the new Docker Hub web interface and then created a few private repos.  I am able to see these repos by clicking the "My Repos" button in Kitematic.  (as I should because I created them)
However, I added some of my co-workers to the "owners" team and they CANNOT see these private repos under "My Repos" in Kitematic.
We found a workaround:  They can click the DOCKER CLI button to open the command line and run a: docker login ... then pull the repos manually and run them.
However, the workaround is not ideal.   We'd love to see them in the GUI and just "click to create" ...
P.S.  We're all using Kitematic Version 0.7.6

+1

Merging with #360

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain biomassiv.es has exceeded the max emails per hour (115/100 (114%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext4.iad.github.net ([<IP_ADDRESS>]:54411 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by server23.websitehostserver.net with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.85)
(envelope-from<EMAIL_ADDRESS>id 1ZaYpF-002LLl-Mw
for<EMAIL_ADDRESS>Fri, 11 Sep 2015 19:37:54 -0500
Date: Fri, 11 Sep 2015 17:37:57 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1442018277;
bh=WkXzXkOZj4ocRTUoue1SxrYZ/h+5K6KGuZcZ3IA/5/Q=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=KYv0RdgWVrY+cjMz2N9I3C3dG3xqw15UeSfjoa81+iC0sYg9qZrYKNzTFPmetBNoQ
BN1b8/kX4pvupQQDykDu6OLUQPDXNGUEAgxX9wS5bkU8h+lAT72i8fBJQI+eq6JQ9S
AHC/CW+svSyyErR68DcQT5gtSqZ7HF0l5aOtp9YQ=
From: Michael Chiang<EMAIL_ADDRESS>Reply-To: kitematic/kitematic<EMAIL_ADDRESS>To: kitematic/kitematic<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [kitematic] Organization team members cannot see private repos
under My Repos in Kitematic. (#931)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_55f373e5620_43103f8da7ad12bc43298c";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mchiang0610
X-GitHub-Recipient: biomassives
List-ID: kitematic/kitematic <kitematic.kitematic.github.com>
List-Archive: https://github.com/kitematic/kitematic
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AELU4sTuRcD6pdR6g06cuXXRPXIJocPWks5ow2tkgaJpZM4FrQzN
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=0.0
X-Spam-Score: 0
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "server23.websitehostserver.net",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Merging with #360 --- Reply to this email directly or view
it on GitHub: https://github.com/kitematic/kitematic/issues/931#issuecomment-139692756
Merging with #360 [...]
Content analysis details:   (0.0 points, 5.0 required)
pts rule name              description

0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: github.com]
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
2.1 HTML_IMAGE_ONLY_12     BODY: HTML: images with 800-1200 bytes of words
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Spam-Flag: NO
----==_mimepart_55f373e5620_43103f8da7ad12bc43298c
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Merging with #360

Reply to this email directly or view it on GitHub:
https://github.com/kitematic/kitematic/issues/931#issuecomment-139692756
----==_mimepart_55f373e5620_43103f8da7ad12bc43298c
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Merging with #360
—Reply to this email directly or view it on GitHub.

----==_mimepart_55f373e5620_43103f8da7ad12bc43298c--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain biomassiv.es has exceeded the max emails per hour (116/100 (115%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext7.iad.github.net ([<IP_ADDRESS>]:54579 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by server23.websitehostserver.net with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.85)
(envelope-from<EMAIL_ADDRESS>id 1ZaYpH-002LUi-Hk
for<EMAIL_ADDRESS>Fri, 11 Sep 2015 19:37:56 -0500
Date: Fri, 11 Sep 2015 17:37:58 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1442018278;
bh=WHbJiZm7YLo1/3Pdar1BetREXuBFLUOSA0724ANDnnQ=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=RZz2+ZrXwdcj9Fz72elPvH/5qrjo479CR4IEFwlBvyJoBierNmGbf7fvIwp0WxYcY
8sFclB0oBucAtyh6iTvV8gVc99hBqpP4tVGEmfEqab71TFYVoBFRp3xcavioyqDhHq
5cPEfqTwg8klpv3vHI9pso+XyfCugESXgupzUrqA=
From: Michael Chiang<EMAIL_ADDRESS>Reply-To: kitematic/kitematic<EMAIL_ADDRESS>To: kitematic/kitematic<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [kitematic] Organization team members cannot see private repos
under My Repos in Kitematic. (#931)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_55f373e6c5070_440c3f8da7ad12bc462693";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mchiang0610
X-GitHub-Recipient: biomassives
List-ID: kitematic/kitematic <kitematic.kitematic.github.com>
List-Archive: https://github.com/kitematic/kitematic
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AELU4otBkYblhbYMnZWdTBE-lwOjxsANks5ow2tmgaJpZM4FrQzN
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=0.0
X-Spam-Score: 0
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "server23.websitehostserver.net",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Closed #931. --- Reply to this email directly or view it on
GitHub: https://github.com/kitematic/kitematic/issues/931#event-407639934
Closed #931. [...]
Content analysis details:   (0.0 points, 5.0 required)
pts rule name              description

0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: github.com]
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
2.1 HTML_IMAGE_ONLY_12     BODY: HTML: images with 800-1200 bytes of words
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Spam-Flag: NO
----==_mimepart_55f373e6c5070_440c3f8da7ad12bc462693
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #931.

Reply to this email directly or view it on GitHub:
https://github.com/kitematic/kitematic/issues/931#event-407639934
----==_mimepart_55f373e6c5070_440c3f8da7ad12bc462693
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #931.
—Reply to this email directly or view it on GitHub.

----==_mimepart_55f373e6c5070_440c3f8da7ad12bc462693--


Cow: Watch zapvi.in

Cow requests the watch of the watch_keyword zapvi\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

zapvi\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


SDM Lesson NA Values from Raster Extract

NA values produced with raster::extract in S### Section 3: Collate Env Data and Point Data into Proper Model Formats ###  lines 70 - 73.

Which file is this happening?

SDM_maxent_lesson.R
Thank you!

This is most likely due to observation points that lie in areas without climate raster data. Usually this happens with observations with lat/long coordinates that put them in the ocean. Skipping the call to na.omit() in the script to:
occEnv <- raster::extract(x = clim, y = ranaDataNotCoords)
# Find which rows had missing data and create a column in the original data to indicate this
ranaDataNotCoords$missing <- is.na(occEnv[, 1])
# Plot data, using different colors to indicate missing or not
plot(x = ranaDataNotCoords$longitude,
     y = ranaDataNotCoords$latitude,
     col = ranaDataNotCoords$missing + 1) # not missing = black, missing = pink

Which should show that those NA values are due to the rare, elusive, marine-adapted R. marinus. Or they are just points recorded with inaccurate lat/long and should be tossed before building SDM. :)


Retry failed connections on startup

Currently, if Rasa UI is started before its postgres DB (or if the DB gets rescheduled on a different node and the connection is lost in e.g. a Kubernetes cluster), Rasa UI might get stuck on a "connection failed" error. E.g.:
2019-02-15 10:28:21.822|rasa-ui|info|Postgres DB Connection Error: Error: connect ETIMEDOUT <IP_ADDRESS>:5432;
2019-02-15 10:28:21.822|rasa-ui|info|Using connection string from: process.env.postgresserver;

The same seems to apply to connections to other components, at least during initialization:
2019-02-15 10:28:21.818|rasa-ui|info|Rasa Core Error: Error: connect ETIMEDOUT [...]:5005;
2019-02-15 10:28:21.818|rasa-ui|info|Using connection string from: process.env.rasacoreendpoint;
...
2019-02-15 10:28:21.819|rasa-ui|info|Rasa NLU Error: Error: connect ETIMEDOUT [...]:5000;
2019-02-15 10:28:21.819|rasa-ui|info|Using connection string from: process.env.rasanluendpoint;

Ideally, all such errors would be retried, to ensure Rasa UI can run on a k8s cluster.

@beevelop you can try as follow
service postgresql stop
/etc/postgresql/11/main/postgresql.conf
change #listen_address='localhost' to listen_address='*'
change #password_encryption=md5 to password_encryption=md5

add host all all <IP_ADDRESS>/0 md5 into /etc/postgresql/11/main/pg_hba.conf
service postgresql restart

@yuxuan2015 It's not about restarting a Postgres database. It's about keeping Rasa UI running, if the database is rescheduled on a Kubernetes cluster.


Move ESR number handling into classes

This way the code becomes reusable and we can use it also at other places than Prawn::EsrRecipe.

@huerlisi What do you think about this change?

Yepp, looks good!

Just released version 1.1.0


Blueprint for designing and implementing a napp message handler broker for events

Blueprint for designing and implementing a napp message handler broker for events
Closes #issue_number
Summary
See updated changelog file and/or add any other summarized helpful information for reviewers
Local Tests
End-to-End Tests

I'll go ahead and close this PR.
Luis, when you're ready and addressed the comments, send a new one, it'll be easier that way. Thanks.


Write multi-measure records to Timestream

Feature or Bugfix

Feature

Detail

Adds backwards-compatible ability to write multi-measure records to Timestream. This PR is mostly to discuss how it might be solved, the code is not tested and probably does not work.

Relates

#1214

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

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 8c6289d6c78c1c1e95691fbd0917582582152bf6
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 5691abe09b37c2ef211adeecd5830aeb3344f507
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 26339834ef497a8f800fad33edbb287cca466b54
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

I just tried it out in a Jupyter notebook; and it failed on the test_multimeasure_scenario function.


The idea behind the lazy benchmarks is exactly to show how strict/lazy these functions are and that the lazy ones won't do work unless demanded.
Forcing the whole result using nf would defeat the purpose. The strict benchmark already measures performance if we demand the result, since length forces the spine.

Ah, I got the wrong idea then.


Allow to specify the image file path in ggshow

Sometimes we want to save and show the image on the notebook.
If ggshow function allows to specify the image file path, then we can both save and show,
where currently we need to ggwrite first, then show the image.

Supported by #4 (v.0.1.10).


fix DiffRules depwarns

Doctest failures are a result of sparsevec printing change https://github.com/JuliaSparse/SparseArrays.jl/pull/427


Adding Fluentbit's unified networking interface

What this PR does / why we need it:
This PR adds support for the fluentbit unified networking interface for many output plugins. See the offical docs for more information about the feature https://docs.fluentbit.io/manual/administration/networking
You can use the advanced networking options in most Clusteroutput-Plugins like this:
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterOutput
metadata:
  name: tcp
  namespace: fluent
  labels:
    fluentbit.fluent.io/enabled: "true"
spec:
  match: "*"
  tcp:
    host: <IP_ADDRESS>
    port: 9090
    format: json_lines
    networking:
      connectTimeout: 20
      connectTimeoutLogError: true
      DNSMode: "UDP"
      DNSPreferIPv4: false
      DNSResolver: "ASYNC"
      keepalive: "on"
      keepaliveIdleTimeout: 40
      keepaliveMaxRecycle: 3000
      maxWorkerConnections: 10

The operator will then generate the fluentbit-configuration according to the documentation. When running kubectl get secrets -n fluent fluent-bit-config -o json | jq -r '.data["fluent-bit.conf"]' | base64 -d we can see that our configuration now includes everything that we defined in the CRD!
[Input]
    Name    dummy
    Tag    my_dummy
[Output]
    Name    stdout
    Match    *
[Output]
    Name    tcp
    Match    *
    Host    <IP_ADDRESS>
    Port    9090
    Format    json_lines
    net.connect_timeout    20
    net.connect_timeout_log_error    true
    net.dns.mode    UDP
    net.dns.prefer_ipv4    false
    net.dns.prefer_ipv4    ASYNC
    net.keepalive    on
    net.keepalive_idle_timeout    40
    net.keepalive_max_recycle    3000
    net.max_worker_connections    10

Which issue(s) this PR fixes:
Fixes #247
Does this PR introduced a user-facing change?
Yes, most CRDs are updated to include the net-options and have the corresponding documentation updated
Implement the unified networking interface (https://docs.fluentbit.io/manual/administration/networking) for many supported output plugins (e.g splunk, tcp, syslog). Most CRDs of Output plugins now support setting common network settings e.g net.keepalive

Additional documentation, usage docs, etc.:
This PR is a 1:1 implementation of the provided documentation at https://docs.fluentbit.io/manual/administration/networking

That's great, thanks!

That's great, Thank you! @localleon


Update date components

Closes #403

add debounce=True to DatePicker
add missing highlightToday prop
handle clearable DateInput when debounce=True
added test

Notes on adding debounce to the DatePicker
The input field in DatePicker behaves differently from DateInput in Mantine:

In DateInput, users can type a date directly into the Input field (or select from a calendar).  Pressing Enter will make the input lose focus, updating the value.
In DatePicker users cannot type directly into the input field. Pressing Enter or clicking on the field opens the calendar, shifting the focus to it. The value is only updated by selecting dates from the calendar.  The n_submit prop (counter for enter key pressed)  has limited use here and is being kept only for legacy reasons (remove in a future major release?).
onBlur  Behavior:

In DateInput, the onBlur counter n_blur is useful for detecting when a user finishes typing or selecting a date.
In DatePicker, n_blur isn’t useful because the focus shifts  from the input to the calendar triggering the counter. The n_blur counter doesn't indicate that the user has finished entering an input, so it is not included in this component.

Great job on the update!
I may have encountered a possible bug.
I have a datePickerInput with type="range" and debouce=True.
This datePickerInput is acting as Input of a callback.
Now, the callback should be triggered as I click the second date on the datePickerInput (as this action also closes the date picker). The problem is that the callback is not triggered when the date picker closes, but only after I click anywhere on the page.
I don't know if this is the expected behaviour, but I thought I might report it.

Hi @Ferreira-B
Yes, this is expected behavior.  With debounce=True, the callback is triggered when the input loses focus.  With this component the input stays focused after the dropdown is closed.
For your use-case, you could try setting debounce=False.  The callback will trigger twice, but you could check that the date value has both a start and end date.


Backup/Restore Without Storage Permission

It would be awesome if we could implement the backup/restore feature without any storage permissions.
The article How to provide Backup & Restore Feature for Room Database in Android by @varundwarkani may be a good starting point.

I'm curious about how users would be supposed to access and move the backups between devices and backup devices (such as USB drives and NAS etc) without access to the backup files?

That's definitely difficult and we might not achieve this but Android will offer APIs for this.


feat (client): turn classic show into a functional component

feat: turn classic show into a functional component
feat: remove getChallenge
feat: use challenge files and tests from query

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hey @ahmadabdolsaheb, one point of concern is that this creates two sources of truth for challengeFiles.  Previously the data Gatsby fetches was only used once, in a call to createFiles, and then everything that needed access talked to redux. But now Show also passes Gatsby's challengeFiles to its components.
I can't see any obvious bugs resulting from this, but it seems likely that some will arise (or have already, but I haven't seen them).

@ojeytonwilliams, that makes sense. There are some props that are being passed to the children components directly from the graphql query, but that should be alright.
I am removing the tests that are being pulled from redux since they don't seem to be used anywhere.

I always love seeing code refactoring 😄 👏

I have good news for you  😄   #49690

Second sorting editorRef type


fix: background noise when Pitch Shift filter is activated

Description
Hello. First, thank you for this amazing package. I have noticed when I use pitch shift filter, I can hear a little bit of background noise, even if we do nothing with the filter.
Steps To Reproduce
With this code:
import 'dart:developer' as dev;

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_soloud/flutter_soloud.dart';
import 'package:logging/logging.dart';

void main() async {
  // The `flutter_soloud` package logs everything
  // (from severe warnings to fine debug messages)
  // using the standard `package:logging`.
  // You can listen to the logs as shown below.
  Logger.root.level = kDebugMode ? Level.FINE : Level.INFO;
  Logger.root.onRecord.listen((record) {
    dev.log(
      record.message,
      time: record.time,
      level: record.level.value,
      name: record.loggerName,
      zone: record.zone,
      error: record.error,
      stackTrace: record.stackTrace,
    );
  });

  WidgetsFlutterBinding.ensureInitialized();

  /// Initialize the player.
  await SoLoud.instance.init();

  runApp(
    const MaterialApp(
      home: HelloFlutterSoLoud(),
    ),
  );
}

/// Simple usecase of flutter_soloud plugin
class HelloFlutterSoLoud extends StatefulWidget {
  const HelloFlutterSoLoud({super.key});

  @override
  State<HelloFlutterSoLoud> createState() => _HelloFlutterSoLoudState();
}

class _HelloFlutterSoLoudState extends State<HelloFlutterSoLoud> {
  AudioSource? currentSound;

  @override
  void dispose() {
    SoLoud.instance.deinit();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    if (!SoLoud.instance.isInitialized) return const SizedBox.shrink();

    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () async {
            await SoLoud.instance.disposeAllSources();

            /// load the audio file
            currentSound = await SoLoud.instance
                .loadAsset('assets/audio/8_bit_mentality.mp3');

            // If I comment this line, the background noise disappear.
            SoLoud.instance.filters.pitchShiftFilter.activate();

            /// play it
            await SoLoud.instance.play(currentSound!);
          },
          child: const Text(
            'play asset',
            textAlign: TextAlign.center,
          ),
        ),
      ),
    );
  }
}

Expected Behavior
No background noise when I activate the pitch shift filter.
Screenshots
I attach two videos, one with the line commented (no noise) and other one with the filter activated (noise).
Additional Context
https://github.com/user-attachments/assets/348bd2e7-fcb9-4ff3-a9ee-ec728b4949ea
https://github.com/user-attachments/assets/a55ef5bb-198a-4909-8e7c-392b75216696
Tested on OPPO reno2 Z, physical device, either on release and debug mode.

Hi @mario-madrid, thanks for the feedback.
This is probably caused because you are in debug mode. Could you please try in release mode?

Hi @alnitak . I can confirm that is happening in release mode. I dont have another device to test, and it happens in the emulator too. :( could you reproduce it by yourself with the code I have posted please?
thank you in advance.

Yes, I tried on these devices without noticing your issue:
Emulator with API 30
Samsung Galaxy Note S20
Samsung Galaxy S9+
Xiaomi Mi Max3
Huawei P Smart Z
Redmi Note 8 Pro
It seems like a problem related to computational power.
Since I cannot try it on my devices, can you please do the following?
In the plugin folder modify the following line in android/CMakeLists.txt:
target_compile_options("${PLUGIN_NAME}" PRIVATE -Wall -Wno-error -fPIC -O0)
with this:
target_compile_options("${PLUGIN_NAME}" PRIVATE -Wall -Wno-error -fPIC -O0 -msse3 -msse2)

Then run a flutter clean and try again.

It can be a computational power issue. The phone is really old. I will try what are you suggesting a provide some feedback.
I’m happier if, with more modern devices, the issue is not happening.
Give me a few data to test your code.
Thank you!

Hello mate.
It's looks like something random, sometimes happens and sometimes does not happen. Will see in another real devices since in the emulator, with all the stuff that the computer has to do, I don't think is a good scenario for test.
Anyways, my use case is to play multiple voices at the same time. Now i'm playing 7 mp3 audio files of 3 minutes each, is for a choir app. I think is hard to listen what I'm talking about, but will see with my client.
Dunno if you want to investigate something more about it or if you want me to close the issue.
Thank you for all the help.

My thought is that pitchShift might be quite cpu intensive, if you use it as a global filter (SoLoud.instance.pitchShift) there will only be one active filter on the output, but if you use it on 7 different sounds (with AudioSource.filter.pitchShift), there will be 7 active computations.

Yes. Ive tried activating filter on each sound and is unaudible. Luckily, global filter is enough for my use case but I still notice that little noise. Maybe with newer device and some optimizations I can reach Perfect sound. I want to try to change audio format from mp3 to AAC and use disk load mode.
will report whatever improvement i achieve.
One question. Is there any chance to play audio in chunks downloaded from internet?
thanks!

I want to try to change audio format from mp3 to AAC and use disk load mode.

I think AAC is not supported by the plugin.

One question. Is there any chance to play audio in chunks downloaded from internet?

I am working on that! I got good results sending data received from a websocket of PCM audio! I'll soon open an issue explaining this new feature!

Ok. Will see that feature.
for the issue, I’ve improved the logic of the application and tried a new device and now it’s working.
i close the issue if you don’t mind.


January 25th, 2022, Community Meeting Agenda

Dapr Community Meetings
Every two weeks we host a community meeting to showcase new features, review upcoming milestones, and engage in Q&A with the Dapr community - all are welcome, and we encourage participation.
The purpose of this thread is to form a discussion amongst the Dapr community on potential topics to highlight during the meeting. If you have a topic you wish to present or learn more about, please comment and be sure to include your name and a short description of the topic.
The conversations in this thread will directly influence the meeting agenda for the community call on January 25th, 2022, The meeting agenda will be finalized by a Community Call Host prior to the meeting.
Thank you and we look forward to hearing your input.

Agenda
- V1.6 release announcement - TBD
- Using Dapr from a Gopher's perspective - Phil Kedy (Microsoft)
- Dapr API SIG introduction - Yaron Schneider (Diagrid)
- Open Discussion

Passed.