Pull request template for docs doesn't make sense

The pull request template here does not make sense for this repo, especially the later sections.
Use the following template to create your pull request

## Description

Describe the changes that where made in this pull request. When possible start with a user story - short, simple descriptions of a feature told from the perspective of the person who desires the new capability. Be sure to also include the following information:

1. Motivation for change
2. What was changed
3. How does this impact application developers
4. Link to relevant issues and documentation
5. Provide examples of use cases with code samples and applicable acceptance criteria

Example:
As a Blockstack developer, I would like to encrypt files using the app private key. This is needed because storing unencrypted files is unacceptable. This pull request adds the `encryptContent` function which will take a string and encrypt it using the app private key.

encryptContent('my data')

// Running the above should result in the following encrypted data object
{"iv":"c91...","ephemeralPK":"031...","cipherText":"d61...","mac":"e73..."}

For details refer to issue #123

## Type of Change
- [ ] New feature
- [ ] Bug fix
- [ ] API reference/documentation update
- [ ] Other

## Does this introduce a breaking change?
List the APIs or describe the functionality that this PR breaks.
Workarounds for or expected timeline for deprecation

## Are documentation updates required?
<!--
  DOCUMENTATION
  Consider if this PR makes changes that require documentation updates:
    - API changes
    - Renamed methods
    - Change in instructions inside tutorials/guides
    - etc...

   The best way to find these is by searching inside the docs at https://github.com/blockstack/docs
-->
- [ ] Link to documentation updates:

## Testing information

Provide context on how tests should be performed.

1. Is testing required for this change?
2. If it’s a bug fix, list steps to reproduce the bug
3. Briefly mention affected code paths
4. List other affected projects if possible
5. Things to watch out for when testing

## Checklist
- [ ] Code is commented where needed
- [ ] Unit test coverage for new or modified code paths
- [ ] `npm run test` passes
- [ ] Changelog is updated
- [ ] Tag 1 of @person1 or @person2

@yknl can you provide an improved version as input for @CharlieC3 (I think he rolled out the initial version)?

@yknl That's the default template that gets used for all repos which do not have their own, defined here. If you want to override this default template in this repo, you'd have to add a .github/PULL_REQUEST_TEMPLATE.md file in this project.

I can add this. Should the new template look something like? I have only been using the description
Use the following template to create your pull request

## Description

Describe the changes that where made in this pull request. When possible start the motivations behind the change. Be sure to also include the following information:

1. What changed
2. Were any new examples added
3. The relevant issue

thanks @alexkeating,
I'd suggest a few more things: the tagging of folks, usage of conventional commits, and check of references outside the file that was edited (which is often neglected and reasons outdated content to co-exist):
## Description

1. Motivation for change?
2. What was changed?
3. Link to relevant issues?

