Use importlib to load numba extensions

Closes #4927

@svrakitin thanks for submitting this and congrats on submitting your first PR to Numba. I have queued it for review now.

This one adds importlib_metadata as dependency for python versions < 3.8.

Note to reviewers: Someone needs to go and manually test this for Python 3.7 and 3.8 against numba-scipy to make sure it works fine in practice.

BTW: how hard is this dependency?

@esc It is non-optional run time dependency.

@esc It is non-optional run time dependency.

In that case, I believe it should be added to setup.py too. The only other two dependencies that are listed there are llvmlite and numpy.

Actually setuptools is in there too.

@svrakitin thanks for submitting the fixes, I have now marked it as waiting for reviewer input. @stuartarchibald @sklam what say you?

Thanks for this. There's a couple of tiny things to resolve (we should use conda packages ahead of pip!).
Otherwise, this PR seems technically fine and gets approval from me. More generally the core developers will need to agree on accepting importlib_metadata as a hard dependency but I do not anticipate this being a problem.
@esc any chance you could please test run this with numba-scipy to make sure it works ok in practice, thanks.

@stuartarchibald done and appears to be working

The build farm is failing on architecture armv7l because there's no importlib-metadata package available, but it looks like there's one on the c4armv7l channel. @seibert any view on using this?

we should pull it into the numba channel so it will be picked up in testing.  (As far as I can tell, importlib-metadata ought to be a noarch package since it is pure python, but I guess no one is building their conda packages that way.)

Update. c4armv7l packages of importlib-metadata (and in fact all I could find in a quick scan) are not noarch packages. It so happens that the build images for the armv7l CI don't have contrainsts that match the requirements of the c4armv7l packages of importlib-metadata, so that's a dead end. As a result I've forked and patched the repo to noarch here https://github.com/numba/importlib_metadata-feedstock and plan to add a build farm job so it can be shipped for use in the Numba channel.

Any hope of this for numba-0.51 ?

@stonebig it is unlikely to make it. Currently selected issues for 0.51 are here:
https://github.com/numba/numba/pulls?q=is%3Aopen+is%3Apr+milestone%3A"Numba+0.51+RC"

@svrakitin, would you be able to rebase this?

@eric-wieser Unfortunately, I don't have any capacity to work on this
@esc maybe you are able to help here and push this to the end?

@eric-wieser Unfortunately, I don't have any capacity to work on this
@esc maybe you are able to help here and push this to the end?

I'm happy to take this on. After resolving conflicts the changes here seem to work fine but there are some additional entry point tests that also need updating - I'll push an updated version once it's ready.

Thanks for taking this on @gmarkall

@eric-wieser @svrakitin @esc This is updated accordingly now - any further review required / desired?

@stuartarchibald Many thanks for the review - all comments addressed / commented on.

Buildfarm ID: numba_smoketest_cpu_yaml_41.

This is failing on the buildfarm with:
DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.

which is coming from importlib_metadata.entrypoints().get(...).
One test that triggers it is numba.tests.test_dataflow.TestDataFlow.test_assignments2. This on Python 3.8, with importlib-metadata-3.10. I've been able to reproduce this locally on the same but with Python 3.7.
xref: https://github.com/python/importlib_metadata/issues/298

gpuci run tests

@stuartarchibald Many thanks for the reviews - the most recent comments should now be addressed.

@stuartarchibald Many thanks for the reviews - the most recent comments should now be addressed.

Thanks @gmarkall, the updates they look good. If you are happy to:

approve https://github.com/numba/numba/pull/5209/commits/724990fec615b84f82466a4a3e5e29f04dcdc5c1 which is derived from my patch here https://github.com/numba/numba/pull/5209#discussion_r790985049
run any CUDA testing you think necessary

Then I'm happy to approve this patch. Many thanks!

gpuci run tests.

Approved re 724990f which is authored by @stuartarchibald.

Thanks @gmarkall

@gmarkall Hah, thanks for getting this to the end. :)

Actually setuptools is in there too.

Good catch @esc, it should have been removed from there in this PR.
Follow-up PR to close the deal: https://github.com/numba/numba/pull/8366


Resume using graph operations

Rewrites the resume operation to use graph operations for increased speed.
To test:

Set <GraphOperations>1</GraphOperations> in /gevol/assets/.config/misc.xml
Restart Fusion.
Start building an imagery project.
Cancel the imagery project.
Resume the imagery project using the geresume command.

Alternatively, run the integration tests: https://github.com/google/earthenterprise/tree/master/earth_enterprise/integration_test
Fixes #1329.

lgtm. just a minor comment


allow python 3.9

Hello! Based on pypi, it looks like version 0.2.0 supports python 3.9, so I am proposing to allow the same on conda-forge. Please feel free to close if I misunderstood.
Thanks for a great package!
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hello, @lmcinnes ! Just a friendly ping. No worries if you're too busy to review. Thanks!


Aspire sql tutorial

Summary
Describe your changes here.
Fixes #Issue_Number (if available)

Internal previews

📄 File
🔗 Preview link

docs/database/quickstart-sql-server.md
Tutorial: Connect an ASP.NET Core app to SQL Server using .NET Aspire and Entity Framework Core

Hey, I almost forgot @alexwolfmsft - we will need a TOC entry for this.

Hey, I almost forgot @alexwolfmsft - we will need a TOC entry for this.

This one was challenging to fit on the TOC but went with "Tutorial - SQL Server with Entity Framework Core" - do we want to consider switching all the TOC entries to EF Core or something to give more room on one line?

Hey, I almost forgot @alexwolfmsft - we will need a TOC entry for this.

This one was challenging to fit on the TOC but went with "Tutorial - SQL Server with Entity Framework Core" - do we want to consider switching all the TOC entries to EF Core or something to give more room on one line?

Yes, I live that idea. "EF Core" short and sweet.


Rspec doesn't work

You need to provide information:
Master is working (you can see travis).
What is your bundle and bundle.lock file
bundle list
bower list

Fixed


added another property of string with code samples

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @iTanuj on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


admin user doesn't have permission for demo site,

http://laravel-admin.org/demo/
demo site indicate "Permission Denied".
Does someone updated admin's permission?
I want to see demo site.
Please rollbacl...

It's ok now,  someone has changed the permission...

thank you!


What is it for?

 There is a lot of info on the official website, but no answer to this question. So what can I do with Reason? What is the purpose of the language? What can I use it for? Why did you build one more programming language?

From the main page:

Reason is a new interface to OCaml - a highly expressive dialect of the ML language featuring type inference and static type checking. Reason provides a new syntax and toolchain for editing, building, and sharing code, and will evolve in the open as a community collaboration. Reason already has contributors across several organizations/companies.
Compare JS Compare ML

And then from the README, there are a few bullet points about (part of) the total developer experience you would receive which are reasons you'd want to use Reason. Numbers 1/2 provide a more approachable interface to 3/4 which are already provided by either the ocamlopt compiler, or one of the compile-to-js options that exist for the OCaml compiler. #5 is still WIP, and would provide a local development workflow for rapidly building and sharing packages.

Approachable syntax.
Powerful, automatic source code formatting.
Adopt Incrementally with JavaScript/C interop.
Ahead of time compilation to assembly - without a language level VM.
Rapidly develop and share projects.

We've made good progress towards #1/#2 (it's in a usable state), and #5 is the biggest remaining challenge.
In summary, if you want many of the benefits of the OCaml compiler and the ones that are coming in the future, and you either want a more approachable syntax for yourself or the people who read your code, and you want it to be easy to develop many small connected packages locally, then Reason may be useful for you either now or some time in the future. If not, then Reason may not be useful for you.

Closing to keep clean out the task queue, but feel free to continue a discussion here if you like.


Enable GBQV2 connector and its swagger for Date Factory and Synapse

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

@qifanzhang-ms please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@ agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@ agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@ agree company="Microsoft"

Contributor License Agreement

@ agree company="Microsoft"

/pr RequestMerge


No username as arg for ddev images, issue with default one containing parentheses

-----Is your feature request related to a problem? Please describe.
Yes, I'm trying to start TYPO3 instance, and my Windows username contains parentheses ( ) and seems like ddev uses our default Windows username as username in docker images, which creates issues in ddev_web docker image of the project.
The error from log of ddev web image is:
sh: 49: /etc/apache2/envvars: Syntax error: "(" unexpected
and cmd says:
err=container"web" exited
Most likely coming from username which contains parentheses, and that windows username is something like this: myus(ab)def
-----Describe the solution you'd like
Give ddev configuration an option to pass username we want, either as argument in CLI or through config.yaml, PLEASE.
Thank you for your time :)
-----Describe alternatives you've considered
I tried editing composer files manually, but they get overwritten when I run ddev start again... maybe at least give us option to keep those edits when running "ddev start" again. Thank you :)

I never would have guessed that anyone could have parens in their username. I imagine that this answer will solve the problem for you though, https://stackoverflow.com/a/64934264/215713

I'll probably end up trying to make parens in usernames work, so if you could tell me your username it will help.
A side note: In the end you'll probably want to start using WSL2 for Windows use, as it's so much more robust and performant. But when you do... use a normal username in WSL2 :) I guess it will force you to do so.

Thank you for quick response! "Emir Memic (SJJ)" is the exact Windows username, my new workplace has Windows accounts we use to log into OS and other Microsoft services and creates these usernames with text in parens. In the end DDEV makes it emirmemic(sjj) to use as username in generated docker compose files. I assume easiest fix would be to remove parens from string immediately after fetching Windows username just as it removes white spaces and makes username lowercase, probably easier than trying to adjust rest of the code just because of parens. As for WSL2, it's is pre-requisite for Docker atm, and I have it installed and set as default version of WSL.
Once more, thank you for quick response, and of course, a cool software you built. :)

Does the fix in https://stackoverflow.com/a/64934264/215713 work for you?

