Retry on failure?

I'm working on a galaxy wrapper for this tool. During my testing of the tool wrapper, I've noticed that downloads will sometimes fail. I'd like to have a way to retry the download if it fails.
Would it be more sensible to integrate that directly into the tool, or into the galaxy tool wrapper?

I guess this depends on the failure mode. The problem with HTTP downloads is that the "all's good" response from the server arrives in the header, before the actual data comes in. If anything happens to the connection afterwards, it can be difficult for the client side tool to notice.
So I guess the question is "what kind of download failures are you thinking about"?
Also, are you using any of the validation functions?

I wasn't using the validation function when I posted this issue, but I've since updated the galaxy wrapper to run with --extended-validation all enabled. I also added a 5-second delay between downloads. I haven't added any mechanism to retry a failed download to the galaxy wrapper.
Those changes seem to have improved the robustness of the galaxy tool (based an a few quick tests running 6 downloads). I was getting ~3-6 successful downloads before making those changes but got 6 successful downloads on my subsequent test. (I know I should put together a larger test).
But to answer your question, here are a few kinds of download failures I can think of:

The network is degraded/unreliable and no sequence file data is sent.
The network is degraded/unreliable and corrupt or incomplete sequence file data is sent.
The user provides an incorrect accession number so no sequence file data is sent.


WICKET-6966, WICKET-7013: prevent unsynchronized access to pages

InSessionPageStore.SessionData#pages is a LinkedList. LinkedList is not thread-safe and keeps a rather complex state as it has to keep track of first and last element and the list size. The combination leads to some fragility. For instance, if multiple threads concurrently remove the same element, both operations will succeed (and remove the same element) but the individually stored list size will get reduced twice. In the case of WICKET-6966 and WICKET-7013 this has happened. The exception message states that the current list size is -1.
InSessionPageStore.SessionData#pages is only accessed in InSessionPageStore.SessionData itself and InSessionPageStore.CountLimitedData. Most accesses are in synchronized instance methods. Unfortunately InSessionPageStore.SessionData#writeObject(OutputStream) contains multiple accesses of the pages list without any synchronization. Therefore should serialization occur while e.G. new page instances are being created this might corrupt the state of the LinkedList.
This merge request removes the last unsynchronized calls.

It would be possible to prevent the list corruption by switching it to a synchronized collection. However, writeObject does first get the list size, then it for-loops over the list (btw an expensive operation on a LinkedList) and it individually removes the pages. It is not hard to imagine that the pages list might end up in all kinds of states if concurrent changes can occur.

Since all other methods in the class are already synchronized, I think your approach to fixing this is correct.
It would be great to have a test for this, but I don't know how hard it is to simulate the failure in a multi-threaded test.

I added a test case that pretty reliably fails without synchronization. I would not make this test part of the Wicket distribution but it helps showing the issue.

You could try to make it 100% reliable with executorservice and Threadpool like here for a similar Testcase:
https://github.com/apache/wicket/blob/5d46ca58cc835b2ac925c14190260c6253db2c3e/wicket-spring/src/test/java/org/apache/wicket/spring/injection/bytebuddy/ParallelInjectionTest.java#L115

You could try to make it 100% reliable with executorservice and Threadpool like here for a similar Testcase:
https://github.com/apache/wicket/blob/5d46ca58cc835b2ac925c14190260c6253db2c3e/wicket-spring/src/test/java/org/apache/wicket/spring/injection/bytebuddy/ParallelInjectionTest.java#L115

That is just as reliable as my test. AbstractExecutorService#invokeAll uses a loop to execute each tests. In no way it guarantees parallel execution as in the end this is very much depending on the underlying OS and hardware. So for consistency reasons I think my test should look like the ParallelInjectionTest. But both tests do not actually prove the absence of a problem.

If it does not improve the reliability, disregard my comment, i was thinking the code would look cleaner that way, nevermind.

Thank you, @dr0ps !


Event log is output to unknown folder.

Event log is output to the file below.
/personium_nfs/personium-core/eventlog/unknown/current/default.log

Released in 1.6.3


Update Diagnostic-gateway logic for pulling logs to accomodate CP4I

Continued from issue 37
I believe the check for "$ready"=="1/1" at line 1055 needs to be updated as CP4I Gateway pods can contain 3 containers (datapower, od-tracing-agent, and od-tracing-collector).
I have suggested customers update this logic and seen the diagnostic folder started to populate when it didn't before
Relevant code snippet
#grab gateway diagnostic data
if [[ $DIAG_GATEWAY -eq 1 && $IS_GATEWAY -eq 1 && "$ready" == "1/1" && "$status" == "Running" && "$pod" != "monitor" && "$pod" != "operator" ]]; then
GATEWAY_DIAGNOSTIC_DATA="${K8S_NAMESPACES_POD_DIAGNOSTIC_DATA}/gateway/${pod}"

Updated algorithm to detect if pod is ready.  Fixed in commit e3126a540de6464bb78cf842b263ac53d5445362.


gyp?

Keep getting this error when I try and install node. I'm wondering if a library got changed or updated or something. Seen anything like this?
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.3/node-v64-darwin-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.3/node-v64-darwin-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)

Hi tarikh! Use nvm to install node 9.6.0 then use that version to run install :)

It seems like something is wrong with the latest node version...

Closing as unrelated to this repo


reversing of reverse strand features

Hi Jason, maybe you can advise using something better than exonerate for protein2genome mapping, but... since I am using it - I've found a very strange behavior of your perl script, I can't explain.
pretty standard/recommended exonerate parameters
exonerate --model protein2genome --percent 95 --showtargetgff yes --showalignment no  --targetchunkid ${SLURM_ARRAY_TASK_ID} --targetchunktotal 16 --ryo ">%qi length=%ql alnlen=%qal\n>%ti length=%tl alnlen=%tal\n"  --querytype protein --query proteins.fasta  --targettype dna --target genomic.fna > exonerate_chunk${SLURM_ARRAY_TASK_ID}.output
the GFF part of output looks correct (checked that), but after using process_exonerate_gff3.pl
perl process_exonerate_gff3.pl -t Protein exonerate_chunk8.output exonerate_chunk9.output > exonerate_test89.gff3
the reverse strand genes became reversed (as in example attached) and in Geneious they come to completely wrong positions. It is default/normal behaviour of the script?

2jason.txt

UPD. Of course :) nothing wrong with  process_exonerate_gff3.pl - it seems to be all about how Geneious loads the (-) strand features...

Okay. Glad it worked.
Since this is just a deposit for my working scripts I don’t have unit tests for these but originally I did have test cases this was validated against.
Jason Stajich, PhD
<EMAIL_ADDRESS>On Aug 7, 2018, 5:03 PM -0700, MichaelFokinNZ<EMAIL_ADDRESS>wrote:

UPD. Of course :) nothing wrong with process_exonerate_gff3.pl - it seems to be all about how Geneious loads the (-) strand features...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

sorry, still not quite sure with gff (-) strand coordinates. could you please check in the file attached above if it is a normal transformation of exonerate output by the script.

I’ll try. Not much time this week to do this.
Jason Stajich, PhD
<EMAIL_ADDRESS>On Aug 7, 2018, 5:27 PM -0700, MichaelFokinNZ<EMAIL_ADDRESS>wrote:

sorry, still not quite sure with gff (-) strand coordinates. could you please check in the file attached above if it is a normal transformation of exonerate output by the script.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

sorry, any chance you had time to check it?

No time. But remind me again what you need exactly - these are just Archive of things I use not intended to be production resources for anyone.
Jason Stajich, PhD
<EMAIL_ADDRESS>On Aug 19, 2018, 6:54 PM -0700, MichaelFokinNZ<EMAIL_ADDRESS>wrote:

sorry, any chance you had time to check it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

got it :) there two parts:
(1) problem with the script - it technically reverses coordinates of features from the (-) strand - so misplacing them in a final gff. any guess why that can happen?
(2) what are you using nowadays for protein2dna mapping, if not considering exonerate?

thank you! a lot of hints :) sure will be able to get around (already wrote a basic parser...)

what helped - I've commented out the condition for (-) strand

if( $f->strand < 0 ) {
my $s = $length - $f->end + 1;
my $e = $length - $f->start +1;
$f->start($s);
$f->end  ($e);
}


Add EntryPoint config parameter

This allows to specify custom 'main' path, like cmd/x or github.com/user/app/cmd/x.

I do not see any issues with this.  I did some quick tests on my side and didn't notice any negative effects.  I can see the utility of this.
I have some additional documentation to add (the "why" in config.go for this field; in the README table).


Required modules for Azure connection should be minimized

When connecting to All or Azure services without the necessary modules being preinstalled the error message is generated too broadly:
if ($Service -contains "Azure" -or $Service -contains "All") {
      Write-Verbose "Connecting to Microsoft Azure"
      try {
         Connect-AzAccount -SkipContextPopulation -UseDeviceAuthentication:$UseDeviceCode -Environment $AzureEnvironment
      } catch [Management.Automation.CommandNotFoundException] {
         Write-Host "`nThe Azure PowerShell module is not installed. Please install the module using the following command. For more information see https://learn.microsoft.com/powershell/azure/install-azure-powershell" -ForegroundColor Red
         Write-Host "`Install-Module Az -Scope CurrentUser`n" -ForegroundColor Yellow
      }
   }

Do we need the full Azure PowerShell package or only Az.Accounts?

This can be my first issue 😊

Currently, I believe the only the only cmdlet using Azure is https://github.com/maester365/maester/blob/main/powershell/public/cisa/entra/Test-MtCisaDiagnosticSettings.ps1.
That does use Invoke-AzRestMethod. Assuming future cmdlets would use that method rather than the submodules Az.Accounts would be sufficient.

@sassdawe yes please go ahead with a PR. Tx!

It's been 3 months so I put in a PR, hope that's ok.


Dev

Sorry, it was a mistake from my repository 😭

Out of curiosity: Why did you have to use bcryptjs and not bcrypt? Any limitations on Windows for  bcrypt?

But you had success with bcrypt.js, correct? Then I will introduce this one in the tutorial.

Yes, bcryptjs works fine on both Windows and Macos


Kernel variance vs. Gaussian noise variance

Hi,
In my cases, when I optimized GPy.model.GPRegression(kernel=RBF), I got different results

