How to test on custom data set ?

Hi,
How do I test the pre trained model on custom dataset ?
Thanks !!

The output of network trained on LIVE dataset should be in the range of [0,100], the smaller, the better. Of course you could do fine-tuning on custom dataset if you have some kind of ground truth.

Can you please brief me about the steps required ? I am not able to figure
it out from the given details.
On Mon, Jun 11, 2018 at 5:50 PM, Xialei Liu<EMAIL_ADDRESS>wrote:

The output of network trained on LIVE dataset should be in the range of
[0,100], the smaller, the better. Of course you could do fine-tuning on
custom dataset if you have some kind of ground truth.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xialeiliu/RankIQA/issues/14#issuecomment-396224398,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATyHlLrKdeYjk4T2OxwE4DQiaLdNlOPjks5t7mCqgaJpZM4UicVi
.

To test on your own images, you need first to prepare the same format of .txt file. Then you need to modify the script src/eval/FT_eval_all_live.py to get the network's output in stead of computing LCC and SROCC, which is the final score you need.

I see some scores appended with the ".txt" file used by the script ? What are those scores and how can I generate the scores out of my images ?

Those scores are from the dataset annotated by human beings, which is the ground truth to evaluate the algorithm. if you do not have the scores for you own images, you can put 0.00, in that case, you could still run the script src/eval/FT_eval_all_live.py, the pre and med in the script can be seen as the prediction, which should be in the range of [0,100], the smaller, the better.

Thank you so much !! I was able to run the test on my dataset, but its not using the GPU and its very slow, it takes 2 to 3 seconds per image. Can you help me on this ?

It's better to recheck your devices.

I am using a Tesla K80 machine on aws.

I have no idea with the information given by you. sorry.

I want to find quality of some images. where should I place those images?
How can I prepared .txt file for those images.
Please help me.


sugested change to the css of the alert

this is what I'm using to write over the alert css to be able to change the padding without it looking weird
div[role='alert'] {
main {
align-items: center;
display: grid;
}
button.close {
margin-top: 0 !important;
}
}

Hello @SEBEric, could you add some more context to this issue. What problem does this suggestion solve? Thank you.

@SEBEric Thank you for the clarification!


sslhandshakeexception 0x7dbd768006  I/O error

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.602
Where did you get the app from?
Google Play
Android version
8.1.0
Device model
N10
Steps to reproduce
Hi,
Starting a few days ago, I started to get strange errors when sending email for one (of the 3) accounts I have configured in K9.
The error I get is:
SSLHandshakeException: SSL handshake aborted: ssl=0x7dbd768006:  I/O error during system call, Connection reset by peer

Sometimes the value is 0x7dc19decc0.
It happens when I'm connected through my 4G connection, but works perfectly with a Wifi connection.
So I thought it was a problem with my operator(*). But then I tried with another account (which has the same SSL/TLS/port config), and I can send email with this other account.
So I'm quite lost... Since I upgraded K9 and changed operator almost at the same time a few weeks ago, I'm not sure where the problem is...
Expected behavior
Email shoul be sent lawlessly
Actual behavior
With one of the accounts, email show an Exception.
Logs
The error I get is:
SSLHandshakeException: SSL handshake aborted: ssl=0x7dbd768006:  I/O error during system call, Connection reset by peer

Sometimes the value is 0x7dc19decc0.

It's unlikely that this is a bug in K-9 Mail because we use the TLS implementation provided by the Android version on the device. However, if it works on one network but not another, it's probably not a bug in your Android version either.
It's possible that your mobile network provider is somehow filtering the network traffic. It's also possible that the email provider is blocking connections from the mobile network.
I don't think there's a change we can make to K-9 Mail to make it easier to track down these kind of errors. So I'm closing this issue.


CSS import not supported on ejected create-react-app

Importing CSS works great for an unejected app created via create-react-app. But if you eject, storybook throws an error when importing CSS:
Steps to reproduce:

create-react-app myapp
cd myapp
npm run eject
getstorybook
create a plain css file
import css file into a storybook story like this: import './styles.css';

Receive the following:
Module parse failed: /Users/cory/Desktop/myapp/stories/button.css Unexpected token (1:5)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (1:5)
    at Parser.pp$4.raise (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:2221:15)
    at Parser.pp.unexpected (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:603:10)
    at Parser.pp.semicolon (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:581:61)
    at Parser.pp$1.parseExpressionStatement (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:966:10)
    at Parser.pp$1.parseStatement (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:730:24)
    at Parser.pp$1.parseTopLevel (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:638:25)
    at Parser.parse (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:516:17)
    at Object.parse (/Users/cory/Desktop/myapp/node_modules/acorn/dist/acorn.js:3098:39)
    at Parser.parse (/Users/cory/Desktop/myapp/node_modules/webpack/lib/Parser.js:902:15)
    at NormalModule.<anonymous> (/Users/cory/Desktop/myapp/node_modules/webpack/lib/NormalModule.js:104:16)
 @ ./stories/Button.js 12:0-23

Here's a repo that reproduces the issue. Note that create-react-app was simply installed and ejected. No other changes made.

Thanks for the repro @coryhouse!
I copied over some basic webpack config from CRA's webpack.config and it works fine of course:
https://github.com/tmeasday/storybook-css-bug/commit/f8a96c17c4e81b1a0b4eba2818f0fff48cd3563e
I wonder what it is about ejecting that make you need to do this?

Oh, it also works fine if you remove .storybook/webpack.config.js. That file is automatically added by getstorybook, but as it says here if you create that file, it doesn't use the default webpack config.
I wonder why getstorybook adds that (more or less empty) file.

Confirming @tmeasday fix works here

Yeah this is an odd bug:
https://github.com/coryhouse/storybook-css-bug/blob/master/.storybook/webpack.config.js


Drilldown on Navigate page list part doesn't work