Thank you Randy :) I was in middle of trying to do that fix from stackoverflow but filenames were different and in the meanwhile I noticed you made a commit to change it, so I didn't continue with trying the fix and I've found a temporary alternative to run my project locally on Windows - but running using DDEV is way better and easier, especially for future employees here. Not in a rush, I'm just wondering when does this go live as a part of an update?
Have a nice day :)

I did a PR for it, but you should be able to just use the solution in Stack Overflow, it's the same problem.
I expect a new release in the next couple of weeks.


NIFI-13304 Added SplitExcel capability for 1.x

Summary
NIFI-13304
This PR introduces the SplitExcel processor which allows users to split an Excel spreadsheet consisting of many sheets into multiple spreadsheet flow files each containing a single sheet. The code for this PR is for the 1.x branch. The 2.x branch has been done in PR #8981
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK ~21~ 8

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Merged in https://github.com/apache/nifi/commit/6e69b7009c669b0aaf554b5cb5e17b2fdc5decd6


Hombli Smart Spots

Thanks for the contribution.
I can't find anything about this code "0474blxzkt0uoa3s" on google. How is this light bulb identified in Device info panel in HA?
Also the measurements has strange characteristics. See the plot below. I never seen something like this before.
On lowest brightness levels for some color temperatures the measurements read ~5 Watt.
Normally it should be an upwards curve with the watt increasing on each brightness level.
Could be some problem with the bulb, the integration which controls the bulb or the power meter.
Could you take some samples manually to see if you can reproduce this behaviour?

Hi,
this spot is identified as "Hombli Smart Spot (0474blxzkt0uoa3s) by Tuya". The measurements look weird for me as well, I'll check it manually.

@aliceapps Are you still able to check / redo these measurements?

@aliceapps I am closing this PR due to inactivity. When you find some time to work on this again you can create a new PR.
Thanks anyway for your efforts so far.


Parabola Line Issue

Overview
LineExample mesh objects missing when playing. I was trying to use the Parabola in my own scene and it wasn't rendering the mesh objects. I jumped over to run the LineExample and it looks like that scene is having issues as well. Not sure whats going on.
Expected Behavior
View in Editor.

Actual Behavior
View while in play mode.

Steps to reproduce
Run the LineExample.
Unity Editor Version
2018.1.0f2
Mixed Reality Toolkit Release Version
2<IP_ADDRESS>

@gobanjoboy
I don't see any issue with the lines.
I am using the lines in my app and they work fine.
The spheres that you see in the editor are only gizmos showed by the custom editor.
In the example scene only the Line gameobject uses a LineMeshes renderer where the mesh is a cube.
The Parabola uses a LineStripMesh and it seems correct.

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


No Index page

Using YARD on new project and discovered I could not navigate to the index page. To see this go to:
http://rubyworks.github.com/erbside/docs/api/Erbside.html
And click on 'Index' up in the upper left corner.
(Ruby 1.8.7 and Yard 0.6.7)

I've had the same issue and it is indeed Github Pages's fault not liking _index.html. But would it not make more sense to rename it contents.html anyway? I used a horrible bash sed script to rename throughout.


Method name suggestions for version 1.0.0

Some method names are not as good as it should be. (Thanks to my poor English)
However I don't want to change api so fast. So please list your suggestions on method names here for now:
@tbasse suggested here https://github.com/arasatasaygin/is.js/issues/43 :
is.under() —> is.below()
@colindresj suggested here https://github.com/arasatasaygin/is.js/issues/23:
is.setNamespace() —> is.noConflict()

You should use —> or something instead of > because that makes it look like is.under() is greater/better than is.below() and I was really confused for a minute.

:) edited

Just a suggestion, If naming is.object()  to  is.json() it gives more readability to the type. Or atleast providing an alias json would be great.

I would change is.within(num, min, max) to is.between(num, min, max). I think that between is clearer.

I would suggest to change the name of two functions is.function and is.null since they are JavaScript keywords. Something like is.typeFunction() and is.typeNull() or if someone can suggest some good and concise names that would be great.

I agree the name isn't great, but I think it's tenseness is really straight forward and is kind of a theme of the library.
-Patrick Metcalfe

On Feb 19, 2015, at 4:20 AM, Gurudatt Kulkarni<EMAIL_ADDRESS>wrote:
I would suggest to change the name of two functions is.function and is.null since they are JavaScript keywords. Something like is.typeFunction() and is.typeNull() or if someone can suggest some good and concise names that would be great.
—
Reply to this email directly or view it on GitHub.

I would like to see is.all.xxx being renamed to is.every.xxx because the first one isn't correct grammatically, it should be are.all.xxx. The second form works both grammatically and expresses intent clearly, IMHO.

I disagree because in many other languages using all is standard so it maps nicely here. Plus it may not be grammatically correct but it is, I believe, more clear. I don’t know though; just my thought. [Python all](https://docs.python.org/2/library/functions.html https://docs.python.org/2/library/functions.html) and [Ruby's all?](http://ruby-doc.org/core-2.2.1/Enumerable.html#method-i-all-3F http://ruby-doc.org/core-2.2.1/Enumerable.html#method-i-all-3F)

I disagree because in many other languages using all is standard so it maps nicely here. Plus it may not be grammatically correct but it is, I believe, more clear. I don’t know though; just my thought. Python all and Ruby's all?

@pducks32 I am aware of those but none of those methods are trying to make grammatical sense.
Besides I could counter with Underscore.js every and LoDash's every (which is also aliased as all) and, finally, the Javascript every.
So it seems to be the way Javascript people like it.

Actually I agree. All of those are Js libraries so I actually like the mapping better.
So yea I support every 👍

@Guru107 I would like to propose amending the suggestion from renaming to aliasing since using reserved words as property names is only invalid in ES3. https://kangax.github.io/compat-table/es5/


How does Huxley handle stashes?

I'm experimenting with Huxley for the first time on an existing project. I kept running into an error where I'd have 3 or 4 stashes sitting around. Here's what I did to start up Huxley:

Created my Huxleyfile.json in my project root
Ran hux --record and clicked through my first few screens
Committed the two generated files: Huxleyfile.json and Huxleyfolder/project.record.json
Ran hux

At that point I'd get an error:
The tests now halt. You might have unfinished tasks.

Possibly unhandled Error: Command failed: unable to refresh index

    at ChildProcess.exithandler (child_process.js:637:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)

I'd also randomly get my most recent stash applied to the working directory. The only way I was able to resolve this issue was to delete all my stashes. Then hux ran just fine.
Is this the expected behavior?

Here's what it does. I admit that it's a bit magical. But less than that, you wouldn't have the workflow in the first place (maybe I should just remove it...).
Does this help? http://stackoverflow.com/questions/14825965/git-stash-unable-to-refresh-how-to-pop-only-some-files
If it gets complicated, you can always manually check the diffs with -w before you make the change, then -c after: https://github.com/chenglou/node-huxley/wiki/Advanced-usage


Update s3, sdk-core, sqs to 2.16.65

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.16.26 to 2.16.65.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #187.


Some streams have blank IDs

Some Stream Removed events have a blank ID which means we don't know which Stream to remove from the app.

Streams without stream ids have been observed during logging of responses from the native iOS and Android SDKs. Please see logs below.
iOS:
2023-04-21 18:24:52.937 28500-29551 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 0b9431e3-8b0f-3733-a28a-3dd851ecae56, label: ec94a6f3-c28e-003b-6f54-000000000000, videoStream: 1, type: Camera
2023-04-21 18:24:59.565 28500-29551 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 0b9431e3-8b0f-3733-a28a-3dd851ecae56, label: ec94a6f3-c28e-003b-6f54-000000000000, videoStream: 0, type: Camera
2023-04-21 18:25:10.768 28500-29551 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 59dbdb20-d421-32e2-a828-bfe4b91e5ea1, label: 0_camera_59dbdb20-d421-32e2-a828-bfe4b91e5ea1, videoStream: 0, type: Camera
2023-04-21 18:25:11.627 28500-28500 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 59dbdb20-d421-32e2-a828-bfe4b91e5ea1, label: 0_camera_59dbdb20-d421-32e2-a828-bfe4b91e5ea1, videoStream: 1, type: Camera
2023-04-21 18:25:32.435 28500-29551 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 59dbdb20-d421-32e2-a828-bfe4b91e5ea1, label: 0_camera_59dbdb20-d421-32e2-a828-bfe4b91e5ea1, videoStream: 0, type: Camera
2023-04-21 18:25:32.439 28500-29551 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 59dbdb20-d421-32e2-a828-bfe4b91e5ea1, label: , videoStream: 0, type: Camera
2023-04-21 18:25:32.596 28500-28500 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 59dbdb20-d421-32e2-a828-bfe4b91e5ea1, label: , videoStream: 0, type: Camera

Android:
2023-04-21 18:27:36.145 28500-29551 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 0b9431e3-8b0f-3733-a28a-3dd851ecae56, label: ec94a6f3-c28e-003b-6f54-000000000000, videoStream: 1, type: Camera
2023-04-21 18:27:45.524 28500-29551 [STREAM]                com.example.reactnativedolbyiosdk    D  on update: peerId: 0b9431e3-8b0f-3733-a28a-3dd851ecae56, label: ec94a6f3-c28e-003b-6f54-000000000000, videoStream: 0, type: Camera

@kbetl-dlb I remember that we had logs from Android for this. If you find them please attach them to this issue.

STOP audio on IOS and collect logs on android
2023-06-09 12:51:22.139 20545-20545 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamRemovedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: , video: [], audio: [] }

LOG  STREAMS CHANGE EVENT DATA:
{
"stream": {
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": ""
},
"participant": {
"type": "USER",
"id": "66afd98f-09c3-320f-b1d1-62409cb22557",
"status": "CONNECTED",
"streams": [],
"audioTransmitting": false,
"info": {
"externalId": "",
"name": "Belle Clarke"
}
}
}

START/STOP video on IOS and collects logs on ANDROID