## Checklist
- [ ] [Conventional commits were used](https://www.conventionalcommits.org/en/v1.0.0/)
- [ ] New links to files and images were verified
- [ ] For fixes/refactors: all existing references were identified and replaced
- [ ] [Style guide](https://developers.google.com/style) was reviewed and applied
- [ ] Clear code samples were provided
- [ ] People were tagged for review


Fix typo in serializer

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions.

Description of the Change

Fix typo in serializer
Alternate Designs

N/A
Why should this be in core?

N/A
Benefits

Avoid misunderstanding which comes from the wrong comment.
Possible Drawbacks

N/A
Applicable issues

N/A

Coverage increased (+0.06%) to 93.849% when pulling e095e0523e587d3e4e82f8bacc9a30bc7da7013f on Donghoon759:fix-typo into 78d979db7c41b68941518f026b5cad7d59376ada on mochajs:master.

Please sign CLA.

Thank you.


chore: remove proptest in most crates and Arbitrary derives

Motivation
This was only required because reth required these types to implement proptest::Arbitrary. This is no longer the case, and arbitrary::Arbitrary is already usable.
Solution
Remove almost all proptest derives, remove unused proptest dependencies.
There is a single proptest! left, which is for other fields, would like to know whether that's necessary or not.
PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

which derives are missing?

just this:
https://github.com/alloy-rs/alloy/blob/c2dd7cee159a31000d189c2cf851527fd56e3815/crates/serde/src/other/mod.rs#L175
used for this:
https://github.com/alloy-rs/alloy/blob/c2dd7cee159a31000d189c2cf851527fd56e3815/crates/serde/src/other/arbitrary_.rs#L91

Ah yeah the custom impl can be removed, it's only there because proptest derive doesn't support recursion


Mark IK output file as save option

Fixes issue #1058
Brief summary of changes
Set flag to indicate browsing is for save purposes
Testing I've completed
Entered name of new files and got no redbox or warning as expected.
CHANGELOG.md (choose one)

no need to update because bugfix

@carmichaelong You can check this when you have a chance, or wait for merge and test a few small ones together.


How to get localObjectDetection id,distinguish different Detections.

Plugin Version or Commit ID
v0.14.4
Unity Version
2021.3.18f
Your Host OS
Windows10 home
Target Platform
UnityEditor, Windows Standalone
Description
I want to get localObjectDetection id to distinguish different Detections，but DetectionId is always  0，TrackId and LabelId are always empty，can you help me fix this.
Code to Reproduce the issue
No response
Additional Context
No response

Please specify which solution (or calculators in case you have implemented custom CalculatorGraph) you are using when you can't get them.
This plugin returns the output of MediaPipe as is (if there are no bugs), so please note that you cannot get values that MediaPipe has not set.

I just use Object Detection case in unity,but this plugin returns the output without DetectionId,TrackId or LabelId  value.

I would like to achieve the effect on the right side of the git image, recognize the effect of tracking, and return the id of the recognized object。

I think detection_id is not set by default, which is why it is always zero, so to track the object, you need to assign IDs to each detections by yourself.
cf. https://github.com/google-ai-edge/mediapipe/blob/ebf54edc96dc30d48f39485b50eb61bcdd87043b/mediapipe/graphs/tracking/subgraphs/object_tracking_cpu.pbtxt#L9-L14
If you want to know how to configure such a CalculatorGraph, please ask the MediaPipe team.

ok，thank you


Add feed_meta

To add an auto-generated RSS/atom feed, github pages says one needs to add
{% feed_meta %}
to the <head> of the document: https://help.github.com/articles/atom-rss-feeds-for-github-pages/
Could you do that?

@fwenzel That's actually a pretty good idea. Would you like to make a PR?

@chesterhow I have to admit that I loved the theme! :smile: Unfortunately, I am busy these days, but I'd love to contribute soon. Tags and archive are not yet included, right?

Yeah for sure, one sec

@vijeth-aradhya Thanks! I'm glad you like the theme :) To answer your question, nope, tags and archive features have not been implemented in this theme so far.


cgreen: 1.4.0 -> 1.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cgreen-devs/cgreen/releases.
meta.description for cgreen is: "The Modern Unit Test and Mocking Framework for C and C++"
meta.homepage for cgreen is: "https://github.com/cgreen-devs/cgreen"
meta.changelog for cgreen is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/k4daz7f75pscydp2gkkhwsdy8g305llr-cgreen-1.4.1/bin/cgreen-runner passed the binary check.
/nix/store/k4daz7f75pscydp2gkkhwsdy8g305llr-cgreen-1.4.1/bin/cgreen-debug passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 1.4.1 with grep in /nix/store/k4daz7f75pscydp2gkkhwsdy8g305llr-cgreen-1.4.1
found 1.4.1 in filename of file in /nix/store/k4daz7f75pscydp2gkkhwsdy8g305llr-cgreen-1.4.1

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

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
cgreen

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k4daz7f75pscydp2gkkhwsdy8g305llr-cgreen-1.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k4daz7f75pscydp2gkkhwsdy8g305llr-cgreen-1.4.1
ls -la /nix/store/k4daz7f75pscydp2gkkhwsdy8g305llr-cgreen-1.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cgreen

Maintainer pings
cc @nichtsfrei for testing.

https://github.com/cgreen-devs/cgreen/releases/tag/1.4.1


sslsplit detectable by chrome

chrome detect mitm attack and stop victim for further, with showing a warning In chrome browser

This is not a surprise, but FWIW: Can you be more specific, such as which site, server certificate, exact browser warning etc?

Also, did you remember to install the CA certificate into chrome?

i didn't install Ca into Chrome, wonder how to remotely install Ca to Chrome,

Well, if you didn't install the CA into Chrome or the OS certificate store, then obviously Chrome will detect a MitM attack; this is supposed to happen and not a mistake.


Configure kubelet serving cert and key

Check known files for kubelet serving cert and key. If the files are
present read their contents and pass them to BottleRocket API.
Issue #, if available:
None
Description of changes:
BottleRocket introduced a way to configure kubelet serving cert and private key. For our usecase we would like to set these during bootstrap.
This commit inroduces readKubeletTlsConfig() function which reads the contents of the cert and private key from known files. If the files are present on the filesystem their contents will be passed to the BottleRocket API.
Testing:
Unit tests:
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestReadKubeletTlsConfig$ github.com/eks-anywhere-build-tooling/aws/bottlerocket-bootstrap/pkg/kubeadm -count=1

=== RUN   TestReadKubeletTlsConfig
=== RUN   TestReadKubeletTlsConfig/skip_config_cert_file_missing_missing
skipping Kubelet TLS configuration: /.bottlerocket/rootfs/var/lib/kubeadm/pki/kubelet-serving.crt file does not exist
=== RUN   TestReadKubeletTlsConfig/skip_config_key_file_missing_missing
skipping Kubelet TLS configuration: /.bottlerocket/rootfs/var/lib/kubeadm/pki/kubelet-serving.key file does not exist
=== RUN   TestReadKubeletTlsConfig/success_files_present
Kubelet TLS configuration available
--- PASS: TestReadKubeletTlsConfig (0.00s)
    --- PASS: TestReadKubeletTlsConfig/skip_config_cert_file_missing_missing (0.00s)
    --- PASS: TestReadKubeletTlsConfig/skip_config_key_file_missing_missing (0.00s)
    --- PASS: TestReadKubeletTlsConfig/success_files_present (0.00s)
PASS
ok      github.com/eks-anywhere-build-tooling/aws/bottlerocket-bootstrap/pkg/kubeadm    0.011s

Checking one CPI:
[root@admin]# md5sum /.bottlerocket/rootfs/etc/kubernetes/pki/kubelet-server.*
a6c0de8c8f00f4bd0c9253b0d4ca4c26  /.bottlerocket/rootfs/etc/kubernetes/pki/kubelet-server.crt
5808f992108b63005e109ab5985d3661  /.bottlerocket/rootfs/etc/kubernetes/pki/kubelet-server.key

[root@admin]# md5sum /.bottlerocket/rootfs/var/lib/kubeadm/pki/kubelet-serving.*
a6c0de8c8f00f4bd0c9253b0d4ca4c26  /.bottlerocket/rootfs/var/lib/kubeadm/pki/kubelet-serving.crt
5808f992108b63005e109ab5985d3661  /.bottlerocket/rootfs/var/lib/kubeadm/pki/kubelet-serving.key

[root@admin]# grep "tls" /.bottlerocket/rootfs/etc/kubernetes/kubelet/config
tlsCertFile: "/etc/kubernetes/pki/kubelet-server.crt"
tlsPrivateKeyFile: "/etc/kubernetes/pki/kubelet-server.key"

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/ok-to-test


bzr 2.4.1 - ERROR: exceptions.AttributeError: 'BTreeBuilder' object has no attribute '_find_ancestors'

I have no idea what I've done wrong or what this issue is, but here's a complete log of what I did...
========
tim@atom:~/projects/communication-book
$ git bzr clone lp:~tim-abell/communication/trunk
Branched 39 revision(s).ching revisions:Finishing stream:Done 3950/39503833
21:07:19 Calculating the revisions to include ...
21:07:19 Starting export of 39 revisions ...
21:07:21 Exported 39 revisions in 0:00:02
Already on 'master'
tim@atom:~/projects/communication-book
$ cd trunk/
tim@atom:~/projects/communication-book/trunk
$ cd ..
tim@atom:~/projects/communication-book
$ mv trunk/ code
tim@atom:~/projects/communication-book
$ cd code
tim@atom:~/projects/communication-book/code
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[bzr "master"]
bzr = bzr/master
[bzr "bzr/master"]
upstream = lp:~tim-abell/communication/trunk
tim@atom:~/projects/communication-book/code
$ git bzr marks
Marks file: /home/tim/projects/communication-book/code/.git/bzr/map/master-git
:1 f961e8145df7553f0fdeedc31afd3cb7a9531d0b
:2 d2b939c912a47b32d4c7cfccf030e57f4538a75d
:3 12a8f608e920d3dde078c3d204259c90f6676061
:4 2cfe84811f578bd5959769784635543bc0d025a6
:5 56d2fd53c6eeb636406b5f1b628e776218aae0b3
:6 3e209ed7ddefa93b050faa16eccd0fd6e77ef2ae
:7 9c2d274107311a6bbe6bfd9288253fdd8b65e99c
:8 08f3a1532ef4d71f096aaf508f8b22adc49762e1
:9 65778766a9e09c974448d2f3ca125b83b4118c02
:10 ab93b3306def11e9def9dca1a6d94c0ecff099d7
:11 da9e38f510393a74640bcc24e20ee1c200a015ac
:12 25ca011d872b05c625bbdaf2e199752088c9666d
:13 f91ca9a7de62b4d646ca04633f1084fc799b63e0
:14 929ce15434da1bb3180fbfc1a51d01dd4a0c42c9
:15 eb8a215a726db73a3c1e6f9c0cf9d8b52cb27a5c
:16 7b4e4d64666a7694f2f113cdcfd2eabc4bd48e83
:17 7380da9e3aad2b3761ebb5920adfdfe67c2bd4c7
:18 f4c40c610200192031dde2c6b0032950a9d63a27
:19 a291d935b3b90c9ba9b813a62f15b38e173d5e54
:20 54221b78ca0960e6fde77a8b05634022df5f5398
:21 cfe3cface22e3284aff09e2b85a2b8923d48f961
:22 97a4c0b14507d1bffa972e6b590bcf6446e2ea73
:23 f46bb14404debbfdf978d201347304124071a08f
:24<PHONE_NUMBER>17a8e69773442f947125d2e1c06b3c
:25 e3bf1e6eb6c587485b2c124619d13a046f0ca9ee
:26 e79ea2971c4cd8f825c17d7d566ad34257468bf7
:27 7f732be1db029a60bbeac2e5f0b5846c9a2bb275
:28 89ea5926ab5e7b5ef35f68c454871818360c9d0d
:29 dc98769d6fba1b405ce3ca1de9c8c715be36e797
:30 2286484a9bd0c9cffe4b8d0bde0684795c3f8dc3
:31<PHONE_NUMBER>2fb39895a59418733230f3ea9fd55e
:32 50d99ac7e821f73fdeef409d3be1c35c2fd93d5e
:33 107fc4bc01974b53bd7d285f6b0c0247ac7324d1
:34 e810518d9c032b23a26d37bebed14635544efa03
:35 99483df49e842435bfecef77ee789c5e92b8f3ab
:36 b33acb8f8d1c7f26e08bdc0987af401dd60815cb
:37<PHONE_NUMBER>e9f1874d3ec5f3425fbcd2d109ccde
:38 d0f25f0891cefe6c1ca68af80c2dee58101c2775
:39 490203f0afe7668918bfd3c2e22527a35c3db908
tim@atom:~/projects/communication-book/code
$ git bzr import lp:~john-d-morton-o/communication/trunk john
Branched 1 revision(s).nding revisions
21:08:41 Calculating the revisions to include ...
21:08:41 Starting export of 1 revisions ...
21:08:41 Exported 1 revision in 0:00:00
tim@atom:~/projects/communication-book/code
$ git bzr import lp:communication central
Branched 39 revision(s).ching revisions:Finishing stream:Estimate 10/30
21:09:22 Calculating the revisions to include ...
21:09:22 Starting export of 39 revisions ...
21:09:23 Exported 39 revisions in 0:00:01
tim@atom:~/projects/communication-book/code
$ git checkout master
Already on 'master'
tim@atom:~/projects/communication-book/code
$ git pull ../codex/ master
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From ../codex

branch            master     -> FETCH_HEAD
Updating 490203f..848046c
Fast-forward
.classpath |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
tim@atom:~/projects/communication-book/code
$ git bzr push
21:10:30 Calculating the revisions to include ...
21:10:30 Starting export of 39 revisions ...
21:10:30 Exported 39 revisions in 0:00:00
21:10:31 Starting import ...
21:10:31 Updating branch information ...
branch master now has 40 revisions and 0 tags
21:10:31 Imported 1 revision, updating 1 branch and 0 trees in 0:00:00
To refresh the working tree for other branches, use 'bzr update' inside that branch.
Pushed up to revision 40.hing revisions:Finishing stream:Done 10/10
tim@atom:~/projects/communication-book/code
$ git bzr sync
21:10:52 Calculating the revisions to include ...
21:10:52 Starting export of 40 revisions ...
21:10:52 Exported 40 revisions in 0:00:00
tim@atom:~/projects/communication-book/code
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[bzr "master"]
bzr = bzr/master
[bzr "bzr/master"]
upstream = lp:~tim-abell/communication/trunk
[bzr "john"]
bzr = bzr/john
[bzr "bzr/john"]
upstream = lp:~john-d-morton-o/communication/trunk
[bzr "central"]
bzr = bzr/central
[bzr "bzr/central"]
upstream = lp:communication
tim@atom:~/projects/communication-book/code
$ git bzr pull
21:11:21 Calculating the revisions to include ...
21:11:21 Starting export of 40 revisions ...
21:11:21 Exported 40 revisions in 0:00:00
From .
branch            bzr/master -> FETCH_HEAD
tim@atom:~/projects/communication-book/code
$ git bzr sync
21:11:40 Calculating the revisions to include ...
21:11:40 Starting export of 40 revisions ...
21:11:40 Exported 40 revisions in 0:00:00
tim@atom:~/projects/communication-book/code
$ git checkout central
Switched to branch 'central'
tim@atom:~/projects/communication-book/code
$ git merge master
Updating 490203f..848046c
Fast-forward
.classpath |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
tim@atom:~/projects/communication-book/code
$ git bzr push
21:12:16 Calculating the revisions to include ...
21:12:16 Starting export of 39 revisions ...
21:12:16 Exported 39 revisions in 0:00:00
21:12:16 Starting import ...
bzr: ERROR: exceptions.AttributeError: 'BTreeBuilder' object has no attribute '_find_ancestors'

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/cmds.py", line 314, in run
user_map=user_map)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/cmds.py", line 40, in _run
return proc.process(p.iter_commands)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/processors/generic_processor.py", line 311, in process
super(GenericProcessor, self)._process(command_iter)
File "/usr/lib/python2.7/dist-packages/fastimport/processor.py", line 76, in _process
handler(self, cmd)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/processors/generic_processor.py", line 536, in commit_handler
handler.process()
File "/usr/lib/python2.7/dist-packages/fastimport/processor.py", line 159, in process
self.post_process_files()
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/bzr_commit_handler.py", line 662, in post_process_files
self._get_inventories)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/revision_store.py", line 376, in load_using_delta
rev.parent_ids)
File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 154, in read_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 1828, in get_known_graph_ancestry
known_graph = self.revisions.get_known_graph_ancestry(revision_keys)
File "/usr/lib/python2.7/dist-packages/bzrlib/versionedfile.py", line 1440, in get_known_graph_ancestry
parent_map, missing_keys = self._index.find_ancestry(keys)
File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 2102, in find_ancestry
return self._graph_index.find_ancestry(keys, 0)
File "/usr/lib/python2.7/dist-packages/bzrlib/index.py", line 1527, in find_ancestry
search_keys = index._find_ancestors(search_keys,
AttributeError: 'BTreeBuilder' object has no attribute '_find_ancestors'
You can report this problem to Bazaar's developers by running
apport-bug /var/crash/bzr.1000.2012-02-06T21:12.crash
if a bug-reporting window does not automatically appear.
ERROR:root:bzr import failed
tim@atom:~/projects/communication-book/code
$ bzr --version
Bazaar (bzr) 2.4.1
Python interpreter: /usr/bin/python 2.7.2
Python standard library: /usr/lib/python2.7
Platform: Linux-3.0.0-15-generic-x86_64-with-Ubuntu-11.10-oneiric
bzrlib: /usr/lib/python2.7/dist-packages/bzrlib
Bazaar configuration: /home/tim/.bazaar
Bazaar log file: /home/tim/.bzr.log
Copyright 2005-2011 Canonical Ltd.
http://bazaar.canonical.com/
bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Bazaar is part of the GNU Project to produce a free operating system.

apparently this is the upstream bug in bzr: https://bugs.launchpad.net/bzr/+bug/541626 which at time of writing remains unresolved


Remove huge lines of username

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: WINDOWS 10

Hyper.app version:  1.3.1

Link of a Gist with the contents of your .hyper.js: http://bit.ly/2pweRqK

Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere):  N/A