kernel variance (~0.00001) is smaller than Gaussian noise variance (~1) . What's the meaning of this result?
kernel variance (~10) is larger than Gaussian noise variance (~0.009). What's the meaning of this result?

Any helps would be highly appreciated.
Best,
JM

In (1) the model has found a minima where the signal to noise ratio is very low (for a simple RBF kernel you can divide the variance of the RBF by the variance of the Gaussian noise to find this ratio).
In (2) the opposite has happened.
These can be local minima, you need to be sensitive to initialisation, such as the kernel lengthscale, and perhaps try some different starting points.
This paper uses signal to noise ratios to find 'quiet genes' in gene expression. It might be helpful.
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-12-180

Thanks for the reply. I've tried different starting points (via optimize_restart), and got similar results.
BTW, how to decide whether a GPRegression is fitted well? My option is that kernel variance is larger than Gaussian noise variance, and Gaussian noise variance is about 0.25~0.5.
Any comments are helpful.
JM

If you have a look at the paper, the key is to look at the likelihood of the different fits. Often one likelihood will be far larger than the other.

Do you have any priors you can bring to the problem?
On a scale of easy-solution to most-principled-solution:
a) Rather than use the random restarts in the optimize_restart method,
could you initialise the parameters roughly to be the values you expect, so
it is likely to find the correct (hopefully global) maximum likelihood.
b) Put constraints to keep a parameter in a known bound: use
"constrain_bounded"?
c) Slightly more principled is to add a prior. use "set_prior", and then
use normal ML estimation.
d) More principled still is to integrate (sample) over the hyperparameters.
Just some thoughts.
Mike
On Tue, 23 Jun 2020 at 09:13, Neil Lawrence<EMAIL_ADDRESS>wrote:

If you have a look at the paper, the key is to look at the likelihood of
the different fits. Often one likelihood will be far larger than the other.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPy/issues/848#issuecomment-647985139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4MGQAJG2UMOJTELMKM6GLRYBP3FANCNFSM4OFLZGVQ
.

Thanks for the reply. Not sure how to bring the priors to the problem.
More details about this REAL case.

~30 samples, say x1, x2, ..., x30, and each of them is of dimensionality 100.
Only 3~5 values of x2 are different from x1; the same phenomena appears in the comparison of x3 and x2. In addition, 30%~50% of these 100 values are the same.

One way we think is to use Leave-one-out (LOO) to select possible kernel variance and length-scale and then use each of these LOO selected kernel parameters to set constrain_bound. But not sure if this is correct or not.
Any suggestions are appreciated.
JM

If you do not use ARD, which gives one length scale per input dimension, the model should not overfit, but the model may treat everything as noise (kernel variance is close to zero).
If you need ARD, point estimate with cross validation or MCMC could be a solution to the problem.

@lionfish0 Hi Mike,
Do you have any further references of (c) or (d)? Thanks in advanced.
c) Slightly more principled is to add a prior. use "set_prior", and then
use normal ML estimation.
d) More principled still is to integrate (sample) over the hyperparameters.
Best,
JM

I found a paper discussing about estimating kernel variance via MLE and LOOCV.
F. Bachoc, Cross Validation and Maximum Likelihood estimations of hyper-parameters of Gaussian processes with model misspecification. Computational Statistics & Data Analysis 66 (2013): 55-69.

Hi all,
After using ARD, I found some phenomena of "lengthscale" results.

a large lengthscale, reaching to the upper bound of constraint_bound setting;
a very small lengthscale, say 0.00000001.

My comments are that if values of a dimensionality does not affect y significantly, its corresponding optimized lengthscale is large. On the other hand, a dimensionality with the smallest lengthscale should affect y more.
Please correct me if I'm wrong.
Thanks.


Update tutorial-csharp-module.md

fix typo

@poychang : Thanks for your contribution! The author, @kgremban, has been notified to review your proposed change.

Thank you @poychang
#sign-off


torchvison.io.decode_jpeg memory leaks on GPU while file on CPU

🐛 Describe the bug
When I know torchvision starts to support decoing jpegs with nvjpeg, I was happy to try it but found memory leak when decoding with GPU. Here is my code below:
            filename = self.cocoset.loadImgs(index+1)[0]['file_name']
            fullname = join(self.picpath,filename)
            img = io.read_file(fullname)
            img = io.decode_jpeg(img,device=self.device)
            img = img.unsqueeze(0)

here self.device='cuda:0'
But I found the usage of graphic card memory increased non-stopping and finally caused an OOM.
I tried the cpu version with:
            filename = self.cocoset.loadImgs(index+1)[0]['file_name']
            fullname = join(self.picpath,filename)
            img = io.read_file(fullname)
            img = io.decode_jpeg(img).to(self.device)
            img = img.unsqueeze(0)

It worked flawlessly without any abnormal memory usage.
Versions
I worked on Debian 10 with NVIDIA driver 495.29.05+CUDA 11.5.1(latest).
with AMD 5900X+dual RTX 3090
python3.8+pytorch1.10.1+torchvision 0.11.2+cu113 which installed as the pytorch mainpage guide:

pip3 install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html

now I can only put decoding process on cpus,I hope using GPU decoding to accelerate my training process,many thxs!

Thanks for the report @lincchenl , I think this is a duplicate of https://github.com/pytorch/vision/issues/4378 so I'll close this one. From https://github.com/pytorch/vision/issues/4378#issuecomment-1044957322 , the bug comes from nvjpeg directly, and it seems that it was fixed in CUDA 11.6.


Sinatra doesn't seem to like a trailing /

http://<IP_ADDRESS>:8080/login/

is treated differently than
http://<IP_ADDRESS>:8080/login

That's not how most web services work AFAIK, and we should strip trailing /

@KrauseFx most web services may do this but if it isn't with a 301 redirect it's creating duplicate content as they are indeed both two separate resources. That's the R and the I in URI. They MUST be unique. (Even if you redirect). If they are not must redirect or use <link rel=canonical...>.
To be clear even Roy Fielding said Rails didn't implement REST properly and spent months in endless debates with the man. But if you asked Rails at that time it would have been said they WERE RESTful. Technically speaking until browsers support DELETE,PUT,PATCH there's no framework really restful. But I digress. /foo and /foo/ are two different resources. Hence the need to redirect. In actuality this test SHOULD respect both resources and perhaps perform a redirect. An additional can of worms is opened re: non-safe methods.

That's super interesting, thanks for the comment and letting us know @snuggs 👍
As a developer, it's common to modify the URL directly - and as a result often end up with a trailing /.
While not considering this might be 100% correct and according to the specifications, I don't see a reason why we should distinguish, considering that we'll never show different content depending on if there is a trailing / or not

it's not about different content. It's more about unloading developer footguns. INDEED there are many apps where people use relative urls. Some even merely render html from Sinatra which isn't  a bad thing. But if one of those links somehow links to /users and the view links to cat.jpg it won't come from the /users folder. Again I will state Sinatra perhaps is shielded from this by the convention of serving static from /public or wherever. But this is more a discussion of how the web was intended to work, and where devs chose ergonomics over UI/UX.  Now i'm as lazy as any other developer. But must admit we do load personal footguns up from time to time. The next generation will deal with it. I need to :shipit: 🚢 " is the mantra. Still doesn't mean it's right.
To be clear i'm not suggesting anything I just know with working on the platform specs that devs may run the code. But forget that the people run the URIs. Someone bookmarks a link to /users and another links to /users/ if Sinatra is doing the trimming behind the scenes now the dev is FORCED to use <link rel=canonical href=/users> in their code or Google will actually downvote that resource. We often don't find out until the SEO strategist on the team comes barking at our desk. That's if we still work there. And why she is pissed is because she can't do her job as well as she thought.
Not bringing up for-instances. This actually happened to me.
#SadButTrue
What do you think we should do? I'm not suggesting anything as you influence direction more than I do. I just stumbled across this searching for what is the right 405 for resources.
At minimum if a redirect is not done perhaps documentation of sorts respectively. And of course I wouldn't suggest something I'm not willing to contribute to myself. I'd just be a curmudgeon then. Open source has enough of this already. :-)
Happy Friday!

@snuggs said:

until browsers support

I think you mean:

until HTML supports

😄

Indeed @tmornini ... indeed!

@snuggs said:

The link example should also have been cat.gif

¿Por que?


remove getGOPATHS; cleanup

What does this do / why do we need it?
This change:

Removes the getGOPATHs function
Embeds a slimmer version (w/o unused parameter) in place of it's only usage in SetPaths
Updates out of date docs for SetPaths

Which issue(s) does this PR fix?
Related #672

Thanks for simplifying it 👍


Make it possible for people to use a different Backstage image when starting the idpbuilder

Based on this slack conversation
Charles Moulliard:
As the purpose of idpbuilder is to let a user to setup their own IDP (= to use their backstage packaging = plugins, etc), then we should at least before to release idpbuilder to allow to have a parameter able to set the backstage image to be used as the imageTag is hardCoded:

https://github.com/cnoe-io/idpbuilder/blob/1859b59123820aa326ddc983779c678f879ac2ea/pkg/apps/srv/backstage/install.yaml#L98
few considerations here:

it will make it harder to ship the idpbuilder with preconfigured plugins and assume certain workflows as things may break when a custom image is used
it introduces a dependency to an external OCI registry to pull the image from

it introduces a dependency to an external OCI registry to pull the image from

This is also the same for all the components deployed on the idp platform by argocd (or kind too) as they are consuming images from external repositories (docker, gcr, etc)

it will make it harder to ship the idpbuilder with preconfigured plugins and assume certain workflows as things may break when a custom image is used