We have a field with drilldown on a Navigate list part.
In BC18 insider this no longer works.
example of field below.
field(Status; Status)
{
    ApplicationArea = all;
    Editable = false;
    ShowCaption = false;
    Style = StrongAccent;
    StyleExpr = TRUE;
    DrillDown = true;
    trigger OnDrillDown();
    begin
         ResolveConflicts();
    end;

Please provide more specific information like repro steps. Which object you are talking about? Navigate page do not contain this code.
Even better, if you report bugs to technical support, this way it will be addressed much faster.

Thank you for reaching out. Your request could be reporting a product bug not related to the AL extensibility. Please reach out to the relevant support channels:
•	For collaboration in preview or beta versions of AL Language in Visual Studio Code (aka ModernDev), use GitHub (https://github.com/microsoft/al).
•	For Microsoft partners, for versions already in general availability and supported, file requests through Microsoft Partnersource (https://mbs.microsoft.com/partnersource/).
•	For ISVs/VARs who have discovered a bug in a in preview or beta version, use MS Collaborate (https://docs.microsoft.com/en-us/collaborate/).
•	For Business Central customers who have issues or found bugs, please contact your Microsoft partner.


[WIP] Improve batched SVD

Overwrites the intermediate array to reduce memory footprint, which seems to also perform faster.

Will experiment with a small pool of (handle, stream) and see if it improves performance or not.

Will experiment with a small pool of (handle, stream) and see if it improves performance or not.

My preliminary conclusion is it does not help. In each gesvd call there are many small kernels launched and a few host-device transfers involved, so all these bring in non-negligible overheads that cannot be eliminated by simple stream parallelism. Only when cuSOLVER supports stream capture (#4567) would these be mitigated I am afraid...

link to the issue (on non-batched SVD): #3327

Before this PR:
svd                 :    CPU:967495.508 us   +/-387.404 (min:967270.049 / max:968551.172) us     GPU-0:967618.262 us   +/-388.642 (min:967400.391 / max:968675.598) us

after this PR:
svd                 :    CPU:957821.612 us   +/-3866.952 (min:953878.185 / max:962332.340) us     GPU-0:957949.573 us   +/-3870.807 (min:954001.221 / max:962460.022) us

input array: cp.random.random((256, 64, 64))

This is ready.


Confirm permissions declared are actually needed to perform function

[ ] tabs
[ ] <all_urls>

My thoughts:
<all_urls>
This is not required for static content. We could ship the requested host to a server, it could make the request, and then it could ship it back.
This would be objectively wrong. It would create a way for someone to track somebody, without them having any way of noticing.
With the extension, you can inspect the source code. With a server, you sadly cannot.
Hence, no servers. The only way is to make those requests, and because SOP is silly even non-credentialed requests will be blocked.
tabs
eh. Though perhaps not strictly needed, it doesn't add much more than <all_urls>. Hence, it doesn't compromise privacy and is acceptable.


Moving most println! statements to debug! statements

I took most println! statements in the lib code and turned them into debug! statements.
I left an println here and there, in places where I wasn't sure, like when there were error messages.  They are probably better served by an 'error!' or something else, but decided against replacing those.
As part of this, I upgraded the log crate, and also removed the env_log crate, since libraries should only use the log crate, while library using projects determine which log backend to use, according to rust doc:
https://doc.rust-lang.org/log/log/index.html#in-libraries
Let me know if these make sense, or if this is not desired.

This change is

Coverage decreased (-0.9%) to 91.176% when pulling e366743f3695c6c7bbd96294e99b9b4aa17911d5 on chamakits:feature/println-to-debug into a8ecbfe9893698823924b350db18bd7d6e6318b3 on ivanceras:master.

Coverage decreased (-5.5%) to 86.636% when pulling 2438e01a9e8e8df4d85fb8a05190aee028206a07 on chamakits:feature/println-to-debug into a8ecbfe9893698823924b350db18bd7d6e6318b3 on ivanceras:master.

Thanks


Request push permissions for repository-permissions-updater

GitHub repositories
repository-permissions-updater
GitHub users to have permission
@cotovanu-cristian
Justification
Hello
I am onboarding the uipath-automation-package-plugin Jenkins plugin to the cd release procedure so I would like to be able to push a branch/open PR/merge PR in the repository-permissions-updater repository.
Justification is that I am a developer and an admin of the repository https://github.com/jenkinsci/uipath-automation-package-plugin. I also have the jenkins artifactory and jira account, cristiancotovanu is the username (if relevant).
Thank you!

Please fork it - https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo
Or just use the GitHub UI for editing it and it will do that automatically for you.


TextPaint to use TextStyle instead of TextPaintConfig

Description
Replacing TextPaintConfig with TextStyle for TextPaint since we can get a lot more text options from that, here is a test with shaded text for example:

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors and are passing (See Contributor Guide).
[x] My PR does not decrease the code coverage, or I have a very special case and explained on the PR description why this PR decreases the coverage.
[ ] I updated/added relevant documentation (doc comments with ///) and updated/added examples in doc/examples.
[x] I have formatted my code with flutter format and the flutter analyze does not report any problems.
[x] I read and followed the Flame Style Guide.
[x] I have added a description of the change under [next] in CHANGELOG.md.
[x] I removed the Draft status, by clicking on the Ready for review button in this PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flame users to manually update their apps to accommodate your change?

[x] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md).
[ ] No, this is not a breaking change.

Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR.

Does BaseTextConfig and TextPaintConfig even matter now?
Maybe we could just drop this abstraction and each TextRenderer defines its own config class?

I guess not, so if you'll do some work for the bitmap fonts later you'll just define your own config class?

I guess not, so if you'll do some work for the bitmap fonts later you'll just define your own config class?

Yeah, that is what I am thinking, that will even give more freedom for when designing a new TextRenderer


Angular 9 support

I just upgraded my Angular project to version 9 and this package has some problems with Ivy.
This is the error message:
ERROR in ./node_modules/ngx-barcode6/__ivy_ngcc__/fesm2015/ngx-barcode6.js Module not found: Error: Can't resolve 'jsbarcode' in 'D:\Projects\Nafis Global System\UI\node_modules\ngx-barcode6\__ivy_ngcc__\fesm2015'
How can I fix this?

How did you install the package? Did you install it like in the readme?
npm install --save ngx-barcode6<EMAIL_ADDRESS>

Thanks
This fixed the problem
I was missing jsbarcode
But the weird thing is that this app was working in the Angular 8 version!

Any barcode that work with angular 9 and >9 ?, I see only old versions !

Please try the new version


Right to Left for Search widget

The characters in this Search box should be right aligned.

There should be a right to left option in this window.

https://www.webonary.org/dari/

When the WS is RTL, then two things need to be true for the widgets:

The order of the widgets needs to start on the right and go to the left, and this order needs to keep working even if the widgets wrap at different places (that is, no matter if a row has 6 or 7 or 8 widgets in it).
Less important, once they are in the correct order, then the widgets need to be right-aligned, rather than left-aligned.


Temporary workaround for broken wurstmeister kafka/zookeeper images

What changed?
Integration tests depend on following images that seems to be gone.

wurstmeister/kafka:2.12-2.1.1
wurstmeister/zookeeper:3.4.6

This is blocking CI checks for all active PRs at the moment.
I had the copy of these images on my local machine so pushed them to ubercadence docker repo as a temporary workaround.
EDIT: My copies are arm based from macbook. Looking for a linux copy of these images to proceed with this workaround
docker tag wurstmeister/kafka:2.12-2.1.1 ubercadence/wurstmeister-kafka:2.12-2.1.1
docker push ubercadence/wurstmeister-kafka:2.12-2.1.1

docker tag wurstmeister/zookeeper:3.4.6 ubercadence/wurstmeister-zookeeper:3.4.6
docker push ubercadence/wurstmeister-zookeeper:3.4.6

These kafka/zookeeper images are 3rd party built and that project doesn't seem to be active recently. These already very old versions of kafka/zookeeper. We should revisit alternative images for these and potentially switch to confluent's official images.

Why?
Unblock CI.

How did you test it?
CI checks in this PR.

Pull Request Test Coverage Report for Build 018f53fe-5d01-41a3-addb-1eb51044de12
Details

0 of 0   changed or added relevant lines in 0 files are covered.
53 unchanged lines in 12 files lost coverage.
Overall coverage decreased (-0.02%) to 68.134%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/sql/sqlplugin/postgres/task.go
2
73.4%

service/history/shard/context.go
2
69.68%

common/cache/lru.go
2
92.89%

service/matching/db.go
2
73.23%

service/history/execution/mutable_state_builder.go
2
71.09%

common/persistence/historyManager.go
2
66.67%

common/log/tag/tags.go
3
50.46%

service/history/queue/timer_queue_processor_base.go
4
77.66%

service/frontend/wrappers/metered/metered.go
4
66.67%

service/matching/taskReader.go
7
83.55%

Totals

Change from base Build 018f4ec3-7a67-4bed-b1a9-4481b46860fc:
-0.02%

Covered Lines:
100087

Relevant Lines:
146898

💛  - Coveralls


fix(go): correct installer for versions of go > 1.11

depending on level of support this may need to go further to see what version of Go the user has installed but this was able to finally install gopls on my local machine.

Since you update the go installer to use go install instead of go get and go install requires you to specify a version to work, other servers will need to have their package name updated also. Example https://github.com/williamboman/nvim-lsp-installer/blob/main/lua/nvim-lsp-installer/servers/jsonnet_ls/init.lua#L10

I created a PR with fixes for all servers that use go.package. https://github.com/williamboman/nvim-lsp-installer/pull/438

Thanks! I think there will be some additional changes needed (among other things what @smgt) mentioned. I've been taking a look at this for a while actually but I'm struggling a bit with figuring out the best way of keeping a "manifest" file for these go binaries (think, package.json for npm). I've tried making use of go.mod but to no avail.. I don't think this in particular would be a blocker for making this change though, just wanted to bring it up.
To add to what @smgt said, the @latest versions shouldn't be hardcoded in the go.packages calls. This would make installing a different version than @latest impossible (e.g., :LspInstall gopls@2.0.0). We'd need to default to latest if a specific version has not been requested (grep requested_server_version might give some more context). Also, it seems like go install really doesn't like providing multiple packages, so I think we should take the opportunity of changing the go.packages -> go.package and make it receive a single package name instead of a table. I'll look into this as soon as I'm back at the 💻, otherwise feel free to look into this if you're interested!

@williamboman After taking a closer look (i'm not familiar with either lua or *vim plugins) I see the flaws in my PR. I now also understand better how nvim-lsp-installer works. I started to play around with a new PR what you have suggested in your comment. But I don't know how long it will take me to figure everything out.

Superseded by #438, thanks both!


Java library for CosmosDb + private endpoint support

Created a private endpoint for my CosmosDb storage account and trying to connect to the CosmosDb through it. I'm getting a ConnectTimeOutException..
io.netty.channel.ConnectTimeoutException: connection timed out: cosmos-account-41895-eastus.documents.azure.com/<IP_ADDRESS>:21226

If I try to connect to the CosmosDb account using the azure cli from the same machine, it works fine.
az cosmosdb sql database create --account-name cosmos-account-41895 --name testdb --resource-group rg-name

If I try to connect to the account using a service endpoint (instead of using a private endpoint), that works fine too.
For context, I'm using the java library: com.azure:azure-cosmos:4.0.1-beta.1. Does the Java client support private endpoints yet?

For reference, @kushagraThapar recommended that I created the issue here when I opened an issue in https://github.com/Azure/azure-cosmosdb-java/issues/346.

@jagadish-v0 - continuing the conversation here :
I misunderstood the private endpoint feature, here is what I found in the docs:
https://docs.microsoft.com/en-us/azure/private-link/create-private-endpoint-cosmosdb-portal?toc=/azure/cosmos-db/toc.json&bc=/azure/cosmos-db/breadcrumb/toc.json
As the docs mention, you can connect to private endpoints using a VM created specifically for the private endpoint Cosmos account through Data Explorer. Were you able to do that ?
Meanwhile, I will get more information on how to connect it through SDK.

@jagadish-v0 - were you able to connect the way I mentioned above ?
Which connection mode are you using to connect to private endpoints, DIRECT or GATEWAY ?


Update atmospheric retrieval demo with information on how to configure AWS account via awscli

This is ready to go, pending successful Travis build.


hibernate not resume

Issue description
after resume from hibernate the system doesn't load
(just a blinking underscore on the upper left corner)
i have to use the reset button to use my laptop again
Steps to reproduce
execute: systemctl hibernate
Technical details

System: 16.09.1932.f2bde3c7df (Flounder)
Nix version: nix-env (Nix) 1.11.8
configuration.nix (i was trying it without the sleep and boot.resumeDevice option before)

you may be interested in my findings described in https://github.com/NixOS/nixpkgs/issues/18356
the high-note is - this bug is very hardware specific

upgrade to 17.03 fixed it


Add "typings" field to package.json

The package.json file should contain a "typings" field as described here. Then IDEs like Visual Studio Code will automatically find the typing information.
So, that should be:
"typings": "lib/chevrotain.d.ts"

Thanks @letmaik I was not aware of this.
I've looked at the docs you listed and related issues on the TypeScript github page.
What I'm trying to figure out is if I now need to have two separate d.ts files published with chevrotain. one for external modules and one for global usage...
Because If I understand correctly the
declare module "chevrotain" {}

needs to be removed as well.
Hopefully it is enough to just change Chevrotain's d.ts to use one the modern module template
As I am currently using an older style of d.ts template that I saw used on definitely typed.
Did the existing chevrotain.d.ts work on VSCode after you have manually added the "typings" property ?

I've tried doing as you have suggested.
The current chevrotain.d.ts format is not compatible with this.
You can see the logs in the failing build.
https://travis-ci.org/SAP/chevrotain/jobs/150854082

src/examples/json/api.ts(8,8): error TS2656: Exported external package typings file '/home/travis/build/SAP/chevrotain/examples/language_services/node_modules/chevrotain/lib/chevrotain.d.ts' is not a module. Please contact the package author to update the package definition.

it does work with the new UMD module template syntax.
But this syntax only works with Typescript 2 which is still in beta.
I do not think it is worth the bother right now to create another hacked d.ts file (or more than one).
Because Typescript 2 is supposed to be released "soon" so then a "standard" solution can be used.
I will try to create a push request that solves this (using typescript 2 beta) but will only merge once
the typescript 2 is officially released.

Thanks for investigating this! I don't have much experience with definition files myself yet. Your plan sounds good, version 2 is just a few weeks away. As a work-around, it seems to be enough to just copy the chevrotain.d.ts file somewhere in the project so that the compiler finds it.

@letmaik No Problem.
And thanks for the feedback. now I know about the "typings" package.json property
and how to make usage of Chevrotain easier in the near future. :smile:

fixed in
https://github.com/SAP/chevrotain/pull/280
will be available in next version.


Worker nodes have problem

Hi I am using this guide on this step worker node is staying on GET https://api-int.mbr.domain.abc:22623/config/worker: attempt and not going further. How can I debug the problem ?
I am using versions
openshift-client-linux-4.12.0-0.okd-2023-03-05-022504
openshift-install-linux-4.12.0-0.okd-2023-03-05-022504
Fedora CoreOS: Latest 37
Centos 8

I ma using versions
openshift-client-linux-4.12.0-0.okd-2023-03-05-022504
openshift-install-linux-4.12.0-0.okd-2023-03-05-022504
Fedora CoreOS: Latest 37
Centos 8

get the same issue. any updates on that? :)

Does the "okd.local" domain exist and is it properly configured?


WIP: Raku parser

This PR is a work in progress. I was trying to figure out how to do it in Raku, but this is my first time using Raku and I got stuck.
I'll put this on hold, do a simpler version in Python and then come back to this later after I read more about Raku grammars.

This was merged into PR #15.


PINECONE_INDEX_NAME

are there docs on this?  which model should I even choose?
It just uses gpt-ada under the hood?
my computer can run a vector database locally, why default to this paid feature?
show stopper honestly

We have a related issue to integrate with Marco, will track progress there.


Handle channel information in annotations when loading data from and exporting to EDF file

Fixes https://github.com/mne-tools/mne-python/issues/11959.
This PR aims at enabling to save channels when defined in channel-specific annotations. It basically writes each annotation with an extra "@@{ch_name}" appended to its description. Equally the channel info is parsed when reading the annotation file.

@larsoner any idea when the new release of MNE-python is due by any chance?

We'll probably cut a 1.5.1 this week (maybe today). In theory this could be backported, too, since it's arguably a bug fix. We'll need to move the devel.rst line to the BUG section, though. I'll do that and merge since the changes look great!

Thanks @paulroujansky !


Increment version for template releases

Increment version for template releases

Same thing, closing this. Will update in master once I'm done with the various releases.


Fix arguments bug

Fix the bug in argument parsing
fixes #6

@zameerlovesmath Can you accept the PR?

@TTkindboy Can you click review and merge this PR please?


Add perf test cluster manager

Add a library to manager clusters for performance tests, as what has been reviewed in https://github.com/knative/test-infra/pull/1459.
/cc @chaodaiG

/cc @adrcunha

Since this has been fully reviewed in knative/test-infra#1459, skip reviewing this one
/lgtm
/approve
/hold
In case @adrcunha or @vagababov have some ideas

I'm confused. 1459 was not merged, and this PR contains files that are not in 1459.

I'm confused. 1459 was not merged, and this PR contains files that are not in 1459.

As Chao and I previously discussed, we plan to put all the Go code under pkg and only keep the shell script under test-infra. I have closed 1459 and opened https://github.com/knative/pkg/pull/776, which needs this PR to be merged first.

/hold cancel


Contributing guidelines does not link to template expected for submitting issues

Gogs version (or commit ref): N/A
Git version: N/A
Operating system: N/A
Database (use [x]): N/A

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io: N/A

[ ] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist (usually found in log/gogs.log): N/A

Description
The contribution guide does not specify the required issue template.

Thanks, updated.


Add Cloudera blog post link

What does this PR do?
Adds blog post link to Cloudera docs.
Motivation
Tuesday Tasks
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

@FlorentClarret Can you merge this PR for me? Thanks!


Unable to delete vm's

Describe the bug
We are unable to remove vm's from the Apache Guacamole service.
Steps to reproduce

deploy a VM in Apache Guacamole.
Disable the VM.
Try to delete the VM

Azure TRE release version (e.g. v0.14.0 or main):
v0.19.1 we updated from v0.16.0
Deployed Azure TRE components - click the (i) in the UI:

Did you upgrade in one jump up or go though the versions?
Is there an error logged on the operations tab?

went up in steps.
this was a custom user resource.
Error message: uninstalling bundle couldn't run command /cnab/app ./delete_vm_extensions.sh rg--mgmt ********* tfstate 7e1-e657---************: fork/exec ./delete_vm_extensions.sh: permission denied
i have got it working again after copying the new default windows resource and modifying it as needed.

Ok, closing this if you are sorted, let us know if need further help.


OAuth not working

I have been using the most recent version of the extension (1.2.4), utilizing "NLAuth". I recently tried switching to TBA or OAuth and it is just not working. I keep getting the error "ERROR uploading file. | You might need to update the vscodeExtensionRestlet.js RESTlet in NetSuite to the latest version. | Use Help…Toggle Developer Tools and choose the Console tab for a better formatted error message." I am a very experienced NetSuite developer, and I have been working with TBA and RESTlets since they released the feature, so i know some of the nuances. Any one else have issues using TBA on a Windows machine?

Nevermind. Issue was that my workspace had the correct settings, but NLAuth was defined in my user settings. Good to know that both places cannot have NLAuth defined.


Adding support for Windows

Monkey-patched into separate branch. Required stripping out VLA, which is not supported in MSVC


RedTilesComposition unable to set Width and Height

RasterSlice transformation is not supported:
Line128:
for (SliceInfo tile : composition.tiles) {
			if (tile.is_empty) {
				continue;
			}
			final Raster child = tiles.get(tile);
			final AssetID child_asset_id = child.getAssetId();
			RenderMachine.drawRaster(child_asset_id, child.shape(),
					child.getOpacity() * opacity);
		}

also get dimensions
and set origin relative issues


How to make variable reassignement under quantifier ?

I cannot make the following go through, what would be the appropriate way to prove it ?
Is there a nice pattern to add ?
module Test

val test: p:(int -> Tot bool) ->
  Lemma (requires (forall (i:int). i >= 0 ==> p (i+1)))
	(ensures (forall (i:int). i >= 1 ==> p i))
let test p = ()

You can use the following cut statement in your proof to help FStar to find the right instantiation:
let test p = cut (forall (i:int). i >= 1 ==> i-1 >= 0)


Weird try bug

While debugging why a k6 script stopped working (thanks btw for the awesome JS VM :tada: ), I found that something very strange happens and was pretty sure it has something to do with __proto__ and setPrototypeOf(as the problem was with a polyfill for it), but it turned out to have nothing to do with them it is just the end effect.
After probably a couple of hours I managed to produce this k6 script (I also have a test for goja later on so no need to use k6 for debugging :)):
var mod = {};
var f = function(){}
(function(module) {
    module.prop1 =function() {
        try {
            throw new Error("something");
        } catch (error) {
        }

        return function() {
            if (false) {
                f()
            }
            return true
        };
    }()
}(mod))

console.log(typeof mod.prop1);

which is the minimalist I could get it that still breaks.
The problem is that mod.prop1 is "undefined" and not "function". This gets "fixed" if:

there is var e = error in the catch (or for that matter there is anything done with the error), but just console.log("something") isn't enough
the function being returned is ... simpler? I don't know how to explain it but if it doesn't have an if with something inside it - it doesn't trigger.

I also produced a test to catch this ... with hopes that I will fix it ... but it seems a little bit over my head :(
My guess is that this is something with the stack getting borked, but can't tell you why any of the above "fixes" it :man_shrugging:
For the record an update of goja in k6 just changed which parts of the polyfilled get executed, so it isn't anything new as far as I can tell and also is still broken in the es6 branch :(
Also .. it might not be try, but it is what I have produced it with :(

Thanks for reporting this with a clear test case. I spotted the stack leak pretty quickly, what took most of the time is understanding why it worked elsewhere 😄

Thanks for fixing it so fast :D :tada:


Import primary image tags

*Added unit test for tag ensure
*Added code for ensuring primary image tags on import
Signed-off-by: Bret Fontecchio<EMAIL_ADDRESS>

Release notes updated.


Video only plays for 1 second

Hi all, so i have the following code
<Video source={video}
      ref={(ref) => {
      this.player = ref
    }}
     rate={0.1}
     volume={1.0}
     muted={false}
      paused={true}
       resizeMode="cover"
      style = {{flex: 1}}/>
And the video is called in a touchableOpacity component's onpress method, with invokes the two functions this.player.presentFullscreenPlayer();     this.player.seek(0);
And when i play the video, it plays for 1 second and then stops. the music continues to play, but the video image does not change at all.
However, whenever i used the slider to seek ( pan ) to a new part of the video, the video will again play 1 second from the new position and then freeze, with the audio acting completely as expected.
I've made the video in iMovie and exported it to an mp4. I thought that lowering the quality of the video would help but the issue still exists.
Any help would be much appreciated, seems to be such a weird issue

paused={true} , maybe?

Is this a build for iOS/tvOS? If so have you tried running it on a real device? I was having similar symptoms when running on the simulator. But when I tried on a real device it worked as expected.

same problem here no solution

Same problem on iOS, but only seems to be an issue in the simulator. Works as expected on a real device. Would still be nice to have this resolved.

There seem to be some more things that don't work in the simulator:

Dismounting a video component and remounting another (when in fullscreen mode)
Dismissing the fullscreen player when it reaches the end
Reloading the app while the fullscreen player is running


Uninformative display string for E128

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
If code style linting is enable, the editor displays a tooltip describing errors when you hover the cursor over the orange triangle in the margin. For example you might see
pycodestyle [W504]: W504 line break after binary operator

If you trigger E128 the error message is uninformative. It reads something like:
pycodestyle [E128]: E128 6

In other words, there is no textual description of what E128 means. I believe this worked in Spyder 3.x, but don't have it installed to check.
As an aside, displaying the error/warning number both in and outside the brackets seems redundant, but perhaps you don't have control over that, or there are cases where they might be different?
What steps reproduce the problem?
E128 is for continuation line under-indented, so put the following in an edit window:
print(3 +
   4)

in the editor.
What is the expected output? What do you see instead?
Something similar to
pycodestyle [E128]: E128 continuation line under-indented for visual indent

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: 4.0.0b2
Python version: 3.7.3 64-bit
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Windows 7

Dependencies

pygments >=2.0     :  2.4.2 (OK)
qdarkstyle >=2.6.4 :  2.7 (OK)
sphinx >=0.6.6     :  2.1.2 (OK)
pyls >=0.19.0;<0.25:  0.24.0 (OK)
nbconvert >=4.0    :  5.5.0 (OK)
pandas >=0.13.1    :  0.24.2 (OK)
numpy >=1.7        :  1.16.4 (OK)
sympy >=0.7.3      :  1.4 (OK)
cython >=0.21      :  0.29.12 (OK)
qtconsole >=4.2.0  :  4.5.1 (OK)
IPython >=4.0      :  7.6.1 (OK)
matplotlib >=2.0.0 :  3.1.0 (OK)
pylint >=0.25      :  2.3.1 (OK)

Thanks for reporting. This is not something we can solve here though.
This is basically a duplicate of this issue in our dependency that handles linting and code completion in the editor.

As an aside, displaying the error/warning number both in and outside the brackets seems redundant, but perhaps you don't have control over that, or there are cases where they might be different?

This is fixed in beta4, please update.


Multiple Versions of Lidl Livarno Light Bar

Hi,
I've recently bought a Livarno Light Bar from the Lidl Online Shop, which seems to be a different version than this supported model.
Unfortunately I'm having the same issue with ZHA and Home Assistant as described in this thread:
#https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5900
Here is the Zigbee signature of my device, which you might want to add as not fully compatible to the database.
{   "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",   "endpoints": {     "1": {       "profile_id": 260,       "device_type": "0x010d",       "in_clusters": [         "0x0000",         "0x0003",         "0x0004",         "0x0005",         "0x0006",         "0x0008",         "0x0300",         "0x1000",         "0xef00"       ],       "out_clusters": [         "0x000a",         "0x0019"       ]     },     "242": {       "profile_id": 41440,       "device_type": "0x0061",       "in_clusters": [],       "out_clusters": [         "0x0021"       ]     }   },   "manufacturer": "_TZ3210_iystcadi",   "model": "TS0505B",   "class": "zigpy.device.Device" }
Thanks!

I encountered the same problem. I already made a zha issue for this here:
https://github.com/zigpy/zha-device-handlers/issues/1567
(but no solution at the moment)


Unable to reach higher latency network servers after 2.5.0

Is this a bug or a feature request?
Bug
What did you expect?
I have deployed an infrastructure on AWS with a single lora-app-server in Europe and multiple lora-server all over the world configured for different LoRaWAN regions
What happened?
Starting version 2.5.0 all lora-server located in Asia Pacific are unreachable by lora-app-server.
If I go back to 2.4.1 everything works as expected
What version are your using?
2.5.0+
How can your issue be reproduced?
lora-app-server deployed on AWS Frankfurt datacenter
lora-server deployed on AWS Seoul datacenter
Could you share your log output?
time="2019-04-25T06:20:06Z" level=debug msg="sql query executed" args="[me 161]" duration=3.993231ms query="select count() from (\n\tselect 1\n\tfrom "user" u\n\tleft join organization_user ou\n\t\ton u.id = ou.user_id\n\tleft join organization o\n\t\ton o.id = ou.organization_id\n\tleft join gateway g\n\t\ton o.id = g.organization_id\n\tleft join application a\n\t\ton a.organization_id = o.id\n\tleft join service_profile sp\n\t\ton sp.organization_id = o.id\n\tleft join device_profile dp\n\t\ton dp.organization_id = o.id\n\tleft join network_server ns\n\t\ton ns.id = sp.network_server_id or ns.id = dp.network_server_id\n\tleft join device d\n\t\ton a.id = d.application_id\n\tleft join multicast_group mg\n\t\ton sp.service_profile_id = mg.service_profile_id\n where ((u.username = $1) and (u.is_active = true) and (u.is_admin = true)) or ((u.username = $1) and (u.is_active = true) and (ou.is_admin = true) and (ns.id = $2)) limit 1) count_only"
time="2019-04-25T06:20:06Z" level=debug msg="sql query executed" args="[161]" duration=1.003638ms query="select * from network_server where id = $1"
time="2019-04-25T06:20:06Z" level=warning msg="creating insecure network-server client" server="lora-cn1.xxx:xxx"
time="2019-04-25T06:20:06Z" level=debug msg="parsed scheme: """
time="2019-04-25T06:20:06Z" level=debug msg="scheme "" not registered, fallback to default scheme"
time="2019-04-25T06:20:06Z" level=debug msg="ccResolverWrapper: sending new addresses to cc: [{lora-cn1.xxx:xxx 0  }]"
time="2019-04-25T06:20:06Z" level=debug msg="ClientConn switching balancer to "pick_first""
time="2019-04-25T06:20:06Z" level=debug msg="Subchannel Connectivity change to CONNECTING"
time="2019-04-25T06:20:06Z" level=debug msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0007ee690, CONNECTING"
time="2019-04-25T06:20:06Z" level=debug msg="sql query executed" args="[]" duration="727.798µs" query="\n\t\tselect\n\t\t\tg.\n\t\tfrom gateway g\n\t\tinner join network_server ns\n\t\t\ton ns.id = g.network_server_id\n\t\twhere\n\t\t\tns.gateway_discovery_enabled = true\n\t\t\tand g.ping = true\n\t\t\tand (g.last_ping_sent_at is null or g.last_ping_sent_at <= (now() - (interval '24 hours' / ns.gateway_discovery_interval)))\n\t\torder by last_ping_sent_at\n\t\tlimit 1\n\t\tfor update"
time="2019-04-25T06:20:07Z" level=debug msg="Subchannel Connectivity change to SHUTDOWN"
time="2019-04-25T06:20:07Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=Get grpc.service=api.NetworkServerService grpc.start_time="2019-04-25T06:20:06Z" grpc.time_ms=505.681 peer.address="<IP_ADDRESS>:43246" span.kind=server system=grpc
Version 2.4.1 will easily get:
time="2019-04-25T06:27:14Z" level=debug msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0004a5f70, READY"
Version 2.5.0+ will fall to shutdown:
time="2019-04-25T06:20:07Z" level=debug msg="Subchannel Connectivity change to SHUTDOWN"

The above logs only contain info and debug logs. Could you provide the exact error?

I actually didn't manage to get much more, the only thing I could add is that I get a popup context deadline exceeded (code: 2) when I try to go on the Network Server page

Is this issue still relevant?


operator-sdk 1.11 fails on hardcoded service account

Deleting bundle/manifests/dex-operator-controller-manager_v1_serviceaccount.yaml fixes https://github.com/open-cluster-management/backlog/issues/16017 and I have confirmed everything still functions correctly.
I am wondering if all of the references to v1.9.0 in the scorecard directories should also be bumped but I don't believe we're using the scorecard yet.

/lgtm


Trigger maybeIncrementLeaderHW in the alterISR request callback

This PR should fix the super high Produce latency during uncontrolled broker death.
Description
Today, the maybeIncrementLeaderHW is called after shrinkISR() being called:
https://github.com/linkedin/kafka/blob/3475c3a1b998ec3416692f304b5c82b5f0781576/core/src/main/scala/kafka/cluster/Partition.scala#L1006
The problem is shrinkISR() internally sends the AlterISR request to controller in an async manner. By the time maybeIncrementLeaderHW is called, the ISR state on the current broker is likely not updated yet.
This PR invokes maybeIncrementLeaderHW in the callback of the AlterISR request, making sure the ISR state has been updated when trying to incrementLeaderHW.
With this change, the Produce Delay should be capped at ShrinkISR duration (potentially plus controller queue length), comparing to the previously infinite wait time.
Testing
In cert-candidate cluster, before the change, lots of request are timeout on broker hard-kill

After the change, the produce delay is capped at replicaLagMaxMs * 1.5 = 15 seconds

Can't argue with the results, though--2x speedup in cert, potentially 8x in regular clusters? Nice.
@groelofs  Exactly. 8X is what I would expect from regular clusters.

I did some research:
Upstream tried a similar fix for KAFKA-13091
https://github.com/apache/kafka/pull/11245
And ends up with a deadlock issue KAFKA-13254
https://github.com/apache/kafka/pull/11289
Though the code differs a lot; we may still want to check if we run into similar case

I did some research:
Upstream tried a similar fix for KAFKA-13091 apache#11245
And ends up with a deadlock issue KAFKA-13254 apache#11289
Though the code differs a lot; we may still want to check if we run into similar case.
Also, we should include relavant EXIT_CRITERIA here^.

Nice find! Unfortunately, the upstream fix looks sufficiently lengthy and complex that I'm not sure I'd trust it to carry over even if the code were more similar to ours.  But I do like the extra validation that Hao's fix is needed, even if the implementation needs a bit more finesse.

Upstream tried a similar fix for KAFKA-13091
https://github.com/apache/kafka/pull/11245

Oh wow... I didn't realize Kafka has a ticket system. When I investigated the issue, I tried to search github issues and KIP, but failed to find anything related. If I know this earlier that may save me 2 days! Thanks very much for bringing up the reference. Let me take a look at the upstream fix.

Nice find! Unfortunately, the upstream fix looks sufficiently lengthy and complex that I'm not sure I'd trust it to carry over even if the code were more similar to ours. But I do like the extra validation that Hao's fix is needed, even if the implementation needs a bit more finesse.

Actually the only functional difference is upstream triggers tryCompleteDelayedRequest after incrementHW, and I'm relying on other places that triggers tryCompleteDelayedRequest. However on a most recent glance, I didn't find any tryCompleteDelayedRequest could be triggered if there is no new Produce request. In that case, I don't even know how my fix actually solved the issue. Another mystery... That said, I may end up with bringing upstream changes. The good side is that makes us one step closer to the upstream, and is potentially beneficial if in the future we decide to merge upstream for KRaft.
Let me think about it more and test it a little bit more.

Tested with Nurse disabled (broker not brought back immediately after hard-kill):

Turns out the produce latency can be still high. The reason should be DelayedProduce is not tried to complete, exactly like what Huilin mentioned. So essentially maybeIncrementWatermark should always followed with tryCompleteDelayedRequests, otherwise the new HWM may not help with the completing the DelayedProduce.
Will consider to open another PR by bringing up open source change.

With the new updates (tryCompleteDelayedRequests after increment HW), the max latency is now capped at ~15 seconds even if nurse does not bring the dead broker back immediately.


Use class/package name as id and ref in the DocBook export

the xstls production the html help will use these as file names

This can be closed - as we are no longer using docbook


Replace the HashRouter with BrowserRouter

We're currently using HashRouter in https://github.com/openeew/openeew-dashboard/blob/master/web/client/src/Router.js#L7
Personally I'd prefer to use BrowserRouter as with the Prometeo dashboard so we have clean URLs:
https://github.com/Call-for-Code/Prometeo-Dashboard/blob/master/prometeo-dashboard/src/App.js#L20
I'm not sure if anyone else has a strong opinion. @rdkelley @JohnyTheCarrot?

Definitely BrowserRouter -- I put HashRouter in there initially since the Carbon docs said BrowserRouter requires a bit more configuration to work on Cloud Foundry. But we should switch to BrowserRouter soon.

Whoops, missed this. No strong opinion. BrowserRouter is what I usually use.

Closing based on merger of #39. Thanks @JohnyTheCarrot!

Closing based on merger of #39. Thanks @JohnyTheCarrot!


Can all parties use the same preparam?

Can anyone explain what the role of preparam is? What problems will there be if all participants are allowed to use a fixed number of preparams?

The pre-parameters h1j, h2j, and NTildej are used in sigma PoK protocols, as to commit to private value x, h1^x * h2^r for random r. The prover should not know the relation of h1 and h2=h1^k, otherwise he can easily commit a fake value x' by setting x'+kr'= x+kr; So the pre-parameters would be provided by the verifier side.
On the other side, the verifier should not be able to extract private value from the commitment of prover, so it needs to prove that pre-parameters are safe, like zkmod or zkprm does.
If there is a multi-party protocol that can generate these pre-parameters jointly, then we can use only one set of pre-parameter, and simplify the signing protocol significantly. I know there are some protocols, but not sure if it is practical or not. And if we can assume a trusted third party, then we can use it to generate pre-paremeters.

I plan to use tsslib in web pages through wasm technology, but we found that generating pre-parameters is too slow in wasm. Therefore, we plan to generate these pre-parameters in advance on the server side and consume them when created tss key.

The pre-parameters h1j, h2j, and NTildej are used in sigma PoK protocols, as to commit to private value x, h1^x * h2^r for random r. The prover should not know the relation of h1 and h2=h1^k, otherwise he can easily commit a fake value x' by setting x'+kr'= x+kr; So the pre-parameters would be provided by the verifier side. On the other side, the verifier should not be able to extract private value from the commitment of prover, so it needs to prove that pre-parameters are safe, like zkmod or zkprm does. If there is a multi-party protocol that can generate these pre-parameters jointly, then we can use only one set of pre-parameter, and simplify the signing protocol significantly. I know there are some protocols, but not sure if it is practical or not. And if we can assume a trusted third party, then we can use it to generate pre-paremeters.

We plan to use tsslib in web pages through wasm technology, but in practice we found that generating pre-parameters is too slow. Therefore, we intend to generate these pre-parameters in advance on the server and consume them when created tss key.


link is not working discord GitHub Organization

It's great having you contribute to this project Welcome to the community :nerd_face:If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.
Originally posted by @github-actions in https://github.com/EddieHubCommunity/LinkFree/pull/3238#pullrequestreview-1244913393
The link of _discord_ and _GitHub Organization_ did not open on Git Application.

@Himanshuch8055 can you elaborate your issue a little bit more.
For me links are working fine.
What system do you use what do you mean by git application?

@Himanshuch8055 can you elaborate your issue a little bit more.
For me links are working fine.
What system do you use what do you mean by git application?

Ohhh I think @Himanshuch8055  created this issue because they got a failed action while adding their profile. They haven't given the json file the correct name. Pradumna has mentioned this in the issue

@Himanshuch8055 can you elaborate your issue a little bit more.
For me links are working fine.
What system do you use what do you mean by git application?

Ohhh I think @Himanshuch8055  created this issue because they got a failed action while adding their profile. They haven't given the json file the correct name. Pradumna has mentioned this in the issue #3238

@schmelto I mean GitHub App.

@schmelto I mean GitHub App.

I'm on the mobile app and it's working fine for me can you make a screen recording?

@ChinmayMhatre Yes you are right. I'm failed when I add my profile.
What I do to fix this issue?

@ChinmayMhatre Yes you are right. I'm failed when I add my profile. What I do to fix that issue?

Pradumna left a message on how to fix the issue.

@ChinmayMhatre Yes you are right. I'm failed when I add my profile.
What I do to fix that issue?

Pradumna has suggested some changes in #3238 .  you can ask any questions you have over there. This issue can be closed.

https://user-images.githubusercontent.com/94627200/212033382-9968ad96-6236-40c3-a3c9-82aa55660a8f.mp4
I'm taking about GitHub-actions (bot) massage.

https://user-images.githubusercontent.com/94627200/212033382-9968ad96-6236-40c3-a3c9-82aa55660a8f.mp4
I'm taking about GitHub-actions (bot) massage. @ChinmayMhatre

Ohhh yeah! This doesn't work for me either. I am using the github app

@ChinmayMhatre The URLs is wrong given by GitHub-actions (bot).

Strange for me it's working just fine 🙈

@Aadarsh805 could you try this out?

@Aadarsh805 could you try this out?

It's working perfectly fine for me

@Himanshuch8055 @Aadarsh805  what network providers are you using?

@Himanshuch8055 @Aadarsh805 what network providers are you using?

Jio Fibre

working fine for me too

@schmelto @ChinmayMhatre @Aadarsh805 @HarshDeep61034
Thank you for your feedback. I think problem is my side. So, I close this issue guys.


parsing_exception

hihi @dncrews i have use your example to build query like that
{
    "size": 10,
    "filter": {
        "and": [
            {
                "term": {
                    "appkey": "710659"
                }
            }
        ]
    }
}

and i receive error when using  https://github.com/elastic/elasticsearch-js
{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "Unknown key for a START_OBJECT in [filter].",
"line": 1,
"col": 21
}
],
"type": "parsing_exception",
"reason": "Unknown key for a START_OBJECT in [filter].",
"line": 1,
"col": 21
},
"status": 400
}
But when im modify the query like that, im fine
{
  "query": {
    "bool": {
      "filter": [
        {
          "term": {
            "appkey": "710569"
          }
        }
      ]
    }
  },
  "size": 10
}

so you can suggest me how can fix that when using your project

update:
I have error when using lastes version of elastic


sharedInterval tinylicious tests are flaky

It has a 85% pass rate over the past 2 weeks:
https://dev.azure.com/fluidframework/public/_test/analytics?definitionId=11&contextType=build

looking at recent runs i don't see failures. my improvements to the op processing controller likely fix it #4718

looking at recent runs i don't see failures. my improvements to the op processing controller likely fix it #4718


Movement component should take delta into account

Not that important though I guess!!!!!

I should keep it open tho...


Hue Light stuck in "executing command" status - until new Node-red Deploy.

Did a fresh install of HueMagic 4.1.2 (my last version was 3.0.0), on the latest Raspbian Bullseye (today, March 21st, 2022).
I noticed that my Hue Lights get stuck in the "executing command" status, after working correctly for one ON/OFF cycle.

When trying to troubleshoot with the "philipshue-events" node, the output is this (every second)

Seems like node-red is trying to update the Bridge, but it doesn't seem to be working.
When doing a new deploy in node-red, issue is (temporarily) solved, until the next on/off cycle.
Is anyone experiencing the same issue?
I can reproduce with any simple flow, using a HueMagic Light.

Node-RED version: 2.2.2
NodeJS version: 14.19.1
Device running Node-RED: Raspberry Pi

HueMagic version; 4.2.1
Hue Bridge version; BSB002 / 1.50.1950111030

The "update" comes from the bridge API V2 and just means there is a "status update" (on/off/color/brightness/etc...) from a device.

@NodeRedFan if it's not working for you, just use the Philips-events node and switch the data for the response you need. It's a workaround but works great.

Well, the thing is that the whole "Hue Bridge" seems to jam, if it occurs on one of the lights.
So once the situation jams, no more updates follow from the Bridge API V2 either.
I have the impression that it occurs after I set a light (again) to a previous value. So entering "true" when the light was already on, or "false" when it was already off...
Now trying it with a toggle, and that seems to hold longer.

@andesse Even stranger actually - when the Bridge blocks for one light, I can still switch another light (but only 1x) before that blocks as well...

@NodeRedFan i have only ONE situation in my setup where I control two lights. And that's the bed-lamps of my wife and me, that can turned off separately with a switch. In all other cases I just trigger scenes. Can recommend for a zero-issue setup.

@andess - Using Scenes and Groups (to turn off) now, and that seems to be more stable indeed.
Still hoping to get the lights "fixed" in one of the following releases, of course. But hey, that's the thing about "bleeding-edge" releases :)

Cool that it works for you.
I actually turn off whole groups.
Andreas

Am 22.03.2022 um 09:39 schrieb NodeRedFan @.***>:

@Andess - Using Scenes and Groups (to turn off) now, and that seems to be more stable indeed.
Still hoping to get the lights "fixed" in one of the following releases, of course. But hey, that's the thing about "bleeding-edge" releases :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Hello all, with me it is exactly the same behavior (unfortunately). Currently, I have been able to reproduce the behavior with a wireless socket (from Osram) and with one from (Ikea / Tradfri). But it does not work with the original philips lamps as well. But controlling the sockets or lamps from the HUE-App (Android) works well.
Nodered: v2.2.2
HueMagic: v4.4.2
best regards, Ulf

Happens here too, on a single light bulb, reproducible within seconds. Gets stuck and doesn't accept any commands anymore until redeploy.
Removed huemagic and doing the command with FHEM now, which does it with no issues.

Fresh install, also have this issue. Locks up after just few cycles.
Nodered: v2.2.2
HueMagic: v4.2.2

@Furrypaw delete HueMagic, make your own https requests. Problem solved.

Can confirm this issue as well

Here my repository for https HUE API V2. It's just a flow with everything you need. https://github.com/andesse/node-red-hue-api.v2-flows

Unfortunately, I got tired of waiting. I just stopped using this plugin and went straight to http call. It's super easy.
https://developers.meethue.com/develop/get-started-2/#follow-3-easy-steps

@smistrydev that is what my flow is using, just api v2 and not v1. V1 will be depreciated soon.

Same problem here!
I solved it by moving two versions back via:

cd ~/.node-red
npm uninstall<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>
(tested with 4.2.2 and 4.2.1 = stuck!)
The issue seems to be related to #315

I have the same issue

I have the same issue

@Orochica just use my flow example as recommended and you’ll never have any issue again. Thank me later. :)

@andesse I thank you now ;-)
I step back from huemagic and took your route ..
Nice move

@andesse I thank you now ;-)
I step back from huemagic and took your route ..
Nice move

