Create a XSD Schema to validate the XML

The Simple Transformation ZABAK_SOURCE_XML already guarantees that most things in the format are valid. But it is not able to validate everything:

[ ] For each <k> either the value attribute is defined or at least one <v> must exist

Since ABAP doesn't have native XSD support, Two options:

Using DTD instead
2.Using a fake WSDL service: https://blogs.sap.com/2015/05/26/xml-schema-xsd-validation-in-abap-with-limitations/

DTD validation:
https://archive.sap.com/discussions/thread/185515
According to demo program T_DTD_VALIDATION (SE38) it seems like DTD validation can only be done for inline DTDs, not external DTDs.
So... I guess this leaves us option 2.


/Tracker is 404

https://www.loversmagazine.com/interviews/devine-lu-linvega links to /Tracker which is not found

Ah yes, that's no longer publicly available, the only thing left is /horaire


Q: Make Info a top-level class

mne.io.meas_info.Info is such an important class (across most submodules) so I think it should be in the main namespace as mne.Info. Okay if I change it and all references to it before 0.12?

Is there any particular reason why Raw only lives under io by the way?..

io is for raw io only
This was a point of debate a long time ago, and seems to keep coming up @agramfort ... :)

Specifically:
https://github.com/mne-tools/mne-python/pull/1273#issuecomment-42754494

Opened a PR #3150, if anyone else wants to comment feel free over there


Anchor.Horizontal drawers cannot be Variant.Persistent

Bug type
Component
Component name
MudDrawer
What happened?
If you make a drawer Persistent it cannot be anchored to Top or Bottom. They only work if anchored to Start or End.
Expected behavior
It should be possible to make drawers Persistent regardless of their orientation
Reproduction link
https://try.mudblazor.com/snippet/camQEGEmiAwQWaBP
Reproduction steps
Set a MudDrawer to use Variant.Persistent and Anchor.Top (or Anchor.Bottom)
Relevant log output
No response
Version (bug)
6.0.5
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Its by design and says so on docs.

Thanks @Garderoben
I cannot see any explanation of that in the docs:

What is the design reasoning for supporting this functionality for vertical drawers but not horizontal?

I'd like this too - the docs seem to only mention their support of left and right, but they ignore other anchors.
After reading https://stackoverflow.com/questions/71861726/using-mud-blazor-how-do-i-get-a-persistent-drawer-on-the-bottom-of-my-page/71862443#71862443 I believe the fix would be to allow the anchor to be set for the persistent.

I'd love to see this feature as well.


Create interface

Create an interface to allow easy and accessible use of EMMA.

This issue has been resolved whilst refactor EMMA (i.e. #9) with the map_ecotopes()-function (from src.processing).


Latest tarball missing from downloads.puppet.com

I noticed that the latest Puppet tarball, for version 8.8.1, isn't available on https://downloads.puppet.com/puppet/
The most recent tarball there is puppet-8.7.0.tar.gz.

Thanks for letting us know @jcharaoui , our Release Engineering team has fixed this and made the 8.8.1 and 7.32.1 tarballs available.


dbt found two macros named "synapse__drop_relation" in the project

Hello,
With versions dbt-core==1.0.0, dbt-sqlserver==1.0.0, dbt-synapse==1.0.1, when I run a dbt command such as dbt snapshot, I get the error
20:32:03  Running with dbt=1.0.0
20:32:04  Partial parse save file not found. Starting full parse.
20:32:04  Encountered an error:
Compilation Error
  dbt found two macros named "synapse__drop_relation" in the project
  "dbt_synapse".
   To fix this error, rename or remove one of the following macros:
      - macros/adapters/relation.sql
      - macros/adapters.sql

I do not get this error with versions dbt-core==0.20.2, dbt-sqlserver==0.20.1, dbt-synapse==0.20.0. I'm using Python version 3.9.9.

@brandonlockhart, sorry about that! we're also experiencing this bug with dbt-synapse in https://github.com/dbt-msft/tsql-utils/pull/76. the tests fail with same error message! We hope to find a solution soon, though it likely won't be until after the holidays as most of us will be OOO. hang tight! cc: @jtcohen6

until then stick with v0.21.0!

@leahwicz @jtcohen6 have y'all seen this issue before? this is a showstopping bug in the 1.0.0 release I made before the break. there's a link to a CircleCi failure above. there aren't duplicate macros, and the macro that says it's duplicated changes from commit to commit, so I'm rather confused.
also I'd like to get #77 fixed so my name doesn't live in peoples' console and manifest anymore.... 🤒

@swanderz Given the error message, and that #72 moved this macro from macros/adapters.sql to macros/adapters/relation.sql... If you install dbt-synapse pre-v1.0, and then upgrade to v1.0, is it possible that the old file  keeps "hanging out" in the source installation?
I quickly tried replicating this locally, and I wasn't able to

@dschoenleber thanks for digging into this! You got farther than I did. @jtcohen6's question is does this behavior happen when upgrading to 1.0.0 and maybe the old adapters.sql file stays around? asked another way, if you make a fresh python environment and install dbt-synapse 1.0.0 does the error still happen?
I'd also like to fix this in the next few days, sounds like you found a hotfix that I'll try out on my end as well. Cheers!

@dataders Your're welcome! Yes, the behavior I described occurred with a freshly initialized environment with no prior dbt (or dbt-synapse) installation around, so the behavior is triggered by the installation of dbt-synapse 1.0.1. This makes it so curious.

I can replicate this in my devcontainer with a clean install. Also, the name of the duplicate macro is not constant. It's almost always a different one each time you run dbt compile.

@sdebruyn This would also explain my observations. (If you install via pip install git+https://github.com/dbt-msft/dbt-synapse.git the additional files are also not included.)
Thanks so much for digging into it!

@sdebruyn is the real MVP for discovering that I made a faulty wheel. I've fixed the wheel and released it as 1.0.2b1 (pypi page). Please let me know if this resolves the issue. If so, I'll release the official release and we can celebrate the release of dbt-synapse 1.0.0!

no errors anymore with 1.0.2b1 :)
Thank you @dataders !

No more errors for me either with 1.0.2b1. Thanks @dataders !

When can we look forward to the official release of 1.0.2? :)

1.0.2 has been released :)


Rethink native-tls/rustls support

Based on the discussion in #1375, it may be worth rethinking our approach to allow consumers of rusoto to specify what TLS implementation to use.
For example, hyper uses an alternative approach whereby consumers will pass an implementation of the Connect trait, which the different TLS libraries can implement.
I don't think this particular approach would work well for us as we rely a lot on implicit creation of http clients for convenience reasons, however there might be other points in the design space that are worth exploring.

I think that with projects like https://github.com/rustasync/runtime, a lot of the costs of explicit runtime/client creation will go down over the coming months. There might be an opportunity to revisit some of those design decisions and assumptions.

Writing things down to keep this correct in my head:
Currently we support both native-tls which usually goes to openssl or a variant, and rustls. This is controlled via cargo flags and works well for building binaries that go to various platforms like Linux flavors on EC2 and Lambda runtimes.
We'd like to have rusoto_mock support rustls as an HTTPS connector, so code can be tested without talking to real AWS services. Currently it's hardcoded to use native-tls.
The issue with letting rusoto_mock select which HTTPS implementation to use, like rusoto_core does, is each crate also controls what implementation to select from rusoto_core (see https://github.com/rusoto/rusoto/blob/master/rusoto/services/acm-pca/Cargo.toml#L32 ). However, this is already the case with using rustls, as seen on https://rusoto.org/lambdas.html :
rusoto_core = {version = "0.36.0", default_features = false, features=["rustls"]}
rusoto_s3 = {version = "0.36.0", default_features = false, features=["rustls"]}
rusoto_sqs = {version = "0.36.0", default_features = false, features=["rustls"]}

That means if we use a similar set of cargo flags in rusoto_mock they all need to line up since cargo flags are additive, and compilation errors happen if both HTTPS providers are brought in.
That all sound right? Am I missing another issue?

@abrefort does the above look right to you?

Yes, that's exactly the issue I tried to fix, thank you.


Remove grammatical mistakes

Checklist for Pull Requests

[X] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Did I do something wrong?

No, the additional labels are just added based on where they are in the project to ensure proper review from individuals responsible for this content :)


outlines integration

import outlines instead of copy codes.

vLLM has released a new version that uses pydantic >= 2.0 so there shouldn't be any issue.


MINOR: Fix testResolveDnsLookupResolveCanonicalBootstrapServers

testResolveDnsLookupResolveCanonicalBootstrapServers added in https://github.com/apache/kafka/pull/11091 treats the result from ClientUtils.resolve() when using specifying RESOLVE_CANONICAL_BOOTSTRAP_SERVERS_ONLY as if it should differ from when specifying DEFAULT, yet the branching in resolve() is on ClientDnsLookup.USE_ALL_DNS_IPS == clientDnsLookup -- everything else gets the result squashed to a singletonList.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the PR. I ran this test before pushing the cherry-pick, so not sure what happened.


OPENBLAS_NUM_THREADS=1 by default

Just like Distributed: https://github.com/JuliaLang/julia/pull/47803
Seems to avoid OOM errors on Windows: https://github.com/fonsp/Pluto.jl/pull/2240#issuecomment-1717441810

This will kill the performance of linear algebra operations. It makes sense for Distributed to do this, but not really for Pluto, since the purpose of Pluto workers is not to distribute computation.

@jebej  Can you try to write constructive feedback? eg what do you suggest?

This disables multithreading for matrix multiply and related operations. I would suggest to revert the change. Try e.g.
julia> using BenchmarkTools
julia> A = rand(500,500);
julia> B = rand(500,500);
julia> @btime $A*$B # by default on a 6 core CPU
  1.190 ms (2 allocations: 1.91 MiB)
julia> @btime $A*$B # with OPENBLAS_NUM_THREADS=1
  4.291 ms (2 allocations: 1.91 MiB)

