[Hub Generated] Review request for Microsoft.DocumentDB to add version preview/2021-04-01-preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[x] SDK of Go
[x] PowerShell
[x] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

/azp run unifiedPipeline

"ContinuousBackupRestoreLocation": {

please mark read only properties

Refers to: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:8834 in 5dd69c0. [](commit_id = 5dd69c0111a18461687ee7b940f6c313a6c8e454, deletion_comment = False)

      "type": "string",

Consider adding "format": "date-time"

Refers to: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:8859 in 5dd69c0. [](commit_id = 5dd69c0111a18461687ee7b940f6c313a6c8e454, deletion_comment = False)

      "type": "string",

Consider adding "format": "date-time"
Refers to: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:8859 in 5dd69c0. [](commit_id = 5dd69c0, deletion_comment = False)

Actually, this field : "latestRestorableTimestamp" isn't in date time format but number of seconds from 1970 represented as string.

      "type": "string",

If used epoch time, then type can be integer. Though there is not hard rule set on this so string is also ok.

In reply to: 797544518 [](ancestors = 797544518)

Refers to: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:8859 in 5dd69c0. [](commit_id = 5dd69c0111a18461687ee7b940f6c313a6c8e454, deletion_comment = False)

Hi @amisi01 for ApiDocPreview failure, I just checked that this should not happens in PROD, as in previous configuration, the operation group mapping is applied, please also apply the same configuration when you published the docs for this version

@filizt please help approve this PR through GitHub approving, to help unblock my merging


Twitter Hashtag accepted characters

From https://twitter.com/BountyBot/status/559047998403932160 it looks that Twitter does not accept hyphens as hashtag characters.
I saw only one Twitter site result from my Google Grep on official character rules.
(unrelated: it looks like their URL slugger has a similar issue ("aren-t"))
and the SO question wasn't too helpful
Nonetheless, hashify() a & hashify() b need* some character replacement.
*"need" because this is a demo, so obviously it is required have every bell and whistle known to mankind.

You're right. I always intended to circle back and fix this when I originally wrote that hashify function. I'll see if I can knock it out this weekend.

I fixed this so that the last step in hashify() will now remove hyphens and capitalize each word in a tag for readability. Thanks for reporting the issue.


Remove PHP 7 RC comments from docs

Removed "PHP 7 is out soon" comments from PHP 7 documentation page .
PHP 7.0.0 is out now! HURRAH!

Looks good! It's still slightly experimental until I get time to make sure all my PHP-based roles work well with PHP7. Currently some extensions that power core functionality don't work with PHP7 :(


Fixed openssl version, changed event name style and added information for m1 mac users

Thanks for your contribution.


Work with "Segfaulters" on Authentication

Title

No need since Segfaulters deal with the simulator backend, which shouldn't require difference access permissions.


Allow shared fork pool between tasks; ideally automatically

Expected Behavior

Tests (or otherwise) in multiple sub projects should be able to share the same fork pool or, ideally, auto-fork to use available CPU and memory but not beyond.
Current Behavior

Currently, each tasks gets its own fork pool which can overwhelm a system, especially when each task also consumes significant amounts of memory). This puts an upper limit on the number of subprojects (since each one defaults to a pool of size 1) and also precludes two large sub-projects from sharing a pool.
Context
We have multiple sub projects, each with their own set of tests. We can only have one of those sub projects run tests with a maxParallelForks set above 1 because that fork count is multiplied by n where n is the number of sub projects.
We use TestContainers, which itself uses Docker to start containers for various tests; this can quickly overwhelm the machine's memory with too many forks.

20 sub projects with maxParallelForks=1 means effectively 20 forks, which could be considered over-parallelization on a machine with 2 cores.
2 subprojects, one with 100 tests and another with 5; developers have to manually optimize maxParallelForks settings, which could be different depending on machine resources, or could mean idle cores and thus wasted performance
10 sub projects with 100 tests each, Setting to maxParallelForks = Runtime.runtime.availableProcessors() means each core is starting 10 tests, on a high core CPU with high-memory tests, this could easily overwhelm available memory.

Hi Charlie, thanks for reporting.
I don't have much background with TestContainers or Docker, but I am curious as to where you're creating the fork pool? Some of the limits on resource sharing between tasks is likely by design.
While I understand this might not match your use-case, our recommended approach for threading/parallelism and resource sharing is via the Worker API. Parallelism can then be controlled by the org.gradle.workers.max property or --max-workers CLI argument.
Please have a read and let us know if this doesn't address your use-case. We can open another issue for that.

@DPUkyle The fork pool is created implicitly by gradle when we invoke gradle test based on this example: https://docs.gradle.org/current/userguide/performance.html#parallel_test_execution
And the presence of gradle.settings:
org.gradle.parallel=true

The suggestion I'm making here is to modify the behavior of the existing, built-in test tasks to fork more consistently.


Instagram checkpoint required

Hi All
{"status":"fail","type":"login","message":"checkpoint_required"}
How I can solve this issue

Make sure you have the latest version of this library installed from the git repo, instead of the npm.
"checkpoint_required" has been replaced with "challenge_required" in the new updates.

pls can some one help me to install the new  library

Change dir to where you want to install:
cd /path/to/install
Clone the repo:
git clone https://github.com/huttarichard/instagram-private-api.git
NPM install:
npm install .
Personally I add it to a libs folder in my projects as I make alterations to the source and then just require the path to the repo e.g.
const Client = require('./lib/instagram-private-api').V1;

Or just edit your package.json file:
...
"dependencies": {
...
"instagram-private-api": "github:huttarichard/instagram-private-api",
...
}
...

hi  all
I'm beginner please help step by step in this issue , what can I do after downloading this new lib files

you need to read more about nodeJS packages management, just google it and after few mins you will back here and message what that was easy)

hi all
can you explain how can i get private key in Instagram apk , i get try Decompile android apk but confuse how to get private key And ssl pinning bypass..............?

Hello everybody,
I'm having a lot of checkpoint problems lately.
If someone has a solution to this, please email me:
My gmail is<EMAIL_ADDRESS>Did you ( @pasevin , @SashaDesigN , @jchacks , @mndsalim , @kanha59 ) have this kind of problem and fix it?


loss_weight typo

https://github.com/lucidrains/alphafold3-pytorch/blob/8ef24ebdd69b35874e067e78afa0367b2fcfadef/alphafold3_pytorch/alphafold3.py#L2186
it should be return (sigma ** 2 + self.sigma_data ** 2) * (sigma + self.sigma_data) ** -2
follow equation 6 in page 23 of SI. also to have the correct dimension.

@luwei0917 i'm following the equation directly from Tero Karras' paper

@luwei0917 i'm also using code directly from two other repositories using EDM successfully to train image based generative models

that's a bit strange. because as \sigma become very small, this loss weighting will be very large. but you might be right, as the EDM version could give more weight when t is almost 1.

@luwei0917 you weren't the only one to point out this discrepancy, we can leave the issue open for further discussion from passerbys

@luwei0917 hey Wei, i've decided to go with the paper's loss weighting but allow for switching back to Karras' original one with a flag karras_formulation on ElucidatedAtomDiffusion


[GHSA-rgv9-q543-rqg4] Uncontrolled Resource Consumption in FasterXML jackson-databind

Updates

Affected products
Description

Comments
It is confusing to let people think that all jackson-databind users are affected by this issue.

Hi @pjfanning, I read the conversation you had at https://github.com/FasterXML/jackson-databind/issues/3582 and agree with the proposed change to the CVE description. Thank you for contributing this pull request for GHSA-rgv9-q543-rqg4.
In addition to what you have already done by making a community contribution pull request, I recommend that you contact MITRE, the CNA that issued the CVE, at https://cveform.mitre.org to request an update to the description in the CVE record. When you request the update, provide https://github.com/FasterXML/jackson-databind/issues/3582 and this pull request as reference links so they can see public discussion of the proposed update to the description.


did something break?

even the website you have posted  as an example with the map of the us seems to have stopped working properly?

^ Yes, this still seems to be the issue

still not working for me


Inline mode