@jemmail it felt just so necessary haha. Thanks for feedback

Same bug here. Now trying to use a new node or create my own http requests as suggested. :(
RIP Huemagic
Now observing if anyone forks this amazing project to not allow it die forever.

@toaster-code you are welcome to join my repository and happy Hue users

@toaster-code you are welcome to join my repository and happy Hue users Don’t waste time for other contrib. Http will be stable

Thanks. In fact I am right now reading your instructions. Very nice work by the way.
The thing is I miss having a "plug-and-play" solution. That is why I loved Huemagic. Nothing else to do except get a token, setup the Huebridge and think about my switches, lamps, groups and sensors, filtering by their UUID.
I am reading your docs and it seems that users need to learn and be cautious before using your work.
I really liked to have everything hidden under the hood of HueMagic and as I understand the low level logic stays visible as flows. I will give it a try and give my feedback.
Thank you.

@toaster-code just don’t deploy without yadomi contrib. That’s all.

just follow the link already sent and send HTTP requests with two nodes (just need to tweak the URL adresses to decide what to do)
to see your lamps:
[
{
"id": "0f48caf49ebb9409",
"type": "http request",
"z": "a90cb775b4fe69cd",
"name": "Status HUE",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "http://<IP_ADDRESS>/api/YOURAPICODE/lights",
"tls": "",
"persist": false,
"proxy": "",
"authType": "",
"senderr": false,
"credentials": {
"user": "",
"password": ""
},
"x": 390,
"y": 120,
"wires": [
[
"d617ea837ef0b097",
"ccf71e81eac3effa"
]
]
},
{
"id": "9e11b35a2bdd0b08",
"type": "inject",
"z": "a90cb775b4fe69cd",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 190,
"y": 120,
"wires": [
[
"0f48caf49ebb9409"
]
]
},
{
"id": "d617ea837ef0b097",
"type": "debug",
"z": "a90cb775b4fe69cd",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 600,
"y": 120,
"wires": []
},
{
"id": "ccf71e81eac3effa",
"type": "debug",
"z": "a90cb775b4fe69cd",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload["7"].state.on",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 630,
"y": 180,
"wires": []
}
]
and to send a command for example colortemperature to 2700 to lamp 12:  (please note you have to send the number ct=1000000/ColorTemperature)
[
{
"id": "5e09b7f927ee57c9",
"type": "function",
"z": "a90cb775b4fe69cd",
"name": "Colore 2700",
"func": "msg.headers = {}\nmsg.method = "PUT"\nmsg.url = "http://<IP_ADDRESS>/api/YOURAPICODE/lights/12/state\" ;\nmsg.headers["content-type"] = "application/json"\n\n\nmsg.payload = {\n"on":true,\n"ct": 370,\n};\n\nreturn msg",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 350,
"y": 340,
"wires": [
[
"439aef07606fff5f"
]
]
},
{
"id": "439aef07606fff5f",
"type": "http request",
"z": "a90cb775b4fe69cd",
"name": "",
"method": "use",
"ret": "obj",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"authType": "",
"senderr": false,
"credentials": {},
"x": 550,
"y": 340,
"wires": [
[
"42017a7c91d5893c"
]
]
},
{
"id": "658b602c2d2c1c55",
"type": "inject",
"z": "a90cb775b4fe69cd",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 140,
"y": 340,
"wires": [
[
"5e09b7f927ee57c9"
]
]
},
{
"id": "42017a7c91d5893c",
"type": "debug",
"z": "a90cb775b4fe69cd",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 730,
"y": 340,
"wires": []
}
]

I had the same issue here, I simply moved my raspberry pi close to my router, and  that solved the problem.
It seems that network delay can cause that

I had the same issue here, I simply moved my raspberry pi close to my router, and that solved the problem. It seems that network delay can cause that

In my case I had VM and and hue bridge connected to same router. The delay should be negligible. Issue was still present.

@Furrypaw @ismaia just use my repo, it is maintenance free and just needs a bit more time to setup.
https://github.com/andesse/node-red-hue-api.v2-flows

This bug still exists and I have it. Make is useless. I needed to reinstall my rasp with all smart home and now stuck with this bug.
Node-RED version: v4.0.2
Node.js  version: v20.16.0
HueMagic version: 4.2.2

This bug still exists and I have it. Make is useless. I needed to reinstall my rasp with all smart home and now stuck with this bug.
Node-RED version: v4.0.2
Node.js  version: v20.16.0
HueMagic version: 4.2.2

@adis1987
Please use my respository and you will never have a Problem again. It is easy to setup, just follow the step by step instructions.
https://github.com/andesse/node-red-hue-api.v2-flows
Greetings
Andreas


safeeyes: use xprintidle and xprop

Description of changes
xprintidle-ng isn't maintained, and the xprintidle all distros are using
is the current xprintidle package. furthermore, safeeyes fails to locate
xprintidle-ng.
xprop was also missing.
I tested this on 22.05 and it works, but I can't run safeeyes on master because of this error:
Traceback (most recent call last):
  File "/nix/store/4ip04hz4g1yyqh2yadinrhz5aiv0ayah-safeeyes-2.1.3/bin/..safeeyes-wrapped-wrapped", line 6, in <module>
    from safeeyes.__main__ import main
  File "/nix/store/4ip04hz4g1yyqh2yadinrhz5aiv0ayah-safeeyes-2.1.3/lib/python3.10/site-packages/safeeyes/__main__.py", line 32, in <module>
    from safeeyes import utility
  File "/nix/store/4ip04hz4g1yyqh2yadinrhz5aiv0ayah-safeeyes-2.1.3/lib/python3.10/site-packages/safeeyes/utility.py", line 43, in <module>
    gi.require_version('Gtk', '3.0')
  File "/nix/store/gipin543iy3insvp27jp1f4cycjcsm1h-python3.10-pygobject-3.42.2/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[x] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module
[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1230

Please rebase.

Looks like another commit added xprintidle, but xprop was still missing. Updated.


Fix popen error check warnings hxemem.c

Fix error checks to popen in hxemem.c
The popen man page says it will only return NULL on error.
This removes checking against -1.  These unnecessary checks were also
producing a lot warnings like:
../hxemem64/hxemem.c:1131:23: warning: comparison between pointer and integer
These warnings are now gone.

Rebased on latest master branch as previous version depended on the TOPDIR patch that wasn't acceptable.


Missing images: B001288, W000818

It seems that the image for Cory Booker - B001288 is missing.

Can we get an update for W000818? It seems he's up on BioGuide now: http://bioguide.congress.gov/scripts/biodisplay.pl?index=W000818

I just gave it a quick run but it didn't pick up John Walsh W000818. It might be because W000818 isn't in https://github.com/unitedstates/congress-legislators/blob/master/legislators-current.yaml.
Output: http://pastebin.com/jqUBztFS

John Walsh lost his election, so should no longer be in legislators-current.

How about Cory A. Booker B001288?

He won his election and is in current-legislators.yaml.

Hmm, so B001288 is there https://github.com/unitedstates/congress-legislators/blob/master/legislators-current.yaml#L37093
And we don't already have the image in  https://github.com/unitedstates/images/tree/gh-pages/congress/original
But it's not showing in the script output: http://pastebin.com/jqUBztFS
That's probably because by default it looks for the 113th congress. But running for the 114th returns no links. I've created a new issue for this: https://github.com/unitedstates/images/issues/22

See #25.

This can be closed when https://github.com/unitedstates/images/pull/39 is merged.


UGH update?

Oh what I changed
its going to be %rng_random%, %rng_INT% and %rng_INT,INT%
for just an integer it will set it as the minimum and for double it will automatically find the max and the min


PR1199 redo: Answer with sendonly when remote is recvonly

This is a re-application of the commits from PR1199, as the author appears busy with other stuff.
But, it was nice of him to figure this out.
The original PR is the best place for the background:
#1199
The short introduction from original author longsleep  is:

When receiving a remote offer with a transceiver which is recvonly, the
answer must not set the transceiver to a receiving mode to avoid Firefox
from complaining and failing to set the remote description with the
following error:  Answer tried to set recv when offer did not set send
While Chrome is more forgiving and happily sets remote transceiver which
include receive even when the offer did not request ist, this needs to
be changed to get interop with Firefox.

Hello, i tested the patch against the test suggested by @Sean-Der here:
https://github.com/pion/webrtc/issues/717#issuecomment-730123350
and tests failed:
--- FAIL: TestTransceiverDirection (0.44s)
    --- PASS: TestTransceiverDirection/offer_sendrecv_answer_sendrecv (0.03s)
    --- FAIL: TestTransceiverDirection/offer_send_answer_sendrecv (0.00s)
    --- FAIL: TestTransceiverDirection/offer_recv_answer_sendrecv (0.00s)

My suggestion is to add the test to the PR, and edit the PR to make the test succeed.

@aler9 Thank you for pointing this out. Okay, that's a good plan. Thanks

@aler9 thanks for catching that :)
@cameronelliott I will be much faster on this review. It would be huge to have this fixed, hits lots of people.

@cameronelliott are you working on this or do you need help? (this is on my bucket list too)

@cameronelliott are you working on this or do you need help? (this is on my bucket list too)

@aler9 it's really sort of lower on my list, if you want to take a shot at it please go for it! I was planning to get around to it, but it's just not a blocker for me.

@aler9 Okay, the first test was working. I got the last of the three tests working today 2/13, how do you feel about working on the middle test?
I took a look at it, but here is the issue:
Inside of AddTransceiverFromKind(),
it currently doesn't currently handle the case of:  RTPTransceiverDirectionSendonly
And I believe it needs to call:  pc.api.NewRTPSender(track LocalTrack), but there is not a LocalTrack handy, maybe one should be created there?
Anyway, may you want to see if you can get the middle test passing, or have @Sean-Der look at it if that makes sense.
I also added Sean's Test func into the PR.

@cameronelliott I am totally fine with the PR not passing everything! As long as we cut issues/leave things better then we found them I am up for merging anything :)
This isn't a breaking change and if anything will make things better then they were before.

