added rounded corners

Describe your changes
added rounded corners
Please include a summary of the changes and the related issue. Why is this change required? What problem does it solve?
Fixes # (issue)
Checklist: yeah all below things are true

[ ] I have performed a self-review of my code
[ ] I have commented my code
[ ] My changes generate no new warnings
[ ] Have you successfully run tests with your changes locally?

can you share some screenshots for the same?


[Feature] Container distribution

Is your feature request related to a problem? Please describe.
As an integrator, I want to run a containerized version of dynatrace-automation-tools as part of my CI/CD pipeline.

closing this as container version is already available


datapath: Fix wrong rev-NAT xlation due to stale conntrack entry

See commit msgs.
In addition to the CI tests, I've tested the fix on a user's cluster which previously was hit by #10983 - the fix resolved the problem.
Fix #10983
Also, this might resolve some of the NodePort BPF flakes.

test-me-please

Coverage increased (+0.003%) to 46.621% when pulling d18e85d71129bac95b8ff4f56ce1978cd112530c on pr/brb/np-update-stale-conntrack into 5c18df5af35f9eca063ee81985c473b5468e22be on master.

test-me-please

test-gke

GKE hit the Kafka panic flake and K8sDatapathConfig MonitorAggregation Checks that monitor aggregation restricts notifications flake.

test-gke

test-me-please

test-me-please

test-me-please

test-me-please

CI timeout due to not cached Docker image.

test-me-please

test-gke

test-me-please

restart-ginkgo

CI timed out.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

@brb do you consider this PR to be a major bugfix / affecting multiple users to justify backport to v1.6? Seems like there's non-trivial conflicts and without your assistance it will not make its way into a v1.6 release.
https://docs.cilium.io/en/latest/contributing/release/backports/#backport-criteria-for-x-y-1-z-and-x-y-2-z

@joestringer I do not expect that many users are accessing the same endoint via two different services from outside. So, it's OK to not include in v1.6. If we hear any reports, than I will backport it manually.


[JENKINS-43693] improve multi-branch pipeline support

@daspilker other multi-branch sources like the one for Bitbucket are currently provided via dynamic DSL. Do you have an idea how to easily mark the id field as mandatory for these too?

@darxriggs Job DSL uses the same means as Pipeline to provide the dynamic DSL. See https://jenkins.io/doc/developer/plugin-development/pipeline-integration/#constructor-vs-setters.
So the plugins should declare the id field in a @DataBoundConstructor. The plugin can even provide documentation for the parameter, see https://github.com/jenkinsci/structs-plugin/blob/structs-parent-1.19/plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableParameter.java#L115.
Job DSL should not contain any special handling for plugins, this should be fixed in the plugins.
Can you try to get this fixed in the relevant plugins?

There was a change in the scm-api-plugin about 2 ago in the opposite direction - see JENKINS-44891 and https://github.com/jenkinsci/scm-api-plugin/pull/41.


feature(custom-event): introduce basic custom-event method

creates a new 'customEvent' sdk method for triggering user-specified events. Logs to fpti. Passes user-provided fields as 'sinfo' within the fpti event.
refactors various 'validation' methods into separate files and places them into a new folder.
adds a new 'validation' method for the 'customEvent'

thx for the PR naming :D


Put User is Quotes: "SA" not SA in the bash commands.

[Enter feedback here]
Put User is Quotes: "SA" not SA in the bash commands.
like so:
/opt/mssql-tools/bin/sqlcmd -S localhost -U "SA"

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

ID: b152444b-dfb8-5cbe-cf45-9830bd085a68
Version Independent ID: 31719660-d4d0-7f63-efcc-846c822a63c2
Content: Docker: Install containers for SQL Server on Linux - SQL Server
Content Source: docs/linux/quickstart-install-connect-docker.md
Service: sql
Sub-service: linux
GitHub Login: @amitkh-msft
Microsoft Alias: amitkh

Hi @Adrianjewell91, quotation marks are not required for the username for sqlcmd. Please refer to the sqlcmd article.


Chart.lock doesn't update

Output of helm version:
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:20:10Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.9-eks-c0eccc", GitCommit:"c0eccca51d7500bb03b2f163dd8d534ffeb2f7a2", GitTreeState:"clean", BuildDate:"2019-12-22T23:14:11Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):  EKS
When dependencies are removed in a Chart.yaml file, doing helm dep update does not update the Chart.lock and it doesn't remove the subcharts/.tgz on charts/ directory

Hi, @botjaeger and others interested. We now have a path forward for proposals: if you're reading this and thinking "but this should happen!", please file a Helm Improvement Proposal to discuss it with the community (or send a pull request if you'd like to implement it). Meanwhile, I'm closing this issue as inactive.


ERSPAN and GRE fixes for Scapy

seqence_number -> sequence_number (typo) per https://github.com/secdev/scapy/blob/95ba5b8504152a1f820bbe679ccf03668cb5118f/scapy/layers/l2.py#L467
scapy.ERSPAN parameters update per https://github.com/secdev/scapy/blob/95ba5b8504152a1f820bbe679ccf03668cb5118f/scapy/contrib/erspan.py#L45

you may need to resolve conflicts

Thank you, @antoninbas

@antoninbas @slicking Could you please merge this? I don't have write access... Thank you.


Add docstring documentation to openroad.bzl

For Bazel newbies, it would be helpful to add docstring documentation to the code in openroad.bzl to explain what the code is doing. This is especially important for important methods like _make_impl, which is long and does many things.

Learning bazel is out of scope for the bazel-orfs documentation, it should start with the assumption that the developer is fairly fluent in the bazel concepts. Enough to hack with github copilot/chatgpt provided it is reviwed by humans afterwards.
This is what github copilot generated... If this is adequate, then I don't think we should add the documentation. I think source code should be viewed through "AI documentation glasses" and then the source code should have some comments and code written such that an AI can come up with something that reasonably describes it.
What is missing from the documentation below you think?
"""Generates and runs a Makefile-based build process for a given stage.

    This function sets up the necessary environment and files for running a
    Makefile-based build process. It ensures that all required directories and
    files are created, and it constructs the appropriate shell command to
    execute the build.

    Args:
        ctx: The rule context, providing access to attributes, actions, and other
            build-related information.
        stage (str): The name of the build stage.
        steps (list): A list of steps to be passed as arguments to the Makefile.
        result_names (list, optional): A list of result file names to be generated
            by the build process. Defaults to an empty list.
        object_names (list, optional): A list of object file names to be generated
            by the build process. Defaults to an empty list.
        log_names (list, optional): A list of log file names to be generated by the
            build process. Defaults to an empty list.
        report_names (list, optional): A list of report file names to be generated
            by the build process. Defaults to an empty list.
        extra_arguments (dict, optional): Additional arguments to be passed to the
            Makefile. Defaults to an empty dictionary.

    Returns:
        A list of providers, including DefaultInfo, OutputGroupInfo, OrfsDepInfo,
        OrfsInfo, and other relevant information for the build process.
    """

out of sight, out of mind for now. PRs welcome.


fix(cargo-shuttle): prompt for new port if port is taken

Description of change
cargo shuttle run panic when the default port i.e., 8000 was already in use.
This fix is checking that port 8000 is available or not?
If it finds 8000 free then it continues with earlier implementation but if it found the as not free then it is checking for available 2 consecutive ports using find_available_port function and find_available_port function returns the higher one. So that, rest of the implementation like runtime::start will work as expected.
runtime::start(
            service.is_wasm,
            Environment::Local,
            &format!("http://localhost:{provisioner_port}"),
            None,
            run_args.port - idx - 1,
            runtime_executable,
            service.workspace_path.as_path(),
        )

The ports range has been set as default port - 1 to  65535 i.e., 7999 to 65535
Closes #1259
How has this been tested? (if applicable)
Test performed by spawning multiple instances of shuttle one after another and all of them was able to run properly on newer ports.

Looking pretty good now!

👍🏻

Writing a test for this is probably a bit cumbersome. I want to do some manual testing when it's ready anyways.

👍🏻

In the mean time, you could take a look at the task of timing out the confirmation if there is no response within, say, 10 seconds. In that case, we could exit(1) actually.

Sure, but instead of exit(1) can we continue with suggested port?

Yeah, we can do that. We'll see what others think as well.

LGTM, thanks!

Thanks 😊, I'm trying for the timeout feature but that doesn't seems easy one, I'll be able to invest more time on weekend

I double checked, and we do need to send in services.len() so that it can check N adjacent port numbers.
So, if there is only one service, we do like we do now. If there are two, we need to check base and base+1. If any of those were taken, check base+10 and base+11 etc. Do you have time to work on this this week @BadgerBloke? I can jump in and help if needed.

Sure, I'll work and complete this port checking at least.

The timeout is not needed to complete this PR. I might take a look at it if I have time.

@BadgerBloke How is progress on this? We aim to get this into a release this week, so I might hop in and finish any remaining work unless you are already on it ;)

Yes @jonaro00 I'm on it and push the changes by today itself.

@jonaro00 I think just by adding && portpicker::is_free_tcp(port + 1) inside for loop we will be able to achieve that. Do we still have to use services.len().
Please let me know if I'm still missing something
if portpicker::is_free_tcp(port) && portpicker::is_free_tcp(port + 1) {
    available_port = port;
    break;
}

Checking port+1 would not be enough if N > 2.
Inside the loop that takes steps of 10, there needs to be an inner loop that checks if all N adjacent ports starting from 8000/8010/etc are free.
So, if there are 3 services, and port 8000 is taken, it checks ports 8010, 8011, and 8012 in the next loop iteration.
There can be issues with services not stopping and remaining open on port 8000. This is one of the reasons we are adding this feature.

Ok, i think now I got the point, let me make the adjustment

Some comments

Thanks, let me fix that

Nice job!
I tested it locally, and while it is not bulletproof yet, I think this is good for merging now.

Thanks 😊
I've noted the timeout feature, please let me know other points I'll look into that

We might not need it. For example, we could just make it take the new ports without asking, but print a warning about it instead.
Which one would you prefer as a user?
I will also ask what others think.

It sounds really good to me. There isn't much difference from UX point of view. In case do not want to run on suggested port then I can stop the started service. So, it's completely fine for me.
Just a rough comparision:

Ability
With Timeout ⏳
With Warning Print ⚠

Continue on Suggested port
After timeout
Immediately

Cancel the process on suggested port
Immediately
Hard close after starting ctrl + c

Start on custom specific port
after cancelling (immediately)*
after stopping the started service*

*provided we supports -p custom_port or --port custom_port arg

This was the idea behind it. Not strictly necessary ofc. https://github.com/shuttle-hq/shuttle/pull/1270#pullrequestreview-1641110064

