Bump React 18

Bumping to React 18
This PR updates our React dependency to 18.1.0. There shouldn't be any changes to behavior, this PR runs React as if it were React 17.
These were the main breaking changes:

With the React 18 types, props.children are not implicit anymore. Library maintainers and also us need to specify if a component takes children or not. (btw This is a great change for Utopia, as this will be a useful data point for us in the future).
I had to patch some of our dependencies to include the children prop. I decided NOT to bump the version of these dependencies in this PR, to avoid mayhem.
With the React 18 types, React.useCallback is not allowed to be accidentally any, this also broke a few things
I also updated testing-library/react to the new version that's compatible with React 18.
testing-library/react-hooks have been merged into testing-library/react, but with a slightly changed API
In all the places I use testing library with { legacyRoot: true } which uses React 18 in "React 17 mode" by calling ReactDOM.render instead of the new API
I bumped react-three-fiber and three to make them not crash violently.

Edit:

There's a bunch of places where CSSTypes from Emotion is clashing with React's. I couldn't find a way to make both happy so I just gave up and in places where we spread props.style, I cast it to any

With the React 18 types, props.children are not implicit anymore. Library maintainers and also us need to specify if a component takes children or not.

Great news for reparenting!

I think this is a good time to update the React 16 in the initial project's packages.json

I think this is a good time to update the React 16 in the initial project's packages.json

I think this is a good time to update the React 16 in the initial project's packages.json

I'll create a follow-up ticket


[Enhancement]Add faq & customize CXXFLAGS support on building rocksdb

What this PR does / why we need it:
To make CXXFLAGS customizable to prevent failure from cc1plus: all warnings are treated as errors on building rocksdb
To make it effective, just add export CXXFLAGS=-Wno-error at the end of env.sh before executing source env.sh.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Codecov Report

Merging #1950 (6522a7e) into master (853bcda) will decrease coverage by 0.04%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master    #1950      +/-   ##
==========================================
- Coverage   48.11%   48.07%   -0.04%
==========================================
  Files         455      455
  Lines       79612    79612
==========================================
- Hits        38304    38273      -31
- Misses      38283    38315      +32
+ Partials     3025     3024       -1

see 9 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Provenance Domain - version - zero "0" not accepted

I am able to type any numerical value in the version box but unable to type "0".  eg. Our version is 1.0.28 and I am only able to type 1..28

est: 1hr


There is an option to define interesting area of start time and end time of composition render?

Describe your question, attach logs, images or anything that might help to better understand it.

https://www.youtube.com/watch?v=Gk5zmXQ4i9w

https://github.com/inlife/nexrender#details

Thanx


Black screen while initiating player on Android Devices

Bug
While initializing the player for playback a black screen appears for a moment - the duration depends on the device type. The below code seems to be causing this issue. Commenting the same seems to fix the issue.
https://github.com/react-native-video/react-native-video/blob/master/android/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java:77
Can the background be set to transparent? Or perhaps prop can be provided to set the bg color
Which player are you experiencing the problem on:

Android

Same issues

For sure, it make sens to be able to make background color configurable.
You will need to create a property dedicated to this feature.

+2

Having the same issue using the latest alpha. Kinda need to upgrade to the alpha as well, cause seeking is not working well in 5.2 (Android).
This is a major issue for our app, cause you can switch quickly between videos, so the black flicker becomes very noticable.

Any solution for this issue?

Also seeing here when using the exoplayer on 5.2

@pgpankajbigstep the solution is to delete that line that sets the shutter background color on ExoPlayerView

same issue please tell me about this issue
please help me

shutterColor="transparent" prop
fixed the issue for me

Thank you @barghi . This ticket can be closed


Quantised fused custom op

TensorFlow support converting from composite op to a single fused TFLite custom operation
We have issues generating fully quantised model containing such fused custom Ops, generated TFLite models from TFLite Converter have fused custom Ops and operations remained as float operation, while have Quantize and Dequantize nodes in between.
Please review Colab below, we made models to illustrate these issues:
custom op with multiple inputs and outputs
Any suggestions that we can resolve these issues and make TFLite custom op able to be fully quantised?

We did some investigation.
Our team find that when TFLite fusable operator tfl_fusable_op was created from custom operator(source code), the '_tfl_quant_trait' attribute is missing in it.
We then workaround this with a quick fix, by set this attribute to 'tfl_fusable_op' afterwards.
Furthermore, we need to mark the fused tfl.custom op with no side effect, so that 'PruneUnusedOpsWithSideEffect' pass could prune all dangling duplicated tfl.custom ops(source code).
We then workaround this with another quick fix, explicitly make the fused tfl.custom op run through 'PruneUnusedOpsWithSideEffect' pass.
With these updates, both simple model with custom op and  custom op with multiple inputs and outputs example would work with a generated fully quantised TFLite model.
We are looking for a proper solution for these issues, thus it is able to generate fully quantised model with fused custom ops with API works probably like:
def get_implements_signature():
    implements_signature = [
        'name: "custom_op"',
        'attr {key: "tfl_fusable_op" value { b: true } }',
        'attr {key: "_tfl_quant_trait" value { s: "fully_quantizable" } }',
    ]
    return " ".join(implements_signature)

@tf.function(experimental_implements=get_implements_signature())
def custom_op(x):
    ...

@Tessil, for visibility

@haozha111 can you take a look at this feature request at the TFLite converter?

@sngyhan FYI

https://github.com/tensorflow/tensorflow/pull/58643
We raised our current temporary solution.
We want to explore proper way to mark eligible fused custom operators with NoSideEffect=True
It could be either:

explicite attribute from Python tf.function API: ‘attr {key: “no_side_effect” value { b : true}}’
add extra step to traversely verify the custom op graph, i.e., if the fused custom op is composed of operators without side effects, then the fused operator has NoSideEffect=True

Any suggestions and early reviews are much appreciated.

@pkgoogle
Could you please help reopen this issue?
The issue persists with the latest tf-nightly.
I have attached a Colab notebook custom op with multiple inputs and outputs that replicates the issue. This notebook is also mentioned above.

Hi @psunn,
Could you make an attempt the to resolve your issue by using AI-Edge-Torch, you can find more information here: googleblog.
Here i am putting a sample reference code using ai_edge_pytorch conversion. Can modify as per your requirement

import torch
import torch.nn as nn
import ai_edge_torch

class CustomFusedOp(nn.Module):
    def __init__(self, input_size, hidden_size):
        super(CustomFusedOp, self).__init__()
        # add necessary code here

    def forward(self, input_1, input_2, input_3):
    # Quantization (if qat)
    if self.qat:
      quantized_input_1 = torch.quantize(input_1, dtype=torch.quint8)
      quantized_input_2 = torch.quantize(input_2, dtype=torch.quint8)
      quantized_input_3 = torch.quantize(input_3, dtype=torch.quint8)
      input_1 = quantized_input_1
      input_2 = quantized_input_2
      input_3 = quantized_input_3

    # Pre-custom op
    pre_custom_op_output_1, pre_custom_op_output_2 = self.pre_custom_op(input_1, input_2, input_3)

    # Quantization (if qat)
    if self.qat:
      quantized_pre_custom_op_output_1 = torch.quantize(pre_custom_op_output_1, dtype=torch.quint8)
      pre_custom_op_output_1 = quantized_pre_custom_op_output_1

    # Dummy model
    model_output = self.model(pre_custom_op_output_1)

    # Post-custom op
    output = self.post_custom_op(input_1, pre_custom_op_output_2, model_output)

    # Quantization (if qat)
    if self.qat:
      quantized_output = torch.quantize(output, dtype=torch.quint8)
      output = quantized_output

    return output

sample_input = (torch.randn(1),)

# Convert the model using AI Edge Torch
edge_model = ai_edge_torch.convert(foo.eval(), sample_input)

# Export the model to TFLite format
edge_model.export('Customop_model.tflite')

You can try  visualizing the result in model-explorer as well.
Please try them out and let us know if this resolves your issue. If you still need further help, feel free to open a new issue at the respective repos.
Thank You


Write docs about toolbar and key bindings customization

This could help on issues like: #61

You can customize the toolbar? That's great! I'll document that functionality and open a PR. Tell me if you want me to change anything.

Forgot to close the issue, thanks again @JulianMayorga!


PrivilegeEscalation : No non-root USER specified in Dockerfile configuration (High Severity Issue)

Stratos Version

Stratos version 4.4.0
Frontend Deployment type

[ ] Cloud Foundry Application (cf push)
[x] Kubernetes, using a helm chart
[ ] Docker, single container deploying all components
[ ] npm run start
[ ] Other (please specify below)

Backend (Jet Stream) Deployment type

[ ] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, single container deploying all components
[ ] Other (please specify below)

Expected behaviour
When we do an AppScan static scan, the scanning results shouldn’t yield any vulnerabilities.
Actual behaviour
We ran Appscan and these vulnerabilities were marked as High Severity issues.
Steps to reproduce the behavior
AppScan Go: version 0.1.7
Steps

Open Appscan go application

