Gradio API for /run/infer_refresh

I am not particularly sure why this is not working, I have gotten the API for conversion to work but not this one. anyone has ideas?

Hello. I also ran into this problem. Before calling the infer_convert API method, you need to select the .pth model file. In WebUI, this can be done using a drop-down list, but there is no corresponding method for this in the Gradio API.
Therefore, I propose the following solution.
In the infer-web.py need to add one line that will add a new endpoint to the Gradio API, it should turn out like this:
sid0.change(
        fn=vc.get_vc,
        inputs=[sid0, protect0, protect1],
        outputs=[spk_item, protect0, protect1, file_index2, file_index4],
        api_name="infer_set",
)

Now in the documentation API you can see the new endpoint /run/infer_set. It should be called before the /run/infer_convert method. For example as follows:
{
    "data": [
        "myModel.pth",
        0.33,
        0.33
    ]
}

I hope this helps you.

So essentially you will be creating a new gradio api endpoint?

So essentially you will be creating a new gradio api endpoint?

Yes, in fact, adding only one line to the file infer-web.py:
api_name="infer_set",
You will have a new endpoint that will allow you to select .pth model files.

okay i will try it out thank you

it work incredibly! thank you my friend @super1515

by any chance have you tried out the uvr api? @super1515

by any chance have you tried out the uvr api? @super1515

I had a problem with the uvr_convert API method. In order to divide the audio into vocals and instrumental, for some reason I needed to call the method 3-5 times. I think the problem is in the function https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/b5050fbf0d6b82305c589c59393b94ab72e606cb/infer/modules/uvr5/modules.py#L17
Every time yield is called in the code, for example here:
yield "\n".join(infos)
The server sends a new response each time.
I think I need to delete all the lines with yield in the code. And then add at the very end something like:
return "\n".join(infos)
This way, you don't have to call this method multiple times.

@super1515 i have the same problem with the conver_batch, i need to call it 3x to get it working,

conver_batch

I think that to fix this, you need to remove all yield in the function by analogy and then add to the end of this function return "\n".join(infos).

btw the reason as to why i am using the infer/convert/batch instead of the infer convert is because there seems to be no output directory for the infer/convert API
is that really the case and I should stick with the infer convert/batch?

btw the reason as to why i am using the infer/convert/batch instead of the infer convert is because there seems to be no output directory for the infer/convert API
is that really the case and I should stick with the infer convert/batch?

Yes, I think it's right

So basically I will replace all these 4 yields with the return "\n" .join(infos) ???

As well as here in the vc/modules.py file for the

No, not really. You need to delete all the yield lines and then write only one return line at the end of the function.


Install some archived files with winget

https://github.com/microsoft/winget-cli/issues/658
https://github.com/microsoft/winget-cli/releases/tag/v1.6.2482
pre-release version of winget-cli introduced the feature
May relate to https://github.com/kachick/dotfiles/issues/284 and https://github.com/microsoft/winget-cli/issues/166

Now I don't need this issue except GH-284


[Issue #36] Remove hard-coded "15:04" strings

Fixes #36
Changes:

Replaced hardcoded 15:04 (and 12 hour version 3:04PM) format string with a constant

Might be best to refactor this logic into a formatter component that is generated by the Config(), @dominikbraun what do you think?

Might be best to refactor this logic into a formatter component that is generated by the Config(), @dominikbraun what do you think?

The original idea was that every package knows the default configuration values it needs, and modifies those values based on the global config. But making the config responsible for formatting those values makes sense as well, so I'd say you could give it a try 😄

@dominikbraun that's a good point, with that in mind, maybe this new component im thinking of may be returning the date time format instead of the actual date time string itself (or maybe returns the formatter itself) will give it a try

@dominikbraun what do you think about the changes and the introduction of Formatter struct? we could potentially move https://github.com/dominikbraun/timetrace/blob/f3fc51a34610c1ee52b1bdf5631b4a5666ca026a/core/timetrace.go#L195-L207 into the Formatter struct too and consolidate all formatting.

Yes, the Formatter struct seems to make sense, and it would also be desirable to bind the formatDuration function to that struct. 👍

@dominikbraun I will move the formatDuration in a separate PR, will likely move Report into its own file as part of that refactor

@aaronsheah FYI #34 also contains formatting logic, we'll probably have to refactor this as well.

@dominikbraun I'll fix the conflict of this PR then I'll help with the other PR

Thanks! 👍

@dominikbraun feel free to merge this PR, for #34 I have this proposal PR https://github.com/aaronsheah/timetrace/pull/1 that is built on top of this PR to achieve the same change. I can create that new PR once this PR is merged


Updates based on spec mode discussion

@rwjblue or I will try to update this later with details, but I'm starting this issue to capture the notes so we can iterate on it—

relation of keywords/built-ins w/imports/etc.
how various embeddings should work
how whitespace handling should work
how escaping (e.g. nested <template>, or, notionally in the future, nested <style> or nested <query> etc.) should work

Context: spec notes from 2022/05/10

Is this still relevant?


KubevirtCluster not "ready" and cluster stuck in provisioning for a long time

What steps did you take and what happened:
I have a 3 server management cluster (with Ubuntu 20.04 and microk8s 1.21/stable)
Have CAPI 1.2.0, Kubevirt 0.5.5 and latest release version of CAPK i.e. v0.1.0
then I create a new cluster with the following arguments to clusterctl:
export IMAGE_REPO=k8s.gcr.io
export NODE_VM_IMAGE_TEMPLATE=quay.io/capk/ubuntu-2004-container-disk:v1.22.0
export CRI_PATH=/var/run/containerd/containerd.sock
clusterctl generate cluster ccstest01 --kubernetes-version v1.22.0 --control-plane-machine-count=5 --worker-machine-count=5 --target-namespace ccs-test --from templates/cluster-template.yaml
After deploying the cluster stays in provisioning state :
$ kubectl get clusters -n ccs-test
NAME        PHASE          AGE    VERSION
ccstest01   Provisioning   5m8s
and Kubevirtcluster has no Ready status:
$ kubectl get  -n ccs-test kubevirtcluster -o yaml
apiVersion: v1
items:

apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: KubevirtCluster
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"infrastructure.cluster.x-k8s.io/v1alpha1","kind":"KubevirtCluster","metadata":{"annotations":{},"name":"ccstest01","namespace":"ccs-test"},"spec":{"controlPlaneServiceTemplate":{"spec":{"type":"ClusterIP"}}}}
creationTimestamp: "2022-08-10T00:39:05Z"
finalizers:

kubevirtcluster.infrastructure.cluster.x-k8s.io
generation: 2
labels:
cluster.x-k8s.io/cluster-name: ccstest01
name: ccstest01
namespace: ccs-test
ownerReferences:
apiVersion: cluster.x-k8s.io/v1beta1
blockOwnerDeletion: true
controller: true
kind: Cluster
name: ccstest01
uid: ea09b2b9-1787-4408-97c6-193c5c96afa3
resourceVersion: "3751834"
selfLink: /apis/infrastructure.cluster.x-k8s.io/v1alpha1/namespaces/ccs-test/kubevirtclusters/ccstest01
uid: 362816a7-03e3-4735-bf33-730213f35dec
spec:
controlPlaneEndpoint:
host: <IP_ADDRESS>
port: 6443
controlPlaneServiceTemplate:
spec:
type: ClusterIP
kind: List
metadata:
resourceVersion: ""
selfLink: ""