Thank you so much guys 😍
It was a great learning for me


master-slave  (code=killed, signal=SEGV)

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[ ] 3.1
[x] 3.2
[ ] self-compiled devel branch

Mode:

[ ] Cluster
[x] Single-Server

Storage-Engine:

[ ] mmfiles
[x] rocksdb

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[x] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

After open the master-slave , Automatic restart slave database is infinite
arangodb3.service - ArangoDB database server
   Loaded: loaded (/usr/lib/systemd/system/arangodb3.service; enabled; vendor preset: disabled)
   Active: inactive (dead) (Result: signal) since 二 2017-12-12 10:01:58 CST; 1h 27min ago
  Process: 10272 ExecStart=/usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb3/arangod.pid --temp.path /var/tmp/arangodb3 --log.foreground-tty true (code=killed, signal=SEGV)

When the slave  start-up  Segmentation fault


Homepage redirect sometimes avoids preferred language.

Description
When attempting to access qgis.org I am sometimes redirected to https://qgis.org/es/site/ .
According to the Firefox inspection panel the request header has the language preference set to Accept-Language: en-GB,en;q=0.5 and https://www.iplocation.net/ correctly identifies by current IP as being in The Bahamas, an English speaking country. Repeating this in Chrome Incognito and Firefox private is now giving the correct response with similar headers, but given that I have never been in a Spanish speaking region with this computer and the bad redirect appears to be new why would the site ever send a HTTP/3 301 Moved Permanently redirect to the Spanish site when all request information has always pointed to an English speaking visitor?
Page URL: qgis.org

See also https://lists.osgeo.org/pipermail/qgis-developer/2023-September/066094.html and following messages.

I can confirm that this issue of random languages exists - actually since quite a while (can't tell exactly when) - but at least several years.

@andreasneumann , closed by mistake?

Yes, indeed - wanted to comment instead of closing.


Introduce Claim and Credential stores per context

- What I did
The new application store persists everything inside the docker config directory.
It initializes 3 stores

bundle store, common between contexts
claim stores, one per context
credential stores, one per context

- How to verify it
We can now re-use the same name on different contexts:
$ docker app install examples/hello-world/hello-world.dockerapp --name=hello --target-context=swarm
...
$ docker app install examples/hello-world/hello-world.dockerapp --name=hello --target-context=kubernetes
...
$ docker app install examples/hello-world/hello-world.dockerapp --name=hello --target-context=swarm
Error: installation "hello-world" already exists

- Description for the changelog

Add an Application Store, which can initialize a common bundle store, a claim store per context and a credential store per context.
Removed duffle home dependency

- A picture of a cute animal (not mandatory but encouraged)

PTAL @simonferquel

Fixed all your comments @simonferquel, and also renamed claim store to installation store. PTAL


Object inheritance

First of all I'd like to state that I'm not too familiar with S4 classes, but I am comfortable with R6.
Looking at the code, the show methods of the following objects are identical:

opAttributeNumeric,
opAttributeInteger,
opAttributeDate.

Could they inherit from an opAttributeSuper class, which implements this method, and any other identical methods?
If similar implementations exist elsewhere in the package I think this would significantly change code duplicity.

Hi @mvankessel-EMC thanks for your issue!
Yes this is probably the direction the package should go, I agree. The main focus of the v2.0.x was to overhaul the UI and ensure that the coercion from R to json worked correctly so people could create and generate cohorts. Focusing on that milestone we left decisions like this that you mention as "room for improvement" while we gauge how users engage with the package. We plan to do a v2.1.x release over the summer that works on print statements and fine-tunning the S4 classes. Your suggestion is something we will keep in mind for when we start to role that out.
That being said, feel free to start a PR to add this enhancement into Capr. We would definitely appreciate it! Ow we will get back to it in the summer 😎

First of all I'd like to state that I'm not too familiar with S4 classes, but I am comfortable with R6.
Looking at the code, the show methods of the following objects are identical:

opAttributeNumeric,
opAttributeInteger,
opAttributeDate.

Could they inherit from an opAttributeSuper class, which implements this method, and any other identical methods?
If similar implementations exist elsewhere in the package I think this would significantly change code duplicity.

These changes are pushed into Pull Request: #64:

Pull Request for issue: #63
opAttribute,- Numeric, Integer and Date now inherit from opAttributeSuper, which contains the show and as.list methods. methods::is() checks have been mildly altered, to accommodate this change.

devtools::check() is passing here. For commit: df23952d20e36e8424b9fcc0da531d2251c0ce96

closed by 2.0.3 release


Adding SDB path to the encryption context to provide an extra integrity check

Coverage decreased (-0.1%) to 55.826% when pulling 3f9eb279e416b52130e169b1935230d8c1e5302c on tlisonbee:highlander-itegrity-check into 52918966ea93468b9901d1eca21cf5ca9c45b524 on Nike-Inc:highlander.


Fails to build with RedistMaker

Output:
./RedistMaker

PrimeSense OpenNI Redist    *

2011-07-10 14:39:19       *

Taking version...
version is <IP_ADDRESS>
Building OpenNI...
../../../../../Samples/NiViewer/Device.cpp: In function ‘XnStatus openDeviceFromXmlWithChoice(const char_, xn::EnumerationErrors&)’:
../../../../../Samples/NiViewer/Device.cpp:252:22: warning: ignoring return value of ‘int scanf(const char_, ...)’, declared with attribute warn_unused_result
error CS0006: cannot find metadata file System.Windows.Forms.dll' make[1]: *** [../../../Bin/Release/SimpleViewer.net.exe] Error 1 make: *** [Samples/SimpleViewer.net] Error 2 make: Leaving directory/home/davisp/Kinect/OpenNI/Platform/Linux-x86/Build'

Building Failed!!

You need to install the complete mono framework as stated in the Readme.
It's not really optional at the moment. as stated.
This is fixed in the upcoming OpenNI 1.4 where you can skip the .net wrapper.
Ziv.

PrimeSense OpenNI Redist    *

2016-02-15 18:18:52       *

Target: Linux-x86
Version: <IP_ADDRESS>
../../../../../Samples/NiViewer/Device.cpp: In function ‘XnStatus openDeviceFromXmlWithChoice(const char*, xn::EnumerationErrors&)’:
../../../../../Samples/NiViewer/Device.cpp:251:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &chosen);
^
../../../../../Samples/SimpleViewer.net/MainWindow.cs(175,22): warning CS0414: The private field SimpleViewer.net.MainWindow.scriptNode' is assigned but its value is never used ../../../../../Samples/UserTracker.net/MainWindow.cs(385,22): warning CS0414: The private field UserTracker.net.MainWindow.scriptNode' is assigned but its value is never used

Creating Doxygen...
Warning: Tag SYMBOL_CACHE_SIZE' at line 330 of file Doxyfile has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" Warning: Tag SHOW_DIRECTORIES' at line 539 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag HTML_ALIGN_MEMBERS' at line 964 of file Doxyfile has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" Warning: Tag USE_INLINE_TREES' at line 1151 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Error: When enabling GENERATE_HTMLHELP the tree view (GENERATE_TREEVIEW) should be disabled. I'll do it for you.
Warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
Otherwise you run the risk that the wrong font is being used for dot generated graphs.
sh: 1: C:\Program Files\HTML Help Workshop\hhc.exe: not found
error: failed to run html help compiler on index.hhp
Creating Redist Dir...
Copying files to redist dir...
Samples: ['NiBackRecorder', 'NiSampleModule', 'SimpleRead.net', 'NiUserSelection', 'UserTracker.net', 'UserTracker.java', 'NiSimpleCreate', 'SimpleRead.java', 'NiViewer', 'NiSkeletonBenchmark', 'NiConvertXToONI', 'NiSimpleViewer', 'NiSimpleRead', 'SimpleViewer.net', 'NiRecordSynthetic', 'SimpleViewer.java', 'NiSimpleSkeleton', 'NiHandTracker', 'NiAudioSample', 'NiUserTracker', 'NiCRead']
Removing Read Only Attributes...
Fixing Files...
Creating Makefile...
Copying install script...
Building Samples in release configuration......
./MainWindow.cs(385,22): warning CS0414: The private field UserTracker.net.MainWindow.scriptNode' is assigned but its value is never used ./MainWindow.cs(175,22): warning CS0414: The private field SimpleViewer.net.MainWindow.scriptNode' is assigned but its value is never used
Device.cpp: In function ‘XnStatus openDeviceFromXmlWithChoice(const char*, xn::EnumerationErrors&)’:
Device.cpp:251:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &chosen);
^
Building Samples in debug configuration......
./MainWindow.cs(385,22): warning CS0414: The private field UserTracker.net.MainWindow.scriptNode' is assigned but its value is never used ./MainWindow.cs(175,22): warning CS0414: The private field SimpleViewer.net.MainWindow.scriptNode' is assigned but its value is never used
Creating tar......
Redist OpenNi Ended.   !!

unable to find the OpenNi-Bin-Dev-Linux-x64-v<IP_ADDRESS> to proceed further. How to resolve this error?

I am using Ubuntu 16.04 and ros kinectand I am getting the following ./Redistmaker while building the OpenNI package
I am following the tutorials of the link given below:
http://wiki.ros.org/Robots/evarobot/Tutorials/indigo/Kinect
The following is the error:

PrimeSense OpenNI Redist    *

2017-09-29 18:07:30       *

Target: Linux-x64
Version: <IP_ADDRESS>
Num of compile jobs: 8