The issue is reproducible in vanilla Hyper.app: Yes

Issue
My Hyper is connected with Bash on Windows and it really works well than expected. But now the only problem is that the username + path in the terminal nearly takes a line and it kind of feels akward for me.

I want my Hyper Terminal to look something like this :

I searched everywhere, got into the core app but still i am unable to find a solution for this. Is there any kind of packages or hacks I could use to produce the result I wanted?

There's ways to theme your Bash terminal. It's really nothing to do with Hyper itself.
Example: https://github.com/Bash-it/bash-it/wiki/Themes

@CodeTheory No matter what, I've tested multiple themes but still, there is no change to the theme itself. My terminal looks the same even after restart and reload.
Themes tested with :

https://github.com/equinusocio/hyper-material-theme
https://github.com/dotcypress/hyper-material
https://github.com/nauzethc/hyperterm-material-theme

Bash themes and Hyper themes are very different things.  Hyper is the terminal emulator, and has no control over the prompt string (beyond what font it is rendered in).  Bash is the shell program, and controls what your prompt string contains.  In bash, your prompt string is determined by the PS1 environment variable.  Bash-it is a series of bash functions that includes themes that change your prompt string.  You should read up on it.

@MartyGentillon Thanks a lot for making me understand


Update docs to remove duplicate

Certificate validation error was duplicated under Rancher title. Removed because it was same as certificate validation and remaining "Rancher provision not running" seems like correct one.

Thanks @akin-ozer for catching and fixing this!


Add default protection against billing surprises

As a consumer
I want interactions with BigQuery to fail if they scan excessive data
So that I am protected from unexpected costs
ACs:

default query scan limit set to 10GB (can do 100 such queries before exceeding the 1TB free tier)
scan limit is independently configurable in local setup and in the build so that I can relax the guardrail when I need to

PITA to calculate bytes for a sensible unit - let Jinja do the work
maximum_bytes_billed: "{{ env_var('DBT_MAX_GIGABYTES_BILLED', '50') | int * (1024 * 1024 * 1024) }}" # 50GB billable bytes estimate limit
DBT_MAX_GIGABYTES_BILLED: ${{ vars.DBT_MAX_GIGABYTES_BILLED }} in build


Update description to refer to the tzcode package

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

This is in response to https://github.com/conda-forge/tzcode-feedstock/issues/13


sample: implement loops

Codecov Report

Merging #2112 into master will increase coverage by 0.02%.
The diff coverage is 89.18%.

@@             Coverage Diff              @@
##             master    #2112      +/-   ##
============================================
+ Coverage      86.8%   86.83%   +0.02%
- Complexity     5005     5012       +7
============================================
  Files           450      450
  Lines         19853    19882      +29
  Branches       2096     2098       +2
============================================
+ Hits          17234    17265      +31
  Misses         1900     1900
+ Partials        719      717       -2

Impacted Files
Coverage Δ
Complexity Δ

...a/com/google/api/codegen/viewmodel/OutputView.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

...gle/api/codegen/transformer/OutputTransformer.java
81.81% <86.2%> (+8.48%)
19 <8> (+7)
:arrow_up:

Continue to review full report at Codecov.

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


transalate exception-safety.md

separated from #5 .
correction according to the review in #5 has already been done but still WIP.
done translation @imsut

updated @imsut


Runtime: swift_getExistentialTypeMetadata should trust the compiler's ordering of protocols in compositions.

The compiler pre-canonicalizes protocol composition types by minimizing constraints and sorting the remaining protocols by module + name, which ought to be globally stable within a program (assuming there aren't multiple modules with the same name, in which case we'll have bigger problems…). The compiler also statically lays out existential types according to its conception of the canonical composition ordering, so the runtime's own attempts to form a stable ordering lead to layout inconsistencies between runtime and compile-time layout, leading to crashes like SR-4477.

@swift-ci Please test

Can we add a debug assertion that the list is in fact sorted? Or does the runtime not have a way to replicate the compiler's sort order?

The runtime could conceivably recover the module and protocol names from the protocol descriptors.

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - ba459492ba248c5fc1226c643d262c5efbbcf3c8
Test requested by - @jckarter

I talked to Slava a bit about asserting in the runtime that the descriptors are sorted, and we're concerned that it would be fairly expensive, since it would need to parse the mangled name in each descriptor. If the descriptors are in the wrong order coming from the compiler, the problem would likely be evident well before we even get to the runtime.

@swift-ci Please test


Are there any ways to prepare own training data?

I checked demo.py and it seems also can get raw texts which were marked on the screenshot.
I want to apply this tool for other problems which is not product detection, but it's like extracting web articles with title and content, or stuff like that.
How have you prepared training files? Or are there any tools for annotation?

Hi,
Did you solve the product detection part ?

I checked demo.py and it seems also can get raw texts which were marked on the screenshot.
I want to apply this tool for other problems which is not product detection, but it's like extracting web articles with title and content, or stuff like that.
How have you prepared training files? Or are there any tools for annotation?

Hi did you get any further in this? I would like to do something similar.

@michael0liver
Actually, I've done it by myself.
First, you can save screenshots and dom structure by using tools/download_page.js.
https://github.com/gogartom/TextMaps/blob/master/tools/download_page.js
And then, you should have some URLs as train, valid and test, and can use download_page.js to download them.
Now, you have screenshots and dom.jsons. dom.json have dom structures of the target website, and they have the positions of the block contents.
You can annotate what you want to extract, by using two elements:

the positions of block contents.
the screenshots

You can transform them into Pascal VOC format, and it can load from a tool called labelImg.
https://github.com/tzutalin/labelImg
Finally, I created my own model based on TextMaps. I used screenshots as input, and add alpha channel as target positions. The output is a binary classifier that classifies whether the alpha channel is the target position or not.
That's how I annotated the data and created the model, but this is not the official way of TextMaps.

@sugiyamath
Very good work, thanks for the reply.  May I ask which tools you use to train model tensorflow, scikit-learn?
I know Python well but I am new to deep/machine learning so I am unsure where to start.  I would like to build something similar to diffbot.com product extraction API.
Which resources did use to learn these technologies ?

@michael0liver
It is not related to the issue, but I'll try to answer.
I used Keras to train it, but recently Keras is merged with TensorFlow 2.0, so we also can use it to use Keras.
I think diffbot.com hasn't published any details of their technologies, and "vision-based web extraction" is a very low-resource topic.
Building a Keras model is an easy part, but defining the features (the inputs of the model) needs to have domain knowledge for the task, so I prefer to search papers to get the domain specific information. If the paper is not free, we can use Sci-Hub to get it free.
If you're new to Keras, "Deep Learning with Python by Francois Chollet" is a good resource, I think.


Uneven gpu distribution across multi-machine

Suppose I have a total of 8 gpu cards distributed across 3 machines (2, 3, 3). In this way, the accelerate process will be stuck.
But if I have a uniform distribution, assuming it is distributed on 4 machines (2, 2, 2, 2), then the process can run successfully.
Is there anything extra to note here, here is my run script.
accelerate launch \
--config_file yamls/ddp.yaml \
--machine_rank ${RANK} \
--num_machines ${WORLD_SIZE} \
--num_processes 8 \
--main_process_ip ${MASTER_ADDR} \
--main_process_port ${MASTER_PORT}

Yes, PyTorch requires you to use the same number of processes per node.

Thanks for your reply~


Fix #139: Add code reset button to page

This change contains both UI change (new button added) and backend change (code are removed from localStorage)

OK -- I'm not sure what's going on here, but I'm pretty certain it shouldn't include 118 commits. Could you close this, sync to latest version of master, checkout a brand new branch, make your changes on that branch, and push it?

Hmm.. That's weird. I didn't even notice it. OK. I will do that.


ImmutableBitmap.get(int value) behaves differently for Concise and Roaring

Suppose I have a bitmap with bits 0,4,9 set.
When using Concise-backed ImmutableBitmap, if I call bitmap.get(9), I get an IndexOutOfBoundsException.
The get() function seems to expect get(2), if I want to read the value for bit 9, i.e., the value input is treated as a position within the ConciseSet's set of values [0,4,9], not as a bitmap position.
Also, given this behavior, if I have a Concise-backed ImmutableBitmap and I call get() in a loop from 0 to bitmap.size(), get(0) returns false, while the range from 1 to bmp.size() - 1 returns true (0 should return true as well)
If I switch to Roaring-backed, get() works as expected, the input is treated as a bitmap position.

Nothing within Druid currently uses ImmutableBitmap.get(int value), opening this issue for future reference.

This should probably go against https://github.com/metamx/bytebuffer-collections/

@drcrallen
I'll close this then, the issue is now at:
https://github.com/metamx/bytebuffer-collections/issues/31


[incubator/azuremonitor-containers] - updates related to 11012019 agent image update

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
This PR has the following updates