Checkout the code of Stratos : release 4.4.0 (https://github.com/cloudfoundry/stratos.git) in your local machine.

Choose the type of scan i.e. Complete Security Scan

Click on Browse button and browse to the src folder(except test-e2e folder) of the stratos project that you checkout in step 2.

AppScan Go! retrieves appropriate files from the selected folder and lists them for review. No need to change anything on this just click on Continue button.

Click on Create a new scan button ---> Initiate scan : This will initiate the scan process.

When upload to AppScan on Cloud is complete, click the link review the status or results of the scan in the AppScan on Cloud service(there are lots of high severity issue you will see).

Reference : https://help.hcltechsw.com/appscan/ASoC/src_irx_gen_gui.html
Log output covering before error and any error statements
Insert log hereCopy

Detailed Description

Exact Location where the issue occurs: https://github.com/cloudfoundry/stratos/blob/master/src/jetstream/plugins/analysis/container/Dockerfile#L1
Cause: When executing a Docker image, by default the user that runs the process is root. As a best practice, you should run with a user that does not have high privileges; this help prevent privilege escalation. Apple the Principle of Least Privilege (POLP) when building or running a Docker image: give your user only the privileges it needs to perform the intended functions.
Example Code
FROM alpine:3.4
            RUN apk update
            RUN apk add vim
            RUN apk add curl

Fix recommendation:
To protect against privilege escalation, run with a user that only has enough privileges to perform the intended functions. You can use ROOT to configure your machine and install tools you need, mount driver, create new users and other function that require ROOT access. Then use the Docker USER command to define the user to run the image as. Use either: USER [:] or USER [:]
Example Code
FROM alpine:3.4
<In this section you might need to run as ROOT to set up your machine. Install, mount, etc>
RUN groupadd -r myuser && useradd -r -g myuser myuser
RUN apk update
RUN apk add vim
RUN apk add curl
<Once you're done with the actions that need ROOT permissions, switch to your unprivileged user>
USER myuser
Context

No non-root USER specified in Dockerfile configuration
Possible Implementation

Closing, dupe of #4897


Remove incorrect wheel requirement from pyproject.toml

Remove the incorrect wheel dependency, as it is added by the backend
automatically.  Listing it explicitly in the documentation was
a historical mistake and has been fixed since, see:
https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a

Thanks! I'll fix that elsewhere.

Thanks!


Remove all known arguments in plugin invocations

What this PR does / why we need it:
Consistenly removes all arguments in plugin invocations which are passed as environment variables:

--context is renamed to --kube-context
added missing known arguments including short option of --namespace

Additional fix: Get all arguments from environment variables passed to plugins:

HELM_KUBECONTEXT was the only environment variable not processed

@jonasrutishauser Just wanted to clarify after reading the thread in https://github.com/databus23/helm-diff/pull/151. The idea here is to only pass arguments via environment variables for known flags, correct?

Exactly.
This way all known flags are parsed by helm and passed to plugins via environment variables.
If a plugin later calls helm again, the configuration will be picked from the environment variables passed previously to the plugin.
If a plugin needs one of this values it can read it from the environment.
This way theses flags will always have the meaning defined by helm and can't accidentally be overridden by a plugin.


fix: fix button dts files

Closes #2482

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@c5ac5c8). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2485   +/-   ##
=======================================
  Coverage        ?   93.67%
=======================================
  Files           ?      299
  Lines           ?    24390
  Branches        ?     2031
=======================================
  Hits            ?    22848
  Misses          ?     1509
  Partials        ?       33

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


add script install section back

Per Carl Fischer's request

@tfoxnc is there a reason nothing has shown up for netify?