Building OpenNI...
../../../../Source/OpenNI/XnRecorderImpl.cpp: In constructor ‘xn::RecorderImpl::RecorderImpl()’:
../../../../Source/OpenNI/XnRecorderImpl.cpp:51:18: warning: converting to non-pointer type ‘XN_FILE_HANDLE {aka int}’ from NULL [-Wconversion-null]
m_hRecorder(NULL)
^
../../../../Source/OpenNI/XnProfiling.cpp: In function ‘void* xnProfilingThread(XN_THREAD_PARAM)’:
../../../../Source/OpenNI/XnProfiling.cpp:90:168: warning: field width specifier ‘’ expects argument of type ‘int’, but argument 3 has type ‘XnSizeT {aka long unsigned int}’ [-Wformat=]
nReportChars += sprintf(csReport + nReportChars, "%-s %-5s %-6s %-9s %-7s\n", g_ProfilingData.nMaxSectionName, "TaskName", "Times", "% Time", "TotalTime", "AvgTime");
^
../../../../Source/OpenNI/XnProfiling.cpp:91:168: warning: field width specifier ‘’ expects argument of type ‘int’, but argument 3 has type ‘XnSizeT {aka long unsigned int}’ [-Wformat=]
nReportChars += sprintf(csReport + nReportChars, "%-s %-5s %-6s %-9s %-7s\n", g_ProfilingData.nMaxSectionName, "========", "=====", "======", "=========", "=======");
^
../../../../Source/OpenNI/XnProfiling.cpp:108:95: warning: field width specifier ‘’ expects argument of type ‘int’, but argument 3 has type ‘XnSizeT {aka long unsigned int}’ [-Wformat=]
pSection->csName, pSection->nTimesExecuted, dCPUPercentage, pSection->nTotalTime, nAvgTime);
^
../../../../Source/OpenNI/XnProfiling.cpp:121:90: warning: field width specifier ‘’ expects argument of type ‘int’, but argument 3 has type ‘XnSizeT {aka long unsigned int}’ [-Wformat=]
g_ProfilingData.nMaxSectionName, "*** Total *", "-", dCPUPercentage, nTotalTime, "-");
^
../../../../Source/OpenNI/XnPlayerImpl.cpp: In constructor ‘xn::PlayerImpl::PlayerImpl()’:
../../../../Source/OpenNI/XnPlayerImpl.cpp:71:33: warning: converting to non-pointer type ‘XN_FILE_HANDLE {aka int}’ from NULL [-Wconversion-null]
m_bPlaybackThreadShutdown(FALSE)
^
/bin/sh: 1: javac: not found
make[1]: *** [../../../Bin/x64-Release/org.OpenNI.jar] Error 127
make: *** [Wrappers/OpenNI.java] Error 2
make: *** Waiting for unfinished jobs....
../../../../../Samples/NiViewer/Device.cpp: In function ‘XnStatus openDeviceFromXmlWithChoice(const char, xn::EnumerationErrors&)’:
../../../../../Samples/NiViewer/Device.cpp:252:22: warning: ignoring return value of ‘int scanf(const char, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &chosen);
^
failed to execute: make  -j8 -C /home/dhagash/OpenNI/Platform/Linux/CreateRedist/../Build > /home/dhagash/OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
Building Failed!

Anyone please help

charishnaidu I get exactly the same error as you. Did you ever figure out how to solve this?

I'm getting the similar error. It's in the file attached. Can someone help me out?
kinect_error.txt
kinect_error.txt

I am also facing the same issue. Can you please let us know if anyone of you (@thisisaggarwal, @apostrophedottilde, @charishnaidu, @shiv248, @welkerCode, @Dhagash4 ) has known how to fix it?
Thanks in advance.

I resolved this issue by installing an older version of GCC on Ubuntu 18.04.
https://askubuntu.com/questions/26498/how-to-choose-the-default-gcc-and-g-version
I ended up with gcc-4.8, gcc-6 and gcc-7 in sudo update-alternatives --config gcc, chose 4.8 and rebuilt successfully.

What I did on Ubuntu 18.04:

Install Mono - the opensource .Net implemenation
sudo apt-get install mono-complete

You need to build the code with an older gcc and g++

sudo apt install gcc-4.8 g++-4.8
sudo apt install clang-3.8 clang-3.9 clang-4.0

Make gcc  4.8 and g++ 4.8 your default compilers. You can revert this by setting a higher priority value for gcc-7 and g++-7

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20

Add alias clang++="clang++-3.5" to your .bashrc file in your home directory. Be careful not to replace everything
echo "alias clang++=\"clang++-3.5\"" >> .bashrc

export to your termina:
export CXX=clang++ yaourt -S openni


Switch to UWP

So we've been mulling over the idea of switching to UWP for a little while, but since Gitter is kind of hit or miss, I figured I'd just make an issue for it to have more long form discussion.
The primary issues with switching to UWP are:

Sideloading apps is disabled by default
No global hotkeys

The former I think we can solve by actually just submitting it to the store. We'll have greater discovery than we do now and no installer/updater to maintain, both pros.
The second can be addressed a couple ways:

We can provide a tiny app for the inclined to install that just invokes the app url from the global hotkey.
We can provide Cortana integration to allow you to say or even just type "gif tag". This still requires exploration to see if we could get as far as copying it, but at minimum we can open the UI with the search already complete which is not significantly worse to what we have now step-wise.

The advantages to moving to UWP are significant at this stage. A guiding principal in starting this was to have some wonderful Windows software. UWP is fast and provides a ridiculously easy way to add themed animations. We gain the ability to simply sync your library with your MS account providing a no-effort roaming experience. With Fluent Design coming, we gain the ability to use the new Windows design language without trying to re-implement it all in WPF.
I intend to start an experimental branch to explore what's possible with this and what it might look like.

Totally agree on all these points.
The Cortana integration sounds nice, and I agree it's not much worse than what we have now in terms of discoverability.
Fluent is beautiful and I want it on everything, so, yes.
Also, I just saw https://github.com/Microsoft/WindowsTemplateStudio/ which might be helpful.

So I hacked on this a bit today in the https://github.com/bojanrajkovic/GifWin/tree/uwp-bojan branch.
Things implemented:

A UI concept
Kind of made the database work?

I still can't get it to load my actual shipped copy of the database (I put it in the project, marked it as content, set it to copy output, but it doesn't actually open it? I have no idea where it's opening files from), but things kinda work.
It looks like this:

Apparently the answer to my SQLite questions is http://stackoverflow.com/questions/38036834/how-to-use-pre-designed-sqlite-in-uwp-project.

So, the uwp-bojan branch is almost feature-compatible, aside from the ones that don't make sense in UWP. Here's what I've got so far:

GIF viewing
Filtering by tag
Adding GIFs
Local cache building for faster loading
Copy URL to clipboard
Copy image to clipboard (NEW, only gets first frame, sadly)
Delete (NEW)
Whole new lightweight database layer, including lightweight migrations
Service container for plumbing through services (logging, clipboard, etc.)
Lots of helper code

Things I don't got:

GifWit import
Global hotkey (nonsensical)
Squirrel auto-update (nonsensical)

@ermau To move some discussion here, I think I wnated to do just basic filtering by tag first and then tackle search--what would probably make sense is to use an autocomplete combo or something like that that's pre-populated with tag names but also allows freeform searching.
The latter would probably be more useful w/ some sort of Lucene index or something allowing for operator-driven searches, so you could say things like: lastUsed:>2017-07-01 and useCount:>1.


fixing testnet character commitment blockhash

Hello I have 13000 dollars stuck on stealth pay.com in usd and i have no
idea how to decrypt and withdraw the funds pleasse help me.
On Sun, Apr 25, 2021, 1:44 AM StealthSend @.***> wrote:

Merged #20 https://github.com/StealthSend/Stealth/pull/20 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/StealthSend/Stealth/pull/20#event-4640807598, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJ3WKZYZZUBVTHMQYF6GTDTKO24NANCNFSM43Q6OJNA
.

StealthPay is a third party service (not the coin developers). You have to contact them. That website has a contact form.


HueBot sample: Skype bot cannot connect to the service using skype