One can still set the number of threads with BLAS.set_num_threads().

This disables multithreading for matrix multiply and related operations. I would suggest to revert the change. Try e.g.
julia> using BenchmarkTools
julia> A = rand(500,500);
julia> B = rand(500,500);
julia> @btime $A*$B # by default on a 6 core CPU
  1.190 ms (2 allocations: 1.91 MiB)
julia> @btime $A*$B # with OPENBLAS_NUM_THREADS=1
  4.291 ms (2 allocations: 1.91 MiB)

Pluto used to use Distributed until now. Are you seeing a performance degradation between Pluto with Distributed and Pluto with Malt.jl?

One can still set the number of threads with BLAS.set_num_threads().

Yes absolutely, but there's a reason julia doesn't set the number of threads to 1 by default.

Yes absolutely, but there's a reason julia doesn't set the number of threads to 1 by default.

Yes, and there are reasons why we need to set it to 1 by default.

I did not check for a difference, I was just curious about Pluto/Malt and noticed this PR.

Ok, thanks for clarifying that. There is significant context around this change that can't be summarized in this discussion, but feel free to study it and come up and propose a solution that circumvents the limitations we currently face. We'll gladly review a PR that addresses this problem and makes Malt.jl even better!
Best,

I'm not sure why the OOM, linked to threading it seems, but would a different compromise help like having 2 or 4 (I'm looking into, and have suggested new threading defaults for Julia, so like to know what people consider the best compromise)? I doubt the memory use scales linearally. And was it mostly or only a problem on Julia 1.6? Then drop support for it? At least as soon as there's a new LTS, there's been talk 1.10 will be it, at least eventually. It makes no sense for anyone using 1.6 LTS, or at least starting now.. with it going out, and updates to it seemingly stalled/stopped.

FWIW I ran across this thread on the julia Discourse today, I'd be surprised if this is the first time this happened: https://discourse.julialang.org/t/poor-openblas-performance-for-large-matrix-multiply/119354


Add provider specific column types

This PR attempts to fix #7 by adding a new attribute for fields that require db provider-specific type to be set on the corresponding command parameter. E.g. postgres requires NpgsqlDbType.Json and NpgsqlDbType.Jsonb to be set on the command parameter for columns of types json and jsonb correspondingly when using Npgsql data provider.
I am planning to add tests for the functionality after the initial review, and when I figure out how to add a new json column to the existing database used in tests 😄

Was away for a couple of days 🙂 Just ran the tests and all of them passed. Will you be able to review the code one last final time? I saw there was another PR fixing the order of the columns, but I think it is only for SqlServer, and I only touched Npgsql.

For some reason it is not adding the new table in postgres. I think it may have something to do with with the files on the local volume not be removed, so I tried docker-compose down -v to remove them but no luck.
Do you have any ideas?

I think I had to remove and re-create postgres service from docker. You can also try and run docker-compose up --build --force-recreate --no-deps -d postgresql to just demolish the service all together and rebuild it 🙂

Fantastic work, Margarita. Thank you! 🎉

Thanks a lot for your help! 😄


Port additional React-Redux TS typetests from DefinitelyTyped

We copied over a bunch of typetests for React-Redux as part of the TS conversion, which are currently here:
React-Redux: test/typetests/react-redux-typetests.tsx
However, I was just comparing that file with the typetests that are currently in DefinitelyTyped, and there's a big difference. Our current file is only around 500 lines, and the DT file is about 1600 lines:
DefinitelyTyped: react-redux/react-redux-typetests.tsx
We should review the DT typetest file and port over as much as possible, to ensure that the types we've ported and updated are thoroughly covered and don't break existing code.  Also might be good to split the typetests into separate files (at a minimum one each for connect, useDispatch, and useSelector - maybe even further?) so it's easier to find a given section.

Might as well tackle this myself for now.


Ios scrollbug 544

This fixes issue #544. See there for more informations.

@aFarkas Looking at the diff, does this just basically force PF to re-evaluate every 99ms?

The debounce line means, that picturefill is re-evaluated 99ms after the last resize event. So if the user is resizing and multiple resize events are fired, only one re-evaluation is done with a delay of 99ms.

Right, so with these changes though, we for pf to re-evaluate instead of running any checks, correct?

Don't really understand what you mean.
If you look into the resulting diff: https://github.com/scottjehl/picturefill/pull/558/files#diff-bbe09cc8bdf0b3324bec848fd0f2641bR1443
The old way:
If a resize event is fired we run a debounced picturefill function.
The new way:
If a resize event is fired we run a debounced function, that checks whether width or height of viewport has changed (without checking innerHeight, because this is changed on scroll on iOS), if it has changed we run picturefill.

Oh dear, I was looking at the diff wrong. :disappointed:
+1.

Hi! Was it already merged into 3.0 or still pending?

Not merged yet. Will do asap.

Thank you.

It's merged now.


RuntimeError: CUDA out of memory.

Traceback (most recent call last):
  File "train.py", line 54, in <module>
    model.optimize_parameters()   # calculate loss functions, get gradients, update network weights
  File "/home/lthpc/forsda/sda1/wrj/StillGAN-main/models/cycle_gan_model.py", line 223, in optimize_parameters
    self.backward_G()             # calculate gradients for G_A and G_B
  File "/home/lthpc/forsda/sda1/wrj/StillGAN-main/models/cycle_gan_model.py", line 183, in backward_G
    self.idt_A = self.netG_A(self.real_B)
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/parallel/data_parallel.py", line 150, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/lthpc/forsda/sda1/wrj/StillGAN-main/models/networks.py", line 615, in forward
    d2 = self.Up_conv2(d2)  # [B, 2 * ngf, H / 2, W / 2]
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/lthpc/forsda/sda1/wrj/StillGAN-main/models/networks.py", line 490, in forward
    out = self.conv(x)
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/container.py", line 100, in forward
    input = module(input)
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 345, in forward
    return self.conv2d_forward(input, self.weight)
  File "/home/lthpc/.local/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
    self.padding, self.dilation, self.groups)
RuntimeError: CUDA out of memory. Tried to allocate 32.00 MiB (GPU 0; 10.76 GiB total capacity; 9.88 GiB already allocated; 5.44 MiB free; 9.92 GiB reserved in total by PyTorch)

You may need a larget GPU, or set a smaller batch size

helle,Have you solved the problem?


little rewrite to template method (due to changes in symfony/process:4.2)

Rewrote process to tempate method
Also can you  cherry pick this commit to v4 also?

Thanks! 👍


mach-composer fmt

Is your proposal related to a problem?
We have several MACH configs in different repos, sometimes I want to compare versions or variable settings. I've found comparing them is easier if everything in the yml is sorted consistently
Describe the solution you'd like
Add mach-composer fmt to format a MACH config yaml file in a strict-defined order:

site component variables and secrets sorted alphabetically
component version section sorted alphabetically based on component name
(Nice to have): sort every other section alphabetically, f.e. mach-plugin section on name as well

Describe alternatives you've considered
Precommit hook yaml sorting kinda works; https://github.com/leehambley/pre-commit-sort-yaml-keys

Perhaps interesting: https://github.com/editorconfig/editorconfig-core-go/tree/master

Based on Frasers project:
  - yq -i '.mach_composer.plugins |= sort_keys(..)' {{ .target }}-config-{{ .environment }}.yaml
  - yq -i '.global.terraform_config.providers |= sort_keys(..)' {{ .target }}-config-{{ .environment }}.yaml
  - yq -i '.sites.[].components |= sort_by(.name)' {{ .target }}-config-{{ .environment }}.yaml
  - yq -i '.sites.[].components.[].variables |= sort_keys(..)' {{ .target }}-config-{{ .environment }}.yaml
  - yq -i '.sites.[].components.[].secrets |= sort_keys(..)' {{ .target }}-config-{{ .environment }}.yaml
  - yq -i 'del(.. | select(. == null))' {{ .target }}-config-{{ .environment }}.yaml


Implement RFC 16 (CSR register API)

This PR implements the CSR register RFC.

[x] Migrate csr.Element away from Record
[x] Add Field
[x] Add built-in fields (csr.action.R,csr.action.W, csr.action.RW, csr.action.RW1C, csr.action.RW1S)
[x] Add reserved fields
[x] Add field collections (FieldActionMap, FieldActionArray)
[x] Add Register
[x] Add Builder
[x] Add Bridge

Rebased on the lib-wiring branch to use the Amaranth interface API.

Rebased on the lib-wiring branch to use the Amaranth interface API.

Rebased back to main.

Updated to implement the final version of amaranth-lang/rfcs#16.


DiscoveryClient doesn't obey DiscoveryPolicy.Authority

DiscoveryClient allows you to specify a DiscoveryPolicy to aid in validation. However, the first thing it does in DiscoveryClient.GetAsync is overwrite the policy Authority so there's no way to cause validation to obey the specified Authority.
The use case in which I'm hitting this is multitenancy. I have a multitenant OIDC provider much like Azure AD where the tenant ID in the URL is case-sensitive and contains upper-case letters - https://my.identity.server/TenantIdHere/.well-known/openid-configuration
However, Identity Server forces the base URL to lowercase as the issuer like https://my.identity.server/tenantidhere. I wanted to set the authority in the validation policy to be the "normalized lowercase" version of the URL so validation would work, but that gets overwritten. I also can't address it by adding to the AdditionalEndpointBaseAddresses because only the authority is used for issuer validation
My current workaround is to disable issuer validation entirely.

Authority was only made publicly writable because of https://github.com/IdentityModel/IdentityModel2/issues/56
Because of another issue, I will remove the case-sensitive comparison (or at least make it optional).

..or if you want to make a PR for that - this would probably speed up the process.

Cool. Here's the design I'm thinking about, let me know if this will work:

Add a property to DiscoveryPolicy called IssuerNameComparison that defaults to StringComparison.Ordinal - this will be used during comparison. It can be set to StringComparison.OrdinalIgnoreCase for case insensitivity, but by default will retain current behavior.
Update DiscoveryResponse.ValidateIssuerName to use the DiscoveryPolicy.IssuerNameComparison value.
Update DiscoveryClient.GetAsync to only change the Policy.Authority if it's null or empty. If the Policy already has an authority, allow validation to run against that.

Would that work?

yes - sounds good! thanks


[WIP][AIRFLOW-1681] Add batch clear in task instance view

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Allow users to batch clear selected task instance(s) in task instance view. Only state(s) of selected task instance(s) will be cleared--no upstream nor downstream task instance will be affected.
DAG(s) involved will be set to "RUNNING" state, same as existing "clear" operation.
Keeping both "Delete" and "Clear" operations for more smooth user habit transition--informing DAG state change in pop-up (check screenshots).

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
All changes are within front-end views.py file, which is not currently covered by unit test.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@aoen PTAL
Thank you

Codecov Report

Merging #2681 into master will decrease coverage by 0.12%.
The diff coverage is 11.11%.

@@            Coverage Diff             @@
##           master    #2681      +/-   ##
==========================================
- Coverage   71.68%   71.55%   -0.13%
==========================================
  Files         154      154
  Lines       11814    11841      +27
==========================================
+ Hits         8469     8473       +4
- Misses       3345     3368      +23

Impacted Files
Coverage Δ

airflow/www/views.py
69.81% <11.11%> (-1.13%)
:arrow_down:

airflow/models.py
87.14% <0%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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

@aoen PTAL
Thank you

LGTM


fix: a problem that cannot read mtr output from pipe

bufio.ScanLines scans lines using \r?\n by default, which prevents us from reading the output of some programs from a pipe, such as mtr.
Because these programs use \r for newlines, we can use strace to know that.
This PR fixed it by using \r?\n|\r\n? to check the newline.
To reproduce it, try:
mtr <IP_ADDRESS> --curses | nali

Thanks  co-debuggers @chinggg @cubercsl .

I have read those issues and fixed the format problem.

Thank you, I have test it, it works well with mtr.


Adopt full ASF headers for all test files regardless of size

Thanks @mrutkows.
I suspect some files contained in .zip files might need to be updated. Perhaps we should provide sources for all the zip files and a build script to create the zips used in tests. This should/could be a separate issue of course.

@rabbah I just did the "tests" exclusion... will look at bin/zip next after some meetings

my instinct is to remove the zip and instead provide a bash script to zip test artifacts in tests/data/actions. This script could be run by the travis jobs but for releases, would result in RC that have no zips.

+1 for the zip removal + scripts to regen it.  I believe we should not release zip files.  Since we want to include tests in the next release, we need to eliminate zip/tars from the checked in source.

Codecov Report

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

@@            Coverage Diff             @@
##           master    #4568      +/-   ##
==========================================
- Coverage   84.56%   79.78%   -4.78%
==========================================
  Files         176      176
  Lines        8131     8138       +7
  Branches      552      545       -7
==========================================
- Hits         6876     6493     -383
- Misses       1255     1645     +390

Impacted Files
Coverage Δ

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-95.89%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-92.6%)
:arrow_down:

...whisk/core/database/cosmosdb/CosmosDBSupport.scala
0% <0%> (-74.08%)
:arrow_down:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
4% <0%> (-52%)
:arrow_down:

...re/database/cosmosdb/CollectionResourceUsage.scala
72.22% <0%> (-27.78%)
:arrow_down:

...in/scala/org/apache/openwhisk/common/Counter.scala
40% <0%> (-20%)
:arrow_down:

...penwhisk/core/database/cosmosdb/CosmosDBUtil.scala
87.09% <0%> (-9.68%)
:arrow_down:

...nwhisk/core/database/cosmosdb/CosmosDBConfig.scala
94.11% <0%> (-5.89%)
:arrow_down:

...in/scala/org/apache/openwhisk/common/Logging.scala
68.96% <0%> (-4.03%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

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


Deadlock accessing realm objects from different threads

I'm using realm notification block to read updates from database on background thread. Having many NSThreads, access to realm objects deadlock.
This issue appeared first in 0.98.0, and reproducible in 0.98.1. Right now i'm using 0.97.1 which is working fine in my case.
deadlock.txt

Bump

RealmCoordinator::advance_to_ready calls out to user code with m_query_mutex locked (by way of transaction::advance resulting in Realm change notifications being dispatched). When the notification block executes a query that we determine should be updated asynchronously, RealmCoordinator::register_query will be called and will attempt to re-lock m_query_mutex.


The problem of making data set of verification set

Hello, when I copied your method, I found some problems in the method of creating verification set defined by myself. Can you provide me with a copy of your verification set data set making code?

Hello, I tried to solve the issue.
This is what I did:
Add a new method 'create_verification_dataset' to the PatchDataset class in src/datasets/test_patch_loader.py. This method will create and save a verification dataset based on the existing data.
You can review changes in this commit: https://github.com/lkilu6456546/abenhamadou-Self-Supervised-Endoscopic-Image-Key-Points-Matching-2/commit/ef9fd4e98cfe61ea3b3820f388e34bee776a8926.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Thank you for your answer.
------------------ 原始邮件 ------------------
发件人:                                                                                "abenhamadou/Self-Supervised-Endoscopic-Image-Key-Points-Matching"                                                                                @.>;
发送时间: 2024年11月26日(星期二) 中午12:30
@.>;
抄送: "Li<EMAIL_ADDRESS>主题: Re: [abenhamadou/Self-Supervised-Endoscopic-Image-Key-Points-Matching] The problem of making data set of verification set (Issue #2)
Hello, I tried to solve the issue.
This is what I did:
Add a new method 'create_verification_dataset' to the PatchDataset class in src/datasets/test_patch_loader.py. This method will create and save a verification dataset based on the existing data.
You can review changes in this commit: @.***
Caution
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hello, is the matching file data you used prepared in advance?
------------------ 原始邮件 ------------------
发件人:                                                                                "abenhamadou/Self-Supervised-Endoscopic-Image-Key-Points-Matching"                                                                                @.>;
发送时间: 2024年11月26日(星期二) 中午12:30
@.>;
抄送: "Li<EMAIL_ADDRESS>主题: Re: [abenhamadou/Self-Supervised-Endoscopic-Image-Key-Points-Matching] The problem of making data set of verification set (Issue #2)
Hello, I tried to solve the issue.
This is what I did:
Add a new method 'create_verification_dataset' to the PatchDataset class in src/datasets/test_patch_loader.py. This method will create and save a verification dataset based on the existing data.
You can review changes in this commit: @.***
Caution
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

First of all, thank you very much for your answer. There are some problems in the expression of my previous question. In fact, the real question I want to ask is how to generate the corresponding matching file through the existing image data set. There are some problems in this part of the code I wrote myself to realize this function, so I want to get a copy of the code that you realize this operation.


[Feature Request]: TOGGLE SWITCH INSTEAD OF BUTTON

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Button gives an old look to the website here is a switch which adds a cool animaiton in changing your website
for the light and dark theme modes

Use Case
it make syour website more cool and efficient in use
Benefits
this makes your styles more cool
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

in which page?

as soon as the person updates the site theme i will make them into these switches for switching to the dark and light theme

as soon as she updates the website themes for light and dark i will change the light and dark theme switch toggle

I can create a complete flash theme for you, but I'll need a level three badge to do the full theme structure for both dark and light modes. Let me know if you're interested!

great sir it will be delivered  to you under 5 days

I can create a complete flash theme for you, but I'll need a level three badge to do the full theme structure for both dark and light modes. Let me know if you're interested!

on which page of website? can you elaborate

I can create a complete flash theme for you, but I'll need a level three badge to do the full theme structure for both dark and light modes. Let me know if you're interested!

on which page of website? can you elaborate

on each page of your web site

with same theme contrast

i am asking on which page of website, i am not talking about theme

I will apply themes on all the webpage of your website
on all these pages


Segfault when playing back prerecorded file

Required Info

Camera Model
Prerecorded video from D435

Firmware Version
N/A

Operating System & Version
Linux (Ubuntu 18.04)

Kernel Version (Linux Only)
5.10.25-linuxkit

Platform
x64 VM, x64 Docker container (nvidia/cuda:11.4.2-cudnn8-runtime-ubuntu18.04)

SDK Version
2.50

Language
Python 3.6.9

Segment
Other

Issue Description

Our application starts by loading a small "blank" BAG file to display to the user prior to a camera being connected.

This file is only a couple of second long, and was recorded on a D435 while covering the sensors so that everything was blackened.

After approx 3 minutes of pre-recorded video looping (sometimes sooner), our application crashes with a Segmentation Fault.
This fault does not seem to consistently occur on a specific line during the execution of our main loop (i.e. on a specific function call), which leads me to believe the segfault is triggered by a background thread within the realsense sdk
I've attached a GDB session to the runtime and I get the following backtrace when the segfault occurs

Thread 12 "python3" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe5f1e700 (LWP 45183)]
__memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:435
435     ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0  0x00007ffff7b70bb4 in __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:435
#1  0x00007fff575b9fe5 in XXH32_update () at /usr/lib/x86_64-linux-gnu/liblz4.so.1
#2  0x00007fff3ad0e14e in decompressBlock () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#3  0x00007fff3ad0e269 in roslz4_decompress () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#4  0x00007fff3ad0e3fd in roslz4_buffToBuffDecompress () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#5  0x00007fff3ad0c861 in rosbag::LZ4Stream::decompress(unsigned char*, unsigned int, unsigned char*, unsigned int) () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#6  0x00007fff3acfbddc in rosbag::ChunkedFile::decompress(rosbag::compression::CompressionType, unsigned char*, unsigned int, unsigned char*, unsigned int) () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#7  0x00007fff3ad02a6b in rosbag::Bag::decompressChunk(unsigned long) const () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#8  0x00007fff3ab1e142 in std::shared_ptr<diagnostic_msgs::KeyValue_<std::allocator<void> > > rosbag::Bag::instantiateBuffer<diagnostic_msgs::KeyValue_<std::allocator<void> > >(rosbag::IndexEntry const&) const ()
    at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#9  0x00007fff3ab1ef60 in diagnostic_msgs::KeyValue_<std::allocator<void> >::ConstPtr librealsense::ros_reader::instantiate_msg<diagnostic_msgs::KeyValue_<std::allocator<void> > >(rosbag::MessageInstance const&) ()
    at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#10 0x00007fff3aaef3d1 in librealsense::ros_reader::get_frame_metadata(rosbag::Bag const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, librealsense::device_serializer::stream_identifier const&, rosbag::MessageInstance const&,
