./hack/quick_install.sh exits with an error

/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
I  ran the following commands after  cloning KFServing repo.
cd kfserving
minikube start --cpus 4 --memory 8192 --kubernetes-version=v1.17.11
./hack/quick_install.sh

and got the following output
Srinivasans-MBP:kfserving srinivasanparthasarathy$ minikube start --cpus 4 --memory 8192 --kubernetes-version=v1.17.11
😄  minikube v1.16.0 on Darwin 11.3.1
✨  Automatically selected the docker driver. Other choices: hyperkit, virtualbox
👍  Starting control plane node minikube in cluster minikube
🔥  Creating docker container (CPUs=4, Memory=8192MB) ...
🐳  Preparing Kubernetes v1.17.11 on Docker 20.10.0 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
🔎  Verifying Kubernetes components...
🌟  Enabled addons: storage-provisioner, default-storageclass

❗  /usr/local/bin/kubectl is version 1.20.0, which may have incompatibilites with Kubernetes 1.17.11.
    ▪ Want kubectl v1.17.11? Try 'minikube kubectl -- get pods -A'
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
Srinivasans-MBP:kfserving srinivasanparthasarathy$ ./hack/quick_install.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4573  100  4573    0     0  18589      0 --:--:-- --:--:-- --:--:-- 47635

Downloading istio-1.9.0 from https://github.com/istio/istio/releases/download/1.9.0/istio-1.9.0-osx.tar.gz ...
Istio 1.9.0 Download Complete!

Istio has been successfully downloaded into the istio-1.9.0 folder on your system.

Next Steps:
See https://istio.io/latest/docs/setup/install/ to add Istio to your Kubernetes cluster.

To configure the istioctl client tool for your workstation,
add the /tmp/kfserving/istio-1.9.0/bin directory to your environment path variable with:
	 export PATH="$PATH:/tmp/kfserving/istio-1.9.0/bin"

Begin the Istio pre-installation check by running:
	 istioctl x precheck

Need more information? Visit https://istio.io/latest/docs/setup/install/
namespace/istio-system created
Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/v1.9/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.
✔ Istio core installed
✔ Istiod installed
✔ Ingress gateways installed
✔ Installation complete                                                                                customresourcedefinition.apiextensions.k8s.io/certificates.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/configurations.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/ingresses.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/metrics.autoscaling.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/podautoscalers.autoscaling.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/revisions.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/routes.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/serverlessservices.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/services.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/images.caching.internal.knative.dev created
namespace/knative-serving created
clusterrole.rbac.authorization.k8s.io/knative-serving-addressable-resolver created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-admin created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-edit created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-view created
clusterrole.rbac.authorization.k8s.io/knative-serving-core created
clusterrole.rbac.authorization.k8s.io/knative-serving-podspecable-binding created
serviceaccount/controller created
clusterrole.rbac.authorization.k8s.io/knative-serving-admin created
clusterrolebinding.rbac.authorization.k8s.io/knative-serving-controller-admin created
customresourcedefinition.apiextensions.k8s.io/images.caching.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/certificates.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/configurations.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/ingresses.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/metrics.autoscaling.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/podautoscalers.autoscaling.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/revisions.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/routes.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/serverlessservices.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/services.serving.knative.dev unchanged
image.caching.internal.knative.dev/queue-proxy created
configmap/config-autoscaler created
configmap/config-defaults created
configmap/config-deployment created
configmap/config-domain created
configmap/config-features created
configmap/config-gc created
configmap/config-leader-election created
configmap/config-logging created
configmap/config-network created
configmap/config-observability created
configmap/config-tracing created
horizontalpodautoscaler.autoscaling/activator created
poddisruptionbudget.policy/activator-pdb created
deployment.apps/activator created
service/activator-service created
deployment.apps/autoscaler created
service/autoscaler created
deployment.apps/controller created
service/controller created
deployment.apps/webhook created
service/webhook created
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.serving.knative.dev created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.serving.knative.dev created
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.serving.knative.dev created
secret/webhook-certs created
clusterrole.rbac.authorization.k8s.io/knative-serving-istio created
gateway.networking.istio.io/knative-ingress-gateway created
gateway.networking.istio.io/cluster-local-gateway created
gateway.networking.istio.io/knative-local-gateway created
service/knative-local-gateway created
peerauthentication.security.istio.io/webhook created
peerauthentication.security.istio.io/istio-webhook created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.istio.networking.internal.knative.dev created
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.istio.networking.internal.knative.dev created
secret/istio-webhook-certs created
configmap/config-istio created
deployment.apps/networking-istio created
deployment.apps/istio-webhook created
service/istio-webhook created
customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io created
customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io created
namespace/cert-manager created
serviceaccount/cert-manager-cainjector created
serviceaccount/cert-manager created
serviceaccount/cert-manager-webhook created
clusterrole.rbac.authorization.k8s.io/cert-manager-cainjector created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-orders created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-challenges created
clusterrole.rbac.authorization.k8s.io/cert-manager-edit created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
clusterrole.rbac.authorization.k8s.io/cert-manager-view created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificates created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-issuers created
clusterrole.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-cainjector created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-orders created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificates created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-challenges created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-issuers created
clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
role.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
role.rbac.authorization.k8s.io/cert-manager:leaderelection created
role.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
rolebinding.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
rolebinding.rbac.authorization.k8s.io/cert-manager:leaderelection created
rolebinding.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
service/cert-manager created
service/cert-manager-webhook created
deployment.apps/cert-manager-cainjector created
deployment.apps/cert-manager created
deployment.apps/cert-manager-webhook created
mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
deployment.apps/cert-manager-webhook condition met
namespace/kfserving-system created
customresourcedefinition.apiextensions.k8s.io/inferenceservices.serving.kubeflow.org created
customresourcedefinition.apiextensions.k8s.io/trainedmodels.serving.kubeflow.org created
mutatingwebhookconfiguration.admissionregistration.k8s.io/inferenceservice.serving.kubeflow.org created
role.rbac.authorization.k8s.io/leader-election-role created
clusterrole.rbac.authorization.k8s.io/kfserving-manager-role created
clusterrole.rbac.authorization.k8s.io/kfserving-proxy-role created
rolebinding.rbac.authorization.k8s.io/leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/kfserving-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/kfserving-proxy-rolebinding created
configmap/inferenceservice-config created
configmap/kfserving-config created
secret/kfserving-webhook-server-secret created
service/kfserving-controller-manager-metrics-service created
service/kfserving-controller-manager-service created
service/kfserving-webhook-server-service created
statefulset.apps/kfserving-controller-manager created
validatingwebhookconfiguration.admissionregistration.k8s.io/inferenceservice.serving.kubeflow.org created
validatingwebhookconfiguration.admissionregistration.k8s.io/trainedmodel.serving.kubeflow.org created
Error from server (InternalError): error when creating "install/v0.5.1/kfserving.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=30s: dial tcp <IP_ADDRESS>:443: connect: connection refused
Error from server (InternalError): error when creating "install/v0.5.1/kfserving.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=30s: dial tcp <IP_ADDRESS>:443: connect: connection refused

What did you expect to happen:
I was expecting quick_install to work. It used to work in the past for me.
Environment:

Minikube version: v1.16.0
Kubernetes version: (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.11", GitCommit:"ea5f00d93211b7c80247bf607cfa422ad6fb5347", GitTreeState:"clean", BuildDate:"2020-08-13T15:11:47Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

OS (e.g. from /etc/os-release): MacOS BigSur version 11.3.1

Duplicate


TelegramAgent does not send messages greater then 4096 characters

Hi there!
The Telegram API has a limitation for a message size - 4096 UTF8 characters per message
https://core.telegram.org/method/messages.sendMessage
So, currently, it just does not work for long messages (greater 4096 characters). Messages are disappearing.
Is there any way to send long messages as two or more messages?
P.S: I use scenario DigestAgent -> TelegramAgent, so sometimes messages could be very long
P.P.S: Telegram desktop application just splits long messages and sends it as two or more messages. I think that it is a good idea.
Thanks

That sounds like a reasonable solution, I think we have to modify the Agent to send multiple messages as I don't think it is possible with Liquid or an other Agent.
For now you can use the truncate liquid filter to ensure the first part of the message is send: {{ message | truncate: 4096 }}

You could definitely modify the Ruby TelegramAgent to split messages into 4096 character chunks and send them in batches.

I put in my first stab at this issue. Note - I'm still pretty green with ruby/rails myself and I have very limited knowledge of Telegram's APIs so I'm sure this will probably need a few re-writes before it is acceptable.


Add byte code optimizer to eliminate redundant checks

Add the first stab at creating a byte code optimiser. This will optimise out if statements that it can determine will always be true. This typically happens after an option block, since the the stack pointer is set to 0 if it is in error, and the next statement typically checks for error. That check, and the else branch, is now elided.

@pwagland I finally had time to look at this.
You don’t say how much faster generated parsers become with this change so I ran it through tools/impact:
Speed impact
------------
Before:     736.37 kB/s
After:      821.90 kB/s
Difference: 11.61%

Size impact
-----------
Before:     721156 b
After:      687793 b
Difference: -4.63%

(Measured by /tools/impact with Node.js v4.2.4 on Darwin 15.2.0 x86_64.)

A speedup of 11–12% (the actual value fluctuated a bit on multiple runs) certainly makes the optimization worthwhile.

Now to the implementation. PEG.js bytecode wasn’t really designed to be manipulated, it was mostly meant as a low-level format which would make code generator(s) more flexible and easier to write. As a result, your code pretty much necessarily duplicates a lot of logic from the generator (including fragile things like length and offset computations) and contains some hackish parts (like exprCode parsing).
This made me think whether bytecode is the right level to implement this optimization. It would be probably easier to do it already when the bytecode is generated. I imagine doing it these two steps:

A dedicated pass would tag expressions in the AST with a flags describing whether they always/never match (the flag could be names, say, alwaysMatches and neverMatches).
The bytecode generator would then skip generating branches which are not needed based on the flags.

This solution would avoid fragile bytecode tweaking and would be conceptually simpler (I think).
Now, one can argue that this is an optimization and adding it to the generator would complicate it, violate the single responsibility principle, etc. I actually tend to agree, but I still consider this approach better than the bytecode one. It think the bytecode-based approach would make sense only if we do more optimizations on that level over time, in which case it I’d say let’s invest into uplifting the bytecode representation into something more amenable to manipulation (probably some kind of lower-level AST) and then implement the optimization using that. So my question for you is — do you have any other bytecode-level optimizations in mind, or was this a one-off?
In any case, thanks for the work so far!

@dmajda As to the implementation. Yeah, Your point about it being more or less a copy is a valid one. I had initially aimed to write the optimisations in the original parser, and went a fair way down that road. In the end though, the order of evaluation killed me, since at the point that we are generating byte code, we don't know if the results will be used or not, nor do we know what the previous results are. This was happening since the code is, more or less, generated inside out. This is the reason that I created a new pass, since then I could just walk over the tree in the more or less expected fashion.
That said, this could possibly be solved at generation time by passing more information around, but that didn't jump out at me as to how to do it.
I fully agree that the current code feels fragile. It was quite fragile to write as well, and without a fairly comprehensive test set I would not be sure that I had gotten it right. That said, all of the code generators need to deal with the same level of fragility at this point in time. So any pain suffered in this optimiser will also be suffered by the various 3rd party generators as well. This is also one of the reasons that I didn't implement the next optimisation, as that would have required a new op code, with the ensuing knock on effects.
As to your second question, are there anymore byte code optimisations that I wanted to… yes there was one more, but that will have less impact on the generated code, and would have require a new byte code, which would break all of the current downstream generators. The optimisation was to simply not store results that we know are not going to be further used. There are a number of times that the result is stored, in case it will be used in a function, but it then isn't. Not storing it would save generated code size, and possibly (but unlikely IMO) a little speed. IMO it would make the generated code a little simpler to read, since you would have fewer variables that you need to track to understand the behaviour of it.
The new byte code is needed for this to be able to call a method, but not store the result. At the moment, that is not possible, since the call method byte code implicitly also stores the result.
These two improvements would also knock off some, but not all AFAICT, of the improvements that were discussed in the Google group.

Thanks for your detailed response.

That said, all of the code generators need to deal with the same level of fragility at this point in time. So any pain suffered in this optimiser will also be suffered by the various 3rd party generators as well.

Good point. The uplifting I talked about probably makes sense even without more optimizations on the bytecode level.

The optimisation was to simply not store results that we know are not going to be further used.

Yes, this is an obvious one which I was also thinking about doing (but I postponed that as I intend to focus on optimizations later). Again, this can be done on the AST level since the AST nodes know whether they will use results returned by their child nodes or not. (Actually, this is a bit more complicated, since rules can be used in different contexts where sometimes the result is needed and sometimes not. So two versions of bytecode may need to be generated in some cases.)

Since all the optimizations discussed here apparently can be implemented on the AST level, which I much prefer, I won’t merge the bytecode level implementation and will close this PR. As I said, I consider the optimization worthwhile. If you’d like to reimplement it the AST way, I’m definitely interested and will have a look.

As I said, I consider the optimization worthwhile. If you’d like to reimplement it the AST way, I’m definitely interested and will have a look.

Having already looked at doing it through the AST, I'll warn up front that it feels to me like it is going to be a bigger, albeit cleaner, change. Depending on time et al. I might have a look, I'll drop you a message if/when I decide to look into it.


InternalServerError: no such file or directory when Downloading file with using File Locker.

Describe the bug

When I try to get file in subdirectory, tusd returns 500 response.

To Reproduce
Steps to reproduce the behavior:

Make your tusd server with http://<IP_ADDRESS>:8080/basedir
curl <IP_ADDRESS>:8080/basedir/some/your/sub-directory/file.jpeg
See error: msg=InternalServerError message="open <Eliminated>/some/your/sub-directory/file.jpeg.lock.1967546860: no such file or directory"

Expected behavior

404 Not Found should be right

Setup details
Please provide following details, if applicable to your situation:

Operating System: macOS (but may be in other systems too)
Used tusd version: v2.4.0
Used tusd data storage: disk store (also disk lock)
Used tusd configuration: my custom golang code. and It's not important on this situation.
Used tus client library: No. I just used curl.

func (handler *UnroutedHandler) GetFile(http.ResponseWriter, *http.Request) {
	// ...
	if handler.composer.UsesLocker {
		lock, err := handler.lockUpload(c, id) // <-- (1)
		if err != nil {
			handler.sendError(c, err)
			return
		}

		defer lock.Unlock()
	}
	// ...
}

func (handler *UnroutedHandler) lockUpload(c *httpContext, id string) (Lock, error) {
	// ...
	if err := lock.Lock(ctx, releaseLock); err != nil { // <-- (2)
		return nil, err // <-- (3) *fs.PathError (ENOENT)
	}
	// ...
}

I've tried to open PR, but It looks uncertain where to handle this error.

In lockfile, It doesn't seems to proper to handle "no file".
In func lockUpload(), the lock is abstracted, so it also doesn't look like proper to handle "no file" too.

Thank you for reporting this. I opened https://github.com/tus/tusd/pull/1149 to fix this by including a check in filelocker. I agree with your concerns that this might not be the best place for this check as filelocker should not directly rely on the folder structure that is created by the filestore. However, this is currently already the case and filelocker will put the .lock file next to the .info file in the directory created by filestore. We can revisit this architecture in the future and decide if we want to decouple them more.


[$1000] [HOLD for payment 2023-05-25] Show tasks in LHN

Show 'open' tasks in the LHN
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01abe3d089e176d8e5
Upwork Job ID:<PHONE_NUMBER>481693184
Last Price Increase: 2023-06-02

Working on it

This issue is all ready for payment cc @adelekennedy
Just one payment to @fedirjh
Internal C+ review $1000

@adelekennedy Bump when you get the chance!

@fedirjh sent you the offer on Upwork!

amazing - ended contract, sent 1k


changed displayName to string and imported filtermenu.scss file

#180
Signed-off-by: felizj17<EMAIL_ADDRESS>

Just saw Eds PR resolving this issue


Resolve 'resources exceeded during query execution' error for updated int_all_artifacts model

What is it?
Context
I have made two updates to int_contracts_by_project:

Previously, we only looked for contracts that were deployed by a deployer verified in OSSD. However, some projects have contracts that they still own but did not deploy. The updated version now includes contracts enumerated in OSSD that do not have a deployer in OSSD.

I included a second level of contracts called discovered_contracts, which is an explicit a search for contracts that have been deployed by factories owned by the project. Here's why this appears to be needed:

In the stg_{}_factories models, the originating_address is the EOA that triggered the create request
In the int_derived_contracts model, the originating_address is transformed into the deployer_address, however, the factory_address is not brought through anywhere
Therefore, when we query int_derived_contracts in int_contracts_by_project, we only get first level deployments -- not the second level of a contract deployed by a factory.

Here is an example of Gitcoin showing the first implementation (165 results) and the second implementation (2280 results). The second implementation appears to be correct.

For example, here is a valid contract that was detected only by the second approach.
It was deployed by this factory, which was deployed by this EOA included in OSSD.

Situation
Where we run this, we can get a BigQuery resourcing error, eg:
Database Error in model int_base_contract_invocation_events`

These models are all powered by contract_invocation_events_with_l1.sql
Next steps
We could look upstream for some storage optimization or we could try to refactor contract_invocation_events_with_l1.sql
@ravenac95 curious for your advice!

I think the solution here is probably just materialize more things as tables. My bad for trying to remove that yesterday. It's a safe solution and we shouldn't be too worried about it but if it can be avoided it's much better. Just avoid using incremental unless we know it's important for that dataset.


feat(public-vm): call and return opcodes

Overview
Implement call and return opcodes in the avm
We will have a reserved memory space to use as the call stack, e.g. hypothetically 0x100 -> 0x200. The return pointer will begin at 0x100, then on each call we write the return destination to the stack pointer, increment the pointer, then preform the jump to the new location.
We can assume that JUMP has one operand, which is the dest. This operand MUST be present within intermediate register a.
On a return, we can load the return value by popping from the ret_stack, reading the pc to jump to then setting the next pc to have that value
Note: Not covered
The bytecode constraints will have to do some of the work here to ensure that the value in a is correct.
Spec
Relations
//===== JUMP_RETURN ========================================================
    // The program counter in the next row should be equal to the value loaded from the ia register
    // This implies that a load from memory must occur at the same time
    // Imply that we must load the jump selector into mema
    sel_jump * (ret_ptr' - (ret_ptr + 1)) = 0; // we increment our jump selector
    sel_jump * (ret_ptr - mem_idx_a) = 0;
    sel_jump * (rwa - 1) = 0; // it must be a write
    sel_jump * (mem_op_a - 1) = 0;
    sel_jump * (pc' - ia) = 0;

    // We must load the memory pointer to be the ret_ptr
    sel_ret * (ret_ptr - (ret_ptr - 1)) = 0; // We decremenet out jump selector
    sel_ret * (ret_ptr - mem_idx_a) = 0;
    sel_ret * (pc' - ia) = 0;
    sel_ret * rwa = 0;
    sel_ret * (mem_op_a - 1) = 0;

Columns

We have a selector for the jump sel_jump and return sel_ret
We have a ret_ptr return pointer that keeps track of the head of the return stack in memory
We have a program counter

On a Jump

The return pointer MUST increment
We must write the current program counter value into the current ret_ptr
To do a write we must have the ret_ptr in our intermediate register a
We must have the mem address in mem_ida_a

On a return:

The return pointer MUST decrement
We read the program counter from the ret_ptr memory location (-1) into intermediate reg a
We set pc to the value in intermediate reg

Open questions:
We will need to initialise this return stack as a fixed and reserved part of memory, to do this we will need a way to ensure a boundary condition -> i.e. ret_ptr starts at this reserved location

@Maddiaa0 should this have been auto-closed by #3704 ?

@Maddiaa0 should this have been auto-closed by #3704 ?

Ye


Change the license to BSD-3

Fixes #11
The BSD license is the standard for the vast majority of scientific Python packages.
Adopting it simplifies the inclusion in the main scientific Python package manager (conda, Canopy), and thus adoption in the comunity

I'll leave this open for a day to allow for comments and code reviews


Error with a successful login

TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["user"] at ServerResponse.setHeader (node:_http_outgoing:606:3) at ServerResponse.writeHead (node:_http_server:331:21) at Immediate.
Browser Chrome

This error occurs if the user's first and last name are not Latin characters in the settings


Improve GRADLE build Performance

Parallel builds. This project contains multiple modules. Parallel builds can improve the build speed by executing tasks in parallel. We can enable this feature by setting org.gradle.parallel=true.
Configuration on demand. Configuration on demand tells Gradle to configure modules that only are relevant to the requested tasks instead of configuring all of them. We can enable this feature by setting org.gradle.configureondemand=true.
gradle caching. Shared caches can reduce the number of tasks you need to execute by reusing outputs already generated elsewhere. This can significantly decrease build times. We can enable this feature by setting org.gradle.caching=true.
=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

Hi @shisheng-1
Thank you for the suggestion!
However this app is relatively small. I just checked: even Rebuild takes less than 30 seconds on my PC.
So I don't think that this change is needed here.
I will think about similar changes in other apps though...
Please also note that this repository is not main already. the app (the Calendar widget) is "ToDo Agenda" now with its new repository: https://github.com/andstatus/todoagenda


Misc UI fixes, add secondary color

Add secondary color, primarily used in arc-green currently
Convert icons on release page to SVG
Improve resolved conversation placeholder
Diff fixes on arc-green
Misc color tweaks

Bundled in another change, the introduction of --color-secondary which makes more sense to me than --color-border introduced earlier.
Primarily used in arc-green currently. We may be able to use it in the gitea theme more but I guess for that we'll need to either alter fomantic's theme or preprocess fomantic.

🚀


[next][dialog] static usage implementation

Initial PoC implementation of using <forge-dialog> statically
Still supports dynamic usage as well
Breaking change introduced because setting the open property to true will no longer automatically append the <forge-dialog> element to the DOM. This is up to developers and adapter libraries to handle now.

The Storybook demo will not work until we update the forge-react lib to append the <forge-dialog> element to the DOM, but it also needs to be updated in general to support the static usage expectation anyway.


Update akka-stream-testkit, akka-testkit to 2.6.8

Updates

com.typesafe.akka:akka-stream-testkit
com.typesafe.akka:akka-testkit

from 2.6.6 to 2.6.8.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: library-update, semver-patch

Superseded by #68.

Superseded by #68.


refactor: require password to view secret key

Try out this version of the Hiro Wallet - download extension builds.

Finishing up work started with: https://github.com/hirosystems/stacks-wallet-web/pull/2519
cc/ @kyranjamie @fbwoolf

@kyranjamie this one has been sitting for awhile waiting to release ledger, can you review it at some point so we can merge it? I see there is a failing test, so I'll look at that today.


JSON columns dont appear to be working

I have a model with a json column. As usual I have $casts = ['json_column' => 'array'] in the model definition, but for some reason every time I try to save/update the model I get this error
Value of type STRING cannot be assigned to data, which has type JSON

There is no good solution to this.
The query builder has no way of distinguishing between a normal string and a json string.

Spanner didn't have JSON types initially (2019) and we just stored JSON as STRING(MAX).
That was good enough for our use case.
I'll update the docs to say it's not supported for the moment.

PR is always welcome btw.

I haven't dealt with custom database/eloquent drivers before so its hard to follow the chain of how data is set/escaped before being passed to the execute statement.
I am trying to work out how the escape functions work here:
https://github.com/colopl/laravel-spanner/blob/724159abe1ee844fd4cec7d16c08c50d4d200d7e/src/Connection.php#L419C3-L442C6
I was thinking perhaps if you pass an associative array, the escapeArray() method, instead of throwing an exception, could treat it as JSON?
But in my experimenting it doesnt even seem that the escapeArray() method gets called, at least not before this
https://github.com/colopl/laravel-spanner/blob/724159abe1ee844fd4cec7d16c08c50d4d200d7e/src/Connection.php#L319

I am trying to work out how the escape functions work here

From what I can recall, escape is only used for the Builder::toRawSql which is only really used for logging and debugging.

I was thinking perhaps if you pass an associative array, the escapeArray() method, instead of throwing an exception, could treat it as JSON?

That could potentially work but you might need to pass it as an object since empty arrays can't be treated as assoc array.

The solution is a custom Cast with a custom ValueInterface, as per this comment
https://github.com/colopl/laravel-spanner/pull/154#issuecomment-1849330874
Should add this to the docs


MultiGrid with Infinite Loader

I want to use pagination using infinite loading but strangely there are no examples shown to achieve the same.
It's a very common use case to implement pagination into MultiGrid. Can you please provide information or resources on the same?

There are various examples in the repo and documentation for how to use the components. Although there are no examples for the specific combination you've requested, I think you can probably infer it form the other docs.
It's a lot of work to maintain docs and providing examples for all combinations of RV components would be a big burden. I'm sorry! You're welcome to contribute docs to the repo if you'd like to put together a PR though!

I implemented infinite loading with MultiGrid, and it did turn out to be similar to other examples, in particular Grid + Infinite loading.
I started with the example here:
https://github.com/bvaughn/react-virtualized/issues/516#issuecomment-269643156
The only difference I found is that you can pass rowStartIndex and rowStopIndex directly as the startIndex & stopIndex parameters, there's no need to multiply by column counts or add column offsets. Here's what I ended up with:
`_onSectionRendered ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }) {
const startIndex = rowStartIndex;
const stopIndex = rowStopIndex;
this._onRowsRendered({ startIndex, stopIndex });
}`

@bvaughn can you please provide me a working example of Multigrid with infinite loader and autosizer involved. I would like to fetch new data from api on scroll. thanks in advance :)

InfinityLoader with AutoSizer:
<AutoSizer onResize={this.onResize}>
        {({ width, height }) => {
          return (
            <InfiniteLoader {...infiniteLoaderProps}>
              {loaderProps =>
                this._infiniteLoaderChildFunction(loaderProps, width, height)
              }
            </InfiniteLoader>
          );
        }}
      </AutoSizer>

  _infiniteLoaderChildFunction = (
    { onRowsRendered, registerChild },
    width,
    height,
  ) => {
    this._onRowsRendered = onRowsRendered;
    const {
      rowHeight,
      gridProps,
      onScroll,
      data,
      columns,
      overscanRowCount,
    } = this.props;
    const rowCount = data.length + 1; // data + header

    return (
      <MultiGrid
        {...gridProps}
        onSectionRendered={this._onSectionRendered}
        ref={registerChild}
        cellRangeRenderer={this.props.cellRangeRenderer}
        cellRenderer={this.renderCell}
        columnWidth={this.getColumnWidth}
        columnCount={columns.length}
        height={height}
        rowHeight={rowHeight}
        rowCount={rowCount}
        width={width}
        onScroll={onScroll}
        overscanRowCount={overscanRowCount}
        data={data}
        columns={columns}
      />
    );
  };

  _onSectionRendered = ({
    columnStartIndex,
    columnStopIndex,
    rowStartIndex,
    rowStopIndex,
  }) => {
    const { columns } = this.props;

    const startIndex = rowStartIndex * columns.length + columnStartIndex;
    const stopIndex = rowStopIndex * columns.length + columnStopIndex;

    this._onRowsRendered({
      startIndex,
      stopIndex,
    });
  };


Enhances Roundstart Antagonist Selection yadda yadda yadda

I noticed upstream antag selection is still iffy so there you go.
You already made it slightly better but this makes ChooseAntags significantly better.
No public API changes besides adding stuff, to not cause breakage.
Waiting for the A. I. to spot all my flaws and condemn me to hell.
The same as this, adapted to goob:
https://github.com/Simple-Station/Einstein-Engines/pull/1339
No testing made. At least I don't lie about it.
Cheers

About the PR

Why / Balance

Technical details

Media

Requirements

[ ] I have read and am following the Pull Request and Changelog Guidelines.
[ ] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

tweak: Enhances roundstart antagonist selection making sure all slots are allocated

May or may not be useful for this, #1142 the author of bloodcult was complaining about not enough antags getting assigned.

Am fixing the broken test TryStopNukeOpsFromConstantlyFailing

That test is fixed, now lets see of it didn't break something else.

I'll test this before merging... eventually. 'Tis the season to be busy.

john station did it


[rcore] The content can't be rendered correctly in fullscreen mode.

Issue description
Upon calling ToggleFullScreen(), the scale of content doesn't seem correct.
After calling ToggleFullScreen(), other applications with maximized window would be resized to different resolution.
I found that in rcore_desktop.c, the width and height of the parameter in glfwSetWindowMonitor() are as same as the original window screen. This will cause that glfw make the monitor switch to the video mode closest to it, that is, if the window size is (800, 600) and full resolution is (1920, 1080), it will change the video mode to which is closest to (800,600) rather than (1920, 1080).
https://github.com/raysan5/raylib/blob/2e774432090db1be697d2e4e5f49ea91ca038cd3/src/platforms/rcore_desktop.c#L168-L174
@raysan5 Is this an error? I don't see something like this in rcore_desktop_sdl.c.
Environment
Platform backend: DESKTOP (GLFW)
OS: Windows 11 (msys2)
Code Example
example/core_window_flag.c

else
{
    CORE.Window.fullscreen = true;
    CORE.Window.flags |= FLAG_FULLSCREEN_MODE;

    const GLFWvidmode *mode = glfwGetVideoMode(monitor);
    glfwSetWindowMonitor(platform.handle, monitor, 0, 0, mode->width, mode->height, GLFW_DONT_CARE);
}

Use the width and height of mode of the monitor can solve it.

Is this an error? I don't see something like this in rcore_desktop_sdl.c.

@archewashi This is not an error but the expected behaviour. When an application requests full-screen exclusive mode, the monitor resolution should match (as close as possible) the application resolution.
If that's not the desired behaviour, then borderless-fullscreen-window should be requested with ToggleBorderlessWindowed() that scales application to monitor resolution.


Requesting Ownership of Repo

My focus in OpenSearch is on search applications/relevance and there is certainly a need to improve opensearch.org search. There is no owner of this repo at the moment and the opensearch.org search can use some help in search relevance. We may take a look at reworking this feature in the future or evolving and tweaking it to produce better results.
At the very least, this repo needs an owner who can handle managing contributors, maintainers, security, and community involvement.
Please let me know if there are concerns/questions about this.
@opensearch-project/admin

No concerns!


RCM problem with LUTs indexes

Use case 1
We encountered an inconsistency in an orbit-descending product, where two Level 2 products, derived from the same Level 0 acquisition, had different NRCS  values (here VV is shown) :

According to the "RCM Image Product Format Definition" (Section 4.2.1), it's crucial to correctly align the indices when reading Look-Up Tables (LUTs). We discovered that the alignment was performed twice for the LUTs, in the assign_index and flip_sample_da functions, respectively.
By modifying the flip_sample_da function as follows:
samples_depending_ds = ['geolocationGrid', 'lut', 'noise_lut']
samples_depending_ds = ['geolocationGrid']

we eliminated the redundant operation and successfully aligned the LUTs with the correct samples, resolving the inconsistency.

i will present another example soon.

https://github.com/umr-lops/xsar/pull/224/commits/1e51f25d70541723d5c7c42b434b95cdb4c656d1
should solve


Update config for docs

I sorted options to https://www.sphinx-doc.org/en/master/usage/configuration.html

did u try to remove _build first?

I tried that (and also did a full reload with Strg+Shift+R), but that did not help.


Implement onChange() as a derived function

React-native-reanimated contains an undocumented onChange() function that was actually never implemented. It seems to rely on a native implementation that is currently missing. In my usage of react-native-reanimated, I've found that such an operation is actually quite useful to track gesture-state changes, or to call a JS callback when an animated value has changed for example.
This pull request implements this operation as a derived JS function, eliminating the need for native code.

Hi, @simontreny
How about call node?
[
  cond(neq(prev, curr), call([], () =>  /* do sth */ ),
  set(prev, curr)
]

I submitted https://github.com/simontreny/react-native-reanimated/pull/1 which updates the typescript definition to reflect this change (as onChange returns an AnimatedNode<T> instead of AnimatedNode<undefined> now)

@simontreny or @ckknight
Would you be so nice add add ts definitions?


Search ux improvements

Changes
Defaulting to search when entering on the url bar
Making the exact url stand out more on the search page.

error An unexpected error occurred: "/home/travis/build/lbryio/lbry-desktop/package.json: Unexpected token < in JSON at position 1754".
Looks like you have some unresolved merge conflicts checked in

Sorry @skhameneh this wasn't ready for a review quite yet. And I rebased on the related content branch. Forgot to remove that.

@skhameneh Ready for a review for real this time 🙂


LOIs not updating in app after being changed in backend

Can't repro - this appears to have already been fixed. Updating the coordinates or name of an LOI in the db, on a survey with few LOIs the UI takes about 3-4 sec to reload.


Composite keys

I am using Multicorn with Rails to interact with our MSSql DB.
Everything works perfectly, except for DELETING (yes, delete only) with tables that use composite key: primary key (key1, key2).
With Multicorn, we can only specify one primary key. I tried specifying the primary key as KEY1, and the foreign key as KEY2. However, when I remove an entry (DELETE FROM table WHERE key1='xxxx' and key2='yyyy'), it deletes all rows where key1='xxxx'.
Has anyone ran into this issue and has anyone found a fix?

I had a similar situation (although using a custom fdw) where 2 columns together uniquely identified charges. My solution was to create a new column in PSQL that was equal to col1*2^32+col2. Assuming that both columns are ints, this makes it so the first 32 bits are the first column and the second 32 are the second column. Since this was handled at the data wrapper level, if you took this approach it would be fairly simple to separate the columns for comparisons against the database.


Jacobian convention

Note that the returned Jacobian must be consistent with the direction passed in rev.

Maybe it gives room for misunderstanding:
We want the jacobian of the inverse, which is the same as the jacobian of the forward with the sign flipped.
It could also be taken to mean, for the inverse, you have to additionally flip the sign of the (already inverse) jacobian.
I think for blocks other than coupling blocks, it might be confusing. (Just a minor thing though, i would not have a problem with merging as is)

Yes, this should be clear. I made some corrections.

From my side, this is ready.


Allow path expressions as task(pool_size)

This PR relaxes pool_size to allow paths to constants. Unfortunately, this also means that the attribute now accepts arbitrary paths, meaning the attribute may cause compile errors not constructed by syn/darling/embassy (e.g. use of undeclared module, etc.).
The intent of this PR is to allow controlling both the pool size, and the length of some global resource array with the same constant.

What about allowing pool size to be a const?

Could you add an example (any chip) that uses the new pool_size style? That'll double a CI check so we don't break it in the future.
Also, update to syn 2. nice! :heart:

Huh, I got spoofed by a local failure but this seems to work well. We can now do stuff like #[task(pool_size = CONSTANT - 1)] for example, as long as the expression evals to a usize.


Feature reconnect on error

We were reorganising our clone and this forced the pull request to close.
This is the same feature branch as https://github.com/Koed00/django-q/pull/207

Codecov Report

Merging #223 into master will decrease coverage by 5.47%.
The diff coverage is 92.3%.

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
- Coverage   96.65%   91.17%   -5.48%
==========================================
  Files          40       40
  Lines        2692     2743      +51
==========================================
- Hits         2602     2501     -101
- Misses         90      242     +152

Impacted Files
Coverage Δ

django_q/brokers/disque.py
98.11% <100%> (+0.11%)
:white_check_mark:

django_q/status.py
100% <100%> (+2.59%)
:white_check_mark:

django_q/brokers/init.py
93.87% <100%> (-4.96%)
:x:

django_q/brokers/redis_broker.py
96.29% <100%> (+0.55%)
:white_check_mark:

django_q/brokers/mongo.py
100% <100%> (ø)
:white_check_mark:

django_q/tests/test_cluster.py
100% <100%> (ø)
:white_check_mark:

django_q/tests/test_brokers.py
72.51% <73.33%> (-27.08%)
:x:

django_q/brokers/aws_sqs.py
0% <0%> (-100%)
:x:

django_q/brokers/ironmq.py
0% <0%> (-94.74%)
:x:

... and 1 more

Continue to review full report at Codecov.

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


Escape embedded TOML in profilesByName properly

Fixed

Escape TOML output in profilesByName using a combination of str::{escape_debug,replace}.

The Tera templating code for profilesByName hadn't been rigorously tested, and as such, it didn't perform proper escaping of sensitive characters (e.g. ${, ", and so on) before embedding the unsanitized TOML into a double-quoted Nix string in the Cargo.nix. This string might also contain newlines or other control characters which would need to be escaped as well.
This commit utilizes String::escape_debug() to perform the bulk of the escaping work, sanitizing common control characters such as \n, \r, and \t, and then we also replace all instances of ${ with \${ to avoid accidental string interpolation of variables.
This bug was first introduced in #80, when we first ported cargo2nix to use Tera for templating.
Fixes #120. CC @philipstears

An alternative approach to this problem could be to replace the TOML with a multi-line '' string in templates/Cargo.nix.tera:22, which could reduce the amount of codegen-time escaping needed. I'm looking into this.

Just had to rebase this branch after merging #119, and I needed to regenerate the Cargo.nix expressions and examples' version pins because they seem to have been accidentally destroyed mid-rebase while addressing changes on that PR. Would you mind reviewing again, @trha?

I just had a quick test of this against my original scenario, which was the following in my Cargo.toml
[profile.release]
lto = "fat"

And it worked perfectly. Thanks.

Sweet! Glad it fixed the problem, @philipstears.


THREE.WebGLRenderer: Context lost

Hi, many thanks for the component.
I tried to use in ionic 5 but the scene couldn't render. Lot's of warning from the console:
THREE.WebGLRenderer: Context lost
THREE.WebGLRenderer: Context restored....
Any suggestion?

It turned out to be my virtual machine didn't support webgl.


Help button on marketplace taskbar does not work

Version Info
19.0 2021/01/19
Describe the bug
Help button on marketplace taskbar does not work
How to Reproduce
Steps to reproduce the behavior:

login as supplier on oscm-portal
goto marketplace
click "Help" on taskbar but nothing happens

Screenshots

I tested what could be the cause. The "Help" button does not work on the default port. It works on port 8081.
@GoebelL  could you please tell us how are we to deal with this mistake?

I tested what could be the cause. The "Help" button does not work on the default port. It works on port 8081.
@GoebelL  could you please tell us how are we to deal with this mistake?

Hi @KabacinskiPiotr @elfriedegoetz
The cause of this bug is that the proxy rule for 'oscm-portal-help' is missing in the nginx configuration.
As workaround you can add it in the file on your host.
vi /docker./config/oscm-proxy/data/proxy.conf

Insert following section behind the 'location /portal { ... }' rule.
location /oscm-portal-help {
        proxy_pass https://oscm-core:8081/oscm-portal-help/;
        proxy_set_header Host            $host;
        proxy_set_header X-Forwarded-For $remote_addr;
        client_max_body_size 50m;
    }

Restart the proxy
docker-compose -f ./proxy/docker-compose-proxy.yml restart

Of course proxy has to work out of the box. Therefore a fix is needed. In order to make this permanent, the rule has to inserted  here in the proxy.conf.template.

Hi @KabacinskiPiotr @elfriedegoetz
The cause of this bug is that the proxy rule for 'oscm-portal-help' is missing in the nginx configuration.
As workaround you can add it in the file on your host.
vi /docker./config/oscm-proxy/data/proxy.conf

Insert following section behind the 'location /portal { ... }' rule.
location /oscm-portal-help {
        proxy_pass https://oscm-core:8081/oscm-portal-help/;
        proxy_set_header Host            $host;
        proxy_set_header X-Forwarded-For $remote_addr;
        client_max_body_size 50m;
    }

Restart the proxy
docker-compose -f ./proxy/docker-compose-proxy.yml restart

Of course proxy has to work out of the box. Therefore a fix is needed. In order to make this permanent, the rule has to inserted  here in the proxy.conf.template.

help works fine with 19.1 2021/01/27

help works fine with 19.1 2021/01/27


formatting issue indenting in the wrong place

basically the issue goes like this if you have an "if" in the msgbox line it will indent the row underneath
and format it like this
a() {
    Msgbox, if the problem....
    }

remove that "if"
and it indents correctly
a() {
    Msgbox, the problem....
}

here is a link to a video displaying the problem
https://i.imgur.com/pDES4Az.gif

Closed in v3.0.0 and AHK++ v3.1.0


Create Index statement missing from Create Index page

Where's the bit where you create an index?  You tell us how to alter an index, but there's no create in there, I don't believe.
[Enter feedback here]

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

ID: 4f616e6e-0d3b-6bc8-00e6-29fae2b8c76e
Version Independent ID: 44a3d3de-b042-fe8c-fd1c-105440bc1e73
Content: Specify Fill Factor for an Index - SQL Server
Content Source: docs/relational-databases/indexes/specify-fill-factor-for-an-index.md
Service: sql
Sub-service: table-view-index
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@davimack -- David, thank you for your feedback.  The article referenced in this issue is Specify Fill Factor for an Index - SQL Server.
See Create a clustered index and the subsequent articles.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


[CLOUD_FIRESTORE]: Seconds are not considered on clause isGreaterThanOrEqualTo on Windows

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Database
Which platforms are affected?
Windows
Description
Cloud firestore is not considering seconds when querying records using the parameter isGreaterThanOrEqualTo.
It happens only on Windows. It works on macOS and iOS for example.
Reproducing the issue
Let's suppose I have the records below:
record 1: 2024-06-17 08:55:48
record 2: 2024-06-17 08:56:13
record 3: 2024-06-17 09:13:27

and I make the query as follows:

list:
isGreaterThanOrEqualTo : 2024-06-17 08:55:23

record 1 is not returned. Only records 2 and 3 are returned
It happens only on Windows. It works on macOS and iOS for example.
Firebase Core version
2.30.1
Flutter Version
3.22.2
Relevant Log Output
No response
Flutter dependencies

Expand Flutter dependencies snippet

Dart SDK 3.4.3
Flutter SDK 3.22.2
minhasfinancas 1.2406.113+113

dependencies:
- app_tracking_transparency 2.0.5 [flutter]
- archive 3.6.1 [crypto path]
- background_downloader 8.5.2 [flutter logging http path_provider path async mime collection]
- cached_network_image 3.3.1 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image]
- cloud_firestore 5.0.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- collection 1.18.0
- community_material_icon 5.9.55 [flutter]
- connectivity_checker 1.1.0 [flutter provider]
- crypto 3.0.3 [typed_data]
- csv 5.1.1
- cupertino_http 1.5.0 [async ffi flutter http http_profile web_socket]
- cupertino_icons 1.0.8
- currency_picker 2.0.21 [flutter collection]
- d_chart 2.6.9 [flutter community_charts_flutter community_charts_common]
- data_table_2 2.5.15 [flutter async]
- device_info_plus 10.1.0 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta web win32 win32_registry]
- dotted_line 3.2.2 [flutter]
- dropdown_button2 2.3.9 [flutter meta]
- encrypt 5.0.3 [args asn1lib clock collection crypto pointycastle]
- event_bus 2.0.0
- excel 2.1.0 [archive xml collection equatable]
- expansion_widget 0.0.3 [flutter]
- extension_google_sign_in_as_googleapis_auth 2.0.12 [flutter google_sign_in googleapis_auth http meta]
- fancy_password_field 2.0.6 [flutter password_strength]
- file_picker 6.2.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32]
- firebase_auth 5.1.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 3.1.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 4.0.1 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_messaging 15.0.1 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 12.0.1 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- firedart 0.9.8 [http grpc protobuf fixnum]
- fl_chart 0.67.0 [equatable flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_email_sender 6.0.3 [flutter]
- flutter_grid_button 2.1.0 [flutter]
- flutter_local_notifications 16.3.3 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_secure_storage 9.2.2 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta]
- flutter_simple_calculator 2.3.0 [flutter intl flutter_grid_button auto_size_text math_expressions]
- flutter_social_textfield 0.1.2 [flutter]
- flutter_styled_toast 2.2.1 [flutter flutter_localizations]
- flutter_svg 2.0.10+1 [flutter http vector_graphics vector_graphics_codec vector_graphics_compiler]
- flutter_timezone 1.0.8 [flutter_web_plugins flutter js]
- get 4.6.6 [flutter]
- google_mobile_ads 5.1.0 [meta flutter webview_flutter_android webview_flutter_wkwebview webview_flutter]
- http 1.2.1 [async http_parser meta web]
- image_cropper 5.0.1 [flutter image_cropper_platform_interface image_cropper_for_web]
- image_picker 1.1.2 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows]
- in_app_purchase 3.2.0 [flutter in_app_purchase_android in_app_purchase_platform_interface in_app_purchase_storekit]
- in_app_review 2.0.9 [flutter in_app_review_platform_interface]
- intl 0.19.0 [clock meta path]
- json_annotation 4.9.0 [meta]
- just_the_tooltip 0.0.12 [flutter]
- local_auth 2.2.0 [flutter local_auth_android local_auth_darwin local_auth_platform_interface local_auth_windows]
- lottie 3.1.2 [archive flutter http path vector_math]
- mask_text_input_formatter 2.9.0 [flutter]
- mime 1.0.5
- modal_bottom_sheet 2.1.2 [flutter]
- ntp 2.0.0
- open_app_file 4.0.2 [flutter ffi]
- package_info_plus 6.0.0 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface web win32]
- path 1.9.0
- path_provider 2.1.3 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- pdf 3.10.8 [archive barcode bidi crypto image meta path_parsing vector_math xml]
- percent_indicator 4.2.3 [flutter]
- persistent_bottom_nav_bar_v2 5.2.3 [flutter go_router]
- progress_dialog_null_safe 1.0.7 [flutter]
- provider 6.1.2 [collection flutter nested]
- r_logger 0.3.0 [flutter intl]
- release_notes_dialog 2.0.0 [flutter]
- retry 3.1.2
- share_plus 9.0.0 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi web win32]
- shared_preferences 2.2.3 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- sprintf 7.0.0
- sqflite 2.3.3+1 [flutter sqflite_common path]
- sqflite_common_ffi 2.3.3 [sqlite3 sqflite_common synchronized path meta]
- sqlite3_flutter_libs 0.5.23 [flutter]
- sticky_headers 0.3.0+2 [flutter]
- synchronized 3.1.0+1
- tab_indicator_styler 2.0.0 [flutter]
- timezone 0.9.3 [path]
- tutorial 1.0.9 [flutter]
- universal_disk_space 0.2.3 [universal_io]
- url_launcher 6.3.0 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 4.4.0 [crypto sprintf meta fixnum]
- window_manager 0.3.9 [flutter path screen_retriever]

dev dependencies:
- build_runner 2.4.11 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_lints 3.0.2 [lints]
- json_serializable 6.8.0 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- msix 3.16.7 [args yaml path package_config get_it image pub_semver console cli_util]

transitive dependencies:
- _fe_analyzer_shared 67.0.0 [meta]
- _flutterfire_internals 1.3.37 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 6.4.1 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.5.0
- asn1lib 1.5.3
- async 2.11.0 [collection meta]
- auto_size_text 3.0.0 [flutter]
- barcode 2.2.8 [meta qr]
- bidi 2.0.10
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.4.1 [analyzer async convert crypto glob logging meta package_config path]
- build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 4.0.2 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.4.2 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml]
- build_runner_core 7.3.1 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.9.2 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 4.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.2.0 [cached_network_image_platform_interface flutter flutter_cache_manager]
- characters 1.3.0
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- cli_util 0.4.1 [meta path]
- clock 1.1.1
- cloud_firestore_platform_interface 6.2.7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 4.0.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins]
- code_builder 4.10.0 [built_collection built_value collection matcher meta]
- community_charts_common 1.0.4 [intl collection meta vector_math]
- community_charts_flutter 1.0.4 [collection meta community_charts_common flutter]
- console 4.1.0 [vector_math]
- convert 3.1.1 [typed_data]
- cross_file 0.3.4+1 [meta web]
- dart_style 2.3.6 [analyzer args collection path pub_semver source_span]
- dbus 0.7.10 [args ffi meta xml]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- equatable 2.0.5 [collection meta]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.2
- file 7.0.0 [meta path]
- file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.4 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.2 [cross_file flutter http plugin_platform_interface]
- file_selector_windows 0.9.3+1 [cross_file file_selector_platform_interface flutter]
- firebase_auth_platform_interface 7.4.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.12.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser meta web]
- firebase_core_platform_interface 5.1.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.17.2 [firebase_core_platform_interface flutter flutter_web_plugins meta web]
- firebase_crashlytics_platform_interface 3.6.37 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.5.39 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.8.9 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins meta web]
- firebase_storage_platform_interface 5.1.24 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.9.9 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http meta web]
- fixnum 1.1.0
- flutter_cache_manager 3.3.1 [clock collection file flutter http path path_provider rxdart sqflite uuid]
- flutter_local_notifications_linux 4.0.0+1 [dbus ffi flutter flutter_local_notifications_platform_interface path xdg_directories]
- flutter_local_notifications_platform_interface 7.1.0 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.20 [flutter]
- flutter_secure_storage_linux 1.2.1 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 3.1.2 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.1.2 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.2.1 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js]
- flutter_secure_storage_windows 3.1.2 [ffi flutter flutter_secure_storage_platform_interface path path_provider win32]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math leak_tracker_flutter_testing async boolean_selector characters collection leak_tracker leak_tracker_testing material_color_utilities meta source_span stream_channel string_scanner term_glyph vm_service]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math]
- frontend_server_client 4.0.0 [async path]
- get_it 7.7.0 [async collection meta]
- glob 2.1.2 [async collection file path string_scanner]
- go_router 13.2.5 [collection flutter flutter_web_plugins logging meta]
- google_identity_services_web 0.3.1+1 [meta web]
- google_sign_in 6.2.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- google_sign_in_android 6.1.24 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.7.6 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.4.5 [flutter plugin_platform_interface]
- google_sign_in_web 0.12.4 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http web]
- googleapis_auth 1.6.0 [args crypto google_identity_services_web http http_parser]
- graphs 2.3.1 [collection]
- grpc 3.2.4 [archive async crypto fixnum googleapis_auth meta http http2 protobuf clock]
- http2 2.3.0
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- http_profile 0.1.0
- image 4.2.0 [archive meta xml]
- image_cropper_for_web 3.0.0 [flutter flutter_web_plugins image_cropper_platform_interface js]
- image_cropper_platform_interface 5.0.0 [flutter plugin_platform_interface http]
- image_picker_android 0.8.12+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 3.0.4 [flutter flutter_web_plugins image_picker_platform_interface mime web]
- image_picker_ios 0.8.12 [flutter image_picker_platform_interface]
- image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_platform_interface 2.10.0 [cross_file flutter http plugin_platform_interface]
- image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface]
- in_app_purchase_android 0.3.6+1 [collection flutter in_app_purchase_platform_interface json_annotation]
- in_app_purchase_platform_interface 1.4.0 [flutter plugin_platform_interface]
- in_app_purchase_storekit 0.3.16 [collection flutter in_app_purchase_platform_interface json_annotation]
- in_app_review_platform_interface 2.0.5 [flutter url_launcher plugin_platform_interface platform]
- io 1.0.4 [meta path string_scanner]
- js 0.6.7 [meta]
- leak_tracker 10.0.4 [clock collection meta path vm_service]
- leak_tracker_flutter_testing 3.0.3 [flutter leak_tracker leak_tracker_testing matcher meta]
- leak_tracker_testing 3.0.1 [leak_tracker matcher meta]
- lints 3.0.0
- local_auth_android 1.0.39 [flutter flutter_plugin_android_lifecycle intl local_auth_platform_interface]
- local_auth_darwin 1.3.1 [flutter intl local_auth_platform_interface]
- local_auth_platform_interface 1.0.10 [flutter plugin_platform_interface]
- local_auth_windows 1.0.10 [flutter local_auth_platform_interface]
- logging 1.2.0
- matcher 0.12.16+1 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.8.0 [collection]
- math_expressions 2.5.0 [vector_math]
- meta 1.12.0
- nested 1.0.0 [flutter]
- octo_image 2.0.0 [flutter]
- package_config 2.1.0 [path]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- password_strength 0.2.0
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.2.5 [flutter path_provider_platform_interface]
- path_provider_foundation 2.4.0 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.2 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- petitparser 6.0.2 [meta]
- platform 3.1.5
- plugin_platform_interface 2.1.8 [meta]
- pointycastle 3.9.1 [collection convert js]
- pool 1.5.1 [async stack_trace]
- protobuf 3.1.0 [collection fixnum meta]
- pub_semver 2.1.4 [collection meta]
- pubspec_parse 1.3.0 [checked_yaml collection json_annotation pub_semver yaml]
- qr 3.0.1 [meta]
- rxdart 0.27.7
- screen_retriever 0.1.9 [flutter]
- share_plus_platform_interface 4.0.0 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- shared_preferences_android 2.2.3 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.4.0 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.3.2 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.3.2 [flutter plugin_platform_interface]
- shared_preferences_web 2.3.0 [flutter flutter_web_plugins shared_preferences_platform_interface web]
- shared_preferences_windows 2.3.2 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.4.1 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 2.0.0 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.5.0 [analyzer async build dart_style glob path source_span yaml]
- source_helper 1.3.4 [analyzer collection source_gen]
- source_span 1.10.0 [collection path term_glyph]
- sqflite_common 2.5.4 [synchronized path meta]
- sqlite3 2.4.3 [collection ffi meta path web]
- stack_trace 1.11.1 [path]
- stream_channel 2.1.2 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.7.0 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- timing 1.0.1 [json_annotation]
- typed_data 1.3.2 [collection]
- universal_io 2.2.2 [collection meta typed_data]
- url_launcher_android 6.3.3 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.3.0 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.1.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.2.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.3.2 [flutter plugin_platform_interface]
- url_launcher_web 2.3.1 [flutter flutter_web_plugins url_launcher_platform_interface web]
- url_launcher_windows 3.1.1 [flutter url_launcher_platform_interface]
- vector_graphics 1.1.11+1 [flutter http vector_graphics_codec]
- vector_graphics_codec 1.1.11+1
- vector_graphics_compiler 1.1.11+1 [args meta path_parsing xml vector_graphics_codec path]
- vector_math 2.1.4
- vm_service 14.2.1
- watcher 1.1.0 [async path]
- web 0.5.1
- web_socket 0.1.5 [web]
- web_socket_channel 3.0.0 [async crypto stream_channel web web_socket]
- webview_flutter 4.8.0 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]
- webview_flutter_android 3.16.4 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 2.10.0 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 3.13.1 [flutter path webview_flutter_platform_interface]
- win32 5.5.1 [ffi]
- win32_registry 1.1.3 [ffi win32]
- xdg_directories 1.0.4 [meta path]
- xml 6.5.0 [collection meta petitparser]
- yaml 3.1.2 [collection source_span string_scanner]

Additional context and comments
No response

Hello @ciceromsjr, thanks for reporting. Are you querying using DateTime or Timestamps directly? There is a loss of precision when using DateTime that doesn't happens with the Timestamp class.

Hello @Lyokone , I'm doing this way:

I have a DateTime object and convert it to Timestamp to query.
Thanks for answering.

Hi, @Lyokone
ChatGPT
I have discovered that the issue lies not with the query itself, but rather with the date and time returned in the updatedTimeMillis attribute for files on Windows. It appears that the returned time is inaccurate. I couldn't identify a pattern, but I observed that the returned time, both for updatedTimeMillis and creationTimeMillis, is consistently a few seconds ahead of the actual value.
Is it better to edit the title of this issue with new evidence or open a new one in this case?

Thanks for looking into it, I wasn't able to find issue with our Timestamp parsing, but I'll have a look at how we are returning those.


ci: lint format cspell before pushing

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows conventional commit format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Other... Please describe: Run automation format code when pushing code to git.

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to deploy Hug app?

Context
Now that Python 3 is supported (congrats!), how might we use Zappa to deploy apps that provide RESTful services via Hug rather than Flask or Django?

Zappa supports WSGI apps. According to documentation of a framework of your choice it exposes WSGI app (callable).
It's a matter of pointing this app in your zappa_settings.{json,yaml}:
app_function: 'your_module.__hug_wsgi__'.
Everything said here is valid under assumption that what __hug_wsgi__ is really WSGI compatible callable. If not you have to wrap it in some other function, eg.:
def zappa_app(app, environ):
    wsgi_app = your_module.__hug_wsgi__
    # Do necessary steps to comply with the standard
    # ...
    return wsgi_app(app, environ)

and point that in your zappa_settings.{json,yaml}.

Thanks @marcinzaremba
Related:
https://github.com/Miserlou/Zappa/issues/798
https://github.com/Miserlou/Zappa/issues/801

Thanks - simply telling zappa init that the modular path  to your app's function is <my_module>.__hug_wsgi__ works like a charm!


Remove bindenv call to keep the original scope on callbacks

Yeah, this looks completely appropriate. I'm fine with merging this if you've used it and confirmed that the callback is in the correct scope when it is called.

I can confirm this.

merged!


[Added / typo in the doc/submitting_code.md file]

I have added / symbol in doc/submitting_code.md file [line:2]

I don't see a dev/main branch in the microsoft/terminal repo; this link gives error 404: https://github.com/microsoft/terminal/commits/dev/main
Is the dev/main branch instead in a Microsoft private OpenConsole repo? If so, that's not really clear from the document.


Make @Mock annotation available

Students should be able to use @Mock annotation from Mockito.

I want to work on this.

It's yours, @AtillaColak!
You may have to bring another dependency to the project. I'm not sure where @Mock lives, probably in some mockito-junit library!


fix(executor): Resource template gets incorrect plural for certain types

Fixes #9393

re: forking the implementation it's not terribly much to fork and with a comment maybe it's okay, but using this function directly was suggested in the client-go bug because this is what is used by the tools that generate things like DeepCopy in controller-gen and a lot of other boiler plate code.  Personally I wouldn't want to split away from that logic, but I do understand it's a small bit of code to add a whole dependency for.  So whichever you guys feel happier with I'm happy to do.
This is the function implementation just to make things simple.  There are a handful of calls out, but it's not massive.  It is more than I would want to copy and paste personally, but again up to you guys.
// Name returns the plural form of the type's name. If the type's name is found
// in the exceptions map, the map value is returned.
func (r *pluralNamer) Name(t *types.Type) string {
	singular := t.Name.Name
	var plural string
	var ok bool
	if plural, ok = r.exceptions[singular]; ok {
		return r.finalize(plural)
	}
	if len(singular) < 2 {
		return r.finalize(singular)
	}

	switch rune(singular[len(singular)-1]) {
	case 's', 'x', 'z':
		plural = esPlural(singular)
	case 'y':
		sl := rune(singular[len(singular)-2])
		if isConsonant(sl) {
			plural = iesPlural(singular)
		} else {
			plural = sPlural(singular)
		}
	case 'h':
		sl := rune(singular[len(singular)-2])
		if sl == 'c' || sl == 's' {
			plural = esPlural(singular)
		} else {
			plural = sPlural(singular)
		}
	case 'e':
		sl := rune(singular[len(singular)-2])
		if sl == 'f' {
			plural = vesPlural(singular[:len(singular)-1])
		} else {
			plural = sPlural(singular)
		}
	case 'f':
		plural = vesPlural(singular)
	default:
		plural = sPlural(singular)
	}
	return r.finalize(plural)
}

this is what is used by the tools that generate things like DeepCopy in controller-gen and a lot of other boiler plate code
Could you link me to where this is being used?

Another concern is that there isn't any stable releases yet: https://github.com/kubernetes/gengo/releases

https://github.com/kubernetes/gengo

I picked a random stable version of the kubernetes project to look into
https://github.com/kubernetes/kubernetes/blob/v1.21.10/staging/src/k8s.io/code-generator/cmd/informer-gen/generators/packages.go
https://github.com/kubernetes/kubernetes/blob/a55bd631728590045b51a4f65bba31aed1415571/staging/src/k8s.io/code-generator/cmd/lister-gen/generators/lister.go#L43
lots of places
https://github.com/kubernetes/kubernetes/search?p=3&q="k8s.io%2Fgengo%2Fnamer"


Failed to resolve dependencies

Hello,
I'm running your demo app, however, there are issues regards dependencies.
Could you please help to check it?
Failed to resolve: net.dankito.utils:java-utils:2.0.0-SNAPSHOT
Show in Project Structure dialog
Affected Modules: RichTextEditorCommon
Failed to resolve: net.dankito.utils:java-utils:2.0.0-SNAPSHOT
Show in Project Structure dialog
Affected Modules: DemoApp
Failed to resolve: net.dankito.utils:java-fx-utils:2.0.0-SNAPSHOT
Show in Project Structure dialog
Affected Modules: RichTextEditorJavaFX
Failed to resolve: net.dankito.utils:android-utils:2.0.0-SNAPSHOT
Show in Project Structure dialog
Affected Modules: DemoApp, RichTextEditorAndroid
Failed to resolve: net.dankito.filechooserdialog:filechooserdialog-android:1.2.1-SNAPSHOT
Show in Project Structure dialog
Affected Modules: RichTextEditorAndroid

Hi,
about fileChooserDialogVersion not sure, I just left it as it is.
Go to the versions.gradle and change the values of the following version variables:
javaUtilsVersion = '1.0.16'
..............
javaFXUtilsVersion = '1.0.7'

You will find the latest repositories here: https://mvnrepository.com/artifact/net.dankito.utils

Hello,
After updating the versions, I am able to build but now I get another error:
Unresolved reference: ImageReference
Seems we need to specify a version that includes this file.

I'm really sorry, I accidentally merge develop to master.
As said in #58 please use branch 'release/2.0.x' in the meanwhile.

Thanks, it worked.

@dankito
I am trying to integrate the library in my project.
However there is some conflicts between android-utils-1.1.1 and appcompat-v7-28.0.0 related to duplicate value of resource.
Which module do I need to exclude from android-utils-1.1.1?


Escape keywords reserved for future use in field names

Closes #85

Merged and published as of Snowflaqe v1.46 🚀


igshid is only found on instagram

Browsers that are scoping igshid to instagram.com would be unfairly penalized. I should potentially go through the list of query parameters and see which are best to include.

Hi,
can you look at this?
Thank you

Hi @alfredonodo -- thanks. I have confirmed this isn't needed and removed igshid from the set of tested parameters in f26d12cc847b947c6beae749cdb92bedd24afd5e. The parameter will be removed in the next published issue.

Hi,
the igshid parameter is still present.
Thank you

Thanks! This was due to a problem with a test server updating code and has
now been fixed.
On Mon, Apr 3, 2023 at 9:01 AM alfredonodo @.***> wrote:

Hi,
the igshid parameter is still present.
Thank you
—
Reply to this email directly, view it on GitHub
https://github.com/privacytests/privacytests.org/issues/146#issuecomment-1494589429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACWZ3RPKT4FNCAVV5PXAQDW7LX6FANCNFSM6AAAAAASQANIHU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Add Swim/Crawl Actions

A way to force swimming/crawling would be cool

And let cornelia know if you do it ;)


scan with paging for kv over pg

Implementing a configurable paging for scans with KV over PG
Default page size is 1000

Testing the effect of the page size using
$ lakectl abuse random-write --amount 100000 --prefix abuse-for-list/ lakefs://load-test/main

$ time lakectl fs ls lakefs://load-test/main/abuse-for-list/ | wc -l

With the following result:
SQL (KV disabled):
100000

real	0m3.423s
user	0m1.591s
sys	0m1.155s

KV over PG with page size = 1000:
100000

real	0m4.145s
user	0m1.595s
sys	0m1.251s

KV over PG with page size = 300:
100000

real	0m3.984s
user	0m1.601s
sys	0m1.187s

KV over PG with page size = 100:
100000

real	0m4.038s
user	0m1.615s
sys	0m1.182s

KV over PG with page size = 10:
100000

real	0m4.662s
user	0m1.631s
sys	0m1.152s

KV over PG with page size = 3:
100000

real	0m6.532s
user	0m1.753s
sys	0m1.238s


Fixed TODO for formationChange events on new formations

TODO: still need to refactor tests to handle new formations.

It's probably worth adding a test for new formations to avoid regressions.

Yeah I thought so too. I'm implementing the formation rectification and will add some tests as part of that.

Temporarily closing PR...

@lmars this should be ready for review with fixes for the first 3 items

@lmars ready for review.


replace if  with switch

replace if statement with a switch statement for more readability.

Closing in favor of https://github.com/yearn/yearn-sdk/pull/237


Fix wrong chapter url in CosplayTele

Closes #2500
Checklist:

[x] Updated extVersionCode value in build.gradle for individual extensions
[ ] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[x] Added the isNsfw = true flag in build.gradle when appropriate
[x] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension

you should use different git branches for your prs, instead of doing it in the master branch

Okay, thanks... I'll do that from now on


ARM template deployment does not work when Parameter property is used

An unhandled exception of type 'Microsoft.Rest.Azure.CloudException' occurred in mscorlib.dll
Additional information: The request content was invalid and could not be deserialized: 'Error converting value "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Definitions.DeploymentParameterDefinition'. Path 'properties.parameters.$schema', line 291, position 100.'.
var deployment = new Deployment();
deployment.Properties = new DeploymentProperties
{
Mode = DeploymentMode.Incremental,
Template = templateFileContent,
Parameters = parameterFileContent
};
File contents are being read as follows:
JObject parameterFileContent = GetJsonFileContents(pathToParameter);
public static JObject GetJsonFileContents(string pathToJson)
{
JObject templatefileContent = new JObject();
using (StreamReader file = File.OpenText(pathToJson))
{
using (JsonTextReader reader = new JsonTextReader(file))
{
templatefileContent = (JObject)JToken.ReadFrom(reader);
return templatefileContent;
}
}
    }

There is a design issue with the API. This API is expecting a JObject from version 6.0 of JSon.net as input to the template parameter. If you program uses a more recent version of JSon.net (e.g. 8.0) the call will fail with the following error:
'Error reading string. Unexpected token: StartArray. Path 'properties.template.$schema', line 4, position 19.'.

This should be fixed.

@ravbhatnagar In which version of the Nuget is this fixed?

@blumu you can get the fix with version>=1.1.5-preview.
With the fix, you don't need to parse the Template and Parameters to JObject now. You can just pass in them as string, and it should just work. Like this:
            var deployment = new Deployment
            {
                Properties = new DeploymentProperties()
                {
                    Template = File.ReadAllText(Path.Combine("path", "template.json")),
                    Parameters = File.ReadAllText(Path.Combine("path", "parameters.json")),
                    Mode = DeploymentMode.Incremental,
                }
            };

@TianoMS I'm guessing you are referring to nuget Microsoft.Azure.Management.ResourceManager which I am guessing is now replacing  Microsoft.Azure.Management.Resources? I actually tried the latest version of this package (1.3.1) and got a weird error:
One or more errors occurred.The request content was invalid and could not be deserialized: 'Error converting value "{
 "myTemplateParameter": {
    "value": "ed103462dsfasdf"
 }
 }" to type 'System.Collections.Generic.Dictionary`2[System.String,Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Definitions.DeploymentParameterDefinition]'. Path 'properties.parameters', line 78, position 424.'.

