vmq_bridge does not accept hostnames, only IPs

In vernemq.conf, bridge.ssl.br0 or bridge.tcp.br0 accepts a host:port map to connect to a bridge. Unfortunately, it appears this field accepts an IP only instead of a hostname. The following error is logged.

16:41:14.955 [error] Error generating configuration in phase transform_datatypes
16:41:14.955 [error] Error transforming datatype for: bridge.ssl.br0
16:41:14.955 [error] "rabbit:1883" cannot be converted to a(n) IP

As you can see already, this is especially a problem in load-balanced environments or (even worse) when using docker networking.

Hi @drf, thanks, yes that's true. The cuttlefish (config lib) datatype is currently an IP/Port combo.
@dergraf is there some way out of this, or some trick?

@ioolkos , I had a quick look at cuttlefish and they don't have any datatype for a hostname+port combination. I think the only sensible solution might be converting the datatype from "ip" to "string", and maybe check during the plugin startup if it matches a hostname/ip:port with a regexp. Don't see many other ways out of this tbh

This should be a string, makes more sense.

@dergraf Will be on it tomorrow then! :)

Ok, I admit my limited knowledge of Erlang won't get me past changing the schema :/ so if anybody else could pick this up, it would be awesome.

Nevermind, I should have made it.


How to disable posthog for send anonymous data to external domain

System Info
i use the lasted version and i see that there are many request to  eu.i.posthog.com, it is not legal for user .
Can you disable it by default?
Information

[ ] Docker
[ ] The CLI directly via pip

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
start new emb model
Expected behavior
disable send data to posthog.com

@AlexBlack2202 https://michaelfeil.eu/infinity/0.0.64/telemetry
You can disable tracking like the following:
set
export DO_NOT_TRACK="1"
infinity specific setting
export INFINITY_ANONYMOUS_USAGE_STATS="0"
Is similar to e.g. how other projects collect stats:

https://docs.vllm.ai/en/latest/serving/usage_stats.html#usage-stats-collection
https://docs.ray.io/en/latest/cluster/usage-stats.html

Infinity collects currently info on which:

GPU card is used, helps to know if e.g. flash-attn build would be useful / worth the effort, or not worth it because most card are still
devices: is mps or neuron used often
CLI args, to deprecate old ones or less popular ones such as onnx/tensorrt gpu + optimum or ctranslate2


Bump version to 1.16.0

@Charles-Gagnon did we decide whether to vbump the shipped extensions now, or to wait until needed next time?

I wanted to actually discuss that. We never came to a conclusion I believe - but I think we should start doing that.
(and for this one we'd vBump all the extensions since currently they're all set to their current released versions)


[connectivity_plus] issues from Flutter repository

Todo

[ ] https://github.com/flutter/flutter/issues/69159
[ ] https://github.com/flutter/flutter/issues/64454
[ ] https://github.com/flutter/flutter/issues/59417
[ ] https://github.com/flutter/flutter/issues/54460
[ ] https://github.com/flutter/flutter/issues/51529
[ ] https://github.com/flutter/flutter/issues/49291
[ ] https://github.com/flutter/flutter/issues/44580
[ ] https://github.com/flutter/flutter/issues/43488
[ ] https://github.com/flutter/flutter/issues/41713
[ ] https://github.com/flutter/flutter/issues/41712
[ ] https://github.com/flutter/flutter/issues/39842
[ ] https://github.com/flutter/flutter/issues/37618
[ ] https://github.com/flutter/flutter/issues/35802
[ ] https://github.com/flutter/flutter/issues/30952
[ ] https://github.com/flutter/flutter/issues/20980
[ ] https://github.com/flutter/flutter/issues/12446

Link to all issues

Thank you very much sir! that is helpful

@mhadaily  what channel should I be on? Getting version solving failed while doing  packages get
also isn't there any script for pulling dependencies? Like updating-packages?

@mhadaily  what channel should I be on? Getting version solving failed while doing  packages get
also isn't there any script for pulling dependencies? Like updating-packages?

have you followed this https://github.com/fluttercommunity/plus_plugins/blob/main/CONTRIBUTING.md?
we use Melos and you can simply use that to scaffold your local repo.
We use dev channel @jpnurmi or @miquelbeltran  can correct me here.

have you followed this https://github.com/fluttercommunity/plus_plugins/blob/main/CONTRIBUTING.md?
we use Melos and you can simply use that to scaffold your local repo.
We use dev channel @jpnurmi or @miquelbeltran  can correct me here.

@mhadaily , sorry about that, got melos, hadn't seen bootstrap. Bootstrapped now 👍🏻.
and using the dev channel.
Thanks

@mhadaily , sorry about that, got melos, hadn't seen bootstrap. Bootstrapped now 👍🏻.
and using the dev channel.
Thanks

Nope, we use stable, but will be switching to beta for the null safety migration.

Nope, we use stable, but will be switching to beta for the null safety migration.

Oh cool!, I'm back on beta, had problems with dev.

Oh cool!, I'm back on beta, had problems with dev.


Substitution replace '/'

Hi. The name of the tag is 'dev/0.0.1'. How to use "Substitution" to replace '/' with '-'?
I need from 'dev/0.0.1' to 'dev-0.0.1'. I tried ${DRONE_TAG///-/} but it doesn't work.
P.S. I wrote in the gitter I didn't get the answer

the substitution syntax is ${stringZ/\//-}
there is an example in the unit tests for this exact scenario
https://github.com/drone/envsubst/blob/master/eval_test.go#L172
going forward please use https://gitter.im/drone/drone for questions. Even if you do not get an initial response you should re-ask the question there.


PNG photo 8 bitcolor someting wrong

maybe it should be：
#elif LV_COLOR_DEPTH == 8
lv_color32_t * img_argb = (lv_color32_t*)img;
lv_color_t c;
uint32_t i;
for(i = 0; i < px_cnt; i++) {
c = lv_color_make(img_argb[i].ch.blue, img_argb[i].ch.green, img_argb[i].ch.red);
img[i2 + 1] = img_argb[i].ch.alpha;
img[i2 + 0] = c.full;
}

I‘m green hand， I found that 8-bit PNG can be displayed in this way, but I don't know what risks there are, so I hope you can update this PNG library ，thank you so much

Thanks, I fixed it here as you suggested: https://github.com/lvgl/lv_lib_png/commit/2bb254cbe545568c3186138cd773d7413b0d3cc5


Create MIGRATION_GUIDE.md

UPDATE: verison--》version

It may be better to submit this pr to the jwt-go repo, and then we will update the vendor in edgemesh repo :)


Clearing terminals after the key generation process

In section 4.2, right after generating the private keys, the users are asked to clear the terminals (step 2. d) ) and then proceed with transferring the cold storage address via QR.
I'd suggest this instruction is changed to "close terminal  & open a new one" or perhaps "close terminal" and then the final terminal is opened when the shutdown procedure takes place.
The reason being that by using the scroll or resizing the terminal one can still see the previous content and in particular the output of the withdrawal procedure. That is, clear does not really clear the terminal but just shows a "clean" slate.
This change would reduce the chance of errors where someone mistakenly scrolls up or resizes the terminal while working with the phone and reading the QR codes.

ACK

The same suggestion applies to section 5.2 instruction 4 d) where the user generates the signed transaction and is again using the mobile phone's QR reader.


AA0198 should also observe procedure parameters

Title
AA0198 should also observe procedure parameters
Description
CodeCop Rule AA0198 helps us to not use identical names for local and global variables. But currently it only observe global and local variables and not the paramters of an procedure.
Reason for the rule
If parameters have the same name as global variables, this can lead to the same problems as if local and global variables have the same name.
Bad code sample
Example of what bad code the rule should catch:
codeunit 50100 MyCodeunit
{
    procedure MyProcedure(VarName: Boolean)
    begin
    end;

    var
        VarName: Boolean;
}

Good code sample
Example of what code should look like:
codeunit 50100 MyCodeunit
{
    procedure MyProcedure(VarName: Boolean)
    begin
    end;

    var
        AnotherVarName: Boolean;
}

Seems to be fixed in runtime 9.2 by the new AA0244 rule

AA0244 also catches event publisher arguments though, which IMO aren't helpful to diagnose, as since there cannot be a body of the publisher, we can't possibly get confused and use the wrong local vs global...!

AA0244 also catches event publisher arguments though, which IMO aren't helpful to diagnose, as since there cannot be a body of the publisher, we can't possibly get confused and use the wrong local vs global...!

We are also running into this. For example the following event in a page:

The only way to solve this is obsolete the event and create a new one...

=> https://github.com/microsoft/AL/issues/7081

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 42332 and VS Code Extension Version 10.0.640052.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://freddysblog.com/2020/06/25/working-with-artifacts/

@JesperSchulz I hope that this will be downgraded into AL Language 9.2.x as well ...?

Yes, it releases with 9.2.639414 as well.


feat(excludedExpressions): typescriptMutator - add an option to exclude mutations by code expressions

Add the config option excludedExpressions (string array) to the mutator option, to support filtering out code blocks that include specific code expressions.
stryker.conf.js example:
mutator: {
  name: 'typescript',
  excludedExpressions: [
    'logger.debug',
    'LoggerFactory.',
    '.propTypes = '
  ]
}

This option can help improve performance and reduce reports noise by allowing more control over the generated mutations.
Related issues: #1470, #1653, #1472
Need more work on:

reporting the excluded mutations
Supporting excludedExpressions for javascript mutator

That looks pretty good! Good job <3

This can handle only one line sub string? What about regexp instead?

@Djaler it's both a good and bad idea of using regexps. + It would make it easier to look for things you want to exclude. - Regexps are super slow, so imagine running regexp hundreds/thousands of times.

We want to introduce a parser API to support an easy and safe way to make the exclusions. This issue will lay the groundwork for it: #1893. Before this is done, we will not support this option.
We will keep your work here in mind as a reference ♥


One of the virus scaner( MaxSecure) is reporting Pygments as Trojan.Malware.121218.susgen

We are installing Pygments as a dependent package for Pyvcloud but one of the virus scanners reported it as a Trojan.Malware.121218.susgen.
We are scanning the package using [www.virustotal.com] and one of them reports this package as Trojan.

me too.. can you guys review why this code is complaining it as a Trojan Malware


[ODS-4234] Add postman tests for EdOrg types added by an Extension

I added postman tests for EdOrg types added by an Extension
I also added disabled postman scripts for ODS-4637 which is used as manual run in future

@blmeyers - Please review it again . Thank you !


Expose pagination limits

Expose constants for pagination limits (size 200 and offset 800)
Add integration tests that ensure those values are up to date
Finally allow schema-less client (using proxies)

What has just happened? This was a different branch and I merged base one but not this one...


Question:  How can I ensure "Nothing to be done" on a fresh clone of the repo without needing to issue "snakemake --forceall --touch"

Is your feature request related to a problem? Please describe.
I'd like to have nothing to do from an initial clone/import of module without having to run "snakemake --forceall --touch"
Further, if I import a module, how can I make the rule all see that the desired output exists in the gitrepo already, and therefore has no work to be done.
I tried using workflow.current_basedir which correctly points to the results file on the git repo but snakemake complains about this being a GithubFile.
        os.path.join(workflow.current_basedir,"../results/{}/plot_objective.png".format(UNIQUE_KEY)),
TypeError in file<EMAIL_ADDRESS>line 15:
expected str, bytes or os.PathLike object, not GithubFile
File "/mnt/c/Users/grego/GOMCSolvate/workflow/Snakefile", line 12, in
File<EMAIL_ADDRESS>line 15, in
File "", line 76, in join
Example:

envvars:
    "GITHUB_TOKEN"
UNIQUE_KEY="TIP3"

module Calibrate:
    snakefile:
        # here, plain paths, URLs and the special markers for code hosting providers (see below) are possible.
        github("GregorySchwing/GOMCCalibrate", path="workflow/Snakefile", branch="main")
    config:
        "configs/calibrate.yml"

use rule * from Calibrate as Calibrate_*

# Define a new default target that collects all the targets from the dna_seq and rna_seq module.
rule all:
    input:
        rules.Calibrate_all.input,
    default_target: True

If I run "snakemake --forceall --touch" in the GOMCCalibrate workflow, there is no work to be done because GOMCCalibrate/results/ has the desired output.
In the module that is importing the GOMCCalibrate workflow however, it still states it needs to run the entire workflow.  How can I make it see the files in the results folder of the gitrepo?
Describe the solution you'd like
I have a snakemake workflow which is completed and I have  results folder with the final output.  I want to be able to include this as a module in another workflow, only to access the results folder.  I don't want to rerun the entire workflow.  If I run snakemake --forceall --touch.  It will say "nothing to be done" on the next run, but I'd like to get this behavior from the start.  I tried adding ancient tags around the
rule all:
input
but that didnt work.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
My project is a calibration of different molecules, and I'd like to only run the calibration workflow for NEW molecules which havent been calibrated.  If the results/moleculeID folder exists, I want to just use that results file.  This is why I desire this behavior.

rule all:
    input:
        OBJECTIVE_PLOT=workflow.source_path("../results/{}/plot_objective.png".format(UNIQUE_KEY)),
        FINAL_PARAMETER=workflow.source_path("../results/{}/expected_minimum.txt".format(UNIQUE_KEY)),

Similar to #1176


quartata: Blacklist hacker@

quartata requests the blacklist of the keyword<EMAIL_ADDRESS>See the Metasmoke search here

<EMAIL_ADDRESS>would be a better regex most likely but I broke MS trying to search with it.

Using my MS dump<EMAIL_ADDRESS>gets 44 TPs and 1 FP (the same one).


Check if idleWatcher exists before disabling loop

Was getting:
TypeError: Argument 1 passed to Amp\Loop::disable() must be of the type string, null given
not sure why idleWatcher was null, so perhaps there is some other issue that needs fixing, but I did notice that other parts of SocketPool do check the status of idleWatcher before passing it to Loop operations.

This looks fine to me - it's just that a null watcher was fine to be disabled in amp v1. Merging.


Add check if user has yarn.lock in cwd

There's a bit repetition, should I maybe declare the execa('npm', ['install', '--save-dev', 'xo'], {cwd: pkgCwd}) or 'npm', ['install', '--save-dev', 'xo'] as a variable and then use ...command? I wasn't sure what was the best option.
let command = {'npm', ['install', '--save-dev', 'xo']};
if (hasYarn(pkgCwd)) {
	command = {'yarn', ['add', '--dev', 'xo']};
}
return opts.skipInstall ? Promise.resolve(post) : execa(...command, {cwd: pkgCwd}).then(post);

That would look like this I think
closes #10
Todo

[ ] add test
[x] pass linting

How could this be tested, installing yarn in the test.js and checking what commands are run, or maybe just an empty yarn.lock?

It's really difficult to write decent tests for this. You would have to create a dummy workspace and then mock execa. I would suggest a manual check for now unless you really want to put the effort in it (or if Sindre wants it).

test('installs via yarn if there\'s a lockfile', async t => {
	const yarnLock = tempWrite.sync('', 'yarn.lock');
	await m({cwd: path.dirname(yarnLock)});
	// what  can be tested?
});

I'm not so sure what you mean by "a manual check for now"?
Would you mean rather testing:
test('installs via yarn if there\'s a lockfile', async t => {
	const yarnLock = tempWrite.sync('', 'yarn.lock');
	// hasYarn would be true
	// opposite would be false
});

I'm not so sure what you mean by "a manual check for now"?

Just see if it works on your system.
test('installs via yarn if there\'s a lockfile', async t => {
    const yarnLock = tempWrite.sync('', 'yarn.lock');
    await m({cwd: path.dirname(yarnLock)});
    // what  can be tested?
});

That would work if you are able to mock execa with something like proxyquire.

Could check whether the lock file changed.

Great idea, should it be changed to test if it contains xo or is this fine?

Yeah, check for xo too, just to be sure.

Test fails because Travis doesn't have yarn installed ENOENT, how can I mock that function?

Install yarn manually? https://docs.travis-ci.com/user/customizing-the-build#Customizing-the-Installation-Step

Looks good to me. Nice work @Haroenv!

Thank you @Haroenv :)

With pleasure 😄 Thanks for answering my questions


workout-tracker: 0.10.5 -> 0.11.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for workout-tracker is: A workout tracking web application for personal use
meta.homepage for workout-tracker is: https://github.com/jovandeginste/workout-tracker
meta.changelog for workout-tracker is: https://github.com/jovandeginste/workout-tracker/releases/tag/v0.11.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.11.2 in filename of file in /nix/store/nw02hqqhf1h4ydg6dhsid87i5k2qicks-workout-tracker-0.11.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
workout-tracker

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nw02hqqhf1h4ydg6dhsid87i5k2qicks-workout-tracker-0.11.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A workout-tracker https://github.com/r-ryantm/nixpkgs/archive/b9baf7d7f388b00f139305c24f9780abcb604208.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b9baf7d7f388b00f139305c24f9780abcb604208#workout-tracker

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nw02hqqhf1h4ydg6dhsid87i5k2qicks-workout-tracker-0.11.2
ls -la /nix/store/nw02hqqhf1h4ydg6dhsid87i5k2qicks-workout-tracker-0.11.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

workout-tracker

Maintainer pings
cc @bhankas for testing.

@NixOS/nixpkgs-merge-bot merge


While Instantiation, invoking chaincode error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError

I have setup hyperledger fabric v1.4.2 with 1 org 2 peer 1 orderer running natively in three different VMs. In that I am trying to implement caliper v0.3.0.
I am facing this issue while instantiating and invoking the chaincode.
error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/loan/caliper-benchmarks/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/loan/caliper-benchmarks/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._receiveStatus (/home/loan/caliper-benchmarks/node_modules/grpc/src/client.js:211:8)\n at Object.onReceiveStatus (/home/loan/caliper-benchmarks/node_modules/grpc/src/client_interceptors.js:1306:15)\n at InterceptingListener._callNext (/home/loan/caliper-benchmarks/node_modules/grpc/src/client_interceptors.js:568:42)\n at InterceptingListener.onReceiveStatus (/home/loan/caliper-benchmarks/node_modules/grpc/src/client_interceptors.js:618:8)\n at /home/loan/caliper-benchmarks/node_modules/grpc/src/client_interceptors.js:1123:18"
2020.04.29-12:22:12.094 error [caliper] [caliper-engine] Error while performing "install" step: Error: Orderer error for instantiating WarehouseCreatepool1CC@v0 in composerchannelrest: SERVICE_UNAVAILABLE
2020.04.29-12:22:12.094 info [caliper] [caliper-engine] Executed "install" step in 0.473 seconds
2020.04.29-12:22:12.094 info [caliper] [caliper-engine] Skipping end command due to benchmark flow conditioning
2020.04.29-12:22:12.094 error [caliper] [cli-launch-master] Benchmark failed with error code 5
Any one can you please suggest how to resolve this?

That's an error being reported by the fabric sdk, indicating that the peer addresses are incorrect, or something is blocking/preventing connection.
I would start by looking at the network configuration file (which is essentially a common connection profile). The Fabric docs might be able to assist further with distributed networks.
Alternatively, you may find it easier to manually install/instantiate the chaincode, and use the fabric-gateway mode of operation that permits discovery