@cameronelliott

sendonly and sendrecv must be compatible, while recvonly and sendrecv must not, therefore it's wrong to block the first case in  rtptransceiver.go

the code can be simplified a lot

the unit test doesn't cover all possible cases

Please take a look at my branch here and feel free to take everything you need.
https://github.com/pion/webrtc/compare/master...aler9:patch-direction

@cameronelliott

sendonly and sendrecv are compatible, while recvonly and sendrecv are not, therefore it's wrong to block the first case in  rtptransceiver.go
the code can be simplified a lot
the unit test doesn't cover all possible cases, i've rewritten it

Please take a look at my branch here and feel free to take everything you need:
master...aler9:patch-direction

@aler9
Alessandro, I spent some time reviewing the changes you made, and I do truly appreciate the things you caught & fixed in my commits, and how you did the same to the tests.
After reviewing both the quantity and amount of changes you made to both the tests and to my code to confirm to the tests prior to your improvements, I'd like to ask you to consider submitting the PR for both the tests you wrote, and the changes you made to my code.
Sure, I could take your code and apply it to my repo/branch, but without your depth of understanding, I feel
better about you doing the PR as I really don't have the depth in this area that you do.
Is that okay with you?
How do you feel about that?
Is there another option I should be offering?
Thanks,Cameron

and we have a merge 🚀 thank you so much @cameronelliott and @aler9 on getting this done. Such a significant improvement.


(PDB-908) Add blocking on visibility of facts data in import/export test

For some reason the facts data is committed (from an AMQ standpoint) but
the test doesn't show it as available for querying. Added a block for
facts like I did for reports to wait for when that data is visible.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/674/


CC0017 virtual props can create infinite loops

Hi.
I just found a weird bug that was crashing our client after changes I made with fixing/modernizing code with code cracker. We have really old codebase, so it might be really bad bad bad construct to use, but still it can broke the app.
And I just found, that I can't replicate it via small snippet.
I tried something like this:
internal class Point : IComparable, IDisposable
		{
			protected int _x;

			protected int _y;

			public Point(int x, int y)
			{
				X = x;
				Y = y;
			}

			public virtual int X
			{
				get
				{
					return this._x;
				}
				set
				{
					this._x = value;
				}
			}

			public virtual int Y
			{
				get
				{
					return this._y;
				}
				set
				{
					this._y = value;
				}
			}

			public int CompareTo(object obj)
			{
				return 1;
			}

			public void Dispose()
			{
			}
		}

		internal class NewPoint : Point
		{
			public NewPoint() : base( 10, 9 )
			{
			}

			public override int X => ( _x - 15 );

			public override int Y => ( _y - 15 );

			public void Offset(int x, int y)
			{
				_x -= x;
				_y -= y;
			}
		}