Is the Azure REST API now expecting a different format for the Parameters field?

@blumu Yes, Microsoft.Azure.Management.ResourceManager is the right one. As for the error, it looks like your template/parameters file doesn't have the right format. Check this repo for examples: https://github.com/Azure/azure-quickstart-templates.

@TianoMS  The template parameter files on azure-quickstart have a different format from the one documented by the Azure REST API on MSDN. In particular they contain the extra $schema headers and have the parameters listed under a parameters subnode:
{
  "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
  "contentVersion": "<IP_ADDRESS>",
  "parameters": {
    "addressPrefix": {
      "value": "<IP_ADDRESS>/16"
    },
    "subnetPrefix": {
      "value": "<IP_ADDRESS>/24"
    }
  }
}

This format does not seem right either given that the Azure frontend attempts to deserialize the input to a Dictionary<string,DeploymentParameterDefinition>
Do you have a working example showing how to use the new Microsoft.Azure.Management.ResourceManager API by any chance?

OK, so that was it. The new Nuget (named Microsoft.Azure.Management.ResourceManager) introduces a breaking change: you now need to specify the entire template parameter file content including the $schema and contentVersion field, as opposed to just the "paramters" : { } node like in previous version of the nuget (Microsoft.Azure.Management.Resources).

I am hitting
https://github.com/Azure/azure-sdk-for-net/issues/8314