I dont think so. If we support, part of the idpbuilder tool (= pluggable packages and its configuration), a way to map a backstage plugin to a pluggable component to be deployed by the idpbuilder, then you will be able to resolve this problem which is today not at all manageg by the existing IDP that I'm aware: Tanzu TAP, Red Hat Developer Hub, etc
Example for sonarqube
Backastage node package: "@backstage/plugin-sonarqube": "0.7.5" which corresponds to a helm helm upgrade --install -n sonarqube sonarqube sonarqube/sonarqube` chart that we could bind to an ArgoCD Application CR

We do not ship backstage with the binary anymore. This issue can be closed.


Modernize set_thread_name on Windows

This changes setting thread names on Windows such that the name is visible in the debugger even if the process was attached and not started by VS.

bors merge


the spell-check of Koenig Editor is very not friendly to Chinese！

description:
The first word of every sentence is invalid，and it's flash；
Technical details:

Ghost Version: 2.2.0
Node Version:  8.12.0
Browser:  chrome & ghost Desktop & firefox
OS: macOS
Database: mysql5.7

Closing as a duplicate of https://github.com/TryGhost/Ghost/issues/9801. The flickering spellcheck is a known issue in the upstream editor library and is tracked here https://github.com/bustle/mobiledoc-kit/issues/621

ok, thanks


Knative-local-gateway gets deleted and never re-created

Describe the bug
We had been using Knative 0.17.0 without much issue for the last few months. We wanted to upgrade to something a little newer and we've hit a bit of a wall getting things working because of the changes surrounding the cluster-local-gateway to knative-local-gateway name change. Effectively after upgrade, we lose the ability to communicate with our isitio ingress gateway and also within the cluster. Our knative services don't get registered in the cluster DNS and so we can't resolve them. E.g. we can call something like files-00001.svc.cluster.local but not files.svc.cluster.local.
We think that the issue is related to the serving reconciler. I can see in the logs for the operator that it tries 4 times to create the knative-local-gateway service in istio-system. It never logs any errors but also never manages to create the knative-local-gateway service.
Questions

Is there any debug logging i can turn on in the operator to let me know if/why this process has failed?
If there is some funny RBAC issue going on here - is there anywhere I can look to find that out?
Is there any way to make the reconciler not delete the service knative-local-gateway in istio-system e.g. can I set some parameters to make it match what it expects?

Expected behavior
After deploy there should be a service called knative-local-gateway in the istio-system namespace. Knative services should be available in DNS within the cluster.
To Reproduce

Prepare a 0.17.0 installation with an istio-minimal-operator.yml file with the following contents:

---
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: istio-controlplane
spec:
  values:
    global:
      proxy:
        autoInject: disabled
      useMCP: false
      # The third-party-jwt is not enabled on all k8s.
      # See: https://istio.io/docs/ops/best-practices/security/#configure-third-party-service-account-tokens
      jwtPolicy: first-party-jwt

  addonComponents:
    pilot:
      enabled: true
    prometheus:
      enabled: false

  components:
    ingressGateways:
      - name: istio-ingressgateway
        enabled: true
      - name: cluster-local-gateway
        enabled: true
        label:
          istio: cluster-local-gateway
          app: cluster-local-gateway
        k8s:
          service:
            type: ClusterIP
            ports:
              - port: 15020
                name: status-port
              - port: 80
                targetPort: 8080
                name: http2
              - port: 443
                targetPort: 8443
                name: https

and a knative-serving-operator.yml file with the following:
apiVersion: v1
kind: Namespace
metadata:
 name: knative-serving
---
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeServing
metadata:
  name: knative-serving
  namespace: knative-serving
spec:
  version: {{ .Values.knative.version }}
  config:
    {{- if eq .Values.cloud "local" }}
    deployment:
      # List of repositories for which tag to digest resolving should be skipped
      # This list must include any registries that are used by knative and
      # to use the  local registry mirror - it appears that knative ignores
      # insecure-registry settings and /etc/hosts
      registriesSkippingTagResolving: |-
        docker.pkg.github.com,gcr.io,k8s.gcr.io,mcr.microsoft.com,docker.io,registry-1.docker.io
    {{- end }}
    # Set all knative services to be internal only. An API Gateway is required
    # to enable access to any Knative service. If this is changed to a public
    # domain name, existing services must be labeled with:
    # serving.knative.dev/visibility: cluster-local
    # (as of knative v0.20: https://knative.dev/v0.20-docs/serving/cluster-local-route/)
    domain:
      svc.cluster.local: ""

Upgrade the operator to 0.21.0
Update the istio-minimal-operator.yml to have the following contents:

---
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: istio-controlplane
spec:
  values:
    global:
      proxy:
        autoInject: disabled
        logLevel: debug
      useMCP: false
      # The third-party-jwt is not enabled on all k8s.
      # See: https://istio.io/docs/ops/best-practices/security/#configure-third-party-service-account-tokens
      jwtPolicy: first-party-jwt

  addonComponents:
    pilot:
      enabled: true

  components:
    ingressGateways:
      - name: istio-ingressgateway
        enabled: true
      - name: knative-local-gateway
        enabled: true
        label:
          serving.knative.dev/release: "v0.21.0"
          networking.knative.dev/ingress-provider: istio
        k8s:
          service:
            type: ClusterIP
            selector:
              istio: ingressgateway
            ports:
              - name: http2
                port: 80
                targetPort: 8081

and the knative-serving-operator file remains the same.
Knative release version
Knative 0.19.0, 0.20.0, 0.21.0
istio versions: 1.8.3, also tried 1.9.1

This is what I have tried:

Set up the kube cluster 1.19.7 at docker-desktop.
Install istio:

cd istio-1.8.3
export PATH=$PWD/bin:$PATH
istioctl install --set profile=demo -y
kubectl label namespace default istio-injection=enabled

Install knative

kubectl apply -f https://github.com/knative/operator/releases/download/v0.21.0/operator.yaml

install CR:

kubectl apply -f serving-operator.yaml

Check the service

kubectl get service knative-local-gateway -n istio-system

The service seems fine:
NAME                    TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)   AGE
knative-local-gateway   ClusterIP   <IP_ADDRESS>   <none>        80/TCP    2m25s

Hi, I´m facing the same issue. I can see the service knative-local-gateway in istio-system being created by the operator, but shortly after the service disappears.

@houshengbo Could it be that this is deleted by k8s garbage collection? Using a kind setup, I found the following logs within kube-controller-manager:
I0422 10:14:13.493542       1 event.go:291] "Event occurred" object="istio-system/knative-local-gateway" kind="Service" apiVersion="v1" type="Warning" reason="OwnerRefInvalidNamespace" message="ownerRef [operator.knative.dev/v1alpha1/KnativeServing, namespace: istio-system, name: knative-serving, uid: ea1e857f-b083-4505-8906-aae17b5d4d7b] does not exist in namespace "istio-system""

Hello, I'm also facing this issue. To test @Fabian-K 's garbage collection theory I created a modified version of the operator that doesn't attach the owner ref if the resource is in a different namespace than the owner (which isn't supported in k8s v1.20). With this change in place, the Service isn't destroyed and everything works as expected, thus validating @Fabian-K 's theory.
I'll clean up my code a bit and put together a PR.


[bug] signing container returned the UNAUTHORIZED error

Describe the bug
Login was passed but signing container returned the error:
Error: signing docker.io/xxx/admission@sha256:xxx: POST https://index.docker.io/v2/xxx/admission/blobs/uploads/: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:xxx/admission Type:repository] map[Action:push Class: Name:xxx/admission Type:repository]]

May I ask why and how to solve it?
To Reproduce
Here is my workflow: https://github.com/vincentgoat/kubeedge/actions/runs/3747732410/jobs/6364385682

I make a mistake with the registry user name, and I will try it again.

Is it working after you've changed the username?

Yes, thanks.
By the way, how can I field username with secrets.USERNAME other than github.actor?

Yes, thanks. By the way, how can I field username with secrets.USERNAME other than github.actor?

@vincentgoat You can see a workaround here: https://github.com/slsa-framework/slsa-github-generator/issues/1347#issuecomment-1349197971. Please follow that issue for updates.

@vincentgoat Thanks for the issue. I think this particular issue is resolved so I'll close it. Remaining issues with using secrets for the registry username can be tracked on #1347. Feel free to reopen if you think there are other issues that still need to be addressed.


FileSmoosher changes snuck in with java-util merge

We moved java-util over to the druid repository to make it easier to iterate on functionality in there.  This was spawned by a conversation from PR: https://github.com/metamx/java-util/pull/55
Along with that move, we accidentally included the changes in FileSmoosher from that PR.  This is an issue to make sure people are aware of what happened and to discuss what should be done to rectify the situation.
@akashdw

IMO since it already had one 👍  then a good solution is for someone else to take a look at the code before 0.9.3.
@cheddar could you confirm that the code moved in to druid in #3585 is equivalent to the diff currently in https://github.com/metamx/java-util/pull/55? If so then that's probably the easiest place to review it.

@cheddar @gianm Yes, code moved in to druid in https://github.com/druid-io/druid/pull/3585 is equivalent to the diff currently in https://github.com/metamx/java-util/pull/55  except imports, package name and license.

@gianm @cheddar Sorry for accidentally adding filesmoosher changes along with migration.  I can open a pr to revert filesmoosher changes to make things more aligned with druid-io review process. What do you think?

I would rather label this a blocker for 0.9.3 and assume the review will be OK or minimal.

+1 to @drcrallen's suggestion.

@cheddar @gianm @drcrallen Created a PR https://github.com/druid-io/druid/pull/3673 to address https://github.com/metamx/java-util/pull/55 review comments.

Fixed by #3673


Invalid checks in lxcValidConfig

Seems like checks always fails for a new-style keys like lxc.net.ipv4.address
// 234 line in lxd/lxd/container_lxc.go
if strings.HasPrefix(key, networkKeyPrefix) {
	fields := strings.Split(key, ".")

	allowedIPKeys := []string{"ipv4.address", "ipv6.address"}
	if !util.RuntimeLiblxcVersionAtLeast(2, 1, 0) {
		allowedIPKeys = []string{"ipv4", "ipv6"}
	}

        // fails on valid keys
	if len(fields) == 4 && shared.StringInSlice(fields[3], allowedIPKeys) {
		continue
	}

	if len(fields) == 5 && shared.StringInSlice(fields[3], allowedIPKeys) && fields[4] == "gateway" {
		continue
	}

	return fmt.Errorf("Only interface-specific ipv4/ipv6 %s keys are allowed", networkKeyPrefix)
}

lxc.net.ipv4.address would indeed always be rejected, but lxc.net.0.ipv4.address shouldn't

In case of lxc.net.0.ipv4.address fields[3] == ipv4 and fails too

yeah, the logic is broken, looking at it now


Buck built with wrong JDK version

Buck build system is packaged with the wrong JDK it seems
% buck
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.Error: java.lang.NullPointerException
	at java.base/java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(FileSystems.java:133)
	< snip >
	... 34 more
You're using Java 11, but Buck requires Java 8.

Additional context
PR #119247 introduced a bump in JDK version, see (https://github.com/NixOS/nixpkgs/pull/119247#pullrequestreview-642420243).
@jonringer @marsam @jgertm
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I guess the most recent version should support java 11: https://github.com/facebook/buck/issues/2037

Until they make a stable release with those changes included, we will just use jdk8


Move titles above charts

This moves chart titles, in the overview pages, from the legend to above the chart.
Mock: https://marvelapp.com/1jj511j6/screen/63870434
Fixes https://github.com/project-koku/koku-ui/issues/1198
Ocp on cloud

Ocp

Aws

Azure

Codecov Report

Merging #1199 into master will increase coverage by 0.01%.
The diff coverage is 40%.

@@            Coverage Diff             @@
##           master    #1199      +/-   ##
==========================================
+ Coverage   74.64%   74.66%   +0.01%
==========================================
  Files         227      227
  Lines        4441     4440       -1
  Branches      866      866
==========================================
  Hits         3315     3315
+ Misses       1007     1006       -1
  Partials      119      119

Impacted Files
Coverage Δ

src/components/charts/costChart/costChart.tsx
7.25% <0%> (ø)
:arrow_up:

src/components/charts/trendChart/trendChart.tsx
72.04% <100%> (+0.76%)
:arrow_up:

src/components/charts/usageChart/usageChart.tsx
75.8% <50%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Browser / vanilla javascript example?

Is there a vanilla JS browser example available?
Searching for a way to build a multi user collaborative javascript app. Local first and syncing with other clients...
Listening for other clients changes like todo list, chat or similar apps.

In the early days of automerge-repo, I wrote it in vanilla JS and had just such an example. As time went on, I found that maintaining vanilla JS was painful, and there were painful tradeoffs between supporting native ESM modules with WASM packaging versus integrating with systems like Vite and WebPack.
You should still be able to run Automerge-Repo without React or anything, but I don't have any surviving example code showing how to do it. That said, if you pull together a sample I'm happy to review it and keep it around for other folks.

I just worked with simple JS files and haven't played with svelte or wasm...
Maybe a small starting point how to load setup automerge to use in browser?


Folder Struture

Folder Structure
Starter code does not contain an organised folder structure.
Amend:

Copy starter code repo
Commit and upload starter code
Create folder structure based on specifications below
Reorganise files in folder
Edit code links to operate properly within new folder structure

Folder structure specifications:

index.html file at top level
js folder with included javascript code
css folder with included .css code
img folder with images

Issue Closed
All actions mentioned above have been performed.
Repo is ready for development.


fix: Show serial number in holder tab in activity

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9807

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary
copilot:summary
copilot:poem

😍 Perfect, I’ve sent the payout
💵 $20 @ 9.33 USD/DOT ~ 2.144 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x309256fafda8b3ef0789a18ea24cea59ff36cefc910a2c127178fc69d9dea309
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


EnderIO crash on linux (Latest version for MC 1.12.2)

Issue Description:
The Modpack is self made, I already tried with only endercore&enderio and got the same result, Im using Linux
info.txt
^ my linux dist and other useful stuff
What happens:
Starting a modpack with EnderIO on linux, and crashes on loading enderio core
What you expected to happen:
That it would normally start so i can play with my friends :c
Steps to reproduce:

Be on Linux
Open your launcher
Start a pack with enderio
Be Me
Crash
...

Affected Versions (Do not use "latest"):

EnderIO: EnderIO-1.12.2-5.3.70.jar
EnderCore: EnderCore-1.12.2-0.5.76.jar
Minecraft: 1.12.2
Forge: forge-1.12.2-<IP_ADDRESS>60-installer
SpongeForge? no
Optifine? yes
Single Player (it didnt appeared on starting a server with enderio on linux)

Your most recent log file where the issue was present:
crash-2022-03-29_14.43.56-client.txt

I am having the exact same problem, however i'm only having it on a dedicated server, not client

make sure you are using Java 8 or 9. (can get a copy of Java 8 by using AT Launcher to download an instance that uses MC 1.12.2 and use Multi MC 5 to control the Java version)
If Nvidia GPU used need to install the proprietary drivers this
both the single file version and the modular version works if steps 1 and 2 are checked and done properly

Are you a bot? Unrelated and misleading response to an very old issue, it looks more like a broken eio core download or maybe an version mismatch


add rt kernel recipe for version 4.19

add rt kernel recipe for version 4.19
Signed-off-by: Vincenzo Pacella<EMAIL_ADDRESS>

This change is

@jenkins-ag ok to test


Mapping between the existing API and the new data model

title: '(feat): Mapping between the existing API and the new data model'
Description
This PR introduces a new feature that creates a mapping between the existing API and the new data model to accommodate "Supplier" and "Customer" columns. This is in response to the issue #21 in the vas-country-risk-backend repository.
Fixes #21
Pre-review checks

[x] DEPENDENCIES are up to date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Additional information

To request a review, check out who's involved to see a list of contributors and committers
Use the mailing list if you are unsure, who to contact, or if want to engage in a general discussion
Check out our guide on how to contribute
Check out our Release Guidelines
Check out the Eclipse Foundation contribution guidelines

@SebastianBezold thank already changed the workflow for the sonar properties and changed the pom.xml if all its ok for you please accept this merge

Tested application and it works fine, and Java code looks good. Ok from me

Hi @fabiodmota, since my last review you pushed new code to this PR. They are even annotated as feature.
The PR is now of a size, that requires an IP check. I'll create the issue for that and link it here.
Also, the pom.xml changed quite a bit and to me it seems like the spring-boot dependencies are new. The DEPENDENCIES file on the other hand hardly changed. Can you clarify that? Did you run dash? Do we need to open automated IP issues for the 3rd party dependencies?

Project content review: https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/9367

Hi @fabiodmota, since my last review you pushed new code to this PR. They are even annotated as feature. The PR is now of a size, that requires an IP check. I'll create the issue for that and link it here. Also, the pom.xml changed quite a bit and to me it seems like the spring-boot dependencies are new. The DEPENDENCIES file on the other hand hardly changed. Can you clarify that? Did you run dash? Do we need to open automated IP issues for the 3rd party dependencies?

Just updated DEPENDENCIES file , every dependency is approved so i suppose it will not need dependency IP check

Thx for the changes @fabiodmota !


Cache Ably auth-cookie

Cache the cookie locally (for its validity time),
Also, added cookie settings to avoid Firefox complaints: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value

how about also skipping calls to our ingest if we just did those calls? (non-spa apps)

how about also skipping calls to our ingest if we just did those calls? (non-spa apps)

This one avoids one call to Ingest and one to Ably. One more call remains - is the prompt-init. I guess we can avoid it as well indeed. Let me see what I can do.


[BEAM-3775] Return timeout value to 180

BEAM-3775 is resolved, so bringing down the timeout value to its previous setting.
Please add a meaningful description for your change here

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

@swegner Please review this change.

LGTM. I checked the Dataflow ValidatesRunner buildTrend, and we are consistently under 3 hours. Thanks for doing this cleanup.


Incorporate vim-ember-cli-test-runner?

Is it possible to integrate the functionality in the following plugin into vim-test?
https://github.com/JarrodCTaylor/vim-ember-cli-test-runner

It seems possible, yes. The Clojure testing support uses the fireplace.vim plugin, so whoever will implement this strategy can draw the inspiration from there.
Alternatively test.vim could copy the implementation from that plugin.

Would probably be best to keep upstream support (and not maintaining two clones of code) if vim-test leverages vim-ember-cli-test-runner via its API.

Closing but please reopen if you need help creating a PR

In case anyone still looking for some like this I've done one limited integration that you can reuse or build upon:
https://gist.github.com/thiagofelix/8b7f1df9c9bb066d97fa6324d4edf9c2


Unhandled exception. System.NullReferenceException

I use the library, an error occurs only on Linux machines
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at RJCP.IO.Ports.Native.SerialBuffer.RJCP.IO.Ports.Native.ISerialBufferStreamData.get_BytesToRead() at RJCP.IO.Ports.SerialPortStream.HandleEvent(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action1 callback, TState& state)`
Which leads to the failure of my program.

This error does not occur often when the device is reconnected (physically).
When it opens often, the port closes.

Thank you for the bug report. Can you tell me the version of the nserial, the library from .net, and the run time you are using?

Thanks for the quick response

run time 3.1.17

I've just posted version 2.4.0 which has changes for handling exceptions in the callbacks. Perhaps this fixes your problem?
If the problem persists, you'll need to enable logging (e.g. console logging), and inject that logger into the SerialPortStream constructor.

Thanks, I will test and answer whether it helped me.

Thanks, I will test and answer whether it helped me.

@ilrom Does 2.4.0 fix your issue?

I analysed the code again, and the problem should not occur with 2.4.0. The callback for the handling of events has now a try/catch block (which would cause .NET Core program to exit, instead of causing an exception).
I'll leave this ticket open for a few days, otherwise I'll close it as fixed in 2.4.0 which is now a NuGet package for a month or so.


CPU Usage while polling and Temperature on Raspi Zero 2

Describe The Bug:

When using Govee, http shows the proces. Quite often as Top process.
I noticed, when I am running the Govee plug-in, that the temperature of the RaspiZero2 is about 6-8 degree Celsius higher then without the plug-in.
Maybe someone can have a look if polling is too often or maybe that the polling process it self consumes too much cpu-power? Looks like throttling the cpu down is not as effective when running the plug-in.
To Reproduce:

Activate plug-in for some time, look at the cpu temperature then disable it and look again at the cpu temperature
Expected behavior:

Would expect the plug-in to behave cpu friendly and m"bye let me configure now often to poll the devices.
Logs:
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

Plugin Version: 1.1.2
Homebridge Version:  1.3.6
Node.js Version:  16.13.0
NPM Version:  8.1.0
Operating System:  Raspbian

Did a debugging.
In 8:15 Minutes the 3 devices (one of them is not mine, wherever that is but I cannot exclude it from checks) have been check 143 times.

Just checked again. Enabling Govee Plugin brings the RaspiZero2 pretty fast from 54 to 61 degree celsius (standard case).
Turning it off, brings it back to 54.

Hey @MrFly72, just tried this on my RPi 4B and have the same results. I think I saw a file where you can state how many times the data is polled from the RPi. I'll post if I can find info.


Add ExtractImagePatches op to tensorflow lite (flex) whitelist

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): source
TensorFlow version (or github SHA if from source): 1.14 top of the tree 14 Nov2019 (last checkin 00fad90125b18b80fe054de1055770cfb8fe4ba3)

Provide the text output from tflite_convert
2019-11-14 17:57:00.806373: W tensorflow/lite/toco/tflite/operator.cc:2661] Op ExtractImagePatches is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set.
2019-11-14 17:57:00.806488: W tensorflow/lite/toco/tflite/operator.cc:2661] Op ExtractImagePatches is a valid TensorFlow op but has not been whitelisted for the TensorFlow Lite flex op set.
2019-11-14 17:57:00.806577: E tensorflow/lite/toco/toco_tooling.cc:462] We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md

@nstyler, Please provide the exact sequence of commands / steps that you executed before running into the problem

Hi! Thanks for a quick reply!
I used the next steps:
import tensorflow as tf
converter = tf.lite.TFLiteConverter.from_frozen_graph("aIN256.pb", ["Placeholder_1"], ["Squeeze"])
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
tflite_model = converter.convert()

at this stage I get the error about ExtractImagePatches not been whitelisted for the TensorFlow Lite flex op set

Having the same problem here, have a model which uses ExtractImagePatches and I am unable to convert it to TFLITE using select_tf_ops since the op its not whitelisted.

+1

Hello, all.
ExtractImagePatches op was added to tensorflow lite(flex) whitelist.
https://github.com/tensorflow/tensorflow/commit/7b180f700755b0a3fc0eb9de349f7caacc422d2d

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.

Hey! Will it be possible for anyone to explain how do we use  tensorflow lite(flex)  to convert model having ExtractImagePatches op to tflite?


NEO Zigbee

Describe the bug
Think the added device is misspelled.
Expected behavior
Device will not be recogniced when trying to add it.
App and Homey version
What Homey version are you running? Pro (early 2019)
What version of Homey firmware do you use?  V 10.0.1
What version of the Tuya Zigbee App are you using? V 0.2.16
Additional context
I have seen that a deivice TS011F_TZ3000_gnjozsaz has been added. When I in earlier versions of the Tuya app got contact, the device name is TS011F_TZ3000_gjnozsaz

I have the same device and the same issue.

Hi @Bam44 and @paulnas.
Both ID's are listed in the app and has been for quite a while.
Can you please interview your device and also send my a diagnostic report from the app.

Interview result was in #445 but here is another interview:
"ids": {
"modelId": "TS011F",
"manufacturerName": "_TZ3000_gjnozsaz"
},
"endpoints": {
"ieeeAddress": "a4:c1:38:33:43:12:87:28",
"networkAddress": 47555,
"modelId": "TS011F",
"manufacturerName": "_TZ3000_gjnozsaz",
"endpointDescriptors": [
{
"status": "SUCCESS",
"nwkAddrOfInterest": 47555,
"_reserved": 30,
"endpointId": 1,
"applicationProfileId": 260,
"applicationDeviceId": 266,
"applicationDeviceVersion": 0,
"_reserved1": 1,
"inputClusters": [
3,
4,
5,
6,
1794,
2820,
57344,
57345,
0
],
"outputClusters": [
25,
10
]
},
{
"status": "SUCCESS",
"nwkAddrOfInterest": 47555,
"_reserved": 10,
"endpointId": 242,
"applicationProfileId": 41440,
"applicationDeviceId": 97,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [],
"outputClusters": [
33
]
}
],
"deviceType": "router",
"receiveWhenIdle": true,
"capabilities": {
"alternatePANCoordinator": false,
"deviceType": true,
"powerSourceMains": true,
"receiveWhenIdle": true,
"security": false,
"allocateAddress": true
},
"extendedEndpointDescriptors": {
"1": {
"clusters": {
"identify": {
"attributes": []
},
"groups": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"name": "nameSupport",
"value": {
"type": "Buffer",
"data": [
0
]
},
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 2,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
}
]
},
"scenes": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 1,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 2,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 3,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 4,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 2,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
}
]
},
"onOff": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"name": "onOff",
"value": true,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 2,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 16385,
"name": "onTime",
"value": 0,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 16386,
"name": "offWaitTime",
"value": 0,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 32769,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 32770,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 20480,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 32768,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
}
]
},
"metering": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"name": "currentSummationDelivered",
"value": 0,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 512,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 768,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 771,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 774,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
}
]
},
"electricalMeasurement": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 1285,
"name": "rmsVoltage",
"value": 237,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 1288,
"name": "rmsCurrent",
"value": 0,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 1291,
"name": "activePower",
"value": 0,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
}
]
},
"basic": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"name": "zclVersion",
"value": 3
},
{
"acl": [
"readable",
"reportable"
],
"id": 1,
"name": "appVersion",
"value": 77
},
{
"acl": [
"readable",
"reportable"
],
"id": 2,
"name": "stackVersion",
"value": 0
},
{
"acl": [
"readable",
"reportable"
],
"id": 3,
"name": "hwVersion",
"value": 1
},
{
"acl": [
"readable",
"reportable"
],
"id": 4,
"name": "manufacturerName",
"value": "_TZ3000_gjnozsaz"
},
{
"acl": [
"readable",
"reportable"
],
"id": 5,
"name": "modelId",
"value": "TS011F"
},
{
"acl": [
"readable",
"reportable"
],
"id": 6,
"name": "dateCode",
"value": ""
},
{
"acl": [
"readable",
"reportable"
],
"id": 7,
"name": "powerSource",
"value": "mains"
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 65502
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 2
},
{
"acl": [
"readable",
"reportable"
],
"id": 65534,
"name": "attributeReportingStatus",
"value": "PENDING"
},
{
"acl": [
"readable",
"reportable"
],
"id": 65506
},
{
"acl": [
"readable",
"reportable"
],
"id": 65507
}
]
}
},
"bindings": {
"ota": {},
"time": {
"attributes": [
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
]
}
}
},
"242": {
"clusters": {},
"bindings": {}
}
}
}

@JohanBendz I have removed and re-added the device and now it correctly reports metering, with child lock and everything! 👍 Thanks for the help and the awesome app!
@Bam44 maybe also try removing and re-adding?

Sorry, but I can't contact my devices thru the Tuya zigbee app in my Homey pro. I had ver 2.16, but after I deleted the app in Homey and reinstalled it, I just get ver 1.45 wich worked earlier. If I try again, the Homey says "Your app will  soon be installed ". How long is soon"?As I can't contact my device, I can't bring you the information you asking for. HELP!Regards Bengt Skickat från min Galaxy
-------- Originalmeddelande --------Från: Johan Bendz @.> Datum: 2023-10-01  22:16  (GMT+01:00) Till: "JohanBendz/com.tuya.zigbee" @.> Kopia: Bam44 @.>, Mention @.> Ämne: Re: [JohanBendz/com.tuya.zigbee] NEO Zigbee (Issue #442)
Hi @Bam44 and @paulnas.
Both ID's are listed in the app and has been for quite a while.
Can you please interview your device and also send my a diagnostic report from the app.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@Bam44 Installation is immediate, so you can use it right away. I'm on app version 0.2.17 which works fine. You don't have to remove the app, just the device (and then re-add it).

Great to hear @paulnas, I'll keep this open for a while to let @Bam44 verify it's working.

Don't work. Now got ver 0.2.18 of Tuya app and 10.0.1 of Homey pro (2016-2019).No reaction from Zigbee power plug with following data:Communication protocol: Zigbee 3.0Networking protocol: Zigbee IEEE 802.15.4Plug with metering bought via m.nuWhen trying to add device led flashig but time out after some minutes.Skickat från min Galaxy
-------- Originalmeddelande --------Från: Johan Bendz @.> Datum: 2023-10-02  23:52  (GMT+01:00) Till: "JohanBendz/com.tuya.zigbee" @.> Kopia: Bam44 @.>, Mention @.> Ämne: Re: [JohanBendz/com.tuya.zigbee] NEO Zigbee (Issue #442)
Great to hear @paulnas, I'll keep this open for a while to let @Bam44 verify it's working.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@Bam44 I'm not tech support, just a user such as yourself. But when your plug can't connect to the Homey, it's not a problem with the app but rather you don't have any connection to your Homey. Maybe the plug is too far away and you don't have any routers in between the Homey and the plug. So try to connect closer to the Homey. It should at least connect and show up as a generic Zigbee device, even without the right app installed. So the fact that it doesn't, means that you're too far away. For me it works perfectly, I have added the Ikea Trådfri signal amplifier to make sure the signal reaches the Homey and even though my Homey is on the ground floor and the plug is 2 floors up, they connect without issue because the signal amplifier sits in between. The app also works great, exposing all the capabilities of the plug. Thanks @JohanBendz, awesome app!

Thank you for the advice @paulnas but it still doesn't work. I have been sitting just next to the Homey, and tried both with and without Bluetooth activated on my phone. The led on the smartplug is flashig but after a while I get a timeout message.The plugs did work until end of August. August 18 I have an update note at my timeline from Homey 8.1.6 to 10.0.0,  at September 8 I have got a note "Zigbee-unit deviceName has left the network". I don't remeber if it was automatic or when I removed the smartplugs from Homey. After that I can't contact my smartplugs.Skickat från min Galaxy
-------- Originalmeddelande --------Från: paulnas @.> Datum: 2023-10-03  19:33  (GMT+01:00) Till: "JohanBendz/com.tuya.zigbee" @.> Kopia: Bam44 @.>, Mention @.> Ämne: Re: [JohanBendz/com.tuya.zigbee] NEO Zigbee (Issue #442)
@Bam44 I'm not tech support, just a user such as yourself. But when your plug can't connect to the Homey, it's not a problem with the app but rather you don't have any connection to your Homey. Maybe the plug is too far away and you don't have any routers in between the Homey and the plug. So try to connect closer to the Homey. It should at least connect and show up as a generic Zigbee device, even without the right app installed. So the fact that it doesn't, means that you're too far away. For me it works perfectly, I have added the Ikea Trådfri signal amplifier to make sure the signal reaches the Homey and even though my Homey is on the ground floor and the plug is 2 floors up, they connect without issue because the signal amplifier sits in between. The app also works great, exposing all the capabilities of the plug. Thanks @JohanBendz, awesome app!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Johan.
With the update to ver 0,2,18, I managed to reconnect one of my smart-plugs. It seems as it needed a factory reset and the manual for the plugs don’t properly show how to do the reset. I have to try to reset the other plugs later. Thank you for your effort to solve my problem.
MVH
Bengt

Thank you, very helpful. I suspect same with my NEO smart power plugs with metering. I’ve been able to reconnect 1 of 7 units. Got one replaced as this was malfunction at the delivery, the button Led showed opposite as supposed, ON when relay was off and vice versa.
Manual says that after pressing the button (Led) for 5 to 7 seconds unit will be reset but I can’t get this to work. I’ll have to test a bit longer to be absolute sure.
Regards Bengt
Den 9 oktober 2023 15:46:50 +02:00, skrev FlyJJ1010 @.***>:

Hi @Bam44 https://github.com/Bam44,
Maybe it has nothing to do with it, but i was using a Neo Wall plug and Neo Door sensor since three years (not on a Homey, But Vera Controller) and both stoped working within a few weeks from eachother. The Plug was never able to connect again to the Vera nor the Homey. I was able to reconnect the door sensor on both but with huge battery drain (empty in 24 hours). So i think in both cases some hardware failure...
—
Reply to this email directly, view it on GitHub https://github.com/JohanBendz/com.tuya.zigbee/issues/442#issuecomment-1753048053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKAY6UGU54JNQFZM4FWDHOTX6P54VAVCNFSM6AAAAAA5JX5UUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGA2DQMBVGM.
You are receiving this because you were mentioned.Message ID: @.***>


Operations Center- SIGINT Reports

id:fd80e9eb4f6d458ea4ee47739de638b4
The test folder has been deleted. Please update or delete this Web Map.

Webmap "id:fd80e9eb4f6d458ea4ee47739de638b4" has been deleted.


Run vue code

Turn:
```vue
<!-- vmark-insert-below -->
<button>Button</button>
```

To:
```vue
<button>Button</button>
```

<button>Button</button>

This will be useful for demonstraing components.

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cmd

[Enter feedback here]

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

ID: 0df94452-999b-43a0-be42-722fbabedaf3
Version Independent ID: 84206d79-507f-b562-9d3f-cc3683b7abe6
Content: cmd
Content Source: WindowsServerDocs/administration/windows-commands/cmd.md
Product: windows-server
Technology: windows-commands
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Closing as documentation issue is not described.
#please-close


Add upsert() method for Bulk.find

Add upsert() method for Bulk.find to allow the insertion of new documents when there are no matches with the update and updateOne methods.

Could you add a test? Will merge with a test :smiley:


Bug: Error when loading collection that was saved in previous python session

I am trying to load a collection from a single json-ld file created from the example in the README.
If I do this from a new python session, I get the following error:
ValueError                                Traceback (most recent call last)
Cell In [1], line 3
      1 import openminds
      2 fp2 = \"/Users/Eivind/Documents/MATLAB/openMINDS_MATLAB/demo/crew_members.jsonld\"
----> 3 collection2 = openminds.Collection().load(\"my_collection.jsonld\")

File ~/Code/EBRAINS/openMINDS/openMINDS_Python/openminds/collection.py:162, in Collection.load(self, *paths)
    160 if \"@type\" in item:
    161     print(lookup_type)
--> 162     cls = lookup_type(item[\"@type\"])
    163     node = cls.from_jsonld(item)
    164 else:
    165     # allow links to metadata instances outside this collection

File ~/Code/EBRAINS/openMINDS/openMINDS_Python/openminds/registry.py:55, in lookup_type(class_type, version)
     53         return registry[\"types\"][version][class_type]
     54     else:
---> 55         raise ValueError(f\"Type '{class_type}' was not found in the registry for version {version}.\")
     56 else:
     57     raise TypeError(\"class type must be a string\")

ValueError: Type 'https://openminds.ebrains.eu/core/Person' was not found in the registry for version latest."

The registry has not been initialised at this point and does not contain any types.

Hi @ehennestad, could you please import the openMINDS core before loading the collection and check whether the error persists?
import openminds.latest.core


Re-style chat history box

Visual overhaul for chat history box

Each interaction as their own box

chat-box restyled to be much more interactive and user friendly


Fix: responsive styling for dropdown chevrons #519

Hey @djsauble, I saw you created an issue for this (#519). This is what I did to resolve it.

I made the the chevrons to display none past 724px by adding specific styling to the media query.
I also fixed an issue where the chevrons weren't displaying in the dropdown on dark mode

Sorry for the delay on this review, @MattIGolden, I've been out for the last month. I'll review this PR this week.

This is only failing b/c of the jest snapshot. Merging. Thanks @MattIGolden for the PR.


Scene 006 Doors won't open

Nothing happens when I hit the use button on the doors, but I can pick up and throw the cube.
Unity 5.4.0b17

What button are you pressing to use items?

Trigger

Are you able to try in unity 5.3 to see if it's a problem with 5.4?

Fresh install of 5.3.4f1 same issue.

Try the latest version (commit 2e28c99f859d156bc1d209da1806c79141ed599b )
And see if it has fixed the issue.

It works now tested in 5.4! Now the only issue is the head collision not working.

Cool. I'm going to try install 5.4 today and try see what's going on


Supr Key

Please, i need the supr button like in windows. How can i make it?
Thank you!!

Hello, I believe the Windows key and Super key should both be mapped to "Command" when using OS X. I hope that helps. The PowerKey app does not support mapping the PowerKey to a modifier key such as Command.


Schedule upgrade to stable OS version

Merge together with internal PR.
@hakonhall

Build failure is unrelated.


Dropdown menus do not close

Describe the bug
When opening a filter window, other filters windows do not close.
To Reproduce
Steps to reproduce the behavior:
Open some filter windows
Expected behavior
Close open filter windows

Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: chrome 130.0.6723.69, firefox 124.0.2

Smartphone (please complete the following information):

Device: Xiaomi Mi 13 Ultra
OS: Android 14
Browser: chrome 128.0.6613.146

Server (please complete the following information):

Platfrom Version: 14.37.0
Laravel Version: 10
PHP Version:  8.1
Database:  MySql
Database Version:  8

Your example demonstrates the default behavior that was used previously, though it has certain drawbacks.
When clicking on any item, the drop-down closes—even in cases where it doesn't imply a selection. For instance, try clicking on the separator in your example, and the drop-down will close.

This behavior is also present when using select fields from the package or other elements, which significantly impacts usability.
In the past, we attempted to close the drop-down only when clicking higher up in the DOM tree, but if I remember correctly, that approach proved somewhat unstable.
I’d be glad if you’re interested in refining this functionality.

In my opinion, the correct behavior is to close all open ones when opening a new one. This is also the standard behavior in most interfaces.


./autogen.sh: 11: ./autogen.sh: aclocal: not found

在编译的时候，我遇到了下面的错误：
[  0%] Built target extern_gflags
[  0%] Built target extern_mklml
[  1%] Built target extern_threadpool
[  2%] Performing configure step for 'swig'
[  3%] Built target extern_snappy
[  4%] Built target extern_eigen3
[  4%] Built target extern_zlib

test -d Tools/config
aclocal -I Tools/config
./autogen.sh: 11: ./autogen.sh: aclocal: not found
[  5%] Built target extern_warpctc
CMakeFiles/swig.dir/build.make:106: recipe for target 'third_party/swig/src/swig-stamp/swig-configure' failed
make[5]: *** [third_party/swig/src/swig-stamp/swig-configure] Error 127
CMakeFiles/Makefile2:370: recipe for target 'CMakeFiles/swig.dir/all' failed
make[4]: *** [CMakeFiles/swig.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[  6%] Built target extern_lib_any
[  7%] Built target extern_boost
[  7%] Built target profiler_py_proto_init
[  7%] Built target framework_py_proto_init
[  8%] Built target extern_glog
[  9%] Built target extern_protobuf
[  9%] Built target extern_snappystream
Makefile:105: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/extern_paddle.dir/build.make:111: recipe for target 'third_party/paddle/src/extern_paddle-stamp/extern_paddle-build' failed
make[2]: *** [third_party/paddle/src/extern_paddle-stamp/extern_paddle-build] Error 2
CMakeFiles/Makefile2:511: recipe for target 'CMakeFiles/extern_paddle.dir/all' failed
make[1]: *** [CMakeFiles/extern_paddle.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

参考issue #1

I have tried that method as follows：
$ pip install automake
Requirement already satisfied: automake in /home/interns/zhangxinghua/y/lib/python3.6/site-packages (0.1.3)
Requirement already satisfied: click in /home/interns/zhangxinghua/y/lib/python3.6/site-packages (from automake) (6.7)
Requirement already satisfied: watchdog in /home/interns/zhangxinghua/y/lib/python3.6/site-packages (from automake) (0.8.3)
Requirement already satisfied: PyYAML>=3.10 in /home/interns/zhangxinghua/y/lib/python3.6/site-packages (from watchdog->automake) (3.12)
Requirement already satisfied: argh>=0.24.1 in /home/interns/zhangxinghua/y/lib/python3.6/site-packages (from watchdog->automake) (0.26.2)
Requirement already satisfied: pathtools>=0.1.1 in /home/interns/zhangxinghua/y/lib/python3.6/site-packages (from watchdog->automake) (0.1.2)
But I got the same errors.

#for ubuntu
sudo apt-get install automake
#for centos
sudo yum -y install automake

Thank you!


Fix for ignoring defaultSwitched change

Without this change it isn't possible to specify before rendering if the component should be switched on or off still keeping it active. Using switched/toggled attribute sets correct state, but blocks changing the state on click.

Thanks @RojerUA !


[Doc] Describe how a user should decide or understand, to which profile the connected app should be added

In document [1], in section 6 it requires user to add the connected app to a profile. But we should explain how user can find out which profiles are available for the user and what's the reasoning behind selecting which profile they need to add. (At least identify which profiles are available for that user to add the connected app)
[1] https://docs.wso2.com/display/IS540/Outbound+Provisioning+with+Salesforce#OutboundProvisioningwithSalesforce-ConfiguringSalesforce

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Can't install on Ubuntu 15.10

☁   sudo gdebi Mutate-2.3.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libboost-regex1.55-dev
And then if I want to install "libboost-regex1.55-dev"
☁  sudo apt-get install libboost-regex1.55-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libboost-regex1.55-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libboost-regex1.55-dev' has no installation candidate

I have the same problem. You have to compile it manually.

I think so

U can get these package from http://packages.ubuntu.com/(in vivid packages)
but, i can't solve the next problem--Project ERROR: gtk+-2.0 development package not found

@KoutenXiu Thanks. I've downgraded my Ubuntu to 14.04 so currently i can use mutate  :)

I have the same problem too.

Build it from source, I did it, and it worked.
https://github.com/qdore/Mutate#from-source

Just a small note here, I think https://github.com/qdore/Mutate/pull/102 is working being done to resolve this

I can confirm that ppa package is not working on 14.04 as well, it just not have any binaries in it

I have the same problem,the only way to install it on Ubuntu 15.10 is compile it manually?

@condemil , I Already installed it on Ubuntu 14.04.4 using .deb package.
Actually There was no problem with that but i didn't tried PPA.

@hakale I had to compile it manually

@benfalk Thanks, it works well

Well, the one on ppa:noobslab/apps has already soloved it.
u can try it.
在 2016年03月16日 14:59, Hang Lee 写道:

I have the same problem,the only way to install it on Ubuntu 15.10 is
compile it manually?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/qdore/Mutate/issues/95#issuecomment-197185554

Couldn't get this going. Installed Albert instead: https://github.com/ManuelSchneid3r/albert
Works well

Thanks @kaijianding
Build from source works well


copy cluster.json to WORKDIR

cluster.json is to be copied over to the workdir so it can be modified on a case-by-case basis

https://github.com/CCBR/CCBR_ATACseq/commit/65c48d8f6e9c4fca3e61aa3966523ef0fe89d116


Associating additional information with Choices list items

When defining a question of type 'list', the 'choices' key takes a list of all possible choices. These choices are printed to screen as strings which the user will then select from. What would be the reccommended approach to associate additional information with each of these choices.. for example a primary key integer relating to a database entry ?

Just discovered the possiblity of choices as an array of objects, each with name/value/short properties!.


Support discord.js-commando

I want use discord.js-light with discord.js-commando.
Please let me know how to use both.

I've never used commando, so i cant say how much of it is compatible with discord.js-light but if you want to give it a try, you will have to modify commando like this:

install discord.js-commando and discord.js-light
open the file node_modules/discord.js-commando/src/client.js
replace the 1st line from const discord = require('discord.js'); to const discord = require('discord.js-light');

However its possible that some things will still break, in which case you will possibly need to make more edits to commando yourself.

I've never used commando, so i cant say how much of it is compatible with discord.js-light but if you want to give it a try, you will have to modify commando like this:

install discord.js-commando and discord.js-light
open the file node_modules/discord.js-commando/src/client.js
replace the 1st line from const discord = require('discord.js'); to const discord = require('discord.js-light');

However its possible that some things will still break, in which case you will possibly need to make more edits to commando yourself.

Yes, you right. I must fix a lot in Commando.
Thanks for support.


support onpreprocessstatuschange event

OnPreProcessStatusChange and removeOnPreStatusChange event

@MSFTMan Closing without merging as Client API reference docs are moved to PowerApps docs.

When I try to use this addOnPreProcessStatusChange function I am getting an error
TypeError: formContext.data.process.addOnPreProcessStatusChange is not a function
this is on-premise <IP_ADDRESS> version.
Is there any workaround?


Fix spelling mistake

Docs Build status updates of commit 5b25c60:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/functions-recipes/includes/durable-http-api.md
:white_check_mark:Succeeded
View

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


[TEST] [DELTA] Add test for deltalake

Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #613 (b8dc7a5) into master (20911ff) will not change coverage.
The diff coverage is 50.00%.

:exclamation: Current head b8dc7a5 differs from pull request most recent head ccadedb. Consider uploading reports for the commit ccadedb to get more accurate results

@@           Coverage Diff           @@
##           master     #613   +/-   ##
=======================================
  Coverage   79.90%   79.90%
=======================================
  Files         118      118
  Lines        4553     4553
  Branches      549      549
=======================================
  Hits         3638     3638
  Misses        608      608
  Partials      307      307

Impacted Files
Coverage Δ

...he/kyuubi/engine/spark/shim/SparkCatalogShim.scala
79.16% <50.00%> (ø)

Continue to review full report at Codecov.

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


expect_no_warnings errors

I was looking into https://github.com/rspec/rspec-expectations/issues/762 and didn't recognize expect_no_warnings in the tests for raise_error. I searched and searched all the repos without success until I realized it's likely a mistake - the test suite does not currently pass.
Failures:

  1) expect { ... }.to raise_error can supresses the warning when configured to do so
     Failure/Error: expect_no_warnings
     NameError:
       undefined local variable or method `expect_no_warnings' for #<RSpec::ExampleGroups::ExpectToRaiseError:0x007ff7795316c8>
     # ./spec/rspec/matchers/built_in/raise_error_spec.rb:18:in `block (2 levels) in <top (required)>'

  2) expect { ... }.to raise_error does not issue a warning when a block is passed
     Failure/Error: expect_no_warnings
     NameError:
       undefined local variable or method `expect_no_warnings' for #<RSpec::ExampleGroups::ExpectToRaiseError:0x007ff77953b8f8>
     # ./spec/rspec/matchers/built_in/raise_error_spec.rb:33:in `block (2 levels) in <top (required)>'

  3) expect { ... }.to raise_error does not issue a warning when an exception class is specified (even if it is just `Exception`)
     Failure/Error: expect_no_warnings
     NameError:
       undefined local variable or method `expect_no_warnings' for #<RSpec::ExampleGroups::ExpectToRaiseError:0x007ff77953a638>
     # ./spec/rspec/matchers/built_in/raise_error_spec.rb:23:in `block (2 levels) in <top (required)>'

  4) expect { ... }.to raise_error does not issue a warning when a message is specified
     Failure/Error: expect_no_warnings
     NameError:
       undefined local variable or method `expect_no_warnings' for #<RSpec::ExampleGroups::ExpectToRaiseError:0x007ff779538090>
     # ./spec/rspec/matchers/built_in/raise_error_spec.rb:28:in `block (2 levels) in <top (required)>'

Finished in 2.04 seconds (files took 0.41244 seconds to load)
1972 examples, 4 failures

This was introduced recently in https://github.com/rspec/rspec-expectations/pull/768/files
Sorry in advance if this is already known and intended.
cc/ @JonRowe

You need to update your rspec-support which contains the new helper.

Doh! Thank you, my apologies.

Generally it is advisable to run all 4 rspec gems (core, mocks, expectations) from the same version, which I'm assuming is our git master in this case.
No worries :)


Update main.css [adjusted the width such that instruction would look properly ]

give width to show the instruction perfectly
Fixes Issue🛠

Closes #
Description👨💻

Type of change📄

[] Bug fix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)

How this has been tested✅

Checklist✅

[] My code follows the style guidelines of this project
[] I have performed a self-review of my own code
[] I have commented my code, particularly in hard-to-understand areas
[] I have added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

Screenshots/GIF📷

@Rakesh9100 issue has been fixed ,please go through with that, attachment is there with fixed things

Please upload the attachment properly @arjunmishraaa


Rendering text sections when deploying as application

Environment

Elixir & Erlang/OTP versions (elixir --version): Elixir - 1.17.2, Phoenix - 1.7.14, Livebook - 0.14.5
Operating system:  MacOS 15.1.1
How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): Mac App
Livebook version (use git rev-parse HEAD if running with mix): 0.14.5
Browsers that reproduce this bug (the more the merrier): Safari, Chrome
Include what is logged in the browser console:
Include what is logged to the server console:

Current behavior
I have a test Livebook (see screenshot) and was experimenting with deploying it as an application.  I went to the local preview option and expected the result to include not only evaluated cells but any text sections and markdown, however I only see certain cells.
Expected behavior
The deployed Livebook to contain all of the cells in the document.
This is the Livebook I started with

This is the preview.

Just an observation, but for my use case that makes things a little difficult, as I wanted to write a blog like page with lots of text and a few interactive cells.


Converted models gives wrong outputs

System information
Run on Colab; tensorflow-gpu==2.3.1 for the first part, then tf-nightly-gpu (after runtime restart).
Command used to run the converter or code if you’re using the Python API
Colab link with the project:
https://colab.research.google.com/drive/1V7fo4TgfAvMxme9AOBbdYggW-I7-tXTr?usp=sharing
The output from the converter invocation
On Colab, no verbose output but model.tflite is created
Also, please include a link to the saved model or GraphDef
Here the link of the .pb model (which was obtained using onnx_to_tensorflow):
https://drive.google.com/drive/folders/1RiwVVbzTNymzdmy_sRZxIWWSOGE3EwOx?usp=sharing
Failure details
I obtained a converted model.tflite file but the outputs are wrong (see Colab notebook for comparison)
Any other info / logs
As explained in the notebook, the tflite coinversion works with tensorflow-gpu==2.3.1 but to run the model tf-nightly-gpu is required (after runtime restart). If I do differently, Colab crashes.

I tried to reproduce this on tf-nightly. When loading the attached saved model, the saved model loader does not stop forever. The loading problem will report this to the TensorFlow Core team.

I tried to reproduce this on tf-nightly. When loading the attached saved model, the saved model loader does not stop forever. The loading problem will report this to the TensorFlow Core team.

Is this still an issue with the latest version of TensorFlow? Thanks!


drawBitmap shifting everything to the right?

Seems like something is wrong with drawBitmap, at least on an 8x8 bitmap. Seem like I get about half of the bitmap on the screen. Will dig a bit more, but just wondering if I'm crazy...

It is most likely in how you are packing bits. Each byte in the array holds the pixel value for 8 cells. That is each bit in a byte will be a pixel on a screen.
searching the http://community.arduboy.com page will reveal a lot of similar discussions on this, and some algorithms for packing and unpacking.
I'll leave this issue open, as it is worth checking to see if you are on the 1.1 tagged release and not the master. If the behavior from the 1.1 tag differs from the master, then yes an error has been introduced in that function, but I do not think it's been poked at much lately.

Draw a bitmap that is all white and see if it's still "off".  If not then it's likely your bit packing as rogosher already said.

Working under the assumption the issue was the byte packing for the screen. Thanks for opening an issue : )


Possibility of selecting nodes that descheduler analysis with Helm

I am trying to use descheduler to balance out pods in a cluster, mostly using LowNodeUtilization. I am installing using helm -- and I cannot seem to find a way to pass the nodeSelector for the algorithm with values.yaml. Is such a possibility missing or I just do not know where to look?
thanks for help!

Hi @livenson, nodeSelector is part of the deschedulerPolicy, so you should be able to pass it in values.yml like so: https://github.com/kubernetes-sigs/descheduler/blob/daaa3a277e1a119bb014e93fe64b3573548ae3a8/charts/descheduler/values.yaml#L92

@damemi , many thanks, that was indeed what I have overlooked.


Got error when trying to use node global variable at server side: "You probably are using a variable defined in a closure in your server function"

Describe the bug
I got error when trying to use node global variable at server side.
I tried dynamic import on server side but the function is still "leaked" in to client.
This is the error content:
__filename is not defined You probably are using a variable defined in a closure in your server function.
Clear errors and retry
ReferenceError: __filename is not defined
at vite_ssr_exports.default (/src/api/readFile.ts:6:60)
at Object.$serverHandler0 (/src/routes/about.tsx?data:22:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async execute (/node_modules/.pnpm/solid-start@0.2.7_fj32xntqjaiayu4humqtymo7zu/node_modules/solid-start/server/server-functions/server.ts:201:17)
Your Example Website or App
https://stackblitz.com/edit/github-lagvil-q2uwyc
Steps to Reproduce the Bug or Issue
This is the code I added to default starter project with server side:
/src/api/readFile.ts
import fs from "fs";

export default function () {
  return String(fs.readFileSync(__filename));
}

/src/routes/about.tsx
import { createResource } from "solid-js";
import { useRouteData, RouteDataArgs } from "solid-start";
import { isServer } from "solid-js/web";
import server$ from "solid-start/server";

export async function fetchAPI(path: string) {
  if (isServer) {
    return server$(async () => {
      const readFile = await import("../api/readFile");
      return readFile.default();
    })();
  }
  return "";
}

export function routeData({ params }: RouteDataArgs) {
  const [data] = createResource<string, string>(() => ``, fetchAPI);
  console.log(data);
  return data;
}

export default function About() {
  const data = useRouteData<typeof routeData>();
  console.log(data);
  return (

Hello

{data()}

  );
}

Expected behavior
It should not show error of node global variable in client
Or the dynamic import should not import server code to client
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome
Version: latest

Additional context
No response

I tried to use node global variable in nextjs, and it worked
https://github.com/thanh-vo-opun-ai/fs_solidjs_nextjs/blob/main/nextjs-app/pages/index.tsx
But failed to migrate this approach to solidjs

I also tried
import { fileURLToPath } from "url";

const fileName : string = fileURLToPath(import.meta.url)

as an alternative to __filename but it does not result in desired value

Close this issue because it relate to vote


IDevice.UpdateConnectionInterval(ConnectionInterval.High) is not working like expected (v3.1.0)

Discussed in https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le/discussions/902

Originally posted by ideveloperaz November 16, 2024
Hi guys!
I need to increase throughput for uploading firmware for MAUI Android app ... but I can only set "Normal" or "Low" ... settings "High" gives the same result like setting "Normal" to decrease connection interval and I have ConnectionInterval=36ms .... But accordingly with docs by setting to ConnectionInterval.High we should get about 12 ms for connection interval. What is wrong here?
I use that IDevice.UpdateConnectionInterval(ConnectionInterval.High) call
Android manifest has BLUETOOTH_CONNECT permission.

Hi @ideveloperaz,
I'm the friendly issue checker.
It seems like (100.00%) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!


Can't start apache or nginx SSLCertificateFile does not exist or is empty

tried plesk bin repair --reconfigure-ssl-certificates and various other thing but can't get my website up and running sue to the error
SSLCertificateFile: file '/usr/local/psa/var/certificates/cert-3rVNji' does not exist or is empty
this is on plesk 12.5.30

Same here.
This was the second time I had to copy/paste dummy certificates for all my domains, one by one,  just to start apache.
Then I had to recreate Let's Encrypt certificates manually.
Somehow, when Plesk generated new ssl's, it change the configuration file but didn't writ the new ssl's on disk.

This described issue should be solved by now with the current existent Plesk Let's Encrypt extensions.
If you still experience such issues, pls. consider to open a bug - report at for example: => https://talk.plesk.com/threads/php-version-and-handler-could-not-changed.342932/, so that the Plesk - Team - Members in the forum are able to pass it over to the Plesk developpers. ;-)


Update resources.md

Fixing typo in Evaluation of artifact version section

@jon-armen : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jon-armen Thanks for the typo fix.


.Net: Chroma reference sample needs to be updated and verified

Below is the as from the community

Update sample README to match the current pattern
Verify the reference sample works

Hello! My task is to migrate the followign python code to C#:
client = chromadb.PersistentClient(path=os.getcwd()) # I understand that there is no in-memory implementation in C#
embedding_func = OpenAIEmbeddingFunction(api_key='OPENAI_API_KEY', model_name='text-embedding-ada-002')
collection = client.get_collection(name='content', embedding_function=embedding_func)
query_result = data.query(query_texts=question, n_results=max_len//CHUNK_MAX_TOKENS, include=['documents'])
I have installed https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Memory.Chroma/1.0.0-rc2 and tried to apply the sample from https://github.com/microsoft/semantic-kernel/tree/main/dotnet/src/Connectors/Connectors.Memory.Chroma as a starting point:
#pragma warning disable SKEXP0022
Kernel kernel = new KernelBuilder()
.WithOpenAITextEmbeddingGenerationService("text-embedding-ada-002", "OPENAI_API_KEY")
.WithMemoryStorage(new ChromaMemoryStore("http://localhost:8000"))
.Build();
#pragma warning restore SKEXP0022
But none of these two .With* methods are available. Could you please help to convert the Python code to C# or give me the link to an up-to-date tutorial?

I'm using
https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.OpenAI/1.0.0-rc4
https://www.nuget.org/packages/Microsoft.SemanticKernel.Connectors.Chroma/1.0.0-rc4
I follow the sample https://github.com/microsoft/semantic-kernel/tree/main/dotnet/src/Connectors/Connectors.Memory.Chroma to get results of semantic search in my ASP.NET Core WebApp:
#pragma warning disable SKEXP0022, SKEXP0052, SKEXP0011, SKEXP0003
            var memoryWithChroma = new MemoryBuilder()
                .WithChromaMemoryStore("http://localhost:8000")
                .WithLoggerFactory(loggerFactory)
                .WithOpenAITextEmbeddingGeneration("text-embedding-ada-002", Program.OpenAIKey)
                .Build();

            var memoryResults = memoryWithChroma.SearchAsync(collection: "content", query: question, limit: maxTokens / Program.ChunkMaxTokens);

            var results = new List<string>();

            await foreach (MemoryQueryResult memoryResult in memoryResults) // exception occurs here!!!
            {
                results.Add(memoryResult.Metadata.Text);
            }
#pragma warning restore SKEXP0022, SKEXP0052, SKEXP0011, SKEXP0003

But the exception is thrown:
Microsoft.SemanticKernel.KernelException
  Message=Unable to deserialize memory record metadata.
   at Microsoft.SemanticKernel.Connectors.Chroma.ChromaMemoryStore.GetMetadataForMemoryRecord(List`1 metadatas, Int32 recordIndex)
...

UPDATE:
If I populate Chroma HTTP via Python code this way:
collection.add(
    ids = [str(uuid.uuid4())],
    documents = [chunk['CONTENT']],
    metadatas = {'URL': chunk['URL']}
)

then there is no exception with C# code:
#pragma warning disable SKEXP0022, SKEXP0011, SKEXP0003
            var memoryWithChroma = new MemoryBuilder()
                .WithChromaMemoryStore(Program.ChromaEndpoint)
                .WithLoggerFactory(loggerFactory)
                .WithOpenAITextEmbeddingGeneration("text-embedding-ada-002", Program.OpenAIKey)
                .Build();

            var memoryResults = memoryWithChroma.SearchAsync(collection: "content", query: question, limit: maxTokens / Program.ChunkMaxTokens, withEmbeddings: true);

            var results = new List<string>();

            await foreach (MemoryQueryResult memoryResult in memoryResults)
            {
                results.Add(memoryResult.Metadata.Text);
            }
#pragma warning restore SKEXP0022, SKEXP0011, SKEXP0003

But memoryResult.Metadata is always empty:

How can I get text results of semantic search?

Hi everyone, looks like we are getting the same issue as well....
Can anyone tell me what we can be doing wrong (I'm following the same steps from https://github.com/microsoft/semantic-kernel/tree/main/dotnet/src/Connectors/Connectors.Memory.Chroma as well) or if there is any kind of workaround?

Try using the interfaces save implementations to add the content to the memory database.
Looking into the details of Chrome, the implementations uses the upsert endpoint in here to persist the data into the memory with the metadata and there is no implemetation using the add endpoint.
When using the current interfaces ensure you use something similar to the Example14 SaveReferenceAsync or SaveInformationAsync and how it actually persist data in Chroma.
Inspecting how the payload is sent to chroma for metadatas make sure it follows something similar to this:
{"ids":["https://github.com/microsoft/semantic-kernel/blob/main/README.md"],"embeddings":[[...]],"metadatas":[
{
    "is_reference":true,
    "external_source_name":"GitHub",
    "id": "https://github.com/microsoft/semantic-kernel/blob/main/README.md",
    "description": "README: Installation, getting started, and how to contribute",
    "text":"",
    "additional_metadata": ""
}]}