Agent image update to 11012019 version
Added node affinity conditions for the rs pod schedule
Added toleration's for ds pod schedule

Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x ] Chart Version bumped
[x] Variables are documented in the README.md
[ x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/approve
/lgtm


[SPARK-12148][SPARKR] fix doc after renaming DataFrame to SparkDataFrame

What changes were proposed in this pull request?
Fixed inadvertent roxygen2 doc changes, added class name change to programming guide
Follow up of #12621
How was this patch tested?
manually checked

my bad, I should have checked more carefully, thanks for finding this @shivaram.
@rxin

Test build #56821 has started for PR 12647 at commit aeceabd.

Test build #56821 has finished for PR 12647 at commit aeceabd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56821/
Test PASSed.

LGTM.

Thanks - merging in master.


Create requirements.txt and update documentation

Create a requirements.txt file so users can easily install all dependencies. Update the documentation to use requirements.txt.
Create:
pip freeze > requirements.txt
Add to documentation:
pip install -r requirements.txt

OK, added a requirements.txt file for those not using the Pypi package. Thanks for the suggestion.


[NumPy] mx.npx.from_numpy + allow mixed array types

Description
This PR adds mx.npx.from_numpy and enables mixing the usage of mxnet np ndarray and native numpy array.
Checklist
Essentials

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
[x] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] refactor dlpack functionality into dlpack.py
[x] mx.npx.from_numpy
[x] enable mixed use of np.ndarray and mx.np.ndarray

This aims at fixing a more general case for #18561


Incorrect formatting inside Travis CI??

There's an extra indentation after an odd [32m, and some text that doesn't render green.
I'm using version ^2.2.0 of the reporter, and and Karma ^1.3.0, so everything should be running the latest releases. Is there more information I can provide to help identify what the issue is?

Can you share the link to the travis build?

Sure!
https://travis-ci.org/jlmakes/scrollreveal/builds/197167714
Also I'm not sure if relevant, but I'm using sauce labs (and the karma-sauce-launcher) to test in various browser environments. I'm going to experiment using only PhantomJS to see if the output looks different.