@blumu
Any inputs ?


Update README.md

Updated the readme file.
fixes #556

please, note that this was just a proposal on my side and i don't insist strongly on this.
we have the option to deprecate k-a in k8s e2e testing, but the project can still exists (although probably unmaintained).

this PR addded a note
https://github.com/kubernetes/kubernetes-anywhere/pull/577


Could this be used on a path element, or multiple path elements in an html canvas?

I'm looking for a way to blur svg path elements, those that are closed with fills, and was wondering if this would work? Thanks!

Not. That's about bitmaps, not about vectors.


'AADSTS9002327' Can't retrieve token from an SPA

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[x]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
"@azure/msal-browser": "^2.3.1",
Description
I'm trying to successfully authenticate using msal-browser package but after I enter the email and password needed in the microsoft popup i get an error when calling POST https://login.microsoftonline.com/{code}/oauth2/v2.0/token.
The full error is: "AADSTS9002327: Tokens issued for the 'Single-Page Application' client-type may only be redeemed via cross-origin requests.
I will attach some screenshots that will showcase the settings I'm currently use.
Thanks!

@ursedaniel MSAL Browser does not support any other response mode other than fragment, and as noted in the error, authorization codes acquired with MSAL Browser can only be redeem in the browser (MSAL Browser handles this for you automatically). This is a security feature to help protect the authorization code. If you do not pass responseMode, MSAL Browser will acquire the auth code and perform the trade for the IDT/AT/RT automatically.

