XMLHttpRequest error

I am using Django as backend I am running it on localhost and we applied CORS requirements on Django but still we can not run it on web. However, it works fine in mobile version. Please help me about this problem
Sincerely

We also get this message when we tried to run flutter on web. In main page I am trying to get image names and descriptions of clothes from our database via Django

Hi @ilkergul99
I don't think this is related to Flutter itself, please check out https://github.com/flutter/flutter/issues/57421#issuecomment-811799982
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


[FLINK-3138] [types] Method References are not supported as lambda expressions

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[x] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

This PR fixes a small bug in the TypeExtractor and adds more tests to verify Java 8 method references.

Looks good to me. Has nice tests and the Travis CI failures are cache/jar file issues, i.e., unrelated.
+1 to merge this

Thanks Stephan. Merging...


Replace deprecated call to async_forward_entry_setup

Forwarding setup to config entry platforms should nowadays be done by awaiting hass.config_entries.async_forward_entry_setups.
See https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups/ for more information.

Tested locally in my dev instance.


Add support for "charge_port_door_open" and "charge_port_door_close"

Allow opening and closing of the charge port. Command "charge_port_door_open" stops charging and unlocks charge port so you can plug out the charging cable. "charge_port_door_close" simply closes the charge port if no cable is plugged in.
I tested it locally and it worked.

Thank you. Looks good. Are there any error messages when the charge port is already opened or closed? So we can stop retrying in this cases?

No errors in the Logs. The command succeeds anyway (e.g. Charge Port Open -> "charge_port_door_open" -> the command is executed once, no errors, no repeats even though no movement happend)

Hi everybody,
I can't get it to work in with the latest docker image strangely. (1.2.5)
curl -X POST http://teslabridge:8080/api/1/vehicles/VIN/command/charge_port_door_open
{"response":{"result":false,"reason":"The command \"charge_port_door_open\" is not supported.","vin":"VIN","command":"charge_port_door_open"}}

and logs with successful wake_up
2024/10/17 14:49:20 INFO TeslaBleHttpProxy 1.2.5 is loading ...
2024/10/17 14:49:20 INFO BleControl initialized
2024/10/17 14:49:20 INFO TeslaBleHttpProxy is running!
2024/10/17 14:49:26 INFO received command=wake_up body=map[]
2024/10/17 14:49:26 INFO connecting to Vehicle ...
2024/10/17 14:49:41 WARN failed to perform handshake with vehicle (B): context deadline exceeded
2024/10/17 14:49:41 INFO retrying in 3 seconds
2024/10/17 14:49:46 can't accept: listner timed out
2024/10/17 14:49:46 INFO connection established
2024/10/17 14:49:48 INFO received command=wake_up body=map[]
2024/10/17 14:49:48 INFO sending command=wake_up body=map[]
2024/10/17 14:49:48 INFO successfully executed command=wake_up body=map[]
2024/10/17 14:49:59 INFO received command=charge_port_door_open body=map[]
2024/10/17 14:49:59 ERRO not supported command=charge_port_door_open

All other commands work too. Since it was deployed in 1.2.2 and looking at the code - it should work, right? I'm really confused honestly.

Hi everybody,
I can't get it to work in with the latest docker image strangely. (1.2.5)
curl -X POST http://teslabridge:8080/api/1/vehicles/VIN/command/charge_port_door_open
{"response":{"result":false,"reason":"The command \"charge_port_door_open\" is not supported.","vin":"VIN","command":"charge_port_door_open"}}

and logs with successful wake_up
2024/10/17 14:49:20 INFO TeslaBleHttpProxy 1.2.5 is loading ...
2024/10/17 14:49:20 INFO BleControl initialized
2024/10/17 14:49:20 INFO TeslaBleHttpProxy is running!
2024/10/17 14:49:26 INFO received command=wake_up body=map[]
2024/10/17 14:49:26 INFO connecting to Vehicle ...
2024/10/17 14:49:41 WARN failed to perform handshake with vehicle (B): context deadline exceeded
2024/10/17 14:49:41 INFO retrying in 3 seconds
2024/10/17 14:49:46 can't accept: listner timed out
2024/10/17 14:49:46 INFO connection established
2024/10/17 14:49:48 INFO received command=wake_up body=map[]
2024/10/17 14:49:48 INFO sending command=wake_up body=map[]
2024/10/17 14:49:48 INFO successfully executed command=wake_up body=map[]
2024/10/17 14:49:59 INFO received command=charge_port_door_open body=map[]
2024/10/17 14:49:59 ERRO not supported command=charge_port_door_open

All other commands work too. Since it was deployed in 1.2.2 and looking at the code - it should work, right? I'm really confused honestly.

Same issue here, only "charge_port_door_open" and "charge_port_door_close" are not working. I'm running a docker based on wimaha/tesla-ble-http-proxy:dev on armv7l Raspbian GNU/Linux 11 (bullseye).

See: https://github.com/wimaha/TeslaBleHttpProxy/issues/56


feat: added case for the extension to validate the file

Description

Improve the validate flag to validate only suitable extensions. Close https://github.com/asyncapi/cli/issues/799

Related issue(s)

@AayushSaini101 can you check some tests are failing

@AayushSaini101 can you check some tests are failing

@Souvikns Resolved

/rtm


Can not add md-sets via the category context menu #20

I am referring to the closed issue "Can not add md-sets via the category context menu #20"
The following problem occurred while I was using OpenCards:
OpenCards version: 2.5
Platform: Linux 3.10.0-327.13.1.el7.x86_64Java Version: 1.8.0_91 - Oracle Corporation
Thread[AWT-EventQueue-0,6,main]
java.lang.NoClassDefFoundError: javafx/scene/Parent
info.opencards.CardFileBackend.getSlideManager(CardFileBackend.java:52)
info.opencards.ui.AbstractLearnDialog.prepareFileSession(AbstractLearnDialog.java:159)
info.opencards.core.LearnProcessManager.startProcessing(LearnProcessManager.java:93)
info.opencards.core.LearnProcessManager.startProcessing(LearnProcessManager.java:63)
info.opencards.ui.actions.StartLearningAction.learnCardFiles(StartLearningAction.java:166)
info.opencards.ui.actions.StartLearningAction.actionPerformed(StartLearningAction.java:64)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
I do not know what to do?
Thanks!

I've seen your comment in #20 but having a separate ticket is also fine. I've already started looking into it. It works for me on Ubuntu, and I think it's linux distribution specific.
Did you install java as indicated on
http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04
?
Could you open a terminal and run
find $JAVA_HOME | grep fx

and attach the result to this ticket?

When I run

find $JAVA_HOME | grep fx

there is nothing!

whereis java

java: /usr/bin/java /usr/lib/java /etc/java /usr/share/java
/usr/share/man/man1/java.1.gz
I will install Java (Oracle) on monday when I will be back... I will see...
Thanks!
Best!
Am 04.05.2016 um 15:54 schrieb Holger Brandl:

I've seen your comment in #20
https://github.com/holgerbrandl/opencards/issues/20 but having a
separate ticket is also fine. I've already started looking into it. It
works for me on Ubuntu, and I think it's linux distribution specific.
Did you install java as indicated on
http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04
?
Could you open a terminal and run
|find $JAVA_HOME | grep fx |
and attach the result to this ticket?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/holgerbrandl/opencards/issues/23#issuecomment-216871691

Hi,
after I have installed (Oracle) Java everything works fine! I do not have any issues...
Thank you very much!!!

That's great news. Feel welcome if you've questions or suggestions to make OpenCards even better.


use async DNS to improve performance

While scanning through your code and reading the IMC paper I noticed that you could improve performance drastically by using async DNS - like 'regular' resolvers usually do.
Instead of waiting for a response on a socket before sending out the next request on that socket, you send out the next request - using the same udp socket for multiple queries to multiple remote servers, and us the source IP/port  and query id in the received response to find the corresponding query e.g. in a list associated to the socket used.
With that you do not need to spawn so many threads and still get a LOT of performance.

While true, threads in Go are exceedingly light-weight and is the preferred way of managing this type of behavior in Go. As such, I don't think we want to go down this path at this time.


Update date_c.php

\DateTime::diff() accepts \DateTimeInterface as the first argument

Have you submitted a contributor license agreement? If not, please download the PDF from http://www.jetbrains.org/display/IJOS/Contributor+Agreement and then print it out, sign (mention you github account name there), scan and email to<EMAIL_ADDRESS>

Sent

Ping. What's the update on this? @neuro159?


Move grenade components to shared

About the PR

Moves a ton of grenade components to shared
Why / Balance

Involved with whitelisted item issues with gridinv
Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

FlashComponent, FlashOnTriggerComponent, SmokeOnTriggerComponent, ExplodeOnTriggerComponent, OnUseTimerComponent, and ActiveTimerTriggerComponent all were moved to Shared
:cl: Aexxie

fix: Flashes, Flashbangs, Teargas, and some other items now can be put on secbelts again.

Changed changelog because I somehow forgot about the whole reason I made this for.


Publish high value data sets using Reference Workspaces

We will collect one or more Reference Workspaces at PATRIC that are used by PATRIC curators to import, curate and publish high value omics datasets generated by either other NIAID funded projects or published in literature. PATRIC curators will collect the datasets, upload them to the reference workspace, process them using appropriate services, and publish them at PATRIC. The content of the reference genomes will be accessible to all PATRIC users. In addition, the datasets uploaded in the reference workspaces will be displayed in various contexts throughout the site to make it easier for users to find them.
Requires workspace to allow public sharing of data.

11/18: Per Chris still possible. He believes API calls already exist (with exception of offset), although he needs to test and send Dustin the proper syntax. His goal would be to wrap all the workspace-related requests this week. Tom and Maulik investigating data sets.

11/23: No notification from Chris.  Dustin will ping him and cc Ron.  Maulik has some example data sets that can go in once the service is working.

Monday is probably the best I’m going to be able to do to complete this. I just have too many things on my plate now.
—
Sent from Mailbox
On Tue, Nov 24, 2015 at 2:15 PM, rkenyon<EMAIL_ADDRESS>wrote:

11/23: No notification from Chris.  Dustin will ping him and cc Ron.  Maulik has some example data sets that can go in once the service is working.
Reply to this email directly or view it on GitHub:
https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-159392398

Thanks for the update.
On 11/24/15 10:35 PM, cshenry wrote:

Monday is probably the best I’m going to be able to do to complete
this. I just have too many things on my plate now.
—
Sent from Mailbox
On Tue, Nov 24, 2015 at 2:15 PM, rkenyon<EMAIL_ADDRESS>wrote:

11/23: No notification from Chris. Dustin will ping him and cc Ron.
Maulik has some example data sets that can go in once the service is
working.
Reply to this email directly or view it on GitHub:

https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-159392398
—
Reply to this email directly or view it on GitHub
https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-159478493.Web
Bug from
https://github.com/notifications/beacon/ADCnWm38_zE_V-_JIvrHc3vD23TUECkTks5pJSPngaJpZM4GO8WB.gif

--
Ron Kenyon
PATRIC Project Manager, patricbrc.org
Project Director, Virginia Bioinformatics Institute
Virginia Tech
<EMAIL_ADDRESS>

Hi Chris,
Were you able to get to this?
Thanks,
Ron
On 11/24/15 10:36 PM, Ron Kenyon wrote:

Thanks for the update.
On 11/24/15 10:35 PM, cshenry wrote:

Monday is probably the best I’m going to be able to do to complete
this. I just have too many things on my plate now.
—
Sent from Mailbox
On Tue, Nov 24, 2015 at 2:15 PM, rkenyon<EMAIL_ADDRESS>wrote:

11/23: No notification from Chris. Dustin will ping him and cc Ron.
Maulik has some example data sets that can go in once the service is
working.
Reply to this email directly or view it on GitHub:

https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-159392398
—
Reply to this email directly or view it on GitHub
https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-159478493.Web
Bug from
https://github.com/notifications/beacon/ADCnWm38_zE_V-_JIvrHc3vD23TUECkTks5pJSPngaJpZM4GO8WB.gif

--
Ron Kenyon
PATRIC Project Manager, patricbrc.org
Project Director, Virginia Bioinformatics Institute
Virginia Tech
<EMAIL_ADDRESS>
--
Ron Kenyon
PATRIC Project Manager, patricbrc.org
Project Director, Virginia Bioinformatics Institute
Virginia Tech
<EMAIL_ADDRESS>

Workspace publication is in fact already done and deployed in production with full passing tests.
BTW, I am still allowing workspace owners to “unpublish" their own workspaces at this time. Argue with me about it if you want, but with this being a new released feature, I think we’re going to see people trying it… realizing what it is… and wanting to “undo it”. Generally, I question the idea of locking poeple completely out of their own workspaces. If poeple want to unpublish their own data, then let them deal with the consequences of this decision and let us not interpose ourselves into the issue.
I’m now working on the example script giving Dustin the queries he wants. The queries are all doable today. I’m just giving dustin the syntax.
The only outstanding thing that dustin wanted in the workspace that isn’t done yet is the offsets (partial listing of hits on workspace queries). I think I need to make a call and say this isn’t going to get done on this release. It’s not a big deal to implement, but I have alot of work to do on alot of projects, and I see no reason to postpone critical work in other areas to implement offsets in the workspace that are completely unnecessary at this time (we are hardley drowning in so many workspaces as to need offsets in listing them). This will change over time as the publication capability is exercised, and so I do recommend we slate offsets for the next release… but I need to prioritize right now.
—
Sent from Mailbox
On Wed, Dec 2, 2015 at 12:57 PM, rkenyon<EMAIL_ADDRESS>wrote:

Hi Chris,
Were you able to get to this?
Thanks,
Ron
On 11/24/15 10:36 PM, Ron Kenyon wrote:

Thanks for the update.
On 11/24/15 10:35 PM, cshenry wrote:

Monday is probably the best I’m going to be able to do to complete
this. I just have too many things on my plate now.
—
Sent from Mailbox
On Tue, Nov 24, 2015 at 2:15 PM, rkenyon<EMAIL_ADDRESS>wrote:

11/23: No notification from Chris. Dustin will ping him and cc Ron.
Maulik has some example data sets that can go in once the service is
working.
Reply to this email directly or view it on GitHub:

https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-159392398
—
Reply to this email directly or view it on GitHub
https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-159478493.Web
Bug from
https://github.com/notifications/beacon/ADCnWm38_zE_V-_JIvrHc3vD23TUECkTks5pJSPngaJpZM4GO8WB.gif

--
Ron Kenyon
PATRIC Project Manager, patricbrc.org
Project Director, Virginia Bioinformatics Institute
Virginia Tech
<EMAIL_ADDRESS>--
Ron Kenyon
PATRIC Project Manager, patricbrc.org
Project Director, Virginia Bioinformatics Institute
Virginia Tech
<EMAIL_ADDRESS>

Reply to this email directly or view it on GitHub:
https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-161397890

12/2: The capability is there.  We can set up the workspace and manually make it public on the back end.

Dustin,
Here is a script demonstrating all the workspace queries you were interested in:
https://github.com/ModelSEED/ResearchScripts/blob/master/Patric/WS_query_demonstration.pl
I’ve tested these and they are working. Generally, MongoDB query syntax will work now.
Chris
—
Sent from Mailbox
On Wed, Dec 2, 2015 at 2:20 PM, rkenyon<EMAIL_ADDRESS>wrote:

12/2: The capability is there.  We can set up the workspace and manually make it public on the back end.
Reply to this email directly or view it on GitHub:
https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-161421723

Thanks Chris.  I'll take a look.
Dustin
On Dec 2, 2015, at 6:44 PM, Christopher Henry wrote:

Dustin,
Here is a script demonstrating all the workspace queries you were interested in:
https://github.com/ModelSEED/ResearchScripts/blob/master/Patric/WS_query_demonstration.pl
I�ve tested these and they are working. Generally, MongoDB query syntax will work now.
Chris
�
Sent from Mailbox
On Wed, Dec 2, 2015 at 2:20 PM, rkenyon<EMAIL_ADDRESS>wrote:
12/2: The capability is there. We can set up the workspace and manually make it public on the back end.
�
Reply to this email directly or view it on GitHub.

02/24: Chris working on.  Will require some minor UI updates.

The current problem with this involves the download of workspace files that live in Shock. Public ws requests come in without a user token, so no token is available to be supplied to shock for the download. It is unclear if we can enable the download with no token.
My current thinking is that we add the "wsauth" token to the access list for public workspaces, and make that token available to the download service.
Chris, it looks like the public workspace access was enabled by changing auth from required to optional; did you also add the appropriate ownership checks so that we still have proper protection of private data? It wasn't clear that such changes were added but perhaps they are implicit in other checks in your code.

According to the Shock docs, it should be possible to set a publicly readable node, though I haven’t found an example of how to do that.  I’m assuming that it is setting the ACL for the node to “read” for “everyone”.  I did see this note, so this could also be disabled by configuration on our shock server:
"NOTE: Although a node may be designated as publicly readable, writable, or deletable, user authentication may still be required to perform the operation depending on the Shock server's configuration.”
I’m reading the docs from https://github.com/MG-RAST/Shock/wiki/API https://github.com/MG-RAST/Shock/wiki/API
Dustin

On Mar 28, 2016, at 1:49 PM, olsonanl<EMAIL_ADDRESS>wrote:
The current problem with this involves the download of workspace files that live in Shock. Public ws requests come in without a user token, so no token is available to be supplied to shock for the download. It is unclear if we can enable the download with no token.
My current thinking is that we add the "wsauth" token to the access list for public workspaces, and make that token available to the download service.
Chris, it looks like the public workspace access was enabled by changing auth from required to optional; did you also add the appropriate ownership checks so that we still have proper protection of private data? It wasn't clear that such changes were added but perhaps they are implicit in other checks in your code.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/PATRIC3/patric3_website/issues/523#issuecomment-202504512

The problem is that our Shock server is too old to have the acl support.
I am looking into working around the problem and will raise the issue of upgrading.

OK, I think this may be good now.
The workaround is in and works by checking for a token on the creation of a download URL; if we do not have one that means we have a public workspace item (that I believe should have been validated as available for public download). If this item is a shock file, we grant read access to the "wsauth" user (currently the reviewer user) and set the wsauth token to be the one for the download service to use to access the file. I verified the xlsx file in the workspace
<EMAIL_ADDRESS>Collections/NIAID Systems Biology Centers/Omics4TB
works both when I am logged in and logged out.

3/28: Almost fixed. About 80% done.

3/29:  Resolved.  Need to update Omics4TB landing page and have pointer to this workspace.

3/31: Not clear now what data is in the workspace that Maulik picked up.  It does not seem to match what Serdar from Omics4TB sent.  For now, just including the information Serdar sent in the Omics4TB landing page: http://enews.patricbrc.org/omics4tb/

We have already picked up couple of gene expression datasets from Omics4TB and CCFA and published them through the public workspace.


remove implemented interface defintions

I think these two can be removed?

Currently we need this info in the interfaces to know which subobjects belong to which mainobject, so that our report which can serialize the repo folders of the different main objects know which other interfaces/schema also need to be serialized into the repo folder.
Please leave this pull request open until we changed the logic of our report.


Kids with max no. of candies, Running sum of 1D array