Azure_fabric-go.txt

@ManjuVenkatachalam

I would double-check whether networking is set up correctly between the nodes. For example, the right ports are open in the VMs (like 7050 for the ordered VM).
I would check whether the network correctly starts up before using Caliper. For example, the Fabric node logs indicate successful communication between the nodes.
Your network configuration file seems to be correct. The SERVICE_UNAVAILABLE error usually means a networking problem, or explicit rejection by the target service (in which case check the Fabric side logs).

I have face this same problem .
It is not network problem,I have checkout fabric network and it is right,eg:port ,images.
so ,how solve it?

@csquan UNAVAILABLE errors can mean multiple types of connection errors: wrong endpoint set, service is not ready to serve requests yet, etc. We'll need more info about your deployment (where are the nodes, how does the network look like, etc).

Hi @csquan,
In the network config file, in orderer section, i have added the maximum send msg length in grpc options,
"grpc-max-send-message-length: -1"
Now its working.

Hi,
I had try edit net config as you said,after edit my net config is:
orderers:
  orderer.example.com:
    url: grpcs://localhost:7050
    # these are standard properties defined by the gRPC library
    # they will be passed in as-is to gRPC client constructor
    grpcOptions:
      ssl-target-name-override: orderer.example.com
      grpc-max-send-message-length: -1
    tlsCACerts:
      path: artifacts/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt
but it still not work,errors:
2020-07-29 08:39:13.999] [ERROR] Create-Channel - Error: SERVICE_UNAVAILABLE
    at ClientDuplexStream.<anonymous> (/home/csquan/work/fabric-samples/balance-transfer/node_modules/fabric-client/lib/Orderer.js:185:21)
    at ClientDuplexStream.emit (events.js:315:20)
    at ClientDuplexStream._emitStatusIfDone (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client.js:234:12)
    at ClientDuplexStream._receiveStatus (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client.js:211:8)
    at Object.onReceiveStatus (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client_interceptors.js:1311:15)
    at InterceptingListener._callNext (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client_interceptors.js:568:42)
    at InterceptingListener.onReceiveStatus (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client_interceptors.js:618:8)
------------------ 原始邮件 ------------------
发件人:                                                                                "hyperledger/caliper"<EMAIL_ADDRESS>发送时间: 2020年7月28日(星期二) 晚上8:10
收件人<EMAIL_ADDRESS>抄送: "mars"<314588595<EMAIL_ADDRESS>主题: Re: [hyperledger/caliper] While Instantiation, invoking chaincode error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError  (#822)
Hi @csquan,
In the network config file, in orderer section, i have added the maximum send msg length in grpc options,
"grpc-max-send-message-length: -1"
Now its working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
I had follow fabric-samples/balance-transfer,just run run*.sh to start network and test*.sh to run test,
then test errors when create channel:
2020-07-29 08:39:13.999] [ERROR] Create-Channel - Error: SERVICE_UNAVAILABLE
    at ClientDuplexStream.<anonymous> (/home/csquan/work/fabric-samples/balance-transfer/node_modules/fabric-client/lib/Orderer.js:185:21)
    at ClientDuplexStream.emit (events.js:315:20)
    at ClientDuplexStream._emitStatusIfDone (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client.js:234:12)
    at ClientDuplexStream._receiveStatus (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client.js:211:8)
    at Object.onReceiveStatus (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client_interceptors.js:1311:15)
    at InterceptingListener._callNext (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client_interceptors.js:568:42)
    at InterceptingListener.onReceiveStatus (/home/csquan/work/fabric-samples/balance-transfer/node_modules/grpc/src/client_interceptors.js:618:8)