I followed instructions for registering a bot (https://docs.microsoft.com/en-us/bot-framework/portal-register-bot) and deploying a real-time audio-video bot (https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-real-time-deploy-visual-studio) to run the HueBot sample (https://github.com/Microsoft/BotBuilder-RealTimeMediaCalling/tree/master/Samples/HueBot).
But after my bot was added to my skype contacts I cannot make a video call to my bot. I always get a response like here: "You can't talk to this bot just yet. But we are working on it." And at the bot framework dashboard, I have the issues: "There was an error completing this request due to an internal channel failure."
I connected the Visual Studio 2017 debugger to the published job worker and saw that the controller didn't receive any requests.
Bot configuration:
Messaging endpoint: https://dataartskypebots.cloudapp.net
App ID: bf0f99b0-1836-4548-b1c6-6540ee25d191
Enable messaging: Yes;
Enable autoplay of media cards: Yes;
Enable calling: Yes;
Real Time Media: Yes;
Video (Audio alway enabled): Yes;
Screen sharing: Yes;
Webhook (for calling): https://dataartskypebots.cloudapp.net/api/calling/call
Enable adding to group: Yes;
Could you help me what is incorrect in the bot configuration or maybe you have any other recommendations?

Huebot does not have a controller for messages. I will update the sample to include this controller soon. Meanwhile could you add one? You can use the "Test" tab in the bot registration's right corner to send a message and verify that the bot received the message. This will valid the authentication works. Could you also check if the instance is up and running in Azure?

You might want to upgrade to BotBuilder nuget v3.8.1 per https://github.com/Microsoft/BotBuilder/issues/2770

As you suggested me, I upgraded the BotBuilder nuget to v3.8.1 and added a controller for messages. I got it "as is" from the Bot template for Visual Studio (see https://docs.microsoft.com/en-us/bot-framework/resources-tools-downloads). This is like a simple echo service.
I can communicate with my bot using Bot Framework Channel Emulator and debug this process using Visual Studio 2017. The emulator uses this url: https://dataartskypebots.cloudapp.net/api/messages.
I also can send a request for connection using the url for CallController: https://dataartskypebots.cloudapp.net/api/calling/call. The emulator doesn't support calls but at least the request is received by the CallController.OnIncomingCall method and I can see this using debugger.
But using "Test" tab I still have the error message: "There was an error sending this message to your bot." When I use Skype - my bot doesn't receive messages and calls at all.
Any additional ideas?

I updated Huebot with the MessagesController and updated the nuget packages as well. Could you try with the latest bits. Also please verify the following

The following lines in app.config of worker role have been replaced with appropriate values

the instance is up and running in Azure
the "test" tab in the registration portal should not throw an error message now.

Were you able to get this sample working?  It's quite painful to deploy.

First of all, thank you for your assistance.
We have troubles to run your project "as is" because you uses Microsoft Azure Tools 2.8 that isn't supported by VS 2017. And when we open your solution we have to convert the project to Microsoft Azure Tools 2.9.  After that, we have to make several manual changes because of the solution loses some dependencies. But we now in progress of running your solution.
Will keep you updated.

Yes, that's true. I had that issue as well and I couldn't even downgrade the Azure tool version on the VS 2015 I'm using.
I was able to deploy the sample to the Azure Cloud by commenting those config setting related to Certificate. However, doing that causes the WorkerRole instance not functioning. It's always recycling or on busy/restarting, but that I think is the only way to get it deployed (if you don't have a certificate yet.)  I manage to have the WorkerRole instance in Running status by un-commenting and putting the correct values on the certificate and serviceDnsName. Yey!  I uses the certificate thumbprint that was created after the deployment of the sample app. I don't know if I'm on the right path of doing that and using that certificate coz it seems that the service is happily running.
Having that fixed and corrected and running,  the issue that still exist, skype cannot make calls to the bot.
"You can't talk to this bot just yet. But we are working on it." :-(
Hope you guys has information on how to resolve this or what i'm doing wrong.

@RomanMolchanov2017 We are working on converting to Azure SDK 2.9 and .NET 4.6.2. Just didn't have enough time before BUILD. You had mentioned that "we have to make several manual changes because of the solution loses some dependencies". Could you please elaborate on that?
@gfclaveria Certificate is a must. Without the certificate it will not be able to talk to any of our services. Did you change app.config in workerrole? In the Bot registration portal, could you use the 'Test' button to send a test message and see if that works.

When VS 2017 converts your HueBot solution to the format that can be supported by Microsoft Azure Tools 2.9 it loses references to several libraries (Microsoft.WindowsAzure.Diagnostics.dll, Microsoft.WindowsAzure.ServiceRuntime.dll). But this fix isn't enough. We still couldn't publish your solution to Azure because during the publish process we have the error:
Unhandled Exception: It is likely that certificate 'CN=huebot2017.cloudapp.net' may not have a private key that is capable of key exchange or the process may not have access rights for the private key.
Please see inner exception for detail.
Inner Exception: Invalid provider type specified.
We created the certificate by following this document: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-certs-create
Now we still looking for a solution.
By the way, before we opened this issue, we load HueBot solution and just fully recreated it from scratch, using NET Framework 4.6.2 and  Microsoft Azure Tools 2.9.
We also made corrections to InstallNETFX.cmd and deployed the project to Azure using NET Framework 4.6.2. And this version of service was deployed successful but we still have problems with Skype communication, including Bots' dashboard.

@RomanMolchanov2017 Are you creating a self-signed certificate? We do need a certificate from trusted CA. Once you have the certificate with private key (.pfx) certificate, you should be able to upload them to Azure cloud service. Look at the "How to: Upload a certificate for a cloud service" section here: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-how-to-create-deploy. Thanks for letting us know. I will update the documentation with this information. Please let me know if run into any other issues.

Yes, you are right. We use a self-signed certificate with the private key (.pfx) and we've already uploaded it to Azure using the instruction you pointed to.
Just to clarify.
We want to test this library for conforming our needs. Am I right that you would like us to create a certificate from trusted CA for this?

@RomanMolchanov2017 Yes. A trusted Cert is needed. WildCard certs are not supported and the SN or last entry in SAN should match cloud service name (xxx.cloudapp.net)..

Thank you for clarifying.

@MalarGit Hi, Any idea or recommendation/suggestion to were we could get that kind of trusted certificated?
I've tried to find websites(certificate authorities) to which I can acquire free dns/ssl certificate for let say "xxx.cloudapp.net", just testing purposes but couldn't get one.  Most of the ones that I found have changed their policies regarding giving these kind of certificate.. they require that you have access the admin email address  (e.g<EMAIL_ADDRESS>or<EMAIL_ADDRESS>for verification code they will send before they create the certificate.
Thanks,

@gerrosc I was pointed to this website https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-purchase-ssl-web-site. Looks like you can get the first few for free. I have not tried this out yet. But I plan to try in the next few days. Thanks

@MalarGit Thank you! :-)

We've bought the certificate and now the skype can connect to our HueBot service. We've added the MessageController and message exchange works well. But the CallController still doesn't work. It can receive incoming requests from the skype but after that, we have issues like 'RealTimeMediaCallingConversation: System.ArgumentException: Empty Actions List not allowed' and 'RiffAudioContainer.ParseFormatChunk: nonstandard audio header encountered. Extra bytes length bytes missing'.
Below attached logs' snapshot of calling session when the skype tries to call our HueBot service. We think it can be useful for you to localize the problem:
HueBotSkypeCallLogs.txt
Any idea or recommendation/suggestion?

In the ServiceDnsName in the .cscfg have you used skypebot.dataart.com? we are trying to reach skypebot.dataart.com:20100 and the connection is refused. Could you try changing to dataartskypebots.cloudapp.net? Also what is the SN of the cert?

We created certificate 'skypebot.dataart.com'. As the DNS name of our cloud service is 'http://dataartskypebots.cloudapp.net/' we also created CNAME DNS record skypebot.dataart.com -> dataartskypebots.cloudapp.net.
When we tried to use 'skypebot.dataart.com' as ServiceDnsName in the .cscfg during deployment to Azure, we had the error: "Unhandled Exception: No such host is known". Therefore we changed the ServiceDnsName in the .cscfg back to 'dataartskypebots.cloudapp.net'. We also made following changes in the AzureConfiguration class: for creating CallControlCallbackUrl, NotificationCallbackUrl and MediaPlatformInstanceSettings.ServiceFqdn we used 'skypebot.dataart.com' instead of 'dataartskypebots.cloudapp.net'. At the bot's dashboard we defined following URLs:
Messaging endpoint:
https://skypebot.dataart.com/api/messages
Webhook (For calling):
https://skypebot.dataart.com/api/calling/call
Enable calling, Real Time Media, Video (Audio always enabled), Screen sharing.
Now, we changed MediaPlatformInstanceSettings.ServiceFqdn back to 'dataartskypebots.cloudapp.net' as you requested, but we still have CallControlCallbackUrl and NotificationCallbackUrl defined with 'skypebot.dataart.com'.
Please, try to reach skypebot.dataart.com:20100 now.

This was the error - The expected DNS identity of the remote endpoint was 'skypebot.dataart.com' but the remote endpoint provided DNS claim 'www.skypebot.dataart.com'. Was 'www.skypebot.dataart.com' the  SubjectName of your cert? Could you try setting MediaPlatformInstanceSettings.ServiceFqdn as 'www.skypebot.dataart.com' to see if that fixes the problem?
As far as Unhandled Exception: No such host is known, the same config was used for resolving public ip and for callback urls. I will split the config and checkin a fix soon. Thanks.

We changed MediaPlatformInstanceSettings.ServiceFqdn to 'www.skypebot.dataart.com' but that didn't resolve the problem.
Let's summarize the full stack configuration to define what is inconsistent:
SubjectName of our certificate: 'skypebot.dataart.com' (not 'www.skypebot.dataart.com');
DNS name of our cloud service is 'dataartskypebots.cloudapp.net';
We created CNAME DNS record skypebot.dataart.com -> dataartskypebots.cloudapp.net.
Public IP address dataartskypebots cloud service at Azure dashboard: <IP_ADDRESS>
nslookup skypebot.dataart.com
Server:  UnKnown
Address:  2001:67c:438:11::15
Non-authoritative answer:
Name:    dataartskypebots.cloudapp.net
Address:  <IP_ADDRESS>
Aliases:  skypebot.dataart.com
At the bot's dashboard we have following configuration:
Messaging endpoint: https://skypebot.dataart.com/api/messages
Webhook (For calling): https://skypebot.dataart.com/api/calling/call
Enable calling, Real Time Media, Video (Audio always enabled), Screen sharing
In the configuration of the service we have ServiceDnsName -> dataartskypebots.cloudapp.net
DefaultCallControlEndpoint -> Internal=https://<IP_ADDRESS>:9440, PublicPort=443
InstanceMediaControlEndpoint -> Internal=https://<IP_ADDRESS>:8445, PublicPort=20100
CallControlCallbackUri -> https://skypebot.dataart.com:10100/api/calling/callback/
NotificationCallbackUrl -> https://skypebot.dataart.com:10100/api/calling/notification/
Call control listening Uri -> https://<IP_ADDRESS>:10100/
Call control listening Uri -> https://<IP_ADDRESS>:9440/
ServiceDnsName -> dataartskypebots.cloudapp.net
ServiceDnsAlias -> skypebot.dataart.com
Cloud Service Public IPAddress -> <IP_ADDRESS>
Media Platform Instance Internal Port -> 8445
Media Platform Instance Public Port -> 20100
Media Platform Instance Public IPAddress -> <IP_ADDRESS>
Service FQDN -> skypebot.dataart.com (we also tried these: www.skypebot.dataart.com, dataartskypebots.cloudapp.net)
MicrosoftAppId -> bf0f99b0-1836-4548-b1c6-6540ee25d191
mpUri -> net.tcp://skypebot.dataart.com:20100/MediaProcessor
New log of one skype call that includes trace of service configuration is attached.
HueBotSkypeCallLogs24052017.txt

The settings look right.. Could you check if the last entry in the SAN is www.skypebot.dataart.com?

Yes, you're right. Our certificate has CN=skypebot.dataart.com and SAN =skypebot.dataart.com and www.skypebot.dataart.com.

Apart from modifying the MediaPlatformInstanceSettings.ServiceFqdn to 'www.skypebot.dataart.com', could you also change the CNAME to  www.skypebot.dataart.com -> dataartskypebots.cloudapp.net? I will update the documentation to reflect that the last entry in SAN takes precedence. Thanks Roman

Thank you for assistance Malar.
The last configuration changes allowed the bot to receive calls from Skype.
When I make a call to HueBot it works as expected, without any troubles with echo and video.
But now we have several issues:
HueBot can't participate in Skype group video calls with multiple participants.
We tested several cases:

When HueBot is added to the group video call we don't see any video in the HueBot area but have horrible echo during conversation.
When I create one-to-one Skype call to the HueBot and it answers my call, I add an additional participant to the conversation. Right after that, the HueBot leaves the conversation.

Nobody except me, from the group video call participants, can make the call to the HueBot, even in the one-to-one call mode. In this case, HueBot doesn't loopback user's video input, but it looks like it loopbacks audio as we have the same horrible echo and a black screen.

The HueBot was not intended to be used in group conversations, which is why it cannot see the video of any of the participants. Furthermore, bots do not support changing a 1:1 call with them into a group conversation: they will be removed from the conversation.
But more important to note is that at this time we cannot support calling bots in Skype group conversations, as the appropriate privacy controls are not yet ready in the clients. For now, only 1:1 calling bots may be developed.
Stephen Sulzer [MSFT]

Thank you for the explanation, Stephen.
Do you have any preliminary estimation when you are going to implement following functionality:
Real-time media calling with Skype

...
A real-time media bot may also participate in Skype group video calls with multiple participants.
...
When joined to a multiparty Skype group video call, the real-time media bot can support receiving multiple main video streams simultaneously. This allows the bot to "see" more than one participant in the group video call.
...
When joined to a Skype group video call consisting of multiple participants, the bot can identify which participants are currently speaking. Active speakers identify which participants are being heard in each received audio frame. Dominant speakers identify which participants are currently most active (or "dominant") in the group conversation, even though their voice may not be heard in every audio frame. The set of dominant speakers can change as different participants take turns speaking.

Thanks,
Roman.

It looks like if the issue is closed you don't answer questions. We reopen the issue just because we'd like to have the answer to our question.
Thanks,
Roman.

Roman, The feature has been disabled for privacy reasons. It will be back up once we implement the appropriate privacy controls. We don't have an timeframe yet. We will remove that documentation and MeetingScreenShots sample till then.

Thank you for the reply. It's also very important information for us.

@RomanMolchanov2017 Did you huebot works? I followed the instructions but when i call my bot it closes after 11 seconds.
I dont know if its because of my ServiceFQDN.
Also do I have to configure the ports in my solution?

@productivitySTK
Could you provide more details on your bot? Do you have a valid certificate from a trusted CA. Is the messaging working fine? bot fqdn etc.
P.S.
Closed issues are not looked at. Could you please reopen/open as a new issue next time? Thanks

Looks like a new issue was created already. Closing this one.


Streaming PlayMode tests break on Unity 2017.4 because there is no audio listener in the test scene

Describe the issue
Can_Stream_Video_With_Valid_Production_Token and Can_Stream_Video_With_Valid_Token integration tests break on Unity 2017.4.16f1 because there are no audio listeners in the test scene
Steps to reproduce the problem
Run the PlayMode tests on Unity 2017.4.16f1 + Windows 10
Unity version
Unity 2017.4.16f1
Operating system
Windows 10 Pro

Solved in https://github.com/vimeo/vimeo-unity-sdk/pull/80


LINQ requests in Debug console

Environment data
.NET Command Line Tools (2.0.0)
Product Information:
Version:            2.0.0
Commit SHA-1 hash:  cdcd1928c9
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.12
OS Platform: Darwin
RID:         osx.10.12-x64
Base Path:   /usr/local/share/dotnet/sdk/2.0.0/
Microsoft .NET Core Shared Framework Host
Version  : 2.0.0
Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
VS Code version:
C# Extension version:1.12.0
Steps to reproduce
When i trying to use LINQ requests in Debug console
I always get Expression not supported.
destroyingItems.Select(i=>i.falling)
Expected  behavior
Return the value of the LINQ request
Actual behavior
Evaluate request failed (Expression not supported.).

@dps999 Can you tell me more about the type of destroyingItems? (ex: is it List, a database enumerator, etc).

Also - is that the exact error message? I can't seem to find anything in the code that would return it.

Thank you for answer.
I took another example:
My breakpoint inside the loop. destroyItems is List

What i got when i trying to examine this with LINQ requests

What OS are you on?
Do you have a project you can share?
If not --

Is your Item class a plain-old-object, or is it something special (ex: something coming from a database)?
I am assuming these work correctly for you if you add them to your program?

@dps999 I just realized why you have a bunch of error strings that I can't find anywhere. Are you by chance debugging code under mono? (If you don't know, what is type set to in your launch.json)

Thank you for answer. I working in Unity and it looks like the problem related to it. I tried the console c# project haven't this problem and works fine. I also discovered the Unity has the same issue in Visual studio for mac.
Thank you for help!


Some changes which I think I find difficult to understand

Description
Some changes which I think I find difficult to understand
Changes in Documentation

[ ] Documentation (updates to the documentation or readme)

Thanks!
The docs should be improved in v2, feel free to check it out early using the v2.0.0 branch.
NOTE: As its a major version their are breaking changes.


TypeScript option --exactOptionalPropertyTypes is not supported

Current Behavior 😯
Trying to compile (TypeScript) any example from the section about the Autocomplete component fails with type errors like:

It is obviously not absolutely necessary to be able to use that option, but it would be nice if it worked. Otherwise it should probably be well documented, that you can not use --exactOptionalPropertyTypes with MUI.
Your Environment 🌎

@mui/envinfo
System:
OS: Windows 10 10.0.19043
Binaries:
Node: 16.5.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 7.19.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.19041.1023.0), Chromium (94.0.992.31)
npmPackages:
@emotion/react: ^11.4.1 => 11.4.1
@emotion/styled: ^11.3.0 => 11.3.0
@mui/core:  5.0.0-alpha.49
@mui/icons-material: ^5.0.1 => 5.0.1
@mui/material: ^5.0.2 => 5.0.2
@mui/private-theming:  5.0.1
@mui/styled-engine:  5.0.1
@mui/styles: ^5.0.1 => 5.0.1
@mui/system:  5.0.2
@mui/types:  7.0.0
@mui/utils:  5.0.1
@types/react: ^17.0.26 => 17.0.26
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
typescript: ^4.4.3 => 4.4.3
tsconfig.json
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"exactOptionalPropertyTypes": true,
"noImplicitOverride": true,
"useUnknownInCatchVariables": true
},
"include": ["src"]
}