librealsense::frame_additional_data&) () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#11 0x00007fff3aaf930f in librealsense::ros_reader::create_image_from_message(rosbag::MessageInstance const&) const () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#12 0x00007fff3aafca65 in librealsense::ros_reader::create_frame(rosbag::MessageInstance const&) () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#13 0x00007fff3aafd0c2 in librealsense::ros_reader::read_next_data() () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#14 0x00007fff3a98a01c in  () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#15 0x00007fff3a98ba49 in  () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#16 0x00007fff3aa61060 in  () at /usr/local/lib/python3.6/dist-packages/pyrealsense2/pyrealsense2.cpython-36m-x86_64-linux-gnu.so
#17 0x00007fffeb1e1a50 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#18 0x00007ffff77ca6db in start_thread (arg=0x7fffe5f1e700) at pthread_create.c:463
#19 0x00007ffff7b0361f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Here is a (modified/redacted) snippet of how we set up our pipeline based on our code:

def init(self):
  self.pipeline = rs.pipeline()
  self.config = rs.config()
  rs.config.enable_device_from_file(self.config, file_path, True) # Repeat playback = True
  self.config.enable_all_streams()

  # This block retrieves the sensor intrinsics by starting the pipeline. Once we have the intrinsics we stop it
  profile = self.pipeline.start(config)
  depth_profile = rs.video_stream_profile(profile.get_stream(rs.stream.depth))
  color_profile = rs.video_stream_profile(profile.get_stream(rs.stream.color))
  self.depth_intrinsics = Intrinsics(depth_profile.get_intrinsics())
  self.color_intrinsics = Intrinsics(color_profile.get_intrinsics())
  self.pipeline.stop()

def start(self):
  playback = self.profile.get_device().as_playback()
  playback.set_real_time(True)

  # Wait for the first frame with a longer timeout because large recorded files can take a while for the first frame to arrive
  self.pipeline.wait_for_frames(FRAME_WAIT_TIMEOUT_STARTUP)

Other notes:

This failure only happens in some environments. For environments where the failure occurs, it is reliably reproducible.

We have observed this failure in a Docker container based on nvidia/cuda:11.4.2-cudnn8-runtime-ubuntu18.04
We have observed this failure if run in a VM, but not all VMs. For instance I do not get the problem in my 18.04 VM run on Parallels Desktop (OSX), but my colleague does get the error when run under VMWare Workstation (Windows 11)

This problem happens on any bag file, but I've uploaded the relevant .bag file we use for reproducing the issue here: https://www.icloud.com/iclouddrive/001aH2Ru3LFmc79ZlC5yRTK1A#_blank_

Hi @xerxesb   When playing back pre-recorded bag files, having set_real_time set to True can increase the likelihood of instability.  Does stability improve if you set it to False instead, please?
It is also worth mentioning that although the RealSense SDK can work with Windows 11 and Intel did not experience problems when informally testing the SDK tools and examples with it, the Windows version of the SDK is officially validated for use with Windows 10 and so there may be unpredictable consequences that arise from use with Windows 11, especially in areas such as VM use that have not been tested for on Win11.

Thanks for responding, @MartyG-RealSense. I've tried re-running with set_real_time(False) and it still fails in the same way.
Thanks for the clarification re Win11 host running a VM. The key sticking point I think is that it reliably fails in our docker container, irrespective of the host operating system (Windows, Mac, Ubuntu).
Do you have other suggestions for debugging the issue?

Intel published a librealsense Docker tutorial when SDK 2.50.0 was released, so you could check the details in it against your own Docker configuration procedure
https://github.com/IntelRealSense/librealsense/tree/master/scripts/Docker

Hi @xerxesb  Do you require further assistance with this case, please?  Thanks!

Thanks @MartyG-RealSense - I read the docker instructions, but the content mostly applies to passing through the hardware. Our problem exists with the pre-recorded video playback. Also given that this problem occurs in a virtual environment leads me to think its not Docker specific.
According to the stacktrace, the segfault occurs deep in pyrealsense, so I'm not sure how else to debug this issue.

vGiven that problems have previously been reported in bag reading applications that loop playback like your application is doing, https://github.com/IntelRealSense/librealsense/issues/6887 may provide helpful insights.
You could test whether the loop is the problem in your particular application by recording a longer bag and setting playback looping to false.
rs.config.enable_device_from_file(self.config, file_path, repeat_playback=False)

Hi @xerxesb  Do you require further assistance with this case, please?  Thanks!

Yes, that is fine to keep this case open for a further time period.  Good luck!

Hi @xerxesb  Do you have an update about this case that you can provide, please?  Thanks!

Hi @xerxesb  Do you require further assistance with this case, please?  Thanks!

@MartyG-RealSense between public holidays and leave I haven't had a chance to look further.
Is it possible to postpone for a little longer? Thank you

That is no problem at all to keep this case open for a further time period.  Thanks for the update!

Hi @MartyG-RealSense - Apologies for taking so long to run this test.
I've just re-rerun the system with a longer bag file with repeat_playback=False and confirmed that it still crashes. The time taken to crash is slightly different, but it segfaults all the same

Hi @MartyG-RealSense
I tried as you suggested and copied the following lines into init, but it did not change the result
playback = self.profile.get_device().as_playback()
playback.set_real_time(True)

I would also note that commonly in Python bag reading scripts, wait_for_frames() is placed within a while True: condition, like in the RealSense SDK's read_bag_example.py Python example program.
Yes. Our system has a separate async coroutine that gets the frame from the camera device in a loop. I omitted it for brevity, but we essentially do the same thing.

I have made a little more progress investigating though:

If I set repeat_playback=False, I observe the call to get_frame will intermittently hang, and time out with a RuntimeError: Frame didn't arrive within X exception. For example, the system will start up, the .BAG file will start playing for 20 seconds (time is variable), and then suddenly things will hang and I get the frame timeout.

If I set repeat_playback=True, I observe the video will start playing, but it will suddenly restart from the beginning. It does this several times before finally SEGFAULT'ing. For example, the video plays for 20 seconds (again timing varies), restarts from the beginning, plays for 15 seconds, restarts, plays for 10 seconds, restarts, plays for 5 seconds,  SEGFAULT.
My suspicion is that there is some deadlock causing the call to get_frame to time out. If repeat_playback=False this bubbles to the client as a RuntimeError. If repeat_playback=True my guess is that the framework is restarting playback on its own. If it restarts too many times it results in the segfault.
If you can recommend a way to seta a breakpoint debug inside the library (specifically on when RuntimeError is raised) that might help narrow it down.
I have separately tried to reproduce using a test script but I haven't had any success. Clearly the complexity of our system adds confounding factors so I'm not sure which elements to try replicate in the test script (e.g. use of coroutines, timing/latency adjustments, using the frame_data once returned etc).