------------------ 原始邮件 ------------------
发件人:                                                                                "hyperledger/caliper"<EMAIL_ADDRESS>发送时间: 2020年7月28日(星期二) 晚上7:58
收件人<EMAIL_ADDRESS>抄送: "mars"<314588595<EMAIL_ADDRESS>主题: Re: [hyperledger/caliper] While Instantiation, invoking chaincode error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError  (#822)
@csquan UNAVAILABLE errors can mean multiple types of connection errors: wrong endpoint set, service is not ready to serve requests yet, etc. We'll need more info about your deployment (where are the nodes, how does the network look like, etc).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
 I had solve it but not modify net config.
 first,make sure node version is 8.15.0 which I found some said in google.
I had install node version Node.js v8.4.0 or higher as https://github.com/hyperledger/fabric-samples/tree/v1.4.1/balance-transfer said ,but it does not work ,and errors was confuse me a lot.fabric official does not test it well .
secondly,instaintaly cc in testApp.sh at first time always failed.Try it again in manually will success.
last,modify 3000 to 6000 in app/invoke*.js where eventHub timeout set.
or it always failed when invoke.
so fabric samples confuse me a lot.
does people in IBM not test well?
------------------ 原始邮件 ------------------
发件人:                                                                                "hyperledger/caliper"<EMAIL_ADDRESS>发送时间: 2020年7月28日(星期二) 晚上8:10
收件人<EMAIL_ADDRESS>抄送: "mars"<314588595<EMAIL_ADDRESS>主题: Re: [hyperledger/caliper] While Instantiation, invoking chaincode error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError  (#822)
Hi @csquan,
In the network config file, in orderer section, i have added the maximum send msg length in grpc options,
"grpc-max-send-message-length: -1"
Now its working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
 I had solve it but not modify net config.
 first,make sure node version is 8.15.0 which I found some said in google.
I had install node version Node.js v8.4.0 or higher as https://github.com/hyperledger/fabric-samples/tree/v1.4.1/balance-transfer said ,but it does not work ,and errors was confuse me a lot.fabric official does not test it well .
secondly,instaintaly cc in testApp.sh at first time always failed.Try it again in manually will success.
last,modify 3000 to 6000 in app/invoke*.js where eventHub timeout set.
or it always failed when invoke.
so fabric samples confuse me a lot.
does people in IBM not test well?
------------------ 原始邮件 ------------------
发件人:                                                                                "hyperledger/caliper"<EMAIL_ADDRESS>发送时间: 2020年7月28日(星期二) 晚上7:58
收件人<EMAIL_ADDRESS>抄送: "mars"<314588595<EMAIL_ADDRESS>主题: Re: [hyperledger/caliper] While Instantiation, invoking chaincode error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError  (#822)
@csquan UNAVAILABLE errors can mean multiple types of connection errors: wrong endpoint set, service is not ready to serve requests yet, etc. We'll need more info about your deployment (where are the nodes, how does the network look like, etc).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@csquan Seems like ran into errors with an example from the fabric-samples repo, but we're glad to read you solved your problem.
(On a side note, Fabric is an enterprise-grade distributed system, which usually means it's not trivial to setup. Which also means it's not trivial to provide simple examples for it. The Caliper team also struggles with providing simple and easy-to-use examples. That's why community feedback is important, because the developers see the project differently than a first-time user.)


Selecting from unsupported types in a JDBC connection results in error

When selecting from a JDBC connection (mariadb in my case) I cannot select from tables which has an unsupported type.
I cannot cast, because it wont let me select.
In Trino you have support for unsupported types: https://trino.io/docs/current/connector/mariadb.html#type-mapping-configuration-properties, I would expect something similar in this case, or at least a fallback to string.
Steps to reproduce the behavior (Required)
In mariadb
CREATE TABLE `database.splits` (
  `guid` char(36) NOT NULL,
  `amount` decimal(50,6) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci

INSERT INTO splits (guid, amount)
VALUES ('string', 50);

in Starrocks
create external CATALOG database
properties (
    "type"="jdbc",
    "user"="user",
    "password"="pw",
    "jdbc_uri"="url",
    "driver_url"="url/mysql-connector-j-8.0.32.jar",
    "driver_class"="com.mysql.jdbc.Driver"
);

Expected behavior (Required)
select guid from database.splits; -- should work
select CAST(amount AS DECIMAL64(10,2)) from database.splits; -- should work
Real behavior (Required)
select * from database.splits; -- error DECIMAL's precision should range from 1 to 38
select guid from database.splits; -- error DECIMAL's precision should range from 1 to 38
select amount from database.splits; -- error DECIMAL's precision should range from 1 to 38
select CAST(amount AS DECIMAL64(10,2)) from database.splits; -- error DECIMAL's precision should range from 1 to 38

StarRocks version (Required)
3.3.0-rc01-3b8cb0c

Could you try to set  session variable

set large_decimal_underlying_type = "decimal"

by default, if decimal type specifier is out of range, we will report error.  But if you accept precision lost, you can set the above session variable.
check it out https://docs.starrocks.io/releasenotes/release-3.2/#others

Added the session variable large_decimal_underlying_type = "panic"|"double"|"decimal" to set the rules to deal with DECIMAL type overflow. panic indicates returning an error immediately, double indicates converting the data to DOUBLE type, and decimal indicates converting the data to DECIMAL(38,s).

Awesome, works:
set large_decimal_underlying_type = 'decimal';
select * from database.splits limit 50;


Help needed

I have been assigned a task under a statement :- " Calibration of mm wave sensor for accurate data reading " . I am using AWR1843 mm wave sensor and I have captured the raw data with mm wave demo visualizer and used your code to convert the DAT file to CSV file . Do you have any code which will help in calibration of this raw data ? As I am unable to find ant repositories for this . If you have any code or have any idea how to do this task would be great help !

Sorry, unfortunately I am not able to help you with your task.


Home page edits

[x] (1) In the intro, let's say "In fiscal year 2021"... We don't need to say that every time, but in intro parts, let's make it clear. Otherwise, it's wrong and people might wonder: well, there are 2 months left...?

[x] (2) Intro numbers should be:

29,793 donors

54,543 gifts

[x] (3) Investment numbers should be, in order:

$53M

$127M

$28M

$201M

[x] (4) In fourth investment item, "health care" should be two words.

[x] (5) UCCS story blurb should not have commas around Johnathan's name. If that makes it too long a construction, you could make it: "As a first-generation college senior, Johnathan Gachuzo Gonzalez is lifting up..."

[x] (6) CU Denver story blurb should not have commas around Aleaza Goldberg.

[x] (7) First financials item:

Add $ before 371.2 number

Add "fiscal" before "last" so that it's "$371.2 million given last fiscal year"

[x] (8) Average gift size is $6,806.

[x] (9) The graph above the "See Our Financials" button attributes something to donors that is not really their contribution: the ROI and endowment. I think we can consider a couple options: (1) remove those two things and just say: "Despite a challenging year, donors like you advanced CU’s mission with support from all corners of the CU community." Or (2) rephrase it so that it doesn't attribute those things to donors.

I have made these changes and created a pull request. @alexfinnarn can you reply here when the changes are merged so Tim can validate? Thank you!

That pull request has been merged.

@tskillern -- I changed this to two sentences with periods to break it up, but I don't think it looks as nice/clean as
Philanthropy is transformative
Fueling passion, motivation and joy
It's not grammatically correct, but the bolded text reads pretty clear imo. Can we revert to the previous version? A dash might look odd here too

I think if there’s a hard return and “fueling” is capped, that’d work.
From: Feissit @.>
Date: Tuesday, November 2, 2021 at 2:04 PM
To: CUCentralAdvancement/essential-cu @.>
Cc: Tim Skillern @.>, Mention @.>
Subject: Re: [CUCentralAdvancement/essential-cu] Home page edits (Issue #471)
@tskillernhttps://github.com/tskillern -- I changed this to two sentences with periods to break it up, but I don't think it looks as nice/clean as
Philanthropy is transformative
Fueling passion, motivation and joy
It's not grammatically correct, but the bolded text reads pretty clear imo. Can we revert to the previous version? A dash might look odd here too
[Screen Shot 2021-11-02 at 2 02 20 PM]https://user-images.githubusercontent.com/91230278/139943891-e435bef6-6b33-4089-bef2-504dc1519b6c.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/CUCentralAdvancement/essential-cu/issues/471#issuecomment-958125515, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQWLOG7NZP4LZOY2JYDJ2TTUKBG5NANCNFSM5HGX4Z4A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

All home page content edits are confirmed and good to go. @alexfinnarn @Feissit


enable acceptance tests

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

We got some issues on centos machines. This needs to be investigated.

Hey @bastelfreak, I think I might have discovered and fixed the issue you were referring to. I pulled down your code, and added it to my pull request #424


Detecting keyboard modifiers (Shift, Alt, Ctrl, etc)

I can't find out how to detect keyboard modifier clicks, if there isn't a way to do it, perhaps it could be implemented since its a very common feature required in game design.
I would have expected the modifiers to be returned in the Keyboard.Event
Cheers!

Right now PlayN does not report the up/down state of the modifier keys. You can listen for, for example, a Key pressed event with Key.SHIFT and note that the shift key is down, and then listen for the Key.SHIFT released event and note that it's no longer down.


Decouple asset loading processes from the graphics submodule.

We currently integrate many of the lower-level asset processing routines in the graphics submodule, rather than separating this into its own portion of the codebase (e.g. the engine module).

To add to the description; we currently handle asset loading via assimp, which ideally wouldn't have any required linkage with the graphics submodule. Longer term, this would make for separating of graphics into a runtime module much easier.


Small README.md improvements

Since glide dependency management was replaced by "go dep" [1], we need
to update README.md accordingly.
Also this patch improves the formatting of the file by following the
rules described in [2].
The rules that were violated:

MD022 - Headings should be surrounded by blank lines;
MD032 - Lists should be surrounded by blank lines;
MD034 - Bare URL used.

[1] https://github.com/kubernetes/cloud-provider-openstack/pull/86
[2] https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md

/lgtm

/approve

/test cloud-provider-openstack-acceptance-test-flexvolume-cinder


Python/Bash repository detected as Roff

Preliminary Steps
Please confirm you have...

[x] reviewed How Linguist Works,
[x] reviewed the Troubleshooting docs,
[x] considered implementing an override,
[x] verified an issue has not already been logged for your issue (linguist issues).

Problem Description
I have a repository that has more than 50% of python and 40% bash, but the language is displayed as Roff(98%)
URL of the affected repository:
https://github.com/Jyouhou/ICDAR2019-ArT-Recognition-Alchemy
Last modified on:

Expected language:
Python
Detected language:
Roff

Have you read this https://github.com/github/linguist#overrides?

@yansheng836 He probably has, because clicking on Roff in the language-bar brings up an empty search result list. Given the repository's files are only recent, I'd say this isn't a typical caching issue with GitHub.
/cc @lildude

Nope. The reason this is happening is you have one really big file at https://github.com/Jyouhou/ICDAR2019-ArT-Recognition-Alchemy/blob/master/Source/datasets/lexicon/iiit5k.1k which is over 19mb and accounts for over 98% of the total size of your entire repo. You'll need to use an override to ignore this file.

So that explains it.
I found another strange thing: I  am using a chrome extension(github-repo-size) to show the repo size which is shows 3.69MB,but that file is 19.1MB.
the repo size:

a one file of the repo:

I found another strange thing: I am using a chrome extension(github-repo-size) to show the repo size which is shows 3.69MB,but that file is 19.1MB.

Your repository is 27MB in size, so you might want to open an issue on the repository for that extension.

@pchaigno Ok, thank you.

Thank you all so much! This seems to be the reason for the misclassification.
I added a .gitattributes file to the root of my repo:
./Source/datasets/lexicon/* linguist-language=Python
But the stats did not change.

You'll need to modify one of the affected files as implementing an override alone is insufficient to initiate a reanalysis.

I added all the non-python and non-shell stuff to the gitattributes. Now it displays python.
Thank you all!


Small contribution!

Added /dev directory which ships with <IP_ADDRESS>
README double word

Thanks man 🐄

No problem :rabbit:


Azure VM with Azure SQL deployment fails

Location: West Europe
Size: Standard_D2_v3
Admin Pass: Complex password chosen...
Image: microsoft/bcsandbox:gb
SQL: AzureSQL
Win Upate: No
Lets Encrypt: Yes
The deployment fails with the following message -
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"BadRequest","message":"{\r\n "error": {\r\n "code": "InvalidTemplate",\r\n "message": "Unable to process template language expressions for resource '/subscriptions/MASKED/resourceGroups/TSGTESTD365BC/providers/Microsoft.Sql/servers/sqltsgtestd365bc/databases/App/extensions/Import' at line '1' and column '7615'. 'The language expression property array index '1' is out of bounds.'"\r\n }\r\n}"},{"code":"BadRequest","message":"{\r\n "error": {\r\n "code": "InvalidTemplate",\r\n "message": "Unable to process template language expressions for resource '/subscriptions/MASKED/resourceGroups/TSGTESTD365BC/providers/Microsoft.Sql/servers/sqltsgtestd365bc/databases/Tenant/extensions/Import' at line '1' and column '8657'. 'The language expression property array index '1' is out of bounds.'"\r\n }\r\n}"}]}

The VM has spun up ok but the installation of the D365 BC element is failing - from View Installation Status
12:12:13 PM Login failed for user 'sqladmin'.

Did you specify an app bacpac uri and a tenant bacpac uri?

No.

Thanks. I missed that. I'll close this issue and build a new instance.


Adding more detail to the Handshake

Hi :)
I wanted to ask if there is a way to define more specific outcomes for a Handshake - specifying whether the handshake was denied by the server or simply terminated by the client?  We chatted about the '1006' error..
I also wondered if there is a way to have the handshake as a callback - so you can base the rest of your communication on the status of that handshake?
I appreciate there are many reasons to have an implied handshake and simply say 'on connection' but from a logically approach, acknowledgement of all parties wanting to 'talk' is a key step.
Any thoughts would be happily received :)
Thanks.

@pandafinity Ok, I looked into this more deeply.
MIDDLEWARE_HANDSHAKE middleware functions are invoked by the WS module, so it occurs at the WebSocket protocol level. Basically, this is outside of the control of SC.
It looks like the WebSocket procotol does not offer a way to capture the reason why the connection handshake was rejected. See this issue (this is for a different project) https://github.com/theturtle32/WebSocket-Node/issues/46.
That said, it turns out that the 1006 status code is not so useless. If you intentionally abort the connection like this:
var socket = socketCluster.connect(...);
socket.disconnect();

The 'connectAbort' event on the client will pass error code 1000 - But if the connection abort was caused because of a blocked handshake, then the error code will be 1006.
So basically 1006 means that the connection was refused - This could be either because the handshake was intentionally blocked by the server, that there was a network failure which prevented the connection from being established or that the the client was not allowed to connect because it did not meet origin requirements.
So basically there is nothing we can do about it...
You just have to try to work with the fact that there can only be two states; 1000 (intentional client-initiated abort) and 1006 (non-intentional abort).

Thanks for digging deeper, knowing the states does help.
I will try and see if I can make an async Handshake function, as I would like all my other SC communication to be done once a valid handshake has been accepted.

Note that the 'connect' event on the client will only trigger once the handshake has been accepted.

As discussed, there is a limitation of the WebSocket protocol itself, hopefully this discussion cleared up things a bit.


ext: ui class

ADD ui extension class to make session permanent only
in requests from the browser.
(blocks https://github.com/inveniosoftware/invenio-oauth2server/pull/132)
Signed-off-by: Dinos Kousidis<EMAIL_ADDRESS>

could you please add InvenioAccountsUI here?


Error: getaddrinfo ENOTFOUND eu-long.coolkit.cc eu-long.coolkit.cc:8080

Hi,
As of today I started getting these errors:
Apr 18 11:15:57 raspberrypi homebridge[574]: { Error: getaddrinfo ENOTFOUND eu-long.coolkit.cc eu-long.coolkit.cc:8080
Apr 18 11:15:57 raspberrypi homebridge[574]: at errnoException (dns.js:28:10)
Apr 18 11:15:57 raspberrypi homebridge[574]: at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:73:26)
Apr 18 11:15:57 raspberrypi homebridge[574]: code: 'ENOTFOUND',
Apr 18 11:15:57 raspberrypi homebridge[574]: errno: 'ENOTFOUND',
Apr 18 11:15:57 raspberrypi homebridge[574]: syscall: 'getaddrinfo',
Apr 18 11:15:57 raspberrypi homebridge[574]: hostname: 'eu-long.coolkit.cc',
Apr 18 11:15:57 raspberrypi homebridge[574]: host: 'eu-long.coolkit.cc',
Apr 18 11:15:57 raspberrypi homebridge[574]: port: '8080' } }
Apr 18 11:15:57 raspberrypi homebridge[574]: WebSocketClient: retry in 5000ms 1006
Apr 18 11:15:57 raspberrypi homebridge[574]: [4/18/2018, 11:15:57 AM] [eWeLink] WebSocket was closed. Reason [1006]
What is causing this?
Was something changed on the ITEAD servers?
P.S: My Authorization Bearer did not change

I'm getting the exact same thing but for the US version  Error: getaddrinfo ENOTFOUND us-long.coolkit.cc us-long.coolkit.cc:8080.
Also this morning there were a load of pop up notifications on my iPhone from the ewelink app, but they were all in Chinese :-(

Yes, I also received those notifications in Chinese
Seems that they have changed something in the ITEAD servers.
Btw, some time ago I reached out to them about Homekit and they told be that they are working on native Homekit support but they did not tell me when it will be available

Yeah, same here.  And same with the Chinese character notifications

Same here. Running a couple of Sonoffs with stock firmware through Homebridge, but this morning I had a couple of ewelink notifications in chinese on my iPhone and now none of the Sonoffs work through Homebridge (they do work with the ewelink app). Homebridge is running fine and other non-Sonoff-devices work through it. I used Charles Proxy to see if the token had changed, but it hadn't.
Logs are showing:
[2018-4-18 11:12:00] [eWeLink] WebSocket was closed. Reason [1006]
WebSocketClient: reconnecting...
WebSocketClient: error { '0':
{ Error: getaddrinfo ENOTFOUND eu-long.coolkit.cc eu-long.coolkit.cc:8080
at errnoException (dns.js:50:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'eu-long.coolkit.cc',
host: 'eu-long.coolkit.cc',
port: '8080' } }

my too

Replace eu-long.coolkit.cc  to eu-pconnect3.coolkit.cc and problem solved. :-)

Yes. :-)
Now it's working again
Thx a lot

That was the solution indeed. Thanks for your advice, how did you find out?

I sniff connections ewelink app and find this server name in dns request.

Awesome! Thank you senux1988! I replaced the US version with us-pconnect3.coolkit.cc and it's now working again.

Fantastic! Thank you!!

Great :-)
Byw, some time ago I reached out to ITEAD about Homekit compatibility and they told me that they are working on native Homekit support but they did not tell me when it will be available
Does anybody know something about this?

Fantastic! Thank you!!

Shit.. eu-pconnect3.coolkit.cc is hosted in AWS (Amazon Web Services).
It's currently blacklisted in Russia (!#)@*+_)!


[XLA:GPU][ROCm] Refactor IR emitter to cope with both NVPTX and AMDGPU for workgroup dims.

Remove EmitDeviceFunctionCall from a member function in GpuElementalIrEmitter and put inside target_util module.
Revise TargetIntrinsics in target_util module so it could contain either an LLVM intrinsic, or a custom function. This is to cope with the fact that certain operations on AMDGPU target aren't mapped to LLVM intrinsics but rather than device library functions.
Remove explicit dependency to NVVM intrinsics in IR emitters.

The sole failure in Linux GPU target is not related to changes proposed in this PR.

@thomasjoerg a gentle ping. may i understand the next steps for this PR? failures on CI don't seem to be relevant to this PR.


Feature configuration settings

Pull Request Test Coverage Report for Build 531290081

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 27.174%

Totals

Change from base Build 531077205:
0.006%

Covered Lines:
1203

Relevant Lines:
4427

💛  - Coveralls


Issue Building

Describe the bug
Unable to debug after installing
To Reproduce
Steps to reproduce the behavior:

In pubspec.yaml
dev_dependencies: tinycolor2:   git:     url: git://github.com/TinyCommunity/tinycolor2.git

In Project file

import 'package:tinycolor2/tinycolor2.dart';

Error Message

 Xcode's output: ↳     ../../../.pub-cache/git/tinycolor2-6363db3577bc0af135489928ac7f729ff47490d5/lib/src/color_extension.dart:11:3: Error: Type 'HslColor' not found.       HslColor toHsl() => TinyColor(this).toHsl();       ^^^^^^^^     Command PhaseScriptExecution failed with a nonzero exit code     note: Using new build system     note: Building targets in parallel     note: Planning build     note: Analyzing workspace     note: Constructing build description     note: Build preparation complete
Environment (please complete the following information)

Flutter version 2.2.3
iOS & Android

I viewed your fix and added to my .pub-cache. It is resolved, Cheers.


Failed to load netify identity setting on google cloud site.

- Do you want to request a feature or report a bug?
Bug
- What is the current behavior?
I deployed my application on google cloud which is using netify-cms with gatsby.  I am unable to login on admin section. I used git-gateway. when I try to login I am getting error
Failed to load settings from /.netlify/identity
On localhost it is working fine.
Thanks in advance

The /.netlify/identity endpoint is referring to Netlify's managed Identity service. It isn't available on Google Cloud. Please reach out in Netlify's community Gitter if you have other questions on this!


Update asn1 corpora

This is a transfer of openssl/openssl#19669

Ha, the reviewers aren't setup correctly on the repo.

It should have same permissions as the main source repo.

I'll fix that

Fixed up

Since this is an old corpus, I would actually like to create a new one already.


gen_part_base_yaml.cc: Added the possibility to read FAR registers

This PR add possibility to analyze FAR registers in the bitstream
Signed-off-by: Alessandro Comodi<EMAIL_ADDRESS>

Looks good to me, will wait for @kc8apf to confirm it looks good before merging.

LGTM


Changed svgr references in readme to @svgr/cli

Summary
Original intructions ask you to install svgr and run svgr command. This results in an error, svgr: command not found. Referencing issue #51, you run npx svgr. This results in another error. Key line in logs, warn deprecated<EMAIL_ADDRESS>Please install @svgr/cli, @svgr/core or @svgr/webpack advices us to then asks us to install @svgr/cli. This results in original error again.
I changed Readme to reference this, and following solution, to reduce any confusion going forward and to align with changes made (ie. depreciation to svgr package)
Test plan
Correct usage requires you to combine the last two recommendations, leading us to npx @svgr/cli which works perfectly.

OK for me, I think it is clearer for beginners.

Thank you! Great package by the way


Use Case: Represent collections in a repository with data entities by reference

As a repository manager, I want to be able to represent collections in my repository using RO-Crate so that the repository can use RO-Crate consistently.
At UTS have been working with the PARADISEC (the Pacific And Regional Archive for Digital Sources in Endangered Cultures) team on a proof of concept restructuring the storage layer as  RO-Crates housed in an OCFL repository. PARADISEC has "items" which are easily represented  as RO-Crates and "Collections" which aggregate items - we have run into a modelling issue about how to include external resources, ie the items that make a up a collection, using RO-Crate we'd be violating the 'self-contained'.
Suggested Solution: The aggregation can be done with RepositoryCollection (pcdm:Collection) with a hasMember relation and/or the with a memberOf on the item (to avoid having to update collection records as they change membership.

This is Implemented in 0.3-DRAFT aka 1.0 https://researchobject.github.io/ro-crate/0.3-DRAFT/#digital-library-and-repository-content


javax.mail/mail/1.4.5

Type: Missing
Summary:
javax.mail/mail/1.4.5
Details:
No info in package files. Meta data looks to confirm GPL 2.0 or CDDL.
Resolution:
https://repo1.maven.org/maven2/javax/mail/mail/1.4.5/mail-1.4.5.pom
Affected definitions:

mail 1.4.5

@TRQ3 It looks like this has the Classpath exception:

GPL Classpath Exception:
Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the GPL Version 2 section of the License
file that accompanied this code.

I will update the PR to include it.


Adds locks in an attempt to fix #67

Issue #, if available: #67
Description of changes: This adds a lock on the custom_exporters_table Dictionary and checks to see if it is null before moving forward.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Worth noting that I considered adding the following as well inside of the lock, as I had managed to show a stack trace where the custom_exporters_table was null:
if(custom_exporters_table == null) {
    custom_exporters_table = new Dictionary<Type, ExporterFunc>();
}

But I didn't think it should be necessary and that the null reference error I was getting was related to the threading issue corrupting the object.

Realizing this ran a ton of formatting on the file, going to force push a version that doesn't have all the formatting changes.

Fixed formatting

Hi @jaybyrrd ,
I am doing some analysis of the exception. RegisterExporter is called by JsonSegmentMarshaller() and in turn called by UdpSegmentEmitter(). This is called, technically only once during AWSXRayRecorder instance initialization which is a singleton object.
Are you using InitializeInstance()? I wonder if by any chance the AWSXRayRecorder instance is initialized twice at the same time. Can you do some trial on your side of adding lock instead to InitializeInstance or Instance. For trial you can remove the lock in this PR and try the 2 combinations.
I see this error for the first time and could not reproduce locally. This PR fixes 2 types exception but need some more understanding of the issue.

I am not calling Initialize Instance anywhere explicitly, I haven't had a chance but I can try locking the instance, but I don't think this should be the end game Dev experience.

@jaybyrrd , I meant adding lock inside Instance block i.e. at code level inside library itself. My suspect is by any chance this is causing issue, leading to multiple initialization of AWSXRayRecorder instance in non-thread safe way.

@yogiraj07 Sorry for the delay, great. Will test. I just re-prioritized my time at work to work this out this week. Will get back to you soon.

@yogiraj07 this seems to work and puts the lock in a spot that makes sure we enter that if block for the initialize from the getter only once.  Let me know if you want me to change the bounds of either lock.

Hi @jaybyrrd ,
As a sanity check, the PR resolves the issue in your environment?


CalledProcessError when updating APT when running driver = gs.Chrome()

Hi there, I've been wracking my comp all day trying get selenium to work in Colab. The driver it snags (ChromeDriver v91) is incompatible with the Chrome browser (v126), and I don't know how you've found a way around it! I've tried to meet in the middle by upgrading the driver and deprecating the browser to v114 (the highest the driver goes), but alas, cannot access the v114 version of Chrome (and maybe I don't want to?...I'm new to this!)
Very excited about this and seems like you've found a great solution that's helped a ton of people, so thank you!
Anyway, here is the error I'm getting when running
driver = gs.Chrome()
I don't get it in your sample notebook, so maybe it's a configuration thing:
Updated and upgraded APT
CalledProcessError                        Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/google_colab_selenium/colab_selenium_manager.py in update_upgrade_apt(cls)
46             with Spinner('Updating and upgrading APT', done='Updated and upgraded APT'):
---> 47                 subprocess.run(cls.update_apt, check=True)
48                 subprocess.run(cls.upgrade_apt, check=True)
4 frames
CalledProcessError: Command '['sudo', 'apt', 'update']' returned non-zero exit status 100.
The above exception was the direct cause of the following exception:
GoogleColabSeleniumError                  Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/google_colab_selenium/colab_selenium_manager.py in update_upgrade_apt(cls)
49
50         except Exception as e:
---> 51             raise GoogleColabSeleniumError('Failed to update and upgrade APT') from e
52
53         else:
GoogleColabSeleniumError: Failed to update and upgrade APT

Just seeing this, do you mind sending a Google Colab notebook recreating the issue? It seems to work in the example notebook (in the README), so the notebook that you're using may have some extra code in it that this package may not like 🤔.

I tried it in a fresh notebook last time, and it didn't work in mine, but worked in yours -- just tried it again in mine, and it's working! Also working in my grotesque mutant notebook that doubles as a graveyard for alternative ways to finagle this. I installed and reinstalled Chrome and the Driver so many times, maybe it just needed a couple days to reset. Thanks for responding!


License options: liberal and viral to choose for plugins

Copyleft and permissive

MIT license is fine. (What I see in enterprise is that GPL3 is an instant showstopper. As a result, it gets less chances of contribution.)

Xputty uses the 0BSD license and some parts use the academic free license 2.0 and/or LGPL2.0+. This shouldn't be a problem.

if the licenses conditions are met there are no problems.

But, in some of the upcoming videos I'll use the B.Widgets toolkit which is GPL3+. This should be fine for this repo with its source code files and the documentation. However, compiled binaries from this lv2tutorial repo can't be distributed under the MIT license.

I think important is the source code and documentation files can be used as reference for different projects using MIT. If they contains viral licensed code can be used as combined licenses.

Checked. MIT is fine for BMap.hpp. As this one isn't published somewhere else yet.


Segmentation app with 1 channel segmentation tensor

Hello everyone,
I'm trying to use the segmentation example with my own tflite model for segmentation. But my output is a one channel segmentation tensor.
How could I change the TfLiteTensorsToSegmentationCalculator to make it work with my model ?

https://github.com/google/mediapipe/issues/978

https://github.com/google/mediapipe/issues/978

@JulietteV is the issue resolved? Thank you.

@JulietteV is the issue resolved? Thank you.

closing due to lack of activity


PostgreSQL: database switch problem

I dont know if it's a bug or a misunderstanding of the gui.
I have a postgresql database with one table dataimport. I open dbeaver, set active the database, run a select on the table without problem. If I open a new sql editor and run the same query, I get "relation dataimport does not exist".
The new editor doesnt seem to be connected to the right database ???
dbeaver-debug.log
2017-02-24 12:26:04.051 - DBeaver 4.0.0 is starting
2017-02-24 12:26:04.062 - Install path: '/usr/share/dbeaver'
2017-02-24 12:26:04.062 - Instance path: 'file:/home/christophe/.dbeaver4/'
2017-02-24 12:26:04.063 - Memory available 75Mb/871Mb
2017-02-24 12:26:04.094 - Starting RMI server at 64462
2017-02-24 12:26:04.348 - Create display
2017-02-24 12:26:04.439 - Run workbench
2017-02-24 12:26:08.476 - Initializing DBeaver 4.0.0
2017-02-24 12:26:08.493 - Host plugin: org.jkiss.dbeaver.core.application 4.0.0
2017-02-24 12:26:08.505 - Initialize Core...
2017-02-24 12:26:09.005 - Core initialized (500ms)
2017-02-24 12:26:09.013 - Configure workbench window
2017-02-24 12:26:09.211 - Create actions
2017-02-24 12:26:09.220 - Disable Eclipse action set 'org.eclipse.ui.edit.text.actionSet.annotationNavigation'
2017-02-24 12:26:09.224 - Disable Eclipse action set 'org.eclipse.ui.edit.text.actionSet.navigation'
2017-02-24 12:26:09.230 - Disable Eclipse action set 'org.eclipse.ui.WorkingSetActionSet'
2017-02-24 12:26:09.980 - Initialize workbench window
2017-02-24 12:26:10.071 - Finish initialization
2017-02-24 12:26:12.700 - Connect with 'narvalo' (postgres-jdbc-15a386bc619-7c48af1750a3062)
2017-02-24 12:26:13.423 - Connected (postgres-jdbc-15a386bc619-7c48af1750a3062)
2017-02-24 12:26:55.798 - null
org.jkiss.dbeaver.model.exec.DBCException: SQL Error [42P01]: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:140)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:343)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:707)
	at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1752)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:91)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
	at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:344)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:137)
	... 6 more
2017-02-24 12:30:15.432 - null
org.jkiss.dbeaver.model.exec.DBCException: SQL Error [42P01]: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:140)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:343)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:707)
	at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1752)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:91)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
	at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:344)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:137)
	... 6 more

.log
!SESSION 2017-02-24 12:26:01.644 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.jkiss.dbeaver.model 4 0 2017-02-24 12:26:55.813
!MESSAGE SQL Error [42P01]: ERROR: relation "dataimport" does not exist
  Position: 15
!STACK 0
org.jkiss.dbeaver.model.exec.DBCException: SQL Error [42P01]: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:140)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:343)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:707)
	at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1752)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:91)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
	at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:344)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:137)
	... 6 more
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2017-02-24 12:26:55.814
!MESSAGE ERROR: relation "dataimport" does not exist
  Position: 15
!STACK 0
org.postgresql.util.PSQLException: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
	at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:344)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:137)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:343)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:707)
	at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1752)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:91)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.jkiss.dbeaver.model 4 0 2017-02-24 12:30:15.448
!MESSAGE SQL Error [42P01]: ERROR: relation "dataimport" does not exist
  Position: 15
!STACK 0
org.jkiss.dbeaver.model.exec.DBCException: SQL Error [42P01]: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:140)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:343)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:707)
	at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1752)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:91)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
	at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:344)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:137)
	... 6 more
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2017-02-24 12:30:15.448
!MESSAGE ERROR: relation "dataimport" does not exist
  Position: 15
!STACK 0
org.postgresql.util.PSQLException: ERROR: relation "dataimport" does not exist
  Position: 15
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
	at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:344)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:137)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:343)
	at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:707)
	at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1752)
	at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:91)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Upgrade to 4.0.1. There was a bug with search_path update in 4.0.

same issue with 4.0.1

Can't reproduce.

Make sure you have correct active schema in main toolbar.
Open Query Manager view, enable all object types and all query types checkboxes in preferences. Now you can see what internal SQL is executed by DBeaver. There should be some SET search_path query. Check that it is correct.

Thanks for your help.
In the query manager without filters, I can't see any SET search_path query
I am not sure it's a search_path problem, SELECT current_database() returns 'postgres', which is not the active database

You need to run SELECT current_schema().
You can't change active database without full reconnect. While current schema can be changed at any moment.

Sorry I dont understand. I dont want to change the active database (I change it once after launch because postgres is the default active database). The only thing I want is open another sql editor on the same database.
The behaviour on my machine is very weird. It seems that new editors are connected to the postgres database, not the active database. I am sorry not being able to give you more debug info.

Well, let's clear the PostgreSQL terms:

Database is a separate physical database, requires separate network connection. In most cases there is only one database named postgres.
Schema is logical division of tables. There are multiple schemas in every PG database (at least public, pg_catalog, etc).

In DBeaver you may work only with active PG database (marked with bold in navigator tree). All SQL editors will be connected with this database.
But you may easily change active schema.

I have several databases, one of them is 'tmp', in the schema 'public' of 'tmp' there is a table dataimport. The database 'tmp' is active, and one editor (script-2) is working fine, but not the other one (script-1) because current_database='postgres'

Despite this problem, dbeaver is great!

Now it is clear. Yep, seems to be a bug, thanks for details.

Thanks a lot Serge.
I wonder if it is not possible to "use this bug" in some way to allow connections to different postgresql databases (without using set active) ?

You can just configure another connection (with another database name)

@ovisem Could you post exact error message/log? It can't be exactly the same.

Hi, this from the log file: !SESSION 2018-09-07 08:34:27.186 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64
!ENTRY org.jkiss.dbeaver.model 2 0 2018-09-07 08:34:33.414
!MESSAGE Datasource provider 'wmi' not found. Bad provider description.
!ENTRY org.jkiss.dbeaver.model 4 0 2018-09-07 08:36:20.479
!MESSAGE SQL Error [42P01]: ERROR: relation "t_document" does not exist
Position: 16
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2018-09-07 08:36:20.479
!MESSAGE ERROR: relation "t_document" does not exist
Position: 16
!STACK 0
org.postgresql.util.PSQLException: ERROR: relation "t_document" does not exist
Position: 16
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2427)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2169)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:341)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:134)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeStatement(SQLQueryJob.java:445)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.lambda$0(SQLQueryJob.java:389)
at org.jkiss.dbeaver.model.DBUtils.tryExecuteRecover(DBUtils.java:1559)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:387)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:819)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:2346)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.lambda$0(ResultSetJobDataRead.java:93)
at org.jkiss.dbeaver.model.DBUtils.tryExecuteRecover(DBUtils.java:1559)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:91)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:95)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

Thank you

This issue was resolved in recent version. You also could try EA version (https://dbeaver.io/files/ea)

My version is <IP_ADDRESS>808262133

Yep. Sorry, by "recent" I meant Early Access.
Anyhow, new version will be released on Monday.

Version 5.1.2 and this issue still exists

Yes, still exists and for me. 😔

@hellgorithm @ovisem Could you describe this issue a bit more?
I've fixed active database switch in SQL editor (when "Open separate connection" option is on) and can't reproduce this problem anymore.
So maybe your problem is different.

At me version of PostgresSQL it's 9.5.14 on Linux

I mean some details about your SQL.
In which schema t_document located?
What is your current schema?
Could you try to use fully qualified table name - does it work?

My structure is database.schema.table
I try with fully qualified name and doesn't work.

Maybe your active database differs from the one you are trying to query.
Try to run
SELECT current_database()
and
SELECT current_schema()
to check. Is DBeaver active database (the bold one in navigator tree) is the same as PG current_database()?

I checked, it's the same as in navigator tree.
The error is happening with some tables not with all tables from DB. For other tables it works for others not.

Same issue persists in 5.2.1 as of today. Let me know if you need my logs.

I'm quite sure this is a different problem than was originally described in this ticket.
Some additional info would be helpful, as well as the new ticket.
Screenshot with database navigator tree, main toolbar and sql editor will help a lot. Gif movie would be awesome.

For me, it helped to change the connection configuration. I had 2 DBs in the same connection:  [postgres, rdsadmin, interview]. I was interested in always connecting to interview, so by changing the database name from posgres to interview in the connection configuration, i was able to work with the correct db.
Feel free to delete this comment if it is not useful, but I came here with this issue, and was able to solve it this way.
Thanks for dbeaver! :)

I resolved this issue by changing the database name in the connection as by default, it executes on the postgres DB.

up

This is a typical confusing thing about PG connections.
In db navigator you can see all databases (by default) but only one of them is active (it is bold).
When you write your queries in SQL editor they may operate only with schemas/tables in the active database. You need to switch to another database (right click->Set active) to be able to query it.
Agreed, this is not very obvious. But this is how PostgreSQL database works.
Do you have any ideas how to handle this better in UI?

Try Ctrl+0
In select Instance choose your correct instance
and select the public schema of your instance.
That's all folks!

@serge-rider

Do you have any ideas how to handle this better in UI?

Yes, I suggest to set the database active as soon as you click on it. The current way "right click->Set active" is really not obvious.

The issue still happening on 21.3.4. have been struggling to find a way to switch to another DB and its amazing that even setting the dafult, it just sticks to the default postgres. tried even to set the default driver parameter to no avail


Peer-to-peer code review

Your code looks awesome. But there is some optional suggestions. Kindly try to implement it.
In contact-content class you can create a button using input tag.

Thank you for your suggestion!


There is no "Search"

100% LOVE the extension. Unfortunately, the search bar is not showing up. Any ideas?

I use https://twitter.com/explore (# icon at sidebar) to search.


[Sprint: 47] XD-2852 XD-2298 A basic gpload tasklet implementation

provides option for overriding INPUT.SOURCE.FILE as a job parameter

Other than that, gpload job ran fine.

I pushed a new commit where I check for the existence of the greenplum_path.sh or greenplum_loaders_path.sh and set the appropriate env var based on that. We might want to add Windows file name support at some point if we want to support that.

forget to say that lgtm.

merged


Projects as sets of targets with shared configuration

I propose that we add a notion of a project to the protocol. A project would be a set of build targets that share config/context.
What currently is an sbt target would become a BSP project. Its configuration would be scala version and environment (JVM/JS/native).
A cargo package would be a BSP project and its config would be the set of enabled features.
In Bazel there are no projects, as all targets have to be fully configured individually.
In Gradle there are projects (that would map 1-1 to BSP projects) and each projects contains tasks (what would become BSP targets).

I would rather keep the build target at the biggest notion and add a sub notion of run target: a build cotains many buildTarget and each buildTarget contains many runTarget.

I would rather keep the build target as the biggest notion and add a sub notion of run target: a build contains many buildTargets and each buildTarget contains many runTargets.

But is it just a naming issue?

what do u mean by config/context? potentially in sbt / gradle JVM/JS targets can have different sources, does it mean that the "big" target / project will contain all the sources, or it's not the part of the config/context?


[Bug]

Describe the bug
When turning on the tracking protection sometimes it doesn't load my YouTube app properly which means I suspect that your HTTP exception is blocking other applications android users have on their smartphones.
How to Reproduce

Fix http exception that's causing an issue
Improve tracking protection feature
Add a new feature where it'll block any explicit content duckduckgo users would see from any website.
The loading sequence within other apps besides YouTube has been an ongoing issue till this day for me.

Expected behavior
It is wonderful to use the VPN feature to block all malicious content however it seems that a conflict between the http exception and tracking protection is unsolved since most smartphone apps cannot load themselves faster.

Environment
- DDG App Version: 5.138.1
- Device: Galaxy a21 and Galaxy A02s
- OS: android 11

youtube is currently disabled in our app tracker protection config because of known issues. So in this case, our vpn is not interfering with the connection.

Yes it is interfering it because whenever continuously loads within my YouTube app while having YOUR duckduckgo von feature on that tells me that it is rejecting YouTube's client connections, it only works when I turn off duckduckgo's vpn feature, my apologies sir but it usually happens ONCE in a while whenever I launch any type of application I'm willing to use through my smartphone. I'm telling you the truth mate.

So if you're willing to listen to my dearing feedback, then start being fair to duckduckgo users.

I can only suggest going and ensuring youtube is disabled in your config: Settings -> App Tracking Protection -> scroll down to the bottom -> Having Problems with an App? -> Show All Apps -> then find Youtube app and ensure is disabled.


Adding a '--force' since there's sometimes a broken homebrew update.

See https://github.com/Homebrew/brew/issues/1151
brew update --force will prevent stalling in the script. Until the issue above is resolved, it could pop up for someone trapped in a 'please update'-'already updated' loop.

Thanks! Merged as cfda02a


High bandwidth usage on v0.4.0b6

The problem
After upgrading from v0.4.0b5 to v0.4.0b6 I noticed a significant increase in bandwidth usage of my HA instance which I've tracked down this integration. I've upgraded and downgraded a couple of times now to recreate the issue and each time my HA bandwidth usage goes from negligible to nearly 100Kb/s both up and down.
Areas highlighted on this bandwidth monitor graph are the times when running v0.4.0b6, the gap is after reverting to v0.4.0b5 which is the expected usage.

home-assistant_nest_protect_2024-10-02T08-56-56.982Z.log
What version of this integration (ha-nest-protect) has the issue?
v0.4.0b6
What version of Home Assistant Core has the issue?
2024.9.3
Device / Model
No response
Diagnostics information
No response
Home Assistant log
Logs
Copy/paste any log here, between the starting and ending backticks (`)

Additional information
No response

Debug log:
home-assistant_nest_protect_2024-10-02T08-56-56.982Z.log

Thanks @stevehop. I have noticed the same and will revert the latest contribution, since it is hammering the Nest Protect servers.


playVideo() function doesn't work in computed or watch function!

Hi,
I try to call some function like playVideo() inside a watcher (i want the video reload when videoId change).
I don't know why, but it doesn't work! If i call it from mounted() lifehook, or from a click action it work like expected, but not if i pass by watchers.
I'm sure you know why! i thinks it's because i need to do something more to be sure that player is ready, like for getCurrentTime function.
Thanks.
EDIT : Sorry, i found a solution using the updated lifehook and that works nice! But i'm still curious of why this is working in mounted/updated function but not in computed/watchers?

Hi.
I have the same issue.
Can you please share how did you solve this?
Basically it looks like a race condition, the promise arrives on the previous video after I change the Video ID but there is no way to wait for the next video to load before running playVideo()
For a quick test I added a 2 seconds delay and of course it worked fine, the question is - how can I run playVideo() as soon as the video is ready? (tried async and wait to no avail).
Thanks
@anteriovieira - you assistance would be appreciated as well if you read this.
Thanks


在SYSU数据集上测验mambaBCD结果有误

python3 /mnt/c/Users/admin/MambaCD/changedetection/script/infer_MambaBCD.py
--dataset 'SYSU'
--model_type 'MambaBCD_Small'
--test_dataset_path '/mnt/e/SYSU-CD/SYSU-CD/test'
--test_data_list_path '/mnt/e/SYSU-CD/SYSU-CD/test.txt'
--cfg '/mnt/c/Users/admin/MambaCD/changedetection/configs/vssm1/vssm_small_224.yaml'
--resume '/mnt/d/weights/MambaBCD_Small_SYSU_F1_0.8336.pth'
--result_saved_path '/mnt/c/Users/admin/MambaCD/results'
在 SYSU 数据集上使用训练完成的 MambaBCD-Small推断二元变化图，结果显示Racall rate is nan, Precision rate is nan, OA is nan, F1 score is nan, IoU is nan, Kappa coefficient is nan
Inference stage is done!

Hi,
Thank you for your question! Could you give us more detail about the print results from the running code? Also, please take a look at that the generated binary change maps are valid or not. They can help us figure out the specific issue.
Best,

/mnt/c/Users/admin/MambaCD/changedetection/utils_func/metrics.py:25: RuntimeWarning: invalid value encountered in scalar divide
Rec = self.confusion_matrix[1, 1] / (self.confusion_matrix[1, 0] + self.confusion_matrix[1, 1])
/mnt/c/Users/admin/MambaCD/changedetection/utils_func/metrics.py:20: RuntimeWarning: invalid value encountered in scalar divide
Pre = self.confusion_matrix[1, 1] / (self.confusion_matrix[0, 1] + self.confusion_matrix[1, 1])
/mnt/c/Users/admin/MambaCD/changedetection/utils_func/metrics.py:10: RuntimeWarning: invalid value encountered in scalar divide
Acc = np.diag(self.confusion_matrix).sum() / self.confusion_matrix.sum()
/mnt/c/Users/admin/MambaCD/changedetection/utils_func/metrics.py:58: RuntimeWarning: invalid value encountered in scalar divide
IoU = self.confusion_matrix[1, 1] / (
/mnt/c/Users/admin/MambaCD/changedetection/utils_func/metrics.py:75: RuntimeWarning: invalid value encountered in scalar divide
observed_accuracy = np.trace(self.confusion_matrix) / num_total
/mnt/c/Users/admin/MambaCD/changedetection/utils_func/metrics.py:77: RuntimeWarning: invalid value encountered in divide  np.sum(self.confusion_matrix, axis=0) / num_total * np.sum(self.confusion_matrix, axis=1) / num_total)
Racall rate is nan, Precision rate is nan, OA is nan, F1 score is nan, IoU is nan, Kappa coefficient is nan
Inference stage is done!
日志提供的信息显示，在计算指标时，混淆矩阵中存在问题，导致在执行除法运算时分母为零。请问这是什么原因导致的？

It may be an issue with the dataset. May I ask what content needs to be listed in the test. txt document in the dataset file?

Hi,
Please check the following cotents:

The trained model's weight has been loaded sucessfully or not?
The test.txt document only records the name of image file
Please check the label's value: 255 is change, 0 is non-change.

Best,

Okay, thank you

Okey, keep us posted if you solve the problem :)

Racall rate is 0.8074370200623197, Precision rate is 0.8614169501615304, OA is 0.9239544410705567, F1 score is 0.8335539809709083, IoU is 0.7146099925521876, Kappa coefficient is 0.7843404490614121
Inference stage is done!
Thank you for your help. The problem has been resolved.

Hi,
Glad to hear that!
Could you tell us exactly what is causing this problem so that other peers can refer to it?
Also, if our code helps you with your research, we'd appreciate it if you could give ChangeMamba a star :)
Best,

The reason is that test.txt does not correctly record the name of the image.
ChangeMamba's change detection performance is very good and deserves a star.
I have already given it 😀

Glad to hear that. Thank you so much!


[Feature Request]: More thinned down ScrollBar

Describe the solution you'd like
I'd like to suggest an improvement to a feature, that is to thin down the ScrollBar in the ScrollViewer.
The ScrollBar when using MicaWPF looks like this:

I want it to look like this:

Screenshot of Windows Settings, Windows Security and Microsoft Store.
Is your feature request related to a problem? Please describe.
No response
Describe alternatives you've considered
No response
Additional context
No response

Done should be fixed in the new version I've tested when expanded too it's the same size down to the pixel.


Avoid reading the "disablePreferences"/"locale" options, when initializing the viewer, in extension builds

These two AppOptions are only defined in GENERIC builds, hence it's completely unnecessary to check them in the extension builds (e.g. MOZCENTRAL and CHROME).
Also, simply let the "printResolution" option be defined in all builds since it's being accessed in web/firefox_print_service.js as well.

/botio-linux preview

Thanks!


Feature: allow the export of data from query

👋 it would be great if we could use the data from the query to export it the clipboard or the file api. https://developer.mozilla.org/en-US/docs/Web/API/File.
Would this be a feature that would be of interest? I am using graphiql in a project and loving it so far!

hey there! that makes sense as a plugin for sure! we are probably going to move our existing copy to clipboard capability to a plugin here soon, so the idea to copy either to clipboard makes sense. none of the new FS APIs are for writing data to/reading from disk (unless I'm mistaken), so are you saying you want to export a query to file? there are other ways to do that as well!

@acao awesome! I meant more about creating a file that could be downloaded by a user. Is there a way to do download the data from the UI right now?

hey there! that makes sense as a plugin for sure! we are probably going to move our existing copy to clipboard capability to a plugin here soon, so the idea to copy either to clipboard makes sense. none of the new FS APIs are for writing data to/reading from disk (unless I'm mistaken), so are you saying you want to export a graphql operation results to file? there are other ways to do that as well!

@acao , I love the feature of exporting GraphQl operation and tabs to file or syncing it to google drive if I logged in with Google.

Is this right to discuss it here?
If can I would like to get involved in developing the feature too.

@manh-vv we should have discussion issues for all of these things, I'll set that all up soon and we can begin to concentrate the discussions better!


Massive test failures when used from Python 3.8

I am getting these failures when used from Python 3.8.3:
$ nosetests test
EE......E.FE.E.EE.E.EEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEE.....SSSSSSSSSSSSSSSS.....................................S..............  C-c C-cS
======================================================================
ERROR: test.support.testresult.get_test_runner_class
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/rocky/.pyenv/versions/3.8.3/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
TypeError: get_test_runner_class() missing 1 required positional argument: 'verbosity'

======================================================================
ERROR: test.support.testresult.get_test_runner
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/rocky/.pyenv/versions/3.8.3/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
TypeError: get_test_runner() missing 2 required positional arguments: 'stream' and 'verbosity'

======================================================================
ERROR: test.audit-tests.test_open
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/rocky/.pyenv/versions/3.8.3/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/rocky/.pyenv/versions/3.8.3/lib/python3.8/test/audit-tests.py", line 201, in test_open
    (open, sys.argv[2], "r"),
IndexError: list index out of range
-------------------- >> begin captured stdout << ---------------------
sys.addaudithook<PHONE_NUMBER>33248
... [hundreds of other lines]

I note however that when i use this package from 3.8.3 things work fine.
If you'd like me to investigate and suggest a fix/PR, let me know.

Please, go for it!
I suspect it's a nose issue, since it isn't maintained anymore.
We can try updating to nose2 or pytest. I've never used nose2 but it might be a drop in replacement. Switching to pytest would require rewriting the test generator because pytest doesn't support that feature.

I take back what I said. I thought we had been using a nose feature called test generators, but I just double checked and it looks like that's not the case. I think a switch to pytest should work just fine.


[Task]: Implement flow to change votes for a proposal

Task description
The user may want to change a specific answer for a proposal (during the middle of counting).
Requirements
TBD
Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

Blocked until https://github.com/iotaledger/firefly/issues/5495 is closed

Works out of the box.


Added support for Online.net C14

You could add this to the homepage too if you want: https://github.com/ncw/rclone/blob/master/docs/content/about.md
With a link to the sftp docs and the C14 docs.

Sorry for the delay in responding.
My preference would be to add a paragraph to the sftp docs about c14 with that link in it then link the home page to that.

Shall I merge this as-is or do you want to add more to it?
Thanks

The service works perfectly with rclone's SFTP support.  This PR is about documenting that a bit better!

@ncw can we merge this?

@HazCod this PR is about the docs only.  C14 is fully supported via the SFTP backend.

I'd really like this to be the complete solution which would be adding text/links to

README.md - main GitHub page
docs/content/sftp.md - add a paragraph about C14
docs/content/about.md - front page of rclone.org, add a link to C14 home page and a link to the paragraph on C14

I'm going to close this PR, but if you'd like to do the above then please open a new one - thanks


[Docs Bug 🐞 report]: fix markup syntax in generator headers that breaks in TOC

Describe the bug you found in AsyncAPI Docs.
we can't use markup syntax in headers because it doesn't render in the TOC 😭
@derberg @Florence-Njeri @pratik2315
Attach any resources that can help us understand the issue.

Code of Conduct

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

On it

What about we sanitize them in the TOC? They would look like "template directory" and "package.json" (without the double quotes).

sanitize them? what? hahaha
Please add a sample code snippet with your proposal so we can understand & try out your idea. @fmvilas

That makes sense, thank you @fmvilas :)

fixed with #1204