@jasonnutter  thank you for your response. Even with responseMode: Fragment or without the parameter at all I still receive this error...

@ursedaniel How are you invoking the init function? Is this being done server-side or client side?

I tried it via 2 methods, one to load the config from the module level within a factory function, and the 2nd one is this one with the images (the init method is called from within an effect from ngrx state).
Both of the methods throw the same error.
I'll attach the screenshots with the other method, but same output.

Also I've been looking over this example: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v2-samples/angular10-browser-sample. But I still get the same error even though I use the same files from msal folder and the same config injection.

@ursedaniel Can you please share a Fiddler trace with me showing this behavior? Email is in my profile, thanks!

@ursedaniel After some digging, we figured this error is thrown by the server in some cases where the expected headers are missing. We are trying for a repro to check why this may happen. Can you please track this issue with #2482?


How to configure outputFieldMappings to fields in complex types in the search index?

It is unclear how, or if it is even possible, to configure an outputFieldMapping to a field on a complex type in the search index.
For example, if my search index has a complex type called Foo, which has a string field in it called Bar, how do I map to that field?
I have tried the following without success:

{
      "sourceFieldName": "/document/content",
      "targetFieldName": "Foo.Bar"
}

{
      "sourceFieldName": "/document/content",
      "targetFieldName": "Foo\\Bar"
}