The code [32m is part of the ansi color code of the green color ('\u001B[32m'). It is generated by the color module we use in this reporter (chalk).
It works fine on my machine. Don't know what the issue with travis could. Generally no colors are printed if a shell does not support the ansi color codes. Normally it works fine in travis.

Yeah, the reporter works great on my local machine as well.
. . .
Well perhaps I'll move over to Circle CI...😨 the mere thought of the odd developer perusing through my tests and seeing malformed reporting—what tremendous embarrassment! I'd be the laughing stock of the town! 😤
. . .
Any ideas on debugging?

This will be hard to debug. But trying another CI System might help to find out if it is just an problem in travis.


If updater thread crashes, send an email or something

Updater thread has not crashed since the early testing days. Closing this.


Add Stack for Haskell support

Could you elaborate?

Stack (https://docs.haskellstack.org/en/stable/README/) is a package/environment manager for Haskell. I'm currently working on a starter package for Haskell, but installing the toolchain + libraries needed in addition to actually compiling a bot may push the 10 minute limit. In either case, it wouldn't make sense to have a starter package pulling down and compiling a toolchain every time.

Great. Will do so on the haskell branch.

Awesome, thanks. I'll pr into it when I get this damned parser working.

@jano017 you might want to check PR  #197

Ah, cool. I thought I searched the issues for Haskell, but either I'm imagining things or I can't read. Possibly both.


Int8 gemm support

Can you add unit tests for pack_int8_args?

After asking the rocblas guy by sending them a microbenchmark, looks like our call to rocblas is correct. The error for int8 gemm in mi100 is a limitation in the current rocblas implementation. Specifically, for int8 input of matrix A (mxk) and matrix B(k x n), the m and n have to be at least 4. They say this limitation will be removed in rocm4.3

I tried the rocm4.3 container, looks like it still requires the matrix size to be equal to or bigger than 4, i.e. if I put either m or n less than 4, the output is incorrect.

Can you add unit tests for pack_int8_args?

added some unit tests


Do not set container requests in limit ranger for Kube 1.0

The LimitRanger admission plug-in was setting container.requests to the limitRange.Min if there were no minimum requests specified.  Since requests on a container is not supported in 1.0, I am disabling this part of the LimitRanger plug-in and we can revisit at a later time.
/cc @bgrant0607

LGTM, thanks.


udev rules for GPS units

Stratux version: v0.8r2

Stratux config:
SDR
[ ] single
[x] dual
GPS
[x] yes
[ ] no
type:
AHRS
[ ] yes
[x] no
power source: AC adapter
usb cable: any

EFB app and version: N/A
EFB platform: N/A
EFB hardware: N/A

Description of your issue:

Need udev rules to identify different GPS units and/or serial output ports.

@AvSquirrel - Are you using the Prolific 2303 for the your FLARM branch? 067b:2303.

Yes. Both the Trendnet TU-S9 adapter and the BU-353-S4 identify as 067b:2303.
Unsurprisingly, devices based on u-blox 8-series chipsets (Neo M8N, e.g. RY835/6) identify as 1546:01a8 when connected over USB.
  idVendor           0x1546 U-Blox AG
  idProduct          0x01a8
  bcdDevice            3.01
  iManufacturer           1 u-blox AG - www.u-blox.com
  iProduct                2 u-blox GNSS receiver

TU-S9 is what you are using for FLARM, then?
On May 16, 2016 10:56 PM, "AvSquirrel"<EMAIL_ADDRESS>wrote:

Yes. Both the Trendnet TU-S9 adapter and the BU-353-S4 identify as
067b:2303.
Unsurprisingly, devices based on u-blox 8-series chipsets (Neo M8N, e.g.
RY835/6) identify as 1546:01a8 when connected over USB.
idVendor           0x1546 U-Blox AG
idProduct          0x01a8
bcdDevice            3.01
iManufacturer           1 u-blox AG - www.u-blox.com
iProduct                2 u-blox GNSS receiver
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/416#issuecomment-219607038

This has been suggested before (IIRC): should there be radio buttons for Advanced usersin the Web UI to select Auto-Detect, BU-353, TU-S9; etc. for intractable cases?

Maybe gpsd is a solution, Mike.

Even gpsd needs to be "told" what GPS to expect, doesn't it?

No, gpsd autodetects pretty much everything besides the serial port to use.
On Tue, May 17, 2016, 18:04 cyoung<EMAIL_ADDRESS>wrote:

Even gpsd needs to be "told" what GPS to expect, doesn't it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/416#issuecomment-219880124

http://www.catb.org/gpsd/hacking.html#autoconfiguration

and:
http://www.catb.org/gpsd/client-howto.html

udev rules set up, we'll assume that all pl2303 are SirfIV temporarily and revisit gpsd.

Yep, sounds like a good plan. It does seem like gpsd is the more "elegant" solution. But that can wait for later, especially since it's expected that users are using the recommended hardware. (And so can't legitimately complain if they are using an unsupported GPS. (And can always write their own branch if they want support for an unsupported GPS.))

It might be too that gpsd fixes https://github.com/cyoung/stratux/issues/400. But why would users be hotswapping one GPS and inserting another in flight?

For one thing, stuff breaks.

True. But like when the landing gear won't come up after takeoff, I don't troubleshoot in flight. My backup plan for loss of Stratux GPS (which I've had to use in the past) is to use the internal GPS in my tablet. Besides, how many Stratux users are going to have two different GPS's with them to hotswap?


test_process() fails on some runs

The test_process() test fails on some runs (but also sometimes succeeds). Maybe there is some undeterministic about the function that it tests?
Here is the failing test report:
    def test_preprocess():

        output_directory = mkdtemp()

        prefix = os.path.join(output_directory, "test-preprocess")

        preprocessor = PreProcessor(prefix)
        try:
            preprocessor.start()

            count_queries = 100
            for number in range(1, count_queries + 1):
                query = SingleResidueVariantResidueQuery("tests/data/pdb/101M/101M.pdb", "A", number, None,
                                                         alanine, phenylalanine,
                                                         pssm_paths={"A": "tests/data/pssm/101M/101M.A.pdb.pssm"},
                                                         variant_conservation=0.0, wildtype_conservation=0.0)
                preprocessor.add_query(query)

            preprocessor.wait()

            assert len(preprocessor.output_paths) > 0

            count_graphs = 0
            for path in preprocessor.output_paths:
                with h5py.File(path, 'r') as f5:
                    count_graphs += len(f5.keys())

>           assert count_queries == count_graphs, f"{count_queries} != {count_graphs}"
E           AssertionError: 100 != 1
E           assert 100 == 1

tests/test_preprocess.py:39: AssertionError

If I test locally the values for count_graphs are different every run, usually around 80 (and sometimes 100 if the test succeeds).
See also this test run

This was (probably) fixed with https://github.com/DeepRank/deeprank-gnn-2/commit/67469eee2fd0e8d7fb8f91c7f41b5b594a870172#
while not self._input_queue.empty():

was changed to
while self._input_queue.qsize() > 0: # qsize seems to be more reliable than the empty method

However, the Queue.qsize() method is not supported on Mac OS X (and also other Unix platforms). From what I get from the documentation, it is also not 100% reliable for checking whether the queue is empty.

@cbaakman can you confirm that you fixed this? (on your platform at least 😋 )

@cbaakman can you confirm that you fixed this? (on your platform at least yum ) Then close the issue.

Yes. It worked on my platform. After my last commit.

Check


ui: async uploading texture with PBO

fixed the "slow frame time". the FPS is stable at 20hz
CPU usage goes from ~22% to ~9%.

the cpu usage of UI goes from 29% to 8% on my laptop.

Nice, how do the frame timings look?

looks much better

Did you try to remove the copy instead?

Not yet.  my plan is to display yuv in opengl first, and then see how to remove the copy. what do you think?

Big fan of removing the RGB vipc buffer! This PR is irrelevant though if we're able to remove the copy, right?

Yes, but it may take a lot of time. I'll try to display yuv frame in UI first.

Looks like CPU usage on C3 went up from 20% to 30%. Anything we can do about that?

how about remove the glflush in vipc_thread, will it improve the cpu usage?

Removing the glFlush seems to bring cpu usage back down to 20%. What is the effect of removing that?

glmap will block wait until OpenGL is done. I use glflush to make glmap return faster.

I'll try to improve the cpu usage on c3


Improve the data loading pipeline with stage operators

TensorFlow has stage/unstage operators which may further reduce the data feeding overhead, by hiding the latency of one CPU->GPU copy.
Relevant commit: https://github.com/tensorflow/tensorflow/commit/85acf52a

A quick test reveals a speedup factor of ~1.8 on imagenet-resnet.py  here when using StagingTrainer. But for a proper benchmark the output of tqdm is to unstable.
class PutThread(threading.Thread):
    def __init__(self, trainer, queue, ds, input_placehdrs):
        super(PutThread, self).__init__()
        self.op = self.queue.put(self.placehdrs)

class StageInput(FeedfreeInput):
    def _setup(self, trainer):
        from tensorflow.python.ops import data_flow_ops
        self.input_placehdrs = trainer.model.get_input_vars()
        assert len(self.input_placehdrs) > 0, \
            "STageInput can only be used with input placeholders!"
        if self.queue is None:
            self.queue = data_flow_ops.StagingArea([x.dtype for x in self.input_placehdrs], name='input_queue')
        self.thread = PutThread(
            trainer, self.queue, self.ds, self.input_placehdrs)
        trainer.config.callbacks.append(StartProcOrThread(self.thread))

class StagingTrainer(SyncMultiGPUTrainer):

    def __init__(self, config, input_queue=None, predict_tower=None):
        super(StagingTrainer, self).__init__(config)
        self._input_method = StageInput(config.dataflow, input_queue)

        if predict_tower is not None:
            logger.warn("[Deprecated] Argument `predict_tower` is deprecated for trainer. "
                        "Use TrainConfig.predict_tower instead!")
            config.predict_tower = predict_tower

        self._setup_predictor_factory()
        assert len(config.tower) >= 1, "MultiGPUTrainer must be used with at least one GPU."
        assert tf.test.is_gpu_available()

When using ResNet-training it sometimes gives CUDA_OUT_OF_MEMORY:
https://github.com/PatWie/tensorpack-fork/tree/staging

The result looks very promising!
While writing the tutorial I found the dataflow in imagenet-resnet can be written more efficiently -- should use uint8 image instead of float32, I'll benchmark the dataflow more carefully before looking at integrating staging operators.
StagingArea is on GPU, unlike the queue. So you cannot put too many tensors to it.

I also notice that the QueueInput is coupled to all trainers directly and StageInput as simple drop-in replacement (argument) is not possible without using hasattr since it lacks many features.
So this might be only interesting for inference or when using small datasets (MNIST).

To avoid OOM, we have to pre-fill the staging area with some data, and run stage_op together with train_op (instead of in a separate thread). This will avoid staging area growing too large. This is from tensorflow/benchmarks.
I'm trying this but haven't got any faster yet..

Able to see some improvements on multigpu training.
ResNet18, batch per GPU=128. Use float32 image.
Compare StageInputWrapper(QueueInput) with QueueInput:
Each epoch is 50steps. Listing per-epoch time (not including warm up epoch):
1GPU: 17.92s. about the same
2GPU: 18.5s vs 19.6s. 6% faster
4GPU: 19.26s vs 21.6s. 12% faster
6GPU: 20.55s vs 22.9s. 11.5% faster
Ugly code: https://gist.github.com/ppwwyyxx/4e45ab862e0589e2941edc490187ba17
It probably will run faster by getting rid of python threads and use TF pipeline.

The staging contrib module does not appear to be in the pip build on Google's website.
from tensorflow.contrib import staging is failing even though I have the latest version of Tensorflow.


Update rabbitmq to version 3.6.12

Update to 3.6.12
Closes #593

Held off on autoupdate for now. 3.7 is in RC and could require some other changes.


0.32.1

Is this an official release?
:-1:

[Current coverage][cc-pull] is 69.90%

Merging [#1759][cc-pull] into [develop][cc-base-branch] will increase coverage by 0.12%

@@            develop      #1759   diff @@
==========================================
  Files           857        859     +2
  Lines         67573      67717   +144
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          47156      47338   +182
+ Misses        20417      20379    -38
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [d22eb0c...a22fa21][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ripple/rippled/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/ripple/rippled/compare/d22eb0caa25ecfbd373cc9af0347e56031a23646...a22fa21ce42b11967700be94dee517185df0dccf
[cc-pull]: https://codecov.io/gh/ripple/rippled/pull/1759?src=pr


Experimental support for otel via Backend

The new behaviour Backend has been introduced, making this library agnostic from the actual telemetry implementation.
@Hajto I understand it’s 811 LoCs. There are two examples with tests added, that’s mostly why.
What I have done:

extracted the actual backend into a behaviour, allowing to transparently switch between :telemetry, :opentelemetry and whatnot implementing Telemetria.Backend
the OpenTelemetry implementation is actually 20 LoCs
introduced two example applications, one using :telemetry, another one using :opentelemetry, with the literally same source code
made sure both works the same

I also dropped some comments into PR.

It looks very promising can I take it for a spin in one of our testing environments to see how well it works in that environment?

It looks very promising can I take it for a spin in one of our testing environments to see how well it works in that environment?

What do you mean “can”? It’ s public domain.
I would better let me merge and release it first, though. Could happen in a matter of an hour.


Fixed blur issue on opaque pictures & added example

Sorry for the second pull request on this, there was a problem on opaque pictures.
Also added blur on an example.

@nobytesgiven No problem! Thanks for the fix!


refactor/cleanup and some new api methods

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c5e36a5). Click here to learn what that means.
The diff coverage is 87.95%.

@@            Coverage Diff            @@
##             master      #21   +/-   ##
=========================================
  Coverage          ?   87.92%
=========================================
  Files             ?        1
  Lines             ?      207
  Branches          ?       22
=========================================
  Hits              ?      182
  Misses            ?       15
  Partials          ?       10

Impacted Files
Coverage Δ

src/jodel_api.py
87.92% <87.95%> (ø)

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 c5e36a5...a1cb9a8. Read the comment docs.


find-tarballs.nix does not find all tarballs for stdenv.bootstrapTools

Describe the bug
maintainers/scripts/find-tarballs.nix should locate all the downloads any given package relies on, but for stdenv.bootstrapTools it fails to locate a necessary download.
Even if find-tarballs.nix did locate the necessary download, find-tarballs.nix might not be reporting sufficient information to reproduce the download with the correct hash.
This issue seems to require changes in find-tarballs.nix and may or may not also require changes in stdenv.bootstrapTools depending on whether or not find-tarballs.nix should be altered to examine builders to discover any fetchurl calls.
Steps To Reproduce

Note the URL and details of the builder attribute of stdenv.bootstrapTools.
$ nix-instantiate --eval --strict -E "with ( import <nixos-23.11> {} ).stdenv.bootstrapTools.builder; [ executable name urls outputHash outputHashAlgo ]"
[ true "busybox" [ "http://tarballs.nixos.org/stdenv-linux/i686/4907fc9e8d0d82b28b3c56e3a478a2882f1d700f/busybox" ] "ef4c1be6c7ae57e4f654efd90ae2d2e204d6769364c46469fa9ff3761195cba1" "sha256" ]

Pass stdenv.bootstrapTools to maintainers/scripts/find-tarballs.nix.
$ nix-instantiate --json --eval --strict "<nixos-23.11/maintainers/scripts/find-tarballs.nix>" --arg expr "with import <nixos-23.11> {}; [ stdenv.bootstrapTools ]" | python3 -m json.tool
[
    {
        "hash": "a5ce9c155ed09397614646c9717fc7cd94b1023d7b76b618d409e4fefd6e9d39",
        "isPatch": false,
        "name": "bootstrap-tools.tar.xz",
        "type": "sha256",
        "urls": [
            "http://tarballs.nixos.org/stdenv-linux/x86_64/c5aabb0d603e2c1ea05f5a93b3be82437f5ebf31/bootstrap-tools.tar.xz"
        ]
    }
]

Manually examine the find-tarballs.nix output to look for the URL or other details of the builder.

Download the builder using the details from the output, expecting that the details in the output would be sufficient to reproduce the exact same store output and hash that stdenv.bootstrapTools uses when built normally on an Internet-connected system.

Expected behavior
Expected that find-tarballs.nix should return a list of all fetchurl calls used by ‘expr’.
As the builder is provided by a fetchurl call, it should appear in the output of find-tarballs.nix.
Furthermore, even if find-tarballs.nix lists the builder in its output, find-tarballs.nix must make it clear in the results that the output hash is dependent on the fetchurl being called with executable = true;. Without that additional information, one would not be able to reproduce the fetchurl calls used by 'expr'.
Additional context
stdenv.bootstrapTools uses a pre-compiled busybox binary downloaded with fetchurl as its builder and cannot be built without its builder. The builder is, as one would expect, downloaded and made executable, resulting in a different hash than just downloading the builder without making it executable.
It's not clear to me if find-tarballs.nix should have discovered the builder was an executable download on its own or if stdenv.bootstrapTools should be changed to list the builder as a build time dependency which find-tarballs.nix knows how to discover.
Based on a cursory glance it doesn't look like find-tarballs.nix reports whether or not a fetchurl call had additional arguments that affect the resulting hash, such as executable. This would indicate a bug in find-tarballs.nix I think.
Regardless of where the bug or bugs are considered to be, this issue affects the reproducibility of nixpkgs in cases where there is no Internet connection and where the substituters and build machine haven't ever built stdenv.bootstrapTools before.
This issue is related to but distinct from #302443 . While the same confusion about whether or not there is stylistic issue in how the package is written is present in both issues, there also seems to be a lack of important information (executable) in the output of find-tarballs.nix that is not present in #302443 .
Notify maintainers
For the part of this issue that affects find-tarballs.nix, @ ing all the contributors who have touched that script:
@edolstra @rapenne-s @vcunat @roberth @xworld21
For the part of this issue that may affect stdenv.bootstrapTools, @ ing all the contributors who have touched pkgs/stdenv/linux/bootstrap-tools/default.nix:
@risicle @thufschmitt @Ericson2314
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.75-1.qubes.fc37.x86_64, Debian GNU/Linux, 12 (bookworm), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/home/user/.local/state/nix/profiles/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

find-tarballs.nix will remain subtly broken, certainly until we have

https://github.com/NixOS/nix/issues/4677

I'd recommend to get all fixed-output derivation outputs from the derivation closure using some nix-store -q queries or something like this in marsnix.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/pre-rfc-implement-get-deps/43418/1

how flakes fit into this and I intentionally avoided relying on the experimental nix command

They're quite unrelated. The linked snippet happens to use it, but you may equally well use nix-store --realise instead of nix build there, and nix eval was only used for retrieving the nixpkgs sources.

but Nix itself provides no obvious one-liner CLI like nix-build for preparing a source deployment.

This would be a good feature, I agree.


The input tag cursor is not displayed on iOS 13.2.2

Set the frame to be slightly smaller than the parent VC’s frame


Make conversion script for BNF data

The data from the BNF is available at http://data.bnf.fr/semanticweb-en
Make a conversion script for this data and add it to BibSoup.

Already on the DataHub :-) http://thedatahub.org/dataset/data-bnf-fr
And in group BibSoup group: http://thedatahub.org/group/bibsoup


Expose dashboard snapshots for benchmark runs

This is more difficult than I'd hoped because the standard Grafana dashboard snapshot mechanism relies on a browser to build the snapshot. Still investigating this.


Restrict access to some folders

Respected Sir,
I have one concern. I am using your plugin and I would like to know if a certain tweak can be performed on it. My website url is like this:
example.com/ROOT/Sub_directories/manyfiles
The Root folder is the folder where I have uploaded the lister plugin. It is working fine.
What I want to do is restrict access to this ROOT folder. Like I can give link to people of Sub Directories and not worry about them to click on the home icon and view all of the folders. The reason why I can't use plugin again for all subfolders is that it will make the server heavy and there are many subfolders like in hundreds so it is very difficult.
In a nutshell:
Can I restrict access to my root folder? It will be great if I can just redirect it or simply just display forbidden error.
Right now I am using 403 redirect but it just wont work.
Please help me Sir @idleberg. Thanks a lot.

That's the job of your webserver


check_input_settings does not raise exception for some unsupported sample rates on macOS

On my 2019 MacBook Pro running macOS 13.6.1, the following script:
import sounddevice as sd

settings = {'device': 1, 'channels': 1, 'samplerate': 44100, 'dtype': 'int16'}
sd.check_input_settings(**settings)
sd.rec(frames=settings['samplerate'], blocking=True, **settings)

(you might need to modify the device index for a different computer) first checks if the specified input settings are supported and then, if they are (i.e. if the call to check_input_settings does not raise an exception), attempts to record for one second with those settings. For my Mac's built-in microphone this works as expected for a sample rate of 44100 Hz. For various other sample rates, however, including 48000, 24000, and 22050 Hz, it does not. For those sample rates the call to check_input_settings does not raise an exception, but the script terminates inside the call to rec with the console message:
libc++abi: terminating

It seems that this may be a bug in check_input_settings, which should raise an exception for unsupported sample rates.

Is there another way to determine whether or not a given sample rate is supported on macOS? I tried using a stream to record, like this:
stream = sd.InputStream(**settings)
stream.start()
stream.read(settings['samplerate'])

hoping that the initializer might raise an exception for an unsupported sample rate, but it does not. The read fails with the same console message that rec produces, as in my original comment.

check_input_settings does reject some sample rates on macOS, namely ones outside of the range [1000, 384000].

check_input_setting() only calls Pa_IsFormatSupported() from the underlying PortAudio library:
https://github.com/spatialaudio/python-sounddevice/blob/65d3bc0cd77a6df2d4e93daf41532de520b65790/sounddevice.py#L680-L683
Can you please ask your question at https://github.com/PortAudio/portaudio/issues or at the PortAudio mailing list?

Thanks for the suggestion. I'll look into this as a PortAudio issue.

Any news on this?
Did you create a PortAudio issue?

Thanks for the reminder. This slipped through the cracks, and I did not create a PortAudio issue. I'm reviewing the problem now and will follow up.

When I opened this issue I was working with sounddevice 0.4.6 and PortAudio 19.6.0, and when I run the script I provided in my initial comment with those now it crashes with the same error message libc++abi: terminating. However, when I run the script with sounddevice 0.5.0 and PortAudio 19.7.0 (the latest versions) it does not crash, and when I write the samples returned by sd.rec to a .wav file they seem to be fine. So the issue appears to be fixed and I will close it. Thanks!


Issue with priority of execution in filters

Need to use track by $index at the end in ng-repeat or else the filter considers $index as a value that should be filtered out. This seems to be common issue.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs update
What is the current behavior? (You can also link to an open issue here)
priority of execution is important while using filters, limit, and track by $index
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

I signed it!

In general, the docs say that the track by expression must always go at the end, so it's definitely not optional to do it this way.
However, you get a different error message when you include the "as" part in the filter: https://docs.angularjs.org/error/$parse/syntax?p0=as&p1=is an unexpected token&p2=20&p3=$index | filter:q as results&p4=as results, see https://plnkr.co/edit/4tSsoInjMZkLJs0AUmtC?p=preview
That means if we put an explanation in the notarray error message, we are missing errors that trigger the parse syntax error.
Ideally, we would add this info to https://code.angularjs.org/snapshot/docs/error/ngRepeat/iexp, but since this is triggered before Angular parses the expression, this is difficult to do.

I don't feel like this makes the docs better, for the reasons pointed out above. I've opened a new issue to track a possible improvement to the ngRepeat expression parsing: https://github.com/angular/angular.js/issues/16023


Request activity/available book activity

Adding separate activity for show details of a request made by current user.
Adding separate activity for show details of an available book and make a new request
(fulfilling the project specification of showing details of a request and the issue of showing info for an available book)
@MarcusBoay I have move the notification related stuff from NewRequestActivity  to AvailableBookInfoActivity and did not make any changes. Could have a try on this modification to make sure the notification stuff still working properly before merging to master?

The notifications stuff still works.
Aside from that, I'm getting odd layouts for the borrower page and new request page.
There also seems to be a lot of duplicate activities. @AY-Chen could you take a look at this?

The notifications stuff still works.
Aside from that, I'm getting odd layouts for the borrower page and new request page. (https://drive.google.com/drive/u/0/folders/1AIuPXKhkzHS6w9MRlfZCmElA3dBOoWdT, https://drive.google.com/drive/u/0/folders/1AIuPXKhkzHS6w9MRlfZCmElA3dBOoWdT)
There also seems to be a lot of duplicate activities. @AY-Chen could you take a look at this?
The status of the requested book should also be changed to requested.

Thanks! The first commit is just for making sure everything is still working after the changes. Layout and status problem have been fixed in my newest commit today. Although there are several layouts for different activities look similar, there is still a slightly different among those activities. If we want less duplicate, we should start thinking about the refactoring issues for our APP.


docs(api.md): typo

@jviala-ekino can you please sign CLA to make bot happy?

@aslushnikov , I already signed CLA as Individual. I checked my email and username, everything seems fine..


ux: language dropdown cuts off descenders

Package version (if known): 0.16.4
Describe the bug
The language dropdown cuts off the descenders of words in it (at least on Firefox + ubuntu).
Screenshots (if applicable)

(same for Turkçe)

@fenekku Can you confirm that this is still an issue. If it is please add to "InvenioRDM April Planning" project, if not close :-)

We don't use translations (no dropdown at all) at our site or on the CERN demo site. I can close this and we can re-open/create new one when translations are brought back. Our instance doesn't plan on supporting translations.


Rename spring.modulith.events.schema-initialization.enabled to spring.modulith.events.jdbc-schema-initialization.enabled

Schema initialization is currently a JDBC only feature. We should avoid creating the impression this is a store-independent property.

I am/was puzzled why the latest master commit c978435 is building in GH Actions, but not locally on two more or less identical Fedora 37 machines. I still am, but it turns out application-h2.properties still contains the wrong property. (Still dunno how GH Actions succeeded on this one.)
spring.modulith.jdbc-events.schema-initialization.enabled=true

Just thinking loud here if the grouping should rather be spring.modultih.events.jdbc:
spring.modulith.events.jdbc-schema-initialization.enabled=true
                           v
spring.modulith.events.jdbc.schema-initialization.enabled=true


Question (only): Aware of RESTCONF work?

I need an open-source Linux implementation of RESTCONF in C. I primarily need server-side.
Are contributors aware of work on a "LibRestconf", and integration into Netopeer2?
If not, do you have any guidelines/suggestions for someone who wants to start such an effort?

Hi, we are not aware of any existing open-source implementation of RESTCONF in C. We have it in our TODO, but we don't have enough resources to work on it now or in a near future.
The idea we have around the RESTCONF in Netopeer2 is about an alternative "transport" library to libnetconf2 - librestconf. Netopeer2-server can then use functions from such a library to receive requests and send resonses.

@rkrejci  Its been a year raising this issue, reiterating same question are any efforts to get restconf in Netopeer2 server implementations just like in "https://github.com/CESNET/Netopeer/tree/restconf-impl" .
Is "libnetconf2" python modules only was to implement Restconf server as it already implemented few things in Netopeer2GUI

No, the situation is still the same - we have a lot of work with NETCONF and YANG stuff, and currently no free resources to work on RESTCONF.
libnetconf2 python module does not implement RESTCONF, it is pure NETCONF. Netopeer2GUI is also NETCONF only - python backend serves there as a NETCONF proxy between the frontend (user's browser) and NETCONF servers (devices).


MS Login Flow Broken

Seems to work this morning, assuming this was an issue on MS end. Leaving open for now.

Flow hasn't been broken since, assume this was a blip on that particular with Azure.


trouble site.

why do not run the cell frequently???
i tried sign out and sign in but do not run.
i think this is the very trouble site
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

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

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@dudgh9661  Where are you having this issue?


Allow setting $format in save() method

I'm usually working on temporary files which are given arbitrary names and a "tmp" extension. I needed a way to overwrite the format detection (which is based on file name's extension) in the save() method. I added a optional $format variable. Usage is consistent with the output() method.

Thanks, this was fixed in 724fb05 as a result of #58.


Xaml path shapes

Added support for path figures definition in xaml definitions for PathGeometry, PathFigure, different PathSegments and some simple example usage in ControlCatalog

Wow, excellent PR! Thanks @donandren!
The only problem I could see was some weird indenting on some of the property declarations, but that was such a small thing I merged anyway, will fix later :)

Also, might be worth adding a Path tab to ControlCatalog in future with some more examples etc.


Feature: Writable nested additional sign content

Make AdditionalSignContentPlan and AdditionalSignContentReal writable through the parent AdditionalSignPlan or AdditionalSignReal API endpoint. This is a feature requested by the developers of a client software.
In preparation for this change refactor the traffic_control.serializers module into a package and split the AdditionalSign API test module into plan and real specific test modules.
Refs LIIK-183

Codecov Report

Merging #150 into master will increase coverage by 0.09%.
The diff coverage is 99.91%.

@@            Coverage Diff             @@
##           master     #150      +/-   ##
==========================================
+ Coverage   98.01%   98.10%   +0.09%
==========================================
  Files         115      124       +9
  Lines        7041     7430     +389
  Branches      275      303      +28
==========================================
+ Hits         6901     7289     +388
  Misses        116      116
- Partials       24       25       +1

Impacted Files
Coverage Δ

traffic_control/models/additional_sign.py
100.00% <ø> (ø)

traffic_control/serializers/additional_sign.py
98.91% <98.91%> (ø)

traffic_control/serializers/barrier.py
100.00% <100.00%> (ø)

traffic_control/serializers/common.py
100.00% <100.00%> (ø)

traffic_control/serializers/mount.py
100.00% <100.00%> (ø)

traffic_control/serializers/plan.py
100.00% <100.00%> (ø)

traffic_control/serializers/road_marking.py
100.00% <100.00%> (ø)

traffic_control/serializers/signpost.py
100.00% <100.00%> (ø)

traffic_control/serializers/traffic_light.py
100.00% <100.00%> (ø)

traffic_control/serializers/traffic_sign.py
100.00% <100.00%> (ø)

... and 77 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 4e9eb5d...dca4b9b. Read the comment docs.


AutoDeploy GCP

Hi @AmazingAbhi
Could you I ask your help with this project?  I'm trying to get it to deploy automatically in GCP but I'm missing some small detail.
The last error I ran into was an yfinance module missing, but I thought I got that right.
https://console.cloud.google.com/run/detail/us-central1/yfinance-scaling-system/metrics?hl=en&project=dfg-analytics-insights-prod
The code does 2 simple things:

calls out to Yahoo finance for a list of stock splits dates ratios
Pushes a git commit to this repository ./data folder

Added: GCP_KEY - this key is the JSON file from the<EMAIL_ADDRESS>- service account
Added: GCP_PROJECT


How IdentityPython/idpy-oidc is different from OpenIDC/pyoidc and JWTConnect-Python-OidcRP?

I want to contribute to a standardized and certified library that implements OIDC. OpenID Foundation lists 3 certified Python libraries for OIDC:

IdentityPython/idpy-oidc - 2nd layer in the JwtConnect stack (cryptojwt, idpyoidc)
IdentityPython/JWTConnect-Python-OidcRP - 3rd layer in the JWTConnect stack (cryptojwt, oidcmsg, oidcrp)
OpenIDC/pyoidc - Implements both client and the provider.

All of them are maintained by @rohe . This got me confused about which is the latest officially maintained lib for Python especially the difference between 1 and 2 as they are being maintained under the same org.
Edit: The docs in /idpy-oidc/docs/move.rst says that idpy-oidc is a successor of JWTConnect-Python-OidcRP and packages former libraries into this one:

OidcMsg -> idpy-oidc/message
OidcRP -> idpy-oidc/client
oidc-op -> idpy-oidc/server

This should be mentioned in the docs of former libs that they will not be supported in future. I almost believed that JWTConnect-Python-OidcRP is the successor because it says 3rd layer in its docs while idpy-oidc as the 2nd layer.

I'm in the same state of confusion. Since your post, the project

https://github.com/IdentityPython/JWTConnect-Python-OidcRP was marked as archive, while
https://github.com/CZ-NIC/pyoidc seems to be actively maintained.

The fact that the link to the official docs is broken in this project, adds to the confusion.

Hello everyone,
I can understand how things might be confusion because of the number of repos that are out there. Let's take it in steps.
Roland has created and maintained multiple libraries over the years, and we are thankful for that. IdentityPython was created as a space to gather and host libraries related to identity. Initially, under IdentityPython we had pyop. Later on, Roland brought the JWTConnect-Python libs. From those, oidcendpoint became the primary library connecting and using everything else. After discussions, and to simplify the dependencies and usage, the layout changed and oidc-op was released. When the work on JAR and PAR started, we discussed again that having "OP" in the name was not correct, as now the roles of entities changed and an entity could behave both as an OP and as a client/RP at the same time. Thus, idpy-oidc came to be.
Apart from pyop, the other libs are an evolution of one over the other.
The current work is on idpy-oidc, and everything should be regarded as deprecated or be archived.
The reason that not all libs are archived is because they are still used. Once we know that their usage has stopped and that people have switched to the new lib, the repos will be archived.

The above covers what happens within IdentityPython. pyoidc is not hosted or controlled by us. It used to be under the OpenIDC but had been unmaintained for some time. AFAIU, it was transferred under CZ-NIC to be properly worked on and maintained.
pyoidc and idpy-oidc have taken different paths and support different specs and RFCs.
I have not followed the latest work on pyoidc, but I think that idpy-oidc supports a lot more use cases; at the cost of being more complex.

I hope this clears up a bit the space with those libs. Please, ask away if you need for info.
I agree that this should be properly documented in the repos so that it is more visible and less confusing.


Overvoltage limit protection in CC mode

Can we add an overvoltage limit in constant current mode?

That would be doable. I just need to figure out how it would work out UI wise.

Constant voltage mode is doing something similar already. We set constant voltage value using voltage setting and current limit using current setting. Similarly in constant current we can set constant current value using current setting and voltage limit using voltage setting.

@Robin10155 Did a small redesign, and added this feature, se my branch: https://github.com/jimmyw/opendps

@jimmyw Could you please post a picture of your modified UI? :-)

I'll have a look at implementing this soon.
I think adding a handle_ovp() function into the adc1_2_isr would be the best way to do this. This limit can then be set with pwrctl_set_vlimit()


[th2-4262] Added MessageGroupResponse.message_properties

Changes applied to th2-3924-refactor. th2-3834-refactor rebased


TypeError

TypeError: unsupported operand type(s) for -: 'str' and 'int'
in cv2.putText function i faced this error
TypeError                                 Traceback (most recent call last)
 in ()
11  cv2.putText(image, text,(x,y-5), cv2.FONT_HERSHEY_SIMPLEX,0.5, color, 2)
12
---> 13 cv2.putText(image, text,(x,y-5), cv2.FONT_HERSHEY_SIMPLEX,0.5, color, 2)
14 cv2.imwrite('output.jpg', image)
15 cv2.waitKey()
TypeError: unsupported operand type(s) for -: 'str' and 'int'

let me know which weights model have you used?


运行ate -V时报错

Traceback (most recent call last):
File "/Users/finup/gitlab/ApiTestEngine/env/bin/ate", line 6, in
from pkg_resources import load_entry_point
File "/Users/finup/gitlab/ApiTestEngine/env/lib/python2.7/site-packages/pkg_resources/init.py", line 3049, in
@_call_aside
File "/Users/finup/gitlab/ApiTestEngine/env/lib/python2.7/site-packages/pkg_resources/init.py", line 3033, in _call_aside
f(*args, **kwargs)
File "/Users/finup/gitlab/ApiTestEngine/env/lib/python2.7/site-packages/pkg_resources/init.py", line 3062, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/Users/finup/gitlab/ApiTestEngine/env/lib/python2.7/site-packages/pkg_resources/init.py", line 658, in _build_master
ws.require(requires)
File "/Users/finup/gitlab/ApiTestEngine/env/lib/python2.7/site-packages/pkg_resources/init.py", line 972, in require
needed = self.resolve(parse_requirements(requirements))
File "/Users/finup/gitlab/ApiTestEngine/env/lib/python2.7/site-packages/pkg_resources/init.py", line 858, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ipaddress; python_version <= "2.7" and extra == "secure"' distribution was not found and is required by urllib3

pkg_resources.DistributionNotFound: The 'ipaddress; python_version <= "2.7" and extra == "secure"' distribution was not found and is required by urllib3

@yileye @Junho2010 已确定当前在Python 2.7上存在该问题，正在修复中。

@yileye @Junho2010 问题已修复。


Allowing External Post-processing

As discussed in #17
I've prepared sample implementation of allowing users to provide their own postprocessing tools
Here's an example of such usage:
var code = "Console.OnBecameInvisible(123)";

Action<List<NodeAfterProcessing>> myUnityPostprocessor = (List<NodeAfterProcessing> nodes) =>
{
    var list = new List<string>
    {
        "OnBecameInvisible"
    };

    foreach (var node in nodes)
    {
        if (list.Contains(node.Text))
        {
            node.Colour = NodeColors.Keyword;
        }
        else
        {
            node.Colour = NodeColors.Control;
        }
    }
};

var colourerSettings = new CsharpColourerSettings
{
    PostProcessingAction = myUnityPostprocessor
};

var html = new CsharpColourer(colourerSettings).ProcessSourceCode(code, new HTMLEmitter());

And now, this code:
Console.OnBecameInvisible(123)

the code becomes this:

instead of

I really liked the idea of line highlighting, but I've felt like limiting it to providing line number may be not as robust as users would expect because sometimes you may not be sure which line it will be and e.g you'd want to colour specific keywords
I've used idea from this PR - allowing external postprocess and refactored a little bit and here's what I managed to come up with
I think you'll like it
Action<List<NodeAfterProcessing>> myAction = (List<NodeAfterProcessing> nodes) =>
{
    foreach (var node in nodes)
    {
        if (node.Text.Contains("WriteLine"))
            node.UseHighlighting = true;
    }
};

var colourerSettings = new CsharpColourerSettings
{
    PostProcessingAction = myAction
};

var html = new CsharpColourer(colourerSettings).ProcessSourceCode(code, emitter);

but, since there are cases where no node is at given line, so you'd be unable to colour them
and also since you wanted line numbers and I think it's perfectly valid, then there's also this predicate:
var settings = new HTMLEmitterSettings()
    .DisableIframe()
    .HighlightThoseLines(lineNumber => lineNumber != 0 && lineNumber % 3 == 0);

var emitter = new HTMLEmitter(settings);