Have you tried inserting an exception catch on the line immediately after pipe.stop to detect an exception and print the details of it?  For example in Python:
self.pipeline.stop()
print("Exited without errors.")
except Exception as ex:
print('Exception occured", ex)

Hi @xerxesb  Do you require further assistance with this case, please?  Thanks!

Sorry @MartyG-RealSense! I didn't see that you replied to me straight away!
I'll have a look at your suggestion and let you know

@MartyG-RealSense Unfortunately that didn't change anything. I wrapped all calls to stop in exception blocks and none of them were triggered.

If your goal is to provide the user with a black screen whilst waiting for camera connection, an alternative to looping the 2 second blank bag may be to play the bag and then immediately pause playback so that the image remains on the same blank black frame indefinitely.  A method for implementing this in Python is provided in a discussion at the link below.
https://stackoverflow.com/questions/58482414/frame-didnt-arrived-within-5000-while-reading-bag-file-pyrealsense2

Thanks for the suggestion @MartyG-RealSense, but that's not how it's used.
We have a system that performs computer vision which is loosely decoupled from the input source. The user can switch between live camera source and pre-recorded sources depending on what vision processing they're testing or working on. Oftentimes, pre-recorded files give us repeatability when testing changes to vision processing algorithms.
When launched, our system starts in a "default" state using a simple blank bag file as a pre-recorded input source, but that's only until the user selects their desired input capture source (either live camera or a specific pre-recorded video)

I went back to the start of this case to re-examine it from the beginning.  I note that you are using kernel 5.10.25-linuxkit.  The librealsense SDK does not officially support kernel 5.10 and although the SDK can work with unsupported kernels it can have unforseen consequences in regards to stability.  The most recent supported kernels are 5.4 when building the SDK from Debian packages, and 5.8 and 5.11 when building it from source code.
The kernel can though be bypassed if building from source code with the RSUSB backend installation method, which is not dependent on Linux versions of kernel versions and does not require patching.

Hmmm....That's quite relevant, actually.
My working VM image is Ubuntu 18.04 LTS (kernel v5.8), so if the kernel issue is the root cause, it checks out that the software works in that environment.
I'll check with my colleague about what kernel version he's running when he gets the same issue and get back to you

Hi @MartyG-RealSense. I have an update for you.
My colleague is using Ubuntu 18.04 in a virtual machine (Windows host). Inside the VM, he is running a docker container with the application. We confirmed that the same failure happens in his setup.
The container reports system info as Linux cdf5878596cc 5.4.0-109-generic #123~18.04.1-Ubuntu SMP Fri Apr 8 09:48:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux which checks out as the container runtime is likely just passing straight through to the host's kernel.

Thanks very much for the update!
Have you checked for the possibility of a memory leak, where the computer's available memory capacity is progressively consumed over time until it becomes unstable or crashes?  You can check for this in Ubuntu by launching your program and using a system monitoring tool such as htop to look for the free memory reducing.  This could account for the default occurring without an obvious specific cause by a line of code and at similar but not always the same time periods after the program has started running.

I decided to run the application's container image on bare metal (rather than in a VM as in my comment above) and can confirm that the same problem occurs on an Ubuntu 18.04 installation.
The container system info is Linux 31ac91f6079c 5.4.0-91-generic #102~18.04.1-Ubuntu SMP Thu Nov 11 14:46:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I just posted a new comment above at the exact moment that you did. :)

Confirming - there is no memory leak. Just monitoring through htop and the consumption stays fixed throughout the life of the process until it receives the segfault

Has the code been tested outside of a Docker container to see whether the segfault still occurs when Docker is not involved?

So far we've only experienced the problem in the docker environment, yes

There was a case at https://github.com/IntelRealSense/librealsense/issues/8601 where set_real_time=true and bag looping was used and they were experiencing segfaults.  They thought that it might be segfaultjng when pipeline stop was called.

Thanks @MartyG-RealSense. I had a look through those but we don't call stop after its initialised (so we go start -> get intrinsics -> stop -> start). Once the bag file starts playing after the second call to start it never stops.
I have observed though that the bag file will periodically restart playing back from the beginning before it even gets to the end of the video. This will happen several times prior to the segfault

My understanding is that a bag returning to the start before it reaches the final frame can be a consequence of using set_real_time = true.

I'll have a look into whether changing real-time to False will change the behaviour.

Hi @xerxesb  Do you have an update about this case that you can provide, please?  Thanks!

Hi @MartyG-RealSense. I'm sorry but I've had to move onto other issues for now, and this one is again not at the top of the pile.
I don't feel like we've sufficiently worked our way to the bottom of the issue - is there a way to freeze this issue temporarily for a few weeks until I can get a chance to work on it?
Thanks

It's no problem at all if you would like to keep this case open for a few weeks.  Alternatively, you could temporarily close it with the 'Close Issue' button under the comment writing box and re-open it when you are ready to resume.  Thanks!

Hi @xerxesb  Do you have an update about this case that you can provide, please?  Thanks!

Hi @MartyG-RealSense. I appreciate you being so patient. I've been swamped with other priorities, so I'm thinking the best option at this stage is for me to close it until this bug becomes a blocking issue for us.
Thanks for your help in trying to get to the bottom, I'll close the issue temporarily for now and re-open it when we have the headspace.
For any future readers who scroll this far with the same problem: TL;DR: Didn't get to the bottom of the problem

Thanks very much @xerxesb for the update.  Please do feel free to re-open the issue at a future date when you need to.  Good luck!


docfix kill doc error and add example

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


add Statlog (Heart) Data Set

Add Statlog (Heart) Data Set and README.md

While the databases have 76 raw attributes, only 14 of them are actually used. The unused ones are mostly missing which is very hard to be properly used.

Great!
Feel free to merge. Thank you.


Configure sampling rate in adxl355 accelerator using spidev

I am using mems adxl355 sensor using adxl355.py code for getting data in raspberry pi using spidev module. I am confused how do i configure the sampling rate to 100 samples per second or 100hz. I am wondering how does max_speed_hz in spidev affect the sampling rate.

Also interested in the answer to this.
As far as I understand the sampling rate of the sensor might not be something controlled by the spi library. We might have to explicitly program it (like a timely controlled loop or similar). max_speed_hz is only for the clock of the spi. Might not relate directly to how often we query the slave.
delay_usec for the xfer function has caught my attention however.

xfer(list of values[, speed_hz, delay_usec, bits_per_word])
Performs an SPI transaction. Chip-select should be released and reactivated between blocks. Delay specifies the delay in usec between blocks.

could this be used as a mean to control sampling rate of a sensor?

As @noeldum suggests, spi_speed_hz would only affect the data rate from the ADXL355 sensor, and not the update rate from the sensor.
This question isn't relevant to the underlying SPI library, but rather something you should be looking for in the Register Definitions/Register Map section of the ADXL355 datasheet - https://www.analog.com/media/en/technical-documentation/data-sheets/adxl354_355.pdf
Or asking of whoever authored the mentioned adxl355.py.


General "janitorial" fixes

Hi, @esangel.
As mentioned in the forums, here are some "janitorial" changes to the code. I tried to make each change relatively independend of the others (which is the reason why there is a good amount of them), in the spirit of "Keep It Simple".
Hint: do not try to look at the changes all at once, but each commit in separation of the others, so that you are not overwhelmed with a lot of code changes in just one go.
If you like these changes, then there are more to come, with some of them trying to avoid repetitive code (e.g., the code to sum and to subtract vectors is almost the same and I think that it could be unified in a simple way to avoid repetition).
Anyway, first, let me know what you think of these changes, and then we can proceed to improve the rest of the code.
Thanks,
Rogério Brito.

Thanks. I’ll get to them at some point soon. Since they are janitorial, there is no rush. If there are some that are causing problems now, please let me know.
I should put everything under GitHub first though.

Ed Angel
Founding Director, Art, Research, Technology and Science Laboratory (ARTS Lab)
Professor Emeritus of Computer Science, University of New Mexico
1017 Sierra Pinon
Santa Fe, NM 87501
505-984-0136 (home<EMAIL_ADDRESS><EMAIL_ADDRESS>505-453-4944 (cell) 				http://www.cs.unm.edu/~angel http://www.cs.unm.edu/~angel

On Jul 18, 2015, at 3:26 PM, Rogério Brito<EMAIL_ADDRESS>wrote:
Hi, @esangel https://github.com/esangel.
As mentioned in the forums, here are some "janitorial" changes to the code. I tried to make each change relatively independend of the others (which is the reason why there is a good amount of them), in the spirit of "Keep It Simple".
Hint: do not try to look at the changes all at once, but each commit in separation of the others, so that you are not overwhelmed with a lot of code changes in just one go.
If you like these changes, then there are more to come, with some of them trying to avoid repetitive code (e.g., the code to sum and to subtract vectors is almost the same and I think that it could be unified in a simple way to avoid repetition).
Anyway, first, let me know what you think of these changes, and then we can proceed to improve the rest of the code.
Thanks,
Rogério Brito.
You can view, comment on, or merge this pull request online at:
https://github.com/esangel/WebGL/pull/6 https://github.com/esangel/WebGL/pull/6
Commit Summary
Remove executable bits from non-executable files.
Common: Avoid variable redeclarations in same scope.
Common: Avoid another variable redeclaration.
Common: Remove else's after if's that stop function executions.
Common: Fix spelling and mistakes in user visible messages.
Common/webgl-utils.js: Add missing semicolon after assignment.
Common: Remove pesky trailing whitespaces.
Common/webgl-utils.js: Trivial conversion of DOS to Unix line ends.
Common: Fix indentation.

Removing elses and forcing line breaks after if/for are purely stylistic changes. In my opinion they don't improve anything.

I agree. I won’t get them done until after the course unless I can get my student to do them.

Ed Angel
Founding Director, Art, Research, Technology and Science Laboratory (ARTS Lab)
Professor Emeritus of Computer Science, University of New Mexico
1017 Sierra Pinon
Santa Fe, NM 87501
505-984-0136 (home<EMAIL_ADDRESS><EMAIL_ADDRESS>505-453-4944 (cell) 				http://www.cs.unm.edu/~angel http://www.cs.unm.edu/~angel

On Jul 19, 2015, at 10:30 AM, Anton Khorev<EMAIL_ADDRESS>wrote:
Removing elses https://github.com/rbrito/WebGL/commit/25f0931b23b7f08ac433d9bdf4bf78063ca4c33f and forcing line breaks after if/for https://github.com/rbrito/WebGL/commit/da8356540d111f4b6bdcc5cf02e869df4f40df8c are purely stylistic changes. In my opinion they don't improve anything.
—
Reply to this email directly or view it on GitHub https://github.com/esangel/WebGL/pull/6#issuecomment-122678699.

Hi, Anton.
On Jul 19 2015, Anton Khorev wrote:

Removing
elses

The main reason for that is to reduce the indentation levels.

and forcing line breaks after
if/for

The main reason for that is we have nested loops and it breaking the lines
was just to make it clear that we have nested loops.

are purely stylistic changes.

Yes, indeed, they are.

In my opinion they don't improve anything.

In my opinion, they do. Who wins? :)
Kidding aside, they improve the style of the code and that is very important
(though not as important as the code being correct).
In the words of a very important Number Theorist (G.H. Hardy):
"The mathematician’s patterns, like the painter’s or the poet’s must be
beautiful; the ideas like the colours or the words, must fit together in
a harmonious way.

Similarly to Prof. Hardy, I also see that computer code (especially that
which is used for teaching purposes) should be as beautiful and elegant as
possible. And I am proposing some "frivolous" changes that I think that do
improve the code.
Anyway, by reading the code doing such "frivolous" changes to improve style
and fix small things, I have saw some flaws of the code (e.g., some
functions that don't handle reasonable inputs) and I would send those more
substantial changes in a future pull request.
Anyway #2, I can revert those particular changes if there is intention of
using the rest of this pull request.
Anyway #3, I can simply withdraw the pull request at all and use a forked
version of the code.  It is MIT licensed, anyway. :)
Regards,
--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

Since the code goes out to lots of users of my textbook, I do want to clean up the code but it may take me awhile to get to it since the Coursera course is taking a lot of time and SIGGRAPH is coming up in a couple of weeks.
As for the Common code, some of the webgl utilities are not mine so I would rather look for an updated version on the web at either mozilla or google. MV.js needs some serious work. Most of it was done by my coauthor quite awhile ago while we were doing the first draft of the book and we never really cleaned it up.  Also I need to add a lot more comments to many of the examples.
I really appreciate both of your feedback.
Ed

Ed Angel
Founding Director, Art, Research, Technology and Science Laboratory (ARTS Lab)
Professor Emeritus of Computer Science, University of New Mexico
1017 Sierra Pinon
Santa Fe, NM 87501
505-984-0136 (home<EMAIL_ADDRESS><EMAIL_ADDRESS>505-453-4944 (cell) 				http://www.cs.unm.edu/~angel http://www.cs.unm.edu/~angel

On Jul 20, 2015, at 2:23 PM, Rogério Brito<EMAIL_ADDRESS>wrote:
Hi, Anton.
On Jul 19 2015, Anton Khorev wrote:

Removing
elses

The main reason for that is to reduce the indentation levels.

and forcing line breaks after
if/for

The main reason for that is we have nested loops and it breaking the lines
was just to make it clear that we have nested loops.

are purely stylistic changes.

Yes, indeed, they are.

In my opinion they don't improve anything.

In my opinion, they do. Who wins? :)
Kidding aside, they improve the style of the code and that is very important
(though not as important as the code being correct).
In the words of a very important Number Theorist (G.H. Hardy):
"The mathematician’s patterns, like the painter’s or the poet’s must be
beautiful; the ideas like the colours or the words, must fit together in
a harmonious way.
Similarly to Prof. Hardy, I also see that computer code (especially that
which is used for teaching purposes) should be as beautiful and elegant as
possible. And I am proposing some "frivolous" changes that I think that do
improve the code.
Anyway, by reading the code doing such "frivolous" changes to improve style
and fix small things, I have saw some flaws of the code (e.g., some
functions that don't handle reasonable inputs) and I would send those more
substantial changes in a future pull request.
Anyway #2, I can revert those particular changes if there is intention of
using the rest of this pull request.
Anyway #3, I can simply withdraw the pull request at all and use a forked
version of the code. It is MIT licensed, anyway. :)
Regards,
--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
—
Reply to this email directly or view it on GitHub https://github.com/esangel/WebGL/pull/6#issuecomment-123020771.

When I have a function with two branches and both of them return something, I don't consider it an improvement to unindent one branch. It makes comparing the code of the branches more difficult and it doesn't really save you any horizontal space because there's that other branch. Additionally, you can't fold the unindented branch in editors that support code folding.
Of course I would have written the code differently. Of course I can write a longer post arguing that my way is better and maybe reference some famous person.

@esangel, are there any commits here that you think are worth cherry-picking? If not, I will withdraw my pull request completely.
Otherwise, I can rebase the changes on top of your master branch...
I hope that you do find something worthwhile, since the code base could certainly be improved (like, for example removing the executable bits from the source files, removing .DS_Store crap, the Git.zip file and so on, just to name a few things).

I’ve been slow getting to that site. Been working on a new edition and moving all the support to a new github site.
I did remove the extraneous files. Will clean up the code sometime.

Ed Angel
Founding Director, Art, Research, Technology and Science Laboratory (ARTS Lab)
Professor Emeritus of Computer Science, University of New Mexico
1017 Sierra Pinon
Santa Fe, NM 87501
505-984-0136 (home<EMAIL_ADDRESS><EMAIL_ADDRESS>505-453-4944 (cell) 				http://www.cs.unm.edu/~angel http://www.cs.unm.edu/~angel

On Aug 30, 2017, at 3:47 PM, Rogério Brito<EMAIL_ADDRESS>wrote:
@esangel https://github.com/esangel, are there any commits here that you think are worth cherry-picking? If not, I will withdraw my pull request completely.
Otherwise, I can rebase the changes on top of your master branch...
I hope that you do find something worthwhile, since the code base could certainly be improved (like, for example removing the executable bits from the source files, removing .DS_Store crap, the Git.zip file and so on, just to name a few things).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/esangel/WebGL/pull/6#issuecomment-326128797, or mute the thread https://github.com/notifications/unsubscribe-auth/AHewl32O7V3VvYIctx5iZu-kDF-YI_DLks5sddh9gaJpZM4FbUtC.


Policy Creation Error: Statement IDs (SID) must be alpha-numeric

Following the README I configured this new policy on AWS:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "autogenerated-id",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::carthage-cache"
            ]
        },
        {
            "Sid": "autogenerated-id",
            "Effect": "Allow",
            "Action": [
                "s3:DeleteObject",
                "s3:GetObject",
                "s3:PutObject"
            ],
            "Resource": [
                "arn:aws:s3:::carthage-cache/*"
            ]
        }
    ]
}