(This needs to wait before danger-swift#56 is merged, though)
Todo:

[x] Add documentation
[x] Add Changelog entry

Update: So the Danger JS and Danger Swift inline mode was merged! Danger JS is already released and @orta is playing with Danger Swift to get all the things working for the release as well. Once Danger Swift is released, I'm gonna add documentation and we could use a final review for this one!

@ashfurrow okay, Danger Swift is released, I've added Changelog entry & documentation. Should be ready for the final review 😉


old fleet agent is deleted before the new fleet agent workload comes up in cattle-fleet-system namespace in a rancher upgraded setup

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

On 2.5.8, deploy a downstream cluster - DO RKE - 2 nodes
Upgrade rancher to master-head commit id: a11f947
On the local cluster, The new namespace cattle-fleet-agent - fleet-controller and gitjob workload get created.
On the local cluster, the fleet-agent workload - 0.3.5 gets deleted
The new fleet-agent is not deployed.

Expected Result:
The new fleet-agent should be deployed before the previous one gets deleted
Other details that may be helpful:
The new fleet-agent is deployed after 15 minutes on the local cluster
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head commit id: a11f9476
Installation option (single install/HA): Single

This is no longer seen on master-head. Likely was an issue related to https://github.com/rancher/fleet/issues/437 due to the errors on agent Update API calls not being handled.

Note: this issue is separate from https://github.com/rancher/rancher/issues/33293

On upgrade from 2.5.9 to master-head commit id: 44bb5b4

On 2.5.9, deploy a downstream cluster - DO RKE - 2 nodes
Upgrade rancher to master-head commit id: 44bb5b4
On the local cluster, The new namespace cattle-fleet-agent - fleet-agent, fleet-controller and gitjob workloads get created.


rkt list has unclear behavior

ssh into remote, rkt run in foreground, killed ssh session, leaving the ssh in a closed state, relogining in I ran the following command:
$ sudo rkt list
UUID		APP			IMAGE NAME		STATE	CREATED		STARTED		NETWORKS
15992038	fedora-squid-test	kbrwn/fedora-squid-test	exited	1 minute ago	1 minute ago
3589a60a	fedora-squid-test	kbrwn/fedora-squid-test	exited	3 hours ago	3 hours ago
bda587d4	fedora-squid-test	kbrwn/fedora-squid-test	exited	7 hours ago	7 hours ago
e3cb5c2e	fedora-squid-test	kbrwn/fedora-squid-test	exited	3 hours ago	3 hours ago

I see that my container is no longer in a running state and attempt to start it again:
$ sudo rkt --insecure-options=all run fedora-squid.aci --volume cache,kind=host,source=/home/core/cache/ --net=host

Fails to start with the following output(truncated):
[88199.462390] sh[4]: 2016/02/26 01:22:16| Finished loading MIME types and icons.
[88199.462694] sh[4]: 2016/02/26 01:22:16| commBind: Cannot bind socket FD 18 to [::]:3128: (98) Address already in use
[88199.462951] sh[4]: 2016/02/26 01:22:16| commBind: Cannot bind socket FD 19 to [::]:3129: (98) Address already in use
[88199.463265] sh[4]: 2016/02/26 01:22:16| HTCP Disabled.
[88199.463556] sh[4]: 2016/02/26 01:22:16| Squid plugin modules loaded: 0
[88199.463807] sh[4]: 2016/02/26 01:22:16| Adaptation support is off.
[88199.464095] sh[4]: 2016/02/26 01:22:16| Closing HTTP port [::]:3128
[88199.464396] sh[4]: 2016/02/26 01:22:16| Closing HTTP port [::]:3129
[88199.464660] sh[4]: FATAL: Unable to open HTTP Socket

I check the sockets and see that still squid is bound to ports 3128,3129:
 $ sudo netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp6       0      0 :::22                   :::*                    LISTEN      1/systemd
tcp6       0      0 :::3128                 :::*                    LISTEN      1334/squid
tcp6       0      0 :::3129                 :::*                    LISTEN      1334/squid

Identify PID 1334 and see that there  is a full container running:
$ ps faux | grep -3 1334
root      1320  0.0  0.1  36288  4620 ?        Ss   Feb25   0:00 /usr/lib/systemd/systemd --default-standard-output=tty --log-target=null --log-level=warning --show-status=0
root      1322  0.0  0.1  30428  6360 ?        Ss   Feb25   0:00  \_ /usr/lib/systemd/systemd-journald
root      1326  0.0  0.0   9632  2328 ?        Ss   Feb25   0:00  \_ /bin/sh -c chown squid /cache/ && /usr/sbin/squid -z && /usr/sbin/squid -N -d 1
23        1334  0.0  0.6<PHONE_NUMBER>4 ?        S    Feb25   0:01      \_ /usr/sbin/squid -N -d 1
23        1335  0.0  0.0  27972  2044 ?        Ss   Feb25   0:00          \_ (logfile-daemon) /var/log/squid/access.log
23        1336  0.0  0.0  27952  2040 ?        Ss   Feb25   0:00          \_ (unlinkd)

Validate with machinectl:
$ machinectl
MACHINE                                  CLASS     SERVICE
rkt-bda587d4-69c8-47ba-b691-8adc18dff1be container nspawn
rkt-e3cb5c2e-a160-4c06-9a82-49f91be2232e container nspawn

manifest for container follows:
$ cat manifest
{"acKind":"ImageManifest","acVersion":"0.7.1+git","name":"kbrwn/fedora-squid-test","labels":[{"name":"arch","value":"amd64"},{"name":"os","value":"linux"}],"app":{"exec":["/bin/sh","-c","chown squid /cache/ \u0026\u0026 /usr/sbin/squid -z \u0026\u0026 /usr/sbin/squid -N -d 1"],"user":"0","group":"0","mountPoints":[{"name":"cache","path":"/cache"}],"ports":[{"name":"www","protocol":"tcp","port":3128,"count":1,"socketActivated":false}]},"annotations":[{"name":"appc.io/acbuild/command-1","value":"acbuild set-name \"kbrwn/fedora-squid-test\""},{"name":"appc.io/acbuild/command-2","value":"acbuild port add \"www\" \"tcp\" \"3128\""},{"name":"appc.io/acbuild/command-3","value":"acbuild copy \"squid.conf\" \"/etc/squid/squid.conf\""},{"name":"appc.io/acbuild/command-4","value":"acbuild run \"dnf\" \"install\" \"squid\" \"-y\""},{"name":"appc.io/acbuild/command-5","value":"acbuild mount add \"cache\" \"/cache\""},{"name":"appc.io/acbuild/command-6","value":"acbuild set-exec \"/bin/sh\" \"-c\" \"chown squid /cache/ \u0026\u0026 /usr/sbin/squid -z \u0026\u0026 /usr/sbin/squid -N -d 1\""}]}

I would expect that rkt list would show the running state of the containers or that the containers would no longer be running.

It seems that systemd-nspawn is no longer running (hence rkt list shows the container as exited) but systemd in the pod is still running (hence visible in machinectl).
I guess systemd-nspawn has the controlling terminal from ssh and gets killed when it receives the SIGHUP signal. But systemd in the pod is not connected to the controlling terminal, so it stays alive.

I could reproduce this with systemd-nspawn:
$ vagrant ssh
Last login: Tue Mar  1 09:39:18 2016 from <IP_ADDRESS>
CoreOS alpha (962.0.0)
core@core-01 ~ $ sudo systemd-nspawn -bD ~/arch-tree
[...]
[In another terminal]
$ sudo kill -9 $(pidof ssh)
$ vagrant ssh
core@core-01 ~ $ machinectl
MACHINE CLASS     SERVICE
arch    container nspawn

1 machines listed.
core@core-01 ~ $ ps auxf | grep /usr/lib/systemd/systemd$
root      2197  0.0  0.5  35100  5456 ?        Ss   09:54   0:00 /usr/lib/systemd/systemd

I tested on Fedora-Cloud-Base-rawhide-20160127.x86_64-eu-central-1-HVM-standard-0 and I could not reproduce the bug.
sudo dnf install btrfs-progs
sudo machinectl pull-raw --verify=no http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.raw.xz
sudo systemd-nspawn -M Fedora-Cloud-Base-20141203-21.x86_64

Are you using same version of systemd? This fedora image has v217. @iaguis i suppose that coreos image which you are using have something more recent? Could this difference affecting @alban test?

To be clear - by "this fedora image" - i mean mentioned by @alban Fedora Cloud Base, not a fedora-squid mentioned earlier above.

@alban @jellonek please state the versions of systemd you've used when trying to reproduce the bug.

I don't remember what version of systemd was used.

@kbrwn I tried to reproduce this behavior using rkt 1.6.0 and systemd v229. Containers were all killed. Would you mind trying again to see if the bug is fixed for you in the new version as well?

@kbrwn I tried to reproduce this behavior using rkt 1.6.0 and systemd v229. Containers were all killed. Would you mind trying again to see if the bug is fixed for you in the new version as well?

We had this theory where this might only be a problem on CoreOS, specifically on CoreOS versions without PAM, where there was no session support (https://github.com/coreos/rkt/issues/1664#issuecomment-150610708).

I can reproduce it on CoreOS 1053.2.0

@tmrts I tentatively moved this for 1.9.0, but feel free to re-schedule once you have an ETA for it.

I went for a bit of investigation on this, and it seems to be still affecting recent CoreOS Alphas, even the ones with logind.
For reference, the testing environment is CoreOS Alpha 1153.0.0 (systemd v231 on host) with logind service running and rkt 1.13.0 (stage1-coreos with systemd v229). This is latest plain alpha at this time, straight out of coreos-vagrant setup.
Running an interactive rkt app over ssh shows that:

cgroup-wise, systemd-nspawn belongs to the user slice and a dedicated session scope (1:name=systemd:/user.slice/user-500.slice/session-4.scope)
systemd-nspawn is being run without --keep-unit
loginctl session-status knows about it. Session leader is sshd and it is spawned as Service: sshd; type tty; class user

Abruptly killing the ssh correctly kills nspawn and the app running inside it, but systemd and journald are still alive:

stage1-systemd is re-parented as a top level process
session-wise, they now belong to system.slice
cgroup-wise, they are under their original machine.slice (1:name=systemd:/machine.slice/machine-rkt\x2db3477024\x2d7e87\x2d400c\x2d982e\x2db43bcfc19ded.scope/init.scope)

Another interesting observation is that the re-parented systemd has a different PID than the original one. It is somehow re-executing/forking when systemd-nspawn is killed.

More investigation on this:
When rkt is executed via ssh without interactive mode (sudo /var/tmp/rkt run docker://busybox --exec=/bin/sh -- -c 'sleep 999'), all the processes are killed correctly when ssh is killed (keys ~.).
But with --interactive (sudo /var/tmp/rkt run --interactive  docker://busybox), the following happens:

the shell exits because it reads -1 EIO (Input/output error) on its stdin. The shell's stdin is connected to the nspawn tty because of --interactive.
systemd attemps to start reaper-busybox.service  but it fails because open("/dev/console", O_WRONLY|O_NOCTTY) = -1 EIO (Input/output error) and it exits with error code 209 (EXIT_STDOUT).
systemd then attemps to start shutdown.service (I see activity in that cgroup directory) but it fails for the same reason.
since "shutdown" fails, the pod is not terminated.

We could configure the reaper with "StandardOutput=null" but then we the diagnostic tool (#2872) will not print anything anymore. There might be a way to configure "shutdown.service" though.
I don't observe systemd with a different PID or any re-executing/forking behaviour.


Accessibility of Text

Description
Is there a way or planned feature to tell the document how should a given text block be read by a screen reader?  I was thinking to use #text(lang: <lang>), but that might not be it, maybe there needs to be a more semantic functionality for this.
Use Case
This is super useful for screen readers
when the language of the given text (such as proper nouns)
differs from the document's own language.

Duplicate of https://github.com/typst/typst/issues/133


Issue#711

Github Issue (if applicable): #711
Trello Link (if applicable):
Forum Link (if applicable):
https://forum.youneedabudget.com/discussion/53934/toolkit-credit-card-pif-assist#latest
Explanation of Bugfix/Feature/Enhancement:
Corrected code to be aware of when a budget switch occurs and fixed a place where a null variable was being used which resulted in throwing a silent error.
Recommended Release Notes:
Paid in Full Credit Card Assist feature now works when switching budgets.

So what is the status on this bug? Sorry if this is the wrong place to post.

@WINK1814 It's waiting to be merged in the master branch and then pulled into the next release.

Thank you!


HasError<T> can throw, when I would expect false

ISSUE:
When checking for the existence of a custom IError I sometimes get an exception that does not clearly point to the problem:

System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.OfType[TResult](IEnumerable source)
at FluentResults.ResultHelper.HasError[TError](List1 errors, Func2 predicate, IEnumerable1& result)    at FluentResults.ResultHelper.HasError[TError](List1 errors, Func2 predicate, IEnumerable1& result)
at FluentResults.ResultBase.HasError[TError](Func2 predicate, IEnumerable1& result)
at FluentResults.ResultBase.HasError[TError](IEnumerable`1& result)
at FluentResults.ResultBase.HasErrorTError

EXPECTED BEHAVIOR:
I would expect HasError<T> to return false instead of throwing.
CAUSE:
In my custom error I did not initialize Reasons in some cases.
SOLUTION:
I would recommend turning on <nullable>enable</nullable> to help flag null problems across the code base.
The problem seems to be in [public static bool HasError(](https://github.com/altmann/FluentResults/blob/8b675de7e8b6e4c0921e95138c99e15fd52cde40/src/FluentResults/Factories/ResultHelper.cs#L35)
where predicate is null when looking at a null set of Reasons.
Adding
if(predicate is null) return false

is an example fix.

Implemented with v3.16


Cmake update

Removes support for downloading Clang 5 + 6.0.0 (system clang still supports all versions)
Adds support for downloading Clang 6.0.1 (except for Darwin which doesn't have a 6.0.1 release, 6.0.0 is used instead)
Updates reproc to make it less intrusive when being included with add_subdirectory (doesn't get installed and doesn't generate reproc-format target)
Defaults to downloading the Clang Ubuntu 16.04 release on Linux systems instead of the 14.04 release. If Ubuntu 14.04 is detected the 14.04 release is downloaded instead.

We haven't seen anyone having problems with Clang 6.0.0 so it seems safe to remove support for downloading Clang 5.
I still need to test the 14.04 detection code but I'm going to do that via Travis since I don't have access to a Ubuntu 14.04 system and Travis uses 14.04.

Don't merge yet I'm going to change one more thing

Oops, looks like I can only squash and merge. I tried fixing the commits manually but if you'd like to preserve the commit history can you rebase on master?

Travis flaked on one build


[MNT] Tensorflow Python 12

Manually adding the InstanceNormalization layer in aeon given the deprecation of the tensorflow_addons package in May 2024.
Fix #1144

Just need to copy paste the InstanceNormalization code https://github.com/tensorflow/addons/blob/v0.20.0/tensorflow_addons/layers/normalizations.py#L296-L338
from tensorflow-addons and add it manually for EncoderNetwork and remove tensorflow-addons from dependencies
if you want i can push it on this branch

@hadifawaz1999 feel free to do so

Also there is a conflict

Also there is a conflict

resolving conflict is adding back tensorflow addons, not sure why

just remove it again in the merge, cant get around merging with main.

just remove it again in the merge, cant get around merging with main.

nothing is working :) tried even to change only the addon, but still conflict exist as long as the file is changed...

you have to pull the main branch. done so above.

@hadifawaz1999 try pulling #1585 into this. Maybe it's Intel MacOS.

@hadifawaz1999 try pulling #1585 into this. Maybe it's Intel MacOS.

maybe should wait till the #1585  passes test ? and i think it is, because it doesnt make sense, the test where its stucking are not even deep related, and each time i run the job it gets stuck on a new test, first i saw transformer test, then forecasting test

Bit confused by tags, but looks good to me. Probably change the title of the PR though

finishing this off and then resuming later on with #1760


Address CORS policy change in Chrome 59?

Chrome just changed the way they handle cross-origin sendBeacon requests.
https://bugs.chromium.org/p/chromium/issues/detail?id=490015
From what I understand, they don't want cross origin requests to be able to send JSON, but they are allowed to send plaintext. It will be up to the server to deal with the difference in format and deal with the request accordingly.
We got dinged with this in our implementation, because right now we host the JS on our www domain, and send CORS requests to our track subdomain. Our current plan is to change the way we host the file so that the CORS isn't required, but I'm curious if you think that this is worth updating the library to handle this scenario?

Hey @wheeyls, thanks for reporting 👍  This is something we should address in Ahoy, since it shouldn't require CORS.

Fixed on master. It'll go out sometime in the next few days with the release of Ahoy.js 1.0.


vscode-python conflicts with Jupyter notebook preview extension

Environment data

VS Code Version: 1.30.0

VS Code Commit: c6e592b2b5770e40a98cb9c2715a8ef89aec3d74

VS Code Date: 2018-12-11T22:21:33.585Z

VS Code Electron: 2.0.12

VS Code Chrome: 61.0.3163.100

VS Code Node.js: 8.9.3

VS Code V8: 6.1.534.41

VS Code OS: Linux x64 4.15.0-42-generic

Extension version (available under the Extensions sidebar): 2018.12.1

Python version (& distribution if applicable, e.g. Anaconda): N/A

Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A

Relevant/affected Python packages and their versions: N/A

Expected behaviour
I do not expect the presence of the Microsoft Python extension to interfere with the ability of other extensions to show Jupyter Notebook previews.
Actual behaviour
The presence of the Microsoft Python extension to interferes with the ability of other extensions to show Jupyter Notebook previews in VS Code. ( See https://github.com/jithurjacob/vscode-nbpreviewer/issues/13#issuecomment-447568157 )
Steps to reproduce:

Install the Microsoft Python extension.
Install the VS Code Jupyter Notebook Previewer v1.1.0 by @jithurjacob .
Open a Jupyter notebook. The preview button will not appear. It will appear if the Microsoft Python extension is removed and VS Code is reloaded.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
N/A

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
(See screenshot below; sorry this was not captured as text.)

I am the author of the extension vscode-nbpreviewer. As per my understanding this is happening
because the *.ipynb files are being opened as "jupyter" where my extension expects it to be "ipython". Please let me know if this is as an exception case that I failed to handle.

Taking a peek quick. As @jithurjacob mentions it looks like this might just be a conflict between how the MS extension and the other extension want to classify .ipynb files.

Yup, it's the registration issue. Both extensions try to hook up .ipynb to a different language tag. I tried moving the our extension to "ipython" instead of jupyter and in that case both extensions could work together at the same time. @jithurjacob would you be willing to have your extension move the .ipynb registration over to "jupyter" as well? I know that this was added in our extension after yours, but I don't feel like tying .ipynb to ipython is correct. .ipynb is the overall notebook format since the big split and is not tied to the ipython kernel. If you want, I could submit a PR for this, it's a pretty small change.

@IanMatthewHuff  No worries I will change it to jupyter.

Thanks @jithurjacob. Much appreciated. I'm going to close down this issue on this side since the registration will be changing in nbpreview.


FileValidator->getSizeLimit: check also php's post_max_size

Good idea. Can you add a changelog? Also what do you think about reserving a few bytes more for it since there will form data as well.

I don't know if it's worth adding a fixed value to the size. The form may be very different, from a single input field to a big textarea....

I think it worth doing since it's quite mysterious fail when post_max_size === upload_max_filesize and there's a file uploaded that matches max size.

Merged, thanks!


There is already a basic API.  It needs to be improved

[gifbot:search]

[gifbot:search]

[gifbot:search]


Can we customize the UI of the Video Player

Hi @nchutchind
Thanks for this amazing plugin.
I have a query regarding exploring the possibilities to customize the UI of the video player.
Our client requirement is to have different (custom) UI for the video player. Is it possible to customize the video player UI? or it completely depends on the device 's video player interface?
If customization is possible, then will it be done at native side or can we do it using HTML?
Please let me know the possibilities.

It has been quite a while since I worked with the video player so my info
is very dated at this point, but I don't remember there being a while to
style the player UI, as it was using the system player. That does not mean
there isn't some way to hook into the system to change the icons and scrub
bar, but I do not remember that being an option.
[image: photo] http://facebook.com/bunsofaluminum
http://us.linkedin.com/in/nchutchind   Nicholas Hutchind
Senior Software Engineer
@.***
On Thu, Sep 1, 2022 at 5:00 AM Mohsin Jamadar @.***>
wrote:

Hi @nchutchind https://github.com/nchutchind
Thanks for this amazing plugin.
I have a query regarding exploring the possibilities to customize the UI
of the video player.
Our client requirement is to have different (custom) UI for the video
player. Is it possible to customize the video player UI? or it completely
depends on the device 's video player interface?
Please let me know the possibilities.
—
Reply to this email directly, view it on GitHub
https://github.com/nchutchind/cordova-plugin-streaming-media/issues/231,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKVJ4W3PZYMAYH37ZXQPS3V4BWEVANCNFSM6AAAAAAQCENSCM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add grpc retry to requests and streams

This PR adds the go-grpc-middleware retry. We need to be able to retry a call or to resubscribe to a stream in the case that the lnd node is unreachable for some time.
This alone will not be sufficient to fix all connection problems with lnd, therefore the watchers (peers, chain, invoices) need a complete rework.
I will provide another PR that takes care of the watcher reworks to keep this PR single tasked and reviewable. That PR will be based on the head of this PR.

Testers: Please test like normal. Need to know this at least does not cause regressions.

I did some testing of this PR:
I was able to swap out successfully running LND 0.15.0
I was able to swap in using LBTC, and
I did another swap out to BTC, and while the onchain transaction was waiting to confirm, I turned off my LND node for 5 minutes or so. The logs for the retry/reconnect is really spammy though, it might be better to retry every second or two, instead of many times per second.

We had planned on addressing the separate problem of retries being too fast in another PR. Maybe for now we should add a one second minimum delay to make it less noisy?

Making the logs less noisy might be a good idea, but either in this PR or another is fine.
To follow up on the second swapout above where I restarted LND midway. I noticed the onchain BTC transaction had 8 confirmations, so I restarted peerswapd and it successfully finished the swap.
So while it did reconnect to LND, it still is missing some of the subscriptions reconnecting... Which I think is the expected result of this PR. No regressions, but it didn't fix the issue.

gRPC reconnection handling, especially LND restart isn't complete yet. The testing here is only "is this worse than previously". We'll ask for comprehensive reconnection testing when that part is ready.

ACK d76c393259f80d527beb5816afc938eba8ac3241
I'm relying mainly on testing reports from our LND users.
Please DO NOT REBASE. Instead git merge and fix up the merge conflict manually.


Add numpy-like parameters in 'load_csv'.

This pull request adds following numpy-like parameters in 'load_csv' to improve compatibility with 'numpy. loadtxt'.
New parameters:

'comments': The string used to indicate the start of a comment.
'delimiter': The character used to separate values.
'skip_rows': Skip the first skip_rows lines.
'max_rows': Read max_rows lines of content after skip_rows lines. The default is to read all the lines.

Please see 'numpy. loadtxt'.

That is really cool! I'll make a proper review later

I'v done them. Thanks @wolfv !  #471be0a

Change types to std::size_t and std::ptrdiff_t.
Add brackets around single-lines.
Fix the indent.

Thanks, I'll merge when all the tests have passed. Do you mind if I squash the commits to keep the history readable?

Sure, thanks.

@JohanMabille, I'd modified further a little, sorry. The parameter 'comments' was moved to the last because I think there are few cases to use it compared to the others.

No problem.


DraggableScrollableSheet is rebuilding the screen while dragging

Steps to Reproduce

DraggableScrollableSheet is rebuilding the screen while dragging the sheet and it is causing unnecessary flickers.
class MyPopUpSheet extends StatelessWidget {
  ScrollController _scrollController; //Needed for

  @override
  Widget build(BuildContext context) {
    return Material(
      child: DraggableScrollableSheet(
        initialChildSize: 0.4,
        minChildSize: 0.4,
        builder: (ctx, scrollController) {

         print('Rebuilding...');

          return CustomScrollView(
            controller: scrollController,
            slivers: [
              SliverToBoxAdapter(child: Container(Colors.deepOrange)),
              SliverToBoxAdapter(child: Container(Colors.red)),
              SliverToBoxAdapter(child: Container(Colors.green)),
            ],
          );
        },
      ),
    );
  }

Expected results:
It shouldn't rebuild the widget while dragging the sheet.
Actual results:

Logs

[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G73, locale en-IN)
    • Flutter version 1.20.4 at /Users/username/Library/Application Support/fvm/versions/1.20.4
    • Framework revision fba99f6cf9 (3 weeks ago), 2020-09-14 15:32:52 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/username/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • ONEPLUS A6000 (mobile) • 431e5315 • android-arm64 • Android 10 (API 29)

• No issues found!

cc/ @TahaTesser

@TahaTesser I have noticed this issue too, for a similar implementation.

I can reproduce the issue

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: MyPopUpSheet(),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

class MyPopUpSheet extends StatefulWidget {
  @override
  _MyPopUpSheetState createState() => _MyPopUpSheetState();
}

class _MyPopUpSheetState extends State<MyPopUpSheet> {
  ScrollController _scrollController;

  @override
  void initState() {
    super.initState();
    _scrollController = ScrollController();
  }

  @override
  void dispose() {
    _scrollController.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Material(
      child: DraggableScrollableSheet(
        initialChildSize: 0.4,
        minChildSize: 0.4,
        builder: (ctx, scrollController) {
          print('Rebuilding...');

          return CustomScrollView(
            controller: scrollController,
            slivers: [
              SliverToBoxAdapter(
                  child: Container(
                color: Colors.deepOrange,
                height: 200,
              )),
              SliverToBoxAdapter(
                  child: Container(
                color: Colors.red,
                height: 200,
              )),
              SliverToBoxAdapter(
                  child: Container(
                color: Colors.green,
                height: 200,
                // width: 200,
              )),
            ],
          );
        },
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.0, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.0 at /home/tahatesser/Code/flutter_stable
    • Framework revision d408d302e2 (6 days ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /home/tahatesser/Code/sdk
    • Java binary at: /home/tahatesser/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at /home/tahatesser/Code/android-studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.15.0

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android
      10 (API 29) (emulator)

• No issues found!

flutter doctor -v
[✓] Flutter (Channel beta, 1.22.0, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.0 at /home/tahatesser/Code/flutter_beta
    • Framework revision d408d302e2 (6 days ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /home/tahatesser/Code/sdk
    • Java binary at: /home/tahatesser/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /home/tahatesser/Code/android-studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.15.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    •
      Android 10 (API 29) (emulator)
    • Web Server (web)                   • web-server    • web-javascript •
      Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript •
      Google Chrome 85.0.4183.121

• No issues found!

flutter doctor -v
[✓] Flutter (Channel master, 1.23.0-8.0.pre.130, on Linux, locale en_US.UTF-8)
    • Flutter version 1.23.0-8.0.pre.130 at /home/tahatesser/Code/flutter_master
    • Framework revision f4bad5b422 (18 hours ago), 2020-10-04 12:37:03 -0400
    • Engine revision 04a46cc656
    • Dart version 2.11.0 (build 2.11.0-185.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /home/tahatesser/Code/sdk
    • Java binary at: /home/tahatesser/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /home/tahatesser/Code/android-studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.15.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    •
      Android 10 (API 29) (emulator)
    • Web Server (web)                   • web-server    • web-javascript •
      Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript •
      Google Chrome 85.0.4183.121

• No issues found!

Same here! I recently opened an issue at stackoverflow: https://stackoverflow.com/questions/64101774/draggablescrollablesheet-rebuilds-all-children-every-frame-when-dragged?noredirect=1#comment113497998_64101774

Hi @TahaTesser any update on this? It has been 20 days.

I'm taking a look at this.

Can you try the changes in https://github.com/flutter/flutter/pull/69724 to verify they fix your issue?

Hi @ganeshrvel  @dnfield
I can confirm  https://github.com/flutter/flutter/pull/69724 fixes this issue
With PR (checked  locally git fetch upstream pull/69724/head:drag_build & git checkout drag_build)
Preview

√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...                582ms
Waiting for sdk gphone x86 to report its views...                   11ms
Syncing files to device sdk gphone x86...                           74ms

Flutter run key commands.
r Hot reload.
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on sdk gphone x86 is available at: http://<IP_ADDRESS>:64348/CAszCSbiJTo=/
I/flutter (19694): Rebuilding...

Latest master channel
Preview

I/chatty  (19380): uid=10158(com.example.master_flutter) 1.ui identical 42 lines
I/flutter (19380): Rebuilding...
I/flutter (19380): Rebuilding...
I/chatty  (19380): uid=10158(com.example.master_flutter) 1.ui identical 41 lines
I/flutter (19380): Rebuilding...
I/flutter (19380): Rebuilding...
I/chatty  (19380): uid=10158(com.example.master_flutter) 1.ui identical 61 lines
I/flutter (19380): Rebuilding...
I/flutter (19380): Rebuilding...
I/chatty  (19380): uid=10158(com.example.master_flutter) 1.ui identical 8 lines
I/flutter (19380): Rebuilding...

Since I am quite new to this whole github / opensource / collaboration - universe:
When can we except that the updated DraggableScrollableSheet will be included in a new flutter version?
If this information is already around here, i wasn't able to find it or conclude it from the links to the 'waiting for PR to land'-label or the closed branches...

The fix for this is being reverted since it likely caused https://github.com/flutter/flutter/issues/70690 - need a better fix.

I plan to look at this again, but may not be until January at this point. Removing milestone until I can reasses difficulty of a fix that doesn't create the regressions #69724 introduced.

Hello, any update on this fix?

Hello, any update on this fix?

@TahaTesser @dnfield We have reached the end of January as well, and this actually is an issue that is user facing. Can you please help us with it?

@TahaTesser @dnfield We have reached the end of January as well, and this actually is an issue that is user facing. Can you please help us with it?

I was facing this too. But the following workaround worked perfectly. You can give it a try.
var someWidget;
final draggableScrollableSheet = DraggableScrollableSheet(
          expand: false,
          initialChildSize: 0.6,
          builder: (BuildContext context, ScrollController scrollController) {
            if (someWidget == null) {
              someWidget = SomeWidget();
            }
            return someWidget;;
          },
        );

@TahaTesser I believe the labels need to be updated on this issue. There's no current PR and it's also found in the latest release.
@dnfield Any update on this? A while ago we spoke on #69724 and I mentioned simply removing the _updateExtent(); call from didUpdateWidget worked for me in solving the rebuilds and the scroll lock regression. I've been using it in a development environment for almost 3 months now and have no noticed any unintended side effects. My use case is rather simple so I'm not confident in submitting a PR at risk of regression.

I was facing this too. But the following workaround worked perfectly.
Even though this does not prevent rebuilds, it solved the UI jank while scrolling.
You can give it a try.
var someWidget;
final draggableScrollableSheet = DraggableScrollableSheet(
          expand: false,
          initialChildSize: 0.6,
          builder: (BuildContext context, ScrollController scrollController) {
            if (someWidget == null) {
              someWidget = SomeWidget();
            }
            return someWidget;;
          },
        );

Wow! Thank you very much, it does fix the issue for now with this
if (someWidget == null) {                someWidget = SomeWidget();           }

Any update on this? I wouldn't say the above workaround is the intended behavior.

I was facing this too. But the following workaround worked perfectly.
Even though this does not prevent rebuilds, it solved the UI jank while scrolling.
You can give it a try.
var someWidget;
final draggableScrollableSheet = DraggableScrollableSheet(
          expand: false,
          initialChildSize: 0.6,
          builder: (BuildContext context, ScrollController scrollController) {
            if (someWidget == null) {
              someWidget = SomeWidget();
            }
            return someWidget;;
          },
        );

Finally! Works for me too! Thank you very much.

Any news ? This is a severe performance issue and the proposed solution isn't ideal...

@dnfield @TahaTesser It has been a long wait, have we found any stable solution for it yet?

Would love a solution on this. The proposed solution does not stop rebuilds down the parent tree (think complex states in screens nested in the actual sheet).

So this thread is left for dead?

This widget is not usable at the moment at all. Not working with NestedSrcrollview and rebuilds every single frame.

Here is a minimal code sample available using only http to fetch data:
https://github.com/kamami/debug_draggable_scrollable_sheet
I hope it is helpful to you.
EDIT: You could also completely remove the data fetching and http and just build any list:
import 'package:flutter/material.dart';

class AllActivitiesSheet extends StatelessWidget {
  DraggableScrollableController controller = DraggableScrollableController();

  @override
  Widget build(BuildContext context) {
    return DraggableScrollableSheet(
        controller: controller,
        builder: (context, scrollController) {
          return Material(
            color: Colors.white,
            child: CustomScrollView(
              controller: scrollController,
              slivers: [
                SliverList(
                  delegate: SliverChildBuilderDelegate(
                    (BuildContext context, int index) {
                      print("BUILD CONTAINER");
                      return Container(
                        margin: EdgeInsets.all(20),
                        color: Colors.red,
                        height: 150.0,
                        child: Center(child: Text(index.toString())),
                      );
                    },
                  ),
                )
              ],
            ),
          );
        });
  }
}

Every frame "BUILD CONTAINER" is printed to console while dragging the sheet.

Any thoughts on this?

It's the end of April and nothing yet.

Same here!

Flutter 3.0.0 nothing changed...

Same here.... Flutter 3.0.0

Still nothing. DraggableScrollableSheet is still unusable for an even slightly complex child.

Still really problematic, i don't know if anyone has an idea how to make them draw attention to this problem, because it is NOT FIXED.

Still not fixed

Especially when the keyboard is being shown and hidden you can see several prints displaying from DraggableScrollSheet. This causes too much jank

really need this fix, can't use for production as the bug exist

Hi, I have fixed it by using the sliding up pannel, it is way smoother and doesn't generate unecessarry rebuilds.
https://pub.dev/packages/sliding_up_panel

close to two years since this bug is opened. very encouraging.

still occurs


Move the backoff mechanism from subchannel to LB policies

A SubchannelGroup can represent the unit of backoff management. When all the subchannels in a SubchannelGroup have failed, we back off.
For RR, SubchannelGroup size is 1. For PF, SubchannelGroup size is the size of SubchannelList.

We acknowledge this to be a valid feature request but since no one has come forward to implement this, we are going to close it for now while maintaining the label/Help wanted to indicate that this can be picked up as future work


Seek position in MediaObject

Is it possible to seek to a particular position in audio files using MediaObject?
I have gone through the docs and places, I don't really see in the MediaObject class also having an option to accepting the seekPosition parameters.
Does AOG, really support to seek to a position in MP3 file?

Not yet.


on restart, new usb peripheral registers without considering if streaming is enabled

maybe using a unless-stopped restart policy...but then the apps using it will go into a failed state after NB reboot ??


Ensure k8s actor is started

[info] ScalaTest
[info] Run completed in 22 seconds, 709 milliseconds.
[info] Total number of tests run: 175
[info] Suites: completed 30, aborted 0
[info] Tests: succeeded 175, failed 0, canceled 0, ignored 2, pending 0
[info] All tests passed.
[info] Passed: Total 175, Failed 0, Errors 0, Passed 175, Ignored 2
[success] Total time: 24 s, completed Dec 19, 2019, 3:29:56 PM


Update launch_testing_ros output filter prefixes for Connext6

Hopefully, fixes https://github.com/ros2/ros2cli/issues/705.

Linux
Linux-aarch64
Windows

Hm, weird.  I guess what I don't understand about this is that the nightly Linux jobs on https://ci.ros2.org seem to be succeeding OK: https://ci.ros2.org/view/nightly/job/nightly_linux_debug/2259/ .  The failure in ros2/ros2cli#705 is on https://build.ros2.org, so I'm wondering why there is a difference there.  Could it maybe have something to do with installing Connext from the deb package, vs. installing a different way?

Could it maybe have something to do with installing Connext from the deb package, vs. installing a different way?

I thought it was because of the update to Connext 6 (that already happened, right?), but maybe it was actually a difference between the deb package vs the default way CI uses.
When I installed ROS 2 rolling including Connext from debians, I see that the warning about the license is:
RTI Connext DDS Non-commercial license is for academic, research, evaluation and personal use only. USE FOR COMMERCIAL PURPOSES IS PROHIBITED. See RTI_LICENSE.TXT for terms. Download free tools at rti.com/ncl. License issued to Non-Commercial User<EMAIL_ADDRESS>For non-production use only.
Expires on 00-jan-00 See www.rti.com for more information.

Which starts with RTI Data Distribution Service, not with RTI Connext DDS.
That also matches the error output reported in https://github.com/ros2/ros2cli/issues/705.
My development environment is still running in Ubuntu 18.04, in that case I'm using Connext 5.3 installed from debians (rti-connext-dds-5.3.1), and the message starts with RTI Connext DDS (which was what the old output filter was ignoring correctly).
So maybe the license warning when Connext 6 is installed from debians or the other way we're using in CI (I'm not sure what that is) have different license warning messages (?).
Running CI again, this time using connext debs:

Linux
Linux-aarch64
Windows

If that passes, I guess it should solve the issue in build.ros2.org as well.

I thought it was because of the update to Connext 6 (that already happened, right?)

Yes, that has already happened.  It should have happened both on https://build.ros2.org and on https://ci.ros2.org, but there may be differences in how they are installed.  Let's see if your new CI shows anything interesting.

I see that the jobs that are running above have already some tests failing, but I forgot to specify the branch :man_facepalming: .
Anyway, the fact that it's failing now with connext debs is good, it seems that actually the license message warning changes depending on the installation method.
Running CI again, this time using the correct branch:

Linux
Linux-aarch64
Windows

Ah, so I guess there is a difference on how they are installed.  OK, in that case this makes a lot more sense.


Need to replace Color category with Seats.

Colors are mostly available for the cars. Categorizing on basis of seats is better.

want to do it ..assign me this @Alok5102R

Can you assign this issue to me?
As I had already worked upon this category and proper knowledge of it.

Sure @Akash88585 .
Go on, you've to update "choose.html" as well as "script.json" and keep "colr" variable untouched.
@sayan404 Thanks for your response. Will surely assign you next issue. Stay connected.

Thanks for resolving @Akash88585


Stop annonsed to bgp peer podCidrs after creating Service LoadBalanser type

Bug report
General Information

Cilium version 1.11.0-rc1
Kernel version 5.15.0-1
Orchestration system version in use kubectl v1.22.3

bgp:
  enabled: true
  announce:
    loadbalancerIP: true
    podCIDR: true

    address-pools:
      - name: default
        protocol: bgp
        avoid-buggy-ips: true
        addresses:
          - <IP_ADDRESS>/24

How to reproduce the issue

Configure BGP, enable bgp.announce.podCIDR = true and loadbalancerIP = true
Create Service LoadBalancer

Thanks for the report. Are you able to provide a sysdump with debug logs (Helm: debug.enabled=true)?
cc @ldelossa

dupe of: https://github.com/cilium/cilium/issues/16967
please track in the aforementioned issue.


:arrow_up: change rust-numpy git dependency to release

This should fix the failing CI tsdownsample (observed in #17)
The latest release of rust-numpy omits the need to use the GitHub repo as dependency & allows to update both the pyo3 and rust-numpy dependencies to v0.18.
(Note we previously used the GitHub rust-numpy dependency as this already contained the updated half dependency - which was not yet available in the v0.17.2)


Remove unnecessary tabs permission

The permission is not required - see https://twitter.com/benjamincode/status/1482323617119711233.
The version number is updated to prepare for a new release.

Oops actually I thought it was as simple as removing the tabs permission but this will probably break support for Firefox, as this permission was added here: https://github.com/bdebon/youtube-thumbnail-tester-chrome-extension/commit/f9a3ad2e7a68b74fd254ed703a3b886cd72dc4fc


Fix the JSON library used for linking

Codecov Report

Merging #405 into oslogin will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           oslogin     #405   +/-   ##
========================================
  Coverage    98.36%   98.36%
========================================
  Files           38       38
  Lines         3004     3004
  Branches       143      143
========================================
  Hits          2955     2955
  Misses          43       43
  Partials         6        6

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 85c1d6b...aa672ed. Read the comment docs.

@Sarsate @wrigri Please take a look.

I work for Canonical Ltd.; we have signed the CLA.

Looks good to me!


Progress tracking doesn't work on some pages

Progress tracking bar doesn't work for some of the pages in the QML course:

I scroll all the way down to the bottom of the pages titled "supervised learning" and "Variational classification" but they don't check off.
I use Firefox 102.0.1 (64-bit) on MacOsX.

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


Had an issue with when keyword while it with catch block

Type of issue
Typo
Description
[Enter feedback here]
Two catch blocks with same signatures (only if we use when keyword) are allowed in csharp which in my opinion should not be allowed .
for example :
try{}
catch(ArgumentException) when (i<0){}
catch(ArgumentException) when (i<0){}
.....
this is allowed and executing the first catch block. While in some situations I might unknowingly write the same signature.
I hope you consider this and provide a detailed explanation on  why it is allowed.
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/exception-handling-statements
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/statements/exception-handling-statements.md
Document Version Independent Id
70157b9c-983b-3916-ce95-99f265dfed6d
Article author
@BillWagner
Metadata

ID: 9f85cb65-ded0-a342-4a86-04826af92da3
Service: dotnet-csharp
Sub-service: lang-reference

Adding @jcouv and @333fred in case they have more details here.
This is the defined behavior.
The pertinent language in the specification is covered in the try statement:
The first paragraph following the first Note: (emphasis mine):

In order to locate a handler for an exception, catch clauses are examined in lexical order. If a catch clause specifies a type but no exception filter, it is a compile-time error for a later catch clause of the same try statement to specify a type that is the same as, or is derived from, that type.

I'll close this issue, as the documents match the spec and the behavior.
If you want to advocate for a change, you can open an issue in the dotnet/csharplang repository. I can see the possible benefits, but they may not be worth the cost of extra analysis at compile time.


Prevent build failures caused by node v4.x

Fixes #94, by giving the developer an accurate error and prevents node-gyp from trying to build a project that does not support node v4.x yet.
The patch version should be bumped and the new version should be published to npm.

Hi @deckar01. Thank you for this. I had trouble merging this into my fork so I manually made the change. I did it slightly different to  so that we require >=0.8.0 <4.0.0. I pushed v1.1.8 to npm.


Forward ctr snapshotter flags on Windows

Signed-off-by: Justin Terry<EMAIL_ADDRESS>

@dcantah - Now we can also one-off test your snapshot size code as well. Super helpful

Oooooh sweet!

LGTM if CI is green

Is CI ever red for my code? 😆


Error reporting is missing request?

Hello there
I have read the documentation on https://cloud.google.com/error-reporting/docs/viewing-errors and it seem they do capture request (HTTP status, URL etc) but in our implementation we missing that info?
Ours:

Googles:

Are I am missing something?
THanks

I took a look, and it seems like Google's error-reporting class for PHP does not support this out of the box. This package uses Google's own Bootstrap.php for setting up the necessary error/exception handlers. You can find the file here.
As you can see, the context array simply does not include the HttpRequestContext.
The reason why you do see a screenshot of this working is because of some nice Google magic which they do behind the screens only when you use Google App Service.
So there's two solutions for this issue in my opinion:

We fix this ourselves by overwriting the Bootstrap.php.
It is fixed upstream by Google, simply by allowing an extra parameter ($context?) to the handler functions of Bootstrap.php.

My preference has option 2 so we do not have to modify/overwrite Google's own classes.

Hello
thanks for looking into this, I think this google product is missing a lots of features compete to bugsnag and Sentry. Not sure if its worth implementing it.. atm its very basic.
I love the tracing bit the most! Do you use it for production?

As far as I know, neither Bugsnag nor Sentry offers tracing, right? And I don’t think either platform is ideal for storing logs.
But granted, their error reporting SDKs are much better, and so is their UI. Therefore, it can make perfect sense to only use this package for tracing and logging and for example Sentry for error reporting.
And yes, we do use this in production.

Yes will disable the error tracking, but logging and tracing work well! Need to get the batch demon working was getting some permission issue running as a user.
How many traces do you have per month? Is the cost manageable?
thank you.
P

@DiederikvandenB I think a fix for this on our end would be useful. It doesn't look like Google is fixing this anytime soon. I can provide a PR if you want.
It looks to me like all we need to do is modifiy StackdriverExceptionHandler::report by changing the call Bootstrap::exceptionHandler($exception) to
$message = sprintf('PHP Notice: %s', (string)$exception);

        // This was tweaked to include more data in the logging
        $psrLogger->error($message, [
            'context' => [
                'reportLocation' => [
                    'filePath' => $exception->getFile(),
                    'lineNumber' => $exception->getLine(),
                    'functionName' =>
                        self::getFunctionNameForReport($exception->getTrace()),
                ],
                'user' => (string) (Auth::user()->id ?? ''),
                'httpRequest' => [
                    'url' => Request::url(),
                    'method' => Request::method(),
                    'userAgent' => Request::userAgent(),
                ],
            ],
            'serviceContext' => [
                'service' => $psrLogger->getMetadataProvider()->serviceId(),
                'version' => $psrLogger->getMetadataProvider()->versionId(),
            ],
        ]);

Annoyingly, Bootstrap::getFunctionNameForReport is private static, so we would have to copy that as well (bu the function is small). It is not so nice, but error reporting without the request data is crippling. What do you think?

Thanks @vincentrolfs for your input. It would be great if you could open a PR for this!

@DiederikvandenB I created pull request #20


Create download-iisbuilder.ps1

This PR is to add a new file called download-iisbuilder.ps1 which has the 2 commands to download the latest versions of the ps1 and config files.
Then you can just use this file every time you want to use iis-builder on a new project. And it still downloads the latest files.
I use it this way all the time on my projects.
It would be good to have this file in the repo for people to download and run, but it's up to you. I won't be offended if you don't want to merge it in.

Cheers!


Make new release

Tag current main branch as 0.1 release and create a GitHub release
Add Changelog to updates branch
Merge updates branch, tag as 0.2 and make GitHub release
Add GitHub templates for PRs and issues

Done!


Can we autogenerate instruction creators and account decoders for an existing program?

The web3.js TP2 announment points to this repo with a 'here' link and the following text:

Instruction creators and account decoders can now be autogenerated for any program, including your own!

The README seems to imply generating clients for brand new projects, but can we use create-solana-program to generate clients for existing on-chain apps as the announcement states?

Hey Mike,
Yes that's the plan.
We're already doing this for the following programs:

https://github.com/solana-program/system
https://github.com/solana-program/memo
https://github.com/solana-program/address-lookup-table
https://github.com/solana-program/compute-budget

And planning to add many more to the list.

Is there a way to avoid copy pasting the scripts contents? Such as an API like this:
create-solana-program generate:clients ./idl.json --js --output ./codegen"

Oh I see. No docs right now and it's on a case-by-case basis but we're using the following process:

Run pnpm create solana-program my-existing-program --address MyExistingProgramAddress
Follow the prompts and use these naming conventions.
Replace the program folder with the existing program — or empty it and add idl.json inside for non-yet-migrated BPF programs.
Make existing program use Shank if it's not already so we can generate an IDL from it.
pnpm generate

Thanks! I'm in the middle of trying to get instructor notes together for something but will try on one of our demo apps as soon as I can.


Add simple E2E tests

Think about some simple E2E tests.
The majority of behavior should be well tested in unit tests, but there are some simple E2E tests that can happen, like:

calling multiple tasks from the CLI
--with flag behavior
-V/--version
-F/--force
--list
error when no vai.yaml is found

Closed by adding E2E tests in testdata using testscript


can't find the caddx vista(dji air unit lite) when root device

I had root my DJI goggles V1 and all are okay.
when I want to root my caddx vista it is not shown on the pop list box.
but my computer can recognize that and it's shown in the DJI assistant app also.
my computer is 2019 macbook pro and it's still not shown when I try to root on a win 10 labtop.
P.S.  I use google  chrome app and all are the least version.
I had spent two nights to try to solve it and can't figure out how to do.
I installed the CDC serial driver and the bulk interface driver on my computer and it doesn't work.
please help me.
thanks so much.
Luke

Hi, You can try to reboot, do not open DJI Assistant to avoid occupying the serial port.
If this does not work, make sure you have a usb C cable with data transfer.

I have same problem..with other USB i was try,but with other vista lite it'oke..air unit lite firmware 0608 with runcam wasp,
this is message i found "Could not connect to device, make sure that adb server is not running on your machine (adb kill-server) and that you are not connected in another tab/window." anybody can help me?

The configurator has since been significantly improved and you should no longer run into these issues.
If you do then please open a new issue including your trace-id from the bottom left of the page.


Binaries are modified when uploaded to git

https://git-scm.com/docs/gitattributes
https://www.rtuin.nl/2013/02/how-to-make-git-ignore-different-line-endings/
https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf

https://github.com/KomodoPlatform/dicoapp-e/blob/master/.gitattributes


Tool sometimes misinterprets multiple-choice questions

Accurately interpreting multiple choice questions (beyond simple yes/no) is a challenge. Lets capture examples of the tool successfully and unsuccessfully doing this, to determine how we might improve the performance.

Here's a partially successful example for this image:

The different options for question 20 in the doc have been correctly parsed, but the hint text was not.

Another mostly successful example from the same form as above:

The options for question 23 in the form were correctly determined, as was the fact that only one response is allowed.
The conditional date fields were not picked up, but this isn't surprising as the multiple-choice component doesn't support them.
This is a good example of where you might choose to structure this question differently in the web version anyway, using multiple pages and routing.

Here's an example of it getting it wrong, from the same form:

It made 2 errors:

It treated the hint text as the first option
It assumed only one response was allowed

What's interesting (and frustrating) is that the question is nearly identical to this one, which was successfully parsed.
PS - I ran the tool 3 times and it produced the same result.

Here's another example of a mostly successful extraction, from question 42 of this image:

The hint text isn't carried over, and is added to the question title.

It's now getting an isolated version of this example right:

Another fail, from this image:

It chose checkboxes instead of radios. I wonder if I can get it to understand the difference based on the hint text?...

Yes, I can!

This was fixed by adding the following to the description text for the answer_type object in the schema:

If any part of the question contains text like 'Tick the boxes...' it's a multiple_choice question.

I'd tried a few other variants before finding one that worked, which is interesting. I think what made it work was the confidence of the statement. Saying if any part of the question, and that it is (rather than probably is). Also expressing it as a standalone sentence, rather than appending it as a clause to another sentence.
Notice that the question in the example doesn't contain the exact text that I cite in the schema, but it still matches.

Looks like I got this example working now too.

This was fixed by adding the following text to the description of the options array in the JSON schema:

There should be the same number of options as boxes or circles.


WIP implementation of dead link searching

Open points I'd like some feedback on before finalizing structure, cleaning up, properly attributing the included code, etc.

Is this desired to be a core plugin?
Is there a better UI that just writing a page? Is it bad to just write over the page?

Is there a way to embed commands (with arguments) in the page? I was thinking it might be nice to have a "rename dead link to suggestion" type button. and embedding `{[rename(a,b)}] might be useful.

it might be great to have an idea around testing, I'm sure there are lots of edge cases my test space didn't show. Not sure what the performance would be with thousands+ files.
is it worth filtering to page names that have distances under a certain value? showing multiple suggestions?

Interesting questions:

Desired as a core plug-in? I think it can be part of it, but I don’t have a super preference, to be honest.
I think a page makes sense. I see two approaches, yours is probably the simplest but it “pollutes” the space a bit. Another would be to create a virtual page, this is possible and it’s how the full text search works: https://github.com/silverbulletmd/silverbullet/blob/sync/plugs/core/core.plug.yaml#L166 basically can “own” part of the page name space and implement it as functions. In this particular case it matches everything starting with a looking glass emoji, but you can also just put in “dead links” there, which would dynamically calculate the result upon request. Not sure if this is the right approach, since rendering this page could take very long so your approach may be better? A third alternative is to load it in a side panel, e.g. like the Backlinks plug: https://github.com/Willyfrog/silverbullet-backlinks maybe this is the better approach?

For testing there’s no great to mock syscalls yet, however you can write unit tests. Have a look at any of the “.test.ts” files in the repo of how to do this. Tests are run via deno task test or deno task test path/to/your/test.ts to run just the one.
As to code style, one of the great things that Deno brings is no-discussion-around-formatting with deno fmt which you can run on this file (or the whole repo in one go). If you use VS Code, you can install the Deno extension to get the formatter integrated.

Closing this as it's rather stale.


Created Contributors page

@SauravMukherjee44 Created Contributors page with their photos and github profile and added it to the navbar

@Abdullah-Irfan-web Great, Just add the Github profile of each contributor with a button.

@SauravMukherjee44 the github profile is already linked with the name
You want me to make the name of each Contributor as a button?

Yes

Sent me a mail at<EMAIL_ADDRESS>Need a discussion


Possibility of using Rust/WASM API to transpile + bundle JS/TS with modules into single-file for use in GraalVM?

Hello, apologies for opening an issue (feel free to close it if not in line with your issue guides) but I couldn't seem to find the right combination of info in the docs.
I have an application using GraalVM on the JVM, and it supports loading JS/TS scripts at runtime dynamically. Currently, I do this by abusing deno (I suppose maybe esbuild would be capable too) but it's done through CLI invocations:
// Will convert entire app, include local file imports and remote modules, into single-file JS bundle
String bundleJavascriptOrTypescriptWithDeno(@NotNull File file) {
    try {
        ProcessBuilder builder = new ProcessBuilder();
        Process process = builder.command("deno", "bundle", "--unstable", "--quiet", file.getAbsolutePath()).start();
        BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
        String line;
        StringBuilder output = new StringBuilder();
        while ((line = reader.readLine()) != null) output.append(line);
        reader.close();
        return output.toString();
    } catch (IOException e) {
        e.printStackTrace();
    }
    return null;
}

With this, it's possible to feed in a script which uses ES Module URL imports, and local file references, and get back a single Javascript string/source, which is necessary for proper functionality:
import { whatever } from 'https://cdn.skypack.dev/lodash';
import { something } from './fileInSameFolder.ts'

function handler(ctx: Record<string, unknown>) {
  return whatever(ctx) + something()
}

This is okay but it would be ideal to instead use a programmatic API and call a function rather than wrap I/O and invoke a CLI that needs to be distributed with it.
GraalVM supports loading WASM, and Rust (through LLVM bitcode) methods, so I was curious whether this was possible with SWC (or any other way you may know)?

https://www.graalvm.org/reference-manual/wasm/
https://www.graalvm.org/reference-manual/llvm/

Thank you, hope you have a great day =)

swc has @swc/wasm and @swc/wasm-web. Although they do not have type definitions, APIs are almost identifcal


Add API docs for text time intervals interfaces

Fix #644
Also add details about what is required in the CSV/Excel files and that these data will be added as trials in the NWB file.

TYVM


Error Code: 002

thats happens to everyone tbh

happends to me too i think its patched

NetWare is not updated right now

same for me

You can find updated NetWare here:
https://discord.com/invite/yXsqkTBjDv


It eats the closing ) in comments in source files

For example, you have index.js with
// let foo = require('foo-bar')

When reviewing the file from github there's no closing ).
BUT, it might be just fixed in 4.5, not sure. Or it may be only in some cases. I will be lookin on that and report back.

As you mentioned in your edit, this should be fixed in 4.5 (specifically https://github.com/OctoLinker/browser-extension/commit/ad7f88276475320887bc218c1cd59a1931ebc141), which was just recently released. Therefore, I'm going to go ahead and close this, but please do report back if you find that the fix was incomplete :-)

Great. I was thinking to create an issue before few months, but don't have the time, and when now it pops up that it has new version I said to myself "oo okey, i report my problem", haha. But while writing the issue, navigate to some of my projects and didn't seen the problem, so.. Yea.
Probably you right. And yea, I'll report if something is wrong/incomplete.


Cowboy 1.0.1 Large file download preventing new connections?

Hey,
It's been brought to my attention that there might be an issue with cowboy and large files.  In my case, downloading a large file (using cowboy_static) seems to sometimes prevent new connection requests (I've seen it prevent simple requests).
Using the "static_world" example in cowboy, I added a large (~400mb file) to test.
I've made a video of the behavior and posted it up here, to demonstrate.
https://www.youtube.com/watch?v=pXr8yl1kayA
As far as things I've noticed related to this:

Preventing connection to the large file (file.bin in my example)
Preventing connection requests to the index.html file
While the download is going, calling ls() in the erlang Shell sometimes locks the shell until the download completes or is cancelled.
error_logger sometimes stops printing messages until the download completes (really bizarre).

Numbers 3) and 4), I've only noticed when a websocket connection was also open, so I'm uncertain if that's related, but the overall behavior seems erratic and inconsistent.
Any thoughts as to what I need to change to prevent this behavior?
Erlang R16B on Ubuntu.
Thanks for any suggestions!

IIRC it's a bug in the VM in older Erlang versions and it can be avoided by using +A 0.

Thanks a bunch Loic!
So very odd, I'll give it a spin today and see how it goes.
Cheers,
-Jesse
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
On Feb 17, 2015 2:45 AM, "Loïc Hoguin"<EMAIL_ADDRESS>wrote:

IIRC it's a bug in the VM in older Erlang versions and it can be avoided
by using +A 0.
—
Reply to this email directly or view it on GitHub
https://github.com/ninenines/cowboy/issues/794#issuecomment-74634501.

Thanks. Initial testing seems to confirm that +A 0 fixes it.
I'll go ahead and close this and re-open if it returns. But I think we're good here!


Make fails on Raspbian Jesse 8

Hi, I'm new to this, so maybe I'm missing some libraries or configurations. Cmake ran fine but I'm getting errors during make. Here's the console output for cmake:
pi@raspberrypi:~/Downloads/tinyb-notifications/build $ cmake -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ DBUILDJAVA=ON -DCMAKE_BUILD_TYPE=DEBUG ..
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'glib-2.0>=2.40'
--   found glib-2.0, version 2.42.1
-- checking for module 'gio-2.0>=2.40'
--   found gio-2.0, version 2.42.1
-- checking for module 'gio-unix-2.0>=2.40'
--   found gio-unix-2.0, version 2.42.1
CMake Warning at CMakeLists.txt:26 (message):

Install git to compile a production libtinyb!

INFO - libtinyb Version v0.4.3-dirty
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.8")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/Downloads/tinyb-notifications/build
However during make, I get:
pi@raspberrypi:~/Downloads/tinyb-notifications/build $ make
Scanning dependencies of target tinyb
[  6%] Building CXX object src/CMakeFiles/tinyb.dir/BluetoothObject.cpp.o
In file included from /home/pi/Downloads/tinyb-notifications/src/BluetoothObject.cpp:25:
In file included from /home/pi/Downloads/tinyb-notifications/api/tinyb/BluetoothObject.hpp:27:
In file included from /usr/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/mutex:35:
/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/bits/c++0x_warning.h:32:2: error: This file requires compiler and library support for the ISO C++ 2011 standard. This support
is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the
^
In file included from /home/pi/Downloads/tinyb-notifications/src/BluetoothObject.cpp:25:
In file included from /home/pi/Downloads/tinyb-notifications/api/tinyb/BluetoothObject.hpp:28:
In file included from /usr/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/atomic:41:
/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/bits/atomic_base.h:74:3: error: unknown type name 'constexpr'
constexpr memory_order
^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/bits/atomic_base.h:74:25: error: expected ';' after top level declarator
constexpr memory_order
^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/bits/atomic_base.h:124:11: error: unknown type name '__atomic_base'
typedef __atomic_base                   atomic_char;
Any help/guidance is very welcome.
Thanks!

HI bokas74
I also have been trying to compile Tinyb for Raspbian this week, and faced the same problem. I am not sure if it is the efficient solution but I included the following compile option on the CmakeList.txt file and manged to compile.
add_compile_options(-std=c++11)
Hope it helps.

Thanks! Yeah was also trying other option, in the end I installed gcc+-6
(https://solarianprogrammer.com/2016/06/24/raspberry-pi-raspbian-install-gcc-compile-cpp-14-and-cpp-17-programs/).
And ended up compiling as
cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-6 DBUILDJAVA=ON -DCMAKE_BUILD_TYPE=DEBUG ..
After that make, make install went thru, but with some code level warnings (unused variables mainly).
Thx again!

Hello,
you could have also used the CMAKE_CXX_FLAGS variable to only add the "-std=c++11" options for the gcc compiler.
See issue #24


AutomationPractice test suite

Created test suite automation-practice.xml and configured it to run from maven all 6 tests at the same time

👍


Automate building and running of Tests

Overview
This PR addresses issue #32 and adds the building and running of the tests through Actions.
Feel free to recommend adjustments to the naming conventions used.
It should be noted:

Tests currently fail due to existing test issues.
Tests are built and executed on each push (this can be adjusted to specific branches if needed)
Only .NET Core 6.0.x is supported for the tests.

Thanks! I'll fix the line ending issues preventing tests from passing. Closes #32


Discrepancy between server and client side bandwidth on AWS EC2

I've seen this consistently using EC2 instances on AWS, for e.g using Amazon Linux 2 on c5.xlarge which is documented to support 5Gbps single flow and up to 10Gbps multi flows.
I'm testing single flow as it's the easiest way to reproduce the issue.
Client side is using ethr built from source on March 25th:
[ssm-user@ip-172-31-10-116 ethr]$ uname -a
Linux ip-172-31-10-116.eu-west-3.compute.internal 5.4.95-42.163.amzn2.x86_64 #1 SMP Thu Feb 4 12:50:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[ssm-user@ip-172-31-10-116 ethr]$ ./ethr -c <IP_ADDRESS>
Ethr: Comprehensive Network Performance Measurement Tool (Version: UNKNOWN)
Maintainer: Pankaj Garg (ipankajg @ LinkedIn | GitHub | Gmail | Twitter)
Using destination: <IP_ADDRESS>, ip: <IP_ADDRESS>, port: 8888
[ 16] local <IP_ADDRESS> port 32967 connected to <IP_ADDRESS> port 8888

[  ID ]   Protocol    Interval      Bits/s
[   16]     TCP      000-001 sec     4.99G
[   16]     TCP      001-002 sec     4.97G
[   16]     TCP      002-003 sec     4.97G
[   16]     TCP      003-004 sec     4.97G
[   16]     TCP      004-005 sec     4.97G
[   16]     TCP      005-006 sec     4.98G
[   16]     TCP      006-007 sec     4.97G
[   16]     TCP      007-008 sec     4.98G
[   16]     TCP      008-009 sec     4.97G
[   16]     TCP      009-010 sec     4.97G
Ethr done, duration: 10s.
Hint: Use -d parameter to change duration of the test.
[ssm-user@ip-172-31-10-116 ethr]$ ethtool -S eth0 | grep exceeded
bw_in_allowance_exceeded: 0
bw_out_allowance_exceeded: 0
pps_allowance_exceeded: 0
conntrack_allowance_exceeded: 0
linklocal_allowance_exceeded: 0
Server side:
[ssm-user@ip-172-31-15-12 ethr]$ ./ethr -s
Ethr: Comprehensive Network Performance Measurement Tool (Version: UNKNOWN)
Maintainer: Pankaj Garg (ipankajg @ LinkedIn | GitHub | Gmail | Twitter)

Accepting IP version: ipv4, ipv6
Listening on port 8888 for TCP & UDP
[RemoteAddress]  Proto   Bits/s   Conn/s    Pkt/s   Latency
[<IP_ADDRESS>]    TCP    5.59G        1     --        --
[<IP_ADDRESS>]    TCP    5.71G        0     --        --
[<IP_ADDRESS>]    TCP    5.57G        0     --        --
[<IP_ADDRESS>]    TCP    5.59G        0     --        --
[<IP_ADDRESS>]    TCP    5.66G        0     --        --
[<IP_ADDRESS>]    TCP    5.76G        0     --        --
[<IP_ADDRESS>]    TCP    5.80G        0     --        --
[<IP_ADDRESS>]    TCP    5.55G        0     --        --
[<IP_ADDRESS>]    TCP    5.52G        0     --        --
[<IP_ADDRESS>]    TCP    5.69G        0     --        --
Notice server side showing 5.69G Bits/s when I'd expect 4.97G
Is there a specific encapsulation happening perhaps ?
In comparison, on the same machines, iperf 2.1.1 shows 4.97Gbps on the server side:
[ssm-user@ip-172-31-15-12 ethr]$ iperf -s
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
[  1] local <IP_ADDRESS> port 5001 connected with <IP_ADDRESS> port 46098
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.00 sec  5.79 GBytes  4.97 Gbits/sec

https://github.com/microsoft/ethr/pull/162 may fix this, will test and report

Fixed via #162


sord: add pcre

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

Please explain why. Motivation for this change is meant for this.

tbh, idk. all I know is that the arch pkg has it.

It appears to be necessary for sord_validate: http://drobilla.net/man/sord_validate.1.html


Write a C++ program to find sum of ap series

Description
Write a C++ program to find sum of ap series
An arithmetic progression (AP) is a sequence of numbers such that the difference of any two consecutive terms is a constant. The nth term of an AP is given by the formula an = a1 + (n-1)d where a1 is the first term and d is the common difference.
Input  : 2, 5, 3
Output : 20

How to contribute

Save the solution in program/FindSumOfApSeries.cpp file
Add FindSumOfApSeries.cpp file in find-sum-of-ap-series folder

But how should the input be? That I am not clear about. By the way I would like to work on the issue.

But how should the input be? That I am not clear about.

You can simply use a static array and run the program 👍🏻

You can comment !assign on any god first issue you want to contribute to, to be auto-assigned
!assign

!assign


Some small ideas

Hi !
At first ,thanks for Dexios ! It is a cool ,great job.

Well ,it would be nice to integrate it into Explorer/context menu in Win (at least when decrypt) ,but i cant do it. An option is missing to tell Dexios to open a browser window for target folder designation. Can you do it ? Is it a viable idea ?

ZSTD : I hope its not too late ,but a customizable compression setting/level would be nice ,too.

Two weeks ago you rejected to add SERPENT into cascade mode. But now i please you again to reconsider it. Not for a permanent cascade mode ,just an additional option to use ,just like in P__oC___t. (It has no CLI ,drag and drop based ,i dont use it. Unconvenient for me)

All the best for you!

I apologise to do this again, but I still don't think cascaded ciphers are worth it. I won't implement this myself, but you are free to do so (or you can just encrypt your file once with XChaCha20-Poly1305, and another with AES-GCM/Deoxys).
It would add some rather unwarranted complexity, and the chances of our implementation being broken are significantly higher than heavily-scrutinized XChaCha20-Poly1305 (or similar) being broken.
You can view the audit for the XChaCha20-Poly1305 and AES-GCM libraries that we use here.
If we're considering this level of paranoia, I'd probably start thinking about securing your data from other angles. Starting with your host OS would be a large one, as it's more likely that you'll be victim to a keylogger than an extremely well-regarded cipher be broken.
Thank you for your suggestions, and if you'd like to offer any counter-arguments to my decision then please feel free to do so. I'll leave this open for now.

misunderstand me. I dont need a GUI ,etc.  I can integrate it myself to the context-menu.:)

ZSTD : Great!!!

Understood ,forever!:)

I don't think I follow. As in a browser window to browse your files, so you're able to select one for decryption?

I can integrate the whole decryption cmd line to context menu ,as i want. It ok.
What i want is ,for exaple
Dexios.exe decrypt mycrypteddata.xxx -browserwindow
Executing this ,pops up a browser window to designate output dir... its nice ,when output dir has many-many chars. thats all. Is it viable for you?
Sorry ,english is not my native language...

Before i forget : can you add a process percentage display or progress bar?

Before i forget : can you add a process percentage display or progress bar?

I can. I have added this before, in a very basic testing version (this is while I was trying to even get stream encryption to work). I think there were some slowdowns with fast machines and large files, due to the amount of time spent updating the progress bar. Maybe every 4~ STREAM blocks could update.

Before i forget : can you add a process percentage display or progress bar?

I can. I have added this before, in a very basic testing version (this is while I was trying to even get stream encryption to work). I think there were some slowdowns with fast machines and large files, due to the amount of time spent updating the progress bar. Maybe every 4~ STREAM blocks could update.

I'll add this in the core library, gated behind a visual feature. It won't be anytime too soon, as I have a holiday coming up and I'm trying to relax.


ErrorException: The each() function is deprecated.

As I use hscan, by using new Iterator\HashKey(), showup that each() function is deprecated.
PHP version: 7.2
predis version: 1.1.1 install through composer

That was actually fixed quite a long time ago but, admittedly, it din't make into a patch release yet so it's only available in v1.1.x-dev. Guess it's time to remedy the lack of releases on my part, in the meanwhile you could try by using the dev version until there's a new patch release available (I'll probably just release v1.1.2 as-is sometime this weekend).

Yeah, I use the dev, and goes well. Thanks. Hope to see the next stable release.

Has there been any movement on this issue? Will there be a release at some point?

I too am experiencing this. Is there someone that has the time to create a PR and fix this asap?

Any news about the v1.1.2?

This was fixed in 157f658.