@tfoxnc still no netify :(

@carlfischer1 We had to re-implement. I will carry this pr into a new one so we can get the Netlify preview and then merge if it looks good.


Fix formatting multiple masters

Fixes #8540

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2376/
Test PASSed.

@LuQQiu for something to count as successfully written to the journal, it must be written to disk on the majority of the masters. That way, we can recover even if all masters are killed
Users could configure their journal directory to be on a ramfs or tmpfs, but this isn't recommended since the data can be lost on system shutdown

Got it! Thanks for the explanation.


Ceph s3 Tests | Update Ceph S3 Tests Commit Number

Signed-off-by: shirady<EMAIL_ADDRESS>Explain the changes

Update the commit number of the repo s3-tests by Ceph.

As a result the number of the passed tests will be 387 instead of 386, the test test_object_copy_16m was added.
Add to the logs the printing of the number of workers.

Note: Currently it is with 1
Change the action to run on push or pull request of code inside src directory on master branch (in addition to the option to run it manually).
Increase the memory of db pod.
Add printings of k8s events in the logs.

Testing Instructions:

Based on the instructions here - the steps of ‘Build images’ and ‘Deploy noobaa’.
I’ve noticed that after installing noobaa we need to wait before running the job, otherwise all the tests will be failed.
kubectl wait --for=condition=available backingstore/noobaa-default-backing-store --timeout=3m
wait a couple of minutes after this condition is met ~3m (it's just a bypass).
You can use this command to check when the default backing store is in mode OPTIMAL:
nb api system read_system
Deploy the tests job (run it from the noobaa-core repo):

kubectl apply -f src/test/system_tests/ceph_s3_tests/test_ceph_s3_job.yml
View the logs:
kubectl logs job/noobaa-tests-s3 -f

[ ] Doc added/updated
[ ] Tests added

@shirady @dannyzaken In test_ceph_s3_deploy.sh maybe we can change the max_days="500" to be 180 again

I don't mind changing it to 180.
@romayalon I saw that you changed it in #6710, what do you think?

@shirady
The last commit in https://github.com/ceph/s3-tests was more than a year ago, so this condition is not really relevant anymore, why not just take the latest commit?


Help me pls

Describe your problem here.
So im trying to compile when I dont have the application or icon files when I compile. It only has the Assets, Manifest, Mods, and plugins folders along with the other DLLs and DDLS.
Pls help.
N1CKN0TAD3
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No.

did you wait through the entire compile?

if you close out of get an error the exe does not get built

did you wait through the entire compile?

yes


Exoplayer cache and disable focus fix headers

@RalfNieuwenhuizen @jochem725 This should be the only merge we need to do to update master to what we currently want to use in the app


Added new sample

Hillshade renderer

@singhgag Can you resolve the conflicts and I'll review? Thanks

@singhgag Ok to merge once conflicts are resolved

Resolved merge conflicts. Merging branch.


[ReedsSheppPath] Fix bug when curvature is different from 1.

rename member currentLength_ -> rsLength_.

I believe this introduced another bug... From the script I sent you, remove the path optimizer and look at the solution.

I will check.

I think I got confused. I cannot reproduce the bad behaviour.


Added breadcrumbs for environments and commands.

Changes

Added breadcrumbs for LatexCommands and LatexEnvironment.
It does make use of the deprecated BreadcrumbsInfoProvider. Couldn't find a better way to do it. Just to keep in mind for later updates.

Pictures

Fixed.


Upgrade UDS to Cumulus v18.3.3

Upgrade Cumulus from v18.0.0 to v18.3.3.
https://github.com/nasa/cumulus/releases
Cumulus v18.3.3 has fix for cleanExecutions lambda that may fix https://github.com/unity-sds/unity-data-services/issues/291

│ Error: creating RDS Cluster (uds-sbx-cumulus-serverless): operation error RDS: CreateDBCluster, https response error StatusCode: 400, RequestID: acbe9e1b-bcc9-485d-8b79-d2bb0c6726bc, api error InvalidParameterValue: The engine mode serverless you requested is currently unavailable.
│
│   with module.rds_cluster.aws_rds_cluster.cumulus,
│   on .terraform/modules/rds_cluster/main.tf line 84, in resource "aws_rds_cluster" "cumulus":
│   84: resource "aws_rds_cluster" "cumulus" {
│

Error on RDS terraform

Ended up upgrading to 18.5.1
I guess this is done after deploying it in dev / test.

Superseded by https://github.com/unity-sds/unity-data-services/issues/466


Request to archive OpenJDK source tips file as part of binary tar

We have source_tips and source-revision-tracker in the build tree for SHA info.
For JDK 8u hotspot, it is in build/linux-x86_64-normal-server-release/source_tips:
$ cat build/linux-x86_64-normal-server-release/source_tips
 .:d4ae3d8b2cd2 corba:d4d4f7f07a86 hotspot:127e100fb80e jaxp:cc46d0ec5597 jaxws:3a911ec83c7e jdk:6f7954907722 langtools:92a07f0a1bb1 nashorn:319c1b31d551
For JDK 11+, this should be in build/linux-x86_64-normal-server-release/support/src-rev Example:
$ cat build/linux-x86_64-server-release/support/src-rev/source-revision-tracker
.:hg:3009b27660be+

However,  the file is not in the AdoptOpenJDK Jenkins Build Artifacts. For example, https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-x64-hotspot/
We would like to request to archive the source tips file as part of binary tar, so the downstream builds can get this information. This is needed as part of AQA BoM https://github.com/AdoptOpenJDK/openjdk-tests/issues/1169

Looked into this a bit, jdk8u only supports mercurial hg so source_tips is currently never used (https://github.com/AdoptOpenJDK/openjdk-build/pull/2036 exists to fix this). However jdk11/15/etc can retrieve info for both mercurial and git, so source-revision-tracker contains this git sha of the mirror repo. OpenJ9 has their own patch to get the sha of OpenJDK/OpenJ9/OMR for source revision. Main takeaway is that eventually the contents of source_tips and source-revision-tracker both make their way into the SOURCE = "" tag in the release file i.e.
IMPLEMENTOR="AdoptOpenJDK"
IMPLEMENTOR_VERSION="AdoptOpenJDK"
JAVA_VERSION="11.0.8"
JAVA_VERSION_DATE="2020-07-14"
MODULES="java.base java.compiler java.datatransfer java.xml java.prefs java.desktop java.instrument java.logging java.management java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.transaction.xa java.sql java.sql.rowset java.xml.crypto java.se java.smartcardio jdk.accessibility jdk.internal.vm.ci jdk.management jdk.unsupported jdk.internal.vm.compiler jdk.aot jdk.internal.jvmstat jdk.attach jdk.charsets jdk.compiler jdk.crypto.ec jdk.crypto.cryptoki jdk.dynalink jdk.internal.ed jdk.editpad jdk.hotspot.agent jdk.httpserver jdk.internal.le jdk.internal.opt jdk.internal.vm.compiler.management jdk.jartool jdk.javadoc jdk.jcmd jdk.management.agent jdk.jconsole jdk.jdeps jdk.jdwp.agent jdk.jdi jdk.jfr jdk.jlink jdk.jshell jdk.jsobject jdk.jstatd jdk.localedata jdk.management.jfr jdk.naming.dns jdk.naming.rmi jdk.net jdk.pack jdk.rmic jdk.scripting.nashorn jdk.scripting.nashorn.shell jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported.desktop jdk.xml.dom jdk.zipfs"
OS_ARCH="x86_64"
OS_NAME="Linux"
SOURCE=".:git:9e9102503256"

Is this easy enough to parse or would there still be a benefit to archiving the individual files?

@austin0 Where is the release file located?

It's directly inside the root folder after you untar the binary.

Thanks @austin0 . From the test perspective, we do not need this file to be archived separately.


Question: Possible to do sound recognition instead of speaker recognition?

Hi, nice work with the python wrapper.
I understand from the name that you're only interested in recognising who is speaking, not what they've said.  But maybe you know how difficult or easy it would be to extend it so that it can match the sound instead?
I mean, if I have wavs of speaker1 saying "whoosh" and "beep" and "neenaw", I would like it to recognise which of those three things speaker1 says into the microphone, but I don't want to recognise speaker1 saying "nawnee" even if it sounds exactly like speaker1, and I don't really care about recognising speaker2 saying anything.  Is that something that piwho could do, or would it need MARF to be extended in order to do this?

Unfortunately, Piwho/MARF cannot recognize the word/speech. One thing you could do is, train the Speaker1 with wavs of only "Whoosh", Speaker2 with only "beep" and so on. So, for example, if Piwho recognizes Speaker1 then the sound would be "Whoosh".

Thanks for the quick feedback.  Yeah, I can try that, but I'm guessing that the features it's using to recognize a speaker will be roughly the same for the same speaker, and not different enough for the different sounds.  I'm guessing that it would need different features to work with.
I'll try out what you suggest, and start following the MARF bits which you use.  It sounds like you're just taking the MARF code as it is, and not changing it, right?  It seems that the MARF code isn't really being updated any more on sourceforge so you may understand it better than anyone!

The 'Features' are different methods to process the audio files. This features apply to the entire model and not to the each speaker. You can try various combinations of feature options to get optimal results.
I did change the code a little bit, I exposed the speaker distances to public API (Java) which was not there in original MARF. Piwho function 'get_speaker_scores()' prints this distances on screen.

Ok, thanks a lot.  I'll take a closer look :)  I also noticed you're using marf <IP_ADDRESS>, rather than the "latest" <IP_ADDRESS>.  I assume that's deliberate too.

Sorry to re-open this, but I have another question which I think is very much related.
In the recognition phase, have I understood correctly that the recognition works on a pre-recorded test file?  That means, there's no possibility for it to work directly on microphone input, in sort of "real time"?
So after the training has finished, the method would be: start recording, speak into the microphone, stop recording, then call piwho to use the saved file, is that right?
What I'd really like to do is have it react more dynamically as I'm speaking into the microphone, so it doesn't know when I'm going to start speaking or stop speaking.  But it seems that's not something which MARF can support right now, correct?


Added New Download Button: Button-6

Details
Hello @Spyware007 @PoorviShetty
I would like to the contribute to this project, and I have Created new Button-6 Download Button.
Screenshots

Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[X] Resolving a bug
[X] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

Please check #1346


New feature: open whatsapp chat window

I've seen a lot of people looking for this feature and I've found nothing to do that. So, it seems that the startApp cordova plugin is the best candidate to add the feature. Feel free to accept or reject my pull request, I'm just trying to be helpful.
Thanks.

Hi, @Diones!
Thank you for your work, but I decided that would be the best not to violate the concept of plugin and made its own version. I used your example, thanks!

@lampaa ok, no problem! :beers:


flags: the behavior when creating or updating flags with both an alias and its actual flag provided are not explained in the documentation

Summary
Document that setting both an alias and a default value in flag creation will set the alias before setting the default value.

After more investigation, I have discovered that there is a normal behavior to this: aliases are applied before the direct flag_value classes. However, this should probably be documented as such.

Ideally we should error when both are provided, as flag values and aliases are implementation details. However, this should be correlated with the runtime and memory cause of checking that.


Button size

Is it possible to add btn-sm to the buttons? And change the red color for example?

Hi! Yes, you can either set data-commit-class and data-cancel-class in the HTML, or you can pass commitClass and cancelClass when configuring the modal via JS.

Perfect


internal compiler error: binaryOp: bad operation

What version of Go are you using (go version)?

$ go version

go version go1.12.2 windows/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\hf\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\code\go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\hf\AppData\Local\Temp\go-build639447286=/tmp/go-build -gno-record-gcc-switches

What did you do?
https://play.golang.org/p/CAilBT0YfzY
What did you expect to see?
An error message indicating the operation is not supported on floating point values.
What did you see instead?

std\lib.go:80:10: internal compiler error: binaryOp: bad operation: 2.3 ^ 2
Please file a bug report including a short program that triggers the error.
https://golang.org/issue/new

Duplicate of https://github.com/golang/go/issues/31060, already fixed in tip


deploy after sign up if command was now [deploy]

This supports a single command sign up and deployment flow, so projects like frontarm/navi can use now as their deployment script and it works in one command, even if the user doesn't yet have an account.
Currently if you issue now as a new user you get the sign up flow but need to run now a second time for it to actually do the deploy.

Thank you for creating this issue!
Please note that – in order for us to be able to handle each feature request with care – we have to consume all of them through a unified pipeline that makes it easier for us to prioritize, track and progress on the features our user base is interested in.
In turn, the Issues tab on this repository is best only be used for reporting bugs, which we can immediately act on.
For well-explained feature requests (like the one you just posted), please contact us at<EMAIL_ADDRESS>so that we can consider adding it to our roadmap.
In the case of your specific feature recommendation, you can rest assured that we're already tracking it on our roadmap and you can expect to see an update on our Twitter account or Blog soon.


Can pascal ever be supported? Is it a lost cause?

I have a quadro built on pascal and see a bunch of people with P40 posting here. Someone has compiled the library for windows and is using it on a 10xx series geforce for training.
I see some docs and forum post from nvidia.
https://developer.nvidia.com/blog/new-pascal-gpus-accelerate-inference-in-the-data-center/
https://forums.developer.nvidia.com/t/about-cublasgemm-int8-support/48483
But the problem is that int8 multiplication function.
Is it a hard blocking issue that we should give up hope on? The most accessible high vram GPUs are in this series.
Also, since they are indeed running this for training, does this mean other 8 bit operations are currently working and it's just the one required for language models?

This is supported in the latest release. Please update to 0.37.0 and let me know if you are still having troubles.

@TimDettmers Maxwell user here (Nvidia M40), when trying to import the library I get the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/__init__.py", line 7, in <module>
    from .autograd._functions import (
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/autograd/__init__.py", line 1, in <module>
    from ._functions import undo_layout, get_inverse_transform_indices
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/autograd/_functions.py", line 9, in <module>
    import bitsandbytes.functional as F
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/functional.py", line 17, in <module>
    from .cextension import COMPILED_WITH_CUDA, lib
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/cextension.py", line 13, in <module>
    setup.run_cuda_setup()
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 92, in run_cuda_setup
    binary_name, cudart_path, cuda, cc, cuda_version_string = evaluate_cuda_setup()
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 395, in evaluate_cuda_setup
    has_cublaslt = is_cublasLt_compatible(cc)
  File "/home/henk717/koboldai/runtime/envs/koboldai/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 153, in is_cublasLt_compatible
    cuda_setup.add_log_entry("WARNING: Compute capability < 7.5 detected! Only slow 8-bit matmul is supported for your GPU!", is_warning=True)
NameError: name 'cuda_setup' is not defined

Thank you for fixing it so quickly. Unfortunately I have the same problem as henk does above. In addition to trying kobold, I used https://github.com/oobabooga/text-generation-webui and got the same "NameError: name 'cuda_setup' is not defined"
When I tried searching this was related to it not being able to find the cuda libs?

The same environment I use for Kobold works on a newer GPU, so I think the not finding the libs error is deceiving.

True, both of of these projects I tried use a different virtual environment with cuda installed.

I am able to bypass the error by doing this:
def is_cublasLt_compatible(cc):
    has_cublaslt = False
    if cc is not None:
        cc_major, cc_minor = cc.split('.')
        #if int(cc_major) < 7 or (int(cc_major) == 7 and int(cc_minor) < 5):
            #CUDASetup.add_log_entry("WARNING: Compute capability < 7.5 detected! Only slow 8-bit matmul is supported for your GPU!", is_warning=True)
        #else:
         #   has_cublaslt = True
    return has_cublaslt

But now I get an error like this: https://pastebin.com/H0gvKSMF when I try to generate text.

KoboldAI isn't going to be a good example because we do things quite different from other projects and have no official 8-bit support yet. I recommend using something else first based on more basic HF functions.

Any suggestions? I also had the same failure in the textgen-webui that natively supports 8 bit. From looking it up, it's some kind of divide by zero error due to torch.


Revisions

Substantial changes to the What RackHD Does Well Section

Finishing up for the day, but will give it another go over tomorrow and also look at the What RackHD Doesn't Do" section...

After I did a merge, I used the same branch to do a few more changes. After I did the second Commit, Git Desktop doesn't give me a chance to do the Pull that sends it to to GitHub.
I will look at this tomorrow to correct any problems.


TypeError in /clan/rrr-vn-pj089pl2

Error in ClashLeaders
TypeError in /clan/rrr-vn-pj089pl2
Cannot read property '__symbol@@0.4490974027879713' of undefined
View on Bugsnag
Stacktrace
https://www.clashleaders.com/static/js/vendors.8d68595a3daede5c357b.js:13 - s.Et.Ht.get [as __symbol@@0.4490974027879713]

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in /clan/rrr-vn-pj089pl2


correcting FilterType to valid enums

This is addressing the issue reported in https://github.com/Netflix/zuul/issues/294 so that the BufferingOutbound.groovy and BufferingInbound.groovy filters return correct enum for the filterType() method.

No longer used in 2.1, will review when building new sample app.

is the intention of removing the sample app to move it into another repository outside of the "zuul-core" project?

It needs to be rebuilt using the new framework.


User-Task History

Group or User-Tasks are gone, after there are finished. Maybe we need a History for finished Tasks in the Task-UI.
Reminder User-Story. Needs to wait for #489 Finished

@zambrovski Does polyflow save the user tasks after they are completed? If so, can they still be retrieved via the API, e.g. via a parameter, or can this be implemented in this way?

Let us discuss this requirement before looking for solution. I don't understand it yet.


KAFKA-12980: Return empty record batch from Consumer::poll when position advances due to aborted transactions

Jira
This is useful for reads to the end of a topic that contains aborted or empty transactions. If an aborted transaction is at the end of the topic, the consumer can now be expected to return from poll if it advances past that aborted transaction, and users can query the consumer's latest position for the relevant topic partitions to see if it has managed to make it past the end of the topic (or rather, what was the end of the topic when the attempt to read to the end of the topic began).
For a concrete example of this logic, see the KafkaBasedLog::readToLogEnd method that Connect employs to refresh its view of internal topics.
No new unit tests are added, but many existing ones are modified to ensure that aborted and empty transactions are detected and reported correctly by Fetcher::collectFetch.
Committer Checklist (excluded from commit message)

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

@hachikuji could you take a look at this when you have a chance?

Thanks for the review @hachikuji; I agree that it's simpler and more future-proof to make the logic more general and not worry about the specific case of aborted transactions. I've updated the PR (and title) accordingly.

Thanks @hachikuji. I've addressed the nits and tried to address the more substantial comment regarding logging; interested in your thoughts when you have a moment.

@C0urante FYI this has a functionality loss. If you KafkaConsumer.poll(Duration) you are unable to tell anymore if it returns empty if it was a timeout - so most likely the topic is fully consumed - or not. Right now even a single empty (numRecords = 0, positionAdvanced = true) fetch will trigger a return. Deduplicated KTables can return fetches like that.

@nbali this PR was merged over two years ago and I've lost almost all of the context around it. If you are seeing problems because of the changes made here, please file a Jira ticket describing what's going wrong (including examples and/or a practical use case if possible) and link it to the ticket for this change.

@C0urante https://issues.apache.org/jira/browse/KAFKA-14865


Enum descriptions and deprecation support

This PR adds support for docblock descriptions for native enums and enum cases, as well as deprecation tag support for cases.
This enum
/**
 * This is the description of the enum itself
 */
enum TestEnum
{
    /**
     * This is a case description
     */
    case FOO;

    /**
     * This is another case description
     * @deprecated it should not be used anymore
     */
    case BAR;
}

results in the following type description in the schema:
{
  "kind": "ENUM",
  "name": "TestEnum",
  "description": "This is the description of the enum itself",
  "specifiedByUrl": null,
  "fields": null,
  "inputFields": null,
  "interfaces": null,
  "enumValues": [
    {
      "name": "BAR",
      "description": "This is another case description",
      "isDeprecated": true,
      "deprecationReason": "it should not be used anymore"
    },
    {
      "name": "FOO",
      "description": "This is a case description",
      "isDeprecated": false,
      "deprecationReason": null
    }
  ],
  "possibleTypes": null
}

GraphiQL output

@mdoelker thanks for this - looks great!


Fix CPU 100% when deleting namespace

Motivation
When deleting the namespace, the namespace Policies will be marked as deleted.
This will trigger topic's onPoliciesUpdate
However, in onPoliciesUpdate, the data of the Policies node on zk will be read, such as: checkReplicationAndRetryOnFailure
Due to the deletion of the namespace, the zk node may no longer exist at this time.
Failure to read data will trigger infinite retries.
https://github.com/apache/pulsar/blob/e970c2947aff9231202ab72bdbad047d85c55633/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java#L1175-L1193
If there are many topics, there will be a short-term CPU spike

Modifications
Verifying this change

@315157973
this patch does not apply to branch-2.7
can you please create a new PR for branch-2.7 ?

@315157973 thank you for porting this patch to branch-2.7.
I have included it in 2.7.2rc1


Automate package generation using a GH Workflow

Description
Create a GitHub workflow to build minimal packages of wazuh-indexer. These packages must contain Wazuh's configuration files and changes, accomplish with the new packages naming convention and support x64 and arm64 architectures.
For a complete list of requirements, see #54. This issue must complete the Build phase milestone, which is defined in #60.

To be done:
For all packages:

[ ] Apply packages naming convention
[ ] Add VERSION file

For RPM packages:

[ ] Rename /etc/opensearch to /etc/wazuh-indexer
[ ] Rename /sysconfig/opensearch to /sysconfig/wazuh-indexer
[ ] Rename /opensearch folder to /wazuh-indexer

For DEB packages:

[ ] Rename /etc/opensearch to /etc/wazuh-indexer
[ ] Rename /sysconfig/opensearch to /sysconfig/wazuh-indexer
[ ] Rename /opensearch folder to /wazuh-indexer

To be done in different issue. The objective of the issue is completed.


TPC DS q14 (variant with ANY): timeout with CBO

Separate issue from #7072 (shows up with #8674 applied)
It looks like CBO rewrites
A JOIN (ANY B LEFT SEMI C)

as
ANY B LEFT SEMI (C JOIN A)

'A, B and C contains a lot of duplicates, so (C JOIN A) produces huge number of rows.
But in original query ANY B LEFT SEMI C contained no duplicates.

That's 'bad' rewrite:
2024-09-04 14:31:20.766 INFO  dqrun(pid=2755795, tid=0x000079DB5D6F9FC0) [default] dq_opt_join_cost_based.cpp:365: {dummy_op} Converted join tree:
Join: (InnerJoin,Undefined) item.i_brand_id=iss.i_brand_id,item.i_category_id=iss.i_category_id,item.i_class_id=iss.i_class_id,
    Rel: item
    Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA
    Join: (LeftSemi,Undefined) iss.i_brand_id=iws.i_brand_id,iss.i_category_id=iws.i_category_id,iss.i_class_id=iws.i_class_id,
        Join: (LeftSemi,Undefined,LeftAny) iss.i_brand_id=ics.i_brand_id,iss.i_category_id=ics.i_category_id,iss.i_class_id=ics.i_class_id,
            Join: (InnerJoin,Undefined) store_sales.ss_sold_date_sk=d1.d_date_sk,
                Join: (InnerJoin,Undefined) store_sales.ss_item_sk=iss.i_item_sk,
                    Rel: store_sales
                    Type: BaseTable, Nrows: 1.12524e+06, Ncols: 2, ByteSize: 1.15225e+09, Cost: 1.15225e+09, ss_item_sk, ss_ticket_number, Storage: NA
                    Rel: iss
                    Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA
                Rel: d1
                Type: BaseTable, Nrows: 400.586, Ncols: 2, ByteSize: 410200, Cost: 1.6408e+06, d_date_sk, Storage: NA
            Join: (InnerJoin,Undefined) catalog_sales.cs_sold_date_sk=d2.d_date_sk,
                Join: (InnerJoin,Undefined) catalog_sales.cs_item_sk=ics.i_item_sk,
                    Rel: catalog_sales
                    Type: BaseTable, Nrows: 978164, Ncols: 2, ByteSize: 1.00164e+09, Cost: 1.00164e+09, cs_item_sk, cs_order_number, Storage: NA
                    Rel: ics
                    Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA
                Rel: d2
                Type: BaseTable, Nrows: 400.586, Ncols: 2, ByteSize: 410200, Cost: 1.6408e+06, d_date_sk, Storage: NA
        Join: (InnerJoin,Undefined) ds/10_decimal/web_sales/.ws_sold_date_sk=d3.d_date_sk,
            Join: (InnerJoin,Undefined) ds/10_decimal/web_sales/.ws_item_sk=iws.i_item_sk,
                Rel: ds/10_decimal/web_sales/
                Type: BaseTable, Nrows: 489381, Ncols: 2, ByteSize: 5.01127e+08, Cost: 5.01127e+08, ws_item_sk, ws_order_number, Storage: NA
                Rel: iws
                Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA
            Rel: d3
            Type: BaseTable, Nrows: 400.586, Ncols: 2, ByteSize: 410200, Cost: 1.6408e+06, d_date_sk, Storage: NA

2024-09-04 14:31:20.766 INFO  dqrun(pid=2755795, tid=0x000079DB5D6F9FC0) [default] dq_opt_join_cost_based.cpp:375: {dummy_op} Optimizied join tree:
Join: (LeftSemi,GraceJoin,LeftAny) iss.i_brand_id=ics.i_brand_id,iss.i_category_id=ics.i_category_id,iss.i_class_id=ics.i_class_id,
Type: ManyManyJoin, Nrows: 5.16108e+17, Ncols: 28, ByteSize: 5.28495e+20, Cost: 7.74194e+17, Storage: NA
    Join: (LeftSemi,GraceJoin) iss.i_brand_id=iws.i_brand_id,iss.i_category_id=iws.i_category_id,iss.i_class_id=iws.i_class_id,
    Type: ManyManyJoin, Nrows: 1.05526e+13, Ncols: 20, ByteSize: 1.08059e+16, Cost: 1.58319e+13, Storage: NA
        Join: (InnerJoin,GraceJoin) iss.i_brand_id=item.i_brand_id,iss.i_category_id=item.i_category_id,iss.i_class_id=item.i_class_id,
        Type: ManyManyJoin, Nrows: 4.31263e+08, Ncols: 12, ByteSize: 4.41613e+11, Cost: 1.8199e+09, Storage: NA
            Join: (InnerJoin,GraceJoin) store_sales.ss_item_sk=iss.i_item_sk,
            Type: FilteredFactTable, Nrows: 281311, Ncols: 8, ByteSize: 2.88062e+08, Cost: 1.16472e+09, ss_item_sk, ss_ticket_number, Storage: NA
                Join: (InnerJoin,GraceJoin) store_sales.ss_sold_date_sk=d1.d_date_sk,
                Type: FilteredFactTable, Nrows: 281311, Ncols: 4, ByteSize: 2.88062e+08, Cost: 1.156e+09, ss_item_sk, ss_ticket_number, Storage: NA
                    Rel: store_sales
                    Type: BaseTable, Nrows: 1.12524e+06, Ncols: 2, ByteSize: 1.15225e+09, Cost: 1.15225e+09, ss_item_sk, ss_ticket_number, Storage: NA
                    Rel: d1
                    Type: BaseTable, Nrows: 400.586, Ncols: 2, ByteSize: 410200, Cost: 1.6408e+06, d_date_sk, Storage: NA
                Rel: iss
                Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA
            Rel: item
            Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA
        Join: (InnerJoin,GraceJoin) ds/10_decimal/web_sales/.ws_item_sk=iws.i_item_sk,
        Type: FilteredFactTable, Nrows: 122345, Ncols: 8, ByteSize: 1.25282e+08, Cost: 5.11925e+08, ws_item_sk, ws_order_number, Storage: NA
            Join: (InnerJoin,GraceJoin) ds/10_decimal/web_sales/.ws_sold_date_sk=d3.d_date_sk,
            Type: FilteredFactTable, Nrows: 122345, Ncols: 4, ByteSize: 1.25282e+08, Cost: 5.03686e+08, ws_item_sk, ws_order_number, Storage: NA
                Rel: ds/10_decimal/web_sales/
                Type: BaseTable, Nrows: 489381, Ncols: 2, ByteSize: 5.01127e+08, Cost: 5.01127e+08, ws_item_sk, ws_order_number, Storage: NA
                Rel: d3
                Type: BaseTable, Nrows: 400.586, Ncols: 2, ByteSize: 410200, Cost: 1.6408e+06, d_date_sk, Storage: NA
            Rel: iws
            Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA
    Join: (InnerJoin,GraceJoin) catalog_sales.cs_item_sk=ics.i_item_sk,
    Type: FilteredFactTable, Nrows: 244541, Ncols: 8, ByteSize: 2.5041e+08, Cost: 1.01372e+09, cs_item_sk, cs_order_number, Storage: NA
        Join: (InnerJoin,GraceJoin) catalog_sales.cs_sold_date_sk=d2.d_date_sk,
        Type: FilteredFactTable, Nrows: 244541, Ncols: 4, ByteSize: 2.5041e+08, Cost: 1.00512e+09, cs_item_sk, cs_order_number, Storage: NA
            Rel: catalog_sales
            Type: BaseTable, Nrows: 978164, Ncols: 2, ByteSize: 1.00164e+09, Cost: 1.00164e+09, cs_item_sk, cs_order_number, Storage: NA
            Rel: d2
            Type: BaseTable, Nrows: 400.586, Ncols: 2, ByteSize: 410200, Cost: 1.6408e+06, d_date_sk, Storage: NA
        Rel: ics
        Type: BaseTable, Nrows: 7665.24, Ncols: 4, ByteSize: 7.84921e+06, Cost: 7.84921e+06, i_item_sk, Storage: NA

(CBO moves join with item into inner parts, and inflate product at early stages instead of instead of filtering )

Query (problematic part is $cross_items; $bla{1..3} contains a lot of duplicates):
PRAGMA dq.EnableDqReplicate = "1";
PRAGMA DisableSimpleColumns;

PRAGMA dq.MaxTasksPerStage='200';
PRAGMA dq.MaxTasksPerOperation='1700';
PRAGMA dq.HashJoinMode = "grace";
PRAGMA dq.HashShuffleTasksRatio="1.0";
PRAGMA dq.HashShuffleMaxTasks="200";

-- pragma dq.AggregateStatsByStage="false";
pragma dq.ComputeActorType="sync";
pragma dq.OptLLVM="off";

PRAGMA s3.UseBlocksSource="true";
pragma OrderedColumns="true";

pragma FilterPushdownOverJoinOptionalSide;
pragma RotateJoinTree="false";
pragma AnsiOptionalAs="true";

pragma warning("disable", "4527");

$z0 = cast(0 as decimal(7,2));
$z1_2 = cast("1.2" as decimal(7,2));
$z1_3 = cast("1.3" as decimal(7,2));
$z0_9 = cast("0.9" as decimal(7,2));
$z0_99 = cast("0.99" as decimal(7,2));
$z1_49 = cast("1.49" as decimal(7,2));

$z0_35 = cast(0 as decimal(35,2));
$z0_1_35 = cast("0.1" as decimal(35,2));
$z1_2_35 = cast("1.2" as decimal(35,2));
$z0_05_35 = cast("0.05" as decimal(35,2));
$z0_9_35 = cast("0.9" as decimal(35,2));
$z0_95_35 = cast("0.95" as decimal(35,2));
$z1_1_35 = cast("1.1" as decimal(35,2));
$z0_5_35 = cast("0.5" as decimal(35,2));
$z100_35 = cast(100 as decimal(35,2));
$z0_0001_35 = cast("0.0001" as decimal(35,2));
$z7_35 = cast("7." as decimal(35,2));

$z0_12 = cast(0 as decimal(12,2));
$z1_12 = cast(1 as decimal(12,2));
$z0_0100001_12 = cast("0.0100001" as decimal(12,2));
$z0_07_12 = cast("0.07" as decimal(12,2));
$z0_2_12 = cast("0.2" as decimal(12,2));

$round = ($x,$y) -> {return $x;};
$upscale = ($x) -> { return cast($x as decimal(35,9)); };
pragma dq.MaxTasksPerStage="4";
pragma dq.ComputeActorType="async";
pragma dq.UseFinalizeByKey="true";
pragma dq.OptLLVM="ON";
pragma dq.EnableSpillingNodes="GraceJoin";
pragma CostBasedOptimizer="native";
pragma AnsiOptionalAs="1";

-- NB: Subquerys
$bla1 = (select iss.i_brand_id brand_id
     ,iss.i_class_id class_id
     ,iss.i_category_id category_id
 from bindings.store_sales as store_sales
     cross join bindings.item iss
     cross join bindings.date_dim d1
 where ss_item_sk = iss.i_item_sk
   and ss_sold_date_sk = d1.d_date_sk
   and d1.d_year between 2000 AND 2000 + 2);
$bla2 = (select ics.i_brand_id brand_id
     ,ics.i_class_id class_id
     ,ics.i_category_id category_id
 from bindings.catalog_sales as catalog_sales
     cross join bindings.item ics
     cross join bindings.date_dim d2
 where cs_item_sk = ics.i_item_sk
   and cs_sold_date_sk = d2.d_date_sk
   and d2.d_year between 2000 AND 2000 + 2);
$bla3 = (select iws.i_brand_id brand_id
     ,iws.i_class_id class_id
     ,iws.i_category_id category_id
 from bindings.web_sales
     cross join bindings.item iws
     cross join bindings.date_dim d3
 where ws_item_sk = iws.i_item_sk
   and ws_sold_date_sk = d3.d_date_sk
   and d3.d_year between 2000 AND 2000 + 2);

$cross_items = (select i_item_sk ss_item_sk
 from bindings.item as item cross join
 (select bla1.brand_id as brand_id, bla1.class_id as class_id, bla1.category_id as category_id from
    any
 $bla1 bla1 left semi join $bla2 bla2 on (bla1.brand_id = bla2.brand_id and bla1.class_id = bla2.class_id and bla1.category_id = bla2.category_id)
            left semi join $bla3 bla3 on (bla1.brand_id = bla3.brand_id and bla1.class_id = bla3.class_id and bla1.category_id = bla3.category_id)
 ) x
 where i_brand_id = brand_id
      and i_class_id = class_id
      and i_category_id = category_id
);

$avg_sales =
 (select avg(quantity*list_price) average_sales
  from (select ss_quantity quantity
             ,ss_list_price list_price
       from bindings.store_sales as store_sales
           cross join bindings.date_dim as date_dim
       where ss_sold_date_sk = d_date_sk
         and d_year between 2000 and 2000 + 2
       union all
       select cs_quantity quantity
             ,cs_list_price list_price
       from bindings.catalog_sales as catalog_sales
           cross join bindings.date_dim as date_dim
       where cs_sold_date_sk = d_date_sk
         and d_year between 2000 and 2000 + 2
       union all
       select ws_quantity quantity
             ,ws_list_price list_price
       from bindings.web_sales as web_sales
           cross join bindings.date_dim as date_dim
       where ws_sold_date_sk = d_date_sk
          and d_year between 2000 and 2000 + 2) x);

$week_seq_2001 = (select d_week_seq
                     from bindings.date_dim as date_dim
                     where d_year = 2000 + 1
                       and d_moy = 12
                       and d_dom = 15);

$week_seq_2000 = (select d_week_seq
                     from bindings.date_dim as date_dim
                     where d_year = 2000
                       and d_moy = 12
                       and d_dom = 15);

-- start query 1 in stream 0 using template query14.tpl and seed<PHONE_NUMBER>

  select  channel, i_brand_id,i_class_id,i_category_id,sum(sales), sum(number_sales)
 from(
       select 'store' channel, item.i_brand_id i_brand_id,item.i_class_id i_class_id
             ,item.i_category_id i_category_id,sum(ss_quantity*ss_list_price) sales
             , count(*) number_sales
       from bindings.store_sales as store_sales
           cross join bindings.item as item
           cross join bindings.date_dim as date_dim
       where ss_item_sk in $cross_items
         and ss_item_sk = i_item_sk
         and ss_sold_date_sk = d_date_sk
         and d_year = 2000+2
         and d_moy = 11
       group by item.i_brand_id,item.i_class_id,item.i_category_id
       having sum(ss_quantity*ss_list_price) > $avg_sales
       union all
       select 'catalog' channel, item.i_brand_id i_brand_id,item.i_class_id i_class_id,item.i_category_id i_category_id, sum(cs_quantity*cs_list_price) sales, count(*) number_sales
       from bindings.catalog_sales as catalog_sales
           cross join bindings.item as item
           cross join bindings.date_dim as date_sim
       where cs_item_sk in $cross_items
         and cs_item_sk = i_item_sk
         and cs_sold_date_sk = d_date_sk
         and d_year = 2000+2
         and d_moy = 11
       group by item.i_brand_id,item.i_class_id,item.i_category_id
       having sum(cs_quantity*cs_list_price) > $avg_sales
       union all
       select 'web' channel, item.i_brand_id i_brand_id,item.i_class_id i_class_id,item.i_category_id i_category_id, sum(ws_quantity*ws_list_price) sales , count(*) number_sales
       from bindings.web_sales as web_sales
           cross join bindings.item as item
           cross join bindings.date_dim as date_dim
       where ws_item_sk in $cross_items
         and ws_item_sk = i_item_sk
         and ws_sold_date_sk = d_date_sk
         and d_year = 2000+2
         and d_moy = 11
       group by item.i_brand_id,item.i_class_id,item.i_category_id
       having sum(ws_quantity*ws_list_price) > $avg_sales
 ) y
 group by rollup (channel, i_brand_id,i_class_id,i_category_id)
 order by channel,i_brand_id,i_class_id,i_category_id
 limit 100;

select  this_year.channel ty_channel
                           ,this_year.i_brand_id ty_brand
                           ,this_year.i_class_id ty_class
                           ,this_year.i_category_id ty_category
                           ,this_year.sales ty_sales
                           ,this_year.number_sales ty_number_sales
                           ,last_year.channel ly_channel
                           ,last_year.i_brand_id ly_brand
                           ,last_year.i_class_id ly_class
                           ,last_year.i_category_id ly_category
                           ,last_year.sales ly_sales
                           ,last_year.number_sales ly_number_sales
 from
 (select 'store' channel, item.i_brand_id i_brand_id,item.i_class_id i_class_id,item.i_category_id i_category_id
        ,sum(ss_quantity*ss_list_price) sales, count(*) number_sales
 from bindings.store_sales as store_sales
     cross join bindings.item as item
     cross join bindings.date_dim as date_dim
 where ss_item_sk in $cross_items
   and ss_item_sk = i_item_sk
   and ss_sold_date_sk = d_date_sk
   and d_week_seq = $week_seq_2001
 group by item.i_brand_id,item.i_class_id,item.i_category_id
 having sum(ss_quantity*ss_list_price) > $avg_sales) this_year cross join
 (select 'store' channel, item.i_brand_id i_brand_id,item.i_class_id i_class_id
        ,item.i_category_id i_category_id, sum(ss_quantity*ss_list_price) sales, count(*) number_sales
 from bindings.store_sales as store_sales
     cross join bindings.item as item
     cross join bindings.date_dim as date_dim
 where ss_item_sk in $cross_items
   and ss_item_sk = i_item_sk
   and ss_sold_date_sk = d_date_sk
   and d_week_seq = $week_seq_2000
 group by item.i_brand_id,item.i_class_id,item.i_category_id
 having sum(ss_quantity*ss_list_price) > $avg_sales) last_year
 where this_year.i_brand_id= last_year.i_brand_id
   and this_year.i_class_id = last_year.i_class_id
   and this_year.i_category_id = last_year.i_category_id
 order by ty_channel, ty_brand, ty_class, ty_category
 limit 100;

-- end query 1 in stream 0 using template query14.tpl


Fix the typo in README.md

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


OutOfMemoryException: Out of memory  at (wrapper managed-to-native) UnityEngine.GameObject:get_transform ()

OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) UnityEngine.GameObject:get_transform ()
  at Dissonance.PlaybackPool.CreatePlayback () [0x00000] in <filename unknown>:0
  at Dissonance.Datastructures.Pool`1[Dissonance.Audio.Playback.VoicePlayback].Get () [0x00000] in <filename unknown>:0
  at Dissonance.PlaybackPool.Get (System.String playerId) [0x00000] in <filename unknown>:0
  at Dissonance.DissonanceComms.Net_PlayerJoined (System.String playerId) [0x00000] in <filename unknown>:0
  at Dissonance.Networking.BaseCommsNetwork`5[Dissonance.Integrations.UNet_HLAPI.HlapiServer,Dissonance.Integrations.UNet_HLAPI.HlapiClient,Dissonance.Integrations.UNet_HLAPI.HlapiConn,Dissonance.Unit,Dissonance.Unit].OnPlayerJoined (System.String obj) [0x00000] in <filename unknown>:0
  at (wrapper delegate-invoke) System.Action`1<string>:invoke_void__this___string (string)
  at Dissonance.Networking.Client.EventQueue.InvokeEvent[String] (System.String& arg, System.Action`1 handler) [0x00000] in <filename unknown>:0

== STACKTRACK STATS ==
Times seen: 1
Last reported: 2018-02-14 14:07:10.411317


Is it possible to access generic member property of a protocol with an associatedtype?

I have come across a problem where it makes me wonder is it possible to access a generic member property of a struct that conforms to a protocol with an associatedtype.
For example:
protocol P {
    associatedtype T
    var generic: G<T> { get }   // <- This guy is the problem.
    var value: T { get }
}

struct G<T> { var wrappedValue: T }

struct S1: P {
    typealias T = Int
    var generic = G(wrappedValue: 1)
    var value = 1
}

struct S2: P {
    typealias T = String
    var generic = G(wrappedValue: "hi")
    var value = "hi"
}

struct S3: P {
    typealias T = Double
    var generic = G(wrappedValue: 1.9)
    var value = 1.9
}

I have a protocol P with an associatedtype T and has a protocol requirement of a generic member variable of type G.
Structs S1, S2, S3 are implemented while conforming to protocol P.
With types defined above I have also written resolver functions.
func resolve(_ arg: some P) -> some P {
    switch arg {
    case is S1: print("S1")
    case is S2: print("S2")
    case is S3: print("S3")
    default: print("any P")
    }
    return arg
}

func resolveExistential<U:P>(_ arg: U) -> G<U.T> {
    return arg.generic
}

And following is the actual problem I encountered.
let list: [any P] = [S1(), S2(), S3()]

list.forEach {
    print($0.value)                         // OK
    print($0.generic.wrappedValue)          // Not OK, Member 'generic' cannot be used on value of type 'any P'; consider using a generic constraint instead
    print(resolve($0))                      // OK
    print(resolveExistential($0))           // Not OK, Type 'any P' cannot conform to 'P'
}

Is there a way to resolve or directly access $0.generic?

I'm not entirely sure, but I believe the issue stems from the type-erasure rules that apply in these cases. I think the relevant bit from the implicitly-opened existentials proposal is here, which states:

When T or a T-rooted associated type appears in a non-covariant position in the result type, T cannot be bound to the underlying type of an existential value because there would be no way to represent the type-erased result. This is essentially the same property as descibed for the parameter types that prevents opening of existentials, as described above. For example:
func cannotOpen7<T: P>(_ value: T) -> X<T> { /*...*/ }

This seemed to be a related question on the Swift forums, which might be of interest. I believe this case is analogous to the one posed in that post, and the issue is that the return type of your resolveExistential function uses the binding to the opened existential value in a 'non-covariant position' (i.e. as a generic parameter of the function's return type).

@jamieQ
Thanks for the reference. I will just close this issue as there doesn't seem to be any viable workaround.

FWIW, depending on the use case, you may still be able to do something with the underlying generic property. I think the core issue in your example is returning the generic value. If your resolveExistential function were changed to something like this:
func resolveExistentialNoReturn<U:P>(_ arg: U) {
    print("U.G<T>: \(arg.generic)")
}

then I think the implicit existential opening will work.


Add support for ES2015 class syntax

Since we currently don't use ES2015 classes the priority for ourselves is rather low. Nevertheless it would be nice if laxar-dox would support this as we might want to use some classes in the future.

Implemented on master (v2.1.0).


@sort:installs doesn't work properly

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.65.2
OS Version: ManjaroLinux 21.2.5

Steps to Reproduce:

search for something (I try with js snippets)
sort according to installed count

results doesn't relate to search. In fact, the number of installations has priority over search query.

It seems MP is not respecting the filter text when sortBy is set
{"filters":[{"criteria":[{"filterType":10,"value":"js snippet"},{"filterType":8,"value":"Microsoft.VisualStudio.Code"},{"filterType":12,"value":"4096"}],"pageNumber":1,"pageSize":50,"sortBy":4,"sortOrder":0}],"assetTypes":[],"flags":950}

https://github.com/microsoft/vsmarketplace/issues/361


Canonicalize tosa.resize operation

The current implementation of tosa.resize is not vectorizable as it generates a complex tensor.extract operation. However, it looks like some tosa.resize ops can be canonicalize away. This issue is to request the implementation of the missing canonicalization patterns. Please, take a look at https://github.com/iree-org/iree/issues/10313 for context.

tosa.resize is landing a change relatively soon so once the new version is checked in we can find the no-op canonicalizer. We should try to identify both the cases for nearest-neighbour and bilinear, as nearest neighbour can be a little trickier to identify all no-op cases.

This should be fixed now.

I'm still getting this error with the to-be-landed integrate (https://github.com/iree-org/iree/pull/10781):
/usr/local/google/home/diegocaballero/sandbox/models/deeplabv3/deeplabv3.mlir:229:12: error: 'tosa.resize' op requires attribute 'border'
    %226 = "tosa.resize"(%225) {mode = "BILINEAR", offset = [0, 0], offset_fp = [0.000000e+00 : f32, 0.000000e+00 : f32], output_size = [33, 33], shift = 0 : i32, stride = [0, 0], stride_fp = [0.000000e+00 : f32, 0.000000e+00 : f32]} : (tensor<1x1x1x256xf32>) -> tensor<1x33x33x256xf32>

I'm not sure if it's related to this canonicalization or some of the new changes on the tosa.resize op but I can't test it... Any idea?

I'm still seeing the tosa.resize in deeplabv3 after:
commit bba48dfe4ac4be72d74bb33e646d0b3984eeded1
Author: Rob Suderman<EMAIL_ADDRESS>Date:   Wed Oct 5 16:28:19 2022 -0700

    [mlir][tosa] tosa.resize canonicalizer for trivial noop

    If the scaling factor is by 1 with no offset or border, then the
    resize is a no-op.

    Reviewed By: dcaballe

    Differential Revision: https://reviews.llvm.org/D135329

Did you check if your patch is optimizing the test case provided in https://github.com/iree-org/iree/issues/10313? That would be helpful.

Verified that it removes the following case:
    %233 = "tosa.resize"(%232) {border = [0, 0], mode = "BILINEAR", offset = [0, 0], scale = [2, 2, 2, 2]} : (tensor<1x33x33x21xf32>) -> tensor<1x33x33x21xf32>


TextColor for the selected Day and current day

thanks for the amazing component.
i needed these two features Text Color for the current Day and for the current selected day,
so i have implemented them and thought why not to share the code :)

Hi thanks for the PR. I havn't looked through the changes througly. But I have another branch which implements smooth-scrolling and open/close the calendar.
https://github.com/SundeepK/CompactCalendarView/tree/%40wip/exprimental_animation
It's 51 commits ahead of master. I think your changes should sit well, but I will need to either merge the other branch and then this code or vise versa. I'll have a look sometime this week and keep you posted.

got you, if any help needed ping me.
thanks for your effort :)>-

Hi, as mentioned before, I've merged my changes to master now. I can have a look at this PR some time soon. But if you have time, you can clone the latest code and apply your changes on top. Might want to send a seperate PR for that so that commit history is cleaner.

will do it in the next few days

will rebase and PR again (y)


web_sys::PointerEvent cannot be cast to web_sys::TouchEvent

According to MDN it seems the proper way to use MouseEvent and TouchEvent (and pen, etc. support) at once is using the PointerEvent.
However in web_sys, there does not seem a documented way to actually do this. PointerEvent in web_sys has the same API as MouseEvent, so it works for mouse events. However touches can have a web_sys::TouchList (multiple touches) attached and the PointerEvent has no touches() or target_touches() method to return the list.
I tried casting the event to a TouchEvent when appropriate but that failed too.
// event is a PointerEvent here (add_event_listener("pointerdown"))
if event.pointer_type() == "touch" {
    let event = event.dyn_ref::<TouchEvent>().unwrap();
    console_log!("Nr of touches {}", event.target_touches().length());
}

leads to an error suggesting casting to TouchEvent is not possible.
panicked at 'called `Result::unwrap()` on an `Err` value: PointerEvent { obj: MouseEvent { obj: UiEvent { obj: Event { obj: Object { obj: JsValue(PointerEvent) } } } } }'

Is this missing? Am I missing something?

According to TouchEvent inherits direct from UIEvent. While PointerEvent inherits from MouseEvent. Looks like this also is reflected in web-sys. In example TouchEvent example specific TouchEvent subscriptions are setup.

Sorry I don't know enough about web APIs myself to provide guidance on this. I believe you can do an unchecked cast though if dynamic casts don't work.

According to TouchEvent inherits direct from UIEvent. While PointerEvent inherits from MouseEvent. Looks like this also is reflected in web-sys. In example TouchEvent example specific TouchEvent subscriptions are setup.

Yes, MouseEvent and TouchEvent are implemented properly in wb_sys. But they are also ' the old api'.  In the old days everybody ' rethrowed' TouchEvent as MouseEvent to make a semi-uniform interface. Now there is also PenSupport (and much more) so that gets tedious real quick. Also the original TouchEvent had to be prevented, before rethrowing it as a MouseEvent, which leads to side-effects. So now the unifying api is the PointerEvent, which should handle all. (https://www.w3.org/TR/pointerevents3/).
So the PointerEvent should be usable as both a MouseEvent and an TouchEvent, which works fine in the dynamic javascript-world.  However in web_sys we only have the PointerEvent as MouseEvent, which makes an entire slew of methods (like touches() but also other advanced inputs like tilts and azimuths unavailable.

Reading up on the issue, it seems that in case of the PointerEvent also in the javascript world you have to keep track of multi-touches yourself by caching them and the PointerEvent cannot be treated as a TouchEvent. Sorry for the wrong information. Bug may be closed.


Websocket compatibility when using a proxy service.

Is there an ETA on the resolution for this?  I'm using a reverse proxy to point 443 towards 6516 and all other features work but these are ones that I was especially interested in.

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

ID: e1c16ba9-2fc0-4c4e-8e98-71fa6149224c
Version Independent ID: 95a061bd-a176-1ec3-259d-2a3925ca279e
Content: Windows Admin Center Known Issues
Content Source: WindowsServerDocs/manage/windows-admin-center/use/known-issues.md
Service: unspecified
GitHub Login: @jwwool
Microsoft Alias: jeffrew

This is my office desktop, fully up to date. :-(

Is there any update on the support of WebSockets for Windows Admin Center?
It is still a known issue that Events, Powershell and RDP don't work through the application proxy as it seems.

GitHub issues for this repo are for reporting problems with the documentation. Please contact support.
#please-close


docs: upgrade architecture picture

What's Changed in this PR
As the title said
Checklist

[ ] Please ensure that the content in summary.yml matches the current document structure when you changed the document structure.
[ ] This change requires follow-up update in localized docs.

PTAL @tisonkun @zhaoyingnan01 @nicecui


feat(ansible): verify OS before running playbooks

Description

It's useful if we can verify OS during setup.
Considering that the docker playbook can run on any platform, I've added the check in core.yaml and universe.yaml.
ansible-playbook autoware.dev_env.universe --ask-become-pass --extra-vars install_devel=true --extra-vars rosdistro=galactic --extra-vars rmw_implementation=rmw_cyclonedds_cpp --extra-vars base_image=ubuntu:20.04 --extra-vars cuda_base_image=nvidia/cuda:11.6.2-devel-ubuntu20.04 --extra-vars cuda_version=11.6 --extra-vars cudnn_version=<IP_ADDRESS>-1+cuda11.6 --extra-vars tensorrt_version=8.4.2-1+cuda11.6
BECOME password:
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: running playbook inside collection autoware.dev_env
[Warning] Some Autoware components depend on the CUDA, cuDNN and TensorRT NVIDIA libraries which have end-user license agreements that should be reviewed before installation.
Install NVIDIA libraries? [y/N]: y

PLAY [localhost] *********************************************************************************************************************************

TASK [Gathering Facts] ***************************************************************************************************************************
ok: [localhost]

TASK [Verify OS] *********************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "if ! cat /etc/os-release | grep 'VERSION_ID=\"20.04\"'; then\n  echo 'Please use \"Ubuntu 20.04\".'\n  exit 1\nfi\n", "delta": "0:00:00.006079", "end": "2022-11-30 22:09:38.025985", "msg": "non-zero return code", "rc": 1, "start": "2022-11-30 22:09:38.019906", "stderr": "", "stderr_lines": [], "stdout": "Please use \"Ubuntu 20.04\".", "stdout_lines": ["Please use \"Ubuntu 20.04\"."]}

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

Failed.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Since it's a very simple implementation for now, any reviews are welcome!

How about using ansible_distribution_xxx variables?
❯ ansible -m setup localhost | grep distribution
/usr/lib/python3/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
[WARNING]: No inventory was parsed, only implicit localhost is available
        "ansible_distribution": "Ubuntu",
        "ansible_distribution_file_parsed": true,
        "ansible_distribution_file_path": "/etc/os-release",
        "ansible_distribution_file_variety": "Debian",
        "ansible_distribution_major_version": "22",
        "ansible_distribution_release": "jammy",
        "ansible_distribution_version": "22.04",

Oh, it's a good idea! Thanks.

I have not used it, but  "ansible.builtin.meta: end_play" might fit what you want to do.
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/meta_module.html

Since end_play succeeds the play (and cannot set a message), ansible.builtin.fail would be better?
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/fail_module.html#ansible-collections-ansible-builtin-fail-module
TASK [Verify OS] *********************************************************************************************************************************

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

Completed.

I'll merge this tomorrow (after getting more feedback from my colleagues) and replace 20.04 with 22.04.


[docs] Remove deprecated push notification method info

Explain the motivation for making this change. What existing problem does the pull request solve?

This PR seeks to improve the documentation of PushNotificationIOS.
The method didReceiveRemoteNotification without a fetch completion handler is deprecated by Apple and they discourage using it in favor of the version with the handler.
There's also a practical consideration for it. The deprecated method only works when application is in the foreground which is not what most of the people expect from their remote notification handlers. I don't think we should encourage people to use it at all.

You should probably replace this documentation with application(_:didReceiveRemoteNotification:fetchCompletionHandler:) instead of just deleting the other one. And provide a bit of a summary of the method.
Additionally you said only works when application is in the foreground but the documentation of application(_:didReceiveRemoteNotification:) does mention waking up the app and calling application(_:didFinishLaunchingWithOptions:) (granted this is not documented React Native) but how do you know for sure it wont get called when the app is backgrounded?

Same as @JAStanton I think the documentation (just above the method this PR removes) is quite clear? If you're removing this method I think you'd have to change that paragraph too? But it looks fine to me as is:
// Optionally implement this method over the previous to receive remote notifications. However
// implement the application:didReceiveRemoteNotification:fetchCompletionHandler: method instead of this one whenever possible.
// If your delegate implements both methods, the app object calls the application:didReceiveRemoteNotification:fetchCompletionHandler: method
// Either this method or application:didReceiveRemoteNotification:fetchCompletionHandler: is required in order to receive remote notifications.
If I'm missing something here please open a new PR. I'll close this one as resolved.

I don't get it, @mkonicek. You write that you think the same as @JAStanton ("this PR looks like a right change to make"), but still you close it.
My points are:

Our docs say that this method is required for remote notifications, but it's not. (It's one of possibilities)
The method is deprecated by Apple and people shouldn't use it.
If you use the method, in 99% of the cases it will behave in a different way from what you'd  expect. In particular, you won't get remote notifications when your app is in the background.

As there's no benefit (as far as I know) of using the method, I don't think we should even mention it to the users.
I can re-write the paragraph you mentioned, if you think it makes sense.

@sharnik I edited my comment after he saw it and before he posted his :) sorry! I agree with your comments it makes sense to drop this function. The only way I could see it the other way around would be if you don't want to implement the completion handler and get penalized if you don't use it. Because technically the first one doesn't need it. But I agree I think you should just drop the old method. Or maybe update the comment and say DO NOT USE with extra comments as to why

@sharnik I edited my comment after he saw it and before he posted his :) sorry! I agree with your comments it makes sense to drop this documentation. The only way I could see it the other way around would be if you don't want to implement the completion handler and get penalized if you don't use it. Because technically the first one doesn't need it. But I agree I think you should just drop the old method. Or maybe update the comment and say DO NOT USE with extra comments as to why. @mkonicek I wouldn't close this, there is still some merit in discussing. If nothing else the docs get more clear which is a great thing!

Oh, now it makes a lot more sense ;)