{
      "sourceFieldName": "/document/content",
      "targetFieldName": "Foo/Bar"
}

In each case I can't save the JSON because it says the target field name is invalid.
Is this even possible, and if so, how?

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

ID: 08304538-8799-348c-0ed1-e71a051a7d80
Version Independent ID: 4b239001-ad46-e0c3-5418-f9bd885e07ce
Content: Map skill output fields - Azure Cognitive Search
Content Source: articles/search/cognitive-search-output-field-mapping.md
Service: cognitive-search
GitHub Login: @LiamCavanagh
Microsoft Alias: liamca

@ahofman Thank you for sharing your query! We are currently investigating and will get back to you shortly on this.

@ahofman We apologize for the frustration that you have encountered with this.
We took the time to try and reproduce the solution but did not encounter the error that you shared.
Can you please reach out to us at<EMAIL_ADDRESS>with the subject ATTN: Bryan and in the body include your subscription ID. This will help us enable a free technical support ticket for you so that you can work 1 on 1 with a support engineer on this.
We look forward to your reply.


Process mgmt interface for coreX

list processes
signal processes

Do u think i should rename the 'process' in the client to job (also in core) to avoid confusion between the difference between a job and a process (ps)

Makes sense


Admin Dashboard Starter-Template

Description
Hi,
any forecast when this will be released?
Thanks