When trying to save it I got the following error message:

An error occurred: Statement IDs (SID) must be alpha-numeric. Check that your input satisfies the regular expression [0-9A-Za-z]*

I had to change the autogenerated-id entries to autogeneratedId for it to save. I hope this doesn't stop carthage-cache from working. If it is I will notify you after trying it – in any case the README should be updated.

Okay this didn't work either, I am now additionally getting this error:

This policy contains the following error: The Statement Ids in the policy are not unique For more information about the IAM policy grammar, see AWS IAM Policies.

Okay, I setup the policy with the generator, it looks the same only that the Sids are different. Maybe we should note in the README that the Sid needs to be something unique...?

@Dschee Thanks for the suggestion I will clarify that in the docs.


Declaratively binding sub properties

Looking through all open and countless more closed issues is a daunting task, but I couldn't find an issue for this. It would be very useful if it was possible to declaratively bind to a sub property of an element. To give a typical example, let's say we have a generic element that consumes an API <my-api>. We set a method and bind the data:
 <my-api method="users/list" data="{{data}}"></my-api>

so far so good, but then we wish to request a specific user and we have to send along specific parameters. In my project I build an element like
<my-api method="user/:id" params="{{params}}" data="{{data}}" auto></my-api>

and then have to have an observer on userId which in turn sets params.id as this.userId, as we can't declare all properties that all the different API calls need we have to use a generic params attribute, but it would be great if we could instead write:
<my-api method="user/:id" params.id="{{userId}}" data="{{data}}" auto></my-api>

The only downside would be that the . is a valid attribute name character, and yet wouldn't be supported by Polymer... but I hardly think it would work now either way.

In Polymer 2 you can actually do this: http://jsbin.com/xinonuhapu/edit?html,console,output Override _parseTemplateNodeAttribute and then evaluate the binding and use _setPendingPropertyOrPath to set the property.


Implement plugin can loop a view when last child

Hi All. Im using this plugin. It is so good. But I has a problem. When I swipe to last child. I cant continue swipe. So I want make this plugin can swipe to first child. Loop item in carousle.
In react has a plugin can make it. So How can I implement this plugin can do it and autoplay as slide.
This is a slide in lazada app. I think it using React. In Xamarin, how can I do it ?
Gif
https://j.gifs.com/G5VWv3.gif
video on youtube: https://www.youtube.com/watch?v=qdqlSVvyMpo

@nhdanh  hi, try this plugin instead https://github.com/AndreiMisiukevich/CardView (it provides such feature, just set IsCycling = true)
Because, this plugin was merged to XF..

thank you, I was custom this plugin can do it. So I see your card views plugin. That good plugin. I downloaded.

@nhdanh next release.


[docs] Typo-fix: added missing paren

Thanks!
@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Realm not persisting changes made to RLMObjects from RLMResults

Tested using Swift 1.2 - not supported yet
Example Project: https://github.com/seancatkinson/realm-swift-update-issue
Having an issue where I can't update my RLMObjects. Process is a follows:

Click Add - New Screen shows
Add Object Details
Click Save - screen dismisses
table view reloads from realm notification - new object shows
click the new object - new screen shows
modify the text, click save - screen dismisses
notification fires, table reloads, object does not change

The object that is 'updated' does get the changes, however those changes are lost once the object is released. Using the Realm Browser suggests no changes are happening on the back-end.

@seancatkinson, I made a PR that fixes the issue you were seeing.

Ah! Of course, because I'm not editing the original object but a new object created from the original. Thanks a lot Xcode Autocomplete...
Cheers :)


GitHub Action runner started hanging forever

Installation phase of full build loop 'hangs forever', never actually getting to do the build. Build scripts haven't changed in a while. The only possible recent change could have beeen the GitHub Actions runner image change, which is beyond our control.
In order to unblock the PR reviews - I am temporarily disabling the CMake setup, and the build of deps from vcpkg packages. I'm also disabling the Windows-clang build of SDK for now. That is until we have better understanding of the culprit.
Windows-clang build best be done with built-in Visual Studio 2019 compiler + cmake + ninja anyways. And it would benefit from some refacting. Using CMake + ninja rather than MSBuild would be a better (and faster) option for Clang builds.. Thus, turning Windows-clang build off should not cause significant regression in our CI coverage.

The hang is similar to this one: https://github.com/actions/virtual-environments/issues/2098

@bliptec @kindbe @lalitb @larvacea @mkoscumb @reyang
If you guys can have a quick look - we really need this fix to unblock the CI. Otherwise all PRs show up as red.

Should there be an issue to track re-enabling these parts of the build?

I'd like to get CMake + ninja setup, that would be covering the (currently disabled) clang build. And will be more closely resembling your build setup. I'll see if we have one in our backlog (we used to have it), so I'll assign it to myself and mention in this PR.

#16 - original issue was about gn (Googe Ninja). But I think if we cover cmake+clang+ninja (on Windows) , that will be nearly identical and/or at least very similar. As for the other platforms - we can probably add ninja as an option, and have environment variable that forces build.sh to invoke CMake with Ninja rather than with GNU make.


Support MSBuild SDK packages specified in csproj

Currently, Dependabot only looks for <PackageReference>, packages.config and similar items used to consume packages to be referenced by a project.
However, it is also possible to consume a NuGet package containing an MSBuild SDK, and this does not use such references.
Instead, there are two ways of consuming Awesome.Sdk 1.2.3:

In the project file, use:
<Project Sdk="Awesome.Sdk/1.2.3">

the MSBuild SDK resolver will then look for a NuGet package Awesome.Sdk at version 1.2.3.

In the project file, use:
<Project Sdk="Awesome.Sdk">

and in global.json, have:
{
  "msbuild-sdks": {
    "Awesome.Sdk" : "1.2.3",
    "Another.Pretty.Good.Sdk": "5.0.0"
  }
}

(making it easier to synchronize the SDK versions across multiple projects).

Either way, the Sdk project attribute can contain multiple SDK names, separated by ;, and while the version can be a pre-release (so Awesome.Sdk/1.2.4-beta.do.not.use is valid), it has to be a specific version (so no range syntax or *).

Looks like the global.json part is already built in.
While that means dependabot will offer updates regardless of whether the SDKs are in use, I suppose that is fine.
So the main remaining item is to handle name-plus-version specifications in the project files themselves.

And actually, it's 3 syntaxes (see https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-use-project-sdk):
<Project Sdk="First.Sdk/1.0.0;Second.Sdk/2.0.0">

</Project>

<Project>

  <Sdk Name="First.Sdk" Version="1.0.0" />
  <Sdk Name="Second.Sdk" Version="2.0.0" />

</Project>

<Project>

  <Import Project="Some.props" Sdk="First.Sdk" Version="1.0.0" />
  <Import Project="Other.props" Sdk="Second.Sdk" Version="2.0.0" />

</Project>


Automated cherry pick of #4092: loadbalancerbackends: janitor: move to InitializeData

Cherry pick of #4092 on release/2.10.0.
#4092: loadbalancerbackends: janitor: move to InitializeData

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@b44344f). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #4096   +/-   ##
================================================
  Coverage                  ?   7.47%
================================================
  Files                     ?     418
  Lines                     ?   66657
  Branches                  ?       0
================================================
  Hits                      ?    4984
  Misses                    ?   61247
  Partials                  ?     426

Flag
Coverage Δ

#aFlag
7.47% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/loadbalancerbackends.go
2.45% <0%> (ø)

pkg/compute/models/loadbalancerbackends_stales.go
8.47% <0%> (ø)

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 b44344f...8873972. Read the comment docs.

/lgtm

/approve


add share now template

Docs Build status updates of commit cdbcafe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/share-now-suggested-content.png
:white_check_mark:Succeeded
View

msteams-platform/samples/app-templates.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit ac429e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/share-now-suggested-content.png
:white_check_mark:Succeeded
View

msteams-platform/samples/app-templates.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Monterey mode not working

It just fails, and installs the WhiteSur theme.

What install command did you use?

Could you try: ./install.sh -m
The install script seems to be tweaked from the master repo, but the readme hasn't updated to look for the monterey case. Fixing with a PR

Thank you, everything seems to be working, it installed fine with the last command.


Case insensitive text filtering

I just want to start off saying: thank you very much @aahnik everything is working perfectly!
Just a nice to have feature would be to have the whitelist and blacklist filters, have an optional match-case / match whole word option.
(The current default is to match case and not match whole words)

that's a good idea. I will try to implement it soon!

i want to add something here: words start with characters like '@' or '#' can't be filtered.

i want to add something here: words start with characters like '@' or '#' can't be filtered.

is this a feature request ?  or you mean this happens ?
by the way, this feature is coming in the next release!

what do you mean by match whole words ? @RebbePod

Yes. when someone wants to omit "@someid" the program run in to error.

@ehs4nm there is no problem. with the latest version of tgcf, I tested
read  https://github.com/aahnik/tgcf/issues/138#issuecomment-859690914


fix: Tests fix

Codecov Report

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

@@           Coverage Diff           @@
##           master      #79   +/-   ##
=======================================
  Coverage   89.41%   89.41%
=======================================
  Files          25       25
  Lines        1511     1511
=======================================
  Hits         1351     1351
  Misses        160      160

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 2a12d0f...5745336. Read the comment docs.


can't run in iPhone 64 bit

it work find when i run in iPhone 5 but when i try to run in iPhone 5s, i got an error
Undefined symbols for architecture x86_64:
"_KxMovieParameterDisableDeinterlacing", referenced from:
or i missing something.
Thank.

yeah, this version don't support x86_64

Thank :)

can you tell me about current version which does not have this problem


How to compile it?

As i said in title, how do i compile this on arch linux?

You can:

Use the build from actions
Use a system-wide gradle install (pacman -S gradle; gradle build)
Use gradlew (./gradlew build), though you may need to install dependencies for this


Allow HTTP PATCH on Dapr Invoke request

In what area(s)?
/area runtime
Describe the feature
For our solution we are using Dapr for to secure the internal and external communication with TLS.
Therefore http requests are rewritten from a external to dapr invoke URI schema , which will be injected into the sidecar architecture via a daprized nginx pod.
This also applies to requests for the AAD SCIM Provisioning to our SCIM POD within the AKS cluster. The problem with this request is,  that AAD SCIM service are also uses the HTTP PATCH method e.g. to synchronize group memberships into our platform. These call are falling with a HTTP 405 (Methode not allowed) and never reaching the SCIM POD.
Is it possible to allow also HTTP PATCH methode for Dapr Invoke REST calls?

Can you confirm what version of the Dapr runtime you are using? We had a change in v1.5 to enable PATCH, for service invocation scenarios: #3697
If you are on v1.5 already, can you please provide us with reproduction steps? We do have an automated E2E test around this scenario, and I've confirmed that it is currently passing. That doesn't preclude a problem, but if we do have a problem it is on a path that this test isn't exercising properly.

Hey @wcs1only
Seems our POD was not updated to the latest version of dapr.
After the redeployment the HTTP Patch is working now.
I will also update the documentation for dapr invoke reference

Fixes dapr/docs#2045


Show profiles data in sync activity view

These should not be conflicts - abandoning this PR and created a new PR - https://github.com/microsoft/vscode/pull/164429


reactive attribute not work in SSG

Environment
windows
nuxt3.4.3
Reproduction
// middleware/authority.global.ts

export default defineNuxtRouteMiddleware(async (to) => {
  if(!import.meta.env.SSR) {
    const { data } = await useFetch("/getUserAuthority");
    const store = useUserStore();  // pinia
    store.isAuth = data.value;
  }
})

// pages/index.vue

<template>

123
{{ store.isAuth }}
</template>

Rendered page shows:
123 true
The v-text tag is not reactive
Describe the bug
Make xhr request only in client to get user auth, and set return data to pinia.
In page, use v-text="data" or attribute like :userRole="data", reactive not work, but use {{ data }} mastache, reactive work.
Is it bug or feature? If it's feature, why? Is there any recommend practice can I use to handle with scenarios that needs authentication?
Additional context
My page have anony authority scene, and I want to make it a static site for seo and better performance.
For higher authority user, the page will show different data. My approach is to get auth info only in client, and set it in pinia, then the template watch pinia to update new data.
Logs
No response

This isn't a Nuxt issue, but to do with how pinia behaves or how Vue treats v-text. See if you can replicate without Nuxt: https://stackblitz.com/github/nuxt-contrib/vue3-ssr-starter.


updated contributors

doesn't seem to have automatically re-opened #4 so I made a new one ¯\(ツ)/¯
Thanks for being so nice :)

Welcome to the club. :)


Revert "Delete network buffers after use"