Action<List<NodeAfterProcessing>> myAction = (List<NodeAfterProcessing> nodes) =>
{
    foreach (var node in nodes)
    {
        if (node.Text.Contains("WriteLine"))
            node.UseHighlighting = true;
    }
};

var colourerSettings = new CsharpColourerSettings
{
    PostProcessingAction = myAction
};

var html = new CsharpColourer(colourerSettings).ProcessSourceCode(code, emitter);

and here's the result:


Can't scroll modal when he has much content.

If I put in modal dialogue div much content, this goes part up behind the screen and I can't scroll up to see the start.

2)

Code

Нет новых уведомлений!

      Закрыть

Resolve my problem but on the small screen modal moves to the right.

I wouldn't suggest putting that much content in a modal (bad UX practice)
However, you can make modal-box scrollable by adding overflow-y-auto max-h-screen: https://play.tailwindcss.com/EDvwyMxKGF
Or you can make  the whole modal overlay scrollable by adding overflow-y-auto to modal: https://play.tailwindcss.com/7ixk4YzSvH


Feature Request: Timestampable - Invertable on="change"

I came across issue #1281 and wanted to submit a feature request with a class of valid use-cases.
In my applications, it is very common to have a set of properties related directly to the entity in the context of its domain, and then some (usually 2 or 3) metadata properties and are only used by the application internally.
When we want to know when an entity was last updated, typically we want to know when any of its domain properties were modified, which means we can't use the on="update" mapping which would change as soon as the metadata changed. Instead we need to use the on="change" mapping and list all of the domain properties. Then whenever we touch the entity, we need to make sure to update the on="change" listener too or suffer subtle bugs.
This is really inefficient because typically there are many more domain properties than metadata properties, and we change them more often (since they relate more to the public api of the entity).
If we add a boolean "invert" option or a "not_field" option or something to that effect to the on="change" listener, we can avoid this issue with minimal added complexity. I can submit a pull-request that implements this behavior.
To the argument that this needlessly complicates the options, any developer looking to integrate DoctrineExtensions should already be at a level where they will be able to understand that on="change" has an alt behavior that works like a blacklist instead of a whitelist, and know when that might be useful.

it sounds like you need something different like audit logs it is easy to extract it for any framework. extensions will not have new features, unless someone else starts to maintain it ;)

Audit logs are definitely overkill for this purpose. I would be introducing a whole framework when the only thing I want to do is make using the on="change" listener more convenient in one case.
I can understand not wanting to mess with something that's working for the typical case when the maintenance is demanding. That is unfortunate.

you can make a custom listener, timestampable uses trackable listener which is extended by blameable and etc, you can have a look and make your own easily, maybe without annotation support, only interface. that is an easy task. I do not work with php 2 years already, maintaining new features is the last thing I want :)


Update from repo-sync

Automatic sync with changes from GitHub Docs

Hi @chasemooney86, this PR was generated automatically by an update in the GitHub Docs repo. For non-substantive changes to our terms, we use this automatic sync. For material changes, we open PRs in advance in this repo.


fix(spawn): Propagate spawned process exit code

Exit codes are swallowed at the moment. So if I run tests and they fail, I still get 0 exit code.
Here is the problem:

Fixed behaviour:

My test file:
'use strict';

process.on('uncaughtException', err => {
  console.error(err);
  console.log(err.stack);
  process.exit(1);
});

throw new Error('OMG!');

Current coverage is 100.00%

Merging #9 into master will not affect coverage as of 77dace0

@@            master      #9   diff @@
======================================
  Files            1       1
  Stmts           30      32     +2
  Branches         0       0
  Methods          0       0
======================================
+ Hit             30      32     +2
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 77dace0

Powered by Codecov. Updated on successful CI builds.

I reckon appveyor is not yet setup properly, right?

I can confirm this behavior. Thanks for this PR!

@tomchentw :+1:

Perfect pull request. Thank you for your contribution!

This will be automatically released in a few minutes. Oh, and you're right appveyor is not yet set up. If you'd like to look into that, feel free :-D


store function with bit banging

store function with bit banging and i2c init fix

Initial commit before tests with Hardware.


nameof.hpp(274): warning C26495: Variable 'nameof::detail::static_string<19>::chars' is uninitialized. Always initialize a member variable (type.6).

Similar to Issue #15 previously resolved.
This MSVC static code analysis warning is triggered by code like this:
auto enu = static_cast<SOME_ENUM_t>(nSomeEnumeratorValue);

if (!nameof::nameof_enum(enu).empty()) { ... }

Could you please update to master?
I replace static_string to cstring, so it's seen fixed in master.

That fixed it. Thanks!


Introduce test suites to the question schema.

This PR introduces a testSuites property to the question data schema, replacing the old correctnessTests property.
Sorry it's a bit large -- updating the 16 question data files comprises probably about half of the PR.

Thanks for the review!
I want to do a follow-up change to make it observedOutputs or something like that, since the outputs are not restricted to true/false. But that would have made the PR even bigger, so I'd like to do it separately. Does that sound OK?

Discussed with @eyurko; decided to make follow-up changes in separate PR. Merging this one.


if chains → switch expressions

Previous "if-chains" pull requests:

https://github.com/flutter/flutter/pull/144905
https://github.com/flutter/flutter/pull/144977
https://github.com/flutter/flutter/pull/145194
https://github.com/flutter/flutter/pull/146293
https://github.com/flutter/flutter/pull/147472

I think this one should be enough to wrap things up!
fixes https://github.com/flutter/flutter/issues/144903

Merging manually, since autosubmit bot is down.


Package framework  BUG in the background

When i use the package version,i add the background and lock screen to the code, the play is not smooth, it come's the bug  under this.please fix it.
`AVAudioEngine output format changed from <AVAudioFormat 0x300982a80:  2 ch,  48000 Hz, Float32, deinterleaved> to <AVAudioFormat 0x30096cdc0:  2 ch,  44100 Hz, Float32, deinterleaved>
↑ rendering: <AVAudioFormat 0x3009b6210:  2 ch,  44100 Hz, Float32, deinterleaved>
Received AVAudioEngineConfigurationChangeNotification
AVAudioEngine output format changed from <AVAudioFormat 0x30098fc50:  2 ch,  48000 Hz, Float32, deinterleaved> to <AVAudioFormat 0x3009555e0:  2 ch,  44100 Hz, Float32, deinterleaved>
↑ rendering: <AVAudioFormat 0x3009dc640:  2 ch,  44100 Hz, Float32, deinterleaved>
Insufficient audio in ring buffer: 2118 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
Insufficient audio in ring buffer: 2048 frames available, 4096 requested
、

Please try the latest version of the main branch and also see https://github.com/sbooth/SFBAudioEngine/discussions/343 which might help.

If this is still a problem with version 0.2.0 please reopen this issue with the details.

ok,i will try it


How can I use the cloned emoji-data repo to map a codepoint to an individual image?

I understand that the sprite sheets are probably a more optimized approach to delivering emoji images, but I have a situation where I need to inject the emoji images into a contenteditable div and the nested structure of the spans returned by replace_colons has proven difficult.
If I wanted to use the individual images what would be the best way to do so?
It seemed like they were named according to their codepoints 1f171.png, but some appeared to be named according to surrogate pairs like 0032-20e3.png.

Sorry, I just read through the documentation and saw that this is ACTUALLY THE DEFAULT BEHAVIOR for the library. I was using a different library that referenced this and used sheets by default, so I apologize for the unnecessary issue. Closing now.


setting to extend sudo password validity

Issue description
I find myself typing my sudo password way too frequently. I wish I could set the timer to extend the period during which "sudo" works without password input.
Technical details
on nixos-unstable

Perhaps something like the following:
  security.sudo.extraConfig = ''
    Defaults        timestamp_timeout=30
  '';

See CONFIGURATION.NIX(5) and SUDOERS(5).

Sounds good, I feel like it would be a setting worth adding to nixos (rather than through extraConfig) but feel free to close the issue if that's not the case. I might even submit the PR if needed.

I don't think we should create an extra nixos option for this. It is related to other options, like timestamp_type, timestampdir, timestampowner.  IMO it's better to provide a safe default only and let users configure these advanced settings manually in extraConfig.


ios7 crash

ios7 crash because your macro __IPHONE_OS_VERSION_MAX_ALLOWED always works. Then new a WKWebView in ios7 and it will be nil.

AX�WebViewController is using the UIWebView in ios7 and lower.


Update Lambda.lagda.md Diamond and confluence example

The diamond property written in Agda demand a single step from L->(M|N)?  Therefore the verbose text should reflect the picture, which has 3 lines at the top.

OK,
I now see that the lines are meant as the 1 line from L to M and 1 line from L to N.
I saw each direction as a combination of 3 lines, as the individual characters.

I have updated the change. What do you think about making it clear that the individual characters \, / connect to a single line and the figure has 4 lines total?


Removed unused - Fixes #1629

#1631 only did the gitignore changes so these files do not get committed in the future, this actually deletes them.

Thanks @adamn!


Ignore missing files when updating metadata in Asset Manager

When testing AssetManagerAttachmentMetadataUpdater.update_range in integration we ran into some problems where AttachmentData objects didn't have a corresponding file on the file system. The lack of file meant that the asset hadn't been created in Asset Manager (because we populated Asset Manager using the files on disk) and so we saw exceptions when trying to retrieve the asset from Asset Manager (in AssetManagerWorkerHelper#find_asset_by).
Some of these attachments have been replaced which means that, despite not having a file on disk, requests for them are redirected to their replacement. We've identified these attachments and are creating assets for them in Asset Manager as part of https://github.com/alphagov/asset-manager/issues/525. Once these records have been created we're confident that it's safe to ignore any remaining AttachmentData records that don't have files.

When you say "When testing this branch in integration" in the PR description and commit note, which branch are you referring to? I might be missing something, but it would be good to clarify if not.

We've updated the commit note to make it clearer that we were testing the AssetManagerAttachmentMetadataUpdater.update_range method.


Support Windows on ARM64

Add checksums for actionlint Windows ARM64 build.
Cheers,
Jiri

Jiri Hörner
Senior Software Development Engineer
<EMAIL_ADDRESS>ptc.com

ugh, my maticulous pipeline failed, agr. I will deal with it in the evening

merging into integration branch to run pipelines