2023-06-09 12:54:25.680 20545-20545 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: 0_camera_66afd98f-09c3-320f-b1d1-62409cb22557, video: [com.voxeet.android.media.stream.VideoTrack@37b3d9c], audio: [null] }
LOG  STREAMS CHANGE EVENT DATA:
{
"stream": {
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
},
"participant": {
"type": "USER",
"id": "66afd98f-09c3-320f-b1d1-62409cb22557",
"status": "CONNECTED",
"streams": [
{
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
}
],
"audioTransmitting": true,
"info": {
"externalId": "",
"name": "Belle Clarke"
}
}
}

After stop video three stream update appear and label (id) are missing

2023-06-09 12:55:18.831 20545-24380 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: 0_camera_66afd98f-09c3-320f-b1d1-62409cb22557, video: [], audio: [null] }
2023-06-09 12:55:18.836 20545-24380 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: , video: [], audio: [null] }
2023-06-09 12:55:18.972 20545-20545 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: , video: [], audio: [null] }
LOG  STREAMS CHANGE EVENT DATA:
{
"stream": {
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
},
"participant": {
"type": "USER",
"id": "66afd98f-09c3-320f-b1d1-62409cb22557",
"status": "CONNECTED",
"streams": [
{
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
}
],
"audioTransmitting": true,
"info": {
"externalId": "",
"name": "Belle Clarke"
}
}
}
LOG  attach
LOG  STREAMS CHANGE EVENT DATA:
{
"stream": {
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": ""
},
"participant": {
"type": "USER",
"id": "66afd98f-09c3-320f-b1d1-62409cb22557",
"status": "CONNECTED",
"streams": [
{
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": ""
}
],
"audioTransmitting": true,
"info": {
"externalId": "",
"name": "Belle Clarke"
}
}
}
LOG  attach
LOG  STREAMS CHANGE EVENT DATA:
{
"stream": {
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": ""
},
"participant": {
"type": "USER",
"id": "66afd98f-09c3-320f-b1d1-62409cb22557",
"status": "CONNECTED",
"streams": [
{
"videoTracks": [],
"audioTracks": [],
"type": "CAMERA",
"id": ""
}
],
"audioTransmitting": true,
"info": {
"externalId": "",
"name": "Belle Clarke"
}
}
}

START/STOP video on IOS and collects logs on ANDROID

2023-06-09 12:54:25.680 20545-20545 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: 0_camera_66afd98f-09c3-320f-b1d1-62409cb22557, video: [com.voxeet.android.media.stream.VideoTrack@37b3d9c], audio: [null] }

 LOG  STREAMS CHANGE EVENT DATA:
 {
  "stream": {
    "videoTracks": [],
    "audioTracks": [],
    "type": "CAMERA",
    "id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
  },
  "participant": {
    "type": "USER",
    "id": "66afd98f-09c3-320f-b1d1-62409cb22557",
    "status": "CONNECTED",
    "streams": [
      {
        "videoTracks": [],
        "audioTracks": [],
        "type": "CAMERA",
        "id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
      }
    ],
    "audioTransmitting": true,
    "info": {
      "externalId": "",
      "name": "Belle Clarke"
    }
  }
}

After stop video three stream update appear and label (id) are missing

2023-06-09 12:55:18.831 20545-24380 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: 0_camera_66afd98f-09c3-320f-b1d1-62409cb22557, video: [], audio: [null] }
2023-06-09 12:55:18.836 20545-24380 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: , video: [], audio: [null] }
2023-06-09 12:55:18.972 20545-20545 [STREAM]                com.example.reactnativedolbyiosdk    D  onStreamUpdatedEvent: participant:  Participant{id='66afd98f-09c3-320f-b1d1-62409cb22557', participantInfo=ParticipantInfo{name='Belle Clarke', externalId='', avatarUrl='null'}, status=ON_AIR, quality='null'}, streams: { label: , video: [], audio: [null] }

 LOG  STREAMS CHANGE EVENT DATA:
 {
  "stream": {
    "videoTracks": [],
    "audioTracks": [],
    "type": "CAMERA",
    "id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
  },
  "participant": {
    "type": "USER",
    "id": "66afd98f-09c3-320f-b1d1-62409cb22557",
    "status": "CONNECTED",
    "streams": [
      {
        "videoTracks": [],
        "audioTracks": [],
        "type": "CAMERA",
        "id": "0_camera_66afd98f-09c3-320f-b1d1-62409cb22557"
      }
    ],
    "audioTransmitting": true,
    "info": {
      "externalId": "",
      "name": "Belle Clarke"
    }
  }
}
 LOG  attach
 LOG  STREAMS CHANGE EVENT DATA:
 {
  "stream": {
    "videoTracks": [],
    "audioTracks": [],
    "type": "CAMERA",
    "id": ""
  },
  "participant": {
    "type": "USER",
    "id": "66afd98f-09c3-320f-b1d1-62409cb22557",
    "status": "CONNECTED",
    "streams": [
      {
        "videoTracks": [],
        "audioTracks": [],
        "type": "CAMERA",
        "id": ""
      }
    ],
    "audioTransmitting": true,
    "info": {
      "externalId": "",
      "name": "Belle Clarke"
    }
  }
}
 LOG  attach
 LOG  STREAMS CHANGE EVENT DATA:
 {
  "stream": {
    "videoTracks": [],
    "audioTracks": [],
    "type": "CAMERA",
    "id": ""
  },
  "participant": {
    "type": "USER",
    "id": "66afd98f-09c3-320f-b1d1-62409cb22557",
    "status": "CONNECTED",
    "streams": [
      {
        "videoTracks": [],
        "audioTracks": [],
        "type": "CAMERA",
        "id": ""
      }
    ],
    "audioTransmitting": true,
    "info": {
      "externalId": "",
      "name": "Belle Clarke"
    }
  }
}

iOS - Start Audio
{   "participant": {     "type": "USER",     "audioReceivingFrom": false,     "audioTransmitting": true,     "streams": [       {         "type": "CAMERA",         "id": "",         "videoTracks": [],         "audioTracks": [           "00000000-0000-0000-0000-000000000000_audio"         ]       }     ],     "id": "66afd98f-09c3-320f-b1d1-62409cb22557",     "status": "CONNECTED",     "info": {       "avatarUrl": null,       "name": "Belle Clarke",       "externalId": ""     }   },   "stream": {     "audioTracks": [       "00000000-0000-0000-0000-000000000000_audio"     ],     "type": "CAMERA",     "id": "",     "videoTracks": []   } }

iOS - Stop Audio
{
  "participant": {
    "info": {
      "externalId": "",
      "name": "Belle Clarke",
      "avatarUrl": null
    },
    "type": "USER",
    "audioReceivingFrom": false,
    "id": "66afd98f-09c3-320f-b1d1-62409cb22557",
    "status": "CONNECTED",
    "streams": [],
    "audioTransmitting": false
  },
  "stream": {
    "videoTracks": [],
    "type": "CAMERA",
    "id": "",
    "audioTracks": [
      "00000000-0000-0000-0000-000000000000_audio"
    ]
  }
}

To reproduce blank id on iOS:

remove all streams (turn off audio and video) on iOS device
add an audio stream
most of the time you will get a blank id

I confirm that on Android the problem is in SDK itself.
We are working on it.

@rkanu-dolby any updates related to this issue?

Hi. For Android it is fixed in SDK 3.10.0

Testing in React Native is needed.

Tested. Works properly.


Start, Stop and reset

Hi,
I've got my compositions playing without a problem, and I've done some manual starting and stopping. I was wondering if there was a cleaner way of doing a start, stop and reset to frame 1? Right now I have the following which starts and stops and sets the loop to 1.
function playComp(compToAnimate) {
compToAnimate.movieclip.loops = true;
compToAnimate.play();
setTimeout(function () {
compToAnimate.movieclip.loops = false;
$('.tab.active .play-button').addClass('visible');
}, 3000);
}
I have my compositions in separate tabs and I use the above function in my callbacks. But if I switch tabs and switch back before the animation has finished, it is still running.
I'd like to have the animation play on an active tab once and when it's finished give the option to play it again via a button I've already created, but if the tab is switched before it has finished playing, to stop and reset the inactive tabs svg.
I hope that makes sense, thank you in advance and for this great plugin.

What you are asking for is full scripting support. See #51 . This is not available on the public release yet, but it is working in dev branch. See if you can get the zxp on that branch installed through the ExManCmd command line tool.  It's not as straight forward so you may have to mess with it some, but if you get it working scripting, such as gotoAndStop(1) should work. There's a video showing how scripting works with the plugin in the wiki.


Emptying editor does not allow "Save" and leaves artifacts.

If an editor field is used once, it cannot be returned to NULL or "".
If all content is deleted from the field, Save does not light up. And if edits are made elsewhere to bring up Save, that empty field does not save. The text from the prior state will still be there, rather than "" or NULL.
The only way to empty a field is to directly edit the database.

I got the same issue, if i remove everything, the last block will be kept
Original

Remove everything

Press save and reload

Some times i will keep line 1, sometime it will keep more

Dunno if this will solve all the issues mentioned above, but I got it to save in an empty state by removing if (newData.blocks.length) {} from admin/src/components/editorjs (line 54 in my fork of the repo). Not entirely sure why that if statement is there to begin with, but hope this helps someone.

Dunno if this will solve all the issues mentioned above, but I got it to save in an empty state by removing if (newData.blocks.length) {} from admin/src/components/editorjs (line 54 in my fork of the repo). Not entirely sure why that if statement is there to begin with, but hope this helps someone.

Thanks,
I found this PR can fix the issue
https://github.com/melishev/strapi-plugin-react-editorjs/pull/41

Hey i already fixed this in my PR. Please merge it, im already using in production :)
https://github.com/melishev/strapi-plugin-react-editorjs/pull/41

I thought the check for blocks was not needed, just forward the change event and resave
 onChange={(api) => {
            api.saver.save().then((res) => {
              onChange({target: {name, value: JSON.stringify(res)}});
            });
          }}

@melishev Could you accept this PR, ill have some time soon to complete dark mode