Reverts commercialhaskell/intero#523
With the above change, I see a lot of:
Debugger entered--Lisp error: (error "Selecting deleted buffer")
  intero-network-call-sentinel(#<process backend> "deleted\n")

so it seems like this fix isn't the correct one.
/cc @sergv

Is there any way to reproduce the problem?

It's very strange - I cannot get intero-network-call-sentinel to receive "deleted\n" event. All I'm getting locally is "open\n" (on initialisation) or "connection broken by remote peer\n" (on finish). Perhaps "deleted\n" event may be safely ignored?


Video won't stop

Hey hukkim!
Thank you for your work! For me this is something new. I'm just starting to learn different programming languages. And I am very interested in your project. In your example: https://hiukim.github.io/mind-ar-js-doc/examples/interative/ the video doesn't stop when the target is lost. I tried to fix this for a long time, but my knowledge is not enough yet. could you explain how to catch this video and pause or at least stop. Thanks in advance!

you can pause the video using the targetLost event. Ref: https://hiukim.github.io/mind-ar-js-doc/examples/events-handling#targetfound-and-targetlost


Upload on rsconnect and under proxy

Hello! Could you pleage give me a hint about following issue:
I am deploying my app on RSConnect platform and getting next error in logs of rsconnect when i try to upload a file:
2024/02/06 13:35:12 [error] 3755#0: *17036708 readv() failed (104: Connection reset by peer) while reading upstream, client: <IP_ADDRESS>, server: rsconnect-app.prd.net, request: "POST /API/resumable?resumableChunkNumber=1&resumableChunkSize=1048576&resumableCurrentChunkSize=241368&resumableTotalSize=241368&resumableType=application%2Fvnd.openxmlformats-officedocument.spreadsheetml.sheet&resumableIdentifier=241368-new_template_copyxlsx&resumableFilename=new_template_copy.xlsx&resumableRelativePath=new_template_copy.xlsx&resumableTotalChunks=1&upload_id=c39cc72a-c4e9-11ee-a117-48df37301c48 HTTP/2.0", upstream: "http://<IP_ADDRESS>:3939/API/resumable?resumableChunkNumber=1&resumableChunkSize=1048576&resumableCurrentChunkSize=241368&resumableTotalSize=241368&resumableType=application%2Fvnd.openxmlformats-officedocument.spreadsheetml.sheet&resumableIdentifier=241368-new_template_copyxlsx&resumableFilename=new_template_copy.xlsx&resumableRelativePath=new_template_copy.xlsx&resumableTotalChunks=1&upload_id=c39cc72a-c4e9-11ee-a117-48df37301c48", host: "rsconnect-app.prd.net", referrer: "https://rsconnect-app.prd.net/content/595b9bd9-f506-4931-8997-c65d9c3c02e6/" As far as i understand i have to configure requests_pathname_prefix and routes_pathname_prefix  but i don't really understand this concept from other issue threads

I don't know about this specific error, but try app = dash.Dash(__name__, requests_pathname_prefix="/") and also check if the folder dash_uploader is saving the files exists and you have permissions.


Compile Phobos with -boundscheck=off

Signed-off-by: Luís Ferreira<EMAIL_ADDRESS>

By merging #8222 and #8220 this should compile.

What is the rationale for doing this?

We should not do this. It removes @safe guarantees.
Situations where maximum speed is preferred over integrity / correctness / safety exist, but they are relatively rare, and such a thing needs to be very very opt-in (the compile-your-own-standard-library kind of opt-in).
Fixes to make Phobos work with -noboundscheck are welcome, but we should not change the default.

I misread the pull request. This does not change the default, but adds a CI pass to test building Phobos without bounds checking.


Implement Timer to Hide "You're Connected" Text

Problem Statement:
Upon connecting to the Pieces OS, there is a need to enhance the user experience by implementing a timer that automatically hides the "You're Connected" text and shrinks the button after a certain duration.
Proposed Changes:

Identify the element containing the "You're Connected" text and the associated button.
Implement a timer function in the relevant JavaScript file.
Upon connection, trigger the timer to start.
After the specified duration, hide the text and apply the button shrink effect.

Users will experience a more streamlined interface where the "You're Connected" text disappears, and the button shrinks after a set period, providing a cleaner visual feedback post-connection.

hey @Sophyia7 can i work on this

@agrim0312 sounds great - once this task is completed another interesting timer related feature would be around ensuring a live connection to pieces os, where the connection check is synchronous and reacts when pieces os is running or closed without having to refresh the page.
first knock out the about task but just something for you to think about as well 👍


Switch legacy project System Templates to use nuget.

We are improving the deployment mechanism for VisualFSharp as part of VisualStudio.  Part of that effort involves eliminating the Global MSI install of the compiler and reference assemblies and replacing it with a VSIX.
Once this is is completed, VisualFSharp will be truly side by side between VS previews and RTMs.  Frankly I can't wait.  @brettfo  is working on that PR.  An additional part of that is to use regular nuget mechanisms to deploy reference FSharp.Core.  In a similar way to how we currently reference System.ValueTuple.
The project files are somewhat simplified with this PR.  Support for DotNet framework 2.0 is gone.  The TargetFSharpCore mechanism is removed, replaced by the nuget management tooling.   The project properties page, shows the TargetFSharpCore field greyed out.
Existing "TargetFSharpCore" projects will continue work, however, they will not be updatable to Future FSharp.Core versions, without migrating to the nuget mechanism.
/CC @brettfo, @cartermp, @dsyme

That is, rename the Console Application and Library templates to...

Yes please!!

@cartermp
I have huge FUD about making such a change.  If I end up having to grovel through 10 year old tests that I don't even know where they are to do the VS integration, I will cry, and that will make you sad.

I'll just come out and say that if a unit test takes a dependency on there being a project template named "Library", that unit test should probably just be destroyed

It's more like IDE integration tests, that say create an F# project with the template "Library".

How much work would it be to just disable those tests? I can't imagine that they're doing anything meaningful now that the things they're testing w.r.t language service hookups are no longer active code paths.
Right now, the naming is very confusing as noted in #4953

@cartermp
I am going to make, the change, and deal with the fallout ... if any ... there may be none.  If there is some ...    I remember there was a bug that hung around for nearly a year, where some test somewhere failed, we didn't own the tests, and the feature it purported to test worked fine, at the time we suspected a test issue.  I imagine, that the tests were finally disabled by the owners, given that they were not proving usefull.

New template names for F#

Relevant to the discussion:
File, new project, picking F#, project templates list is empty:

@smoothdeveloper
If You scroll a bit further down on the help about box, you can tell if VS thinks that F# is installed.

F# is not installed by default, To get both desktop and coreclr templates select these two options.

If the options are checked, and VS thinks F# is installed and there are no templates, then we have a bug.
Kevin

@KevinRansom thanks

For the list of VS packages, I do have F# language support but probably not the desktop app one, I can't check the list as it requires me to update, which requires me to stop the world and I need to keep it running a bit longer, I'll post it later.
I'll try what you left as comment there if I'm still stuck: https://github.com/Microsoft/visualfsharp/issues/2551#issuecomment-285074871

@smoothdeveloper I don't recognize that bottom drop down labelled Framework, I guess it's a resharper thing, but it says Net Framework 4.6.1 I assume that you don't have the desktop templates and the netcore ones are filtered out.
Kevin

Thanks for addressing the naming. I'll repeat my comment from the other issue here:

Maybe you can align the names as well? Library vs Class Library and Console App vs Console Application? In C# these are also aligned. And I miss some variants. There should be three of each, right?

And about potentially failing tests, I think these shouldn't be dependent on labels. But if they are, I'd suggest they be updated or removed where possible. And I'd cry with you if changing a label indeed fails a test ;)

@abelbraaksma no need to cry … I am prepared to take this one for the team.


contributing-doc: give example commit message with "CLA: trivial"

The text "CLA: trivial" should go at the bottom of the commit message. Also, update the force-push command to include the repository and branch, which can avoid unexpected force-push results.

Checklist

[x] documentation is added or updated

This pull request is ready to merge

Merged to master, 3.0, 3.1 and 3.2. Thank you.


[Feature Request] WebView优化

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
计划异步初始化来实现
或者使用池化技术
考虑新增WebViewUtil
Additional context
No response

https://blog.csdn.net/xingyu19911016/article/details/121361622#:~:text=可以在客户端启动,的首次打开时间。

https://gitee.com/missyouch/desserts/blob/master/src/main/java/cerebrum/common/OsUtil.java
https://blog.csdn.net/lingyancangqiong/article/details/112879242

webEngine.getLoadWorker().stateProperty()
        .addListener(new ChangeListener<State>() {

          @Override
          public void changed(ObservableValue ov, State oldState, State newState) {

            if (newState == Worker.State.SUCCEEDED) {

              stage.setTitle(webEngine.getLocation());
            }

          }
        });

https://cloud.tencent.com/developer/article/1625230

https://zhuanlan.zhihu.com/p/451342438

https://vimsky.com/examples/usage/javafx-webview-class.html

https://www.cnblogs.com/qingmiaokeji/p/10893897.html

初始化异步初始化后再将组件放到UI上


Improve presentation of errors from Nexus

For example:
> Task :closeSonatypeStagingRepository FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':closeSonatypeStagingRepository'.
> Failed to close staging repository, server at https://oss.sonatype.org/service/local/ responded with status code 500, body: io.github.gradlenexus.publishplugin.shadow.okhttp3.ResponseBody$1@1ac212a0

Might potentially show the body (if text/json) and maybe we could even try to determine that credentials were not provided.

This other plugin does a good job reporting logs from Nexus, printing all validation rules, reasons of failure, etc.
https://plugins.gradle.org/plugin/name.remal.maven-publish-nexus-staging
May be you can join forces with them too for this


Deploy ChainNFT to polygon and connect to OpenSea

Does this work? If not, whats missing?
Does it work from Mumbai?

If metadata is guaranteed stable and the final version can be generated when minting the nft, then the metadata could be uploaded to ipfs and used from there. If there is the slightest right that metadata might changes, then metadata should be pulled via an api service (ideally edge cached to reduce service load).
Also the name of the NFT token should be changed. Dezentralized Insurance Protocol Registry it not ideal because the NFT and Registry are not the same. Maybe Dezentralized Insurance Protocol Registrables or Dezentralized Insurance Protocol Token or Dezentralized Insurance Protocol NFT is better


Functionality request - Code formatting

Hello, I have request about new functionality. Since this is tool is meant to prettify code it would be cool that you can format code before you highlight is.
From:
function fun() { console.log('...'); }

To:
function fun() {
    console.log('...');
}

Or is there any other tool that support this (multipla languages)?
Thanks!

Yes, This will help a lot :+1:

Sorry but this is unlikely to be implemented in code-prettify. After all it is a syntax highlighter, not a code beautifier...
You might wanna look into other projects like astyle or uncrustify which work on multiple languages, or language-specific ones (too many to list).


Color range for each series (heatmap)

Hi!
Is your feature request related to a problem? Please describe.
I'd like to use the heatmap in the following way: Each series in my data has different minimum and maximum values, and I would like to define color ranges specific to each series.
Describe the solution you'd like
Instead of defining the color range globally for the graph, I'd like to have the option of passing in an array of color range definitions, where each item corresponds to the series item (the same way it works when using color scales).
Love ApexCharts, thanks for a great lib.

Sure, this is a good suggestion. I will implement it soon and notify in this same thread when accomplished.

+1!
Would love this feature to be available to Bar charts as well!
Keep up the amazing work!

Would love this feature too!

+1, any timeline on this?

+1
I really wish this feature will come soon, it is the only default of the heatmap! please let us know as soon as possible if you have any date of release. Thanks

plotOptions.heatmap.distributed calculates the min/max of each series separately when turned on.
plotOptions: {
  heatmap: {
    distributed: true
  }
}

Although it is different to what is being asked in the original issue, someone might find it helpful.
I will try to implement custom range for each series soon.

Was this implemented at all?

Would be great if we had this feature!

+1
Will really love to have this feature!

plotOptions.heatmap.distributed calculates the min/max of each series separately when turned on.
plotOptions: {
  heatmap: {
    distributed: true
  }
}

Although it is different to what is being asked in the original issue, someone might find it helpful. I will try to implement custom range for each series soon.

Hello, I need the feature to solve a business case urgently, any new about it? I cannot find any documentation, maybe if this is not implemented you know a workaround? Thank you so much in advance.