The dashboard template should be public by the end of the month with the according @nuxt/ui-pro components available on the Edge channel only.
Everything should be documented and released in February for sure!

(sorry for off-topic)
I'd like to share that Nuxt UI is quite impressive. I purchased it because 200 euros isn't a lot for me as a developer, and it offers fantastic value due to its top-notch quality and polish.
While Tailwind UI is excellent for unique projects, it's not as versatile when you simply want to build a web app.
Prime Vue is not as refined. Even if you purchase PrimeBlocks, it doesn't utilize PrimeVue components and doesn't provide semantic blocks.
With Nuxt UI, you can effortlessly build an app from blocks and address any UI issue using Tailwind (e.g. p-2 for UMain).
While I don't have a problem recreating paid features from scratch, my time is better spent on other tasks.

Hi,
any update on release date?
Thanks!


Add Yahoo and DuckDuckGo as result providers

This PR adds Yahoo and DuckDuckGo as alternative result providers.
It also adds tests for these providers and should not introduce breaking changes for anyone using previous versions of the module. Let me know if there's any documentation that I should update as well as if there's any changes I would need to make.

Merged! Thanks again @ChunkyProgrammer. I'll release a new version shortly.


Mark Region once pressed becomes enabled

In our tool, there is a small bug that once the "Mark Region" btn is pressed it will continue to monitor the mouse cursor, there is no option to disable that feature rather than selecting some region and then cancelling it.