That translates into this, which gives compile errors:
internal class Point : IComparable, IDisposable
		{

			public Point(int x, int y)
			{
				X = x;
				Y = y;
			}

			public int X { get; set; }

			public int Y { get; set; }

			public int CompareTo(object obj)
			{
				return 1;
			}

			public void Dispose()
			{
			}
		}

		internal class NewPoint : Point
		{
			public NewPoint() : base( 10, 9 )
			{
			}

			public override int X => ( X - 15 );

			public override int Y => ( Y - 15 );

			public void Offset(int x, int y)
			{
				X -= x;
				Y -= y;
			}
		}

But that is not what happened in our codebase. For our classes it converted those base virtual properties into:
		public virtual int X { get; set; }

		public virtual int Y { get; set; }

Which finally lead to the infinite recursion in descendant class:
		public override int X => ( X - Renderer.XScroll );

		public override int Y => ( Y - Renderer.YScroll );

But I can't find a code snippet to replicate this behaviour :/
Here are the files before fixed auto-properties:
https://gist.github.com/jakubsuchybio/4de8b24b83b52bbb7823
https://gist.github.com/jakubsuchybio/1ae46674fcaeb71fe378
I hope you can make something out of it :). I can't :/.
Regards

Bug confirmed. It is related to #699, in that the virtual is being removed. But the problem here is the circular reference. Should be (notice the base. on `:
internal class NewPoint : Point
{
    public NewPoint() : base(10, 9)
    {
    }