test: add four tests for src/pdm/models/in_process/parse_setup.py

Resolves #62

Earlier coverage:
src/pdm/models/in_process/parse_setup.py             128    128    102      0     0%   1-209

After addition of new tests:
src/pdm/models/in_process/parse_setup.py             128     96    102      7    22%   7-88, 115, 136, 138, 140, 142, 145, 148-151, 154-162, 166-205, 209


Not able to get datarow attribute value in TestContext and initialization.

This exact same issue has been raised before here and closed : https://github.com/microsoft/testfx/issues/305
There is no way to retrieve the test DataRowAttribute data in test initialization.
People might have different reason to do so such as simply being able to create a Log file for each case.
So what is the solution or the workaround ? The only thing I can think of is cache the method arguments through an attribute inheriting from DataTestMethodAttribute and retrieve them in the init method. But it would be highly dependant on how the Execute method is operating. It would only work if tests arguments could be queued/dequeued sequentially.
We're using version <IP_ADDRESS>

Hi @Baccanno! Thanks for the suggestion. I have looked at the linked ticket and there are multiple requests and confusion in there so I'd like to be sure of what you are trying to achieve. Do you want to be able to access to the test parameters during the test initialization (TestInitializeAttribute) and/or test cleanup (TestCleanupAttribute)? If so could you please explain your reasoning there (basically what do you want to be able to achieve doing so)?
To give some clarifications about the linked ticket:

The ClassInitialize method is being run before any test of the class so it seems perfectly reasonable that you cannot access test method arguments from here.
The DataRow property of the TestContext, as explained in the other ticket, this is a poor naming decision that was made but this property is only populated when using the DataSourceAttribute and not at all when using DataRow, MemberData or ITestDataSource.

I always have the same issue. I want TestContext.DataRow to be what it should be :-)
If that is not possible maybe we can get a TestContext.TestData?
And maybe a TestDataAttribute which does exactly what DataRow does today, but to avoid naming confusion.
Or maybe we can have the TestData as value in TestContext.TestData.
Would make life so much easier!
I am not in favor of TestInitialize with object[] args. I think that is a too generic approach and might cause problem with overloads in the future. And we do have TestContext in TestInitialize.

It feels like something that should be generic enough to also handle DynamicData but also probably provide other information to user. I am not sure how far we should go (for example we could simply expose the test method object we have and that would contain the method name, signature, display name, args...).

I always have the same issue. I want TestContext.DataRow to be what it should be :-) If that is not possible maybe we can get a TestContext.TestData? And maybe a TestDataAttribute which does exactly what DataRow does today, but to avoid naming confusion.
Or maybe we can have the TestData as value in TestContext.TestData. Would make life so much easier!
I am not in favor of TestInitialize with object[] args. I think that is a too generic approach and might cause problem with overloads in the future. And we do have TestContext in TestInitialize.