Completed on commit number :-> 8415a8b


Shoulders buttons still not working in some NAOMI games

          Try removing the -triggers option.

Originally posted by @christianhaitian in https://github.com/christianhaitian/arkos/issues/368#issuecomment-834709211
Hi, I am using ArkOS 2.0 in RG351MP. I have already removed "-n" and "-triggers" in naomi.sh. Now the analog stick works, but the shoulder buttons still don't work in games like CVS and CVS2. Is there a way to fix this? Thanks.

I'm assuming you're using RertroRun?  If so, do they work with Dreamcast games using Retrorun?

Yes. I am using RetroRun32 with FLYCAST32_RUMBLE core. In Dreamcast games, the shoulder buttons L2 and R2 are effective by default. But in NAOMI games, no shoulder button works even after I delete "-triggers" in naomi.sh.
Also in Dreamcast games, is it possible to use L1 and R1, or use all 4 shoulder buttons together? I mean mapping both L1 and L2 buttons as L trigger of DC controller.

Yes. I am using RetroRun32 with FLYCAST32_RUMBLE core. In Dreamcast games, the shoulder buttons L2 and R2 are effective by default. But in NAOMI games, no shoulder button works even after I delete "-triggers" in naomi.sh.
Also in Dreamcast games, is it possible to use L1 and R1, or use all 4 shoulder buttons together? I mean mapping both L1 and L2 buttons as L trigger of DC controller.

this should be possible.. it would just point both triggers to the same command i would think

The L2 and R2 buttons not functioning as triggers has been addressed with today's update.  No solution for L1 and R1 not working with Sega emulators yet.  If a solution is found in the future, it will be included in a future update.


too many errors to mention

test your code ...so many errors to mention.   tried on rc4 went great.  Your final release is kinda of a disaster. QA!

Hey David, this sounds scary!  Are you trying to create a new app or upgrading from existing?
We do have automated tests for a lot of angular apps, so we should see what you are hitting exactly.

I'm running through some upgrades with lots of errors as well.... those are mostly due angular 2 RC6, RC7 breaking changes with modules and bootstrapping in existing apps. I expected that was going to happen. @davidmontgom Do you have any problems in particular you are trying to get through?

@matt4446 Thanks Matthew! - yes there are a lot of breaking changes during the RC releases. The best option for the latest code is to check our Code Samples repo - it is automated and always up to date with the latest changes - http://docs.nativescript.org/angular/code-samples/overview.html

I checked out latest code from your sample repos and it's not working:
https://github.com/NativeScript/sample-Groceries/issues/142

I believe issues line this are useless, if if have a concrete problem, please let us know and log it separate issues with enough info how to reproduce it.