I can confirm that I am experiencing this issue as well. In fact, when using these tsconfig.json rules, Autocomplete.d.ts gives the following error on line 63 (AutoCompleteProps):
Interface 'AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent>' incorrectly extends interface 'Omit<HTMLAttributes<HTMLDivElement>, "children" | "classes" | "defaultValue" | "onChange"> & StyledComponentProps<never> & { ref?: Ref<unknown>; className?: string; style?: CSSProperties; }'.
  Type 'AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent>' is not assignable to type '{ ref?: Ref<unknown>; className?: string; style?: CSSProperties; }'.
    Types of property 'style' are incompatible.
      Type 'CSSProperties | undefined' is not assignable to type 'CSSProperties'.
        Type 'undefined' is not assignable to type 'Properties<string | number, string & {}>'.

The problem here is two-fold:

The params object does not define variant, which is required.
The package defines the className?: string while React defined it as className?: string | undefined

The second one is where the main issue is. The first is trivially solved by adding a variant param manually.

I think the issue with exactOptionalPropertyTypes isn't that easy here.
See this TextField variant property
The default variant "outlined" is encoded as optional property. First it might appears rational, but its not quite. If you want to create a custom component that passes through some of the TextFieldProps and evtl has some other defaults (inkl. for variant), you have to do weird "remapping" to undefined even without exactOptionalPropertyTypes enabled. With exactOptionalPropertyTypes enabled, you can't spread props, you need to filter it out because you can't pass explicitly "undefined".
If a library wants to maintain its "functionality", but be compatible with exactOptionalPropertyTypes, it should be explicit:
// instead of
type X1 = {
  variant?: "B" // default = "A"
}
// it should be either
type X2 = {
  variant?: "B" | undefined
}
// or
type X3 = {
  variant?: "A" | "B"
}

Option X3 has though the downside of having 3 values for actually 2 variants. The X2 seems more clean.

A different failing use case is PaginationItem being incompatible with PaginationRenderItemParams:
import { Pagination, PaginationItem } from "@mui/material";
import * as React from "react";

export const Test: React.FC = () => (
  <Pagination renderItem={(params) => <PaginationItem {...params} />} />
);

No overload matches this call.
  Overload 1 of 2, '(props: { component: ElementType<any>; } & { classes?: Partial<PaginationItemClasses>; color?: "primary" | "secondary" | "standard"; components?: { ...; }; ... 7 more ...; variant?: "text" | "outlined"; } & CommonProps & Omit<...>): Element', gave the following error.
    Property 'component' is missing in type '{ color: "primary" | "secondary" | "standard" | undefined; shape: "circular" | "rounded" | undefined; size: "small" | "medium" | "large" | undefined; variant: "text" | "outlined" | undefined; ... 4 more ...; disabled: boolean; }' but required in type '{ component: ElementType<any>; }'.
  Overload 2 of 2, '(props: DefaultComponentProps<PaginationItemTypeMap<{}, "div">>): Element', gave the following error.
    Type '{ color: "primary" | "secondary" | "standard" | undefined; shape: "circular" | "rounded" | undefined; size: "small" | "medium" | "large" | undefined; variant: "text" | "outlined" | undefined; ... 4 more ...; disabled: boolean; }' is not assignable to type '{ classes?: Partial<PaginationItemClasses>; color?: "primary" | "secondary" | "standard"; components?: { first?: ElementType<any>; last?: ElementType<...>; next?: ElementType<...>; previous?: ElementType<...>; }; ... 7 more ...; variant?: "text" | "outlined"; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
      Types of property 'color' are incompatible.
        Type '"primary" | "secondary" | "standard" | undefined' is not assignable to type '"primary" | "secondary" | "standard"'.
          Type 'undefined' is not assignable to type '"primary" | "secondary" | "standard"'.

IMO this case is quite different (and more easily solved), but I was asked to move the description here from #33700, so I did.


Swap nodes

Hey, thanks for this plugin! I'm coming from https://github.com/ziontee113/syntax-tree-surfer which is unmaintained. This is the exact replacement I was looking for!
It would be amazing if your plugin would have the ability to move/swap nodes on the same level like syntax-tree-surfer could. For example, to swap list items in markdown files, even if the list items are more than one line long and have nested content.
Totally ok if you aren't interested in this feature but I thought I'd put it out there.
Thanks again for this really awesome plugin!

Oh wow I sure am thinking about this a lot now! I mean, this thing does identify the nodes, it wouldn't be hard at all to swap them..

Closing as implemented in d09fbe7b10d39191ca4a62213517a758465d1b38 :)

Wow, this looks good, @aaronik!
I checked it out, tried it out, and it works well.
As you'll certainly infer by the tangent that follows though, I won't be using it much right away, I have a new need to address!
I'll take this opportunity to mention that I've kept up with checking out your humourous commits messages and I do read your code with great care (it's my first time reading through some Lua code with any sort of seriousness) and it's quite fun ;)
------------------------ >8 ------------------------
Something somewhere in my set-up doesn't quite support passing a physical <C-S-j> from my keyboard all the way down to Neovim through tmux, and for some reason, I'd never noticed it before? Anyhow, it's not tmux, and it's most definitely not Neovim... so, the terminal emulator?
I've been around the Internet a bit so I know all the cool people are running some sort of funky stuff there, and I managed to systematically go: "this is not a rabbit hole I need to explore right now"... Has the time come?
Just because you had the audacity to showcase your mappings and use that! How shall I justify to my family on Christmas day tomorrow that I need rather to check out all the terminal emulators in existence? Will you write me some sort of a doctor's note? ;)
Cheers!


AGPUSH-1305 : add an apns section to the push message API

Like we did for Windows, moving specific payload for iOS/Safari to its own section
@edewit @corinnekrych @cvasilak You mind to review ?

@sebastienblanc you'll need to update jaxrs/src/main/resources/rest/sender/100.json so that the old api doesn't break