I'm not sure you're mentioning the latest because of my example, I was indeed showing what I need but don't want to do to retrieve the test parameters vs what I'd like to do that is as you perfectly said :

I want TestContext.DataRow to be what it should be :-)

@Evangelink I totally agree with the DynamicData route as well, we have a bunch of tests using it.

@Evangelink any movement on exposing test arguments for all scenarios? i would really like to use this feature in Verify

I believe and hope this is now fixed through #4015

@Evangelink thanks. whats the eta for 3.7 so i can confirm this

Probably December but given we will need to focus on some other tools, I might reduce scope and try to release sooner. Also, I'll try to publish a preview version to nuget next week.

Woah this is an early Christmas gift. Searched for a possible solution TODAY, found this thread, saw it's being worked on, went to NuGet - saw it was updated YESTERDAY. And there is is, the DataRow value:

Thank you!

 Let us know if anything is missing or not working as expected.


a good idea to enhance the eosc to be an interactive program

Similar to the original cli_wallet that reads a command from input.

This was a good suggestion at the time, but since actually site development will be based off of eosjs2 and cleos is primarily used for testing purposes, this ticket is being closed.


Return non-participating capture groups as empty strings

Related to bug #1. This PR changes the behavior to return empty strings instead of entirely skipping non-participating capture groups.
Say for example you want to strip all occurrences of the word "foo" from the beginning of a string. You might do that like this:
let regex = Regex(pattern: "^(foo )*(.*)$")!
let match1 = regex.matches("bar")       // Captures ["bar"]
let match2 = regex.matches("foo bar")   // Captures ["foo", "bar"]

You would not know whether to pick the first or the second capture group. With this PR the first match would capture ["", "bar"] and all capture groups would maintain their indices regardless of what other capture groups participated.

That makes a lot of sense!
Thanks for your contribution 👍

I updated it on CocoaPods


Update packageInstall.sh for bad variable name

Minor mistake in packageInstall.sh. the abc variable was not consistently prepended with $ througout.

Sorry, I'm going mad.. closing as bad request.


Test Istio release "Istio 1.11.1"

Istio recently (2021-08-24 19:42:06 +0000 UTC) released "Istio 1.11.1". Let's test it :rocket:.

We should track this by https://github.com/knative-sandbox/net-istio/issues/749


How to add proxy config in the request?

Describe the feature or improvement you're requesting
I access api.openai.com via proxy.
When I try to send request by submitting form in the project, application run out with error:

requests.exceptions.ProxyError: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/completions (Caused by ProxyError('Cannot connect to proxy.', OSError(0, 'Error')))

I tried the URL in web browser with proxy, and got 200 response.
I read source code but did not found anywhere to add proxy config, how can I do that?  Please.
Additional context
No response

Are you in China？I occurs the same problem

You can use basePath to replace https://api.openai.com/v1
for example:
import { Configuration } from "openai";

const configuration = new Configuration({
  apiKey: OPENAI_API_KEY,
 basePath: "https://closeai.deno.dev/v1",
});

https://github.com/justjavac/openai-proxy


.on('set') event - what called it?

The example I have is an array of objects, in this case, valves. Aside from some other details, each object in the the array has the service object for the valve
ie: tempZone is one object
tempZone.__ValveService.getCharacteristic(Characteristic.Active).on('set', this.setActiveIrrigationZone.bind(this));
In the function that gets called on an active change event, is it possible to know what service object called teh on set event so I can loop though the array of objects and do a match to what triggered the on set?
Hope that makes sense,,

Thinking about your question for a moment, wouldn’t the ‘this’ object contain the context your looking for?  The this inside your function.

On Apr 29, 2019, at 8:33 PM, n0rt0nthec4t<EMAIL_ADDRESS>wrote:
The example I have is an array of objects, in this case, valves. Aside from some other details, each object in the the array has the service object for the valve
ie: tempZone is one object
tempZone.__ValveService.getCharacteristic(Characteristic.Active).on('set', this.setActiveIrrigationZone.bind(this));
In the function that gets called on an active change event, is it possible to know what service object called teh on set event so I can loop though the array of objects and do a match to what triggered the on set?
Hope that makes sense,,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No, the context is (in) the tempzone.__ValveService.  You need to pass (a reference to) it to setActiveIrrigationZone()

No, the context is (in) the tempzone.__ValveService. You need to pass (a reference to) it to setActiveIrrigationZone()

How would you structure the on set binding and the. function declaration ?

Change the declaration to function (context, state, callback) and then change the on(‘set’, ...) to
tempzone.__ValveService.on(‘set’, (value, callback) => {
  this.setIrrigationActive(tempzone.__ValveService, value, callback)
})

Awesome, thanks!


Allow more specific JFR profiles

Note: This description is only very high-level and at this point only a vague idea that we could (maybe) pursue at some point in the (distant) future.
With Java 9, JFR got an official API and lets users also inject custom events. With the help of a custom Elasticsearch plugin, Rally could inject additional events into the flight recording, like start and beginning of a specific task.
Alternatively, the jfr telemetry device could also use jcmd to request JFR dumps whenever a task (or task group) has ended.

Let's not pursue this for the moment. We can reopen at a later point again if necessary.


⚠ Bofrost.lu has degraded performance

In 5950034, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1588 ms

Resolved: Bofrost.lu performance has improved in fc335f5 after 9 minutes.


weekly-timesheet-sharepoint -

Sample
weekly-timesheet-sharepoint
Author(s)
@aprildunnam
Question
Followed directions, when creating a new timesheet - cannot save or submit

Hi I have same problem, did you fid fix?

@jwise155 @Scotty1629 This is due to difference in field name "Week Start".  I was able to get this sample to work.  Contact me in case you need help

Thanks for your help, I can’t get the approvals to show other than my own.?
On Wed, 12 Jun 2024 at 12:05, Sudhir Kesharwani @.***>
wrote:

@jwise155 https://github.com/jwise155 @Scotty1629
https://github.com/Scotty1629 This is due to difference in field name
"Week Start". I was able to get this sample to work. Contact me in case you
need help
—
Reply to this email directly, view it on GitHub
https://github.com/pnp/powerplatform-samples/issues/94#issuecomment-2162729349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWJEAZMGJ36AX74BT2TNRLDZHATOTAVCNFSM6AAAAABIQG2MW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSG4ZDSMZUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Scotty1629
Please check if your Office 365 account has manager property?  Also if you have any other account where your account is setup as manager it will work.
There is some copy paste error when on the Save / Submit button click. I raised an issue on the repository and also put the code changes (pull request under review)

When you click on new timesheet, fill timesheet and click on Submit,  it automatically updates to your manager.
When you create a new timesheet,  click on Save button,  it will keep Employee and Manager information same.
On My Timesheet page,  both Save and Submit button have same code,  so it never gets updated to Manager information.

I have applied the fix and got it to working at my end.

Please check your TimeEntries SharePoint list,  you will see Employee and Manager columns with same information,  that's the reason you can only view and approve your own records.


Close #744 by replacing DEM download with example data

Proposed changes
This PR updates the contour extraction notebook to use an already existing Canberra DEM file rather than attempting to download an inaccessible raster from online.
Closes issues (optional)

Closes Issue #744 reported by @Kirill888

Checklist (replace [ ] with [x] to check off)

[x] Notebook created using the DEA-notebooks template
[x] Remove any unused Python packages from Load packages
[x] Remove any unused/empty code cells
[x] Remove any guidance cells (e.g. General advice)
[x] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[x] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[x] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[x] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[x] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

@Kirill888 It's already there for another notebook, so just re-using it here

@Kirill888 It's already there for another notebook, so just re-using it here


sqlite3_go18.go:18:10: undefined: SQLiteConn

my version：go 1.9.2
C:\Users\admin>go get github.com/mattn/go-sqlite3
github.com/mattn/go-sqlite3
K:\code\GO\src\github.com\mattn\go-sqlite3\sqlite3_go18.go:18:10: undefined: SQLiteConn

Maybe you are trying to do cross C compile. But you don't use corss-C-compiler. find your issue from issues


fix go tool  crash with buildTags set

This PR fixes the issue that whenever you had golang.buildTags set, all the tasks relying on go tool would crash (like GoVet, GoCover, ...), since go tool -tags 'whatever' vet pkg is not a valid command.
It explicitly checks for 'tool' as a go argument and shifts the tags by an additonal position, such that the command becomes go tool vet -tags 'whatever' pkg

Thanks a lot but tomorrow I'll start a vacation so it may take a little time to review it. Merry Christmas in advance! @keykey7

Thanks!


Check if user already exists

Description
Updated the registerHandler in auth.js to perform several improvements: it checks if the user already exists, encrypts the password using bcrypt, and validates that both email and password are provided (i.e., not empty).
Fixes #7
Type of Change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

Additional Information

Name: Abhineet Sahay
<EMAIL_ADDRESS>Roll No:23052698
Branch:CSE

Looks good, great work, merged!

this fixes #17 also.

this fixes #17 also. i was working on it :(

Oops 😬, can you pick up any other open issues.


Update admiral 0.14 4

Update admiral 0.14 4

Seems that PR (https://github.com/submariner-io/subctl/pull/719) was generated by the release process although an error was reported . closing this PR


zoo utility to report class-balanced subsets

find images with only N classes
for a given number of classes, find the images that best balance distributions of N classes

not our problem; either the user prepares their imagery in the way described, or modifies the loss function to deal with a KNOWN (to them) class imbalance


some scam links with discord with different domain ending which is not listed

I did the sorting

Half of the domain i found was being sold by some website

I got on main contribution tab https://ibb.co/gSrsyNd

Half of the domain i found was being sold by some website

you can still add them since they probably get buyed to scam / are just not in use yet


pull request for e2e test at 12/30/2016 06:56:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Address of only one recipient not shown but "+1"

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.603
Where did you get the app from?
Google Play
Android version
12
Device model
Sony Xperia 5 II
Steps to reproduce
long mail address in TO field
Expected behavior
mail address is shown
Actual behavior
+1 is shown

Logs
No response

I was able to replicate the issue with the following steps:

Have a contact with very large name;
Add the contact as the recipient;
Remove focus from the recipient edit text;

Video evidence:
https://github.com/thunderbird/thunderbird-android/assets/40279132/c2ce352b-ad11-4d45-ad23-4519fc025bb1
After analysing the issue, it looks like this behaviour is handler directly by TokenCompleteTextView from Splitwise's TokenAutoComplete. We're currently using version 4.0.0-beta01 from Jul 15, 2020, and version 4.0.0-beta01 from Dec 15, 2022 is available (it might be worth giving the bump a try). I tried to bump it myself, but between these versions, TokenCompleteTextView.java was converted to TokenCompleteTextView.kt, and there are a few issues associated with this change such as:

TokenImageSpan was converted to an inner final class, which is an issue because we extend it;
TokenImageSpan.onClick() is also final, and we override it;

On multiple occasions Splitwise's TokenAutoComplete made changes to the modifiers on this class specifically, it might be worth opening a ticket on their board requesting that these issues are addressed.

I can confirm this +1 behaviour.
Sony xperia III, android 13


Exception when checking for enabled BQ connector

The dashboard is unaccessible for users without BQ oauth credentials because when checking for connector availability for the user and exception occurs:
https://rollbar.com/carto/CartoDB/items/40408/occurrences/104541329883/

Fixed by https://github.com/CartoDB/cartodb/commit/763bfc8061616825d919b050a668402f9719c078 in #15179