Description
Issue no #773 . Added two array problems from Leetcode.
Fixes #773
(Added in correspondance to issue #773, will add further)
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

@kaustavr19 delete the other file

@kaustavr19 delete the other file

Sir which one?

@kaustavr19 are u a participant of LGMSOC?? If yes then send different PRs for each


clean-cache not working on SSAS tabular mode?

I am getting this error:
Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException : XML parsing failed at line 7, column 54: A text/xml declaration may occur only at the very beginning of input.

Which version?

No feedback ... question closed.


License of this project

I was wondering about the license of this project. This code would be useful for my current project. I could probably create something similar, but it would be nice to instead reuse your code.
Since no licence is specified, I was wondering if it would be okay to use it under some permissive open-source license, e.g. MIT or BSD.

Added a license in 4fc498679958a215b74032f8244a29de3ddf6c99.


TLSClientException is thrown when the server is overloaded

I recently upgraded the library version to 0.8.0 and the class NoResponse no longer exists in errors.py. The document only specifies ServerError, LabelError and AuthError. When the server is overloaded, is ServerError thrown or does it wait indefinitely?

I just found that it throws TLSClientException, which is not on the document
  File "/.../tls_client/sessions.py", line 405, in execute_request
    raise TLSClientExeption(response_object["body"])
tls_client.exceptions.TLSClientExeption: failed to do request: Post "https://beta.character.ai/chat/streaming/": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

I also started having this issue after refactoring my code to use the async version. Maybe the error has something to do with that?

check the new version


Moz/feat/argo

adds argocd, closes redkubes/unassigned-issues/issues/404
Checklist

[ ] Architecture Design Records have been added as adr/*.md and appended to list in adr/_index.md.
[x] The values-schema.yaml file and test/** fixtures have been updated to reflect code changes.
[x] The OpenApi Schema from redkubes/otomi-api project is compatible with definitions from values-schema.yaml file.
[x] Helm releases are conform security policies
[ ] Helm chart and helmfile changes are tested against upgrade scenario.

Please go ahead. I am quite certain you know the answers

On 2 May 2022, at 14:21, jeho @.***> wrote:

@j-zimnowoda requested changes on this pull request.
In adr/2022-03-24-custom-ca.md:

@@ -0,0 +1,3 @@
+Maurice:

+We now always deploy ClusterIssuer custom-ca for other charts to ref, such as for admission webhooks etc.
Hi,
I see a lot changes that deserve separate ADR records :)
In adr/ you will find a template I added the ADR template (please merge with main branch first)
The template guides about creating meaningful ADR records, which explain not only what has been changed but also the reasoning behind choosing a given way of solving a particular issue.
Could you please follow the template and create separate ADR files for the following issues:
reasoning behind choosing ArgoCD, how does ArgoCD integrate with Otomi
reasoning behind Upgrading gitea and configuring OIDC and deprecating gitea-add-users task,
reasoning behind adding raw-cr chart,
reasoning behind adding Custom Resources for knative-operator ,
reasoning behind upgrading bank-values minor version (how about upgrade path?),
reasoning behind Deprecating operator-lifecycle-manager,
reasoning behind adding the gatekeeper-artifacts chart.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Its implicit

On 3 May 2022, at 09:32, jeho @.***> wrote:

@j-zimnowoda commented on this pull request.
In chart/otomi/templates/job.yaml:

@@ -32,24 +33,16 @@ spec:
command: [bash, -c]
args:
- |

         set -e

set -e would be beneficial
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Ah yes, just && is nicer imo

fixed in tasks to be if ((teamConfig[teamId]?.selfService?.apps || []).includes('gitea'))

Its implicit
…
On 3 May 2022, at 09:32, jeho @.***> wrote:  @j-zimnowoda commented on this pull request. In chart/otomi/templates/job.yaml: > @@ -32,24 +33,16 @@ spec: command: [bash, -c] args: - | - set -e set -e would be beneficial — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

I do not understand. What is implicit?

Ah yes, just && is nicer imo

Hey, this response is out of context :P

@j-zimnowoda I see no more objections to merge this to master. I can switch the versions as my last commit. Just tell me aok

@j-zimnowoda I see no more objections to merge this to main. I can switch the versions as my last commit. Just tell me aok

Ok


can't find the task

node.js i tryied to run debug but....

You don't have a tasks.json, so there's no task found for npm: build. You can set up a task by running the "Configure Tasks" command


ARTEMIS-2496 Revert catch up with zero-copy, as it's causing issues i…

…nto some integration usage
Revert "ARTEMIS-2336 Use zero copy to replicate journal/page/large message file"
This reverts commit 85b93f0883bc06a2dfe2de9d560805a59d626d38.

@wy96f We are actually receiving (and sending) several 0s on the wire (via xnio on wildfly, that will wrap the replication connection as a HTTP one), that would break backup with a IIOBE:
2019-09-18 18:08:14,889 ERROR [org.apache.activemq.artemis.core.client] (Thread-5 (ActiveMQ-client-netty-threads)) AMQ214013: Failed to decode packet: java.lang.IndexOutOfBoundsException: readerIndex(4) + length(1) exceeds writerIndex(4): PooledUnsafeDirectByteBuf(ridx: 4, widx: 4, cap: 4)
	at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1428)
	at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:723)
	at io.netty.buffer.WrappedByteBuf.readByte(WrappedByteBuf.java:521)
	at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readByte(ChannelBufferWrapper.java:280)
	at org.apache.activemq.artemis.core.protocol.ServerPacketDecoder.decode(ServerPacketDecoder.java:126)
	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:377)
	at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1198)
	at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:426)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:796)
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:427)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:328)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
	at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)

2019-09-18 18:08:14,893 ERROR [org.apache.activemq.artemis.core.client] (Thread-5 (ActiveMQ-client-netty-threads)) AMQ214031: Failed to decode buffer, disconnect immediately.: java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException: readerIndex(4) + length(1) exceeds writerIndex(4): PooledUnsafeDirectByteBuf(ridx: 4, widx: 4, cap: 4)
	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:390)
	at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1198)
	at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:426)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:796)
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:427)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:328)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
	at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(4) + length(1) exceeds writerIndex(4): PooledUnsafeDirectByteBuf(ridx: 4, widx: 4, cap: 4)
	at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1428)
	at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:723)
	at io.netty.buffer.WrappedByteBuf.readByte(WrappedByteBuf.java:521)
	at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readByte(ChannelBufferWrapper.java:280)
	at org.apache.activemq.artemis.core.protocol.ServerPacketDecoder.decode(ServerPacketDecoder.java:126)
	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:377)
	... 21 more

Just reverting this change will make it work, so would be better to work on it to see what/where is broken first

Looking at the xnio the issue is before we worked on a copy, thus if xnio mutated the buffer it was safe, with zero copy now xnio is dangerously altering the buffer. Isnt the issue in xnio that its mutating a buffer without copying it?

What im saying is because it was working before was by luck that we had made a copy. The issue is really we have exposed this unsafe code in xnio thats used by wildfly

@michaelandrepearce xnio has a wrapper using Netty libraries... it's not using any of our APIs.
but it seems the encoding is slightly off in a way that explodes in xnio, but it silently fails for us. as we test this we will probably revert this temporarily until we figure out what's going on.

@clebertsuconic @franz1981 Hi, I didn't use wildfly/xnio. Will xnio use a HttpConnection which implements Connection like InVMConnection/NettyConnection?
         if (connection != null && connection.getTransportConnection() instanceof NettyConnection) {
            bufferSize -= dataSize;
            isNetty = true;
         }
         buffer = createPacket(connection, bufferSize);
         encodeHeader(buffer);
         encodeRest(buffer, connection);
         if (!isNetty) {
            if (buffer.byteBuf() != null && buffer.byteBuf().nioBufferCount() == 1 && buffer.byteBuf().isDirect()) {
               final ByteBuffer byteBuffer = buffer.byteBuf().internalNioBuffer(buffer.writerIndex(), buffer.writableBytes());
               readFile(byteBuffer);
            } else {
               final ByteBuf byteBuffer = PooledByteBufAllocator.DEFAULT.directBuffer(buffer.writableBytes(), buffer.writableBytes());
               try {
                  final ByteBuffer nioBuffer = byteBuffer.internalNioBuffer(0, buffer.writableBytes());
                  final int readBytes = readFile(nioBuffer);
                  if (readBytes > 0) {
                     //still use byteBuf to copy data
                     buffer.writeBytes(byteBuffer, 0, readBytes);
                  }
               } finally {
                  byteBuffer.release();
               }
            }
            buffer.writerIndex(buffer.capacity());
         }
         encodeSize(buffer, encodedSize);
         return buffer;

If not NettyConnection, file data will be read into buffer.
Then in ChannelImpl::send
connection.getTransportConnection().write(buffer);
connection.getTransportConnection().write(raf, fileChannel, offset, dataSize, callback == null ? null : (ChannelFutureListener) future -> callback.done(future == null || future.isSuccess()));

Both buffer and file will be written. For InVMConnection, actually no file data is transferred:
   @Override
   public void write(RandomAccessFile raf,
                     FileChannel fileChannel,
                     long offset,
                     int dataSize,
                     final ChannelFutureListener futureListener) {
      if (futureListener == null) {
         return;
      }
      try {
         executor.execute(() -> {
            try {
               futureListener.operationComplete(null);
            } catch (Exception e) {
               throw new IllegalStateException(e);
            }
         });
      } catch (RejectedExecutionException e) {

      }
   }

But if xnio implements a connection and transfers file data one more time in file send method, the mechanism is broken. Not sure if it is caused by this?

@wy96f Thanks to reach out. Xnio is using https://github.com/xnio/netty-xnio-transport/blob/0.1/src/main/java/org/xnio/netty/transport/AbstractXnioSocketChannel.java#L149 that transparently would receive the flushed data into Netty ie no custom child of Connection
Another thing I've noticed: before the revert, ChunkedFile wasn't working for me...do we have tests to verify it?

Another thing I've noticed: before the revert, ChunkedFile wasn't working for me...do we have tests to verify it?

@franz1981 There is no test. I copied the code https://github.com/netty/netty/blob/ff7a9fa091a8bf2e10020f83fc4df1c44098bbbb/example/src/main/java/io/netty/example/file/FileServerHandler.java#L52
ChunkedFile will read file into bytebuf which would then be written into socket channel, https://github.com/netty/netty/blob/ff7a9fa091a8bf2e10020f83fc4df1c44098bbbb/handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java#L242
It should work as the operations are general. What problem did you encounter with ChunkedFile?

@wy96f I've just run a naive test replacing FileRegion with ChunkedNioFile and it should work OOTB...but seems that netty is not reading data from it...I need to dig better into it

@wy96f I've just run a naive test replacing FileRegion with ChunkedNioFile and it should work OOTB...but seems that netty is not reading data from it...I need to dig better into it

@franz1981
I just notice ChunkedWriteHandler needs to be added in pipeline by using ChunkedFile, https://github.com/netty/netty/blob/ff7a9fa091a8bf2e10020f83fc4df1c44098bbbb/example/src/main/java/io/netty/example/file/FileServer.java#L77
It was my bad i missed this before revert. When using ChunkedFile(in the ssl case), exception would be thrown, https://github.com/netty/netty/blob/ff7a9fa091a8bf2e10020f83fc4df1c44098bbbb/transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java#L245

@wy96f is this really a feature you really would like to have?

as we moved through this task, we realized the RegionFile is not actually doing zero-copy. it's using a ByteBuf just like before.

I bet there's an issue within Wildfly where the execution happens twice, and the actual move would happen on a secondary buffer or something...there's a loop within xnio capturing packets from HTTP into Netty (Wildfly has a single port for everything).
We had a few people working on it this week, this feature is getting lot of attention for little benefit.
If you really think this is a nice feature to have.. perhaps you can keep going... but as it stands I would say to keep it out!


Add queries

This discards history, which isn't a major concern to me. @KodrAus I'm going to let this one sit for you to merge, then I'll start working (doing squashed commits as requested).

Looks good! I'll merge this in once the build goes through. Speaking of they're pretty slow now that everything is in together. I don't want to hold up your progress so I'll do something about that.
Maybe we should start caching packages?

Sounds good to me, I can flip the switch while I'm at it? (looks simple enough)

No worries, I just opened up a new PR so you don't have a new build to wait for.
I've also added a label for the queries crate we can use to assign issues and PRs to (I'm trying to assign the change and crate labels so we could generate changelogs or something from them one day, but could do it retrospectively too).

You might also find the integration tests interesting. I've only gotten as far as stubbing one out though here. We should definitely start adding some for queries once we integrate it in elastic.


⚠ AsianCinema has degraded performance

In 0dcf1df, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 1866 ms

Resolved: AsianCinema performance has improved in f434512 after 9 minutes.


OPENSSL_info(): add the item OPENSSL_INFO_SEED_SOURCE and use it

'openssl version -r' prints the seed source based on compiler macros.
This does not necessarily reflect the library's idea of what seed
sources to use, so we reimplement the list of seed sources as a
OPENSSL_info() item and display that instead.

Re-confirm needed

Merged.
096978f09908ba0f679ff905b0db4861a57eb1c8 OPENSSL_info(): add the item OPENSSL_INFO_SEED_SOURCE and use it


[Azure Stack] Update storage admin specs for new generation with autorest-beta

Bug fix for autorest-beta
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

@bganapa  Please help review this new PR. Closed #8304

/azp run automation - sdk


Some speedup for complex vectors and more unit tests

Didn’t mean to delete the more optimized lp norms, but removed them to check the generic implementation and forgot to put them back

The Lp norms that were removed as part of the commits in this PR were not in line with with other implementations and definitions (e.g. Matlab, numpy, https://mathworld.wolfram.com/VectorNorm.html)


lacks the RTree   extension! Spatialite and GPKG will not behave properly.

CMake Error at cmake/helpers/CheckDependentLibraries.cmake:438 (message):
D:/AAA/vcpkg-master/installed/x64-windows/lib/sqlite3.lib lacks the RTree
extension! Spatialite and GPKG will not behave properly.  Define
ACCEPT_MISSING_SQLITE3_RTREE:BOOL=ON option if you want to build despite
this limitation.
Call Stack (most recent call first):
gdal.cmake:216 (include)
CMakeLists.txt:212 (include)
-- Configuring incomplete, errors occurred!
See also "D:/AAA/build/CMakeFiles/CMakeOutput.log".
See also "D:/AAA/build/CMakeFiles/CMakeError.log".
HI,how I change the option for ACCEPT_MISSING_SQLITE3_RTREE:BOOL=ON

CMake Error at cmake/helpers/CheckDependentLibraries.cmake:438 (message):

This is from the new CMake build system of GDAL. See #22392 for work in progress to use it.

HI,how I change the option for ACCEPT_MISSING_SQLITE3_RTREE:BOOL=ON

Since you are building GDAL yourself with CMake, you define GDAL's configuration parameters. So add -DACCEPT_MISSING_SQLITE3_RTREE:BOOL=ON when running cmake to configure GDAL, or set that parameter in a CMake GUI.

Thanks for posting this issue.
I think dg0yt's suggestion could solve this issue, if this issue has new information, please reopen it.

I have sqlite built with the rtree option.  I'm doing a cross compile (linux -android).  simply a heads up.  I didn't look at the configuration/cmake build files yet to see why its not detecting.  I'm building with sqlite 3.38.5 and validated its rtree option is detected when it gets built.  I also use this 3.38.5 version with proj 8.x and others

I'm at the point it needs to get fixed as I need it all working now

@vautieri2 What needs to get fixed?

I thought it was a related issue bit it doesn't belong here.  I'm cross
compiling for android where the Spatialite make system has issues with more
than just this but the prepare as well.  In the meantime I removed their
checks in the autoconfig and things work perfectly fine as I knew this and
the prepare are proper.   I'm not a guru with their make system to know how
to really fix
On Fri, Jun 10, 2022, 2:02 AM Kai Pastor @.***> wrote:

I'm at the point it needs to get fixed as I need it all working now
@vautieri2 https://github.com/vautieri2 What needs to get fixed?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/23622#issuecomment-1151982083,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVYRMN7DATHXYSD3TL5LJK3VOLK75ANCNFSM5RAVXLAA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Writing to 00002902-0000-1000-8000-00805f9b34fb not working

[Yes] I am running the latest version
[Yes] I checked the documentation and found no answer
[Yes] I checked to make sure that this issue has not already been filed
[Yes] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general.

My objective is to write notification enable/disable values to 0x002902, but it has multiple handles within it for various functions. This is what the UUID looks like on gatttool:
char-read-uuid 00002902-0000-1000-8000-00805f9b34fb
handle: 0x0004 	 value: 00 00
handle: 0x0023 	 value: 00 00
handle: 0x0026 	 value: 00 00
handle: 0x0029 	 value: 00 00
handle: 0x0034 	 value: 00 00
I cannot find any information on the documentation on how to write values to these specific handles within the UUID.
Any help would be much appreciated.

This does not look like a question regarding this library but a general bluetooth question. This library does not expose any handles. Are you sure you wanted to ask the question here?

I tried using the following code to write value to the specific UUID:
const characteristic = await this.device.writeCharacteristicWithResponseForService(SERVICE_UUID, "00002902-0000-1000-8000-00805f9b34fb", value);
But since the UUID contains multiple attributes, the write could not take place. Is there a way to specify how I can write to the specific attribute of a characteristic?

There is no support for writing descriptors in this library yet. It is all handled for you. https://github.com/Polidea/react-native-ble-plx/wiki/Characteristic-Notifying

@psambit9791 , im trying to do this. How you do to get notifications for this descriptor ?

This was a long time back. From memory, the monitor() function on the relevant characteristicUUID helped me.

This was a long time back. From memory, the monitor() function on the relevant characteristicUUID helped me.

by monitoring the feature I can get all the data when I write to the RACP feature, but I can't get the data when I send it directly from the device to my app. Searching a lot I found it might be the descriptor 2902 that I wasn't dealing with. But I don't know how to monitor this descriptor :(

currently this is what I have. I can read all meter data, but I cannot send meter data to my app. This way I can't get the glucose value when this data is measured
`import React from 'react';
import {View, Text, FlatList, Button, StyleSheet} from 'react-native';
import useStream from './useStream';
import adapterStateStream from './adapterStateStream';
import deviceStream from './deviceStream';
import {Buffer as buffer} from 'buffer';
import {BleManager} from 'react-native-ble-plx';
const bleManager = new BleManager();
const connect = async deviceId => {
const device = await bleManager.connectToDevice(deviceId);
console.log('connected device: ', device);
await device.discoverAllServicesAndCharacteristics();
const services = await device.services();
console.log('services: ', services);
};
const notifyCharacteristic = (deviceId, characteristicUUID) => {
const serviceUUID = '00001808-0000-1000-8000-00805f9b34fb';
bleManager.monitorCharacteristicForDevice(
deviceId,
serviceUUID,
characteristicUUID,
async (error, characteristic) => {
if (error) {
console.log('monitorError: ', error);
}
  // console.log('monitorCharacteristic: ', characteristic);
  // // console.log('monitorCharacteristicValue: ', characteristic.value);
  console.log('monitorCharacteristic: ', characteristic);
  const values = buffer.from(characteristic?.value || '', 'base64');
  console.log('values: ', values);
  if (values.length > 5) {
    const glucoseValue = values[12]; // 12th position in the case of my device
    console.log('glucoseValue: ', glucoseValue);
  }
},

);
};
const writeCharacteristic = async (
deviceId,
characteristicUUID,
command = '0x0101',
) => {
const serviceUUID = '00001808-0000-1000-8000-00805f9b34fb';
// const dataMostSignificantByte = (command >> 8) & 0xff;
// const dataLeastSignificantByte = command & 0xff;
// const dataByteArrayInLittleEndian = [
//   dataLeastSignificantByte,
//   dataMostSignificantByte,
// ];
// const dataInBase64 = buffer
//   .from(dataByteArrayInLittleEndian)
//   .toString('base64');
const allValuesRetrieverInBase64 = buffer
.from([0x01, 0x06])
.toString('base64');
await bleManager.writeCharacteristicWithResponseForDevice(
deviceId,
serviceUUID,
characteristicUUID,
allValuesRetrieverInBase64,
);
};
const App = () => {
const adapterState = useStream(adapterStateStream, '');
const devices = useStream(deviceStream, {});
return (

Adapter State: {adapterState}
<FlatList
style={styles.flatLsit}
data={Object.values(devices).slice(0, 3)}
renderItem={({item}) => (
<>
<Button
title={item.name || item.id}
onPress={() => connect(item.id)}
/>
<Button
title={'NotiFy Glucose Measurements'}
onPress={() =>
notifyCharacteristic(
item.id,
'00002a18-0000-1000-8000-00805f9b34fb',
)
}
/>
<Button
title={'NotiFy Glucose Measurements Context'}
onPress={() =>
notifyCharacteristic(
item.id,
'00002a34-0000-1000-8000-00805f9b34fb',
)
}
/>
<Button
title={'NotiFy RACP'}
onPress={() =>
notifyCharacteristic(
item.id,
'00002a52-0000-1000-8000-00805f9b34fb',
)
}
/>
        <Button
          onPress={() =>
            writeCharacteristic(
              item.id,
              '00002a52-0000-1000-8000-00805f9b34fb',
              '0x0101',
            )
          }
          title={'Write To RACP'}
        />
      </>
    )}
    keyExtractor={device => device.id}
  />
</View>

);
};
const styles = StyleSheet.create({
collision: {
fontSize: 100,
textAlign: 'center',
},
button: {
fontSize: 70,
width: '100%',
textAlign: 'center',
},
buttonHalf: {
fontSize: 70,
width: '50%',
textAlign: 'center',
},
row: {
flexDirection: 'row',
},
});
export default App;
`


script for telegram bot

currently, the script shows the online status in the terminal only. The idea of the project is to send the online status on the telegram bot.
so we need to create a script to send the online status on telegram bot.

thanks for this, i would suggest saving the outcome in txt file for now till the telegram part is done.

@cyberahm4d thanks for the suggestion. For now we can do this too. :)

@cyberahm4d Please go ahead in implementation of your suggestion. :)


Add integration tests (from Dmytro Mitin material)

It may be a good idea to integrate @DmytroMitin material if he give us its agreement of course.
This improve code coverage (less than I expected, I must admit it) but these unit tests are also very useful for newcomers.

This is very helpful indeed.


Remove support of strings as lists

The idea was to treat strings like lists so one could do:
const double = map(x => x + x);

double([1,2,3]);
//=> [2,4,6]

double('abc');
//=> 'aabbcc'

This is fine for plain old ascii strings but things can get complicated very quickly when dealing with multi-codepoint characters:
"🌯🍣🌮".split("")[0];
//=> "�"

If people need to treat strings as lists they would be better off operating that conversion with libraries such as Runes
Tasks

[ ] into should still support string as a destination
[ ] Remove strings support from list-based functions
[ ] Update documentation

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[fix bug2947]attach l2 network synchronously

@ZStack-Robot
attach l2 network synchronously
https://github.com/zstackio/issues/issues/2947


Change IOT tutorial title

Description

https://jira.mesosphere.com/browse/DOCS-2004
Urgency

[ ] Blocker
[ ] High
[ ] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

LGTM


Compatibility issues with opentelemetry-go v1.16.0

Describe the bug
There have been recent changes in opentelemetry-go, causing compatibility issues with the code.
I would like to address this and fix it.
error while importing github.com/asynkron/protoactor-go/actor: cannot find module providing package go.opentelemetry.io/otel/metric/global: import lookup disabled by -mod=readonly [compiler]

error while importing github.com/asynkron/protoactor-go/actor: cannot find module providing package go.opentelemetry.io/otel/metric/instrument: import lookup disabled by -mod=readonly [compiler]

error while importing github.com/asynkron/protoactor-go/actor: cannot find module providing package go.opentelemetry.io/otel/metric/unit: import lookup disabled by -mod=readonly [compiler]

To Reproduce

upgrade go.opentelemetry.io/otel module to v1.16.0
go mod tidy

Expected behavior
no error
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.16.0

Removed

The deprecated go.opentelemetry.io/otel/metric/instrument package is removed.
Use go.opentelemetry.io/otel/metric instead. (#4055)

https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.14.0

Deprecated

The go.opentelemetry.io/otel/metric/unit package is deprecated.

Use the equivalent unit string instead. (#3776)
Use "1" instead of unit.Dimensionless
Use "By" instead of unit.Bytes
Use "ms" instead of unit.Milliseconds

Deprecated

The go.opentelemetry.io/otel/metric/global package is deprecated. Use go.opentelemetry.io/otel instead. (#3818)

Removed

The deprecated go.opentelemetry.io/otel/metric/unit package is removed. (#3814)

The measurement methods for all instruments in go.opentelemetry.io/otel/metric/instrument accept an option instead of the variadic "go.opentelemetry.io/otel/attribute".KeyValue. (#3971)

The Int64Counter.Add method now accepts ...AddOption
The Float64Counter.Add method now accepts ...AddOption
The Int64UpDownCounter.Add method now accepts ...AddOption
The Float64UpDownCounter.Add method now accepts ...AddOption
The Int64Histogram.Record method now accepts ...RecordOption
The Float64Histogram.Record method now accepts ...RecordOption
The Int64Observer.Observe method now accepts ...ObserveOption
The Float64Observer.Observe method now accepts ...ObserveOption

The Observer methods in go.opentelemetry.io/otel/metric accept an option instead of the variadic "go.opentelemetry.io/otel/attribute".KeyValue. (#3971)

The Observer.ObserveInt64 method now accepts ...ObserveOption
The Observer.ObserveFloat64 method now accepts ...ObserveOption

@rogeralsing can you look into this?


xarray.DataArray.where always returns array of float64 regardless of input dtype

MCVE Code Sample
import numpy as np
import xarray as xr
a = xr.DataArray(np.arange(25).reshape(5, 5), dims=('x', 'y'))
print(a.dtype)
'int32'
a_sub = a.where(a.x + a.y < 4)
a_sub.dtype
'float64'
Expected Output
a_sub should be an xarray of dtype int32
Problem Description
The documentation (http://xarray.pydata.org/en/stable/generated/xarray.DataArray.where.html)
states that return type should be the same type as caller.  However, the return type is always float64
Output of xr.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.7.1 | packaged by conda-forge | (default, Mar 13 2019, 13:32:59) [MSC v.1900 64 bit (AMD64)]
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
libhdf5: 1.10.4
libnetcdf: 4.6.2
xarray: 0.13.0
pandas: 0.25.1
numpy: 1.17.2
scipy: 1.3.1
netCDF4: 1.4.2
pydap: None
h5netcdf: None
h5py: 2.9.0
Nio: None
zarr: None
cftime: <IP_ADDRESS>
nc_time_axis: None
PseudoNetCDF: None
rasterio: 1.0.22
cfgrib: None
iris: None
bottleneck: None
dask: 2.5.2
distributed: None
matplotlib: 3.1.1
cartopy: 0.17.0
seaborn: 0.9.0
numbagg: None
setuptools: 41.4.0
pip: 19.2.3
conda: None
pytest: None
IPython: 7.8.0
sphinx: None

@pmallas - it looks like you figured this out but I'll just report on what was likely the confusion here.
Xarray's where methods use np.nan as the default other argument, this causes the type to be cast to a float. If you want to maintain a integer type, you'll need to specify another value for other.
xref: http://xarray.pydata.org/en/stable/computation.html#missing-values, http://xarray.pydata.org/en/stable/generated/xarray.DataArray.where.html

Yes, I read the return type as the 'same type as caller' and at first I expected the array type to be the same. I soon realized that means a DataArray or DataSet.  And for your output array to support nan values, it has to be  float. My bad - sorry for the clutter.

@pmallas it would be nice to update the docstring to make that clear if you are up for it

@dcherian Ok, I think I proposed a change correctly - never done this before.

Looks great. You did well!

If drop=True, would it be problematic to return the same dtype or allow other?
My use case is a simple slicing of a dataset -- no missing values.   The use of where is due to one of selections being on a non-dimension coordinate (#2028).
I can workaround using astype, but will say I was mildly surprised by this feature.  I know understand why it's there.  Our code is old and the data is intermediate and never deeply inspected -- I only noticed this when we started using a memory-intensive algorithm and surprised how much space was taken by our supposed uint16 data.  :)

The trouble with returning the same dtype for uint16 values is that there's no easy way to have a missing value for uint16.
I don't entirely remember why we don't allow other in where if drop=True, but indeed that seems like a clean solution.
I suspect it might have something to do with alignment. But as long as other is already aligned with the result of aligning self and other (e.g., if other is a scalar, which is probably typical), then it should be fine allow for the other argument.

What about the case of no missing values, when other wouldn't be needed?  Could the same dtype be returned then?  This is my case, since I'm re-purposing where to do sel for non-dimension coordinates.
I'm capable of just recasting for my use case, if this is becoming an idea that would be difficult to maintain/document.

What about the case of no missing values, when other wouldn't be needed? Could the same dtype be returned then? This is my case, since I'm re-purposing where to do sel for non-dimension coordinates.

Could you give a concrete example of what this would look like?
It seems rather unlikely to me to have an example of where with drop=True where the condition is exactly aligned with the grid, such that there are no missing values.
I guess it could happen if you're trying to index out exactly one element along a dimension?
In the long term, the cleaner solution for this will be some form for support for more flexibly / multi-dimensional indexing.

What about the case of no missing values, when other wouldn't be needed?
Could the same dtype be returned then? This is my case, since I'm
re-purposing where to do sel for non-dimension coordinates.
Could you give a concrete example of what this would look like?
It seems rather unlikely to me to have an example of where with drop=True
where the condition is exactly aligned with the grid, such that there
are no missing values.
I guess it could happen if you're trying to index out exactly one element
along a dimension?

That's exactly right.  I am just selecting one slice of a data array, using
data.where(data.coords['stain'] == 'DAPI').

In the long term, the cleaner solution for this will be some form for
support for more flexibly / multi-dimensional indexing.

Agreed.  Once I actually get things running, I'll be ready to try and
contribute fixes for all my TODOs that reference xarray github issues.  :)

Shall we raise a warning in where advising the more-efficient syntax? Or shall we skip the call to where_method

I'm not sure that either of these is a good idea.
The problem with raising a warning is that this is well-defined behavior. It may not always be useful, but well defined but useless behavior arises all the time in programs, so it's annoying to raise a warning for a special case.
The problem with skipping where_method is that now we end up with a potentially inconsistent dtype, depending on the selection. These sort of special cases can be quite frustrating to program around.


SqlSetup: SQL Server 2016 update failed

Details of the scenario you tried and the problem that is occurring
I'm trying to use SqlSetup  resource to install SQL Server 2016 SP2 on virtual machine. I have a folder with SQL Server 2016 SP1 installation files and one sub folder storing executable file for SQL Server 2016 SP2. I used paremeters UpdateEnabled and UpdateSource. But there was error which failed to execute Set-TargetResource.
Verbose logs showing the problem

DscExtensionHandler.0.20190808-153727.log
Suggested solution to the issue
N/A
The DSC configuration that is used to reproduce the issue (as detailed as possible)
# insert configuration here
Configuration d365_03_test {

param([String]
    $SQLServer2016SP2_dbFeatures = 'SQLENGINE,FULLTEXT, RS',[String]
    $SQLServer2016SP2_dbVersion = '2016\SQL2016-x64-ENU',[String]
    $SQLServer2016SP2_dbInstanceName = 'MSSQLDATABASE',[String]
    $SQLServer2016SP2_sqlServerPassword,[String]
    $SQLServer2016SP2_AddFirewallRule8080 = 'Present',[String]
    $SQLServer2016SP2_AddFirewallRule1433 = 'Present',[String]
    $SQLServer2016SP2_AddFirewallRule1434 = 'Present',[String])

Import-DscResource -ModuleName PSDesiredStateConfiguration
Import-DscResource -ModuleName SqlServerDsc
Import-DscResource -ModuleName NetworkingDsc

Node localhost {

$installationDrivePS_DriveLetter = "X"

Script InstallationDrive{
    SetScript = {
        $securePassword = ConvertTo-SecureString $using:InstallationDrive_shareDrivePassword -AsPlainText -Force
        $credential = New-Object System.Management.Automation.PSCredential ($using:InstallationDrive_shareDriveUser, $securePassword)
        New-PSDrive -Name $using:installationDrivePS_DriveLetter -Root $using:InstallationDrive_shareDriveAddress -Persist -PSProvider "FileSystem" -Scope Global -Credential $credential
    }
    TestScript = {
        Test-Path "$($using:installationDrivePS_DriveLetter):\"
    }
    GetScript = {
        @{ Result = "$($using:installationDrivePS_DriveLetter):" }
    }
}

$databaseInstallationPath = 'C:\Installation\Database'
$sharedDriveInstallLocation = 'X:\SQL_Server'

WindowsFeature 'SQL_NetFramework35'
{
    Name   = 'NET-Framework-Core'
    Source = '\\fileserver.company.local\images$\Win2k12R2\Sources\Sxs' # Assumes built-in Everyone has read permission to the share and path.
    Ensure = 'Present'
}

WindowsFeature 'SQL_NetFramework45'
{
    Name   = 'NET-Framework-45-Core'
    Ensure = 'Present'
}

Firewall AddFirewallRule8080
        {
            Name                  = 'Open port 8080'
            DisplayName           = 'Open port 8080'
            Ensure                = $SQLServer2016SP2_AddFirewallRule8080
            Enabled               = 'True'
            Profile               = ('Domain', 'Private', 'Public')
            Direction             = 'InBound'
            LocalPort             = ('8080')
            Protocol              = 'TCP'
            Description           = 'Open port 8080'
        }

Firewall AddFirewallRule1433
        {
            Name                  = 'SQL open port 1433'
            DisplayName           = 'SQL open port 1433'
            Ensure                = $SQLServer2016SP2_AddFirewallRule1433
            Enabled               = 'True'
            Profile               = ('Domain', 'Private', 'Public')
            Direction             = 'InBound'
            LocalPort             = ('1433')
            Protocol              = 'TCP'
            Description           = 'Open port 1433'
        }

Firewall AddFirewallRule1434
        {
            Name                  = 'SQL open port 1434'
            DisplayName           = 'SQL open port 1434'
            Ensure                = $SQLServer2016SP2_AddFirewallRule1434
            Enabled               = 'True'
            Profile               = ('Domain', 'Private', 'Public')
            Direction             = 'InBound'
            LocalPort             = ('1434')
            Protocol              = 'UDP'
            Description           = 'Open port 1434'
        }

File CopySQLServer
{
    Ensure = "Present"
    Type = "Directory"
    Recurse = $true #
    SourcePath = "$sharedDriveInstallLocation\$SQLServer2016SP2_dbVersion"
    DestinationPath = $databaseInstallationPath
}

if ([string]::IsNullOrEmpty($SQLServer2016SP2_sqlServerPassword))
{
    $SQLServer2016SP2_sqlServerPassword = $global_Password
}
$securePassword = ConvertTo-SecureString $SQLServer2016SP2_sqlServerPassword -AsPlainText -Force

SqlSetup 'InstallDefaultDBInstance'
{
    InstanceName        = $SQLServer2016SP2_dbInstanceName
    Features            = $SQLServer2016SP2_dbFeatures
    SQLSysAdminAccounts = @('Administrators')
    DependsOn           = '[WindowsFeature]SQL_NetFramework45','[File]CopySQLServer'
    SourcePath          = $databaseInstallationPath
    AgtSvcAccount       = New-Object System.Management.Automation.PSCredential ('NT Service\SQLAgent$MSSQLDATABASE', $securePassword)
    RsSvcStartupType    = 'Automatic'
    UpdateEnabled       = 'True'
   UpdateSource         = '.\SQL2016-SP2'
}

SqlServerNetwork 'ChangeTcpIpOnDefaultInstance'
{
            InstanceName         = $SQLServer2016SP2_dbInstanceName
            ProtocolName         = 'Tcp'
            IsEnabled            = $true
            TCPDynamicPort       = $false
            TCPPort              = 1433
            RestartService       = $true
            DependsOn            = '[SqlSetup]InstallDefaultDBInstance'
}

Script UnmountInstallationDrive{
    SetScript = {
        $UnmountInstallationDrive_DriveLetter = "X"

        Remove-PSDrive -Name "${UnmountInstallationDrive_DriveLetter}"
    }
    TestScript = {
        $UnmountInstallationDrive_DriveLetter = "X"

        !(Test-Path "${UnmountInstallationDrive_DriveLetter}:")
    }
    GetScript = {
        $UnmountInstallationDrive_DriveLetter = "X"

        @{ Result = !(Test-Path "${UnmountInstallationDrive_DriveLetter}:")}
    }
}
LocalConfigurationManager {
 ActionAfterReboot = 'ContinueConfiguration'
 RebootNodeIfNeeded = $true
}}
}

SQL Server edition and version the target node is running

SQL Server Enterprise 2016. Version: SP1 => Update to SP2
SQL Server PowerShell modules present on the target node

N/A
The operating system the target node is running

OsName               : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}
Version and build of PowerShell the target node is running

Name                           Value

PSVersion                      5.1.17763.592
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.592
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Version of the DSC module that was used ('dev' if using current dev branch)

<IP_ADDRESS> C:\Program Files\WindowsPowerShell\Modules\SqlServerDsc\<IP_ADDRESS>\SqlServerDsc.psd1

Please check what the setup.exe reported for errors in the logs. See https://docs.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-2017 for help.


[Question] Offline build

Pre-requisites

[X] I have looked for any other duplicate issues

Ly version
1.0.2
Observed behavior
I am maintaining the ly package in the sisyphus ALT Linux repository.
My attempts to Build ly without the internet were unsuccessful
Everything stopped at the error below
Maybe it will be fixed in the new version and I do not know about it?
Expected behavior
Successful Build
Steps to reproduce
%zig_build --global-cache-dir vendor
Relevant logs
/usr/src/RPM/BUILD/ly-1.0.2/build.zig:28:33: error: no field named 'path' in union 'Build.LazyPath'

And also, can I ask you to make tarballs for Building without the Internet?

@X1mper It looks like your Zig version may be too recent. Ly v1.0.2 only supports building with Zig 0.12.0 but not beyond. You can try cherry-picking (or cloning from) https://github.com/fairyglade/ly/commit/fadbbf676ad88e57cecffd501b5a4d4634064688 which backports Zig 0.13.0 support from master.

And also, can I ask you to make tarballs for Building without the Internet? For future releases

It doesn't seem like a very "clean" solution to me. For each release, we'd have to download the dependencies manually and modify the build.zig.zon file to use local paths instead, like what you're trying to do I presume.

@X1mper It looks like your Zig version may be too recent. Ly v1.0.2 only supports building with Zig 0.12.0 but not beyond. You can try cherry-picking (or cloning from) fadbbf6 which backports Zig 0.13.0 support from master.

Only releases build in our repository. I hope the version will be released soon! :)

It doesn't seem like a very "clean" solution to me. For each release, we'd have to download the dependencies manually and modify the build.zig.zon file to use local paths instead, like what you're trying to do I presume.

You can try packaging vendor like this:
zig build --global-cache-dir vendor

pushd vendor
rm -rfv z  # deletes built files. this is needed so that you only have the dependencies and not the entire build cache
popd

Source: https://en.opensuse.org/Zig#Workaround_for_confusing_package_manager
I suppose it works.

It seems like this method allows not to change the build.zig.zon file

Honestly, this could probably be done for v1.1.0 and even v1.0.3, if I end up releasing that, if it can at least be partially automated. I'll take a better look at it once at least one of those versions near their release.

I had the same problem last night.
I tried to build master and v1.0.x and always ended up with an issue regarding zig enum or type cast
I was using zig 0.12.1 and 0.13.0 as the readme indicates zig >= 0.12.0.
Now, the build of master using zig 0.12.0 is working perfectly!


[bug] tauri build errors out at bundling step

Describe the bug
When running tauri build the binary builds fine but then immediately errors out with
thread '<unnamed>' panicked at 'Can't detect any appindicator library', src/build.rs:326:17

tauri dev works as expected.
I suspect this might be caused by libayatana-appindicator3-1-dev being newer than expected,
I had jammy-proposed enabled by mistake for a while. I have no clue how to downgrade tho.
Everything else is pretty standard and minimal, I'm running on Ubuntu 22.04.
Here's the full repo, https://github.com/OzymandiasTheGreat/emoji-keyboard
src-tauri is minimal so you might check it out if needed.
Reproduction

Run tauri build
See error once the binary is built.

Expected behavior
tauri build finishes without errors and I get an AppImage.
Platform and versions
Environment
› OS: Ubuntu 22.04 X64
› Node.js: 16.14.2
› npm: 8.7.0
› pnpm: Not installed!
› yarn: 1.22.18
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-x86_64-unknown-linux-gnu
Packages
› @tauri-apps/cli [NPM]: 1.0.5
› @tauri-apps/api [NPM]: 1.0.2
› tauri [RUST]: 1.0.5,
› tauri-build [RUST]: 1.0.4,
› tao [RUST]: 0.12.2,
› wry [RUST]: 0.19.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../web-build
› devPath: http://localhost:19006/
› framework: React
› bundler: Webpack
App directory structure
├─ src-tauri
├─ .expo-shared
├─ node_modules
├─ src
├─ assets
├─ web-build
├─ .git
└─ .expo
Stack trace
No response
Additional context
Not really context, I migrated my most popular app to tauri for many reasons, like the fact that Ubuntu 22.04 broke electron version, and it works much more reliably now, but I can't release it without building the bundles.

I have this problem on ubuntu 22.04 too, and  sudo apt install libayatana-appindicator3-dev may help.

Had this issue on fedora 37, after installing libappindicator-gtk3-devel the error message was gone

openSUSE Tumbleweed - resolved with installation of libayatana-indicator3-devel


Configurate IMAP Importmail

Hi, one nex help request: IMAP config did not work, not sure why. As i understand, its just to set env vars and it does the job.
Maybe a hoster bug or ist is it necessary to trigger docker via cronjob like?
docker exec Redmine rake redmine:email:receive_imap

If not, could you anyway let me know the correct docker exec receive_imap command for your container.
Maybe in my case these could help, since we used to have the cronjob with another container in use.
Attached my YAML anyway to check::
    - IMAP_ENABLED=true
    - IMAP_HOST=mail.server.de
    - IMAP_PORT=993
    - IMAP_USER=XXX
    - IMAP_PASS=XXX
    - IMAP_STARTTLS=false
    - IMAP_SSL=true
    - IMAP_INTERVAL=5

My Version in use: sameersbn/redmine:4.1.3
Many Thanks, best regards

Okay, did also work now :) and without separate cornjob!
Very well!


Run error in Galaxy 19.05

Hi, I ran into an error trying to run staramr 0.7.1 in Galaxy. I think this happened after I updated the tool. There is no unresolved dependencies. Please see below. I'd really appreciate any suggestion on what I should do. Thank you so much and stay safe!
2020-07-25 13:30:20 INFO: No --pointfinder-organism specified. Will not search the PointFinder databases
2020-07-25 13:30:20 INFO: No --plasmidfinder-database-type specified. Will search the entire PlasmidFinder database
2020-07-25 13:30:20 INFO: --output-dir not set. Files will be output to the respective --output-[type] setting
2020-07-25 13:30:20 INFO: Will exclude ResFinder/PointFinder genes listed in<EMAIL_ADDRESS>Use --no-exclude-genes to disable
2020-07-25 13:30:20 INFO: Making BLAST databases for input files
2020-07-25 13:30:20 ERROR: list index out of range
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 286, in _make_blast_db
subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
File<EMAIL_ADDRESS>line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['makeblastdb', '-in', '/home/phemarajata/galaxy/database/tmp/tmpxgo6kvxs/input-genomes/plasmid_AA337.fasta.fasta', '-dbtype', 'nucl', '-parse_seqids']' returned non-zero exit status 1.

I'm so sorry. It was my FASTAs that caused it. Should have figured that out earlier.


Parameters binding dialog: support parameters sorting

We need to be able to sort parameters by name.

verified


Transcrypt SVG Logo Needed

I have a poster session at EuroPython where I mention Transcrypt.  I would like to add your logo to my poster, but I would need an svg, because png's do not print well.  Maybe you do not have the scan of the Engraving in svg, but would it be possible to get the multicolored text at least.
I will be presenting the forestwiki.com.  It allows one to edit Python in the browser, and generates the trancypt on the server.

Hi,
Good to hear that you'll mention Transcrypt at Europython!
Unfortunately I don't have an SVG version of the logo, the PNG is the best I have...

The multicolored text isn't graphics, but indeed just (html) text, so it should scale and print OK.

					T
					r
					a
					n
					s
					c
					r
					y
					p
					t

					Python in the browser

The relevant CSS is:
	.fixed .logo-bar {
		position: relative;
		width: 100%;
		// height: 69%;
		background-color: ''' + fixedGray + ''';
	}

	.fixed .logo {
		position: relative;
		width: 1000;
		cursor: pointer;
	}

	.logo-red {
		color: ''' + logoRed + ''';
	}

	.logo-green {
		color: ''' + logoGreen + ''';
	}

	.logo-blue {
		color: ''' + logoBlue + ''';
	}

	.logo-yellow {
		color: ''' + logoYellow + ''';
	}

	.fixed .logo img {
		display: block;
		position: absolute;
		margin: 0;
	}

	.fixed .logo .title {
		position: absolute;
		width: 1500;
		font-style: italic;
		font-weight: bold;
	}

	.fixed .logo .subtitle {
		position: absolute;
		width: 1500;
		color: ''' + white + ''';
		font-style: italic;
	}

The colors of the text are, in (R, G, B, Alpha):
logoRed = getHex (255, 68, 34, 1)
logoGreen = getHex (34, 136, 0, 1)
logoBlue = getHex (51, 102, 255, 1)
logoYellow = getHex (255, 176, 0, 1)
The background color of the logo is:
fixedGray = getHex (60, 60, 60, 1)
Kind regards
Jacques

@PythonLinks Did some digging, found a higher-res png here, converted to svg in Inkscape and applied the same transformations as the Transcrypt version to the original (i.e. flipped horizontally and has background colour applied). Put it on transfer.sh, hope that helps.
For interests sake, the original comes from page 131 of "South by East: Notes of Travel in Europe" by Rodwell, G. F. and a copy can be found on the internet archive.

Thank you for your attention to detail.
No wonder transcrypt has such a good reputation!
Here is the current version of the poster.
http://pythonlinks.info/presentations/Poster.pdf
I had trouble with the svg.  So
I went ahead and clicked on the image to get the original.  And then used that.
I still do not have the colored html in there.   I think I can import that into LibreOffice, but
right now my focus is on adding MQTT chat to the Forest Wiki.

@PythonLinks Oy, don't know what the problem with the svg could be, but in that case here's a link to a png version of the svg. Nice poster and website! @JdeH your opinion on the poster appreciated..

I would think that converting their large png to an svg and then back to a png might have data loss.  Perhaps better to just use their large Png.  I think I am missing something that you are trying to communicate.
And of course the interesting question is why are so few people using Transcrypt?  Maybe because people just do not know about it.

@PythonLinks It was really just about having it look the same as the logo on the Transcrypt site.

A bit too late to be relevant:
As you found out there's no SVG version of the logo, it's just a colored photo of an existing drawing.
The letters 'Transcrypt' 'Python in the browser' on the other hand are scalable, since they're just HTML with CSS. The source of www.transcrypt.org shows it all.
As for the relative unknownness of Transcrypt, I think the following two factors are at play here:

Being a compiler, Transcrypt has a relatively high threshold for novice users. Many developers nowadays are used to interpreted languages and with its many switches and lengthy documentation, it can be a bit intimidating at first. I'd like to have a JSFiddle website to help people getting acquainted with it. The URL is already reserved, but I haven't yet found the time to set this up.

Many websites are short lived, geared only towards good looks, and fairly simple. Transcrypt shines if functionality is non-trivial and a website needs to be maintained over the years. Things like operator overloading and multiple inheritance are invaluable in the world of technical and scientific programming is my working area.

I think Transcrypt's finest hour is yet to come (unless browsers will support Python natively, which I would welcome of course, but it doesn't look like that's going to happen). My impression is that there are at the very least ten times as much people that can benefit from Transcrypt than is currently the case. I tell myself, however, that I have to prefer slowly and surely over quick an dirty.
On several Python conferences talks have been held about Transcrypt, e.g. in Australia, Germany and France. From feedback I know that some people in large companies are using it for very serious applications. I've been considering offering a talk on PyCon US, but it would cost me more time than I can afford right now.
For now I think it's good to focus on functionality and quality and let the word spread.  I sure like it very much to appear on your poster and any realistic publicity is welcome, since I think it could make development of fast, well structured web applications feasible for many people.
Kind regards
Jacques


Dnsperfgo image should be build in isolated environment

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:
Dnsperfgo image should be build in isolated environment

Fixes #2001
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/assign

I've tried to build image with your change and looks like make build fails with error:
Step 5/12 : RUN CGO_ENABLED=1 go build -o dnsperfcgo main.go
 ---> Running in c113e8d69e75
go: downloading golang.org/x/net v0.0.0-20200625001655-4c5254603344
# command-line-arguments
./main.go:72:25: undefined: startMetricsServer
./main.go:73:2: undefined: registerMetrics
./main.go:144:3: undefined: dnsErrorsCounter
./main.go:148:3: undefined: dnsTimeoutsCounter
./main.go:151:2: undefined: dnsLookupsCounter
./main.go:163:3: undefined: dnsLatency

Probably you need to change this line to something like:
RUN CGO_ENABLED=1 go build -o /dnsperfcgo

I've tried to build image with your change and looks like make build fails with error:
Step 5/12 : RUN CGO_ENABLED=1 go build -o dnsperfcgo main.go
 ---> Running in c113e8d69e75
go: downloading golang.org/x/net v0.0.0-20200625001655-4c5254603344
# command-line-arguments
./main.go:72:25: undefined: startMetricsServer
./main.go:73:2: undefined: registerMetrics
./main.go:144:3: undefined: dnsErrorsCounter
./main.go:148:3: undefined: dnsTimeoutsCounter
./main.go:151:2: undefined: dnsLookupsCounter
./main.go:163:3: undefined: dnsLatency

Probably you need to change this line to something like:
RUN CGO_ENABLED=1 go build -o /dnsperfcgo

Hi @marseel ,
Thanks for the suggestion. I have updated the Dockerfile accordingly and build succeeded in my MAC. Could you please take the latest changes and try building again.  If it works then I will squash and merge the pull request with a single clear message.
Best Regards,
Umesh

Works for me, please squash commits and thanks for contribution.
/ok-to-test

Works for me, please squash commits and thanks for contribution.

Done. Please check and let me know if any issues. Thanks a lot @marseel..

/lgtm
/approve

/approve


[Bug]: Uncheck Do not set a library administrator. Do not select a library administrator at this time. When you click OK, the library administrator is not checked.

ODC version
4.3.0
OB version
No related.
What happened?
Uncheck Do not set a library administrator. Do not select a library administrator at this time. When you click OK, the library administrator is not checked.

What did you expect to happen?
If you uncheck the option of not setting a library administrator, the library administrator is a required item. If you do not select a library administrator, you must check the required items.
How can we reproduce it (as minimally and precisely as possible)?
In Project Management, select a database, set the database administrator, uncheck Do not set an administrator, do not select a database administrator, and click OK
Anything else we need to know?
No response

Fixed In Commit e5538d5d1f305c5599dae9f992ab086aae6a13d5
------
畅晚
Thu May 30 09:33:28 2024 +0800

pass


🤖 Update one or more manifest files in the .ci directory

This is a follow-up to https://github.com/JuliaRegistries/General/pull/78512

This includes:

https://github.com/JuliaRegistries/RegistryCI.jl/pull/495
https://github.com/JuliaRegistries/General/pull/78464
https://github.com/JuliaRegistries/RegistryCI.jl/pull/499
https://github.com/JuliaRegistries/General/pull/78517


broken link

The link on the about page towards the INBO homepage is broken: http://www.inbo.be/content/homepage_en.asp
as well as the link to the lifewatch Belgium page, http://www.lifewatch.be/en/project and the link to the Hercules foundation, http://www.fwo.be//in_English/index.php

No longer relevant with new oscibio website


Add an option to enable ETag support for objects even after they are …

…converted to JObject
Fixes #
Description
A customer reported an issue with concurrent requests. It appears the concurrency conflicts no longer happen after the JObject conversion of memory state. To enable customers to continue to have concurrency support on their memory, they will need to define a property "ETag"
Specific Changes

Introduce CosmosDbPartitionedStorageOptions.OptimisticConcurrencyEnabled with a description of how it behaves.
Place the ETag from the Cosmos DB document into the document's content when the flag is enabled on Read.
Use the ETag from the JObject when the flag is enabled on Write.

Testing

Added a new unit test to ensure the exception is thrown when writing concurrently.
Added a test case to ensure the existing waterfall dialog works end to end with this option enabled.

Hi @EricDahlvang, you've been working on the azure libraries, would you be able to review this PR from Bas?

Hi @babrekel
Thank you for taking the time to submit this!
There might be some overlap with this PR and the one here; https://github.com/microsoft/botbuilder-dotnet/pull/4369
Please look this over, and let us know in the comments if it would satisfy your requirements.

Thanks Eric, that PR is actually awesome -- will it be merged?

@johnataylor do you have any suggestions here?  The issue addressed in this PR (4650) could be resolved with https://github.com/microsoft/botbuilder-dotnet/pull/4369 instead.

@babrekel please fix the merge conflicts, and we can merge this.
Thanks!

This PR is not required for 4.10.4

@babrekel , please resolve the conflicts so we can merge. Thanks.

/azp run

@babrekel tests are failing with this change. Can you please take a look? Thank you.

Deferring the PR to https://github.com/microsoft/botbuilder-dotnet/pull/4369


Clarify that in addon's case

Clarify that when used inside addons, the default location is also the the root of the addon. Initially I understood that it had to be the root of the dummy app.

Thanks, and sorry I let this linger for so long!


In the absence of a proxy host and a network connection, the CPU load rate remains high, and logs are continuously output with repeated errors, resulting in more than 2G of log files every day.

Installation environment: docker
The log records are repeated as follows:⬇
tail: cannot open '/var/log/nano_agent/cp-nano-http-transaction-handler.log?' for reading: No such file or directory
tail: no files remaining.

Deployment steps: mkdir ./appsec-localconfig
, wget
https://raw.githubusercontent.com/openappsec/open-appsec-npm/main/deployment/local_policy.yaml -O ./appsec-localconfig/local_policy.yaml,
wget https://raw.githubusercontent.com/openappsec/open-appsec-npm/main/deployment/docker-compose.yaml, docker-compose up -d

Deployment steps:
mkdir ./appsec-localconfig
wget https://raw.githubusercontent.com/openappsec/open-appsec-npm/main/deployment/local_policy.yaml -O ./appsec-localconfig/local_policy.yaml
wget https://raw.githubusercontent.com/openappsec/open-appsec-npm/main/deployment/docker-compose.yaml
docker-compose up -d

Hi @Jiejd
We're aware of the issue and are working on solving it. As a work around you can:
Delete the file:
Add a file named: /var/log/nano_agent/cp-nano-http-transaction-handler.log1
Thank you for reporting this, and my apologies for the inconvenience.
The open-appsec team

@orianelou Thanks for your reply, the problem was solved after adding the file.

Hi, issue was solved in latest agent release


Binary is not PIE (Position-independent code)

Component(s)
cmd/otelcontribcol
Is your feature request related to a problem? Please describe.
It looks like the binary for linux produced from this repo is not PIE (Position-independent code). I was wondering if this was a conscious decision. If not, would it be possible to start publishing PIE binaries for otel-collector-contrib?
My specific use case right now is that I am trying to run this on Unikraft Cloud (https://unikraft.org/docs/concepts/compatibility) and they require that binaries be PIE.
My workaround is to build from source, but I'd prefer to not have to do that.
Describe the solution you'd like
Linux binaries published by this project are PIE.
Describe alternatives you've considered
Building from source is a viable alternative.
Additional context
This is the error returned by the platform (confirmed by the people who run it).
Powered by Unikraft Telesto (0.16.2~83244528)
[    0.004302] ERR:  [appelfloader] otelcol-contrib: ELF executable is not position-independent!
[    0.005081] ERR:  [appelfloader] otelcol-contrib: Parsing of ELF image failed: Exec format error (-8)

Yes, this looks like a duplicate of #618. @DanTulovsky, would you be willing to file a PR for this?

Closing as duplicate of #618


node-gyp-build fails on windows if path to node.exe contains a space

Since upgrading to node 18.20 and node-gyp-build 4.8.1 node-gyp-build fails on a clean npm install on windows with the message:
'C:\Program' is not recognized as an internal or extrernal command, operable program or batch file
After debugging the issue locally I believe the issue originates in the build function in bin.js.
For windows, the command is run inside a shell and the path to node.exe is passed unquoted. Therefore, the shell interprets and splits the path. Locally, I could fix the issue by replacing line 25 with:
`"${process.execPath}"`,

I am hesitant to make a PR as I cannot currently test this on other platforms, but I am happy to do so if you want me to.

Facing the same problem
This commit should be the cause https://github.com/prebuild/node-gyp-build/commit/692860ef14f635cd9ab2cf06e879e964ec42deec
Revert line 30 to proc.spawn(args[0], args.slice(1), { stdio: 'inherit' })   is working
value of args[0] in my case is 'C:\Program Files\nodejs\node.exe'

I just tested the fix in #72 on Windows with node versions 18.16.0, 18.18.2, 18.20.3 and 20.11.1. It worked for all those versions.

Its Crazy! This package weekly downloads 12,530,231 times. Surprisingly, there is such a fundamental and serious mistake. And this error message in Chinese computer will show like npm error 'C:\Program' �����ڲ����ⲿ���Ҳ���ǿ����еĳ��� npm error ���������ļ���. Its real hard for me to get to the root of the problem.

How come this issue has not been resolved yet? It has huge consequences and sounds like an easy fix?

There is a PR with the fix we can merge? If so happy to take a look.


ImportError: cannot import name 'Memory' from 'langchain.chains.base'

Running the starter project on a a clean env but getting import errors.
Ran it on Apple MBP Pro M2 but recreated issue in Replit as well.
Sample repo:
https://replit.com/@AldrinClement/TestGPT
OPEN_API_KEY imported as secret in replit.
~/TestGPT$ python --version
Python 3.10.8
dep:
llama_index="^0.4.22"
Confirmed that I was using ver langchain-0.0.103.
Traceback (most recent call last):
File "main.py", line 4, in
from llama_index import GPTSimpleVectorIndex, SimpleDirectoryReader
File "/home/runner/TestGPT/venv/lib/python3.10/site-packages/llama_index/init.py", line 47, in
from llama_index.langchain_helpers.memory_wrapper import GPTIndexMemory
File "/home/runner/TestGPT/venv/lib/python3.10/site-packages/llama_index/langchain_helpers/memory_wrapper.py", line 5, in
from langchain.chains.base import Memory
ImportError: cannot import name 'Memory' from 'langchain.chains.base' (/home/runner/TestGPT/venv/lib/python3.10/site-packages/langchain/chains/base.py)

patching in a fix right now! fix is already merged in master

llama-index==0.4.22.post1


Cannot use Aer qasm sim with Sabre

Information

Qiskit Terra version: latest
Python version:
Operating system:

What is the current behavior?
   _swap += [SabreSwap(coupling_map, heuristic="decay", seed=seed_transpiler)]
  File "/opt/miniconda3/envs/qiskit/lib/python3.9/site-packages/qiskit/transpiler/basepasses.py", line 29, in __call__
    pass_instance = type.__call__(cls, *args, **kwargs)
  File "/opt/miniconda3/envs/qiskit/lib/python3.9/site-packages/qiskit/transpiler/passes/routing/sabre_swap.py", line 126, in __init__
    if coupling_map.is_symmetric:
AttributeError: 'NoneType' object has no attribute 'is_symmetric'

Steps to reproduce the problem
What is the expected behavior?
Suggested solutions

That coupling_map is None implies all-to-all connectivity is codified in CheckMap https://github.com/Qiskit/qiskit-terra/blob/a8a0d1be26b5df097e7a21016fa21550a3c4efce/qiskit/transpiler/passes/utils/check_map.py#L46 , which functionally means that routing passes wouldn't need to know how to handle coupling_map is None in their run() method, since CheckMap would reliably skip running a routing pass if coupling_map is None.
However, SabreSwap makes some modifications to self.coupling_map (likely for sake of performance) in it's __init__ https://github.com/Qiskit/qiskit-terra/blob/a8a0d1be26b5df097e7a21016fa21550a3c4efce/qiskit/transpiler/passes/routing/sabre_swap.py#L126 . Likely, this should be updated to if coupling_map.is_symmetric or coupling_map is None:.


[RFC][GCOV] Added option to customize the gcov filtering report.

The GCOV plugins is quite powerful, but there is no easy way to customize.
I am doing a pull request that adds a gcov plugin option to customize the generated report filtering.
It works like this:
:gcov:
    :html_report_filter: "*.vendor.*|^build.*|^test.*|^lib.*|.*/ext_lib.*"

This issue should be closed, as #273 fixed the issue.
Thanks @dpostorivo for taking a look into this.


[SFTP CUSTOM PORT] Connection impossible using a custom SFTP port ?

I may have made a mistake, but It seems I can't connect to my repo using a custom SFTP port, I'm trying to add :myport at the end of the IP adress, but It throw me an error.
unable to start the sftp session, erro receiving version paket from server: server unexpetedly closed connection: unexpected EOF
Thanks, and sorry if this is a stupid question ...

That should just work if you are not using any other special, advanced SFTP options.
How does your sftp URL look like? How are you using it in restic and how do you use it in Restic-Browser?
Please note that the sftp: prefix should be skipped in Restic-Browser, after you've selected SFT as location type in the repository browser.

I use the right type SFTP and then I put this the URL :
myuser@XX.XXX.XXX.XXX:PPPPP
XX.XXX.XXX.XXX For the IP of the server I'm trying to connect
PPPPP : For the custom port I'm trying to use
If that's matter I'm on a windows machine
This command works in powershell ^^
Thanks again :)

I took this as URL:
sftp:
//restic@myserver.mydomain.com:12345//var/backups/restic/myxxx

I would appreciate if there would be a little help with the sftp-URL in the configuration page.