@edewit Good catch ! But that means we need some tests for that since it did not break the build for me ;)

We decided that we would keep the old api usable and transform that to the new api so creating a test that would break if we modify the existing api would be hard as we also add new things.

@edewit Could you check the latest commit, it breaks the requestTransformer unit test, not sure why but it puts the "apns" section inside "message/user-data" instead of just "message/":
 RequestTransformerTest.shouldTransformSenderRequest:48 expected:<{"message":{"alert":"HELLO!","sound":"default","badge":2,"user-data":{"key":"value","key2":"other value"},"apns":{"content-available":true,"action-category":"some value"},"simple-push":"version=123"},"criteria":{"alias":["someUsername"],"deviceType":["someDevice"],"categories":["someCategories"],"variants":["someVariantIDs"]},"config":{"ttl":3600}}> but was:<{"message":{"alert":"HELLO!","sound":"default","badge":2,"user-data":{"key":"value","key2":"other value","apns":{"action-category":"some value","content-available":true}},"simple-push":"version=123"},"criteria":{"alias":["someUsername"],"deviceType":["someDevice"],"categories":["someCategories"],"variants":["someVariantIDs"]},"config":{"ttl":3600}}>

@sebastienblanc can we merge this ?

@matzew IMO yes

@matzew Hum, now I'm looking , let me handle https://issues.jboss.org/browse/AGPUSH-1259 also in this PR.

@sebastienblanc you mean AGPUSH-1304, right ?

@matzew correct :) sorry

landed on master :tada:

:tanabata_tree:


PromiseDelegate still requires an argument to resolve

It would be nice if this code worked:
let a = new PromiseDelegate<void>();
a.resolve();

Right now, it complains that a.resolve() is expecting a value.

There's no way to solve this with the current state of typescript. You would need to be able to overload classes based on generic type.


Add support for HEAD request

I need support for HEAD request.
I wanted to add com.despegar.http.client.HeadMethod to the http-java-native-client but the GitHub URL (https://github.com/despegar/http-java-native-client) does not exist.

Hi @seelmann, thanks for your comment.
You were right, http-java-native-client was private. Now is public and I've added HEAD method support and a new spark-test release (1.1.6) that includes this HEAD support.
Please test it, any comments will be welcome.
Regards.


Refresh/reset table

What are the thoughts on possibly adding a refresh/reset button under the table that when pressed restores the table to the original state. This is useful if a user makes several changes (50) to the data but decides they want the original back (using the undo button would take forever). The location of another button would be down next to the undo/redo/download/print buttons using the refresh symbol.

(could be placed in any order amongst those buttons)

Make sure that the refresh buttons are labeled for what section of the page they will be refreshing

Reset button for table fully functional and not reversible


Re-order README.md

Hold: To avoid conflicts, don't make this change until all of the operator PRs land
The Objects operators should come before Strings

Not sure what I was thinking. The order is good as-is.


ServerMiddlewareInterface::process leads to lesser strict type-hinting

A small micro-framework survey:
// Slim Framework Team: Slim
$app->get('/hello/{name}', function ($request, $response, $args) {…});

// Sensiolabs: Silex
$app->get('/hello/{name}', function ($name) use($app) {…});

// Laravel: Lumen
$app->get('user/{id}', function ($id) {…});

// Zend: Expressive
$app->get('/path', function (ServerRequestInterface $request, ResponseInterface $response, callable $next) {…});

All of them support anonymous functions. With ServerMiddlewareInterface::__invoke they may want to type-hint against callable at someday – with ServerMiddlewareInterface::process they will never be able to do – thus they must type-hint to mixed :unamused:
Moreover, the same applies to every single future framework/container, which wants to support anonymous functions as well.

They can accept whatever they like and that's not the PSR's problem.
Specifying ServerMiddlewareInterface::process does not prohibit a micro-framework from accepting callable (they could even accept [$someMiddleware, 'process']) or whatever else they want alongside instances of ServerMiddlewareInterface. This is an issue for their backend delegating logic.
The spec says their backend should provide a DelegateInterface instance to provide a response when asked to by a ServerMiddlewareInterface instance. There is no requirement for frameworks to only accept PSR-15 middleware objects. If they choose to accept callable as well, that is a design decision and an implementation detail for their delegate which the PSR is not interested in.
The PSR is only interested in making sure that any PSR-15 compliant middleware can be dropped into any PSR-15 delegate and work as expected, it is not interested in the mechanism by which that middleware is dropped in. Nor does it care if a framework wants to support its own middleware alongside PSR-15 middleware.

Sorry, I should have mentioned the README.md:

Why doesn't middleware use __invoke?
In addition, classes that define __invoke can be type hinted as callable, which results in less strict typing. This is generally undesirable, especially when the __invoke method uses strict typing.

In practice, and I hope I showed that above, it would lead to type-hinting against mixed which is much more undesirable than callable.

It's not at all fair to compare frameworks that are using the double-pass approach and then claim that this makes current type hinting situation worse.

I don't understand. What is the difference? I think the same applies to the single-pass approach.

None of them are based on PSR-15. It's comparing apples or oranges.

That is not fair either, PSR-15 targets all of these frameworks. But, okay if you need PSR-15 example:
https://github.com/mindplay-dk/middleman/blob/4bb528ac19c397d57da9465b1215db030ea1ca2a/src/Dispatcher.php#L36:
class Dispatcher implements MiddlewareInterface
{
    //…
    /**
     * @var mixed[] unresolved middleware stack
     */
    private $stack;
    /**
     * @param (callable|MiddlewareInterface|mixed)[] $stack middleware stack (with at least one middleware component)
     * …
     */
    public function __construct($stack, callable $resolver = null)

Even your array_map([$this, 'append'], $stack); trick does not help here: the $stack contains mixed middlewares, and the __construct must be type-hinted against mixed as well.
Even with splat:
// not possible:
public function __construct(callable $resolver, callable ...$stack)

equip/dispatch will only accept PSR-15 middleware. There's already a lot of it.

I'm a member of https://github.com/middlewares, I would be proud to rewrite them – furthermore we must already change the namespace sooner or later :grin:

I tripped over this, because I was working on my GreenOnion to support PSR-15+Generators and many things got really messy just because I have to type-check everything.
The current version is not perfect, and I do not claim that with ServerMiddlewareInterface::__invoke everything would be just fine, but callable will make many things easier, and would be more type-safe (type-checking is very error prone IMO)…
Why don't I write one of my beloved adapters? :wink:
It is only possible to write a GeneratorToPsr15Adapter, but because of PHP restrictions (no call/cc or similar), it is not possible to write a Psr15ToGeneratorAdapter :unamused:

For my GreenOnion project __invoke instead of process means (using phploc):

removing 67 lines of 163, i.e. 41%
reduced Cyclomatic Complexity of the whole class from 14.00 to 6.00
with the same semantic!

– Thus, at least for my project it would be tremendous.

For what it's worth, I agree with @atanvarno69 and @shadowhand — it is up to the middleware framework to decide whether or not it accepts callable middleware. We've got code in the develop branch of both Stratigility and Expressive now that accepts callables and then wraps them in an http-middleware proxy. (They also then wrap the $next argument in a proxy to allow it to be used as a delegate.) This approach works, and keeps type safety in the actual dispatcher, making that code simple and robust.
Your argument about the cyclomatic complexity makes no sense to me; it would make more sense if you could provide a diff demonstrating the code changes from implementation via process() vs implementation via __invoke(), and why the latter necessarily reduces LoC by 41%. I've found that when using callable type hints, I had to add code in order to handle edge cases (such as Class::method callables under PHP < 7, error handling to catch errors due to calling "middleware" with invalid signatures, etc.); as such, I'm highly skeptical. You indicate now that the changes were only due to changing the interface method names from process to __invoke, but, again, I really would need to see if this is due to the method chosen, or other design decisions — and you've not linked to any diffs to demonstrate.
So, what it comes down to is quite simply this: I'm really not sure why you are pushing so hard for using __invoke() in the interfaces, other than personal preference. We have demonstrated time and again reasons why it may not be ideal, ranging from making it possible for existing middleware and middleware frameworks to adapt, to type safety, to readability and code clarity, to edge cases with the language. _What exactly does defining _invoke() as the interface method improve?

Your argument about the cyclomatic complexity makes no sense to me;

I can very well imagine that. Zend\Stratigility\Next (using phploc):

438 lines for a single class
Cyclomatic Complexity of the whole class 48.00 (<10 is recommended)

Sorry @weierophinney, you made that too easy. I hope you have had good reasons to introduce that complexity, but I believe we do not agree about the point when software becomes a big ball of mud.

I really would need to see if this is due to the method chosen, or other design decisions.

Of course, it is a design decision to use callable/__invoke! It is the same decision all middleware frameworks made before PSR-15 – at least all I'm aware of. And it is the same decision you made at Created interfaces for describing middleware on 21. Jan 2015 because:

We added our MiddlewareInterface because several of our users insisted.

I'm really not sure why you are pushing so hard for using __invoke() in the interfaces, other than personal preference.

Of course, it is about my personal preference! I love clean code; I love reusable code; I love KISS!
To state it simple: I would love Middlewares wich are usable by their own! (E.g see https://github.com/http-interop/http-middleware/pull/39#issuecomment-263134031)

We have demonstrated time and again reasons why it may not be ideal, ranging from

making it possible for existing middleware and middleware frameworks to adapt
to type safety
to readability and code clarity
to edge cases with the language.

Do not get confused with callable. As long as we talk about __invoke only:

See #44, https://github.com/http-interop/http-middleware/pull/39#issuecomment-263134031 and many more - with__invoke we can reuse delegates everywhere, no Adapter needed! That would increase their acceptance, not decreases it.
See my comments above: non-__invoke interfaces leads to mixed instead of callable in practice, and you do the same at MiddlewarePipe::pipe
Are you kidding me?

public function process(RequestInterface $request, DelegateInterface $delegate)
{
    $response = $delegate->process($request);
    // vs.
    $response = $delegate($request);
}

I've already explained at https://github.com/http-interop/http-middleware/pull/24#issuecomment-261751261 and again at https://github.com/http-interop/http-middleware/issues/35#issue-191257563:

[the] current wording [delegate->process] … leads to a hard to grasp oddity:

the $delegate parameter is a delegate of the stack
and the middleware delegates the remaining computation to it

Thus, what a middleware essentially does is $delegate->delegateComputation(), and the first delegate means something quiet different than the second delegate :confused:

Sorry, which edge cases? I do not see much technical difference in DelegateInterface::proccess DelegateInterface::__invoke.

it is up to the middleware framework to decide whether or not it accepts callable middleware.

In the meantime, I've understood that point of view and I've stopped promoting that middleware frameworks MUST accept callable middlewares. But if they decide to implement PSR-15 side by side with their existing callable interfaces, then they must type-hint against mixed and they must manually type-check. And furthermore they must wrap their callable even if those have the same signature as process!

Making delegates callable without making middleware callable would allow people to implement both middleware and delegate interfaces in the same class, which is definitely not correct.
From where I sit, it looks like you are picking and choosing details (many already explained and refuted in the META document) that support your argument and ignoring all the others, @schnittstabil. If you still feel strongly and can present your argument concisely, you have the opportunity to do so during the review stage.

From where I sit, it looks like you are picking and choosing details (many already explained and refuted in the META document) that support your argument and ignoring all the others

As far as I can see, this issue thread is only about process vs __invoke of the ServerMiddlewareInterface. And the META only states:

Why doesn't middleware use __invoke?

Doing so would conflict with existing middleware that implements the double-pass approach and may want to implement the middleware interface.
In addition, classes that define __invoke can be type hinted as callable, which results in less strict typing.
This is generally undesirable, especially when the __invoke method uses strict typing.

#44 shows that 1. is a really bad idea and a PSR should not encourage to do that.
This issue thread shows that 2. is flawed, because process make the situation even worse.

is just an opinion I do not agree with – but I do not ignore it.

If you still feel strongly and can present your argument concisely

Yes, I still feel strongly about it and I've done my best to present my arguments concisely – refuting my arguments because they are not concisely enough or because I pick and choose those details which underpin my arguments would be just irrational. These arguments will neither become false nor vanish in thin air through that.

At this point I'm only skimming the discussions, as I've pretty arrived at the conclusion that you can argue more or less equally for/against both approaches - because they're both right, and both wrong, in different ways. The only way this debate could ever be settled to the satisfaction of those who argue in favor of one or the other, is if PHP had certain missing language features - such as type-hinted callables or generics.
In absence of the right language features to express the actual constraints, whatever we end up with will have pros and cons. I personally would lean more towards accepting the limitations of the language and use the closest thing available - rather than trying to shoehorn in type-safety, which comes at a cost of complexity, and largely ends up being run-time type-checks anyhow, but I can see it both ways.
I essentially don't really care anymore - the implications in terms of added complexity and overhead largely affect middleware-stacks only, and I'm of the mind that that's not the most important thing; the most important thing is implementation of middleware, and I can't see that working equally well either way.
My main interest is to see the PSR finalized soon, so I can finalize the projects I'm working on. I'm mostly happy with the important parts :-)

And before you claim again, I would ignore your arguments:

Making delegates callable without making middleware callable would allow people to implement both middleware and delegate interfaces in the same class, which is definitely not correct.

The inheritance hierarchy and interface were never created to prevent that – The opposite is the case, they provide definitions of methods which objects agree on in order to cooperate.
Preventing cooperation by the same name on purpose is just a irrational hack.

My main interest is to see the PSR finalized soon, so I can finalize the projects I'm working on.

Same holds for me. But I also see too much unnecessarily work (e.g. https://github.com/http-interop/http-middleware/pull/39#issuecomment-263134031), less acceptance and less innovative frameworks (https://github.com/http-interop/http-middleware/issues/37#issuecomment-263069310) in the future with process.


Add retry logic for new exception: ITunesConnectPotentialServerError

Sometimes you get a bad response from whatever API you're calling and it's not your fault. If you use handle_itc_response from TunesClient you can now pass flaky_api_call: true and it will auto-retry 3 times, with 10 second waits in-between.
This motivation came after reading #9859, I thought "gee whiz, this sure looks like flaky API if all you have to do is retry your upload script" So, let's do it 😜
Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
(https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)

1 year later we have https://github.com/fastlane/fastlane/issues/13832 and I think I figured out what is really going on - a data upload is failing in the background, causing this strange error message when you try to save the app. Will post updates in #13832.
But that raises the question: Does this logic actually work and help in some cases?


🐛 [Firestore] Snapshot.data not showing data occasionally

Bug report
Hello everyone, this is my first official app I am working on. I am a beginner in Flutter I would say so hopefully someone proves that and helps me out with this!
I have a FutureBuilder widget and when Flutter communicates with Firebase, it doesn't show the data. But, whenever I remove two fields I recently added out of the 6, it works and show the data. The fields to be removed are incomeTotal and expenseTotal
Steps to reproduce
##Read data function
  Stream<List<CardDetails>> readCards() => FirebaseFirestore.instance
      .collection('cards')
      .snapshots()
      .map((snapshot) => snapshot.docs
          .map((doc) => CardDetails.fromJson(doc.data()))
          .toList());

##Load data onto widget
StreamBuilder<List<CardDetails>>(
                                stream: readCards(),
                                builder: (context, snapshot) {
                                  if (!snapshot.hasData) {
                                    return const Center(
                                        child: CircularProgressIndicator());
                                  } else if (snapshot.hasError) {
                                    return const Text("error");
                                  } else if (snapshot.hasData &&
                                      snapshot.data!.isEmpty) {
                                    return Container(
                                      margin: const EdgeInsets.all(10),
                                      width: double.infinity,
                                      decoration: BoxDecoration(
                                          color:
                                              const Color.fromARGB(50, 0, 0, 0),
                                          borderRadius:
                                              BorderRadius.circular(20)),
                                      child: Transform.scale(
                                          scale: 1.5,
                                          child: Lottie.asset(
                                              "lib/images/space_animation.json")),
                                    );
                                  } else {
                                    final cards = snapshot.data!;
                                    if (cardIdOfficial == '') {
                                      WidgetsBinding.instance
                                          .addPostFrameCallback((_) {
                                        setState(() {
                                          cardIdOfficial = snapshot
                                              .data![_pageViewController
                                                  .initialPage]
                                              .id;
                                        });
                                      });
                                    }

                                    return PageView(
                                        padEnds: false,
                                        controller: _pageViewController,
                                        onPageChanged: (value) => {
                                              setState(() {
                                                cardIdOfficial =
                                                    snapshot.data![value].id;
                                              })
                                            },
                                        physics: const ClampingScrollPhysics(),
                                        children:
                                            cards.map(buildCards).toList());
                                  }
                                }),

##Model
class CardDetails {
  final String id;
  final String title;
  final double balance;
  final int cardDigits;
  final int incomeTotal;
  final int expenseTotal;

  CardDetails({
    required this.id,
    required this.title,
    required this.balance,
    required this.cardDigits,
    required this.incomeTotal,
    required this.expenseTotal,
  });

  Map<String, dynamic> toJson() => {
        'id': id,
        'title': title,
        'balance': balance,
        'cardDigits': cardDigits,
        'incomeTotal': incomeTotal,
        'expenseTotal': expenseTotal,
      };
  static CardDetails fromJson(Map<String, dynamic> json) => CardDetails(
      id: json['id'],
      title: json['title'],
      balance: json['balance'],
      cardDigits: json['cardDigits'],
      incomeTotal: json['incomeTotal'],
      expenseTotal: json['expenseTotal']);
}

What happens

What happens when I remove the two fields - What needs to happen

Additional context
Everything was fine until I added those two fields, when I remove them everything looks fine. What I also did was change the variable name to just income instead of incomeTotal and ran it again, it worked but then this happened again twice.

Flutter doctor
[✓] Flutter (Channel stable, 3.7.3, on macOS 11.6.3 20G415 darwin-arm64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1.3)
[✓] VS Code (version 1.74.2)
[✓] VS Code (version 1.64.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
---

Flutter dependencies
dependencies:
- cloud_firestore 4.3.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.5
- custom_refresh_indicator 2.0.1 [flutter]
- firebase_core 2.4.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- fluentui_icons 1.0.0 [flutter]
- fluentui_system_icons 1.1.190 [flutter]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_slidable 2.0.0 [flutter]
- gap 2.0.1 [flutter]
- google_fonts 3.0.1 [flutter http path_provider crypto]
- google_nav_bar 5.0.6 [flutter]
- grouped_list 5.1.2 [flutter]
- intl 0.18.0 [clock meta path]
- lottie 2.2.0 [archive flutter path vector_math]
- metaballs 1.4.2 [flutter]
- provider 6.0.5 [collection flutter nested]
- sizer 2.0.15 [universal_io flutter]
- smooth_page_indicator 1.0.0+2 [flutter]

@moabkr
The plugin just transmits data from Firebase to Flutter. Looking at the code sample and behavior you are seeing that too occasionally, it doesn't sound like a bug in the plugin, but could be a race condition. I suggest you to raise this question on support channels like StackOverflow to get a proper solution related to your code implementation.
Closing from here.


fix(deploy): deno

following up #880 and others.

I think I should split the PR for non deno related change.

I think I should split the PR for non deno related change.

#902


Fix type checking for Complex ndarray

This pull request updates type-checking for Complex ndarray in commpy.channels.awgn method.  Discussed in https://github.com/veeresht/CommPy/issues/19

Coverage remained the same at 54.271% when pulling d33dae5d7449a3e6a8e67bde3a4a65acd091099e on datlife:master into dc2553720e5f93e101681758c2ce7b5a7728254f on veeresht:master.

@datlife Thanks for the PR :+1:  Much appreciated.


Setting a PREFIXED ACL to absent has no effect

Expected Behavior
Setting a PREFIXED ACL to absent results in the removal of the ACL entry
Actual Behavior
The playbook runs AND reports that the ACL has been changed, but the ACL is NOT removed
Play to Reproduce the Problem
- hosts: localhost
  gather_facts: false
  vars:
    api_version: "2.3.0"
    security_protocol: "PLAINTEXT"
    zookeeper: "locahost:2181"
    bootstrap_servers: "localhost:9092"
    test_permissions:
      - "describe"
  tasks:
    - name: Set ACL
      vars:
        # set vars for each task
        topic_name: "test.topic.prefix"
        topic_users:
          - "test.topic.user"
      with_nested:
        - "{{topic_name}}"
        - "{{topic_users}}"
        - "{{test_permissions}}"
      kafka_lib:
        # common configuration items
        api_version: "{{api_version}}"
        security_protocol: "{{security_protocol}}"
        zookeeper: "{{zookeeper}}"
        bootstrap_servers: "{{bootstrap_servers}}"
        # task configuration items
        resource: "acl"
        acl_resource_type: "topic"
        name: "{{item.0}}"
        acl_principal: "User:CN={{item.1}}"
        acl_operation: "{{item.2}}"
        acl_permission: "allow"
        acl_pattern_type: "prefixed"
        state: "absent"

Logs from the play with Ansible in debug mode
ansible-playbook 2.8.5
  config file = None
  configured module search path = ['/Users/REDACTED/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.7.7 (default, Mar 10 2020, 15:43:33) [Clang 11.0.0 (clang-1<IP_ADDRESS>)]
No config file found; using defaults
setting up inventory plugins
host_list declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
Loading callback plugin default of type stdout, v2.0 from /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/plugins/callback/default.py

PLAYBOOK: create_acls.yml ***************************************************************************************************
Positional arguments: create_acls.yml
verbosity: 4
connection: smart
timeout: 10
become_method: sudo
tags: ('all',)
inventory: ('/etc/ansible/hosts',)
forks: 5
1 plays in create_acls.yml

PLAY [localhost] ************************************************************************************************************
META: ran handlers

TASK [Set ACL] **************************************************************************************************************
task path: /Users/REDACTED/data/work/mo/code/_workspace/msk/kafka/env-basic/create_acls.yml:12
<<IP_ADDRESS>> ESTABLISH LOCAL CONNECTION FOR USER: REDACTED
<<IP_ADDRESS>> EXEC /bin/sh -c 'echo ~REDACTED && sleep 0'
<<IP_ADDRESS>> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/REDACTED/.ansible/tmp/ansible-tmp-1595494951.0280828-163312069815174 `" && echo ansible-tmp-1595494951.0280828-163312069815174="` echo /Users/REDACTED/.ansible/tmp/ansible-tmp-1595494951.0280828-163312069815174 `" ) && sleep 0'
Using module file /Users/REDACTED/.ansible/plugins/modules/ansible-kafka-admin/library/kafka_lib.py
<<IP_ADDRESS>> PUT /Users/REDACTED/.ansible/tmp/ansible-local-29952c31bfrig/tmp8km79jpl TO /Users/REDACTED/.ansible/tmp/ansible-tmp-1595494951.0280828-163312069815174/AnsiballZ_kafka_lib.py
<<IP_ADDRESS>> EXEC /bin/sh -c 'chmod u+x /Users/REDACTED/.ansible/tmp/ansible-tmp-1595494951.0280828-163312069815174/ /Users/REDACTED/.ansible/tmp/ansible-tmp-1595494951.0280828-163312069815174/AnsiballZ_kafka_lib.py && sleep 0'
<<IP_ADDRESS>> EXEC /bin/sh -c '/usr/local/Cellar/ansible/2.8.5/libexec/bin/python3.7 /Users/REDACTED/.ansible/tmp/ansible-tmp-1595494951.0280828-163312069815174/AnsiballZ_kafka_lib.py && sleep 0'
<<IP_ADDRESS>> EXEC /bin/sh -c 'rm -f -r /Users/REDACTED/.ansible/tmp/ansible-tmp-1595494951.0280828-163312069815174/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=['test.topic.prefix', 'test.topic.user', 'describe']) => {
    "ansible_loop_var": "item",
    "changed": true,
    "invocation": {
        "module_args": {
            "acl_host": "*",
            "acl_operation": "describe",
            "acl_pattern_type": "prefixed",
            "acl_permission": "allow",
            "acl_principal": "User:CN=test.topic.user",
            "acl_resource_type": "topic",
            "api_version": "2.3.0",
            "bootstrap_servers": "localhost:9092",
            "name": "test.topic.prefix",
            "options": null,
            "partitions": 0,
            "replica_factor": 0,
            "resource": "acl",
            "sasl_kerberos_service_name": null,
            "sasl_mechanism": "PLAIN",
            "sasl_plain_password": null,
            "sasl_plain_username": null,
            "security_protocol": "PLAINTEXT",
            "ssl_cafile": null,
            "ssl_certfile": null,
            "ssl_check_hostname": true,
            "ssl_ciphers": null,
            "ssl_crlfile": null,
            "ssl_keyfile": null,
            "ssl_password": null,
            "ssl_supported_protocols": null,
            "state": "absent",
            "zookeeper": "locahost:2181",
            "zookeeper_auth_scheme": "digest",
            "zookeeper_auth_value": "",
            "zookeeper_max_retries": 5,
            "zookeeper_sleep_time": 5,
            "zookeeper_ssl_cafile": null,
            "zookeeper_ssl_certfile": null,
            "zookeeper_ssl_check_hostname": true,
            "zookeeper_ssl_keyfile": null,
            "zookeeper_ssl_password": null
        }
    },
    "item": [
        "test.topic.prefix",
        "test.topic.user",
        "describe"
    ],
    "msg": "acl 'test.topic.prefix': successfully deleted."
}
META: ran handlers
META: ran handlers

PLAY RECAP ******************************************************************************************************************
localhost                  : ok=1    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Result (no effect):
$ kafka-acls.sh --authorizer-properties zookeeper.connect=$zookeeper --list
Current ACLs for resource `Topic:PREFIXED:test.topic.prefix`:
 	User:CN=test.topic.user has Allow permission for operations: Describe from hosts: *

Specifications
- Library version: latest
- Result of `pip list` command:
    kafka-python                 1.4.4
    kazoo                        2.6.1
    pure-sasl                    0.5.1
- Kafka version: kafka_2.12-2.3.0.jar
- Python version: 3.7.7
- OS: Darwin computer 19.5.0 Darwin Kernel Version 19.5.0: Thu Apr 30 18:25:59 PDT 2020; root:xnu-6153.121.1~7/RELEASE_X86_64 x86_64. Also seen with RHEL 7.7

Hello,
Thank you for the issue. I need to perform some tests, but it seems to be related to the fact that we are sending a DeleteAclsRequest_v0 request while we should be using the DeleteAclsRequest_v1 instead since your broker version allows so
(see https://github.com/StephenSorriaux/ansible-kafka-admin/blob/master/module_utils/kafka_manager.py#L359-L362)

I tested https://github.com/StephenSorriaux/ansible-kafka-admin/pull/62 against a 2.5.0 broker and the deletion is correctly done. Can you please give it a try?


Added new content and media.

OS Variable Refresh Rate (Build 18312)
With Windows Version 1903, we have added a new toggle in Graphics Settings for variable refresh rate. Variable refresh rate (VRR) is similar to NVIDIA’s G-SYNC and VESA DisplayPort Adaptive-Sync. For more details, read the blog post here
![OS Variable Refresh Rate](Graphic settings.jpg "Graphic Settings")
I don't know if I did the add media part right, can someone please assist.

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@jessyrod68 - we need your kind assistance to merge the new commit for the copy/edit review made by JohanFreelancer9 / nenonix or make the necessary changes on the PR following the suggestions made. Thank you.

Done let me know if you need anything esle from me.
Thanks

Done let me know if you need anything esle from me.
Thanks
@mypil

@lizap - Can you please assist to check, approve and merge the content of this PR?
Thank you.

@lizap - We would like to follow up. Can you please assist to check, approve and merge the content of this PR?
Thank you.

@lizap - Can you please assist to check, approve and merge the content of this PR?
Thank you.
cc: @dougkim

@lizap - We would like to follow up. PR is ready for final review. Thank you.


Phaser.PointerMode.TOUCH is undefined

This Issue is about a bug in the API.
Problem:
There are several references in the code to Phaser.PointerMode.TOUCH (Input.js and Button.js). This mode is undefined in Phaser.PointerMode. (Pointer.js). PointerMode knows CURSOR and CONTACT. This breaks Button.forceOut and Button.justReleasedPreventsOver on touch devices. This problem seems to have existed ever since PointerMode was introduced. I didn't include sample code, because referencing an undefined constant is obviously a bug, but a can create a pull request if you agree with the proposed solution.
Affects
Phaser version(s): 2.9.1, still broken in b394e06 in master, possibly all versions >=2.4.4
Proposal:
Change occurrences of Phaser.PointerMode.TOUCH to Phaser.PointerMode.CONTACT.
Workaround:
// patch PointerMode before creating a game.
Phaser.PointerMode.TOUCH = Phaser.PointerMode.CONTACT;

Sounds good to me.

Hi @daniel-nth are you still interested in making a PR?

Yeah, sorry. Had a bit on my plate at work.


Clicking on an area in a stacked area graph throws an error.

On the stacked area graph, clicking on one of the stacked graph areas doesn't show just that data anymore. Clicking on an area is reflected in the legend but the error:
TypeError: d.display is undefined
and it points to line 12190 in nvd3:
.y(function(d) { return d.display.y + d.display.y0 })
Selecting a single area by clicking on the legend keys works, although the first time you click a key in the legend nothing happens. This can be seen in the demo page of the stacked area graph here.
The functionality does work just using nvd3 and can be seen here

So clicking on an area and then manually refreshing the graph with $scope.api.refresh() will render the graph correctly with only the stacked area that was clicked on. Still trying to figure out why the error is being thrown.

Alright, so it seems the problem is with nvd3, not angular-nvd3. For now, the problem can be temporarily fixed by changing the scatter.y function on line 12190 of nvd3 to:
.y(function(d) {
    if(typeof d.display === 'undefined') {}
    else {
          return d.display.y + d.display.y0
    }
})

For some reason d will sometimes be defined as the data object of the graph, and not a point object like it should be. In particular, d will be defined as the very bottom data object of the stacked graph.

I submitted a pull request to fix the issue in nvd3, so when that gets accepted this problem will go away.


[WIP] Run specs against all DBs

I'm going to add ability to cherry-pick certain DB specs via an env variable

Now you can override adapters list for a spec/example group. Specs which was skipped by around hook are marked as pending, I think that's OK, because usually this requires updating a spec for compatibility with a certain DB

@solnic it's ready! 🎉
All specs are now tagged with a specific database adapter and can be filtered with bundle exec rspec -t sqlite
/cc @jodosha


tests: Add better helper for creating pipeline layouts

There are a lot of tests doing this by hand, or creating descriptor sets etc when they don't really care about bound resources at all.

@chrisforbes  -- CreatePipelineHelper -- added 90fb6280 2017-11-11
tests: Added PipelineMultiSample VUID tests


Add Content-Disposition option on io.javalin.http.staticfiles.StaticFileConfig

Let's allow the Javalin users to easily adjust Content-Disposition header to attachment, in case the static files are meant to be downloaded directly. The exact implementation is up to discussion, but I think the idea is sound.

Is the header option not sufficient?

The header option should be simple enough, assuming we wish to treat all files as attachments. I think it is not as simple to make it conditional, in case we wanted to have a simple condition, for example, query parameter ?dl=true. I may be just lacking knowledge about the framework.

You could either put your downloadable files in a directory called "/downloads", then mount that as a static files config with the correct headers set, or you could set the header using a before filter using something like the query param you suggested. I don't think this requires any development work in Javalin.