#41 this branch really works but it needed a minor fix.
If the text field is a required field, it should have given a "required field" warning when the text is deleted.
#59  With the fix I made here, we can overcome this problem without any problems.

#41 this branch really works but it needed a minor fix.
If the text field is a required field, it should have given a "required field" warning when the text is deleted.
#59 With the fix I made here, we can overcome this problem without any problems.

Any advance on this?


[Add] i want to add a animated button

Details
the animation of the button wobbles, when user puts the cursor on and hover
Screenshots
No response
Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[ ] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

@Spyware007 can you assign !!

@Spyware007 ???

pls assign


Fix NewRelicContextFormatter converts all extra log attributes to strings

Overview

Fix NewRelicContextFormatter converts all extra log attributes to strings (resolves #21).
Remove whitespaces from JSON log output.

NewRelicContextFormatter converts all extra log attributes to strings. This PR changes the behavior so that attributes are only converted to string if JSON serialization is not possible (by using default=str argument). This allows nested dictionary types to be used as log attributes.
For example:
logging.info("Hello world!", extra={"integer": 123, "nested": {"foo": "bar"}})`

Before changes:
{"message": "Hello world!", "integer": "123", "nested": "{'foo': 'bar'}"}

After changes (whitespaces removed, integer≠string, dictionary≠string):
{"message":"Hello world!","integer":123,"nested":{"foo":"bar"}}

Related Github Issue
https://github.com/newrelic/newrelic-python-agent/issues/21

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

Hi @qvik-olli, thank you for your contribution!
We're going to take ownership of this and make some minor tweaks after merging. Hopefully this will make it into our next release.

Great, thanks! I'm looking forward to see these changes in a release.

@qvik-olli Could you merge or rebase with main to pick up the patches to those failing tests? The failures are unrelated to your PR but are blocking merging.

@TimPansino, I rebased my changes.


Payment Management page

This ticket is for implementing the customer's Payment Management page.
We need to add cms in the backend but you can use page label for order history in the meantime.

[x] ux design
[x] sandbox
[x] implement
[x] unit tests
[x] e2e tests
[x] proper cms label

Implementation was start by Kryz, see below.
Maybe talk to Kryz about how far he got and what was blocking (possibly missing CMS from backend).
General behavior

Display cards of existing payments, like checkout
-- If no payments, see https://98qkkl.axshare.com/#g=1&p=payment_methods_empty
Allow user to delete a payment method
-- Clicking Delete displays "are you sure" inside the box
See https://98qkkl.axshare.com/#g=1&p=payment_methods_delete
Allow user to set a payment method as the default (moves to first spot)
Out of scope: creating new payments, changing payments
ux design is https://98qkkl.axshare.com/#g=1&p=spa-186-payment_methods_added
Differences in current UX design we don't want:
-- UX has "Default payment method" but other payment methods should not have "Payment method 2", "... 3", etc.
-- No credit card image
-- The UX has a menu at left, we left that out so far
need backend cms (see SPA-1118)

From Original tickets
Original ticket (SPA-1106) stated we needed:

ngxstore related code
unit and e2e tests

Pagelabel is: payment-details (but is this added already?)
and Kryz wrote:
Both styling and implementation of payment methods' removal (and setting as default) - they both are partially implemented in branch feature/SPA-1108 (branch feature/SPA-1107 is abandoned).

Styling is almost done.
Removal of payment method ans setting as default - both has to be implemented yet.

After talk with @Platonn it is better to start a new branch and only copy some code from old branch.

Get user payment methods request have one parameter called "saved", we need set it to 'true'. (When you delete one payment method, this payment's 'saved' attribute is set to 'false'. )

QA is done. Payment management works ok.
No errors found.


persist project observations after user deletion

Some project owners want to retain contributions even if users remove their iNat accounts. IMO, project owners should implement this themselves by regularly archiving their CSV archive, but I guess I'm open to persuasion.
If we were to do this, a number of things would have to happen:

Projects would need a preference specifying that contributions are retained after deletion. Default should be false
Users need to see this as part of the project terms and rules when they join a project, on both web an mobile
Users should be reminded that their contributions to such projects will not be deleted when they try to delete their accounts
Persisted observations by deleted users should be associated with a single user responsible for responding to comments, which implies that observations need some new property like curator_user_id. Observation curators should not be able to delete an observation if it's been added to multiple projects that want to hold on to it. They also shouldn't be able to edit it.
When projects are deleted iNat should delete an orphaned observations that are no longer associated with any projects that want them.

Questions:

Should users be able to delete observations contributed to these projects? I think they should, with notification about the projects that would prefer they didn't.
Should users be allowed to override this and delete all their observations when deleting their accounts, with notification? I think they should. Probably the most notable deleted user on our site was a kid whose parents weren't comfortable with how much information he was revealing and chose to delete his account. They wouldn't have wanted any of his data to stick around, and I think that's the way it should be.

I don't think it's likely we'll work on this in the foreseeable future, and I certainly don't know why we'd do this before providing an option to leave your observations after deletion regardless of project affiliation.


onMessageReceived callback is now executed even if app is running in background

onMessageReceived callback is executed immediately after notification is received on Android, using plugin version 0.2.0. With plugin version 0.1.5 the callback was executed when I click on the notification from the tray (just like it is on iOS). What changed?

@ickata Is this issue fixed or do you know a way of handling data messages on android?

Hi,
Issue is not fixed. To be able to handle data messages you have to ensure that you send them as "data" messages, nor "notification" neither "mixed". onMessageReceived callback is always called for data messages. More info here: https://firebase.google.com/docs/cloud-messaging/concept-options
Hope this helps.

Hi @ickata
I'm getting only data messages on iOS and process/put it in the notification center manually by overriding applicationDidReceiveRemoteNotification in app delegate. However, it doesn't seem possible in the current situation of Android. Thanks for the help. Open to any suggestions. :)


defined compatible version groups. use that to decide if versions are…

defined a list of version compatible groups
updated the code to get the ampl version
updated create_prediction_pipeline and create_prediction_pipeline_from_file to check if versions are compatible
updated the tests

A couple of comments about the new code in model_version_utils.py:

The compatibility groups defined in 'comp_dict' don't cover versions 1.0 and 1.1, so you'll get a KeyError if you try to run a model from one of those versions. But rather than adding new groups for them, instead change line 145 to:
match = (comp_dict.get(ampl_version, ampl_version)==comp_dict.get(model_ampl_version, model_amp_version))
Then in the future, any version that's incompatible with every other version will default to being its own compatibility group.

In check_version_compatible(): The code lines that get the major AMPL version (e.g. 1.4) by taking the first 3 characters of the full version string (e.g. 1.4.2) assume that there will never be an AMPL version 1.10 (or for that matter, 10.1 - we can dream, can't we?). Instead, define a function:
def get_major_version(full_version): return '.'.join(full_version.split('.')[:2])
and use it in lines 137, 141 and 143.

Otherwise, the code looks great!


This file is corrupted and cannot be opened

Hi,
I'm trying to generate an xlsx file with dynamic columns.
const sheet = workbook.addSheet('test');
for (let col = 0; col < dynamicColumns.length; ++col) {
  const c = that.dynamicColumns[col];
  // sheet.row(0).cell(col).value(c.label);       // Give corrupted file
  sheet.cell(0, col).value(c.label);              // Give corrupted file
}

But each attempts give this error This file is corrupted and cannot be opened while open it in Microsoft Excel 2016.
Is it because we can't use [Number] to specify col,row ?
If yes, how can I convert number to A1 notation ? Is there a conversion functions ?
If no, what I'm doing wrong ? When using this
workbook.sheet(0).cell("A1").value("foo");

the file is properly working.
Best regards,

I finally got it working. This is because row and column are 1-based.
So
const sheet = workbook.addSheet('test');
for (let col = 0; col < dynamicColumns.length; ++col) {
  const c = that.dynamicColumns[col];
  sheet.cell(0 + 1, col + 1).value(c.label);              // WORK PROPERLY
}

But would not be better to issue an EXCEPTION when an INVALID out of range based is passed ? 0 cannot be used to create a row or a column as they are based-1, so if user pass 0 as column or row, issue an exception please or fix this library to prevent corrupting the output file at least :tongue:
Best regards,

Also, may I suggest you to expose the class addressConverter through the XlsxPopulate.js ? This could be *usefull in some context.

Pull requests for both would be most welcome. :)

Believe me, if I had time I would do it. But I already collaborate on 2 other open source projects and I am a BIG rush at work. However, I will see what I can do ...


Improve lsm quickstart documentation

Description
Same PR as https://github.com/inmanta/inmanta-core/pull/5777 but on the ISO5 branch due to a merge conflict.
This PR fixes small issues in the documentation of the lsm quickstart.
closes inmanta/inmanta-core#5513
Self Check:

[x] Attached issue to pull request
[x] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Merged into branches iso5 in e1c0f1ed87d282a91b95f2fd7fb2a782364ce29b


Updated example comment for Skooma::Minitest class

While I investigate how skooma works I found the typo in Skooma::Minitest class.
In example was include Skooma::RSpec[Rails.root.join("docs", "openapi.yml")] but should be include Skooma::Minitest[Rails.root.join("docs", "openapi.yml")].

Thanks @artyomlagun!


bridge: make pass-through the default

Setting only latency options is a pain since every fault must
be disabled on the command line. Instead, by default start
as a standard bridge without any fault injection.

lgtm


Fix Windows issue with generated structgen.obj file

When build.rs was running on Windows with MSVC the structgen.cpp file generated a structgen.obj directly in physx-sys directory during the build which fails cargo packaging & publishing.
Now I force MSVC to put object file outputs in the output path.
Also bumped the crate versions because the previous version I had published included the structgen.obj file in the crate (!) which failed to build when syncing it down because Cargo stored it (correctly) as read-only.  So I had to yank those previously published releases today.
Kinda messy situation but glad to have found a simple solution for it, this is something that was an issue from the beginning (see #13) but think it only failed packaging/publishing correctly on Windows.

Yeah I think it couldn't exclude it because it was generated/touched during the build, or something like that


Separate source and streaming rate limit

source_rate_limit will limit the upstream side of the downstream executors.
streaming_rate_limit will limit the backfill rate.

[ ] Update the session variable setting
[ ] Update the parser to handle the with options.

To be more precise, source_rate_limit will control the source rate limit with connections for this source/table in relation to the external system's source rate limit.
Meanwhile, streaming_rate_limit will control the rate limit between the MV/sink being created and its upstream, which also includes the situation when an MV is created on a source. In this case, I believe that a minimum value should be taken between streaming_rate_limit and the source_rate_limit. This is because when the Kafka source's read.offset=oldest, the scenario is the same as with backfill.

Either LGTM

Separate into backfill_rate_limit and streaming_rate_limit.


add zos docs

https://github.com/threefoldtech/info_grid/issues/181

@xmonader
There are a couple of issues with this PR.
I think we should:

restore branch
revert commit
fix the issues
review the PR
re-merge it
I will be glad to help.

E.g. just pictures and .md files should be there.


Remove .DS_Store files

As these should have never been committed.

Should we add .DS_Store to the .gitignore file?

Should we add .DS_Store to the .gitignore file?

Yep, but as this is a system specific thing, and applies to multiple repositories, the correct .gitignore file to use is the one in the home directory.
There's a bit more information about this here: https://git-scm.com/docs/gitignore
Which file to place a pattern in depends on how the pattern is meant to be used.

 - Patterns which should be version-controlled and distributed to other repositories via
   clone (i.e., files that all developers will want to ignore) should go into a .gitignore file.

 - Patterns which are specific to a particular repository but which do not need to be
   shared with other related repositories (e.g., auxiliary files that live inside the repository
   but are specific to one user’s workflow) should go into the $GIT_DIR/info/exclude file.

 - Patterns which a user wants Git to ignore in all situations (e.g., backup or temporary
   files generated by the user’s editor of choice) generally go into a file specified by
   core.excludesFile in the user’s ~/.gitconfig. Its default value is $XDG_CONFIG_HOME/git
   /ignore. If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore is
   used instead.

GitHub has some good docs on the use of ~/.gitignore_global, too.


Whitelisted SHAPE events on Unix systems

Fixes #879

:+1: :cat2:

This PR has been added to my merge list, meaning it will be merged into 2.3.x soon, unless someone raises any concerns.

Merged in 11e2901403116c4ab24cf7acc104111eccca8890 on branch 2.3.x


Summary Stats for Ping Results

It would be nice to show things such as packet loss percentage, median ping time, and maybe some percentiles.

We should also put the last ping latency somewhere so users do not have to hover. (from STSchif at https://www.reddit.com/r/rust/comments/ur55hj/comment/i8vgcjn/)


h2 database - remove old positions

can be done?
ALTER TABLE POSITIONS SET REFERENTIAL_INTEGRITY FALSE
DELETE FROM POSITIONS WHERE ID BETWEEN 1 AND 100000 // or 150000
COMMIT
Will it work?
Thanks Kamil

For MySQL database I use following commands:
DELETE FROM positions WHERE time < DATE_ADD(NOW(), INTERVAL -3 MONTH);
UPDATE devices SET latestPosition_id = NULL WHERE latestPosition_id NOT IN (SELECT id FROM positions);

THX super


fix(task): fix #832, fix #835, task.data should be an object

fix #832.
fix #835.

Task.data should not be a string but an object.
should define _global.

@kgentes , thank you for review, the code is a little difficult to understand than the earlier version because of the performance concern.


Create process to load congressional district dimension

The congressional_dist_dim is populated with data downloaded from censusreporter.
The process is driven by FIPS codes found in:
https://www.census.gov/geo/reference/codes/cd113.html
The python script src\main\python\censusreporter\createCongressionalDists.py reads this file and uses the FIPS code to look up data from a number of AFS tables and then writes the enriched data out to a CSV file which is loaded into the DB with the Kettle transform src\main\pdi\LoadCongressionalDistsDim.ktr
I did this process for New York state. We need to either load all of the US in, or at least make it easy to do on a state-by-state basis

Working on this.


Respect JAVA_HOME environment variable in Windows intead of Windows Registry

I did set  JAVA_HOME & PATH environment for the right java path (tried both jdk8 and jdk11)
in Windows10 64
C:\Users\iyh>java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)

still jadx-gui-1.1.0-no-jre.exe told me could not find JRE PATH,
after some digging I managied add fake "JavaHome" 1.8(openjdk11 in fact) path to the Registry "[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8"
then works fines.
So how to tell the program use JAVA_HOME environment variable over Windows Registry

Maybe it's a launch4j issue
https://github.com/mirror/launch4j/issues/8

Which java distribution do you use? I use https://adoptopenjdk.net (Java 11) and it's installer has an option to automatically register the JavaSoft (Oracle) registry keys. Using this option the Jadx Launch4j exe runner works for me.

I confirmed this is a launch4j issue,(also tried running build dev jadx-gui-dev.exe)
I am using  https://adoptopenjdk.net (Java 11)   as well ,the zip one (OpenJDK11U-jdk_x64_windows_hotspot_11.0.6_10.zip), guess no registry is the problem, wonder why a java program(launch4j)  ingnore  JAVA_HOME environment variable

Try the installer version, it sets the correct registry keys.
Because the latest Launch4j version is from 2018 where Java on Windows was synonym for Oracle JRE/JDK and those versions always set the registry keys correctly but did not set the JAVA_HOME environment variable.

Must be fixed in PR #389.
AdoptOpenJDK .msi installer is the easiest way to get java runtime and setup JAVA_HOME environment variable.


An error occurs when running make build, indicating that npm is unable to correctly install the frontend dependencies.

Bug Description
An error occurs when running make build, indicating that npm is unable to correctly install the frontend dependencies.
Setup and Configuration
Current Version:

commit c0dfc851b9e9de352ad4adcb4752ef14c4ba9be2 (HEAD -> main, origin/main, origin/HEAD)
Author: AbhisekOmkar<EMAIL_ADDRESS>Date:   Sun Apr 7 00:00:58 2024 +0530

     Add Discord and Slack Community Link to README (#835)

    This pull request enhances the README.md file by adding a Discord community link to the OpenDevin project. The addition includes a Discord logo with a hyperlink to the project's Discord server invite, ensuring easy access for users interested in joining the community. This update maintains consistency with existing style elements, such as badges for other community platforms like Slack. By incorporating the Discord link, this pull request aims to promote community engagement and improve user accessibility within the project.

My config.toml and environment vars (be sure to redact API keys):
LLM_MODEL="gpt-4-0125-preview"
LLM_API_KEY="XYZ"
WORKSPACE_DIR="./workspace"

My model and agent (you can see these settings in the UI):

Model:
Agent:

Commands I ran to install and run OpenDevin:
make build

Steps to Reproduce

Clone the repository
Change into the project directory
Run make build

Logs, Error Messages, and Screenshots
(base) pierre@Pierruno:/mnt/c/Users/pierr/OpenDevin$ make build
Building project...
Checking Python installation...
Python 3 is already installed. Version: 3.12.1
Checking npm installation...
npm is already installed. Version: 10.5.1
Checking Docker installation...
Docker is already installed. Version: 26.0.0,
Installing Python dependencies...
Poetry is already installed.
Pulling Docker image...
Using default tag: latest
latest: Pulling from opendevin/sandbox
Digest: sha256:486e3da1d7c8ec54a2e3269071eed9b91bc75b82ca5d1ac1760d33883c39e575
Status: Image is up to date for ghcr.io/opendevin/sandbox:latest
ghcr.io/opendevin/sandbox:latest
The currently activated Python version 3.10.12 is not supported by the project (^3.11).
Trying to find and use a compatible version.
Using python3 (3.12.1)
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: opendevin (0.1.0)
Activating Poetry shell...
Setting up frontend environment...
Detect Node.js version...
Current Node.js version is 18.17.1, corepack is supported.
Installing frontend dependencies with npm...
npm ERR! Cannot read properties of null (reading 'edgesOut')

npm ERR! A complete log of this run can be found in: /home/pierre/.npm/_logs/2024-04-06T19_41_17_476Z-debug-0.log
make: *** [Makefile:38: build] Error 1

Additional Context

The issue occurs when installing the frontend dependencies with npm.
The error message indicates that npm is trying to access a property of a null object (Cannot read properties of null (reading 'edgesOut')).

Python 3.12.1, npm 10.5.1, and Docker 26.0.0 are installed.
The currently activated Python version 3.10.12 is not supported by the project, so Python 3.12.1 is being used instead.

Try this:
npm install
make start-backend
make start-frontend```

Try this:
npm i -D styled-components@latest
npm install
make start-backend
make start-frontend```

I did this as clean install and it's gone. The was some node.js warnings but idk
Here is the English translation:
Alright! Here are all the updated steps to set up OpenDevin in Ubuntu WSL with Python 3.12.1, Docker, and the requirements:
Prerequisites

Make sure that WSL2 is installed on your Windows system. Open PowerShell as an Administrator and run the following command:

wsl --install

Install Docker Desktop for Windows and enable the WSL2 integration in the Docker settings.

Set up Ubuntu in WSL

Open Ubuntu in WSL.

Update the package lists and install updates:

sudo apt update
sudo apt upgrade

Install the required packages:

sudo apt install git make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl

Install Python 3.12.1

Add the Deadsnakes PPA:

sudo add-apt-repository ppa:deadsnakes/ppa

Update the package lists:

sudo apt update

Install Python 3.12.1:

sudo apt install python3.12

Verify the Python version:

python3.12 --version

Install pip for Python 3.12.1:

sudo apt install python3.12-distutils
curl https://bootstrap.pypa.io/get-pip.py | python3.12

Verify the pip version for Python 3.12.1:

python3.12 -m pip --version

Install NodeJS and Poetry

Install NodeJS 18.17.1 or higher:

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install nodejs

Install Poetry 1.8 or higher:

curl -sSL https://install.python-poetry.org | python3.12 -

Add the Poetry path to your shell configuration (e.g., ~/.bashrc):

export PATH="$HOME/.local/bin:$PATH"

Reload the shell configuration:

source ~/.bashrc

Set up Docker

Install Docker:

sudo apt install docker.io

Add your user to the Docker group:

sudo usermod -aG docker $USER

Log out and log back in for the changes to take effect.

Clone and set up OpenDevin

Navigate to the desired directory, e.g.:

cd /mnt/c/Users/pierr

Clone the OpenDevin repository:

git clone https://github.com/OpenDevin/OpenDevin.git

Navigate to the cloned directory:

cd OpenDevin

Build the project and set up the environment:

make build

Configure the desired language model:

make setup-config

Enter the API key and model name when prompted.
Start OpenDevin

Start OpenDevin:

make run

This will start both the backend and frontend servers.

For help on available commands and targets, use:

make help

With these updated steps, you should be able to successfully set up and start OpenDevin in Ubuntu WSL with Python 3.12.1, Docker, and all the requirements. Enjoy developing and exploring with OpenDevin!

Some commands did not work right at the start so I need to fix them with the help of AI

Good it worked! I'll close this issue then, I'll leave https://github.com/OpenDevin/OpenDevin/issues/834 for a bit to see if the solutions there are helping.


Neovim backend

ActualVim is being ported to Neovim. It's almost ready, though there's still a bug with it hanging on some commands. I could use some help testing and tracking this down, just don't run it on any data you care about quite yet :)

Hang bug should be mostly fixed. The Neovim branch is ready for testing.

closing this. neovim is working fairly well.


[Bug]: local variable 'merged_event' referenced before assignment

Describe the bug
I wanted to play around with OpenAdeptAI for the first time. After visualize the error came up:
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - STOP_STRS=['oa.stop']
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SPECIAL_CHAR_STOP_SEQUENCES=[['ctrl', 'ctrl', 'ctrl']]
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - STOP_SEQUENCES=[['o', 'a', '.', 's', 't', 'o', 'p'], ['ctrl', 'ctrl', 'ctrl']]
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - CACHE_DIR_PATH=.cache
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - CACHE_ENABLED=True
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - CACHE_VERBOSITY=0
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - DB_ECHO=False
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - DB_FNAME=openadapt.db
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - OPENAI_API_KEY=<set your api key in .env>
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - OPENAI_MODEL_NAME=gpt-3.5-turbo
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - RECORD_READ_ACTIVE_ELEMENT_STATE=False
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - REPLAY_STRIP_ELEMENT_STATE=True
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - IGNORE_WARNINGS=False
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - ACTION_TEXT_SEP=-
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - ACTION_TEXT_NAME_PREFIX=<
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - ACTION_TEXT_NAME_SUFFIX=>
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SCRUB_ENABLED=False
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SCRUB_CHAR=*
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SCRUB_LANGUAGE=en
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SCRUB_FILL_COLOR=255
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SCRUB_CONFIG_TRF={'nlp_engine_name': 'spacy', 'models': [{'lang_code': 'en', 'model_name': 'en_core_web_trf'}]}
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SCRUB_IGNORE_ENTITIES=['DATE_TIME', 'URL']
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - SCRUB_KEYS_HTML=['text', 'canonical_text', 'title', 'state', 'task_description', 'key_char', 'canonical_key_char', 'key_vk', 'children']
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - PLOT_PERFORMANCE=True
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - ROOT_DIRPATH=/Users/seyedmortezahosseini/Codes/OpenAdapt
2023-07-19 17:27:41.523 | INFO     | openadapt.config:<module>:146 - DB_FPATH=/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt.db
2023-07-19 17:27:41.524 | INFO     | openadapt.config:<module>:146 - DB_URL=sqlite:////Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt.db
2023-07-19 17:27:41.524 | INFO     | openadapt.config:<module>:146 - DIRNAME_PERFORMANCE_PLOTS=performance
2023-07-19 17:27:47.970 | INFO     | openadapt.events:get_events:40 - num_process_iters=0 num_action_events=1260 num_window_events=17 num_screenshots=306
2023-07-19 17:27:47.970 | INFO     | openadapt.events:process_events:601 - before num_action_events=1260 num_window_events=17 num_screenshots=306 num_total=1583
2023-07-19 17:27:47.985 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=10 group_idx_tups=[(0, 4), (4, 8), (8, 10)]
2023-07-19 17:27:48.003 | WARNING  | openadapt.events:get_group_idx_tups:411 - Key.cmd not in pressed_keys=set()
2023-07-19 17:27:48.003 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=1 group_idx_tups=[]
2023-07-19 17:27:48.004 | WARNING  | openadapt.events:get_group_idx_tups:411 - Key.tab not in pressed_keys=set()
2023-07-19 17:27:48.004 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=1 group_idx_tups=[]
2023-07-19 17:27:48.006 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=4 group_idx_tups=[(0, 4)]
2023-07-19 17:27:48.028 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=4 group_idx_tups=[(0, 4)]
2023-07-19 17:27:48.044 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=1 group_idx_tups=[]
2023-07-19 17:27:48.045 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=1 group_idx_tups=[]
2023-07-19 17:27:48.046 | WARNING  | openadapt.events:get_group_idx_tups:411 - Key.cmd not in pressed_keys=set()
2023-07-19 17:27:48.046 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=1 group_idx_tups=[]
2023-07-19 17:27:48.048 | WARNING  | openadapt.events:get_group_idx_tups:411 - Key.tab not in pressed_keys=set()
2023-07-19 17:27:48.048 | INFO     | openadapt.events:get_group_idx_tups:433 - len(to_merge)=23 group_idx_tups=[(0, 1), (1, 5), (5, 9), (9, 11), (11, 13), (13, 15), (15, 21), (21, 23)]
2023-07-19 17:27:48.048 | ERROR    | __main__:<module>:294 - An error has been caught in function '<module>', process 'MainProcess' (94781), thread 'MainThread'<PHONE_NUMBER>):
Traceback (most recent call last):

  File<EMAIL_ADDRESS>line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
           |         |     -> {'__name__': '__main__', '__doc__': None, '__package__': 'openadapt', '__loader__': <_frozen_importlib_external.SourceFileLoa...
           |         -> <code object <module> at 0x104fad420, file "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/visualize.py", line 1>
           -> <function _run_code at 0x104ed2320>

  File<EMAIL_ADDRESS>line 86, in _run_code
    exec(code, run_globals)
         |     -> {'__name__': '__main__', '__doc__': None, '__package__': 'openadapt', '__loader__': <_frozen_importlib_external.SourceFileLoa...
         -> <code object <module> at 0x104fad420, file "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/visualize.py", line 1>

> File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/visualize.py", line 294, in <module>
    main()
    -> <function main at 0x15219e7a0>

  File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/visualize.py", line 162, in main
    action_events = get_events(recording, process=PROCESS_EVENTS, meta=meta)
                    |          |                  |                    -> {}
                    |          |                  -> True
                    |          -> Recording(id=6, timestamp=1689807883.972529, monitor_width=3432, monitor_height=1080, double_click_interval_seconds=0.5, doub...
                    -> <function get_events at 0x137a1a560>

  File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/events.py", line 46, in get_events
    action_events, window_events, screenshots = process_events(
    |              |                            -> <function process_events at 0x15219e4d0>
    |              -> [WindowEvent(id=7, recording_timestamp=1689807883.972529, timestamp=1691843038.5645435, state={'title': 'iTerm2 python -m ope...
    -> [ActionEvent(id=1109, name='move', timestamp=1691843039.3894079, recording_timestamp=1689807883.972529, screenshot_timestamp=...

  File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/events.py", line 613, in process_events
    action_events = process_fn(action_events)
                    |          -> [ActionEvent(id=1109, name='move', timestamp=1691843039.3894079, recording_timestamp=1689807883.972529, screenshot_timestamp=...
                    -> <function merge_consecutive_keyboard_events at 0x15219ce50>

  File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/events.py", line 465, in merge_consecutive_keyboard_events
    return merge_consecutive_action_events(
           -> <function merge_consecutive_action_events at 0x15219e3b0>

  File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/events.py", line 556, in merge_consecutive_action_events
    include_merged_events(to_merge)
    |                     -> [ActionEvent(id=1735, name='release', timestamp=1691843058.0992439, recording_timestamp=1689807883.972529, screenshot_timesta...
    -> <function merge_consecutive_action_events.<locals>.include_merged_events at 0x1688209d0>

  File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/events.py", line 545, in include_merged_events
    merged_events = get_merged_events(to_merge, state)
                    |                 |         -> {'dt': 0.9007699489593506}
                    |                 -> [ActionEvent(id=1735, name='release', timestamp=1691843058.0992439, recording_timestamp=1689807883.972529, screenshot_timesta...
                    -> <function merge_consecutive_keyboard_events.<locals>.get_merged_events at 0x1348ad090>

  File "/Users/seyedmortezahosseini/Codes/OpenAdapt/openadapt/events.py", line 462, in get_merged_events
    merged_events.append(merged_event)
    |             -> <method 'append' of 'list' objects>
    -> []

UnboundLocalError: local variable 'merged_event' referenced before assignment

To Reproduce
I use macOS.
I followed installation instructions. Recorded a session with a few operations. Then I tried to visualize the recorded session.

Thank you @mory91 !
I've personally never seen this before, will post to our Slack (link in README) to see if anyone else has. Please feel free to join and/or implement a fix!

I have an M1 Pro.
Forgot to mention that I made a quick fix that at least worked on my machine. #411

Fixed in https://github.com/OpenAdaptAI/OpenAdapt/pull/411, thank you @mory91 !! 🙏
Would love to learn more about your interests, please feel free to grab some time on my calendar: https://www.getclockwise.com/c/richard-abrich/quick-meeting


Add support for more options in facet searching - i.e. exclude

Hi,
I was trying to pass a list of stopwords to a terms facet, but the option wasn't getting pass through, since you're adding any other options at the same level as :terms.
I just did this: https://github.com/Rio517/tire/commit/91e86a31f9e6cdc9acb401456a1b3216c8fedd25
-Mario
Update: accidentally forgot which keys get overwritten in commit I referenced earlier.  Fixed.

Hi Mario,
this has slipped under my radar, sorry. This seems like the update(options) call is incorrectly nested, is that it?

@Rio517: The issue should be fixed now, thanks for the report -- the passing of options in date and terms facet was incorrect.

Awesome! Thanks!


build: Add linux arm64 to build targets

See https://goreleaser.com/customization/build/ example config under key
builds[*].targets.- build: Add linux arm64 to build targets
Also use moved packer plugin check command.
Fixes #60

If possible, getting this in and cutting a release would be really appreciated :pray:

@jimmidyson Thanks for fixing up the goreleaser config! I'll merge this and create a new release.


Update examples in all child crates

Update dependencies to superpoll family.

Updated.

[x] superpoll-io examples
[x] superpoll-blocking examples


FEATURE: Added tests

Summary
This PR adds tests for some of the package features.
Available tests:

Can subscribe to notifications
Can unsubscribe to notifications
WIP

Type of Change

[x] 🚀 New Feature

Screenshot/Video
CI through Github Actions

Tests status

Hi @liran-co
This is an excellent project. Kudos! 💪
I was on the same path on creating a similar package and found yours browsing Google. Would love to contribute with some testing for all features that are currently enabled.
Please let me know if this is something you are looking forward on having in your package to continue adding tests. I've added base setup and CI.
Regards,
Andrés

Hi @asantibanez -
Appreciate the kind words. Yes, would love to have you contribute to the package in anyway you can. I haven't had the time to dedicate to tests on this, but if you can take it on, I'd be more than happy to have it merged in.
Liran

Hey @liran-co
What Style CI are we using? Can you please share your config? Thanks!

Hey @liran-co
Got almost all tests working! 💪

Hey @asantibanez - sorry for the delay. I'm using the default PHP StyleCI config here: https://docs.styleci.io/multi-language#php-config. Going to check out these tests this weekend!


AMQNET-627: Transactions implementation adjustments

Our implementation of transactions in NMS-AMQP was passable, but not 100% in line with spec and qpid-jms.
This PR introduces several adjustments (mostly timeouts on transaction related operations) and several integration tests that helped me adjust the implementation.
Changes introduced in this PR depend on https://github.com/Azure/amqpnetlite/pull/385 and https://github.com/Azure/amqpnetlite/pull/388 and cannot be merged until new version of https://github.com/Azure/amqpnetlite is released.
@michaelandrepearce @cjwmorgan-sol Could you please take a look at this?
@xinchen10 When can we expect the next minor release of AMQP.Net Lite?

Tests passed, and the transactions seem to work under an application with multiple threads sending and receive batches of messages of about 10000.
Looks good to me.

@cjwmorgan-sol Thanks for review.
@michaelandrepearce All necessary bits in amqpnetlite are merged, so if tests are passing you can merge this one.


biopython requirements

Your readme states under requirements "biopython>=1.81". However with biopython 1.81 pip returns the following error message:
genome-spot 1.0.1 requires biopython>=1.83, but you have biopython 1.81 which is incompatible.

in fact, it seems that I had originally installed the correct newest biopython version (1.84, using conda), but using your installation instructions, pip changed it back to 1.81 which was then incompatible with xour repository on pypi.
It seems you need to update requirements.txt?


add redis config backend support to e2e tests.

Jenkins job istio/presubmit passed

Jenkins job istio/presubmit passed

@mandarjog please take a look

Jenkins job istio/presubmit passed

@jmuk mandar is in vacation but will be back soon. can you rebase and merge the conflicts for your PR ? tia

This is an old structure -- we won't use this anymore. Closing.


Non-Descriptive 'We found ERRORS' Error Messages

When the dxp smoke test fails, we currently receive non-descriptive error messages such as We found ERRORS. This does not accurately tell us the cause of the smoke test failure and implies that Dxp might be the cause however there are cases when the code being deployed to Dxp are the cause of the smoke test failing. In order to successfully and accurately pinpoint the cause of failures, it would highly useful if the error messages are more detailed and contains the actual cause of the errors.

Hi @OnePiece-GoingMerry. Sorry for very late reply. Is it possible that you can show what happends eariler from the log.
I asking because the script should give you more information then this. And to figure out what problem we have in the script I need some more information. If you don´t want to paste the log here you can send the log directly to my email<EMAIL_ADDRESS>Regards
Ove

Hi @OnePiece-GoingMerry
I assume that it works for you. If not you can always create a new issue.
Regards
Ove


CacheKeyPrefix property is added to IdentityServerAuthenticationOptions

PR based on:
https://github.com/IdentityModel/IdentityModel.AspNetCore.OAuth2Introspection/pull/34

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

thanks!


add report card

Pull Request Test Coverage Report for Build 507706207

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 58.036%

Totals

Change from base Build 507688421:
0.0%

Covered Lines:
130

Relevant Lines:
224

💛  - Coveralls

Pull Request Test Coverage Report for Build 507706207

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 58.036%

Totals

Change from base Build 507688421:
0.0%

Covered Lines:
130

Relevant Lines:
224

💛  - Coveralls


deps: update to current versions

Hello Jeremy
Thank you for such a nice little quick dev helper!
I thought I'd chip in and update some dependencies.
This also solves my (and #22's) issue of potentially divergent reqwest versions being used.
Cheers

@joeftiger So sorry about the delay. I am going to work on this now.

@joeftiger Done, merged and release v0.1.10 pushed. Thanks a lot.


watson log -a reports only past month

I use watson since 2018. However, when I enter:
watson log -a
it only gives output from over the past month (approximately) (9 april to 12 may 2020). I have used watson without interruption since 2018... What is possibly wrong, and how can this be investigated?

Hi @DrOteonu-Nanquanu :wave:
Maybe you've lost/delete/corrupted your frames file at this date?
Take a look at the application folder and look for the frames file:

GNU/Linux: ~/.config/watson/frames
MacOSX: ~/Library/Application Support/watson/frames
Windows: %appdata%\watson\frames

Look at the beginning of this file and inspect the first frame, that should look like the following:
 [
<PHONE_NUMBER>,
<PHONE_NUMBER>,
  "foo",
  "3d4f94c29248423b83fde39936615e98",
  [
   "dev"
  ],
<PHONE_NUMBER>
 ]

The two first items are the start and stop dates (represented as UNIX timestamps). You can convert them with the date command on UNIX systems:
$ date -d @1519076671
lundi 19 février 2018, 22:44:31 (UTC+0100)

or using online services like: https://www.epochconverter.com/
HTH


Added English translation

A pull request that contain English translations for the all readme files in the repository in organized structure.

So, thanks!


Overall is not calculated correctly

As you can see the overall latency is not correct.

This is fixed by https://github.com/pingcap/ng-monitoring/pull/93


EdenOS Release v0.1.10 Patch

Adds forums subdomain to currently-broken eoscommunity social links. Domain no longer forwards those properly.

Waiting on this since the domain fix did the trick. Will release this with next prod release.


eossauthorithy.com

eossauthorithy.com
Fake EOS domain - phishing for private keys with POST /store.php
https://urlscan.io/result/aeba16af-9a74-4d4e-b1f5-bffd855ea479

Thanks for the PR!


Voice Interaction throwing method errors in console

Talking using voice chat throws this error every time in console:
[15:13:36] [Server thread/WARN]: [voicechat_interaction] Task #6444 for voicechat_interaction v1.0.0 generated an exception
java.lang.NoSuchMethodError: 'void org.bukkit.World.sendGameEvent(org.bukkit.entity.Entity, org.bukkit.GameEvent, org.bukkit.util.Vector)'
at dev.igalaxy.voicechatinteraction.VoiceChatInteractionPlugin.lambda$onMicPacket$0(VoiceChatInteractionPlugin.java:95) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3523-Spigot-1dffefb-effea36]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:415) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3523-Spigot-1dffefb-effea36]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1245) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3523-Spigot-1dffefb-effea36]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:394) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3523-Spigot-1dffefb-effea36]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1197) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3523-Spigot-1dffefb-effea36]
at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1010) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3523-Spigot-1dffefb-effea36]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:291) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3523-Spigot-1dffefb-effea36]
at java.lang.Thread.run(Thread.java:833) [?:?]
This error is repeated every time a user talks, and voice chat is not activating sculk sensors.
I am on spigot CraftBukkit version 3551-Spigot-14a2382-9a8e080 (MC:1.19) (Implementing API version 1.19-R0.1-SNAPSHOT)
I have attached an image of the plugins I am using.

I recommend you to use paper, pufferfish or purpur.
Those are .jar optimized, and I'm using this same plugin with purpur and no errors show up.
Paper is the base one, then pufferfish is a fork that optimized even more, and purpur is a fork of pufferfish and add some extra options that you may use or not.
https://github.com/YouHaveTrouble/minecraft-optimization this page allows you to optimized even more the server, you can see this page too https://purpurmc.org/docs/Configuration/
and this is from pufferfish team https://docs.pufferfish.host
Paper: https://papermc.io/downloads
Pufferfish: https://ci.pufferfish.host/job/Pufferfish-1.19/
Purpur: https://purpurmc.org

I recommend you to use paper, pufferfish or purpur.

I installed purpur and now I am no longer getting that error and the sculker interactions now function correctly. Thank you for helping me correct this issue 👍


feat(honeycomb): Add support for secrets provider

Which problem is this PR solving?
Using an external secrets provider.
Short description of the changes
Adds ability to specify additional volume mounts for the agents container and additional volumes for the pod spec. Also allows specification of the key used for the secret.

@JamieDanielson thanks for the review, re-requested @honeycombio/pipeline-team to get another review

@codeboten how's this look? c0a0985


Calculate promotion batch size by the pool size

We have a problem using batch to promote files.
I noticed that there is only one thread doing promotion for a small build. It promotes less than 10 files but takes 15+ minutes.
I see the promotion thread pool size is 200 which is pretty large. If the files are less, e.g., 10 files, it will ends up with one thread doing the promotion. Current batch size only works for large build with thousands of files.
This pr calculate the batch size according to thread pool size. It will work for both small and large builds. It will boost the performance of smaller builds significantly.

This looks a good point, mostly the promotion thread is 1 from the Grafana.

@sswguo I noticed that too. We have been very aggressive trying to solve the huge build problem. But it seems we can do better with this fix.


where to put the modelfile

Hello
can someone tell me where to put the chatgpt files for offline usage.
thanks in advance.

What does "the chatgpt files for offline usage" mean?
Since it uses OpenAI API, it currently does not support offline.
Does that files mean model files like distributed by HuggingFace?

i do use stable diffusion on a offline computer, therefor any application who uses online ressources to work are in my case worthless, on the otherhand i do not like big tech who collects uncontrolled any data, unfortunate i do not use your tool, the idea is great, openai is also not very interessting it can not be used offline.the huggingface modell is a good idea how it can be integrated into your tool for offline usage? otherwise gpt4all or xgpt is a alternative, but it have to be trained by the user for a while.

I tried GPT4All, but it's too slow.
In the first place, it requires more specifications than stable diffusion, so it is difficult to operate comfortably.
If you try the following, you will see that it is difficult because just talking uses a large amount of VRAM.
https://github.com/oobabooga/text-generation-webui
It seems better to simply use the OpenAI API.

sorry to replay that late , i was not home, i gonna test it out and come back to you in the next days .
one other good modell is also find here: https://huggingface.co/LoneStriker/openchat_3.5-8.0bpw-h6-exl2
i already used it and works good. it have almost the stand as march 2023 of ChatGPT / Openai.
smal question where to put the downloaded modell openchat_3.5.Q6_K.gguf?

smal question where to put the downloaded modell openchat_3.5.Q6_K.gguf?

As long as you specify the full path, you can place it anywhere.

mmmm. i trty so far everythink but it do not work. no reaction,

how you can see it is loading unending
but on the console nothing happens

What do i miss?

It seems that the configuration file is not loading.
What happens if you restart the webui?
Also, what is the version of webui etc.?

Its what i have done many times now , with no succes. version i use right now is up2date v1.7.0

I'm sorry, but this is not happening here.
What happens if I delete the files located in extensions\sd-webui-chatgpt\settings?

It seems that the files cannot be read, so the GPU does not seem to be involved.

i gonna reinstall the hole system this weekend , we will find what is the couse of it


I don't think HTTP/2 is being used

Googletrans version:

[x] 3.x
[ ] 2.x

I'm submitting a ...

[x] bug report
[ ] feature request

Current behavior:

If you check the protocol of the httpx response, it prints out that it is HTTP/1.1
Expected behavior:

Print HTTP/2
Steps to reproduce:

Edit client.py in function _translate to print the http version that the request use.
Related code:
client.py :

def _translate(self, text, dest, src, override):
	token = self.token_acquirer.do(text)
	params = utils.build_params(query=text, src=src, dest=dest,
								token=token, override=override)
		url = urls.TRANSLATE.format(host=self._pick_service_url())
	r = self.client.get(url, params=params)
	print(r.http_version) // Comprobation
		if r.status_code == 200:
		data = utils.format_json(r.text)
		return data
	else:
		if self.raise_exception:
			raise Exception('Unexpected status code "{}" from {}'.format(r.status_code, self.service_urls))
		DUMMY_DATA[0][0][0] = text
		return DUMMY_DATA

Other information:

In the httpx page, it specifies that HTTP/2 must be enabled, which I don't think is done. I don't know much about how this project or httpx works, however according to my tests, it only works using asyncio, which implies modifying an important part of the code.
Sorry if I'm the one who misinterprets something. Also sorry for bad english.

Thanks for opening an issue. This is a known issue we're currently looking into. The fix is still a work in progress and will be being updated soon with full asyncio support.

Thanks for answer, as a related error I would like to mention that the API documentation says that HTTP/2 is through HYPER, isn't this incorrect?.
Thanks for the support.

It seems the documentation isn't updated. I've intended HTTP/2 working through httpx.

Oh, I know you use HTTPX, I mentioned it because since it's the documentation that the repository marks, I figured it would be handled by the repository.

For some reason now it did work just by adding the option. When I tried it that way it failed. (HTTPX version? I was using 1.13.x, now I am using 1.14.1)
def __init__(self, service_urls=None, user_agent=DEFAULT_USER_AGENT,
             raise_exception=DEFAULT_RAISE_EXCEPTION,
             proxies: typing.Dict[str, httpcore.SyncHTTPTransport] = None, timeout: Timeout = None):

    self.client = httpx.Client(http2 = True)

Well... Can you add this? It has nothing to do with asynchronous, although the documentation page says that it works better in the asynchronous client, there should be improvement even in the normal client.

I'll do that way. Thanks for letting me know.
@terryyz It seems we don't need to implement async feature for the present.


caldav-backend: PUT handling, dependency to node-time module

Sorry for multiple issues in one pull request, I need to work on my git skills.

fixes object format in calendar query parser
fixes #130
fixes #105

Makes me curious how this ever worked in the first place.

@evert It didn't, most probably. This code is 100% contributed/ donated! So anyone who can step up and add more test coverage, for example, will receive my <3

@MisterFreeze you're awesome. Thanks!


Add Freeswitch Docker image

Freeswitch packages are only available for Debian (and they are not Ubuntu-compatible).
Freeswitch has various problems running under Docker with standard bridge networking, but things should work better with host networking as individual ports do not need to be exposed. Using host networking makes it difficult to use the image under Marathon - such an image would rather be launched on a dedicated machine using supervisor.
This may be the easiest way to get Freeswitch running without having a Debian host. Additionally, we can package config with the image like we do for the other parts of the system.

@jerith: Ready for review.
Also, @rudigiesler, could you have a look at this too? I wanted to make an image based on Jessie instead of Wheezy but couldn't get the freeswitch 1.4 packages to install on Jessie. This is freeswitch 1.6. Hopefully everything still works. If not I can just go back to Wheezy/1.4. Not sure if you have any experience with this?

Looks good to me, but I don't know anything about freeswitch.

@JayH5 1.6 seems to be quite a big change with a massive changelog that would take forever to read; I don't have any experience with v1.6, no. But we can always go back, and I'm happier trying to see if we can run a newer version. If it does start to rabbithole, we must just note that and change to 1.4.
I see that we're copying config files instead of mounting a directory. I think we might have to do this for freeswitch, as there are a large amount of default config files that come with freeswitch on install.
How are we going about this with the other images? If we're mounting a directory for the other images, maybe we could mount the config directory at a different location than the freeswitch config files, and copy the files over to the freeswitch config folder on runtime? Just an idea to keep everything uniform though.
The PR looks good to me, I'm assuming that the rest of the config files will be added in the private repo.

@rudigiesler we're copying in config files for all the images. Usually that is done in the private repo (there's a PR there for the freeswitch config referenced above). Basically, once an image is built from the dockerconfig repo it should have everything bundled in it - code, config, command to run.
I thought it'd make sense to copy in the module config file here instead of with the rest of the config as this config is common and I think it's also just enabling the modules that we install? If you think it makes more sense with the rest of the config it can be moved there too.

@JayH5 Okay that sounds great. If we're making images with everything built in it, then this way sounds best to me.
I think that we should keep anything that doesn't contain password-type things in open repos, so I'm happy that the module config file is here. Unfortunately, from what I remember, all the rest of the files contain things we don't want the outside world to have access to.
:+1: from me. Let's try v1.6 and see if anything breaks.


The window erases and draws cause flashing when resizing

This PR proposes ignoring the erases to the window in the cube app.
When resizing the window the erases and the Draw() get called intermittently which causes a flashing effect to occur.

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


Replace Reflection with Factory Function for Filter Instantiation

Hey @ardikabs . First of all, love this repo. It makes writing Go filters for Envoy much easier; thanks for creating it.
The reasoning for this PR is that I ran into an issue where I needed to inject a dependency into an HTTPFilter struct and noticed that your usage of Reflect was making this not possible due to it creating a new copy of the Filter on every request. This PR is proposing an alternate method that uses a factory function to create the Filter, which allows passing dependencies into the filter that will be preserved.
For example, in my usage I am passing a pointer to a cache that the filter can then access:
filterFactory := func() gonvoy.HttpFilter {
    return &Filter{cache: cache}
}

gonvoy.RunHttpFilter(filterName, filterFactory, gonvoy.ConfigOptions{
    FilterConfig:            new(Config),
    DisableStrictBodyAccess: true,
})

I also replaced the Name() method with a string argument as the filter is not yet instantiated at the point the factory func is passed to RunHttpFilter.
Here's a little more summary on the reasoning and advantages:
Summary:
This PR refactors the filter instantiation process by replacing reflection with a factory function. This change improves performance, enhances type safety, and simplifies the codebase.
Advantages:

Performance: Eliminates reflection overhead for faster execution.
Type Safety: Enables compile-time checks to prevent runtime errors.
Code Clarity: Simplifies code, making it easier to read and maintain.
Dependency Injection: Allows explicit injection of dependencies into filters.

Let me know what you think and thanks again for the repo.

i like this idea, will review it soon.
Anyway thanks for the PR @commoddity !

LGTM! Thanks for the PR!


Remove .circleci folder

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native-macos :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos :thumbsup:
[x] I am making a fix / change for the macOS implementation of react-native
[ ] I am making a change required for Microsoft usage of react-native

Summary
Remove the .circleci folder. We use ADO for our CI checks, and although the CircleCI checks have been made optional in all our PR verification steps, they're just creating additional noise.

Something interesting when I did https://github.com/microsoft/react-native-macos/pull/1336 is that CircleCI checks started to pass. We can still remove it but when I do the 0.70 merge I may investigate bringing em back