    public override int X => (base.X - 15);

    public override int Y => (base.Y - 15);

    public void Offset(int x, int y)
    {
        X -= x;
        Y -= y;
    }
}


feat: verify project structure before patching

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

v7.2.0
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Not working with yarn@berry

I created project with svelte template.
When I run the example code with yarn berry, the dependency @vitebook/client did not install with the following error:
# This file contains the result of Yarn building a package (@vitebook/client@virtual:dc3fc578bfa5e06182a4d2be39ede0bc5b74940b1ffe0d70c26892ab140a4699787750fba175dc306292e80b4aa2c8c5f68c2a821e69b2c37e360c0dff36ff66#npm:0.23.5)
# Script name: postinstall

~\.pnp.cjs:10382
  return Object.defineProperties(new Error(message), {
                                 ^

Error: @vitebook/client tried to access upath, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: upath (via "upath\package.json")
Required by: @vitebook/client@virtual:dc3fc578bfa5e06182a4d2be39ede0bc5b74940b1ffe0d70c26892ab140a4699787750fba175dc306292e80b4aa2c8c5f68c2a821e69b2c37e360c0dff36ff66#npm:0.23.5 (via ~\.yarn\unplugged\<EMAIL_ADDRESS>
    at makeError (~\.pnp.cjs:10382:34)
    at resolveToUnqualified (~\.pnp.cjs:11296:21)
    at Object.resolveToUnqualified (~\.pnp.cjs:11440:26)
    at resolve$1 (file:///~/.pnp.loader.mjs:207:31)
    at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:40)
    at link (node:internal/modules/esm/module_job:78:36)

Example works well with yarn classic.

Same problem


Fix string memory overflow in readString function

The following line in decode_string function makes the failure of file import.

char_buf[str_len] = '\0';

@luigi-rosso could you please review & submit this patch? (if it's acceptable)

Hey @hermet, sorry for the delay here, we'll be reviewing all of the prs today!


Improve validation

What would you like to be added:
Improve the following validations:

Mutually exclusive parameters:

"transition and end properties are mutually exclusive, meaning that you cannot define both of them at the same time."
workflow id and key
...

Exists the events, functions that the state/action references
Exist start, transition, and compensatedBy states
State recursive
...

Why is this needed:
Avoid applications using the SDK to do this validation.

@ribeiromiranda we are looking for contributions to add these validations to the SDK. Are you willing to send a PR?

Yes.


Use ChangeType instead of cast when reading

PostgreSQL has no byte type (tinyint), the accepted usage is to store bytes as smallint (2-byte). However, the resulting (boxed) short can't be downcast to byte. Modified to use Convert.ChangeType() instead.
I hope I'm not missing some other mechanism for custom conversion/casting of values returned from the database.

Hi @roji, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft Open Technologies, Inc. and real humans are currently evaluating your PR.
TTYL, MSOTBOT;

Never mind, I discovered RelationalValueReaderFactory and created a custom version of RelationalObjectArrayValueReader which does the necessary checks and conversions. Must faster than Convert.ChangeType()


Add an API for getting the list of components a function belongs to

What is the feature you'd like to have?
I would like to have an API that returns the list of components a given function belongs to.
Is your feature request related to a problem?
Currently, in order to identify the components a given function belongs to, you have to traverse the component tree and check if each component contains the given function.

We already have this:
>>> bv.get_function_parent_components(current_function)
[<Component "CKTranscriptStatusCell" "(a62178ff...")>]

Also existing are:
bv.get_data_variable_parent_components(dv)
and
component.parent

We agreed it'd be more clear to add a .components API to Function and DataVariable objects, so reopening until this is implemented

Resolved in builds >= 3.4.4231
The python API now has .components attributes for both Functions and DataVariables.


flyway shows wrong info (mvn flyway:info)

using database sqlserver 2014
created maven project, added flyway plugin 3.2.1 in pom.xml
created flyway.properties file at the same path of pom.xml

scenario:
it happens sometime; I am testing my scripts and sometimes I need to delete schema_version table and rerun scripts
but sometime flyway doesn't work correctly
although I deleted the table schema_version, when I run the command ( mvn flyway:info ) it shows me that we have some scripts ran and etc
I tried to resolve the issue with running ( mvn eclipse:eclipse)   ( mvn clean install) ( mvn flyway:repair ) but no resolution

here is my properties file, flyway.properties\
flyway.url=jdbc:sqlserver://MYSERVER:1433;DatabaseName=schema1
flyway.user=sa
flyway.table_name=test_flywa

here is my pom.xml

4.0.0
<groupId>com.test</groupId>
<artifactId>database-scripts</artifactId>
<version>0.0.0</version>
<packaging>jar</packaging>

<name>database-scripts</name>
<url>http://maven.apache.org</url>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
    <finalName>database-scripts</finalName>

    <plugins>
        <plugin>
            <groupId>org.flywaydb</groupId>
            <artifactId>flyway-maven-plugin</artifactId>
            <version>3.2.1</version>
            <configuration>
                <baselineOnMigrate>true</baselineOnMigrate>

                <url>${flyway.url}</url>
                <user>${flyway.user}</user>
                <password>OOOOO</password>
                <schemas>
                    <schema>schema1</schema>
                </schemas>

            </configuration>

            <dependencies>
                <dependency>
                    <groupId>com.microsoft.sqlserver</groupId>
                    <artifactId>sqljdbc4</artifactId>
                    <version>3.0</version>
                </dependency>
            </dependencies>
        </plugin>
    </plugins>
</build>

<dependencies>
    <!-- <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId>
        <version>3.0</version> </dependency> -->

    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.1</version>
        <scope>test</scope>
    </dependency>

</dependencies>

here are a sample result of running ( mvn flyway:info )
however in practice, the table is empty!!!
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building database-scripts 0.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- flyway-maven-plugin:3.2.1:info (default-cli) @ database-scripts ---
[INFO] Flyway 3.2.1 by Boxfuse
[INFO] Database: jdbc:sqlserver://MYSERVER:1433;xopenStates=false;trustServerCertificate=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;packetSize=8000;loginTimeout=15;lockTime
out=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=schema1;applicationName=Microsoft SQL Server JDBC Driver; (Microsoft SQL Server 12.0)
[INFO]
+---------+------------------------------+---------------------+---------+
| Version | Description                  | Installed on        | State   |
+---------+------------------------------+---------------------+---------+
| 0       | << Flyway Schema Creation >> | 2015-09-04 14:47:39 | Success |
| 1       | Baseline script              | 2015-09-04 14:47:39 | Success |
| 1.1     | first script                 | 2015-09-04 14:52:50 | Success |
| 1.2     | first script                 | 2015-09-04 14:52:50 | Success |
| 2.2     | second script                | 2015-09-04 14:52:50 | Success |
| 2.3     | third script                 | 2015-09-04 17:00:26 | Success |
| 2.4     | third script                 |                     | Pending |
+---------+------------------------------+---------------------+---------+
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.290s
[INFO] Finished at: Wed Sep 09 11:22:17 EDT 2015
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------

Thanks for reporting this. Flyway doesn't pull this information out of thin air. It always queries the database to obtain it, hence I strongly suspect the schema_version table is still there. Are you sure you are dropping the correct one in the correct schema?
Please reopen the issue with a link to a GitHub project that reproduces this if you can  isolate it.
Cheers
Axel

Hello i have the same problem here did you resolve your problem sir?


restrict-0x-instant-non-supported-networks

this hides the deposit 0x instant button in favor of some explanation text when we are connected to a network that isn't kovan or mainnet.
closes https://github.com/AugurProject/augur/issues/624

Coverage remained the same at 55.457% when pulling 8a3dfb30f347b8026a3ac7506302b8d18e50f2a3 on restict-0x-instant-non-supported-networks into 94beb4de36848196521a2689845753de5b430045 on master.

Coverage remained the same at 55.457% when pulling 8a3dfb30f347b8026a3ac7506302b8d18e50f2a3 on restict-0x-instant-non-supported-networks into 94beb4de36848196521a2689845753de5b430045 on master.

updated button


Add Rap de Fernanfloo by TheFatRat x Bambiel

Song Name
Rap de Fernanfloo
Artist Name
TheFatRat x Bambiel
Source
Youtube
Youtube Link
Z4y1NvK7ikI
Direct File Link
No response
Song ID
621134
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 20389594
Downloaded: No

accept

it isn't in the auto nong yet :(
On Sat, Oct 19, 2024 at 10:19 PM darwin-eng @.***>
wrote:

accept
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/5211#issuecomment-2424489408,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWWQ5Y74MNDVDWSYPT6HOZTZ4MONHAVCNFSM6AAAAABQHXXOUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUGQ4DSNBQHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Authentik OAuth2 issue

Describe the bug
When i try to configure OAuth2 (using custom template) using Authentik as the provider, i get the following error:
{
"error": "code=500, message=Failed to get user info, internal=failed to unmarshal response body: unexpected end of JSON input",
"message": "Failed to get user info"
}
My configs are like this:

I use Authentik OAuth2 with other services, so far it's just memos that does not like it :swe
Steps to reproduce

Configure Memos SS with Authentik OAuth2 endpoints
Try to login

Screenshots or additional context
No response

I have the same issue

try adding username to user scopes

try adding username to the scopes
openid email profile username

I did actually get it work now, without using the username as a scope. I changed nothing in the settings, but tried in a different computer (instead of my laptop9 when i got home. It might have been some leftover cache that was messing stuff up


+1

*.h5seeds-open.xycdn.com +direct
*.xycdn.com +direct
*.00cdn.com +direct
img1.famulei.com +direct
www.scoregg.com +direct
oyxdwx.com +direct
api-v2.scoregg.com +direct
www.famulei.com +direct
img.famulei.com +direct
f.video.weibocdn.com +direct
img3.miaopai.com +direct
miaopai.video.weibocdn.com +direct
js.yaoyl.com +direct
www.5aikp.com +direct
www.dy8c.com +direct
pic.zhainancat.com +direct
www.zhainanmao.la +direct

Please submit PR, thanks 🙏

我研究下
Willard Wong<EMAIL_ADDRESS>于2020年6月29日周一 下午9:52写道：

Closed #23 https://github.com/ifyour/ipac/issues/23.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ifyour/ipac/issues/23#event-3492837928, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APERXKYMVRYK4Y36QINTTFLRZCMDHANCNFSM4OFPWC4Q
.


Trying to import 'fs'

I've added 'fs' to my package but when I run node 'npm start' it can't find it.
Module not found: Error: Can't resolve 'fs'
Is there some restriction regarding things like 'fs'?
The reason why I want it is because it's helpful to be able to use javascript to modify and parse data to add as mockData. It's just useful while I develop the backend.

fs comes with node so you shouldn't have to add it to your package.json... if i've understood correctly?

@bernatfortet were you able to confirm and close this issue or add more details so we can help?

@bernatfortet I had the same problem when having to include packages that rely on fs in dependencies (because of the way AWS deploys npm apps). The trick to fixing it for me was to add any packages that use fs to the dllPlugin- > exclude array in package.json


virtualbox: virtualbox-hostonly-no-dhcp flag to avoid creation of the…

… dhcp server
https://github.com/docker/machine/pull/3427
@nathanleclaire sorry for the long delay, here is the rebase of my PR
Signed-off-by: Alessandro Siragusa<EMAIL_ADDRESS>

Just to clarify for me -- How will the machine get an IP if not using host only interface DHCP?

@nathanleclaire dnsmasq, here is a snippet from a provisioning script I have written:
local IP1=$(echo "$NETWORK_CIDR" | cut -d. -f 1)
local IP2=$(echo "$NETWORK_CIDR" | cut -d. -f 2)
local IP3=$(echo "$NETWORK_CIDR" | cut -d. -f 3)

cat << EOF | sudo tee /usr/local/etc/dnsmasq.conf
dhcp-leasefile=/var/lib/dnsmasq.leases
bind-interfaces
expand-hosts
local=/$DOMAIN/
domain=$DOMAIN
dhcp-option=3

# Set this to the name of your VirtualBox host-only interface.
# dnsmasq will listen for DHCP and DNS requests on this interface as
# well as the loopback:
interface=$NET_NAME

# Enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
dhcp-range=$IP1.$IP2.$IP3.100,$IP1.$IP2.$IP3.253,240h

# This must be the address of you host on the $NET_NAME network
address=/host.vm/$IP1.$IP2.$IP3.1
EOF

sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

sudo mkdir -p /etc/resolver
echo 'nameserver <IP_ADDRESS>' | sudo tee /etc/resolver/vm

then I create the machine with
docker-machine create -d virtualbox --virtualbox-hostonly-no-dhcp --virtualbox-hostonly-cidr "$NETWORK_CIDR/24" --virtualbox-host-dns-resolver "$MACHINE_NAME"

then, as written in #3427 I am able to resolve default.vm and host.vm in both the vm and the host

Cool.  Thanks for the explanation.
Happy to merge if you will add this to the Virtualbox driver doc please

@nathanleclaire I updated the doc, let me know if it's ok for you.

LGTM
Thanks @asiragusa


The data couldn’t be read because it is missing.

var query = """
*[_type == "crypto"]
"""

will get server data.
but..
var query = """
*[_type == "crypto"] { any key }
"""

will be error with text 'The data couldn’t be read because it is missing.'
I don't know what's going on

hi @JWAutumn
How does your struct that you are decoding into look like? Would be nice with a reproducible snippet

Closing due to inactivity. Feel free to reopen and include a way to reproduce 🙂


Removes base command AzmgmtCommand and AzmgmtItemsListCommand

Closes #5858

Thank you, we'll try to review it ASAP

Thank you, we'll try to review it ASAP


Can't install it

Hi,
I really don't get how to install this. Is there anywhere a really easy step-by-step guide for complete dummies?
I have Windows 10.
Thanks!

This video has helped me! https://www.youtube.com/watch?v=237dNNQhD3Q


fix: add missing semicolons

I found most of code use ; but some lines don't. Just added all missing semicolons. I think we should add an ESLint rule to enforce consistent coding style.

Thank you for the contribution, though this is a duplicate of PR #3939

I wish I see a comment in code like that "Warning: We're moving to StandardJS so semicolons are not necessary" :)

It's a step in the guide for making contributions https://github.com/expressjs/express/blob/master/Collaborator-Guide.md :

Follow the JavaScript Standard Style

Sorry, I am on mobile and was just writing quickly, but I think I should spend some time to ellaborate here: I'm not saying that we cannot change anything with that statement :) I don't think, though, adding comments to every file is really the best method, but perhaps we can ellaborate in our docs and / or figure out how to increase their visibility during the contribution process.

I missed it, just read Contributing.md. It's fine but if you reference to both files from Contributing section in README.md people will find it more easy :)

@tiendq, that would be a great PR to open!  I agree that a new contributor might not know to look at both file, and it would be good to either have in both places, or link to the other from Contributing.md.

Yes, sorry, I had gone to bed before your final response and then your response got lost in my inbox, buried :) Exactly what @wesleytodd said 👍


Update Readme from publish script

Updated the website but need to update the readme separately for tooling.

@facebook-github-bot shipit


Installation requirements

This approach looks really interesting. You've got some info in the README, thanks, but it's not clear to an outsider actually how to get started with this - for example, what software does one need installed? I read through the shell scripts and the readme, and it seems to need a command called node - I have no such command on my (Ubuntu) computer.
Also there's obviously postgres, git... A list of requirements (even maybe an apt install line) would be handy.

Added some info to help with that in #5. Though, we should also explain a bit more about installing OSM API instances.


Support minio s3 storage

fix https://github.com/go-ggz/ggz/issues/5
GGZ_STORAGE_DRIVER=s3
GGZ_MINIO_ACCESS_ID=xxxxxxxx
GGZ_MINIO_SECRET_KEY=xxxxxxxx
GGZ_MINIO_ENDPOINT=s3.example.com
GGZ_MINIO_BUCKET=qrcode
GGZ_MINIO_SSL=true

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   14.68%   14.68%
=======================================
  Files           5        5
  Lines         177      177
=======================================
  Hits           26       26
  Misses        151      151

Continue to review full report at Codecov.

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


Print exception message, when git fallbacks are used

Is this considered done ?

@firecow Yes, i'm considering this as done.