In the capk-controller logs I see the following lines repeated:
E0810 00:39:26.463301       1 controller.go:317] controller/kubevirtcluster "msg"="Reconciler error" "error"="failed to persist ssh keys to secret: failed to set owner reference for secret: Operation cannot be fulfilled on secrets "ccstest01-ssh-keys": the object has been modified; please apply your changes to the latest version and try again" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:39:46.964172       1 kubevirtcluster_controller.go:118] controller/kubevirtcluster/ccs-test/ccstest01 "msg"="failed to patch KubevirtCluster" "error"="KubevirtCluster.infrastructure.cluster.x-k8s.io "ccstest01" is invalid: status.ready: Required value" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:39:46.964218       1 controller.go:317] controller/kubevirtcluster "msg"="Reconciler error" "error"="failed to persist ssh keys to secret: failed to set owner reference for secret: Operation cannot be fulfilled on secrets "ccstest01-ssh-keys": the object has been modified; please apply your changes to the latest version and try again" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:40:27.950044       1 kubevirtcluster_controller.go:118] controller/kubevirtcluster/ccs-test/ccstest01 "msg"="failed to patch KubevirtCluster" "error"="KubevirtCluster.infrastructure.cluster.x-k8s.io "ccstest01" is invalid: status.ready: Required value" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:40:27.950130       1 controller.go:317] controller/kubevirtcluster "msg"="Reconciler error" "error"="failed to persist ssh keys to secret: failed to set owner reference for secret: Operation cannot be fulfilled on secrets "ccstest01-ssh-keys": the object has been modified; please apply your changes to the latest version and try again" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:41:49.904838       1 kubevirtcluster_controller.go:118] controller/kubevirtcluster/ccs-test/ccstest01 "msg"="failed to patch KubevirtCluster" "error"="KubevirtCluster.infrastructure.cluster.x-k8s.io "ccstest01" is invalid: status.ready: Required value" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:41:49.904890       1 controller.go:317] controller/kubevirtcluster "msg"="Reconciler error" "error"="failed to persist ssh keys to secret: failed to set owner reference for secret: Operation cannot be fulfilled on secrets "ccstest01-ssh-keys": the object has been modified; please apply your changes to the latest version and try again" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:44:33.769811       1 kubevirtcluster_controller.go:118] controller/kubevirtcluster/ccs-test/ccstest01 "msg"="failed to patch KubevirtCluster" "error"="KubevirtCluster.infrastructure.cluster.x-k8s.io "ccstest01" is invalid: status.ready: Required value" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
E0810 00:44:33.769852       1 controller.go:317] controller/kubevirtcluster "msg"="Reconciler error" "error"="failed to persist ssh keys to secret: failed to set owner reference for secret: Operation cannot be fulfilled on secrets "ccstest01-ssh-keys": the object has been modified; please apply your changes to the latest version and try again" "name"="ccstest01" "namespace"="ccs-test" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="KubevirtCluster"
I noticed that the cluster remains in this state for extended period (in multiple runs this wait ranged from 45mins to 3+ hours ) and then all of a sudden the cluster state changes and the subsequent boot strapping operations start.
What did you expect to happen:
I expect the cluster to be in ready soon as it should take at most  couple of mins to setup the infra.
Anything else you would like to add:
Since the state was getting resolved randomly, i.e. suddenly setting up the ownership on the ssh keys secret used to work and the cluster was all good. I suspected it to be some kind of race condition, and sure enough with the following changes my clusters were provisioned in seconds:
diff --git a/pkg/ssh/cluster_node_ssh_keys.go b/pkg/ssh/cluster_node_ssh_keys.go
index d3b6d33..80d5892 100644
--- a/pkg/ssh/cluster_node_ssh_keys.go
+++ b/pkg/ssh/cluster_node_ssh_keys.go
@@ -17,6 +17,8 @@ limitations under the License.
package ssh
import (

  "time"

  "github.com/pkg/errors"
  corev1 "k8s.io/api/core/v1"
  metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

@@ -85,6 +87,9 @@ func (c *ClusterNodeSshKeys) PersistKeysToSecret() (*corev1.Secret, error) {
return nil, errors.Wrapf(err, "failed to create ssh keys secret for cluster")
}

  // test if sleeping helps

  time.Sleep( 10 *  time.Millisecond)

  // set owner reference for secret
  mutateFn := func() (err error) {
          newSecret.SetOwnerReferences(clusterutil.EnsureOwnerRef(

$ kubectl get cluster -A
NAMESPACE   NAME        PHASE         AGE   VERSION
ccs-test    ccstest01   Provisioned   8s
Environment:

Cluster-api version:  1.2.0
Cluster-api-provider-kubevirt version: 0.1.0
Kubernetes version: (use kubectl version): v1.21.14
KubeVirt version: 0.5.5
OS (e.g. from /etc/os-release):
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"

/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt/labels?q=area for the list of labels]

From what I've experienced the problem is with the kube controller configuration, it has a --port flag which is not being accepted  so the pods in kube-system namespace are left in crashloopbackoff and that is what keeping the cluster in that state

In my case the VMs were not even started,  it was stuck trying to set the Infrastructure state to ready.

I think this is caused by the cluster controller doing two sequential updates on the secret within the reconcile loop. We should only be doing a single write to the ssh key in the PersistKeysToSecret function

I've posted a potential fix for this here, https://github.com/kubernetes-sigs/cluster-api-provider-kubevirt/pull/176

I tested the fix, it works for me. Converting to the single update function is what was needed !


Body in HTTP Delete Request doesn't make sense

In few DELETE requests; the body is also passed.
Based on:
https://github.com/axios/axios/issues/897
and
https://stackoverflow.com/questions/51069552/axios-delete-request-with-body-and-headers
Remove the body and add query params in the request URL itself.

Fixed


Image preview color is incorrect

What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
kitty 0.36.1
yazi --debug output
Yazi
    Version: 0.3.2 (e940d81d 2024-09-02)
    Debug  : false
    OS     : linux-x86_64 (unix)

Ya
    Version: 0.3.2 (e940d81d 2024-09-02)

Emulator
    Emulator.via_env: ("xterm-kitty", "")
    Emulator.via_csi: Ok(Kitty)
    Emulator.detect : Kitty

Adapter
    Adapter.matches: Kitty

Desktop
    XDG_SESSION_TYPE           : Some("wayland")
    WAYLAND_DISPLAY            : Some("wayland-0")
    DISPLAY                    : Some(":0")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : Some("/usr/bin/fish")
    EDITOR             : Some("nvim")
    VISUAL             : Some("nvim")
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block  : Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : 3.4
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file             : 5.45
    ueberzugpp       : 2.9.6
    ffmpegthumbnailer: 2.2.2
    magick           : 7.1.1-38
    fzf              : 0.54.3
    fd               : 10.2.0
    rg               : 14.1.0
    chafa            : 1.14.2
    zoxide           : 0.9.4
    7z               : 17.05
    7zz              : No such file or directory (os error 2)
    jq               : 1.7.1

--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/home/tlss/.local/state/yazi" directory.

Did you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (yazi --debug) to the nightly that I tried
Describe the bug
The image preview color is not correct. From left to right: in ranger, in gwenview, in yazi. I tested some other images, but none of them are as obvious as this one. I'll put the image down below.

Minimal reproducer

Open the image in yazi
Open the image in other image viewer

Anything else?

I can reproduce it with:
fn main() -> Result<(), ImageError> {
  let image = image::ImageReader::open("original.jpg")?.decode()?;
  image.save("new.jpg")?;

  Ok(())
}

and it's a bug in the image-rs library that Yazi uses, see https://github.com/image-rs/image/issues/2247
We'll have to wait for an upstream fix, I don't think there's anything Yazi can do about it in this situation.


Fix server error when invalid group id while role creation

Purpose

Resolve the issue of internal server error when create / update role with invalid organization id

Related Issues

https://github.com/wso2/product-is/issues/14125

Discussed to fix the failure via carbon kernel change


feat: pass stack config through to pulumi providers

I used a stack config of :
name: staging
provider: gcp
region: australia-southeast1
project: thing
config:
  default:
    memory: 512
    minScale: 0
    maxScale: 5
    workerCount: 1
  functions/api/main.go:
    maxScale: 12
    timeout: 30

Codecov Report
Base: 33.33% // Head: 33.18% // Decreases project coverage by -0.14% :warning:

Coverage data is based on head (1b44960) compared to base (0c9439e).
Patch coverage: 45.88% of modified lines in pull request are covered.

:exclamation: Current head 1b44960 differs from pull request most recent head 14ae7cb. Consider uploading reports for the commit 14ae7cb to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #329      +/-   ##
===========================================
- Coverage    33.33%   33.18%   -0.15%
===========================================
  Files           52       52
  Lines         4803     4857      +54
===========================================
+ Hits          1601     1612      +11
- Misses        3053     3093      +40
- Partials       149      152       +3

Flag
Coverage Δ

unittests
33.18% <45.88%> (-0.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/codeconfig/codeconfig.go
7.55% <0.00%> (ø)

pkg/project/types.go
8.76% <ø> (ø)

pkg/provider/pulumi/azure/containerapp.go
0.00% <0.00%> (ø)

pkg/stack/options.go
10.29% <0.00%> (-9.16%)
:arrow_down:

pkg/project/options.go
68.42% <84.84%> (+7.89%)
:arrow_up:

pkg/provider/pulumi/aws/lambda.go
71.05% <100.00%> (-0.26%)
:arrow_down:

pkg/provider/pulumi/gcp/cloudrunner.go
77.98% <100.00%> (-0.78%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Task for pre-processing source files

I'd like to contribute to MSBuild a task we wrote for aspnet that I think would be generally useful. Is this something MSBuild would accept as a PR?
GenerateFileFromTemplate
Purpose: pre-process a source file using MSBuild variables.
Usage:
<GenerateFileFromTemplate
   TemplateFile="MyFile.cs.in"
   OutputPath="$(IntermediateOutputPath)MyFile.cs"
   Properties="ClassName=Banana;Method=Abc" />

Template file example
// MyFile.cs.in
public class ${ClassName}
{
  public void Method${MethodName}()
  {
     Console.WriteLine("`${NotReplacedDueToBacktick}"");
  }
}

Template syntax:

variables in the template file use powershell/bash syntax: ${VarName}.
if you need a file with ${...}, you can escape this with a backtick: `${...}

Justification:
WriteLinesToFile is good, but I've frequently run into problems with it when I need to write a file that has \, /, or ; in it.
Current implementation: https://github.com/aspnet/BuildTools/blob/master/modules/BuildTools.Tasks/GenerateFileFromTemplate.cs, https://github.com/aspnet/BuildTools/blob/master/test/BuildTools.Tasks.Tests/GenerateFileFromTemplateTests.cs
cc @jeffkl  @livarcocc

Ping. Anyone from MSBuild interested in this? If I were to make a PR, would you accept it?
Tagging in @rainersigwald since you're the only MSBuild contributor that I know still works on this repo.

This is surely useful, but I'm not sure whether we should add it to core MSBuild. As you mention, we have readlinesfromfile/writelinestofile, which can help in this scenario (but I agree it's clunky).
For more advanced uses, there's T4, which has a nice open-source implementation https://github.com/mono/t4.
I'm concerned that we'd take this, and folks would immediately start asking for more features until it turned into a t4 equivalent, which I don't think is appropriate for MSBuild.
Other @Microsoft/msbuild-maintainers might have different opinions, though.

WriteLinesToFile is good, but I've frequently run into problems with it when I need to write a file that has , /, or ; in it.

Can you fix those problems instead? :)

Not sure it's that easy. The problems I ran into seem to related to a much bigger subject with strings vs paths - https://github.com/Microsoft/msbuild/issues/1024.
Repro: run this on Linux. Output in both cases has the backslash flipped to a forward slash. { "key": "value /" with a quote" }.
<Project>
    <Target Name="Build">
        <PropertyGroup>
            <Content>{ "key": "value \" with a quote" }</Content>
        </PropertyGroup>

        <WriteLinesToFile Lines="$(Content)" File="out1.txt" Overwrite="true" />
        <WriteLinesToFile Lines="$([MSBuild]::Escape($(Content)))" File="out2.txt" Overwrite="true" />
    </Target>
</Project>

I agree that adding a t4 equivalent is inappropriate for MSBuild and can understand the hesitance to add to MSBuild itself. Is there an alternative? For example, have we considered making a NuGet package of MSBuild tasks that fall into the 'useful but maybe not for everyone' category? The existing implementation of GenerateFileFromTemplate I mentioned has lived in the aspnet build tools repo for years. I think it would be generally useful for others and am looking for the right vehicle to share it with others.

A big side-effect of ReadLinesToFile / WriteLinesToFile is that it raises all the content into the msbuild session, bloating logs and slowing down the build.  It's also not scalable: imagine trying to preprocess/evaluate a 1MB file with a dozen replacements: today .  Additionally it requires people to know MSBuild tricks in order to do anything useful, which becomes a big blocker.
We don't need T4 with a code-execution model, MSBuild has tasks for that.  We need a simple pre-processor for simple code-generation tasks.

So then the path of least resistance is having something like GenerateFileFromTemplate directly in MSBuild. The other options imply heavier work on msbuild, or extra maintenance to keep a separate nuget package of utility tasks.


Update sbt-pgp to 2.0.0

Updates com.jsuereth:sbt-pgp from 1.1.2 to 2.0.0.
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 @scala-steward in the comments below.
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.jsuereth", artifactId = "sbt-pgp" } ]

labels: semver-major

should we merge this?

Closing in favor of finally switching to sbt-gpg, as per maintainers' notes: https://discuss.lightbend.com/t/announce-sbt-pgp-2-0-beta-release/1943


Symfony 5 support

During a Sylius pull request with this Travis job, I've seen this bundle needs a few changes to support Symfony 5.

Hi @loic425
Thanks for your PR, I've integrated the work in a more global one: https://github.com/winzou/StateMachineBundle/pull/60
Are you able to test the use of winzou/state-machine-bundle:dev-sf5 in a Sylius project to make sure it's all good?
Thanks!

Hi @loic425
Thanks for your PR, I've integrated the work in a more global one: #60
Are you able to test the use of winzou/state-machine-bundle:dev-sf5 in a Sylius project to make sure it's all good?
Thanks!

@winzou Yes I think I can test it next week.


fix(placement): always trigger downstream deletion

Currently if a DELETE message is received but no matching placement is found in the sync database the AfterDeleteEvent listener does not fire and downstream services are not notified of the potential deletion.
In most cases this is fine, as the deletion has already occured, but in edge cases where the DELETE message is required again (e.g. cleaning up partial/leftover data from previously failed deletes) the message never makes it to the downstream services leaving them out of date with no way to automatically sync back up.
The original intention of the PlacementEventListener was that it would fire on database events, allowing async handling of updates and deletes de-coupled from the incoming record messages. However, the implementation uses application events instead, which offer no such benefits. As a result the event listeners offer nothing other than complexity/obscurity given the current needs.
Delete the PlacementEventListener and update the PlacementSyncService to call the placement enrichment directly. This simplifies the application flow as well as removes the need for cache trickery to keep data available after deletion.
TIS21-6701

This feels like a useful purge. I presume removal of the other event listeners is 'left as an exercise for the reader'? 😀

I'll create a ticket for it, I did start to do some but reverted since this is primarily to solve a live defect.


Implement autoloader injection.

Maybe better way that user $this->_autoloader inside scope implement shortcut to autoloader?

Hmm not sure to get what you meant.

To overload default autoloader (or to add new path) we need to write something like:
$this->_autoloader->addPsr4(...);

In my opinion this more looks like a hack.

Imo you should be able to use the getter:
$this->autoloader()->addPsr4(...);

Then _autoloader should be private maybe?

The filtering system gives you a full context access of filterable methods. Changing protected to private won't change anything afaik.
Moreover the private keyword is a bad oop practice it shouldn't be used.

Then i think i should rewrite a doc for Phalcon.
I used here a _autoloader


Identify resources and logical groupings

[ ] Initial data services needs
[ ] Integrated QA and MP data model

Duplicate, see #79


[FR] Added settings for customizing the color of the rectangular selection area

Describe your request
Describe the issue
My obsidian theme is Minimal-Light mode-Sky. In this theme mode, the color of the rectangular selection area is gray and opaque, and the content in the selection area cannot be seen. So I tried switching to several different themes and found that the color of the rectangular selection area would change under different themes, which was roughly the same as the background color of the theme.
Screenshot of problem

Suggestions for Improvement
Allows customizing the background color and opacity of the rectangular area through style settings, or adding this option to the settings of pdf++.

Thanks!
It's fixed in 0.37.2.

Awesome, your fix was so quick!


I wanted to add a pull request, but it was closed immediately, prompting that the base branch is protected.

Dear author, I am a staff member of the openbmb community. I would like to add a pull request to support the openbmb/minicpm model, but I find that I do not have permission. Could you give me permission? Or under what circumstances can I get permission?

This is a precaution to prevent destructive merges. Wait for your pull request to be reviewed by the owner and if approved it will be merged.

ok, thank you very much


the funcetion is duplicated

getModeId(): string;
getWordAtPosition(position: IPosition): IWordAtPosition;
getWordUntilPosition(position: IPosition): IWordAtPosition;
the funcetion is duplicated.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: lzmkony sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Sorry, this change makes no sense

@alexandrudima    yes，but the function repeat， twice， thinks。
/**
* Get the language associated with this model.
/
###  getModeId(): string;
/*
* Get the word under or besides position.
* @param position The position to look for a word.
* @param skipSyntaxTokens Ignore syntax tokens, as identified by the mode.
* @return The word under or besides position. Might be null.
/
getWordAtPosition(position: IPosition): IWordAtPosition;
/*
* Get the word under or besides position trimmed to position.column
* @param position The position to look for a word.
* @param skipSyntaxTokens Ignore syntax tokens, as identified by the mode.
* @return The word under or besides position. Will never be null.
/
getWordUntilPosition(position: IPosition): IWordAtPosition;
/*
* Get the language associated with this model.
/
### getModeId(): string;
/*
* Get the word under or besides position.
* @param position The position to look for a word.
* @param skipSyntaxTokens Ignore syntax tokens, as identified by the mode.
* @return The word under or besides position. Might be null.
/
getWordAtPosition(position: IPosition): IWordAtPosition;
/*
* Get the word under or besides position trimmed to position.column
* @param position The position to look for a word.
* @param skipSyntaxTokens Ignore syntax tokens, as identified by the mode.
* @return The word under or besides position. Will never be null.
*/
getWordUntilPosition(position: IPosition): IWordAtPosition;

Oh, you are perfectly correct! Sorry about that!
Would you please open a PR against https://github.com/Microsoft/vscode/blob/095400ad6c5c6f2ac5ce4e9619d8de813e320dc5/src/vs/editor/common/model.ts#L747-L759 . That is the real source of the duplication, the monaco.d.ts file is generated from the sources and the one included in this repository is for the website auto-completion to work.


Unable to find java version

Logs
java -version
java version "11.0.12" 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)
➜  ~ which java
/usr/bin/java
flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.1 20G80 darwin-x64, locale
en-BR)
• Flutter version 2.2.3 at /Users/bybnd/Development/flutter
• Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/bybnd/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at:
/Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment 18.9 (build
11.0.12+8-LTS-237)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5.1, Build version 12E507
• CocoaPods version 1.10.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] VS Code (version 1.58.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.25.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.131
! Doctor found issues in 1 category.

Hi @Vicevini
This has been fixed in https://github.com/flutter/flutter/issues/85602, current Flutter dev channel has this fix
Closing as duplicate of https://github.com/flutter/flutter/issues/85602


[FEATURE] [Add Multi-Language Support for Global Accessibility]

Is your feature request related to a problem? Please describe.
Implement multi-language support , allowing users from different regions to interact with the website in their preferred language. This feature will enhance accessibility and usability, making it easier for non-English-speaking users to browse the site.
Describe the solution you'd like
Set up a language selection dropdown or toggle in the header/footer for easy switching.
Store language preferences using cookies or local storage.
Ensure that the translated content adapts dynamically based on the selected language.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
please assign this to me under gssoc-ext and hacktoberfest

@sezallagwal  go ahead.


Syntax highlighting thinks $() is wrong

Describe the bug
When storing the output of a shell command in a variable by using $(), Vim highlights the $( and ) red. For example, to store the current hour in a variable, $(date +"%H") is used.

(This screenshot was not taken in --clean, however, the bug still occurs in --clean.)
To reproduce

Create a new file in Vim, making sure to specify it as a shell script. Example: vim --clean example.sh
Create a new while loop. For example,

while [  ]
do
done

Try to compare the output of a shell command to something else by wrapping a command in $( and ). For example,

while [ $(date +"%H") -le 20 ]
do
done

Vim highlights the $( and ) red

Expected behavior
The $( and ) should not be highlighted red.
Environment

Vim version: 8.2.2327
OS: macOS 10.15.7 (19H15)
Terminal: Apple Terminal version 2.10 (433)

Write let g:is_posix = 1 in your .vimrc (See :help ft-posix-synax for detail).
BTW, I think POSIX syntax should be enabled by default nowadays.
@cecamp What do you think?

Write let g:is_posix = 1 in your .vimrc (See :help ft-posix-synax for detail).
BTW, I think POSIX syntax should be enabled by default nowadays.
@cecamp What do you think?

There are two main camps: posix posix posix! But the other camp is at least as loud: bash bash bash! So, I've chosen to encourage folks to choose what they want, and do so by having the old shell as default. (there's also the dash crew, but they don't appear to be as big as the other two). Me, I'm a kornshell user, which is rather closer to the posix camp. I'm fond of integer var.

There are two main camps: posix posix posix! But the other camp is at least as loud: bash bash bash! So, I've chosen to encourage folks to choose what they want, and do so by having the old shell as default. (there's also the dash crew, but they don't appear to be as big as the other two). Me, I'm a kornshell user, which is rather closer to the posix camp. I'm fond of integer var.

Hmm, most of the shells used nowadays (including bash, kornshell and dash) support posix.
Making posix as default doesn't confront bash folks.

Hmm, most of the shells used nowadays (including bash, kornshell and dash) support posix.
Making posix as default doesn't confront bash folks.

Yes, bash has a posix compliant mode. Most bash users would be upset to be limited to posix, however. So, bash != posix.
Kornshell is posix compliant with but slight differences.
I believe the only difference that I'm aware of between kornshell and posix is the <<< herestring (ksh has it, posix does not). There may be other differences that I'm not aware of.

Yes, bash has a posix compliant mode. Most bash users would be upset to be limited to posix, however. So, bash != posix.
Kornshell is posix compliant with but slight differences.
I believe the only difference that I'm aware of between kornshell and posix is the <<< herestring (ksh has it, posix does not). There may be other differences that I'm not aware of.


Make Winter Discount picture Responsive

On a phone or tablet, the winter discount picture is too big. Please open a pull request to make this responsive based on size or possibly use percents, visibility, and display.

Currently working on in improve-user-experience branch


Is it possible to change the Ctrl+K shortcut for activating the search box?

Since ages, Firefox (among other Web browsers, I guess) provides the Ctrl+K shortcut for entering in its search box.
Hence, it is a bit annoying that PyData Sphinx Theme uses the same one for activating its search box.
Is it possible to change it?

No. Modern firefox (since many years) allows searching from the location bar, so you can use Ctrl+L to do a browser search instead of in-site search. Or, if you insist on using the separate firefox search box, you can type Ctrl+L followed by Ctrl+K --- once Firefox's UI has focus (instead of the page having focus) then the page won't capture the shortcut and the browser search box will get focus.

btw, try "ctrl+k" in GitHub itselff you'll be surprised ;-)

btw, try "ctrl+k" in GitHub itselff you'll be surprised ;-)

I know: it really pisses me off too :wink:

but, this way, you can search only with the default search engine.

Not for me. See the row of icons at the bottom of the location bar dropdown:

But even without that, as I already mentioned, you can do Ctrl+L followed by Ctrl+K to get the firefox search bar focused.

but, this way, you can search only with the default search engine.

Not for me. See the row of icons at the bottom of the location bar dropdown:
[...]

Indeed but, AFAICS, not reachable with just the keyboard.

But even without that, as I already mentioned, you can do Ctrl+L followed by Ctrl+K to get the firefox search bar focused.

OK.


⚠ Games API Endpoint has degraded performance

In 93354e8, Games API Endpoint (https://games.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 5589 ms

Resolved: Games API Endpoint performance has improved in f59cd7c.


Global install

It would be nice to have the option to share installations between all users of a machine (maybe with a user-specific symlink to the active version).

+1 for this feature

Try as I might, I can't get the GVM_DIR setting to work.
I set export GVM_DIR=/usr/local/gvm in ~/.bashrc. In ~/.bash_profile, I source ~/.bashrc, I delete all gvm stuff, exit the terminal, open a new one, run curl -s get.gvmtool.net | bash and it still writes everything to $HOME/.gvm.
GVM_DIR is hard-coded into the script that curl downloads, so the value I exported isn't used at all.

Working on it. Should have something out by tomorrow.
On Thu, 27 Aug 2015 at 07:15 Ben Richardson<EMAIL_ADDRESS>wrote:

Try as I might, I can't get the GVM_DIR setting to work.
I set export GVM_DIR=/usr/local/gvm in ~/.bashrc. In ~/.bash_profile, I source
~/.bashrc, I delete all gvm stuff, exit the terminal, open a new one, run curl
-s get.gvmtool.net | bash and it still writes everything to $HOME/.gvm.
GVM_DIR is hard-coded into the script that curl downloads, so the value I
exported isn't used at all https://stackoverflow.com/a/4609727/2495717.
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/23#issuecomment-135304452.

This has been successfully implemented.


May I ask if this project has the requirement. txt file? If not, can anyone provide one?

May I ask if this project has the requirement. txt file? If not, can anyone provide one?

environment.yml is all you need, except for release settings (In each line, from the second “=” to end).

Exactly, thank you @zhangwenniu. Just need to install the environment defined using the yml file.


Unity Collaborate & Quality of life fixes

What changed?

ProjectSettings/CloudOnceSettings.txt was moved to Assets/Extensions/CloudOnce/CloudOnceSettings.txt.

Unity Collaborate does not scan the ProjectSettings folder.
It makes sense to put extension related configuration with the extension.
If someone deletes the extension, a file will be left behind creating unnecessary clutter.

PlayServicesResolver was added to Extensions/

Makes it easier for new collaborators as they won't be missing dependencies.
Unitypackage deployment is simplified.
Collaborators will not have version mismatches causing unknown errors.

issue #26

I appreciate you submitting a pull request.
The reason PlayServicesResolver is not on the repo is to make it easier for me to build the unitypackage. It must be done is a special way described in #22. I agree it's not ideal and not properly explained anywhere, that's on me. I haven't submitted my build script because it uses absolute paths and I haven't had the time to make a proper one.
Concerning the settings path, I would like to do more than just change it to be within Assets. There should at least be an upgrader that moves any existing settings to the new location. However I'm leaning more towards having it be an option that can be set in the CloudOnce Editor, as I personally would prefer to keep my settings in ProjectSettings.

Thanks for the fast reply.
Thanks for bringing #22 to my attention.  It took me some time to figure out why I was missing the Google namespace when I first forked the project.  We could just add a section in the readme detailing where to get PlayServicesResolver for collaborators?
As far as the settings go, I completely agree with an upgrade script to copy existing settings.  I may have gotten a bit self-centered and didn't think about other people upgrading.
Here's another issue:  If there's an option in the editor to choose where to store the settings file, where is that option going to be serialized?  In a different settings file stored in the assets folder? See what I'm getting at? I don't think storing the settings file in the ProjectSettings folder is going to work as long as people use Unity Collaborate.  Why do you like ProjectSettings over Assets?

You make a good point about storing settings about settings, I didn't think that through. I already started altering the editor, so I'll have to think a bit.
I'll update the readme about PlayServicesResolver as well as instructions on building.
The reason I like having the settings in ProjectSettings is that if I need to clean out the Assets folder, or just delete CloudOnce, I don't have to go back up the settings first. Not much of a reason (and was mostly needed in the early days of CloudOnce), so I'll likely go with the upgrader option.

Great! Fantastic job on this project btw. Keep it up!


Vanilla dependencyLib - does not trigger setvalue

@RobinHerbots, hello, thank you for the library. Could you please tell how to trigger the "setvalue" event with vanilla dependencyLib?

Hi,
I got your question via email but I can't see the question on github?  It
it ok?
Op do 2 nov. 2017 om 12:07 schreef DUODVK<EMAIL_ADDRESS>
@RobinHerbots https://github.com/robinherbots, hello, thank you for the
library. Could you please tell how to trigger the "setvalue" event with
vanilla dependencyLib?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobinHerbots/Inputmask/issues/1193#issuecomment-341388714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATb7xIYvm60sYtcqDSzC7zcGat-TZmzks5syaKAgaJpZM4HdCXA
.

@RobinHerbots, hello! I am sorry about it. I 've removed my question because I found the answer. I have a problem with ReactJS and now I don't sure that this is "inputmask" issue. Thank you for the fast responce.


RFM - radarr

I am mostly stepping away from chocolatey as I do not really use it anymore and don't really have time to upkeep my packages (fixing issues or checking and seeing if everything is still working as it should be) I have been maintaining for a good while now, so I am currently on the lookout for someone to take over pretty much all my packages (I'll be creating an issue for each package).

Current Maintainer

[x] I am the maintainer of the package and wish to pass it to someone else;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/radarr
Package source URL: https://github.com/JourneyOver/chocolatey-packages/tree/master/automatic/radarr

I would like to take this one, @mkevenaar is my Chocolatey username

@mkevenaar I have added you as a maintainer (that you need to accept), thanks for taking over the package.
As per #1498 I'll either fork and PR or you can manually add the packages to your repo (answer on whichever issue you want about which way you will want it to be done)


Fix kongchen/swagger-maven-plugin#347

This pull request fixes an issue, that was described in the ticket #347. As well I added a new test to cover the described case.

please merge this fix.

Thanks for your contribution, @proshin-roman !
Ping @kongchen , we should release a new version soon.

Ping @kongchen , when can we expect this fix to be released?

Yeah, @kongchen please release the fixed version - I need some fixes in my project.


RedisTokenStore - delete also 'access_to_refresh' key when removing a refresh token

fixes gh-1836

Is there a general problem with the build:
https://travis-ci.org/github/spring-projects/spring-security-oauth/jobs/675911859#L2523-L2539
Or did I missed something?

Thanks for the PR @srempfer. This is now in master and backported to 2.4.x.


Use JPA in Custom Logic

Tutorial URL: https://developers.sap.com/tutorials/cp-apm-05-using-jpa.html
The build command in the package.json file needs to be:
"build": "cds build/all --clean && cds compile db/data-model.cds -o ./",
otherwise it will fail, the /all part is missing in the tutorial.

Hi Sven,
I've checked with the dev team on this and they say that build/all is a new build implementation that will eventually replace the current build. And so for now, we're leaving it as is.
Best regards,
Jijo

Ok, will close the issue then. Just wanted to provide the feedback that without the /all the build failed and with the /all the build worked.


Issue with k8s.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
The link to the github repository at the bottom appears broken. I.e. this link isn't working: https://github.com/kubernetes/website/tree/master/docs/tutorials/kubernetes-basics
Proposed Solution:
This link is working and is probably the one that is intended: https://github.com/kubernetes/website/tree/master/content/en/docs/tutorials/kubernetes-basics
Page to Update:
https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/

I think it will be fixed in #8763. 🎉


Update TensorFlow Models without restarting the processors (TF Model Hot-Swap)

We need to evolve TF models in running SCDF pipelines. That requires ability to replace the TF models in running TF Processor without stopping/restarting the processor or the pipelines.

resoved


Enhancement: Animate image

Would be nice to have an option to animate the loaded image, like slide-in form left or fade-in.

I don't think that this should be an option, at least not to the WebImageView class. However, I do think it is useful and in fact, Wrapp's Android app has several subclasses of WebImageView which provide scaling and fading image animations after the image has been loaded. Most of them are far to specialized to be generally useful, and therefore I did not make these classes part of WebImage. I feel that a good library should only provide a small but very well-defined set of functions, and allow for easy subclassing or extensibility by the caller.
Another issue here is that different animations require special attention before they can be started. Sometimes the view's visibility state must be changed, or the layout parameters set, etc. Therefore IMHO it doesn't make sense to have a single method where an Animation could be passed in as an option to setImageUrl().
I'm not going to close this issue, but I also would need some time to think about the best way to solve all of these issues. However, if you think you have a clever way to solve it, send a pull request and I'll take a look at it.


Add support for guard conditions

extracted from https://github.com/ros2-dotnet/ros2_dotnet/pull/94
This adds support for GuardConditons.
Added public API:
namespace ROS2
{
    public sealed class GuardCondition
    {
        public void Trigger();
    }

    public sealed partial class Node
    {
	public GuardCondition CreateGuardCondition(Action callback);
    }
}

This has some problems with Fast DDS, sometimes the GuardCondition doesn't get triggered, see issue #105.
Merging this as at least Cyclone DDS works reliably as far as I can tell. Fixing this for Fast DDS, either in ros2_dotnet or by hunting down the bug in rmw_fastrtps_cpp can be done later on.


Created colors, spacer and font style variables (#1xxujra)

The branch in this PR was created from main, that is why when I retargeted it automatically get closed. I have done the requested changes in the new PR :
https://github.com/hotwax/omnichannelcto-site/pull/6


Scroll automatically go down even when you are moving the scroll

Expected behavior
When you move the logs with the mouse wheel or dragging the scroll bar, the scroll should keep where you are reading.
Only auto scroll down when you actually are in the bottom following the logs.
Actual behavior
The log's scroll go down to the last line even you are dragging the scroll bar.
Information about the Issue
Is not a bug, is an issue with usability
Steps to reproduce the behavior

linux OS
git clone this repo
npm install
npm start
create a container that output something all the time.
try to drag to the beggining of the log
you can't, because every second the log is updated and you get to the bottom.

Thanks :)
This application is awesome.

A nice fix for this would be an option to toggle auto-scrolling, plus 'jump to top' and 'jump to end' options.

@evelynwightman Feel free to submit a PR for it :D


Update copyright for Microsoft.AspNetCore.Blazor.Templates

Thanks Dan. This is now cherry-picked to release/0.6.0 too, for which a build is in progress.


Adding check if we should really try topic push

Sending message to an alias, was not working

All the following work
I should get a message and I get one

Global push
Topic Puch
Alias Push
Alias + topic push

I should not get a message and I do not get one

Push to unmatched Alias
Push to Catgeory + unmatched Alias

So +1 LGTM


bytes: optimize Buffer.WriteByte

According to a profiling data from a large number of servers at Google, bytes.Buffer.WriteByte is within the top 100 functions by CPU time. Each call to WriteByte requires another method call to grow(1). We should optimize this by doing a special check if we can simply grow the capacity by 1 before calling that method.

Same quick-path optimization can be applied to the following methods:

Write
WriteString
WriteRune
These all also appear within the top 500 functions by CPU time.


Add new items to the estimation section

Please add two new items in the estimation init file section where a potential user is able to specify the label of the dependent variable and the treatment indicator.
Ensure that the new labeling is included in the random init file generating process, the simulation and the estimation script and that the test battery works with your adjustments.

This is done


Added option to add fee for HPP payment methods

Add option to add fee to HPP payment methods

Add better info how to set this up


New version: XmacsLabs.Mogan version 1.2.6

Created by 🥟 Dumplings in workflow run #5158.
Logs
Updated: <IP_ADDRESS> → 1.2.6
404: Not Found
404: Not Found
Submitting WinGet manifests

Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,

This PR's version number 1.2.6 has 3 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version <IP_ADDRESS>, which has 4 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 881)

Hi @SpecterShell,

This PR's version number 1.2.6 has 3 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version <IP_ADDRESS>, which has 4 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 881)


Logging into new account does not renew token and uses token from previous account

A while ago I created an account called appleman. Then I created a new account called minecraft. I tried logging in with minecraft but the token I sent / the server read was the token from the appleman account. So of course the token username is not going to match up with the minecraft username.
The token should be wiped on the front end when the user registers or logs in with a new / different account.

baf9070f94ea34f8bdb46f708134b52ac01b3cd2 and a53d66e0eff01567532432c2313a355631761d12 solve this


Upload multiple files with wildcard(regex).

Right now if we use wildcards for filename it uploads the first match, instead of all the files. If the directory has two files some.json and some.csv and you use-
slackcat --channel somechannel some.*
It would only upload some.csv and terminate.

Closed by mistake.

Bump


chore: zeebe-http-cloudevents-worker to 0.0.3

chore: Promote zeebe-http-cloudevents-worker to version 0.0.3

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


cant use full resolution of pi fisheye cam

Which version are you using?
v0.22.2
Which operating system are you using?

[x ] Linux arm64 standard

Describe the issue
I cant get an uncropped immage
Describe how to replicate the issue
               **Camera Identification**

$ libcamera-raw --list-cameras
0 : ov5647 [2592x1944] (/base/soc/i2c0mux/i2c@1/ov5647@36)
Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
1296x972 [43.25 fps - (0, 0)/2592x1944 crop]
1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]
2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
                       **ISSUE**

with 1920x1080 i get an cropped immage and a running stream
with 2592x1944 i get an uncropped image with
sudo libcamera-jpeg -o test.jpg -t 2000 --width 2592 --height 1944
but when i write the resolution into the configuration the log always look like this
                                     **Part of the log**

May 16 15:22:08 lasercam mediamtx[3236]: [0:38:56.626977640] [3236]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70
May 16 15:22:08 lasercam mediamtx[3236]: [0:38:56.694090911] [3237]  INFO RPI raspberrypi.cpp:1476 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP devi>
May 16 15:22:08 lasercam mediamtx[3236]: [0:38:56.694937183] [3236]  INFO Camera camera.cpp:1028 configuring streams: (0) 2592x1944-YUV420
May 16 15:22:08 lasercam mediamtx[3236]: [0:38:56.695219978] [3237]  INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SGBRG10_1X10 - S>
May 16 15:22:08 lasercam mediamtx[3127]: 2023/05/16 15:22:08 INF [path cam] [rpicamera source] ERR: encoder_create(): unable to activate output stream
May 16 15:22:13 lasercam mediamtx[3240]: [0:39:01.799829514] [3240]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70
May 16 15:22:13 lasercam mediamtx[3240]: [0:39:01.849606796] [3242]  INFO RPI raspberrypi.cpp:1476 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP devi>
May 16 15:22:13 lasercam mediamtx[3240]: [0:39:01.850459957] [3240]  INFO Camera camera.cpp:1028 configuring streams: (0) 2592x1944-YUV420
May 16 15:22:13 lasercam mediamtx[3240]: [0:39:01.850742178] [3242]  INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SGBRG10_1X10 - S>
May 16 15:22:13 lasercam mediamtx[3127]: 2023/05/16 15:22:13 INF [path cam] [rpicamera source] ERR: encoder_create(): unable to activate output stream
Did you attach the server logs?
partly above
Did you attach a network dump?
no
edit found in the syslog
May 16 15:37:38 lasercam kernel: [ 3266.802779] bcm2835-codec bcm2835-codec: bcm2835_codec_start_streaming: Failed enabling i/p port, ret -3

Hello, this is not a server issue. Raspberry Pis can't encode in H264 streams with a resolution greater than 1080p, it's an hardware limitation that will probably be overcome when the next model cames out. However, you can set rpiCameraMode with your desired sensor resolution and downscale it to 1080p:
paths:
  cam:
    source: rpiCamera
    rpiCameraWidth: 1920
    rpiCameraHeight: 1080
    rpiCameraMode: '2592:1944'

left side the taken picture, right side the stream.
i need it like left side

Parameters that can be set in the server are the same of the ones requested by libcamera-vid. If your video can't be produced with libcamera-vid, nothing can be done here.


[TEST] AdminResourceSuite: delete engine - user share level *** FAILED ***

Code of Conduct

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

Search before asking

[X] I have searched in the issues and found no similar issues.

What kind of test improve?

[X] Fix flaky tests.
[ ] Fix bug in tests.
[ ] Increase test coverage.
[ ] Other kinds of test improve.

Describe the issues of the existing tests or improvements for new tests
https://github.com/apache/incubator-kyuubi/actions/runs/3382529618/jobs/5617547122
AdminResourceSuite:
- refresh Hadoop configuration of the kyuubi server
- delete engine - user share level *** FAILED ***
  List("serviceUri=localhost:35305;version=1.7.0-SNAPSHOT;refId=fde843a4-b580-423b-9705-cacb04e18070;sequence=0000000000") had size 1 instead of expected size 0 (AdminResourceSuite.scala:103)

Are you willing to submit PR?

[ ] Yes. I can submit a PR independently to improve.
[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[X] No. I cannot submit a PR at this time.

cc @turboFei

master branch CI:
https://github.com/apache/incubator-kyuubi/actions/runs/3383036893/jobs/5618570131#logs


How do I make changes to components?

How do I make changes to components?
I had a component and I wanted to change it:
public sealed class ViewComponent : IComponent {     public GameObject gameObject; }
to
public sealed class ViewComponent : IComponent {     public Transform tr; }
But I got a lot of compiler errors, although I fixed the code of all the systems.
I also tried to remove the generated code and generate it again, but without success
How to correctly change the members of a component?

Guide to regenerating code when making change to compoennts (upcoming changes to the code generator will likely improve this in future).

Move Components, Systems and GameController.cs to a folder outside your project (e.g. desktop).
Delete the contents of your Generated folder
Regenerate contexts (ctrl-shift-G)
Move Components folder back
Make changes to your components
Regenerate components (ctrl-shift-G)
Move Systems and GameController.cs back and you're done.

@boris-741
The only thing you have to do besides fixing the code in systems (what you already did) is fixing the generated GameViewComponent (assuming your context is called game). The AddView and ReplaceView methods have to be updated to accept Transform instead of GameObject. No need to move files out of the project or sth like that. Deleting the generated folder will never help as the code generator cannot pick up any changes if there are compile errors.
@FNGgames is right, with the new roslyn code generator, it will be way better, since all you have to do is generate again and you should be fine.
Also see the wiki about fixing compile errors
https://github.com/sschmid/Entitas-CSharp/wiki/Code-Generator#fixing-compilation-errors

@FNGgames I think your suggested workflow only works if components don't have any dependencies on you game code. As soon as a component uses a custom type in a field, it is getting more complicated. I think updating the generated code might be simpler

@sschmid All the code my components depend upon sit in my libraries folder next to the Entitas install, and I don't move it. If I use an enum for my componet, i declare it next to the component. I guess there's plenty of cases where this wouldn't be the case for people though.

In my project I have been using some defines that I can set to disable all my Entitas code when making changes to components or systems.
It is a bit of extra work, but has has helped with refactoring and Entitas upgrades. I disable Systems while refactoring Components. Then after I regenerate the new components, I can enable systems again. It seemed a bit nicer than moving code in and out of the project.
#if !MYGAME_DISABLE_ENTITAS_COMPONENTS

public sealed class ViewComponent : IComponent {
   public GameObject gameObject;
}

#endif

And also one for systems.
#if !MYGAME_DISABLE_ENTITAS_SYSTEMS

public sealed class CommandLogicSystems : Feature {
    // ...
}

#endif

I added those defines to my Entitas source file templates to keep it easy.

The new code generator is available. This will hopefully solve all your issues.
Entitas on the Asset Store


Fallback to four digit random pool name and log INFO when in security sandbox

Creating a new PR from scratch because I messed up the rebase of PR #697.

Merged with minor modifications.  Thanks!

@garricko HikariCP v2.7.2 containing this fix has been released.  Thanks.


k8s.io/client-go/pkg/api/v1 was retired, how to parse event.Object?

I am watching pods and get event from channel ResultChan(), now I want to parse event.Object. I saw a piece of code like this: event.Object.(*apiv1.Pod), please see the below code, but unfortunately k8s.io/client-go/pkg/api/v1 is retired, this piece of code doesn't work.
My question is, how to get Pod information from event.Object? What new API can access or parse event.Object?
import (
    apiv1 "k8s.io/client-go/pkg/api/v1"
)
    watcher, err := k8sClient.CoreV1().Pods(namespace).Watch(ctx, metav1.ListOptions{
        LabelSelector: labels,
    })

    event := <-watcher.ResultChan():

    pod, ok := event.Object.(*apiv1.Pod)

you can try import apiv1 "k8s.io/api/core/v1"

you can try import apiv1 "k8s.io/api/core/v1"


[python] version.py: guard git calls during wheel builds (sans .git)

Issue and/or context: #2588
Changes:
Make sure "version inference from Git tags" fails silently/gracefully when run outside of a Git clone (e.g. during wheel build).
Notes for Reviewer:
Here is a GHA, dispatched from this branch, that's cleared the version.py portion that was previously failing (beginning with #2578 / this run, on Friday).

"sdist & wheels" GHA still looking good, it's just waiting on a macOS runner…
For reference, here's a local test I ran:
test_wheel_build
test_wheel_build() {
    if [ $# -gt 1 ]; then
        echo "Usage: test_wheel_build [branch=main]" >&2
        return 1
    elif [ $# -eq 1 ]; then
        branch="$1"; shift
    else
        branch=main
    fi

    now=`date +%s`
    dir=/tmp/tiledb-soma-$now
    echo "Cloning TileDB-SOMA@$branch to $dir" >&2
    git clone --depth 1 -b $branch https://github.com/single-cell-data/TileDB-SOMA $dir
    cd $dir/apis/python

    echo "Building wheel" >&2
    python setup.py sdist
    tar=`ls dist`
    name="${tar%.tar.gz}"
    mv dist/$tar /tmp/  # move back up to /tmp, outside the Git clone
    cd /tmp
    echo "Extracting $tar into /tmp/$name" >&2
    tar -xvf $tar
    cd $name

    echo 'Testing `python version.py`' >&2
    python version.py
}

test_wheel_build         # ❌ currently fails against `main`
# subprocess.CalledProcessError: Command '('git', 'tag', '--list', '--sort=v:refname', '[0-9].*.*')' returned non-zero exit status 128.
test_wheel_build rw/ver  # ✅ succeeds against this branch
# 1.11.1.post0.dev117435952


Features/sh 71 destroy session on start

@kretep  Looks like you haven't rebased it to the latest commit

What do you mean? I just see my four commits in this PR, correct?

@rnugraha I fixed the erroneous commit

@rnugraha I updated again :)


quality of life improvements

Features / Changes

Enforce specification of COWBIRD_CONFIG_PATH environment variable or cowbird.config_path INI configuration
to provide the cowbird.yml file with definitions of services and permissions to manage, and raise directly at
application startup otherwise. Without those definitions, Cowbird has no reason to exist.
Add logging details when handlers are processed, succeed and failed their operation to provide insights
about Cowbird integration with other services.

Bug Fixes

Add default timeout=5 to all request calls (pylint recommended fix to avoid infinite lock).
Minor typing fixes.

Codecov Report
Base: 83.79% // Head: 83.45% // Decreases project coverage by -0.34% :warning:

Coverage data is based on head (62c338d) compared to base (494b876).
Patch coverage: 60.37% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   83.79%   83.45%   -0.35%
==========================================
  Files          40       40
  Lines        2487     2520      +33
  Branches      373      373
==========================================
+ Hits         2084     2103      +19
- Misses        297      311      +14
  Partials      106      106

Impacted Files
Coverage Δ

cowbird/constants.py
91.95% <ø> (ø)

cowbird/utils.py
71.59% <ø> (ø)

cowbird/handlers/impl/geoserver.py
75.00% <42.85%> (ø)

cowbird/handlers/handler_factory.py
75.80% <54.83%> (-21.26%)
:arrow_down:

cowbird/api/webhooks/views.py
92.06% <66.66%> (+0.26%)
:arrow_up:

cowbird/handlers/impl/magpie.py
77.38% <66.66%> (ø)

cowbird/app.py
92.85% <100.00%> (+0.85%)
:arrow_up:

cowbird/handlers/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix Settings, startup, languages

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


Incompatible with firebase_auth: ^5.0.0

Is there an existing issue for this?

[X] I have searched the existing issues and found no duplicates.

What plugin is this bug for?
Firebase UI Auth
What platform(s) does this bug affect?
Web
List of dependencies used.

flutter pub deps -s list

 Because firebase_ui_oauth_google 1.3.2 depends on firebase_auth ^4.17.5 and no versions of firebase_ui_oauth_google match >1.3.2 <2.0.0,
  firebase_ui_oauth_google ^1.3.2 requires firebase_auth ^4.17.5.
So, because baintec_page depends on both firebase_auth ^5.0.0 and firebase_ui_oauth_google ^1.3.2, version solving failed.

Steps to reproduce
Try to update to firebase new libraries
Expected Behavior
compatibility
Actual Behavior
incompatibility
Additional Information
No response

@lesnitsky Can we get some eyes on this?
firebase_ui_firestore is currently holding back all major firebase plugins (cloud_firestore etc).
Thanks

We reported it here last week and it was closed as fixed: https://github.com/firebase/FirebaseUI-Flutter/issues/355 - I just tried, after giving it 5 days and the new version is still not available.  It's all good to have checked in code, but it's not really helpful if we cannot get it.

I cutting a new release, will let you know when it is done 🙏

Latest release is out now 👍


Empty Admin tab shows up with Admin Login

Werner, if it's not too much trouble, could you remove the Admin tab in the Web app. It shows up when you log in as Admin, but is empty/blank.

It was removed when @sanjeevghimire refactored the app


Skin

I want to allow a certain ip to only use a selected skin
Do not say that it is client-sided, because what corresponds to ip is completely backend.

Its client sided

place meme here

place your ban here

meme.jpg

k

Before
After

Wow , much magik 🐕 <== Doge

Humility is left over.

@gyeyoqu (In PacketHandler under setNickname function) You can add a check for bad words within the brackets of skin names, like this:
if (this.gameServer.checkBadWord(inner)) {
    // Checks to see if there is a bad word in between skin name brackets (<badword>)
    skin = null;
    name = "Hi there!";
}

Add the skin you don't want people to use into /src/badwords.txt. Make sure you add it as just the word itself and not in between brackets.
Then you can add a check for the player's ip, like this:
// If the players ip is not the ip you entered below, check their skin name for bad words.
if (this.socket.playerTracker.remoteAddress != "insert ip here") { // keep quotes around ip
    if (this.gameServer.checkBadWord(inner)) {
        skin = null;
        name = "Hi there!";
    }
}

^^

@megabyte
And how can I do with more than one ip? And each ip with different skin?

@Megabyte918

@gyeyoqu very very easy way of adding it would just be:
if (this.socket.playerTracker.remoteAddress != "insert ip here") { // keep quotes around ip
    if (this.gameServer.checkBadWord(inner)) {
        skin = null;
        name = "Hi there!";
    }
} else if (this.socket.playerTracker.remoteAddress != "insert ip here") { // keep quotes around ip
    if (this.gameServer.checkBadWord(inner)) {
        skin = null;
        name = "Hi there!";
    }

And keep going and going. You can also use || for or so that you can do 2 ip's on 1 line.

@MastaCoder  and each skin for each ip?

if (this.socket.playerTracker.remoteAddress != "insert ip here") { // keep quotes around ip
    if (this.gameServer.checkBadWord(inner)) {
        skin = null;
        name = "Hi there!";
    }
} else if (this.socket.playerTracker.remoteAddress != "ip 1") { // keep quotes around ip
    skin = "skin 1"
else if (this.socket.playerTracker.remoteAddress != "ip 2") { // keep quotes around ip
    skin = "skin 2"
...

@Luka967  i should put {} ? i use your client.

not required


[App Icon] How to add icon for the executable?

If there was a way to add an icon and create a fully contained executable, this would be killer!

Btw, excellent project, love it! Wanted something like this ever since I laid my hands on a computer.

see: https://github.com/akavel/rsrc


Verify Treasury withdrawal fix

Description
This is a temporary PR just to validate the TreasuryWithdrawal fix implemented in https://github.com/input-output-hk/cardano-ledger/pull/3833
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
roundtrip tests
integration tests
See Runnings tests for more details

[ ] Any changes are noted in the CHANGELOG.md for affected package
[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[ ] Self-reviewed the diff

Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges.  Please contact IOG node developers to do this
for you.

Fix confirmed. Closing


Add candidate photos and initial yaml info to project

I've created the basic folder structure for the candidates info along with photos and initial file. The data file still needs email and website for each candidates.

🎉 Perfect! I'll merge this in once I'm working on stuff later tonight.


Unable to run applications locally

I followed the instructions to run the application on my machine.
Run npm install
Run npm run bootstrap at project root
Use npm run angular to start the Angular sample application
Use npm run react to use the React sample application
But keep getting this error. Am I missing something?
  async start(options) {
        ^^^^^

SyntaxError: Unexpected identifier
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/.../availity-workflow/packages/availity-workflow/scripts/start.js:7:14)```

what version of node?

3.x works with Node 8. 2.x works with Node <8. Try upgrading Node and that should fix the issue.

@robmcguinness Sorry for taking too long to respond. You are correct I had node 6.x installed, and upgrading my node has fixed it. Thank you.


How many days closing price should be passed to calculate RSI(14)

Below I am passing 15 days closing price (oldest close price first).
const rsi = this.calculateRSI.calculate({
  period: 14,
  values: [  153.6, 146.65, 146.4, 147.5, 152.7, 154.45, 150.45, 149.55, 153.6, 161.85,  160.75, 159.0, 163.85, 163.25, 161.05 ]
});

I get response as below.
console.log(rsi) // [58.67].
But actual RSI value which is displayed in Zeroda or TradingView is : 60.79.
Please help me if I am missing something here.

Yes, the calculations vary b/w tradingview & RSI in this lib.
I suppose it is the duplicate of #216

the lib works, try to add more data to RSI, I think the values starts to match with the tv RSI with 100+ candles

@marcusmota thanks for the reply.
Are you saying that the lib works only with 100+ candles (meaning the period should always be >100 ?) Is this documented anywhere?
I've been trying to get a fix for this issue for a very long time now. Please see if you can provide any input on this: https://github.com/anandanand84/technicalindicators/issues/216#issuecomment-864588738

This isn't documented, this is just how I "fixed" the issue :P the value does not need to be 100, try to add more candles until you start to have the same value of tv.


[BUG] HF Model Card sample code not working when choosing CPU as a device

🐛 Bug
After uploading the fine-tuned model to HF, the model card displays a sample code for utilizing the model. However, when selecting CPU as the device, the sample code provided in the HF Model Card does not function properly.
The fine-tuned model:
https://huggingface.co/diegomiranda/EleutherAI-70M-cypher-generator
If you run the first, second, and third sample codes, you will encounter a RuntimeError with the message "LayerNormKernelImpl" not implemented for 'Half'. However, there is a properly functioning code available in this tutorial:
https://towardsdatascience.com/fine-tuning-an-llm-model-with-h2o-llm-studio-to-generate-cypher-statements-3f34822ad5
The code snippet below functions correctly on a CPU:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda:0" if torch.cuda.is_available() else "cpu"
tokenizer = AutoTokenizer.from_pretrained("tomasonjo/movie-generator-small")
model = AutoModelForCausalLM.from_pretrained("tomasonjo/movie-generator-small").to(
device
)
prefix = "\nCreate a Cypher statement to answer the following question:"
def generate_cypher(prompt):
inputs = tokenizer(
f"{prefix}{prompt}<|endoftext|>", return_tensors="pt", add_special_tokens=False
).to(device)
tokens = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.3,
repetition_penalty=1.2,
num_beams=4,
)[0]
tokens = tokens[inputs["input_ids"].shape[1] :]
return tokenizer.decode(tokens, skip_special_tokens=True)
To Reproduce:
On Google Colab choose Runtime -> Change runtime type -> Choose CPU
First, copy and paste the code from the model card examples. Then, make sure to change 'cuda:0' to 'cpu' before running the code.

@psinger Thank you for your response.
I have tested the code and it still fails, even when importing the transformers directly.
The following error message

ModuleNotFoundError                       Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py in _get_module(self, module_name)
1098     """Internally used error class for signalling an optional dependency was not found."""
-> 1099
1100
11 frames
ModuleNotFoundError: No module named 'transformers.models.falcon.configuration_falcon'
The above exception was the direct cause of the following exception:
RuntimeError                              Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py in _get_module(self, module_name)
1099
1100
-> 1101 def direct_transformers_import(path: str, file="init.py") -> ModuleType:
1102     """Imports transformers directly
1103
RuntimeError: Failed to import transformers.models.falcon.configuration_falcon because of the following error (look up to see its traceback):
No module named 'transformers.models.falcon.configuration_falcon'
I've attempted to find a solution but have not been successful. Would you be able to provide assistance, please?

If you get some error with falcon you are obviously using a different model than specified above. Are you sure you are running the exact same code, also setting trust_remote_code=True
In order to try providing more assistance please copy the exact code you are running here.

@psinger
I was not using the falcon model but for some reason it now worked.
Thank you for your response.


Help--no idea what I'm doing

Hello,
my primary reason for getting this keyboard was for arthritis in my hands and elbows.  I use a Mac.  I have managed to figure out how to do the quick files to change the keys for the thumbs to a mac format but I would love code to configure the whole keyboard if someone has already done that.  I have never coded in my life and have tried to read how to do it but it's just not making sense to me.  Any help is appreciated.
I do plan on learning code in the future but I also have a full time job hence this keyboard that helps my hands but is breaking my brain!

Hey there, submit a ticket here: https://kinesis-ergo.com/support/contact-a-technician/
I will get you sorted. :)

Hi Ty,
Thank you so much for responding!  I managed to figure out what I needed to
after watching a few videos and rereading the manual.
I thought I closed that thread (which is more proof that I have no idea
what I’m doing!).
Lauren
On Tue, Nov 19, 2024 at 3:21 PM Ty @.***> wrote:

Hey there, submit a ticket here:
https://kinesis-ergo.com/support/contact-a-technician/
I will get you sorted. :)
—
Reply to this email directly, view it on GitHub
https://github.com/KinesisCorporation/Adv360-Pro-ZMK/issues/589#issuecomment-2486672426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMTCTJFAOMWIDEDUILBOAZT2BOMURAVCNFSM6AAAAABRC7PC7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGY3TENBSGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Searching for emails

Hi Niels,
is it possible to add a search function to the portal? It would be great to be able to search for a specific mail.

I'll note it down as a feature request. Which items would you search for? From a user, to a specific user, mail subject,... If you could provide me a list that would help as there are quite some parameters available.

Thank you! It would be great to have that feature in a future version.
I think the most important items to search for would be:
From (a user)
To (a specfic user)
CC
Mail subject
Date/ Time (sent and received)


How to change model store path on disk?

There is not enough space on the disk.

I think this is what you're looking for https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-set-them-to-a-different-location

3Q


No overload variant of "getitem" of "DataFrame" matches argument type "Hashable"  [call-overload]

Describe the bug
Possibly regression from #70.
import pandas as pd

df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})

for col, dtype in df.dtypes.items():
    df[col]  # No overload variant of "__getitem__" of "DataFrame" matches argument type "Hashable"  [call-overload]

I would recommend adding a unit test that checks whether DataFrame.__getitem__ (and DataFrame.loc.__getitem__) are type-compatible with DataFrame.columns and DataFrame.dtypes.

Ubuntu 22.04
python 3.10.6
mypy  1.2.0
pandas                              2.0.1
pandas-stubs                        <IP_ADDRESS>304

I think this is fixed in pandas-stubs <IP_ADDRESS>412 .  Can you test with that?

yep its fixed!


Document usage instructions for NoroSTAT

The NoroSTAT endpoint has no useful documentation which might have prevented #1170. Proper endpoint documentation should include:

Authentication requirements
Required and optional request parameters
Valid locations, if public visibility of valid locations is permitted

Dropping some basic info here; not sure if formatting and fleshing this out properly is a priority, as we're not updating the DB with new data (but still wgetting it for history backup).

Authentication requirements: a key is required for any data.  If we revive this endpoint I believe the auth parameter can probably be removed entirely, as it's a public, govt data set, and I don't see them state any restrictions on use.
Parameters: I expect all parameters are required: auth, locations, epiweeks for norostat and auth for the meta_norostat endpoint.
Valid locations: these change as the set of states in NoroSTAT changes.  A list of valid locations is output by meta_norostat endpoint.


[Thesis] Traffic Light Example

Updated shock wave expansion and recession. Both are now calculated at the same time instead of one after the other. A receding wave can now also start before the expanding wave has finished. The traffic light example test shows how it works.
isModCheckEnabled() is now public to allow for the CachedDynamicGraphRoadModel.

This change is

Reviewed 2 of 4 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


fixing link for typedclojure plugin

The typedclojure repo has releases, while the original repo does not. This fixes the link.

@ndr-qef Is this change okay with you? I noticed that you're the only contributor on both repos, and that the master branches are "even" but as yours is the repo this is referencing now, I'd like for you to sign off on the change.

Yes, thank you. The main repository is the fork under the typedclojure organization.

@ndr-qef @jaredly Thanks!


Insserver update issue

Don't know exactly if it's an isue or whatever...but maybe it's better to post a note about that.
Insurgency game, today I tried to update the game using the following command
./insserver update
Applying the update I got a FAIL during a Graceful server stopping.
Applying update... [ FAIL ] Stopping ins-server: Graceful: rcon quit: FAIL [  OK  ] Stopping ins-server: Bradipi Urlanti Server

Was the server correctly started and working during the rcon fail ?

Negative...the server didn't restarted ...if I understand correctly the question.
After the update the server is OFFLINE and a monitor command provided the following result:
insserver@hades:~$ ./insserver monitor [ INFO ] Monitor ins-server: Disabled: No lock file found         * To enable monitor run ./insserver start

Mhhh...restarted the server using ./insserver start
After that I tried a monitor command...got the following:
insserver@hades:~$ ./insserver start [  OK  ] Starting ins-server: Bradipi Urlanti Server insserver@hades:~$ ./insserver monitor [  OK  ] Monitor ins-server: Checking session: OK [ .... ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 0/1 : QUERYI[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 0/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 1/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 2/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 3/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 4/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 5/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 6/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 7/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 8/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 9/1 : ERROR:[ FAIL ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 10/1 : ERROR: Unable to receive

Re tested the monitor...now it seems ok ...weird
insserver@hades:~$ ./insserver monitor [  OK  ] Monitor ins-server: Checking session: OK [ .... ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 0/1 : QUERYI[  OK  ] Monitor ins-server: Querying port: <IP_ADDRESS>:27015 : 1 : OK insserver@hades:~$

Well, the query function didn't change since... Your server probably did though.


E999:syntax error

Versions
Please provide your platform details:

Software
Information

Operating System
e.g. Ubuntu

OS Version
e.g. 16.04

Software versions in the Let's start section in the README.
Description
I am trying to run Samples/london2.py as recommended in the README.
I keep getting the above mentioned error
Error log
If you have an error log, please paste it here.

@Lmise could you please paste the complete error log

@Lmise to me it looks like some sought of indentation error, as on my end it works fine. Open the code in some IDE and try to fix the indentation of line after it.


Feature: support concurrently insert batches into memtable

In the origin version of leveldb, the write path is like below:
          write
  write     +         write
    +       |   write   +
    |       |     +     |
    |       |     |     |
    |       |     |     |
+---v-------v-----v-----v---+
|                           |
|        Mutex<queue>       |
|                           |
+-------------+-------------+
              |
              |
              |  group batch
              | <single thread>
              |
              v
     +--------+--------+
     |                 |
     |     Memtable    |
     |                 |
     +-----------------+

Writing batches concurrently will result in a single thread ingestion into memtable and then notify all the relate blocked write request threads.
Maybe we can support concurrently inserting batches into memtable , which should improve the write performance a lot.

The current Skiplist approach doesn't support concurrent inserting. Maybe we should port InlineSkipList from rocksdb https://github.com/facebook/rocksdb/blob/master/memtable/inlineskiplist.h

The current Skiplist approach doesn't support concurrent inserting. Maybe we should port InlineSkipList from rocksdb https://github.com/facebook/rocksdb/blob/master/memtable/inlineskiplist.h

I would like to try on this.

@accelsao Also you may refer to https://github.com/dgraph-io/badger/blob/master/skl/skl.go, which looks like a more clean version of the rocksdb's

badger arena is different from rocksbdb, which one do you prefer?
badger save node offset instead of pointer.

badger arena is different from rocksbdb, do you know which one is better to write in rust?
badger save node offset instead of a pointer.

I think they serve the same purpose with a different approach. Using the current arena should be enough.

How do you think about crossbeam/skiplist, is it a good way to achieve concurrent insert for memtable?

How do you think about crossbeam/skiplist, is it a good way to achieve concurrent insert for memtable?

It may need some extra work to fit the Comparator

@accelsao I've tested the offset-based Arena and it seems more suitable with your inline skiplist implementation.
Do you have time to bring it to your current PR? Maybe I can help :)

Can you help me?  I am quite busy now QQ


Remove a few lingering 3rdparty references

Augments #230 with a few stray 3rdparty dir references.

shall we merge?

Not ready yet. The docker container is not under CI, and it's failing on my machine.

Added some additional cleanup, and got the docker image building after removing the lingering box dep.


terminate called after throwing an instance of 'std::bad_alloc'

Using the code from the xgboost example but with my own data, the optimiser quits with this error:
Initialization
---------------------------------------------------------------------------------------------------------------------------
 Step |   Time |      Value |     alpha |   colsample_bytree |     gamma |   max_depth |   min_child_weight |   subsample |
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

My data is shape = (370551, 10762) with mostly onehot encoded categories.
Python is 3.5.2.

Doesn't look like anything related to this package directly. My guess is either XGBoost or the underlying GP are running out of memory (given you data is pretty wide). Give it a try with a smaller subset of this data and see if you can make it work


TagHelperOutput AppendHtml method serialize the html string array value as differently

From @manikandan05 on January 23, 2018 14:46
Hi All,
In my application i have dynamically form the input elements like as below mentioned code block. In my Process method, i have append the html string to the  *TagHelperOutput.

public override void Process(TagHelperContext context, TagHelperOutput output) {
   string inputTag = "<input data-val-requiredif-values="["ValueData1","ValueData2"]" style="width: 100%;" type="text" data-val="true" data-val-requiredif="txtbox" data-val-requiredif-field="txtbox"   id="TextSF" name="TextSF" value="" />";

  //append the html string value into the TagHelperOutput

   output.Content.AppendHtml(inputTag);

}

But the resultant data is slightly different from my input data. The array values are automatically converted into lowercase, also extra one space added in first string array value. This issue only raised in string array value data types.

How i can overcome from this array value serialized as lowercase issue! is really appreciated.
Thanks.
Copied from original issue: aspnet/Home#2818

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.


request for support tidb

how long can sharding-proxy support tidb?

There is no plan so far.
If you are insterested in this feature, you may try to make an investigation and post to community.

@yinkaihuang You know, TIDB can handle sharding tables, which is similar to ShardingSphere.
So I am curious why you want to adopt Sharding Proxy and TIDB together?
Actually, Sharding Proxy can understand the protocol of MySQL. Based on that, you can view TIDB as one MySQL server, which Sharding Proxy can visit.
I am not sure it is feasible or not, and welcome your opinion. But first of all, I'd like to listen to your idea about my first question.
Thanks,
Trista

@tristaZero TiDB is compatible with MySQL protocol. @yinkaihuang I recommend you to try sharding-sphere on TiDB.

@SteNicholas Hi I guessed so, however, what I concerned is why @yinkaihuang wants to do that, i.e., what problem he encountered.

@yinkaihuang  I will close this issue soon if no more update.

@yinkaihuang
Hi Sorry, this issue has not received any reply from you for more than 7 days. So we have to close it.


temporarily excessive fuseki makefile targets

there are still a lot of Fuseki-related targets in project.Makefile but I think they flow better and are better documented now. Thanks to @eecavanna for adding curl solutions for taking a dataset offline. I was able to follow that pattern and remove some "now do the following manually" steps.


ci: move build before test in ci, remove type check step, add yarn cl…

…ean script

:tada: This PR is included in version @shapeshiftoss/swapper-v1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Learn

Your code looks good but I think you might have meant to commit to your own personal repo

Ha, thanks. You're absolutely right. And great courses, hombre. Do you
provide any sort of mailing notification when you contribute new material
on your Udemy courses?
Noah Schutte
<EMAIL_ADDRESS>Mobile:<PHONE_NUMBER>
On Wed, May 25, 2016 at 5:45 PM, Stephen Grider<EMAIL_ADDRESS>wrote:

Your code looks good but I think you might have meant to commit to your
own personal repo
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/StephenGrider/ReduxSimpleStarter/pull/30#issuecomment-221717631

@noahschutte I do release weekly videos on React/Redux here: http://rallycoding.com/


Fix import of esmvalcore _logging module in cmorize_obs.py

the Github Actions are crashing with module not found error because of bad import of the new logging module in esmvalcore

Is this a duplicate of #1994 ?

cheers @stefsmeets :beer:

This is going to break again real soon after https://github.com/ESMValGroup/ESMValCore/pull/939

If this keeps breaking, we should think about creating a proper public function for it:
https://github.com/ESMValGroup/ESMValTool/issues/1975

how do you mean? https://github.com/ESMValGroup/ESMValCore/pull/939 is already merged in master and is not breaking the development test

I thought the import moved again, but if it's fine then I said nothing 😅🤐👍

well no, the precommit hooks have nulled my change so now we're back to square A


Ignore PackageIconUrl deprecation warning until we have guidance on usage of PackageIcon

We are seeing errors like
error NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl

in our Source Build steps. This occurred since we started to use the Preview 9 SDK which contains https://github.com/NuGet/NuGet.Client/pull/2916

Hmm NuspecProperty seems to be missing some values:

I expected three more properties to be set in source build:
https://github.com/aspnet/AspNetCore/blob/master/src/Components/Components/src/Microsoft.AspNetCore.Components.csproj#L43-L47
Investigating

@JunTaoLuo please rebase to target the 'release/3.0-preview9' branch. We need to be able to build reliably there too.

I think this is ready for review. I'm falling back to unblocking our builds by pinning to the preview8 SDK


Updating packages name for the plugin and release hotfixes of versions 0.28.0 to latest

In future versions Scarb (from sometime after 2.8.3) will require plugins to have the same name in Scarb.toml and `Cargo.toml.
Update names in https://github.com/foundry-rs/starknet-foundry/blob/72ea785ca354e9e506de3e5d687da9fb2c1b3c67/crates/snforge-scarb-plugin/Scarb.toml#L2 and https://github.com/foundry-rs/starknet-foundry/blob/72ea785ca354e9e506de3e5d687da9fb2c1b3c67/crates/snforge-scarb-plugin/Cargo.toml#L2 so they match and both use _ instead of -.
Additionally, create a release hotfix versions (X.Y.1) of foundry from 0.28.0 to latest including just the changes outlined above so that we maintain backwards compatibility for them.

Apparently Scarb might just show a warning initially if these don't match, so we might do without releasing for the time being.


fix(model-server): use one large transaction when putting many values

So far, when putting multiple values via objects/put, a database transaction was created and committed for every value. That is unbelievably slow with a real database. This commit changes the implementation of the endpoint to use putAll instead of multiple put calls, effectively reducing the whole operation to a single transaction.
This is a fix commit and not a perf one as the previous implementation completely broke some known use cases due to ending in timeouts.

We could try to handle everything as a sequence as one further optimization. But that would also require extending the IStoreClient interface with a putAll version that accepts a stream of Pair<String, String?>.

That optimization won't work easily as the used IgniteCache only has an eager putAll signature.

This will use more memory as everything needs to be stored in the map first, but it's a tradeoff, that we probably have to make.

We could try to handle everything as a stream as one further optimization. But that would also require extending the IStoreClient interface with a putAll version that accepts a stream of Pair<String, String?>.

Have you looked intoIStoreClient.runTransaction?
It does not work out of the box in the couroutine scope. But in general, that should be something doable.

runTransaction is used internally inside put and putAll. Just wrapping a runTransaction around many put calls already gave a speedup, but using putAll was still a lot faster and saturated the CPU more than just keeping the transaction alive.

:tada: This PR is included in version 3.18.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: