driver: i2c: npcx: Fix i2c event-completed semaphore issue caused by bus error

Since some interrupt events such as BUS_ERROR (caused by a glitch
on bus) might change i2c event-completed semaphore's counter. It
causes that the driver cannot wait for the i2c event completed and
return immediately. The first CL resets i2c  before starting transactions
to solve the issue.
The other two CLs are trying to fix the potential leaks only. So far we
don't see any symptom cause by them.

Here is the result of "git log --oneline" on my side:
db1d74f8ea (HEAD -> fix-i2c-bus-err-handler, origin/fix-i2c-bus-err-handler) driver: i2c: npcx: Prevent transaction result overwritten by recovery.
50a735c336 driver: i2c: npcx: clear status register by setting a single bit.
fb92050c7a driver: i2c: npcx: reset i2c semaphore before start transaction.

But I don't know why the order in this PR is wrong.


Change xds args to const

Basic Tests C/C++ MacOS: https://github.com/grpc/grpc/issues/19802, https://github.com/grpc/grpc/issues/19819
Basic Tests Node MacOS: https://github.com/grpc/grpc/issues/19422
Interop Cloud-to-Cloud Tests (internal CI): https://github.com/grpc/grpc/issues/18892


helm Chart.Version change causes pod restart

Output of helm version: version.BuildInfo{Version:"v3.3.3", GitCommit:"597229301293487c18abdaf1d0a94f19718ad233", GitTreeState:"clean", GoVersion:"go1.13.10"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.9", GitCommit:"94f372e501c973a7fa9eb40ec9ebd2fe7ca69848", GitTreeState:"clean", BuildDate:"2020-09-23T07:48:43Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.9", GitCommit:"94f372e501c973a7fa9eb40ec9ebd2fe7ca69848", GitTreeState:"clean", BuildDate:"2020-09-23T07:40:51Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
on-prem
Issue description:
Inside my chart, I have Chart.yaml

apiVersion: v1
appVersion: "4.0"
description: A Helm chart for deploying test-app on Kubernetes
name: test-app
version: 1.0.0-20
When the Chart.version i.e. version: 1.0.0-20 is changed to version: 1.0.0-21 and then I perform helm upgrade to let's say reset the value of a values.yaml parameter (this is not an image upgrade), it actually restarts the existing pods which is not desired.
Chart.version is used as a label in our deployment. When we take out the Chart.Version from the sts labels, this doesn't happen.
Why updating Chart.Version causes pod restart? Is this expected and if yes, how can we get around this as we do want to keep the Chart.Version as a label in the pods.

Hi @sunchill06. Without any knowledge of how your template structure works I cannot determine whether this is intentional or not.
In an isolated environment, changing your chart version does not cause pods to restart. You can reproduce this yourself with the following test case to verify:
$ helm create test-9660
$ helm install foo .
$ vim Chart.yaml # change the version field
$ helm upgrade foo .

Hi @bacongobbler, Thanks for responding.
I tried with the chart test9660 (provided by you) and I can reproduce the issue with this chart as well if I use the Chart.Version label as part of PodTemplateSpec as well. Same is the setup in my deployment. Chart.version is being used a label in both the deployment and pod template spec.
So as can be seen in the following deployment template, the label  helm.sh/chart: test9660-0.1.0, if set in both the deployment and pod template spec, and when the Chart.Version is changed and helm upgrade is performed, pod is restarted.
Is this expected behavior?
apiVersion: apps/v1 kind: Deployment metadata:   annotations:     deployment.kubernetes.io/revision: "1"     meta.helm.sh/release-name: testmiwithpsl     meta.helm.sh/release-namespace: bam-ns   creationTimestamp: "2021-04-30T07:57:14Z"   generation: 1   labels:     app.kubernetes.io/instance: testmiwithpsl     app.kubernetes.io/managed-by: Helm     app.kubernetes.io/name: test9660     app.kubernetes.io/version: 1.16.0     **helm.sh/chart: test9660-0.1.0**   name: testmiwithpsl-test9660   namespace: bam-ns   resourceVersion: "9683586"   selfLink: /apis/apps/v1/namespaces/bam-ns/deployments/testmiwithpsl-test9660   uid: 1d5f1543-575f-4114-b8fd-e96751ef20fe spec:   progressDeadlineSeconds: 600   replicas: 1   revisionHistoryLimit: 10   selector:     matchLabels:       app.kubernetes.io/instance: testmiwithpsl       app.kubernetes.io/name: test9660   strategy:     rollingUpdate:       maxSurge: 25%       maxUnavailable: 25%     type: RollingUpdate   template:     metadata:       creationTimestamp: null       labels:         app.kubernetes.io/instance: testmiwithpsl         app.kubernetes.io/managed-by: Helm         app.kubernetes.io/name: test9660         app.kubernetes.io/version: 1.16.0         **helm.sh/chart: test9660-0.1.0**

Yes.

Hi @bacongobbler , so pod label change is cobsidered a template change during helm upgrade. Is there any documentation that supports this? And why label change doesn't matter for deployment spec? Any clarification here would be great.

Yes, any change to the rendered output is considered an upgrade change. This is because Helm does not have any knowledge about how other things use content, and things like labels are "functional" in Kubernetes.


Using Aj.js with Comma Separated Keywords

Hi!
I am having a bit of trouble using EmojiOne's keywords with At.js. I have it searching by the keywords, but it only picks up the first one for each emoji. I have also changed the array to be comma separated for the keywords, but the issue still occurs.
Thanks!
$emoji_mapped = $.map($emoji, function (value, i) {
	return {
		'unicode': value.unicode, 'name': value.name, 'shortname': value.shortname, 'keywords': value.keywords.join(","),
	};
});

$emoji_config = {
	at: ":",
	data: $emoji_mapped,
	searchKey: "keywords",
	headerTpl: '
Type and hit tab↑ ↓
',
	displayTpl: "
${name}
",
	insertTpl: "${shortname}",
	delay: 200,
	limit: 12,
}

For reference, here's the EmojiOne JSON file. https://raw.githubusercontent.com/Ranks/emojione/master/emoji_strategy.json

Got it. It was working, I simply wasn't typing enough and there are so many emoji, so the limiter was catching them. To make it work even better, I added this to the $emoji_mapped:
'keywords': value.name + ',' + value.keywords.join(","),
This takes the name and the keywords, which should help get more finite emoji results.


XLA_PYTHON_CLIENT_MEM_FRACTION=.XX gives me gpu error

Description
I am trying to calculate self attention values with large image such size 720x1280. it always make huge OOM error so I am trying to use XLA_PYTHON_CLIENT_MEM_FRACTION=.XX <- this environment. but It makes another error that can not found its GPU even though jax can find GPU before add the code. I want to know how to escape from this situation thank you.
What jax/jaxlib version are you using?
No response
Which accelerator(s) are you using?
GPU
Additional system info
python 3.7
NVIDIA GPU info
No response

Can you provide a command and/or code snippet that minimally reproduces the issue?


Leverage appropriate number format options in number-text table column once supported in all browsers

🧹 Tech Debt
As part of #1414, we had to make some concessions and add some work-arounds due to certain number format options not being supported yet in Firefox.
Once Firefox has parity support with other browsers for these options for at least 6 months we should update our numeric formatters for the number-text table column to use these features.
Specifically the options we would like to use but cannot yet are:

useGrouping: auto
signDisplay: negative
roundingPriority: 'lessPrecision'

Should check on this again in early 2024

@m-akinc please wait to address this till after the unit support is merged

Waiting for a Chromatic update to get new enough browsers to support these options. Could be any time now.


fix assignment to sec2 in ReservationStation.scala

The assignment to sec2 should be rs2secret instead of rs1secret.

Thanks!


Fuhrmanator/issue64

@livinNector have a look to see if this suits your case

Thanks for this 😀 . This is exactly what I mentioned.


remove weird script tag that doesn't reference anything

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

This script tag is necessary for our docs website. Unfortunately there isn't a nice way to hide it from the github readme :(

@LarsDenBakker can you elborate on how it's used? maybe there's a better way to handle the docs website build?

I actually don't know precisely what it does, I think @daKmoR  knows

it's so people can easily edit the page...
If you go for example to
https://open-wc.org/developing/es-dev-server.html
you see a edit-this-page link at the bottom.
this is a feature of vuepress. However as we are using symlinks to link the readme files of packages into the docs folder (which is the only folder vuepress respects) then your edit link would lead you to this edit page
https://github.com/open-wc/open-wc/edit/master/docs/developing/es-dev-server.md
e.g. not very convenient => that is why we rewrite the link with this script
yes it's a workaround as ideally a vuepress plugin or a post process thing would fix the link or vuepress would accept "external" (e.g. not in the docs folder) files... but yeah someone would need to make it 🙈

@daKmoR so does the vuepress plugin have access to modify the repo directly? or how does it actually save the updates? are they submitted as pull requests?

we just call vuepress build docs or simply npm run vuepress:build this outputs a folder which can then be statically served.
actually netlify does this under the hood and that is what you see when you visit http://open-wc.org

I think I'll close this then, and put creating a plugin  on the back-burner for when I get some free time


UPSTREAM: 2470: Delete stale CnsVSphereVolumeMigration CR only when PV is not found in k8s

/hold
For manually testing.


Get pachyderm homebrew recipe added to homebrew core library

They don't often do it for self-author-requests, but if we do want this, we have some homework to do:

make sure our formula passes all their audit tools
they don't like scripts that download deps (so .... no go get ... basically)
other go based tools explicitly list all dependencies (e.g. https://github.com/Homebrew/homebrew-core/blob/master/Formula/consul.rb#L23)
we could do this w a script from a vendor file ... but today we don't have one for client
if we have to trade vendoring client for homebrew core-lib support ... I'm not sure we're willing to make the trade

Basically it would enable:
brew install pachctl

Instead of:
brew tap pachyderm/tap && brew install pachctl

This post suggests there's some tooling for this:
http://stackoverflow.com/questions/27097005/how-to-package-go-project-for-homebrew
But the link moved, and I only see the explicit list of resources :-/

Aha, here it is:
https://github.com/samertm/homebrew-go-resources

Dupe of https://github.com/pachyderm/pachyderm/issues/598


Sending/receiving custom TLS frames

I'd like it to be possible to schedule sending custom TLS frames. In addition to making custom behaviour possible, the implementation of e.g. SSL_key_update would become simpler, with the possibility that future TLS extensions could be implemented as shared libraries, without newer openssl releases.
Likewise you'd need a way to register a handler for custom TLS frames.

I'm not sure I understand how this would be useful for as-yet-unknown future TLS record or handshake type.  For example, a hypothetical key update analogue would require a way to update the key hierarchy in use, which seems like it would need to touch the library internals.  Absent a use case where a completely external implementation that does not access the library internals could work, it's unclear that there's a reason to adopt such functionality.  (Do you have a use case in mind that I'm not thinking of?)

I do not think we are going to implement such feature in foreseeable future.


Add suggested extensions file for aspnet/Docs repo

Fixes https://github.com/aspnet/Docs/issues/11115
Altered the .gitignore file to allow check-in of the extensions.json file. Suggests the Docs Authoring Pack extension for VS Code.

@scottaddie I think this rule ...
.vscode/*

... is problematic. It's now trying to load ALL of my tasks.json and launch.json files on my local system into the repo for all of the samples that I've worked directly in the repo.
Was this on purpose? ... I think given the occasional churn in VSC files, I'm concerned that this could end in tears down the road. It also might break in some cases ... some of my files may have custom config for running samples here that might break users on their own systems.

Also, devs not using VSC might be confused.
We also don't load solution files and other VS files and folders.


Support for magic comments or functions

New graphql codegen client preset is not using template strings for graphql queries. It uses graphql() function with string arguments. Using this we don't get syntax highlighting.
const query = graphql(`
    query ExampleQuery {
        example {
           id
        }
    }
`)

Possible solutions:

Similar to g:graphql_javascript_tags option we could use something as g:graphql_javascript_function=["graphql", "gql"] and mark the string inside function for syntax highlighting

Use magic comment as many graphql tools and extensions do:

const query = graphql(/* GraphQL */`
    query ExampleQuery {
        example {
           id
        }
    }
`)

Add prefixes and document let g:graphql_javascript_tags = ["gql", "graphql", "Relay.QL", "gql(", "graphql("]

Vim Version

NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3

I think the g:graphql_javascript_functions = ["graphql"] approach would be the best way to handle this.

We also already support a "magic" comment within the GraphQL template string:
const query = graphql(`# graphql
    query ExampleQuery {
        example {
           id
        }
    }
`)

I'm going to close this because I think it's a sufficiently good solution that doesn't involve additional code and runtime pattern matching, but please reopen if anyone feels otherwise.

@jparise would you be open to a PR adding g:graphql_javascript_functions = ["graphql"]? Adding the comment is suboptimal for the reasons @felamaslen gave above. i'd be happy to contribute to the implementation, just don't want to waste my time if you don't want it.

Yes, I'm happy to review a change that implements something like that. I think if the default is just ["graphql"] that it shouldn't introduce much overhead beyond the current implementation.
I somewhat regret that g:graphql_javascript_tags defaults to all of ['gql', 'graphql', 'Relay.QL'] because it makes the pattern match slightly more expensive for everyone.

@dickfickling @felamaslen I added initial support for the graqhql() function in #109. If you have a chance to check it out, I'd be glad to know if it addressed your use cases.

Looks good! I saw an error in the vim log related to vim-graphql once right after updating the plugin, but I skipped it and haven't seen it since. I'll report back here if I see it again!

Thanks! If it flashes by again, you should be able to see it in :messages.


Convert Cruft to use Pathlib

I still need to perform more manual testing, but the tests all pass cleanly with these changes. Please feel free to ask for any changes if you'd rather tweak approaches to simplify file management.

Codecov Report

Merging #2 into master will decrease coverage by 0.52%.
The diff coverage is 98.83%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
- Coverage     100%   99.47%   -0.53%
==========================================
  Files           6        6
  Lines         186      190       +4
==========================================
+ Hits          186      189       +3
- Misses          0        1       +1

Impacted Files
Coverage Δ

cruft/api.py
100% <100%> (ø)
:arrow_up:

cruft/exceptions.py
95.65% <90.9%> (-4.35%)
:arrow_down:

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 e1938ad...0179d27. Read the comment docs.

Looks good to me! Thank you!


This reverts commit ee5506c430dc2a6b8267c61ec0cd16570db3e25a.
Further:

Add it to the gnomeExtensions attrset. (The reason for removing it in
the first place was because it wasn't registered there.)
Move from .../volume-mixer.nix to .../volume-mixer/default.nix, to
align with the other extensions.
Update to latest version.
Fix the installPhase.
Comment that there is a Makefile for this package, but it requires
npm, so keep the buildPhase unchanged.
Add missing deps: pulseaudio and python3
Add a small patch to find pulseaudio.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 87481 run on x86_64-linux 1

1 package built:

gnomeExtensions.volume-mixer

Can this file https://github.com/bjornfor/nixpkgs/blob/master/pkgs/desktops/gnome-3/extensions/volume-mixer.nix then be deleted?

Can this file https://github.com/bjornfor/nixpkgs/blob/master/pkgs/desktops/gnome-3/extensions/volume-mixer.nix then be deleted?

I don't see pkgs/desktops/gnome-3/extensions/volume-mixer.nix anywhere now.

I don't see pkgs/desktops/gnome-3/extensions/volume-mixer.nix anywhere now.

Oh, you literally meant the volume-mixer.nix file in my very old nixpkgs fork? You looked at the master branch, but that's not the branch this PR is against. Anyway, I updated the master branch in my fork just now.

volume-mixer has been packaged in nixpkgs as of #118232. Unsurprisingly however, it does not work. I will have a look at a good way forward how to allow manual fixes for automatically packaged extensions.

Please have a look at #137131. Note that my proposed patch framework works on top of the already compiled extensions.gnome.org sources, thus some non-trivial adjustments may be required to the patch.
I'd appreciate if you tried to rebase this on top of my PR to test out the patch mechanism. But I can also give it a shot myself if you tell me which patches I need to apply (when ignoring the compilation setup).

@piegamesde : Nice! I don't have enough interest/time to work on this now unfortunately. But thanks a lot for your work on the gnome extensions. Much appreciated!

I'm going to close this then, hopefully the next motivated person will find this and start off from here. GNOME extensions that don't work out of the box need somebody who uses them, otherwise they'll rot really quickly.


URL.createObjectURL(stream) has been deprecated

The easyrtc.js uses this function, which will also be removed from Chrome soon and is deprecated in other browsers as well.
https://www.fxsitecompat.com/en-CA/docs/2017/url-createobjecturl-stream-has-been-deprecated/
the link also shows how to solve the problem.

This is already managed by easyrtc.setVideoObjectSrc that check for srcObject and fallback on createObjectURL otherwise.

https://github.com/priologic/easyrtc/blob/e943fa8c4cdef2878bb07f0d95400fb91d374be1/api/easyrtc_int.js#L1936


Json_Schema gem needs higher minimum version

The requirement of jason_schema gem 2.5 passes the Gem's test, but in-use fails unless jason_schema 2.6 or greater is used. Bundler is not, for unknown reasons, using the latest version (2.6.1) and the bundled version (2.5) fails with webmock issues. Removing Apivore from the gem file shows no other dependencies on the jason_schema gem.

Closing for the time being. We can re-raise if need be.


XSFR token fix is broken

Tried posting an ad with the latest kijiji_api.py and got a token error. Reverted back to kijiji_api.py before the token fix and it works fine.

@jimmyp22 is this still broken for you? I cannot reproduce this using an up to date repo.

Was working fine for me, posted a few ads and now getting this issue. Not sure what the dumps mean


add deps and position field in VarData

When rendering hooks, some use case are not covered with the current hooks API.
This PR add two fields, deps and position to VarData that allow some controls on how to render hooks, both in relation to the useCallback generated by StatefulComponent.
Problem 1:

if you are writing a signature spec for an event, and this one depend on a hook you wrote in add_hooks, when wrapped in useCallback, your event handler will not update its data if the hook_name is not added to the dependency array.
Solution:  Passing the name of the hook in the new deps props.

Problem 2:

When adding a hook, you might either want:

to reference your hook inside an event handler (as a deps for example), so the hook need to be defined BEFORE.
to reference a memoized event handler inside your hook, so the hook need to be defined AFTER. (see clipboard.py)
Solution:  Inside a hook, pass either HooksPosition.PRE_TRIGGER or HooksPosition.POST_TRIGGER to the position props.

i'm overall not crazy about packing more stuff in VarData because these fields do seem to have a pretty niche use in the framework... but i don't have an alternate suggestion that's better, so i think we can be pragmatic and take this.

I sort of agree on this, that's why at first I tried to pass the position to a HookVar with special logic, but in the end passing them through VarData made code much cleaner and easier to read.
Also even if they are niche, they won't impact the majority of people who don't need them so it should be fine.


Add error code for network errors.

Thanks

You wouldn't happen to know how to test any of these error code would you?

In chrome if you're in offline mode it'll throw the new error. Before these changes it would just throw a JSON parse error if you set json: true

I just went into Chrome dev tools and turned the network off and made sure
the errors were being thrown in my code.
As far as a good way to unit test, not sure off the top of my head. Would
have to do some research.
On Sep 16, 2016 4:45 PM, "James Doyle"<EMAIL_ADDRESS>wrote:

You wouldn't happen to know how to test any of these error code would you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/invokemedia/browser-request/pull/3#issuecomment-247716541,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFcLgyoidzOCFUp_hBafgn15zp3Wixzfks5qqw4EgaJpZM4J_XVz
.

For unit testing you should be able to call abort right after the request is made and it will fire the network error.

Yeah it would be nice to figure out a way to mock "offline". Then I can write some tests for the error codes.

Hmmm... calling .abort() triggers "Error: CORS request rejected" and not the network error

Was able to test the "offline" by calling the local package.json and then calling .abort() at the same time. Manage to do the same with CORS but with a live domain.
See 697f2e0fff64d499d35e6c72b56a6dd4ed021ec2

You could also send a live request to another endpoint that does reply with CORS headers (ex: google.com)

The problem was that calling .abort() was triggering different errors depending on if it was for a local URL or a CORS URL.


Bootstrap 3.3.5 fails while trying to compile with Sublime Text 3

Hi, i trying to compile bootstrap 3.3.5 with "LESS-build" package of Sublime Text 3 but fails, here the code:
Expected ')' but found ' ' on line 20 in file 'mixins/image.less':
[19]: // spelling of min--moz-device-pixel-ratio is intentional.
[20]: .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
--------------------^
[21]:   background-image: url("@{file-1x}");

It's quite possible that less-build is using an outdated version of dotless. If we're talking about this project:
https://github.com/berfarah/Less-build-sublime
they seem to be using dotless 1.3.1.

You can't compile in windows with "dotless", i resolve with this way
http://stackoverflow.com/questions/27507677/sublime-less-build-error-when-compile-bootstrap

Well, that's not strictly true. Bootstrap does compile with dotless, but you have to use the most recent version. :)


changing value field not recognised

When the value of "value" field changes, the DelayInput component is not updating.
It looks like it needs to test for changing props and apply the value to the state when this occurs.

I fixed mine by adding in code like this:
componentDidUpdate = (prevProps, prevState, snapshot) => {     if (prevProps.value != this.props.value) {         if (this.state.value != this.props.value) {             this.onChangeText(this.props.value);         }     }   }

what is in onChangeText() ??

i am using hooks


dynamic subdomain route not work in php7.0

What steps will reproduce the problem?
use route 'http://<param1:\w+>.site1.ru/<param2:\w+>' => 'supp/view',
What is the expected result?
route not work
What do you get instead?
i have not correct url for Yii2
Additional info
on Win10+openServer via php 5.6 all work correctly
use \yii\helpers\Url::to(['/supp/view','param1'=>$model['param1'],'param2'=>$model['param2']])

Q
A

Yii version
2.0.10

PHP version
7.0.15

Operating system
Ubuntu LTS 16.04.1

add example into info

Could you show values of $model['param1'] and $model['param2']?

param1 & param2 is row on Model. But Win10+php5.6 work correctly and route make correct URL aka para1.site1.ru/param2

What's the result when using PHP7?

result in ubuntu lts16   - PHP7 i see link ....
result in win10+PHP5.6  - all normal ... as right ...

issue confirmed locally with PHP 7.1.2-dev. It seems that the basePath is inserted.
Example:
$this->rules['http://www.example.com/custompage'] = 'article/index'
So instead of
http://www.example.com/custompage
A link with a basePath is created:
http://www.example/whatever-basepath-i-am-at/custompage

That is expected behavior and documented: check the "Note" on http://www.yiiframework.com/doc-2.0/guide-runtime-routing.html#rules-with-server-names

@skvarovski please provide the following information:

full urlManager config on both systems
the yii version you use on both systems

@skvarovski we are waiting for you input in order to solve your problem.
please provide the following information:

full urlManager config on both systems
the yii version you use on both systems

how can I create dynamic sub domain in rules?


Failed to retrieve metadata from DB, connection: 'default' is not available (but connection is valid)

org.javalite.activejdbc.DBException:` Failed to retrieve metadata from DB, connection: 'default' is not available
[INFO] [talledLocalContainer] 	at org.javalite.activejdbc.Registry.init(Registry.java:127) ~[activejdbc-1.4.13.jar:?]
[INFO] [talledLocalContainer] 	at org.javalite.activejdbc.Registry.getMetaModel(Registry.java:101) ~[activejdbc-1.4.13.jar:?]
[INFO] [talledLocalContainer] 	at org.javalite.activejdbc.ModelDelegate.metaModelOf(ModelDelegate.java:286) ~[activejdbc-1.4.13.jar:?]
[INFO] [talledLocalContainer] 	at org.javalite.activejdbc.Model.<init>(Model.java:75) ~[activejdbc-1.4.13.jar:?]
INFO] [talledLocalContainer] 	at com.###.###.###.###.###.###.ProfileDbo.<init>(ProfileDbo.java:11) ~[classes/:?]
[INFO] [talledLocalContainer] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_101]
[INFO] [talledLocalContainer] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_101]
[INFO] [talledLocalContainer] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_101]
[INFO] [talledLocalContainer] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_101]
[INFO] [talledLocalContainer] 	at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_101]
[INFO] [talledLocalContainer] 	at org.javalite.activejdbc.ModelDelegate.create(ModelDelegate.java:136) ~[activejdbc-1.4.13.jar:?]
[INFO] [talledLocalContainer] 	at org.javalite.activejdbc.ModelDelegate.createIt(ModelDelegate.java:149) ~[activejdbc-1.4.13.jar:?]
[INFO] [talledLocalContainer] 	at com.###.###.###.###.###.###.ProfileDbo.createIt(ProfileDbo.java:2278) ~[classes/:?]

Java code where this happens:
try (Connection connection = connectionManager.getWriterConnection()) {
			if(!connection.isValid(1)){
				throw new SQLException("Failed to get a valid connection to the database.");
			}
			try (DB db = new DB("profileManager")) {
				db.attach(connection);
				ProfileDbo.createIt("public_key", toBeAdded.getPublicKey(), "id_domain", toBeAdded.getIdDomain(),
						"userid", toBeAdded.getUserId(), "phone_number", toBeAdded.getPhoneNumber(), "name",
						toBeAdded.getName(), "email", toBeAdded.getEmail());
				db.detach();
				return toBeAdded;
			}
		}

@steowens three things:

The message is descriptive - no connection
I have never seen attaching a connection like that. Is there a real reason? Why not db.open(...)?
Provide a definition of the ProfileDbo class.
Suggestion: drop the 'Dbo' suffix.

@steowens , this is probably an application error. If no response, I will close this issue soon,

The reason I attached the connection is that we use different connection pools for readers and writers.  In this case we want a connection to a writeable database and not some read only secondary.  The Try with resources is being used because 'idiom'.

sure, np. Are you still having issues?


MDX query parameter interpreted as a column name for a row-context and not as a literal

The following MDX query parameter [dimension].[hierarch].[member] will be parsed as column name for a row-context and not as a literal value.

Beta available at https://ci.appveyor.com/project/Seddryck/nbi/builds/28228732/artifacts or NBi 1.22.0-beta0002


Merge some of the simple, single-package frontend* Gradle modules into one

Like frontendVfsUtils, frontendDefs etc. — TBD which ones exactly and how to call the resulting module.

Rel: #344


Include a MANIFEST.in file

I'm attempting to get this package into a binary format on conda-forge; would it be possible to include a MANIFEST.in file? Currently some of the required files are not included in the sdist (e.g. requirement.txt)
https://packaging.python.org/guides/using-manifest-in/

We are considering switching back to JIT compilation from AOT compilation since the later causes several issues on Windows and the progress of Numba on that side has not been as fast as I had hoped.
I do not have time to work on this during the next few months, but if anyone wants to write a PR, it should probably include some tests to check if the JIT-to-AOT-switch did not horribly break anything.

MANIFEST.in file has been merged (pull request #59).


store: Fix copy failure when initializing blueprints commit list

copy() will not append to a slice, so if the length is 0 nothing will be
copied. Initialize the slice with the length instead of the capacity.
This fixes a problem with blueprint commits vanishing when the server is
restarted.

Can we cover this by a test-case?

Can we cover this by a test-case? Otherwise, the change is looking good to me, thanks!

I'd like to, but I'm not sure if we can. I'll take a closer look today. Maybe just a targeted test of this function instead of needing multiple copies of mocked state.json files.


refactor: add guards/type hints to build_file_urls()

Added a test in addition to the correction you caught.


Ruby 2.2.0 / Rails 4.2 issue

It seems that with the OT 2.2.3 gem, the following error happens when attempting to run rake (or any rails command)
rake aborted!
LoadError: cannot load such file -- digest/hmac

I haven't been able to isolate the issue within the gem, but I have isolated it to the gem itself.

@superacidjax thanks for reporting. it looks like the Ruby 2.2.0 stdlib has removed the Digest::HMAC class, and suggests to use OpenSSL::HMAC instead (source).
"CAUTION: Use of this library is discouraged, because this implementation was meant to be
experimental but somehow got into the 1.9 series without being noticed. Please use OpenSSL::HMAC
in the “openssl” library instead."

the class is only used in 2 places, so it should be a pretty quick fix. willing to accept a PR for this :)

I'll PR tomorrow. I wanted to be sure that there wasn't some breaking reason for the original library. Thanks!

On 05 Jan 2015, at 20:58, Ankur Oberoi<EMAIL_ADDRESS>wrote:
@superacidjax thanks for reporting. it looks like the Ruby 2.2.0 stdlib has removed the Digest::HMAC class, and suggests to use OpenSSL::HMAC instead (source).
"CAUTION: Use of this library is discouraged, because this implementation was meant to be
experimental but somehow got into the 1.9 series without being noticed. Please use OpenSSL::HMAC
in the “openssl” library instead."
the class is only used in 2 places, so it should be a pretty quick fix. willing to accept a PR for this :)
—
Reply to this email directly or view it on GitHub.


External mariadb CVE database running into incompatible character encoding issue

Describe the bug
When using external db during the merge operation with cve and cisa the operation fails
Version of dependency-check used
Maven 8.2.1
Log file
Will attach later
To Reproduce
Steps to reproduce the behavior:

Run maven in update only mode

Expected behavior
Db to have been updated

dependency-check-mvn-external-db.log

@ptecihner Did you modify the default characterset of mariadb from the default?

No

Looks like there were unicode replacement characters (U+FFFD (�) encoded by the  reported 0xEF BF DD in utf-8) surrounding IOMobileFrameBuffer in the short description of the Known Exploited Vulnerabilities datafeed of the CISA that has by now been corrected by replacing it with proper regular spaces. Do you still experience the issue on a fresh update?

I still see the same problem. See https://github.com/stefanneuhaus/dependencycheck-central-mysql-docker/issues/18
Even if the data feed would be fixed upstream, one shouldn't rely on that, IMHO.

Fully agree to that cpfeiffer, but would need to get my hands on a problematic file to be able to reproduce and verify the fix.

If you download https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
have a look at the shortDescription for CVE-2021-42013 and CVE-2021-41773.

(those links to github's advisory data were not made by me, I entered plain CVE-...)


DOCS: Updated CONTRIBUTING.md

Description
Hey there!
First, if you are reading this, you are amazing!
I'm Armaan and actively taking part in Hacktoberfest and HackSquad, I was contributing to various repos recently and found out this repo (had a lot of contributions.
As always, I jumped and tried to find out "CONTRIBUTING.md" , when I saw it , I thought this needs a level up and I went on contributing to it.
This change (separate file on steps and guidelines) will help increase contributors to contribute even more especially beginners, the thing I kept in mind was to make it fun, emojified and engaging for users!
Who doesn't like fun? : D
So, I went ahead and updated the "CONTRIBUTING.md" file with steps and guidelines, I hope this will help beginners and potentially increase contributors to this amazing repo!
Checklist

[ ✔] I have read and followed the Contribution Guidelines.
[✔ ] All new and existing tests passed.
[ ✔] I have updated the documentation to reflect the changes I've made.
[ ✔] My code follows the code style of this project.
[ ✔] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers
Since I'm not the owner/maintainer of this repo, I do not have full data about the project, so there might be slight mistakes, and I deeply apologise for that.
This PR is free for any modifications/edits.
I am hoping for a positive and quick merge!
Additional INFO: Starred✔⭐
Thanks and regards,
Armaan.

@0Armaan025 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Linux version does not show file sizes of binaries.

On linux, the "Pdb Size" is always 0 B. Also the UI should be renamed, e.g. to "Binary Size".

Fixed by https://github.com/pierricgimmig/orbitprofiler/pull/57


optimize/flag: flag params are prepended to init or main

solved DCO.
https://github.com/dapr/dapr/pull/3912

/cc @daixiang0. This integration is a bit slow.


line 67 in connection.py unhandled exception

The try-catch block has a unhandled exception in the catch statement in line 67. This happens when we pass a url that is of type 'https' but it does not have a valid certificate certified by a CA.
This throws the following exception:
>>> c.list_events(start=start_xchange, end=end_exchange, details=True) Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/local/lib/python2.7/dist-packages/pyexchange/exchange2010/__init__.py", line 95, in list_events     return Exchange2010CalendarEventList(service=self.service, start=start, end=end, details=details)   File "/usr/local/lib/python2.7/dist-packages/pyexchange/exchange2010/__init__.py", line 113, in __init__     response_xml = self.service.send(body)   File "/usr/local/lib/python2.7/dist-packages/pyexchange/base/soap.py", line 34, in send     response = self._send_soap_request(request_xml, headers=headers, retries=retries, timeout=timeout, encoding=encoding)   File "/usr/local/lib/python2.7/dist-packages/pyexchange/exchange2010/__init__.py", line 44, in _send_soap_request     return super(Exchange2010Service, self)._send_soap_request(body, headers=headers, retries=retries, timeout=timeout, encoding=encoding)   File "/usr/local/lib/python2.7/dist-packages/pyexchange/base/soap.py", line 65, in _send_soap_request     response = self.connection.send(body, headers, retries, timeout)   File "/usr/local/lib/python2.7/dist-packages/pyexchange/connection.py", line 67, in send     log.debug(err.response.content) AttributeError: 'NoneType' object has no attribute 'content'
This is thrown because of _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in the requests (line 64) has verify=True set by default. Turning that flag off does everything normally.

Sorry about that - let me take a look.

verify=False in the requests.post in connection.py is a hack but works for me for now.
Better is the option for adding args to include using certs like adding to the requests.post of verify=ca_crt, cert=(cert_pem,key_pem) or if desired verify=False I guess.

Yeah, that's a great idea. I'm sorry I haven't had much time to work on this lately, but I should have time this week.

(pull requests gladly received btw)

https://github.com/linkedin/pyexchange/pull/42 :)

yay! :tada:  I commented on the other one.


Recognize synchronously-completed tasks in BlazorComponent

Don't schedule StateHasChanged if async lifecycle events complete synchronously, fixes #760

Thanks so much @Suchiman - this looks perfect!


Migrate to kotlinx-coroutines-test

kotlinx-coroutines-test appears to finally support KMP. Task is to migrate our test code away from custom runSuspendTest as appropriate and use runTest
Blocked by: https://github.com/awslabs/aws-sdk-kotlin/issues/434
See also https://github.com/Kotlin/kotlinx.coroutines/blob/1.6.0-RC/kotlinx-coroutines-test/MIGRATION.md

closed by #580


HTML Tags with Link

Hi,
I am currently integration the tooltipster into a database website. The tooltips are working perfectly. Just with the HTML content I have some problems. The click on the div is working just when I am clicking on the tooltip link. nothing is working. Maybe somebody could help me.
Nice Day
Franz

<input type="text" id="name" class="floatLabel" name="name" value="">Zwave

Hi, please prepare a jsfiddle to demonstrate the issue. Thank you

Hi sure. The demo is on the selected website available.
http://www.demowebpage.site88.net/#
When you mouseover the entry there a link with the text "delete" will apear.
Nice Day

There is no issue with Tooltipster here so unfortunately I can't spend much time helping you, but I think you just need to bind your click listeners on the "delete" button after the tooltip has opened, using the functionReady option.

Ok I understand. maybe do you have an example for me. I am very new to this topic.
Thank You

Ok, you're using a delegated listener on the body. Tooltipster v3 stops the click event, that's why it does not bubble up to the body. You could try Tooltipster v4 on the v4 branch of this project, it no longer catches clicks.

I looks like this is also not working.
Does sombody know a way how to fix this?
Thank you


Various small fixes found during development

Because I tend to do things slightly weird I found a few small bits of cleanup here and there, as well as one odd bug. I don't remember how I hit it, but I've been holding this in a working branch for a while, so here ya go. The change in the CSV is purely cosmetic, and shouldn't affect the downstream builds.
Signed-off-by: Jose A. Rivera<EMAIL_ADDRESS>

/test ocs-operator-bundle-e2e-aws


Adding properties to WhatIfChange

…ous API version
ARM (Control Plane) API Specification Update Pull Request

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!

[ ] New resource provider.
[x] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix OpenAPI spec quality issues in S360.
[ ] Convert existing OpenAPI spec to TypeSpec spec (do not combine this with implementing changes for a new API version).
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[ ] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Please fix the Swagger ModelValidation and Swagger Avocado errors too.

        "$ref": "#/parameters/ApiVersionParameter"

you should use the one from common-types

Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json:4330 in 87dc7ce. [](commit_id = 87dc7ce79e131ea8c791229f496220a7d6b38fa5, deletion_comment = False)

"SubscriptionIdParameter": {

you should use the one from common-types

Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json:6905 in 87dc7ce. [](commit_id = 87dc7ce79e131ea8c791229f496220a7d6b38fa5, deletion_comment = False)

"ScopeParameter": {

you should use the one from common-types

Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json:6886 in 87dc7ce. [](commit_id = 87dc7ce79e131ea8c791229f496220a7d6b38fa5, deletion_comment = False)

      "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse",

you should update to latest version

Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json:6819 in 87dc7ce. [](commit_id = 87dc7ce79e131ea8c791229f496220a7d6b38fa5, deletion_comment = False)

Fix the errors from Swagger LintDiff check

    "identifiers": {

why is this not an array of objects with models?

identifiers is specifically intended for Bicep extensible resources, not Azure resources. It represents a subset of resource properties, which is why it is structured as an object rather than an array. Its primary purpose is to help customers understand which properties can uniquely identify a Bicep extensible resource, as these resources lack a resource ID like Azure resources. For instance, in the case of a Kubernetes resource, the identifiers object might include a metadata property:
{
  "metadata": {
    "namespace": "default",
    "name": "myApp"
  }
}

Here’s a reference from the Bicep extensible resource API spec:

ARM is trying to reduce instances of unschematized APIs to make it easier for consumers of those APIs to understand them and use them reliably, not to mention provide better support in the various SDKs.

The primary consumer of the What-If API is our team, who will leverage it to develop the deployment What-If experiences for Azure CLI and Azure Pwsh.
@davidcho23 Could we make sure to include a description for the identifiers object?

@razvanbadea-msft I am seeing [TrackedExtensionResourcesAreNotAllowed](https://github.com/Azure/azure-openapi-validator/blob/main/docs/tracked-extension-resources-are-not-allowed.md) in the Swagger LintDiff check: https://github.com/Azure/azure-rest-api-specs/pull/31006/checks?check_run_id=33166229251 but these do not seem related to my changes. Could you explain what these mean? Thank you

      "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse",

you should update to latest version
Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json:6819 in 87dc7ce. [](commit_id = 87dc7ce, deletion_comment = False)

@razvanbadea-msft is this a requirement or a suggestion? Upgrading to the latest version has caused a number of "breaking change" violations that we're unsure how to address:

        },

Why removing 400 response? Are we not returning 400 responses for the new API version?

Refers to: specification/resources/resource-manager/Microsoft.Resources/stable/2024-11-01/resources.json:297 in ddc34b0. [](commit_id = ddc34b0059c1c8589e457fe85778ffe89c2c39a9, deletion_comment = True)


remote job submission config needs to include raijin

resolution_fixed   |    by ibc599

The NCI scripts for remote job submission default to vayu and not raijin.
The file /opt/remote-job-submission/bin/remote-job-submission-targets-vms
should contain the lines
#!/bin/bash
On client VMs (eg. accessdev, accessdev-test, developer VMs,
echo "raijin.nci.org.au raijin"

Issue migrated from trac:46 at 2024-01-31 17:56:13 +1100

ibc599 changed status from new to closed

ibc599 commented

Currently the solution is edit the file manually after spinning up the VM

<EMAIL_ADDRESS>commented

Milestone Future deleted

<EMAIL_ADDRESS>removed milestone (was Future)

ibc599 changed resolution from `` to fixed


Coverage Report breaks when using ignore option

Describe the bug
When providing an ignore pattern for included files, coverage breaks because coverage report is ran on the coverage directory resulting in an error and empty coverage report.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Vitest caught 1 unhandled error during the test run.
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Error: ENOENT: no such file or directory, open '/coverage/base.css'
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: {
  "code": "ENOENT",
  "errno": -2,
  "path": "/coverage/base.css",
  "syscall": "open",
}

Setting up reproduction on StackBlitz made me realize this is caused by the ignore flag in the test.include. Commenting out the ignore path '!src/test/**', coverage report generates as expected.
Thread on discord: https://discord.com/channels/917386801235247114/1109310035655397387/1109310035655397387
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-po5z4y?file=vite.config.unit.ts
System Info
System:
    OS: macOS 13.3.1
    CPU: (4) x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
    Memory: 152.46 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.18.0 - ~/.nvm/versions/node/v16.18.0/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.5.0 - ~/.nvm/versions/node/v16.18.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Browsers:
    Chrome: 113.0.5672.126
    Firefox: 113.0.1
    Firefox Developer Edition: 114.0
    Firefox Nightly: 114.0a1
    Safari: 16.4
  npmPackages:
    @vitest/coverage-istanbul: ^0.31.1 => 0.31.1
    @vitest/ui: ^0.31.1 => 0.31.1
    vitest: ^0.31.1 => 0.31.1

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Moving test.include: !src/tests//*totest.exclude: src/tests//*` will fix the issue

This looks like a configuration error and not a bug in Vitest.
When you set test.include to !src/tests and run watch mode, it will include the generated ./coverage directory as it matches the pattern. Vitest tries to open the files from coverage and use them as test files.
Instead you should define it as test.exclude.

@AriPerkkio that kind of makes sense, but that means the first include is being superseded rather than narrowing the results?
The bang !src/tests supersedes the first include src/**/*.test.ts?

The test.include describes patterns that are considered as test files. Files are tested against each pattern ony-by-one. The test.exclude is then used to exclude files that matched the include pattern but should be excluded.
The pattern include: ['src/**/*.test.ts', '!src/test/**'] would mean that every single file that matches either of the patterns is considered as test file (and that does not match the default value of test.exclude).
If you wish to write a single test.include pattern that includes *.test.ts files from all sub-directories of src, but excludes src/test, something like this could work: src/{!(test),}/*.ts. But I would  still recommend using test.include: ['src/**/*.test.ts'] with test.exclude: ['src/test/**'] for readability.


Naming inconsistency breaks compile when using prefix option with message-level enums

It looks like the fix to https://github.com/alexeyxo/protobuf-swift/issues/57 introduced a bug.
Now, message level (nested) enums have a naming inconsistency in the generated code.
import "google/protobuf/swift-descriptor.proto";
option (.google.protobuf.swift_file_options).class_prefix = "PB";

message IceCreamCone {
  optional int32 scoops = 1;
  enum Flavor {
    CHOCOLATE = 1;
    VANILLA = 2;
  }
  optional Flavor flavor = 2;
}

The generated enum is correctly named PBFlavor and is declared within PBIceCreamCone but the flavor variable is given the type PBIceCreamCone.Flavor.

Sorry...:((


Broken link about listing PowerApps on AppSource

Under "Canvas apps for ISVs and Microsoft partners", the Learn More link for "List your solution on AppSource" is not working, and redirects back to this page.

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

ID: d5900fe4-4399-9b09-3e42-4ff71f3a8fb9
Version Independent ID: 16e8e4eb-6e63-620e-3811-cd6265aca1fa
Content: Power Apps for enterprise developers, partners, and ISVs - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/dev-enterprise-intro.md
Service: powerapps
GitHub Login: @ImadYanni
Microsoft Alias: iyanni

The page linked to is https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/dev-appsource-test-drive however opening this page anywhere just redirects back to the above page instead. Is this no longer a recommended model for demo'ing your PowerApps?

Hi Vivek,
I don’t think I own this doc I think this should be owned by someone in Maker team.
Thanks!
Imad
From: Lee-Myhre<EMAIL_ADDRESS>Sent: Thursday, July 2, 2020 3:25 PM
To: MicrosoftDocs/powerapps-docs<EMAIL_ADDRESS>Cc: Imad Yanni<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/powerapps-docs] Broken link about listing PowerApps on AppSource (#1569)
The page linked to is https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/dev-appsource-test-drivehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowerapps%2Fmaker%2Fcanvas-apps%2Fdev-appsource-test-drive&data=02|01|iyanni%40microsoft.com|e26d07f8b0094d77d4d208d81ed6b7bd|72f988bf86f141af91ab2d7cd011db47|1|0|637293254838124563&sdata=qdNtUubpky5LXukbCn5x0LA4gx%2FUsfO4cw3DJqCQBlk%3D&reserved=0 however opening this page anywhere just redirects back to the above page instead. Is this no longer a recommended model for demo'ing your PowerApps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fpowerapps-docs%2Fissues%2F1569%23issuecomment-653244320&data=02|01|iyanni%40microsoft.com|e26d07f8b0094d77d4d208d81ed6b7bd|72f988bf86f141af91ab2d7cd011db47|1|0|637293254838134561&sdata=%2BT0uhy6O%2BnkLsIxUZaNopMBMmF3bBjrEPupP%2BXECioM%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIYAUSW2LXFU7J3KHO7FFGLRZUCKVANCNFSM4OPJGRIA&data=02|01|iyanni%40microsoft.com|e26d07f8b0094d77d4d208d81ed6b7bd|72f988bf86f141af91ab2d7cd011db47|1|0|637293254838134561&sdata=7f0%2F6JZvAEOuVaf%2B4S2oatRymMjon42fBZyeLJxGCsc%3D&reserved=0.

Thank you for reaching out, the link has been updated. Please allow some time for the content to reflect the changes.


Failed to perform ays init in a vanilla js8 installation

Steps to reproduce

I installed jumpscale in a fresh ubuntu 14.04.
Added the following ays repo: https://github.com/gig-projects/playenv

root@jsdev:/tmp# js
Python 3.5.0+ (default, Oct 11 2015, 09:05:38)
Type "copyright", "credits" or "license" for more information.

IPython 4.2.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: j.do.pullGitRepo('https://github.com/gig-projects/playenv')
git clone https://github.com/gig-projects/playenv.git -> /opt/code/github/gig-projects/playenv
cd /opt/code/github/gig-projects;git -c http.sslVerify=false clone --depth=1  https://github.com/gig-projects/playenv.git /opt/code/github/gig-projects/playenv
E:/bin/sh: 1: cd: can't cd to /opt/code/github/gig-projects
E:Cloning into '/opt/code/github/gig-projects/playenv'...
Username for 'https://github.com': fastgeert
Password for<EMAIL_ADDRESS>Out[1]: '/opt/code/github/gig-projects/playenv'
Do you really want to exit ([y]/n)?

root@jsdev:/tmp# cd /opt/code/github/gig-projects/playenv/ays_github

root@jsdev:/opt/code/github/gig-projects/playenv/ays_github# ays init
Traceback (most recent call last):
  File "/usr/local/bin/ays", line 199, in <module>
    cli()
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/bin/ays", line 41, in init
    j.atyourservice.init()
  File "/opt/jumpscale8//lib/JumpScale/baselib/atyourservice/AtYourServiceFactory.py", line 292, in init
    bp.loadrecipes()
  File "/opt/jumpscale8/lib/JumpScale/baselib/atyourservice/Blueprint.py", line 44, in loadrecipes
    j.atyourservice.getRecipe(name=blueaysname)
  File "/opt/jumpscale8//lib/JumpScale/baselib/atyourservice/AtYourServiceFactory.py", line 612, in getRecipe
    template = self.getTemplate(domain=domain,name=name, version=version, role=role)
  File "/opt/jumpscale8//lib/JumpScale/baselib/atyourservice/AtYourServiceFactory.py", line 596, in getTemplate
    return self.findTemplates(domain=domain, name=name, version=version, role=role, first=first)
  File "/opt/jumpscale8//lib/JumpScale/baselib/atyourservice/AtYourServiceFactory.py", line 473, in findTemplates
    for template in self.templates:
  File "/opt/jumpscale8//lib/JumpScale/baselib/atyourservice/AtYourServiceFactory.py", line 118, in templates
    self._doinit()
  File "/opt/jumpscale8//lib/JumpScale/baselib/atyourservice/AtYourServiceFactory.py", line 242, in _doinit
    opt = j.tools.path.get('/opt')
  File "/usr/local/lib/python3.5/dist-packages/JumpScale/__init__.py", line 66, in __getattr__
    obj0 = importlib.machinery.SourceFileLoader(classname,classfile).load_module()
  File "<frozen importlib._bootstrap_external>", line 385, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 806, in load_module
  File "<frozen importlib._bootstrap_external>", line 665, in load_module
  File "<frozen importlib._bootstrap>", line 268, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 693, in _load
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 662, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/opt/jumpscale8//lib/JumpScale/tools/path/PathFactory.py", line 1, in <module>
    from path import path
ImportError: No module named 'path'
root@jsdev:/opt/code/github/gig-projects/playenv/ays_github#

Also the click python library is missing
root@vagrant-ubuntu-trusty-64:/home/vagrant# ays Traceback (most recent call last):   File "/usr/local/bin/ays", line 5, in <module>     import click ImportError: No module named 'click'

See #197


Geo vision/Honey well/Bosch camera- Set video encoder configuration not working correctly

Summary of the problem:
Not able to update video encoder configuration using 'set video encoder configuration' API
Issue reproducible on below camera models:
Geo Vision GV-BX8700
Bosch DINION 6000HD
Honeywell HC30WB5R1
Repro steps:

Execute Get video encoder configuration API to retrieve existing video encoder configuration details
Update video encoder configuration using 'set video encoder configuration'. For e.g. Govlength different than default
Intermittently its giving SOAP error on some cameras (Bosch), sometimes it wont give any error but not updating video encoder values as expected.

Expected result: able to update video encoder configuration values correctly
Actual result: set video encoder configuration api not working as expected.

Levski Release - Bosch,  Oct-26-2022 code freeze at main branch - same issue.

Issue reproducible with images on 10/27/22 on Geovision camera.

on Hikvision-DS-2DE2A404IW-DE3 camera, it gives invalid arg value error even tried to update with valid parameter value.
attached is the api output.

Issue reproducible with V3 code


Add the ability to import filters

Fixes #85

I like this one a lot. Why is is not merged?

I think it was just waiting on some outside confirmation. Wanna try it out? :)

I think it was just waiting on some outside confirmation. Wanna try it out? :)

I've been testing out this update, and it works as expected. I successfully tested both single and multiple filters (e.g. jinja2 -f myfilter.myfunction -f ansible.plugins.filter.core.combine test.txt).

Is there any chance to see this PR merged into main branch? It can drastically extend jina2-cli capabilities.
I tested this patch and it works fine. For example, we have hostname and want to add ip address in rendered config file, so it can be one simple filter (filters/ip.py):
import socket

def get_ip(hostname):
    return socket.gethostbyname(hostname)

and in template it can be
{{ hostname }}: {{ hostname | get_ip }}

jinja2 -f filters.ip.get_ip test.j2 test.yaml


Added turf_dart

Hello everyone,
we are creating a port of turf.js for the Dart programming language (therefore Flutter as well) and wanted to ask, if you want to add our library to your awesome list? 😄
Thank you in advance
CC @armantorkzaban

Thank you very much 👍 👍


WebSocket connection failed on subscribing to realtime channel

Bug report
Describe the bug
I'm trying to use Supabase's realtime updates locally, and I'm getting the following error
WebSocket connection to 'ws://localhost:54321/realtime/v1/websocket?apikey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0&vsn=1.0.0' failed

To Reproduce

Clone this repo https://github.com/skulltech/sample-realtime-app
Run yarn install and supabase start, and then yarn dev to start the server.
Go to http://localhost:3000 and check the console to see the above mentioned error.
The webapp has some basic functionality for writing and reading to database to make sure that the other Supabase functionalities are working as expected.

Expected behavior
No errors while subscribing to the realtime channel.
Screenshots

System information

OS: macOS
Browser: Chrome
Version of supabase-js: 2.2.3
Version of Node.js: v19.4.0
Version of Supabase CLI: 1.29.2
Version of Docker desktop for Mac: 4.15.0

Additional context
The same code seems to be working on production Supabase at app.supabase.com.
The same code was working before I updated my whole stack, i.e. updated Supabase CLI as well as @supabase/supabase-js, moved to Postgres v15 locally (i.e. in config.toml), from v14 previously, and ran brew upgrade which included updating docker desktop.

Same here

'use client'

import { createBrowserClient } from '@landlord-fusion/supabase-browser-client'
import { Suspense, useEffect, useState } from 'react'

export default function ClientComponent({ serverData }: { serverData: any }) {
  const supabase = createBrowserClient

  const [data, setData] = useState(serverData)

  useEffect(() => {
    setData(serverData)
  }, [serverData])

  useEffect(() => {
    const channel = supabase
      .channel('custom-insert-channel')
      .on('postgres_changes', { event: 'INSERT', schema: 'public', table: 'customers' }, (payload) => {
        console.log('Change received!', payload)
      })
      .subscribe()

    return () => {
      supabase.removeChannel(channel)
    }
  }, [serverData, supabase])

  return (
     <pre>{JSON.stringify({ data }, null, 2)}</pre>
  )
}

I'm experiencing the same issue when trying to connect to self-hosted supabase on running dockers (locally):

<EMAIL_ADDRESS>supabase/realtime:v2.0.2
supabase/postgres:<IP_ADDRESS>
supabase/gotrue:v2.40.1
kong:2.8.1
postgrest/postgrest:v<IP_ADDRESS>20717
supabase/postgres-meta:v0.52.1

Fixed in "@supabase/supabase-js": "2.4.0" @skulltech @aerophobic

@atanaskanchev I am having the same issues and I am using "@supabase/supabase-js": "2.4.0".

@atanaskanchev I am having the same issues and I am using "@supabase/supabase-js": "2.4.0".

It has started working for me after I've updated all supabase dependencies to their latest versions and cleaned all docker images/containers 🤷♂

@atanaskanchev thank you, based on your comment I decided to try to update the supabase CLI also. That did the trick!
So if anyone has further issues as I did, make sure to update the supabase CLI version also.

Having the same issue, websocket connection fails on my self hosted supabase

@skulltech @adityadhawan22 have you had a chance to check if updating and restarting the local dev setup (if using the CLI) or the supabase/realtime container (if using self-hosted) fixes it?

I continue to have this issue after running brew upgrade supabase followed by supabase stop and supabase start.

I have the same Issue here.

I have the same issue here.

Running into the same issue here.

We were also able to reproduce this issue with a custom domain. The problem seemed to persist when we reverted to using a vanity domain instead. We can also confirm that reverting to the base, non-custom (or vanity) subdomain works.

Also experiencing this.

Also have this issue:
  supabase/postgres      │ <IP_ADDRESS>           │ - supabase/gotrue        │ v2.99.0              │ - postgrest/postgrest    │ v11.2.0              │ - supabase/realtime      │ v2.10.1              │ - supabase/storage-api   │ v0.40.4              │ - supabase/edge-runtime  │ v1.20.2              │ - supabase/studio        │ 20230921-d657f29     │ - supabase/postgres-meta │ v0.68.0              │ - supabase/logflare      │ 1.4.0                │ - bitnami/pgbouncer      │ 1.20.1-debian-11-r39 │ - darthsim/imgproxy      │ v3.8.0               │ -
Error:
`
WebSocket connection to 'ws://localhost:54321/realtime/v1/websocket?apikey={apiKey}&vsn=1.0.0: failed
`
Code:
`
const entriesChannel = supabase
.channel('custom-all-channel')
.on('postgres_changes', { event: '*', schema: 'public', table: 'entries' }, (payload) => {
console.log('Change received!', payload);
})
.subscribe();
`
dependencies:
  "@supabase/auth-helpers-sveltekit": "^0.10.3",     "@supabase/auth-ui-shared": "^0.1.8",     "@supabase/auth-ui-svelte": "^0.2.7",     "@supabase/supabase-js": "^2.38.1",
Supabase CLI: 1.106.1

@fbeutel how did you re-generate the JWT secret?

any updates here? I am getting the same issue when trying to connect to localhost. Have tried clearing all of my docker containers/images (with docker system prune), as well as resetting the local JWT token by setting in an environment variable, and runningsupabase stop & supabase start a number of times

Having this issue as well! I am using the supabase cli (1.110.1) so i don't know how i can rotate the jwt secrets/api keys. i can see the option to change keys when it is the docker-compose version but not with the cli deployment. The config.toml has no options to input my own api keys/jwt secrets. It works sometimes so im thinking it is some sort of connection issue with the elixir in the realtime container that is spawned. when it works, the logs in that conatiner show that it connected to the db. When it doesn't work, the logs hang here:
11:01:58.192 [info] create table tenants
11:01:58.208 [info] create index tenants_external_id_index
11:01:58.226 [info] == Migrated<PHONE_NUMBER>0551 in 0.0s
11:01:58.405 [info] == Running<PHONE_NUMBER>1857 Realtime.Repo.Migrations.AddExtensionsTable.change/0 forward
11:01:58.406 [info] create table extensions
11:01:58.415 [info] create index extensions_tenant_external_id_type_index
11:01:58.418 [info] == Migrated<PHONE_NUMBER>1857 in 0.0s
11:01:58.426 [info] == Running<PHONE_NUMBER>2326 Realtime.Repo.Migrations.AddTenantMaxEps.up/0 forward
11:01:58.426 [info] alter table tenants
11:01:58.428 [info] == Migrated<PHONE_NUMBER>2326 in 0.0s
11:01:58.436 [info] == Running<PHONE_NUMBER>2948 Realtime.Repo.Migrations.RenamePollIntervalToPollIntervalMs.up/0 forward
11:01:58.480 [debug] QUERY OK source="extensions" db=0.7ms
SELECT e0."id", e0."type", e0."settings", e0."tenant_external_id", e0."inserted_at", e0."updated_at" FROM "extensions" AS e0 WHERE (e0."type" = $1) ["postgres_cdc_rls"]
11:01:58.480 [info] == Migrated<PHONE_NUMBER>2948 in 0.0s
11:01:58.490 [info] == Running<PHONE_NUMBER>0857 Realtime.Repo.Migrations.AddExternalIdUniqIndex.change/0 forward
11:01:58.491 [info] execute "alter table tenants add constraint uniq_external_id unique (external_id)"
11:01:58.498 [info] == Migrated<PHONE_NUMBER>0857 in 0.0s
11:01:58.501 [info] == Running<PHONE_NUMBER>1129 Realtime.Repo.Migrations.NewMaxEventsPerSecondDefault.change/0 forward
11:01:58.502 [info] alter table tenants
11:01:58.505 [info] == Migrated<PHONE_NUMBER>1129 in 0.0s
11:01:58.513 [info] == Running<PHONE_NUMBER>5024 Realtime.Repo.Migrations.SetCurrentMaxEventsPerSecond.change/0 forward
11:01:58.513 [info] execute "update tenants set max_events_per_second = 1000"
11:01:58.514 [info] == Migrated<PHONE_NUMBER>5024 in 0.0s
11:01:58.526 [info] == Running<PHONE_NUMBER>1501 Realtime.Repo.Migrations.ChangeLimitsDefaults.change/0 forward
11:01:58.527 [info] alter table tenants
11:01:58.530 [info] == Migrated<PHONE_NUMBER>1501 in 0.0s
11:01:58.540 [info] == Running<PHONE_NUMBER>3709 Realtime.Repo.Migrations.AddCdcDefault.up/0 forward
11:01:58.540 [info] alter table tenants
11:01:58.542 [info] == Migrated<PHONE_NUMBER>3709 in 0.0s
11:01:58.554 [info] == Running<PHONE_NUMBER>2703 Realtime.Repo.Migrations.RenamePgType.up/0 forward
11:01:58.554 [info] execute "update extensions set type = 'postgres_cdc_rls'"
11:01:58.555 [info] == Migrated<PHONE_NUMBER>2703 in 0.0s
11:01:58.562 [info] == Running<PHONE_NUMBER>0058 Realtime.Repo.Migrations.DropTenantsUniqExternalIdIndex.change/0 forward
11:01:58.562 [info] execute "ALTER TABLE IF EXISTS tenants DROP CONSTRAINT IF EXISTS uniq_external_id"
11:01:58.564 [info] == Migrated<PHONE_NUMBER>0058 in 0.0s
11:01:58.575 [info] == Running<PHONE_NUMBER>0046 Realtime.Repo.Migrations.AddLimitsFieldsToTenants.change/0 forward
11:01:58.575 [info] alter table tenants
11:01:58.579 [info] == Migrated<PHONE_NUMBER>0046 in 0.0s
11:02:00.147 [debug] QUERY OK db=2.4ms queue=170.4ms idle=0.0ms
begin []
11:02:00.179 [debug] QUERY OK source="tenants" db=0.6ms
SELECT t0."id", t0."name", t0."external_id", t0."jwt_secret", t0."postgres_cdc_default", t0."max_concurrent_users", t0."max_events_per_second", t0."max_bytes_per_second", t0."max_channels_per_client", t0."max_joins_per_second", t0."inserted_at", t0."updated_at" FROM "tenants" AS t0 WHERE (t0."external_id" = $1) ["realtime-dev"]
11:02:00.246 [debug] QUERY OK db=2.7ms
INSERT INTO "tenants" ("external_id","jwt_secret","max_bytes_per_second","max_channels_per_client","max_concurrent_users","max_events_per_second","max_joins_per_second","name","inserted_at","updated_at","id") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11) ["realtime-dev", "iNjicxc4+llvc9wovDvqymwfnj9teWMlyOIbJ8Fh6j2WNU8CIJ2ZgjR6MUIKqSmeDmvpsKLsZ9jgXJmQPpwL8w==", 100000, 100, 200, 100, 500, "realtime-dev", ~N[2023-11-16 11:02:00], ~N[2023-11-16 11:02:00], <<225, 192, 199, 96, 240, 115, 70, 1, 169, 199, 221, 199, 106, 185, 146, 82>>]
11:02:00.259 [debug] QUERY OK db=10.2ms
INSERT INTO "extensions" ("settings","tenant_external_id","type","inserted_at","updated_at","id") VALUES ($1,$2,$3,$4,$5,$6) [%{"db_host" => "AsqXnLl1QzQhVdHgRakhwOUGygfGJMQFydI5HihZBh8=", "db_name" => "sWBpZNdjggEPTQVlI52Zfw==", "db_password" => "sWBpZNdjggEPTQVlI52Zfw==", "db_port" => "+enMDFi1J/3IrrquHHwUmA==", "db_user" => "uxbEq/zz8DXVD53TOI1zmw==", "ip_version" => 4, "poll_interval_ms" => 100, "poll_max_changes" => 100, "poll_max_record_bytes" => 1048576, "publication" => "supabase_realtime", "region" => "us-east-1", "slot_name" => "supabase_realtime_replication_slot"}, "realtime-dev", "postgres_cdc_rls", ~N[2023-11-16 11:02:00], ~N[2023-11-16 11:02:00], <<17, 62, 60, 18, 127, 16, 69, 135, 159, 15, 42, 23, 194, 166, 87, 139>>]
11:02:00.260 [debug] QUERY OK db=1.1ms
commit []
11:02:04.803 [info] Elixir.Realtime.SignalHandler is being initialized...
11:02:04.804 [notice]<EMAIL_ADDRESS>Adding node to scope <users>
11:02:04.804 [notice]<EMAIL_ADDRESS>Creating tables for scope <users>
11:02:04.805 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:04.805 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:04.805 [notice]<EMAIL_ADDRESS>Adding node to scope <Elixir.RegionNodes>
11:02:04.805 [notice]<EMAIL_ADDRESS>Creating tables for scope <Elixir.RegionNodes>
11:02:04.806 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:04.806 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:04.830 [info] Running RealtimeWeb.Endpoint with cowboy 2.9.0 at :::4000 (http)
11:02:04.830 [info] Access RealtimeWeb.Endpoint at http://realtime.fly.dev
11:02:04.831 [notice]<EMAIL_ADDRESS>Adding node to scope <Elixir.PostgresCdcStream>
11:02:04.831 [notice]<EMAIL_ADDRESS>Creating tables for scope <Elixir.PostgresCdcStream>
11:02:04.832 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:04.832 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:04.834 [notice]<EMAIL_ADDRESS>Adding node to scope <Elixir.Extensions.PostgresCdcRls>
11:02:04.835 [notice]<EMAIL_ADDRESS>Creating tables for scope <Elixir.Extensions.PostgresCdcRls>
11:02:04.835 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:04.835 [notice]<EMAIL_ADDRESS>Discovering the cluster
11:02:07.803 [debug] Tzdata polling for update.
11:02:08.053 [info] tzdata release in place is from a file last modified Fri, 22 Oct 2021 02:20:47 GMT. Release file on server was last modified Tue, 28 Mar 2023 20:25:39 GMT.
11:02:08.053 [debug] Tzdata downloading new data from https://data.iana.org/time-zones/tzdata-latest.tar.gz
11:02:08.270 [debug] Tzdata data downloaded. Release version 2023c.
11:02:09.352 [info] Tzdata has updated the release from 2021e to 2023c
11:02:09.353 [debug] Tzdata deleting ETS table for version 2021e
11:02:09.356 [debug] Tzdata deleting ETS table file for version 2021e

Supabase local is an awesome tool but realtime is really important for our app so we can't afford to have a flaky local deployment :(

@fbeutel how did you re-generate the JWT secret? Experiencing the same issue

We are on the hosted version of supabase, where you can reset the JWT token in the admin panel... I'm not sure how that works in the self-hosted version.

The more recent issues might be its own, separate error; I opened https://github.com/supabase/realtime/issues/746

I am having the same issue.

Was working fine until a few minutes ago and now this error, only thing that was modified was the component to reflect the INSERT, DELETE, in the list! Did anyone manage to find a solution? Or is it just a limitation of the 'OPEN SOURCE' version :
failed: WebSocket is closed before the connection is established.
  /**
     * Disconnects the socket.
     *
     * @param code A numeric status code to send on disconnect.
     * @param reason A custom reason for the disconnect.
     */
    disconnect(code, reason) {
        if (this.conn) {
            this.conn.onclose = function () { }; // noop
            if (code) {
                this.conn.close(code, reason !== null && reason !== void 0 ? reason : '');
            }
            else {
                this.conn.close();
            }
            this.conn = null;
            // remove open handles
            this.heartbeatTimer && clearInterval(this.heartbeatTimer);
            this.reconnectTimer.reset();
        }
    }

Was also experiencing the same issue and restarted supabase a dozen times. What finally fixed it was clearing out all the local/session storage and cookies from the browser.

For anyone having the same issue, what @DavidMelnychuk mentioned seems to solve the problem. At least it did for me.
I am running 2 separate supabase local instances (each with its own ports and project_id. Every time I switch to a project (to work on development), I need to remove the cache, and cookies from the browser, as it uses the cookies from the last used supabase instance.
Hope it helps!

The WebSocket is throwing in the same way for us and its killing remote data monitoring as we've had to go back to polling until this fixed.

We're using the actual Supabase site and not localhost
We've tried rotating the JWT keys
We've tried clearing cookies / session storage and entirely new browsers with the same result

Was also experiencing the same issue and restarted supabase a dozen times. What finally fixed it was clearing out all the local/session storage and cookies from the browser.

Thanks! This worked for me too.

Got the same issue for some users locally.
With the same oauth provider and different accounts on the same tenant within the authenticating provider! I'll also say that it's not possible to access other endpoints only on those accounts. So for some accounts, every endpoint works, for some accounts, the same ones (storage, realtime) don't, but others (auth, db) do.
My hypothesis is that one user has a longer name. When you sign in with some oauth providers, the JWT encodes a large amount of data (>8kb (!)) which could be the culprit.
The JWT gets passed as an query parameter (it seems) when establishing a connection, returning a 400 bad request, even though the same endpoint is accessible with another logged in user (different JWT).
For example, I was able to solve some earlier issues by increasing the cookie limit size in config.toml. But problems returned.
Hypothesis needs testing!

Got the same issue for some users locally.
With the same oauth provider and different accounts on the same tenant within the authenticating provider! I'll also say that it's not possible to access other endpoints only on those accounts. So for some accounts, every endpoint works, for some accounts, the same ones (storage, realtime) don't, but others (auth, db) do.
My hypothesis is that one user has a longer name. When you sign in with some oauth providers, the JWT encodes a large amount of data (>8kb (!)) which could be the culprit.
The JWT gets passed as an query parameter (it seems) when establishing a connection, returning a 400 bad request, even though the same endpoint is accessible with another logged in user (different JWT).
For example, I was able to solve some earlier issues by increasing the cookie limit size in config.toml. But problems returned.
Hypothesis needs testing!

edit: I see that OP is using anon token so maybe JWT size is not the issue.

For those having this problem yet. It has to be something with local cache and stuff on the browser. Trying the same on another browser, and the websocket problem did not appear.
Try cleaning your browser or user another different for working in local and production.

Try changing SUPABASE_URL from localhost:54321 to <IP_ADDRESS>:54321


Allow class_name scripts to have nested inheritance

Fix #26714

CC @neikeq in case the new API is relevant/useful for Mono.

What are global script classes?

What are global script classes?

Classes identified with class_name in GDScript, whose name becomes available as a global and can be instantiated directly in the Add Node dialog.

Thanks!


Gateway Offline, but HA still show entities as Available

IMHO this is fundamental issue regarding devices/entities availability.
After powering XG3 off - MiHome show it Offlne after some short time,

but in HA all related entities still in Available status even after 10+ minutes.

Core log:
Logger: custom_components.xiaomi_gateway3.core.mini_miio
Source: custom_components/xiaomi_gateway3/core/mini_miio.py:129
Integration: Xiaomi Gateway 3 (documentation, issues)
First occurred: 20:08:35 (45 occurrences)
Last logged: 20:21:09
Can't send get_properties [{'did': '{censored}', 'siid': 3, 'piid': 1}]
Can't send set_ip_info {'ssid': '""', 'pswd': '123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd'}
RPi4 4G, Home Assistant OS 5.12, core-2021.3.0

HA can receive offline state from gateway. If MiHome knows it - HA will know it. You nave another problem with connection to gateway

Hi
I have the same problem, XG is Offline in HA, devices are unavailable but in the MiHome application, XG is available.
regards.

Maybe you don't have connection between HA and Gate. But you have connection between Gate and Cloud.
This is happened with some wifi routers.

Thanks for your response.
It works during a month. but suddenly, it seems offline. I restart the gateway without succes.
HA and gateway are on the same network. I will check the connection between gate and cloud, has HA using the mi cloud?
regards

No. Component doesn't controls devices via cloud

You can try

hello,
I try with the latest version, bau I have the same problem

regards

Check errors in logs

Please reopen the issue if it is still relevant


fix(#14): update {NICKNAME} to tokens to hard-coded TB/MC by path

Simple XS bugfix to get a little familiarity with the code layout.
Typically, i would accompany even small fixes like this with a regression test or snapshot update, but it looks like tests are still in the works.

updated PR; reopening.


【Hackathon 6th Fundable Project No.2】 引入clang-tidy

【Hackathon 6th No.2】 引入clang-tidy docs
#64128

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: ApricityXX:x: luotao1You have signed the CLA already but the status is still pending? Let us recheck it.


error when using 'nnictl view'

Environment:

NNI version: v2.1
NNI mode (local|remote|pai): loca (after experiment)
Client OS: ubuntu
Server OS (for remote mode only):
Python version: 3.8
PyTorch/TensorFlow version: pytorch
Is conda/virtualenv/venv used?: no, then yes
Is running in Docker?: no

INFO:  view experiment sr5k10ga...
Traceback (most recent call last):
File "/home/roy/.local/bin/nnictl", line 8, in
sys.exit(parse_args())
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/nnictl.py", line 272, in parse_args
args.func(args)
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/launcher.py", line 646, in view_experiment
manage_stopped_experiment(args, 'view')
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/launcher.py", line 633, in manage_stopped_experiment
experiment_config = Config(experiment_id, experiments_dict[args.id]['logDir']).get_config()
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/config_utils.py", line 88, in init
self.conn = sqlite3.connect(os.path.join(log_dir, experiment_id, 'db', 'nni.sqlite'))
File "/usr/lib/python3.8/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
After trial, I use nnictl to check out the result but the error raise. I try to find the solution in the issues and someone says that if conda used will fix this. But I did fix it. Can someone tells me how to fix this problem?

please check if you have sr5k10ga metadata in your ~/nni-experiments/.experiment, like:
{
    "sr5k10ga": {
        "id": "sr5k10ga",
        "port": 8080,
        "startTime":<PHONE_NUMBER>228,
        "endTime": "N/A",
        "status": "STOPPED",
        "platform": "local",
        "experimentName": "your_exp_name",
        "tag": [],
        "pid": 2233,
        "webuiUrl": [
            "http://<IP_ADDRESS>:8080"
        ],
        "logDir": "/home/your_user_name/nni-experiments"
    }
}

It seems the logDir may empty in your metadata.

Non, It does the metadata in the .experiment:

And I can use the webUI during the experiment

For this experiment, you can set logDir as "logDir": "/home/your_user_name/nni-experiments" or the logDir you specified in config, then try to view again.
And to solve this issue, could you show your config.yml, launch command, or other information for our reference to reproduce this problem.

After setting the logDir it works! Here is my config:

All the metadata leave the logDir blank.

@J-shang, I encountered this problem when using nnictl resume. I also launched the experiment from Python, and did not set logDir in the configuration file. In my metadata, both webuiUrl and logDir are empty.

@kvartet In fact, we did not support resume and view experiment launched by python in nni v2.1, and this feature will support in nni v2.2 by #3490 .
To solve this issue, try to modify the logDir in metadata, and check if there has ./EXPERIMENT_ID/db/nni.sqlite under logDir.

oops! Looking forward to the nni V2.2!

@J-shang Hi, I update the nni to v2.2 by sudo pip3 install --update nni, then the version of nni update to 2.2 but nnictl still 2.1. Thus, after I run an experiment from python, the logDir still leaves blank. Could you tell me how to fix this?

@Roy-Kid Hello, this may due to pip3 and sudo pip3 called pip3 in different locations. You could try python3 -m pip uninstall nni and make sure you have uninstall nni, then python3 -m pip install nni. Also, you may need sudo pip3 uninstall nni to uninstall the nni installed by sudo pip3.
By the way, why you use sudo?

@J-shang Thanks! I fix it. Using sudo is a very bad habit and I will also fix it in the future. Thanks again for your kindly help!


cherry-pickfix the exchange not skip offset rows (#42190)

cherry-pick from master (#42190)

run buildall


Merge multiple nodes returned by XPath

A pull request following our exchange:  https://github.com/adbar/trafilatura/issues/4#issuecomment-1898530601
The goal is to extract the content scattered in several  nodes.
Before :
trafilatura recall
{'true positives': 2035, 'false positives': 231, 'true negatives': 2019, 'false negatives': 201, 'time': 10.339057922363281}
After :
trafilatura recall
{'true positives': 2032, 'false positives': 253, 'true negatives': 1997, 'false negatives': 204, 'time': 10.399115324020386}
In my search for differences, I noticed that there were potential problems with the document tests.
For example, in the document bmjv.de.konsum.html, there is "Transparenz bei Preisanpassungen" in the "without" checks, which is found in several spots in the HTML, including in the correctly extracted content. It therefore mistakenly triggers a false positive. I wanted to make this feedback on it before continuing to check the differences in the tests due to the committed changes.

I also disabled readabilipy in tests because I couldn't get it to work, and fixed a deserialization problem in run_resiliparse.

Hi @hugoobauer, thanks for the PR and your feedback.
You're welcome to try out the evaluation script and make changes. The same goes for the data, your example is telling, at least in the case (and any others you can find) the text segment should be replaced by another.
If I understand your results correctly your modification degrades accuracy by adding false positives? Even in favor_recall mode?

Yes, the change adds false positives because some web pages have multiple  nodes, used for related content like article recommendations.
The changes only have an impact when favor_recall=True due to the added condition.

Then we probably need to think twice about the change because it doesn't bring much on the evaluation dataset. Maybe another heuristic is needed, or we could expose your changes to the end user through an additional parameter.
It would be nice if you'd separate the changes to the evaluation from the ongoing work. If you open another pull request focusing only on the evaluation I can merge it sooner and we can continue looking for a solution.

Sure I can create 2 separated branches.
What about readabilipy that I disabled?
For the original problem, it's tricky because there are more websites that are well implemented than websites with "broken" architecture. I've done a few manual checks, and it fixes a few extractions, but in most cases it takes article suggestions.
Some heuristics ideas :

minimum length check for each node
an algorithm based on different criteria like link density / text length. Small texts leading to other articles would therefore be excluded.
What do you think ?

I've just tested the first idea by adding a minimum length for each node to avoid retrieving article suggestions, and the score is better.
Before any changes:
{'true positives': 2035, 'false positives': 231, 'true negatives': 2019, 'false negatives': 201, 'time': 11.863584518432617}

First suggestion :
{'true positives': 2032, 'false positives': 253, 'true negatives': 1997, 'false negatives': 204, 'time': 10.399115324020386}

-> Now:
{'true positives': 2011, 'false positives': 232, 'true negatives': 2018, 'false negatives': 225, 'time': 11.904361009597778}

The "true positives" is lower, probably because now it skips nodes with a length < 250 (MIN_EXTRACTED_SIZE), so it misses some texts. But now, false positives and true negatives are closer to the initial value.
I'll be on leave starting tomorrow for a week, I'll pick this up when I get back ;)

Yes, just create another branch, you can comment out the readabilipy function. I'll test it and see if I can make it work, if not we'll remove it.
The length check is a good idea, the rationale would be "if there is much more text to be found in further <article> tags than in the first one, take all <article> tags, if not (teasers) only take the first one".
The tests are now failing but it's not a problem at this stage, feel free to work on it later on, no hurry.

@hugoobauer Are you still working on it or should I close the PR for now?

Hi @adbar, sorry I'm too busy with work right now, I don't have time to work on it. You can close it for now, hopefully I'll be able to work on it later.


Change the default scan directory for the Ubuntu package

When installed through the .deb package, which most Ubuntu and Ubuntu derivatives users do, Discord is installed in /usr/share, instead of in /opt like in the Arch package. Changing the default scan directory for the package distributed at the ppa would be a nice tweak to have out-of-the-box, though it isn't anything mind-bogging. Great script, btw

I could change the scan directory for the PPA, but is it a good idea for the script on the PPA to behave differently than the one here?

I thought of a way to avoid having differences between the packages.
Debian and its derivatives, including Ubuntu and its own derivatives, have /etc/debian_version and/or /etc/debian_release. We could check whether they exist and change the scan location to /usr/share if they do.

@bb010g Should we implement this? What do you think?

This issue was closed, and it seems some code was added to attempt this but mine still doesn't detect my installation

pika@pika-mint /usr/local/bin $ betterdiscordctl -f PTB
ERROR: Discord installation not found.
pika@pika-mint /usr/local/bin $ betterdiscordctl -s /usr/share -f PTB
Discord: /usr/share/discord-ptb
Modules: /home/pika/.config/discordptb/0.0.13/modules
Core patched: yes
Index modified: yes
Linked core directory: /home/pika/.local/share/betterdiscordctl/bd/0
Linked core repository: https://github.com/rauenzi/BetterDiscordApp
pika@pika-mint /usr/local/bin $ betterdiscordctl -V
betterdiscordctl 1.5.0
pika@pika-mint /usr/local/bin $

Right, looks like it doesn't work properly after all...

@piks Please try the latest master.

`pika@pika-mint ~/bot/nodev3 $ betterdiscordctl --version
betterdiscordctl 1.6.0
pika@pika-mint ~/bot/nodev3 $ betterdiscordctl status
ERROR: Discord installation not found.
pika@pika-mint ~/bot/nodev3 $ betterdiscordctl status -f PTB
ERROR: Discord installation not found.
pika@pika-mint ~/bot/nodev3 $ betterdiscordctl status -f PTB -s /usr/share
Discord: /usr/share/discord-ptb
Modules: /home/pika/.config/discordptb/0.0.15/modules
Index modified: no
Linked injector directory: no
Linked injector repository: no
`

Well, we'll fix it eventually.


HEAvy SHift FInger

I'm glad I'm not the only one who does this in documentation. There is a small typo on the first line:
Runtime I**D**entifier

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

ID: 009616d0-6c93-a2de-82fe-4f7168817f18
Version Independent ID: 4c2c5549-0151-516d-91d0-9b017c74e787
Content: .NET Core Runtime IDentifier (RID) catalog
Content Source: docs/core/rid-catalog.md
Product: dotnet-core
GitHub Login: @tdykstra
Microsoft Alias: dotnetcontent

Thanks for reporting that!


[Backport release-24.05] python311Packages.k5test: works on darwin

Description of changes
Backport a fix from PR #316773
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Please use cherrypick -x next time to reference the original commit.

TIL, thank you ❤