Config always resetting

Ever since i updated oldcombatmechanics my config keeps resetting no matter what.

Plugin and config versions?

config-version: 10
I was on the Latest version but had to downgrade to stop config from reseting.

Whole config that resets when updating to latest version: https://pastebin.com/usVN8Udf

What version of the plugin are you using?

I was using the latest but it kept reseting the config whenever i would change it so i went back to build 68 until the problem is fixed.

Does build #75 have this issue?

Yup already tested it samething resets the config.

What is the message displayed in the console when the reset occurs?
On 16 Apr 2017 21:02, "Fonzee9"<EMAIL_ADDRESS>wrote:

Yup already tested it samething resets the config.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gvlfm78/BukkitOldCombatMechanics/issues/56#issuecomment-294368204,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACqRZlvljoc6AAXDuJqPqqk9tAR7WyfEks5rwmWogaJpZM4M-qGw
.

[16:32:35 INFO]: [OldCombatMechanics] Enabling OldCombatMechanics v1.3.1
[16:32:35 WARN]: [OldCombatMechanics] Config version does not match, backing up old config and creating a new one
[16:32:35 INFO]: [OldCombatMechanics] OldCombatMechanics v1.3.1 has been enabled correctly

Even though it says that i already redid the new config with my changes and it still reset.

When will this be fixed?

I haven't been able to replicate this issue so I cannot solve it until I know where the problem is. I need more information, such as what config version the plugin is resetting you from and to, the server version, and the plugin version. Also make sure the plugin is upto date because the code changes every time.

I found out the problem its:

That is very strange. What update checker was it using, bukkit or spigot?


Fix clearData()

this PR was missed back when the code was rewritten to TypeScript - this._dataTransfer is now always a valid data transfer object.


feat(ci): runs build on every PR

Will enable building on every PR.

I'm forcing this merge since it's only a CI update and right now reviewers are busy.

This closes #99.


Spellcheck

closes #1080

Changes proposed
The GitHub Action will now automatically run codespell on your JSON files every time you push to the main branch or open a new pull request. If it detects any spelling errors, the Action will fail, indicating that you need to fix the identified issues.

 That's the problem I had

@CBID2 have a look at this once.
tried this for you 🙌

Have you ran it locally? That's the problem I had

yep tried i have attached the ss in the issue one kindly check

@CBID2 have a look at this once.

tried this for you 🙌

Have you ran it locally? That's the problem I had

yep tried i have attached the ss in the issue one kindly check

Ok

@CBID2 have a look at this once.

tried this for you 🙌

Have you ran it locally? That's the problem I had

yep tried i have attached the ss in the issue one kindly check

I don't see it

check #1174 for ss, i have moulded this one for testing the JSON file only as the contributors write's description mainly in that file.

So should I close this one?

So should I close this one?

guess so by merging this pr, it will detect the errors most probably, pmeanwhile you can close that issue and assign me add label to this pr :)

@rupali-codes please review this one too

@CBID2 please add tags on this pr :)

@k-deepak04 please remove the commit of your another PR (adding new maintainer)

@k-deepak04 please remove the commit of your another PR (adding new maintainer)

okay

@rupali-codes check now

@rupali-codes please check and merge


Creating Google-app-engine plugin

Creating some common alias for users of Google App Engine

Closed due to lack of interest.


Having one job depend on another (or several).

Hi. Let's say I need job to run only if 2 others (created before) are completed successfully, AFAIU there's no support for this.
Can I extend a procrastinate job queue table myself to add array field column with required jobs ID list and I could check if all of them are finished inside my task manually or with some decorator? In other words, is having extra columns supported and won't break standard flows?

AFAIU there's no support for this
I think you're right

is having extra columns supported and won't break standard flows?
I don't think it's a good idea, but I can't tell you exacty what will fail. I think you should rather do this on a different table, but you can add a foreign key as long as you handle the cases where the job will be deleted (so ON DELETE CASCADE I guess)

Hm, I'm not sure the "Orchestrator task" is a concept I like. If the worker running it crashes, the whole set of task will be completely broken.

It is not foolproof but might be good enough.

So the way Chancy does this seems to work (1b+ workflows so far), and looking at the model for Procastinate I don't see why something similar wouldn't be an option if there's no issue with adding more tables. It can be done in a way that avoids modifying the existing jobs and instead just builds on top of them.
Two tables are used, the first to track the workflows themselves:
CREATE TABLE {workflows} (
                    id UUID PRIMARY KEY,
                    name TEXT NOT NULL,
                    state TEXT NOT NULL,
                    created_at TIMESTAMPTZ DEFAULT NOW(),
                    updated_at TIMESTAMPTZ DEFAULT NOW()
                )

And another to track each step inside of a workflow, which will be updated with the ID of the job once it's started (job_id becomes a bigserial for procastinate, state becomes status, etc):
CREATE TABLE {workflow_steps} (
                    id SERIAL PRIMARY KEY,
                    workflow_id UUID REFERENCES {workflows}(id)
                        ON DELETE CASCADE,
                    step_id TEXT NOT NULL,
                    job_data JSON NOT NULL,
                    dependencies JSON NOT NULL,
                    job_id UUID,
                    created_at TIMESTAMPTZ DEFAULT NOW(),
                    updated_at TIMESTAMPTZ DEFAULT NOW()
                )

Periodically, incomplete workflows are picked up and processed:
while await self.sleep(self.polling_interval):
            await self.wait_for_leader(worker)
            workflows = await self.fetch_workflows(
                chancy,
                states=["pending", "running"],
                limit=self.max_workflows_per_run,
            )
            for workflow in workflows:
                await self.process_workflow(chancy, workflow)

Fetching the workflows and their steps can be done in a single quick query thanks to json_build_object:
SELECT
                            w.id,
                            w.name,
                            w.state,
                            w.created_at,
                            w.updated_at,
                            COALESCE(json_agg(
                                json_build_object(
                                    'step_id', ws.step_id,
                                    'job_data', ws.job_data,
                                    'dependencies', ws.dependencies,
                                    'state', j.state,
                                    'job_id', ws.job_id
                                )
                            ), '[]'::json) as steps
                        FROM {workflows} w
                        LEFT JOIN {workflow_steps} ws ON w.id = ws.workflow_id
                        LEFT JOIN {jobs} j ON ws.job_id = j.id
                        WHERE (
                            %(states)s::text[] IS NULL OR
                            w.state = ANY(%(states)s::text[])
                        ) AND (
                            %(ids)s::uuid[] IS NULL OR
                            w.id = ANY(%(ids)s::uuid[])
                        )
                        GROUP BY w.id, w.name, w.state
                        LIMIT {limit}

And then the process to progress a workflow becomes trivial, ~15 lines, https://github.com/TkTech/chancy/blob/main/chancy/plugins/workflow/init.py#L340
Since procastinate doesn't have a leadership node, we'd add a locked_at column to the workflow table and do a SELECT...FOR UPDATE with a timeout and let every worker take a shot at periodically progressing workflows.
This way job's don't know they are part of a workflow, no persistent job is needed, just a periodic one, and the only relationship between the two is the job ID and state.


Which kernel config should I modify?

I would like to add a config (CONFIG_USB_IPHETH=y) and rebuild the kernel. But I am not sure which file I should edit.
I first thought amlogic_defconfig (which is apparently patched here), but it already contains CONFIG_USB_IPHETH=m and it doesn't seem to build ipheth.ko, so I feel like I am missing something. Also in the result, I see stuff like:
./obj/GLODROID/KERNEL/build/.config:# CONFIG_USB_IPHETH is not set

@rsglobal would you have some insights? 😇

Sure, try to modify the aosptree/vendor/devices-community/pine64_pinephone/kernel.defconfig file and see if ./obj/GLODROID/KERNEL/build/.config changes.

Thanks!
Interestingly, I set CONFIG_USB_IPHETH=y in aosptree/vendor/devices-community/pine64_pinephone/kernel.defconfig, run build.sh and end up with... CONFIG_USB_IPHETH=m in ./obj/GLODROID/KERNEL/build/.config 😅🤔
It's better than nothing, but it's not what I was expecting...

Likely, some parent config is set to the module, forcing all child configs to be modules.

Oh, right. That makes sense indeed!
Thanks a lot for the help! :rocket:


Missing Support for addEventListener/removeEventListener

The addListener and removeListener methods of MediaQueryList are deprecated and using them now causes linting errors as seen below.

I'd like to request adding support for the addEventListener and removeEventListener methods so that they can be used instead as recommended on MDN.

This method exists primarily for backward compatibility; if possible, you should instead use addEventListener() to watch for the change event.

https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList

I just ran into the same issue. If it's alright with @bigslycat I can open a PR with support.

@bigslycat @fuller going to work on a PR to update the lib.


Class added to all paragraph styles

I've just been trying this out on a new project - seems to work really well except that when adding the new buttons to a Bard region the add-on appears to add class markup to all paragraph styles (ie un-styled paragraphs get a <p class> markup).
Is there any way to stop this from happening?

Fixed in v1.2.1


[Bug]: Custom mat form field control is broken when decorated by the O3rComponent decorator post v9.0

Package name
core
Package version
9.0.2
Reproduction steps
Decorate any custom mat form field control component with the O3rComponent decorator from o3r/core. It results in the MatFormFieldClass being unable to identify the custom control and thereby, a runtime error like the one shown below.

For minimal reproduction, I have created a simple repository that highlights the issue:
https://github.com/Abhirocks889/CustomFormFieldControl
Current result
The material form field class script execution fails with an error and hence, all the error handling, validation and other features are lost pertaining to the custom form field control.
Expected result
The custom form field control should work as expected without any runtime errors.
Additional comments
The obvious workaround is to avoid decorating the custom form field control components with the concerned decorator.

Thank you for the reproduction repository
It seems that with non-legacy module from material + using
providers: [{
    provide: MatFormFieldControl,
    useExisting: forwardRef(() => DoubleInputFormComponent)
}]

in your component decorator fix your issue
(forwardRef comes from @angular/core)


AutoFocus attribute not available

I was trying to make the input focus when  a modal including react-multi-email renders but there seems to be no focus related attribute. Or if there is such an attribute I was not able to find it.  Thank You!

I made a PR to support auto-focus #63


Intermediate Catch / Throw missing functionality

Migrating missing functionality

https://github.com/apache/incubator-kie-kogito-runtimes/pull/3544


Linting and Completeness fixes S360

Swagger validation team added some new validations which triggered S360 on our team for old versions. Fixing swaggers for older versions to remove S360

Could you take a look at the lint issue?  It seems in readme.md, you put preview/2018-11-01-preview/subscriptions.json and /preview/2018-03-01-preview/subscriptions.json together, which cause the conflict
Tag: package-2019-03-preview
These settings apply only when --tag=package-2019-03-preview is specified on the command line.
input-file:

Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json
Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json

Could you take a look at the lint issue? It seems in readme.md, you put preview/2018-11-01-preview/subscriptions.json and /preview/2018-03-01-preview/subscriptions.json together, which cause the conflict
Tag: package-2019-03-preview
These settings apply only when --tag=package-2019-03-preview is specified on the command line.
input-file:

Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json
Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json

But in the past we have generated SDK with these versions together


doc(router): Add generic instructions for manual LB setup

Fixes #59

Great docs, A+, would read again. I learn something every time I read your doc PRs, Kent. Thanks!

Thanks for the reviews and positive feedback, gents!


Firefox error on page reload

Version

Phaser Version: 3.15.1

Operating system: MacOS

Browser: Firefox

Description

This bug produces the error "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" whenever the same page with Phaser is reloaded. It does not occur in the first page load, just every reloaded page after. The error does not provide a line number or any other information.
Example Test Code

labs.phaser.io
This error is reproducible in every example on Phaser Labs. Refreshing the page will produce the error on Firefox.
Additional Information

This bug still exists.

Please don't post unhelpful comments. There's no reason for it to not still exist, as no-one has submitted a fix for it yet.

Just tested this on Firefox Quantum 69.0.1 (64-bit) and it no longer happens, so whatever it was, they fixed it.


fix: make deposits written to WatcherDB always come before getter's txs

fixes #695
The problem noted was that a transaction managed to slip through and be processed on the WatcherDB end before a deposit.
Now we explicitly make the BlockGetter service wait for convenience_deposit_processor.

Coverage remained the same at 72.89% when pulling 8720e0d475ea5ff9abe22d2b7648a3b7a97c2d77 on 695_fix_coordinator_config_postgres_deposits into 112fb91b3199fad2304422ef1e11cea8b32fa3d3 on v0.1.


Missing documentation on discovery of current Azure environment

Describe the bug
This page https://github.com/azure/azops/wiki/deployments has a section "How to deploy ARM templates with AzOps" with a link to "Initialize Git With Current Azure configuration"  ( https://github.com/azure/azops/wiki/discover-environment.md ) . This link is empty. Please put in the right link in case the capability exists.
Steps to reproduce

Go to the page https://github.com/azure/azops/wiki/deployments
Click on the link to Initialize Git With Current Azure configuration

Screenshots

Should this be closed? To focus on https://github.com/Azure/Enterprise-Scale/wiki
@ljtill or are we still updating the wiki on AzOps?

Hi @FallenHoot,
The AzOps repo wiki is being updated and used so this is still valid 👍
Thanks

This has been resolved in latest Wiki updates over past few months in AzOps Wiki https://github.com/azure/azops/wiki


[Doc] Improve description of y_sort_enabled

Y-sorting is an incredibly important tool in non-tile-based 2D games, and I only truly understood Godot's robust implementation of it after wasting 2 days writing complex scripts to control Sprite offsets as I did not comprehend the description for y_sort_enabled. This PR aims to improve that description so that I can save others the experimentation.
In short:

I merged the two first sentences as they were saying the same thing twice.

I rewrote the second part to clarify that disabling y-sorting essentially groups the nodes under the y position of the parent if the outermost parent is Y-sorted. This concept is in my opinion quite complex and I think the previous description failed to describe the affordance of that complexity, namely: you can turn y_sort_enabled on and off on selected nodes to group and Y-sort the entire scene in a smart way.
I added that Y-sorting only works if those nodes are on the same Z-index. I was a bit in doubt about adding this, as it makes the whole tooltip another two lines higher, but decided to add it because there is a relationship with Z-index that isn't explained anywhere else.

As a bonus, I also removed the redundant 'Z index' at the start of the description for z_index. If that should be a separate PR, let me know.

I did another iteration on the second sentence after a good nights sleep. The tricky part of that sentence is that it involves nodes 3 layers deep. I landed on using the example names 'A', 'B', and 'C1, 'C2', etc  implying the node hierarchy so I could describe the hierarchy without extending the parents / children analogy to 'grandparent' or 'grandchildren'.

Thanks!

Thank you for merging my first PR into Godot main!

Ah I missed that this was your first - congrats! :tada:


[Automatization] Loaders

Please show the Loaders in Logisitc Request too (green & white belts)
please include the train loading feature from Loaders Redux, thanks

Issue 1 if fixed here -> https://github.com/McGuten/5DimsFactorioMods/pull/81
Issue 2 is a new feature I dont know how loaders Redux does it/if 5dim woul want this feature in.


How to set "enable_granular_consent" parameter on Client.php?

I've got an email from Google telling me that users of my Google Client (created before 2019) will get displayed a granular consent screen from June 2024. Therefore I need to set the "enable_granular_consent" parameter on the Google Client. This parameter is set by default for newer Google Client IDs according to google developers doc.
Now I've checked the most current version of the Client.php and it seems that there is no such function to set this parameter. Any idea how I could fix this or whether this function will be added to the Client.php soonish?
Thanks in advance
Nino

I was able to set the parameter on createAuthUrl().

@ninsky please provide code snippet

I've created PR


feat: Go 1.18 compatibility because of missing any type

also reduce usage of reflect and use type switches
after merge please create tag v1.0.3 from branch v1

@franklinkim can you please merge this as we have switched to go 1.19 and this program does not work anymore. but with this fix, it works again :-) cc @smartinov


Pretrain weights download

Hi, I see the the part of Training says:
Download pretrained weights and put it in directory pretrain/:
pretrain
├── cascade_mask_rcnn_r101_fpn_1x_nuim_20201024_134804-45215b1e.pth
├── cascade_mask_rcnn_r50_fpn_coco-20e_20e_nuim_20201009_124951-40963960.pth

Where should I download these weights? Are there correspondence between these two weights and the four weights in Model Zoo

You can download them from the "pretrain" column (not the "weights" column) of the model zoo table.

ohhhh many thx


[gitlab] Fix lint_macos_gitlab_amd64 rules

What does this PR do?
Updates the rules for the lint_macos_gitlab_amd64 job to have it run.
Motivation
#29645's intent was to modify the job to not run on the merge queue, but it accidentally made it not run anywhere.
Describe how to test/QA your changes
Check that the job in present in the pipeline for this PR.
Possible Drawbacks / Trade-offs
n/a
Additional Notes

n/a

/merge

/merge


Atom editor crashes on startup

I am running MacOSX.
After starting i am greeted by: The editor has crashed.
This is the log from the Console-app: https://gist.github.com/LeanderK/767c8e1166bea86255f04dad8bbdda25.
Running in safe-mode works.
atom version:
Atom    : 1.12.4
Electron: 1.3.9
Chrome  : 52.0.2743.82
Node    : 6.5.0

apm --version
apm  1.12.9
npm  3.10.5
node 4.4.5
python 2.7.12
git 2.10.2

I may be possible that an package caused this.

I deleted my ~/.atom directory, and it worked fine (macOS Sierra).

lol, well it deleted all the packages and preferences. Should have  thought about it before running it.

No, it's not deleted all the packages and preferences! 😃

i just started atom and was greeted with a blank installation.  :anguished:

@LeanderK it's ok, check your packages in Preferances 😄

I experienced the same problem here on macOS Sierra.
I could narrow down the problem to api-blueprint-preview package. After manually deleting it from .atom/packages, I could start Atom and install the package again. Now Atom starts without problems.

@aoc that could be the culprit, i also installed that package!

Guys, as you identified the cause of the problem, would you like to close this issue and open one on api-blueprint-preview repo instead?

@revelt of course, i was on my mobile. Sorry for the delay!

@revelt I don't agree this an api-blueprint-preview issue. That package works fine with atom 1.12.4 if you install it in a fresh installation (or even if you install it in any of the past 5 releases. I couldn't track down the version I used to originally install it).
I've been using it daily without problems in all the latest atom versions. Why did it break in this minor release?
Even though there might be issues in the package, Atom should handle this more gracefully. No package should crash atom like that.
I'm still investigating this problem, I'll open another issue if I find anything else.

@aoc Definitely. Thanks for helping to investigate.

With my installation markdown-preview-kramdown was the problematical thing.
Even when I try to install it again it crashed during the installation process
Atom 1.12.5 with Sierra


Somfy Movelite 35 won't pair

Hardware
ESP32
Firmware version
v2.4.5
Application version
v2.4.5
What happened? What did you expect to happen?
The radio receives my remote and the scanning works fine, but when i put my drapes in pair mode it won't pair with the espsomfy.
i tried changing the tx to higher and lower values
i replaced the E07-M1101D-SMA module
i rebuild the espsomfy using a differtent esp and a new radio module
How to reproduce it (step by step)
I created the drapes, put the somfy motor in pair mode and click the pair button.

Logs
No response

This should work just fine for that motor.   Lets start out with the radio settings.  First, that transceiver cannot transmit beyond 10db so set it at 10.
Did you by chance change the address in ESPSomfy RTS to any address that was displayed in the radio log?  If you did, then this is likely the problem.  If not then give me a rundown of the pinouts you you used.

Wow sorry for wasting your time, when writing down the pinouts I found the mistake. Both ESPs had inverted RX and TX pins... Thanks for your reply, in a way it fixed the issue!


[bug] Index key name too long!

Similar to #882, a formula is missing for index keys being too long and during AutoMigrate() it can appear if the table name is long. — MySQL Error # 1059

Can reproduce on latest with mysql dialect.

Can reproduce on latest.

Should be fixed, thank you for your report.


Error "Failed to Connect Dataverse" in the Azure function.

Hi team,
Occasionally, we receive the error message "Failed to Connect Dataverse" in the Azure function. However, I also encountered the same issue when debugging the code locally using Visual Studio 2022.  Fortunately, when I debugged it again, it worked fine.
Similarly, if we get the same error in the Azure, Once restart the Azure Function, it started working again without any issue.
Although I have used the Startup class in the Azure function, we still receive the "Failed to Connect Dataverse" error message in Azure.
We are using
NuGet package: Microsoft.PowerPlatform.Dataverse (Version 1.0.26)
Framework .NET 6.0
Visual Studio 2022
@MattB-msft
Please suggest. Thanks in advance!!

You are looking at the generic connection failure call there, if you look at the inner exception it will provide you more detail as to what went wrong.   Given the nature of the behavior, it sounds like it is likly a networking filter that is causing the issue.
Are you working within a network that has filters?
MattB

Going to close this due to lack of response.. Please reopen with more info if you were not able to resolve this.


Crawl Web Index is missing after restarting Windows

I have been working for 2 days on this index and I added fields, regex, etc. After restarting my Windows 10, I don't see any index there when I go to http://localhost:9090/
How can I retrieve the index and why it's missing now?
Thanks

All index data should me in oss_root/data/index_name_folder.
I found out, that if I change the folder name, the index name changes directly.
So first look in the index folder. If it does exist, make a back up copy, create a new one in administration and compare config files.

Thanks for your reply. I found that it sometimes take some time to show up, but unfortunately, the index is there, but I missed all added mapped fields and all regex used on these fields. I really don't know what is the reason. I didn't touch any folder or messed with any settings. I just restarted the machine. I am using Windows 10 by the way and the latest open-source version of OSS.

This never happened to me. I'm currently having 3 instances (1 as beta version for testing, 2 for my research) and this never happened to me in the past 7 months.
Hope Emmanuel will provide you a solution.

I hope Emmanuel can share his thoughts on this. Thanks Mojster for your kind follow-up.


chore: add test for new client generation

Fixes: #8659

because the repository is private.

How about yoshi-code-bot account? https://github.com/googleapis/google-cloud-java/blob/main/.github/workflows/readme.yaml#L35 (I don't know its entitlement)

because the repository is private.

How about yoshi-code-bot account? https://github.com/googleapis/google-cloud-java/blob/main/.github/workflows/readme.yaml#L35 (I don't know its entitlement)

Doesn't seem to be working either.

How might we verify new-client.py’s logic of adding a corresponding new entry to gapic BOM, release please configuration files, and the root pom.xml?


detailed documentation and examples

there is not any documentation to introduce any function and module. so it is difficult to use it for  a person that have not  experience

there is not cysimdjson.JSONParser().parse_string function

it look like that cysimdjson is not yet finished

@seperman - you likely used some intermediate (master) version.
The cysimdjson underwent an architecture refactoring at that time, sorry for inconvenience.
Current version behaviour:
>>> parser = cysimdjson.JSONParser()
>>> print(parser.loads)
<built-in method loads of cysimdjson.JSONParser object at 0x7ffe9fe25ab0>

In general, for a newcomers I would recommend to stick with pysimdjson - it is more user-friendly and comparably fast in version 4.0
This project remains alive mainly b/c we are squeeze some performance from it in very specific case: using C API in the code that lives outside of the Python (C code) and still needs an access to parsed JSON structures.
If that's possible with pysimdjson, this one could be closed since it served its original purpose.

If that's possible with pysimdjson, this one could be closed since it served its original purpose.

I'm happy to support this use case if you can describe the API you need exposed on the C side of things.

If that's possible with pysimdjson, this one could be closed since it served its original purpose.

I'm happy to support this use case if you can describe the API you need exposed on the C side of things.

The generic idea is that the "other code" (meaning non-Python, maybe Cython, maybe LLVM IR, maybe other compiled/binary code) would like to access the parsed JSON, using simdjson directly using the element that has been parsed by cysimdjson.
This is an API: https://github.com/TeskaLabs/cysimdjson/blob/main/cysimdjson/cysimdjsonc.h - it is basically a simplistic wrapper of C++ code in the opaque C memory block + set of bridging functions that allows to call specific method of simdjson.

I've taken a look at it and I see no issue supporting it, although I might change how you acquire it to be a bit different, passing around a PyCapsule so that it can be passed around safely in C or via Python to other C functions without void typing and with support for garbage collection. I'll look at adding it towards the end of December when the office is on holidays.


Replace Equinix CentOS8 system with a supported OS

CentOS 8 is end of life.However, one of our Altras is still running it so we should replace it with another offering. The ones which Equinix offer on these systems are:

CentOS8
Debian 10
Ubuntu 20.04
Custom PXE

NOTE: I've removed dockerBuild from this machine as the docker-build-multiarch job was failing on it with this error:
$ docker login -u adoptopenjdkuser -p ******** https://index.docker.io/v1/
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: credentials key has https[s]:// prefix

Reinstalling witih Ubuntu 20.04 (22.04 is not currently an option for those servers in the Equinix portal)

Various docker containers now set up on the machine - some with slightly modified versions of the ones in the dockerstatic role:

https://ci.adoptopenjdk.net/computer/test-docker-alpine314-aarch64-2
https://ci.adoptopenjdk.net/computer/test-docker-alpine315-aarch64-1
https://ci.adoptopenjdk.net/computer/test-docker-alpine316-aarch64-1
https://ci.adoptopenjdk.net/computer/test-docker-fedora35-aarch64-1/
https://ci.adoptopenjdk.net/computer/test-docker-fedora36-aarch64-1/
https://ci.adoptopenjdk.net/computer/test-docker-alma8-aarch64-1/
https://ci.adoptopenjdk.net/computer/test-docker-rocky9-aarch64-1/
https://ci.adoptopenjdk.net/computer/test-docker-ubuntu21804-aarch64-1/
https://ci.adoptopenjdk.net/computer/test-docker-ubuntu2004-aarch64-1/

Reinstalling witih Ubuntu 20.04 (22.04 is not currently an option for those servers in the Equinix portal)

Ubuntu 22.04 has now been added as a valid option for the x.large.arm servers at Equini so we should be able to push this up now. Will spin out a separate issue for it.


designing the registration form and sending the registration request

making a form for getting the user input(the username and password)
sending the request (/users | post | Username  , password )
depending on the returned status code the login was succesful (redirect to login or directly login) or unsuccesfull (appropriate error message is displayed

Estimated time: 2h
This task is part of user story with issue number #2

d4df086b13b20bf0c81c10c484efbea592074574


超时: concepts/timeout.md

This article is waiting to be claimed. concepts/timeout.md

/accept

/delay-reset

目录调整，该章节合并，详情见 #251


Update italian translation

Coverage remained the same at 92.162% when pulling 8d1e7364be96c50b6a6f7d71ecb490b1a4e30ec8 on voria:translation/it into a459ec5ab6e69fae6bf643539657ac369beeb394 on MarshallOfSound:master.


Action space issues

Hello, I'm sorry to bother you again. I still have some questions that I need to consult with you and I need your help.
Question 1: You said you set the maximum speed of the intelligent agent to 0.2, but I can't find the specific code for this part.
Question 2: I don't know where the action space is defined, and I don't know where the settings for this part are.
Finally, I'm sorry to bother you again, but I really need your help. I wish you all the best.

Hello, I really need your help. If you are free, I hope you can provide some clarification. Thank you.

Hello,
Q1: You can find the maximum speed of the intelligent agent at  https://github.com/islambarakat99/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning/blob/4fde6a0a951394298a15a8e26bcdb57f819cbea8/multiagent/core.py#L42
Q2: Actually the definition for the Action Space is pretty hard to be described here, so you can find this one at:
1- The original paper of MADDPG
@article{lowe2017multi,
  title={Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments},
  author={Lowe, Ryan and Wu, Yi and Tamar, Aviv and Harb, Jean and Abbeel, Pieter and Mordatch, Igor},
  journal={Neural Information Processing Systems (NIPS)},
  year={2017}
}

2- The implementation can be found at this file at
https://github.com/islambarakat99/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning/blob/4fde6a0a951394298a15a8e26bcdb57f819cbea8/maddpg/trainer/maddpg.py
3- Also you can read this article for further explanation
If you have further questions I can help

Okay, thank you very much for your answer.
I don't think my coding skills are strong enough, so I feel a bit inadequate in many aspects. I have changed the reward you set for training and found that the effect is very poor, and basic navigation tasks cannot be completed. I can only continuously adjust the reward value for training, which is the only thing I am currently able to do and have the confidence to do well.
I have another question that I would like to ask you, which is how to display the results of training and testing in a graph. I have written a piece of code myself, but I always report errors.
Finally, thank you very much for replying to my email. Wishing you a happy life and all the best.

For the first part, I think that you may also tune these parameters
https://github.com/islambarakat99/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning/blob/4fde6a0a951394298a15a8e26bcdb57f819cbea8/train.py#L21-L24
It is also recommended to have some basic understanding of how these parameters' effect on the performance, for this matter you can read the article mentioned before. I found it to be very helpful and quite easy to understand.
Second, you can set these arguments to display the results after training
And also the benchmarking, so you can basically have a trained agent with a certain policy then you want to evaluate its performance so you tune lines 33, 34 by enabling the benchmark and set the number of iterations you want to evaluate your agent within
https://github.com/islambarakat99/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning/blob/4fde6a0a951394298a15a8e26bcdb57f819cbea8/train.py#L31-L36
At lines 35, 36 you can set the directory on your desktop to save the plots as graphs after finishing
I hope this will help you, I am happy replying to your comments 😀

Ok, thank you. I have already started to adjust the parameters you mentioned. Regarding the content in the figure below, I will study and try again. If there is any progress, I will inform you in a timely manner.
I am very grateful for your reply. I may come to you every day recently to inquire about something that has caused you trouble.
Wishing you happiness and a smooth life every day.

Hello, I remember. After I trained well at that time, I stored a graph about rewards, but the suffix of the graph was a pkl file, and I still don't know how to draw it using Matplotlib.
As shown in the following figure.

So First of all you need to install Matplotlib
pip install matplotlib

Then you need to re-use this code which I found for your problem, I also have tested it for you
import matplotlib.pyplot as plt
import pickle as pl

# Load figure from disk and display
fig_handle = pl.load(open('formation_agrewards.pickle','rb'))
fig_handle = pl.load(open('formation_rewards.pickle','rb'))
plt.show()

You can train the model as it is and run this piece of code from a separate file, but take care that you need to place this file with the pickle files or instead you can place it anywhere and give it the right path to the pickle file and have fun!
You don't need to thank me, it is just a simple help. You can ask me when you are stuck with something

Hello, I tried according to the code you provided, but there was an issue. The code did not report an error but did not display the image, as shown in Figure 1. I searched online for related issues and have tried all the existing methods, but the results are still the same.
I tried the following solution and added a new line of code, as shown in Figure 2. But the result is not good, as shown in Figure 2.
At present, I am a bit tricky about this issue, and I apologize for bothering you again amidst your busy schedule.

Well, the line you added unfortunately will not work!
So when you use the first code you should see Matplotlib graphs pop-up, however this may not work due to one of some reasons.
First, can you tell me the version of Python and Matplotlib you running, on Command Prompt write:
python --version
pip show matplotlib

Second, you may try to install GUI kits for Matplotlib like pyqt5:
pip install pyqt5

Hello, I have already carried out the operation according to what you said. And 'pyqt5' has been installed.
But when I run the code, I still can't display the diagram.

The environment I created using anaconda is called maddppg.

Hello, I have a guess. I think the pkl files saved during training cannot be drawn using Matplotlib at all.
I don't know if this idea is right or not. What do you think?

I am really happy that it worked 😀 , Please update me with your progress and ask for help when needed.
Wishing you best of luck

Hello, I found a problem with the code I wrote.
Question 1: Normally, all the training processes should be displayed, but the curve I drew only shows a portion.
Style 2: Each agent should have its own rewards. I believe that 'final_ep_rewards' saves the rewards each agent receives in each episode, but no matter how I set it, only one curve comes out.
I'm sorry to bother you again, but I really don't know how to handle it. I tried all the methods I could think of, but it still didn't work. Below is the curve and code I drew.

I would like to copy the code I wrote to you for your review.
Finally, thank you very much for your help. I wish you a happy life and all the best.
`import matplotlib.pyplot as plt
import pickle
Load the pkl files
with open('C:/Users/309/Desktop/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning-main111/curves/formation1_agrewards.pkl', 'rb') as f:
rewards = pickle.load(f)
with open('C:/Users/309/Desktop/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning-main111/curves/formation1_rewards.pkl', 'rb') as f:
agrewards = pickle.load(f)
Convert non-iterable elements to single-item lists
rewards = [[rew] if not isinstance(rew, (list, tuple)) else rew for rew in rewards]
agrewards = [[rew] if not isinstance(rew, (list, tuple)) else rew for rew in agrewards]
Calculate average episode rewards and agent rewards
avg_rewards = [sum(rews) / len(rews) for rews in rewards]
avg_agrewards = [sum(rews) / len(rews) for rews in agrewards]
Plot the average rewards over episodes
plt.plot(range(len(avg_rewards)), avg_rewards, label='Average Rewards')
plt.plot(range(len(avg_agrewards)), avg_agrewards, label='Average Agent Rewards')
plt.xlabel('Episodes')
plt.ylabel('Rewards')
plt.title('Reward Curves')
plt.legend()
plt.show()`

It may be due to one of some reasons:
1 - It may be the Pickle file saved has only 1 agent for rewards/agrewards.
2 - It may be because you have not divided each of rewards/agrewards into sub-lists for each based on the number of agents you have for each one, it may also explain why you see the reward curve lengths are not consistent with each other on the graph.
3- It may be because you need to use plt for each agent separately.

Ok, thank you. I completely followed the code you wrote at the time. I only modified the previous parameters, such as learning rate, and did not make any other changes.
I don't know how to write this part of the code now.

Can you share with me your 2 pickle files here at this website, please upload them here and share the link with me
Once I have time I will try to figure out why they are not working with you, in the meanwhile you can also search the internet for solutions to this problem and If you found any, tell me
I will update you too

Of course, thank you very much for helping me. I will now send you the '. pkl' file that I have run. I will compress all the programs and send them to you. The '. pkl' file is located in the 'curves' folder. Due to my lack of understanding of some of the code, I added a note in Chinese.
Finally, I would like to express my gratitude to you again. Thank you for taking the time out of your busy schedule to reply to me. I wish you a happy life and all the best.
I will also continuously search for information and debug the code. Once there is any progress, I will immediately share it with you.
Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning-main111.zip

The compressed package I uploaded is in "zip" format. I'm not sure if you can fully open it on your end? If you have not received it or cannot open the file, I will immediately adjust the format and resend it to you.
Thank you, my good friend.

Can you upload only the pickle files at this link and generate a link then send this link here, because I am not sure that the environment will be fully working at my end right now

Hello, due to personal reasons, I am only replying to your email. I'm not sure if this is the correct way to handle it. I followed the link you sent and generated a website address on it. Here is the pkl file I obtained.
https://wormhole.app/LkdZl#srIRLIJXhyMr7_6iOhafSQ
If there are any issues, I will handle them promptly. Thank you, my good friend.

https://wormhole.app/Qx7OB#MSh8Zadr0pw7E_YPqno-Hg

Hello, due to personal reasons, I am only replying to your email. I'm not sure if this is the correct way to handle it. I followed the link you sent and generated a website address on it. Here is the pkl file I obtained.
https://wormhole.app/Qx7OB#MSh8Zadr0pw7E_YPqno-Hg
If there are any issues, I will handle them promptly. Thank you, my good friend.

Hello, there is one thing that needs to be noted. This link is only valid for 24 hours. If it fails, please let me know and I will regenerate the link before sending it to you.

Sorry, I made a mistake in one sentence. What I want to say is that due to my personal reasons, I have not responded to your email until now.
I hope not to cause your misunderstanding. Thank you very much for replying to my email in your busy schedule. I am sorry to cause you some trouble. Finally, I wish you a happy life and everything goes well.

Sorry bro, for not replying immediately I am just on a vacation for 2-3 days, so I don't have the laptop with me to do it now.
Don't worry, I hope that those personal reasons went fine.
Don't thank me again I am just giving too little help here.
I hope that your project will be at the end a very successful one ☺

Ok, thank you. I am also actively searching for information and solving this problem.
Have a pleasant time.
浅握双手
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "islambarakat99/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning"                                                                                @.>;
发送时间: 2023年4月21日(星期五) 上午10:32
@.>;
<EMAIL_ADDRESS>主题: Re: [islambarakat99/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning] Action space issues (Issue #7)
Sorry bro, for not replying immediately I am just on a vacation for 2-3 days, so I don't have the laptop with me to do it now.
Don't worry, I hope that those personal reasons went fine.
Don't thank me again I am just giving too little help here.
I hope that your project will be at the end a very successful one ☺
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hello, I don't know about your holiday life, but I think it must be happy and full of fun. Of course, I also have a happy thing to share with you. It's just that I feel like I've solved the problems I left behind.
Idea 1: The reward curve shows only part of the reason for the "arglist.save_rate", for example: If "arglist.save_rate" is 10, the first element in the final_ep_rewards list is the average cumulative reward value from episode 10 to episode 1.
Idea 2: '_agrewards.pkl' does hold an average reward value for each agent. I printed out the values included and then divided the elements to get three curves.
I don't know if I'm right about that, but I think it's a little bit of progress, ha ha ha.

However, there is still a problem, that is, the curve obtained by training does not feel right, that is, there is almost no increase in the reward value base of agent 1 and Agent 3.

Hello there, I am really sorry I haven't been following up recently as I had a vacation, so sorry for not being available!
I am really happy to did it, I think that's a lot of progress to be able to solve such problems and print the right graphs.
I think you can play with the learning parameters I mentioned for you before, they are the main controllers of the learning process hence the learning curves:
https://github.com/islambarakat99/Multi-Robot-Formation-Control-using-Deep-Reinforcement-Learning/blob/4fde6a0a951394298a15a8e26bcdb57f819cbea8/train.py#L21-L24
As I mentioned before, you need to tune these parameters by trial and error. Then update me with your progress

Ok, thank you. My current main job is to adjust the parameters in order to obtain a model with better performance.
Thank you very much for your help. I wish you a healthy and happy life, and all the best.


DOP-5060: Number footnotes reference ids based on page context

Ticket
DOP-5060
Notes

This PR allows a postprocess handler to edit footnote reference ID numbers so that footnotes in includes are numbered chronologically within the context of the page properly.
Please feel free to compare any footnote examples, but here's a few:

Test page - Snooty main branch vs. staging (rST) - note the difference between footnotes from includes are linking properly in the staging link compared to the one from the Snooty main branch
Page from ticket - Prod vs. staging

README updates

[ ] This PR introduces changes that should be reflected in the README.md and/or HACKING.md, and I have made those updates.

[x] This PR does not introduce changes that should be reflected in the README.md and/or HACKING.md

is this supposed to scroll to the footnote reference on initial load? Because mostly it doesn't. I think I got one of them to work if I was originally in the correct tabs.

Seems like the behavior is happening on prod as well. If you're seeing the reference hash jumping to the wrong part of the page, this might be happening due to tab content rendering after initial load.
If linking to a footnote reference inside of a tab, it should only work if that tab is active in general at the moment. I don't believe we currently support linking to things inside of tabs on initial load or when they're inactive, so this is most likely expected for now as well


Sphinx doc

Build the documentation using Sphinx and the pydata theme.
This first implementation is broadly inspired by Jupyter, pandas and bokeh docs.
Discussion

At this time, a small part of the code is covered by docstrings
autodoc has to be improved to display nicely classes/methods/attributes/etc. in API reference
Configuration options to be detailed in User Guide

we've added docs now (using sphinx: #127), and they are available at https://quetz.readthedocs.io/ )

Cool!
Sorry this draft PR got stale, I didn't took time to request a review.

no problem at all!


RFR: Docker build image action fixes

Print complete traceback on exceptions for better visibility.
JSON output from docker daemon is inconsistent depending on whether
a base image is already existing or is being downloaded. You can either
get {'stream': 'some message'} or {'status': 'STATUS', other fields...}.
So this action now prints the entire JSON output.
While using chunked transfer (stream=True), sometimes we get a ReadTimeoutError.
In most cases, it is temporary because docker daemon is loaded. So
we just ignore the ReadTimeoutError and retry. Note this is not ideal
but as a client there is little we could do.

Closing. Not working on this.


Infinite waiting handoff

Hello.
server_[1:3] - riak 2.9.0p5
server_[4:6] - riak 2.1.1

# riak-admin transfers
'riak@server_1' waiting to handoff 3 partitions
'riak@server_2' waiting to handoff 3 partitions
'riak@server_3' waiting to handoff 3 partitions
'riak@server_4' waiting to handoff 19 partitions
'riak@server_5' waiting to handoff 20 partitions
'riak@server_6' waiting to handoff 22 partitions

Active Transfers:

I'm use riak-admin repair-2i on one server and see this log
2020-02-13 17:17:43.893 [error] <0.14955.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>748291114361965898003636498195577569280
2020-02-13 17:17:43.893 [error] <0.14974.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>48518965780370444936484965102833893376
2020-02-13 17:17:43.893 [error] <0.14867.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>497949337234359077604363797834693083136
2020-02-13 17:17:43.894 [error] <0.14912.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>997721485815954530671515330927436759040
2020-02-13 17:17:43.894 [error] <0.14824.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>98860742907977265335757665463718379520
2020-02-13 17:17:43.894 [error] <0.14949.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>98632891489572718402909198556462055424
2020-02-13 17:17:43.895 [error] <0.14915.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>247607560106752257205091097473808596992
2020-02-13 17:17:43.895 [error] <0.14950.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>48746817198774991869333432010090217472
2020-02-13 17:17:43.895 [error] <0.14918.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>49430371453988632667878832731859189760
2020-02-13 17:17:43.896 [error] <0.14953.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>99316445744786359201454599278231027712
2020-02-13 17:17:43.896 [error] <0.13682.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>99772148581595453067151533092743675904
2020-02-13 17:17:43.896 [error] <0.14947.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>99544297163190906134303066185487351808
2020-02-13 17:17:43.897 [error] <0.14879.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>998177188652763624537212264741949407232
2020-02-13 17:17:43.897 [error] <0.14945.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition 0
2020-02-13 17:17:43.898 [error] <0.14924.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>98405040071168171470060731649205731328
2020-02-13 17:20:28.861 [error] <0.18978.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>49658222872393179600727299639115513856
2020-02-13 17:20:28.861 [error] <0.17227.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>747835411525156804137939564381064921088
2020-02-13 17:20:28.861 [error] <0.17884.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>49202520035584085735030365824602865664
2020-02-13 17:20:28.862 [error] <0.17780.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>99088594326381812268606132370974703616
2020-02-13 17:20:28.862 [error] <0.18994.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>248063262943561351070788031288321245184
2020-02-13 17:20:28.862 [error] <0.18913.87>@riak_kv_2i_aae:repair_partition:297 Failed to acquire hashtree lock on partition<PHONE_NUMBER>48974668617179538802181898917346541568

What can be done?

The combination of a cluster-wide 2i repair, with pending handoffs in a mixed version cluster is not tested.  2i repair only tested with a common version, with the cluster in a stable state (and only with the eleveldb backend - it doesn't work with other 2i supporting backends).
I think it was release 2.2 that introduced a version uplift to the AAE trees.  So it might be that it is failing to lock based on a version mismatch.  There were different scenarios tested for this uplift, but cluster-wide 2i repair wasn't one of them.
There's unlikely to be a quick and simple answer to "what can be done?".  You may just have a lot of trees locked for rebuilds, and as the rebuilds complete you will be free to run 2i repair again.  But the problem might be more involved, and the only way to be sure that 2i repair will behave as expected would be to run it in its tested state.
Sorry that this is a bit of an unhelpful answer.  Perhaps someone else might have the time to dig deeper and give you a better answer.

Thanks! It prompted me to use riak-admin down. Tomorrow I will write the result.

riak-admin down don't help.
But now i see this error:
Partition:<PHONE_NUMBER>15565384811044689824565743281594433536
Error: {no_aae_pid,undefined_aae_pid}


Add in an additional step to validate in ExecutionCoordinator

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

#960  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bidetofevil and the rest of your teammates on  Graphite

Merge activity

Jun 13, 2:22 AM EDT: @bidetofevil merged this pull request with Graphite.


building error

Error: Can't find npm module 'meteor/studiointeract:react-accounts-ui'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?

fixed with:
import Accounts from 'meteor/std:accounts-ui';

@PolGuixe do you believe we need to write something about this in the readme?

@timbrandin yes, I've seen that you have already did. ;)

Cool, I'll close this then.


After upgrading to p2p messages are being received twice per send.

server/tests/ioConnect.test.js
Test:  socket.io integration test - request game
lines 189 - 213
I can tell the test is only emitting the message once but the socket receiving it gets it twice. using a timestamp or a random number I can just check for the duplicate and delete it but not really a great solution. Thinking I'll keep my mind on it for the weekend but if I can't figure it out I may just drop socket io and implement it myself.

I did write a vanilla WebRTC implementation and tried it instead of the socket.io-p2p. I didn't receive duplicates It also didn't have an ice connection which later in the week my boss said will always send the first message twice as part of what it does to get through a firewall. I tested the socket.io-p2p again to see if it was sending more than just the first message in each direction twice, it is. I don't know if this is a result of the ICE maybe trying to get through a firewall that doesn't exist or a problem with the implementation.
I've decided to write a proxy that will give a static api for the client and server to use so that I can keep tinkering and learning about the WebRTC connection without hindering the rest of the process. Hopefully I'll get that pushed tonight.

Fixed by creating the proxy and then when i couldn't fix the socket.io bug I switched to a vanilla WebSocket / WebRTC implementation.


process fover blocked when query result has no row, sqlx 0.3.5 + MySQL 5.6.44

Env:
CentOS Linux release 7.8.2003 (Core)
rustc 1.43.0
cargo 1.43.0
sqlx = { version = "0.3.5", default-features = false, features = [ "runtime-tokio", "macros", "mysql"] }
actix-web = { version = "2.0.0", features = ["openssl"] }
MySQL 5.6.44

Code:
 let row = sqlx::query_as::<_, MyRow>("SELECT * FROM `tablename` WHERE id=?")
        .bind(id)
        .fetch_one(pool).await?;

if have row returned it would works well.
but when no row, It would be blocked forver.
try to change MySQL 5.6.44 to MySQL 5.7.30-log, all ok.

Can you check master to see if the problem still exists with 5.6?

Can you check master to see if the problem still exists with 5.6?

When I try to edit Cargo.toml change to master:
Cargo.toml
sqlx = { git = "https://github.com/launchbadge/sqlx", branch = "master", default-features = false, features = [ "runtime-tokio", "macros", "mysql"] }

cargo build:
Error:
pub async fn my_fn1(pool: web::Data<Pool<MySqlConnection>>, path: web::Path<u32>) -> Result<HttpResponse, Error> {
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `sqlx_core::database::Database` is not implemented for `sqlx_core::mysql::connection::MySqlConnection`

Warning:
 ::: /Users/me/.cargo/git/checkouts/sqlx-xxx/xxx/sqlx-core/src/pool/mod.rs:73:21
   |
73 | pub struct Pool<DB: Database>(pub(crate) Arc<SharedPool<DB>>);
   |                     -------- required by this bound in `sqlx_core::pool::Pool`

does the master 4.0-prev not supported for MySQL ?

The types have changed a bit, now you need to use Pool<MySql> (or the MySqlPool type alias)

The types have changed a bit, now you need to use Pool<MySql> (or the MySqlPool type alias)

great! it works! thanks!


Visibility based on radio buttons

In the following case, is there any way we can make the textview visible only if we select the first option
  <select
    name="CalculateDates"
    defaultValue="LMP"
    as="radiobuttons"
    label="Select">
    <option
      value="LMP date:">LMP</option>
    <option
      value="EDD date:">EDD</option>
  </select>

<textarea
        type="string"
        name="Comments"
        label="EDD comments"></textarea>

maybe we can base the visibility on the selected index?

textarea isvisible="{Binding CalculateDates|???}"
I have to think about the converter part. It's unfortunate that binding expressions dont support converter arguments. Maybe we should add that to the grammar.
Something like
{Binding CalculateDates|IsEqual('LMP')}

I think {Binding CalculateDates|IsEqual('LMP')} will work well

Anywhere that you have a bool you can create custom expressions like that one, so this already works. We only need to implement converter parameters for better reusability.

Converters can now have a parameter using the following syntax:
|IsEqual('String')
|IsEqual(3)
|IsEqual(25.3)
|IsEqual(true)
|IsEqual(false)
|IsEqual(null)

The IsEqual is just a demonstration. You can create custom factories and register them in Resource.ValueConverterFactories. You cannot have a dynamic value in converters.
Note This is not Binding.ConverterParameter that is passed to IValueConverter.Convert. It was too messy and too late to implement it. Instead, the parameter is parsed from the expression and is passed to corresponding factory in the new property: Resource.ValueConverterFactories, which creates a new converter with the parameter value baked in.
For backwards compatibility we now have two dictionaries for storing converters globally:
Resource.ValueConverters is a dictionary of string : IValueConverter and Resource.ValueConverterFactories is a dictionary of string : func(object -> IValueConverter).
Feel free to register custom converters at application startup.

I have tested this and it works well on Textview and datetime but I can't get this to work on <text> field

text visible="false" does not seem to work. I will see what's wrong

It is the same with Heading tag

fixed in 42e23e238e9c909baa8d6a48f10cff9897dc9daa for all non-input elements

This is working well now


Give "Mom" a Gender

Still haven't managed to embed into the "gender Guesser" system a way of recognizing that some nouns, such as "mom", "dad", or "son" have a gender, and thus may be referenced as "he/she"

Succes in adding Mom to gender guesser text file, so now it works as desired


fix(client): deduplicate events in ModuleNotifier::subscribe

More proper fix for #5126

Merged already, rest won't work.

Wth are you talking about @dpc ? This PR was NOT merged already. :D


IRC does not re-use account connection

If I add multiple gateways with the same IRC account (see example matterbridge.toml), matterbridge will start multiple IRC connections, resulting in nicknames as matterbridge_ and matterbridge__ in some channels.

Yes, this is how it works for now, only inside the same gateway connections are reused.
Will revise this in the future.

I understand, but can one work around this limitation? Is it possible somehow to reuse the same IRC connection for bridging in multiple channels?

No that's not possible at the moment.

We've just started using Matterbridge, and this is a bit of a pain because we'll need one connection to the irc server per bridged channel. It would scale better if a single connection could be used for all channels, since many irc servers limit how many connections one client can open simultaneously.

@ExTechOp I'm actually working on this (for all protocols), are you willing to test a version the coming days?

We are running Mattermost with a corporate test license (for the LDAP integration, such as it is) until the end of April. Feedback from users is so positive that we'll probably get a proper license after that and move to production. I'd gladly try out newer Matterbridge versions, but I'll need fairly comprehensive instructions on what I need to do.

@ExTechOp I've released a beta version which include this fix.
See https://github.com/42wim/matterbridge/releases/tag/v0.11.0-beta1
Let me know how this works for you.

We've now installed this beta version and it seems to do pretty much what is wanted: only one irc connection is opened per channel. However, a new "feature" is that irc join/leave messages get copied over to Mattermost (though not to xmpp). Is this intentional, configurable, or unintended?

That's an existing feature showjoinpart, but if this isn't enabled it's a bug.
#Enable to show users joins/parts from other bridges (only from irc-bridge at the moment)
#OPTIONAL (default false)
ShowJoinPart=false

@ExTechOp try latest beta https://github.com/42wim/matterbridge/releases/tag/v0.11.0-beta2
Fixes the join/leave issue

We are currently running this latest beta. The join/leave issue seems to be corrected, while only one irc connection is still opened for all channels. Seems good!

Great!


BatchNode documentation show invalid chaining methods

URL for relevant page?
https://docs.influxdata.com/kapacitor/v1.5/nodes/batch_node/
What products and version are you using?
Kapacitor 1.5.1 on Docker (kapacitor:1.5.1-alpine)
Where did you look before opening the issue?
Other github issues, such as 1305 and 1602. Google search for better examples.
What is the problem?
The BatchNode documentation indicates that deadman and stats are valid chaining methods, but they cause panics when used with the batch variable. If they are valid chaining methods, the documentation doesn't make clear when one should use those chaining methods on a batch node.
Any attempt to use those chaining methods causes a panic. For example, enabling the TICKscript
batch|stats(1m)

Causes the following error when watching the logs with the kapacitor logs command:
ts=2018-11-20T18:34:12.972Z lvl=error msg="2018/11/20 18:34:12 http: panic serving <IP_ADDRESS>:52018: interface conversion: kapacitor.Node is *kapacitor.NoOpNode, not *kapacitor.QueryNode
goroutine 301 [running]:
net/http.(*conn).serve.func1(0xc42001a1e0)
	/usr/local/go/src/net/http/server.go:1726 +0xd0
panic(0x1da1660, 0xc4203e3780)
	/usr/local/go/src/runtime/panic.go:502 +0x229
github.com/influxdata/kapacitor.(*BatchNode).DBRPs(0xc4203ca240, 0x1, 0x1, 0xc420319c20, 0x22acf00, 0xc4205523d0)
	/root/go/src/github.com/influxdata/kapacitor/batch.go:69 +0x261
github.com/influxdata/kapacitor.(*ExecutingTask).checkDBRPs(0xc4205c62d0, 0xc4203ca240, 0x0, 0x1c4d160)
	/root/go/src/github.com/influxdata/kapacitor/task.go:296 +0x75
github.com/influxdata/kapacitor.(*ExecutingTask).StartBatching(0xc4205c62d0, 0xc4209bb280, 0xc4205c62d0)
	/root/go/src/github.com/influxdata/kapacitor/task.go:259 +0x63
github.com/influxdata/kapacitor/services/task_store.(*Service).startTask(0xc420159e00, 0xc420470438, 0x4, 0x1, 0xc4204b0c80, 0x1, 0x1, 0xc4203833e0, 0x21, 0x0, ...)
	/root/go/src/github.com/influxdata/kapacitor/services/task_store/service.go:2007 +0x198
github.com/influxdata/kapacitor/services/task_store.(*Service).handleUpdateTask(0xc420159e00, 0x22c6f00, 0xc4204b01e0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/task_store/service.go:1044 +0xc86
github.com/influxdata/kapacitor/services/task_store.(*Service).(github.com/influxdata/kapacitor/services/task_store.handleUpdateTask)-fm(0x22c6f00, 0xc4204b01e0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/task_store/service.go:134 +0x48
github.com/influxdata/kapacitor/services/httpd.authorize.func1(0x22c6f00, 0xc4204b01e0, 0xc420cc8000, 0x2104d7d, 0xa, 0x1, 0x3476f50, 0x0, 0x0, 0xc420430ab0)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:722 +0xe9
github.com/influxdata/kapacitor/services/httpd.authenticate.func1(0x22c6f00, 0xc4204b01e0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:587 +0xb45
net/http.HandlerFunc.ServeHTTP(0xc4202f5d00, 0x22c6f00, 0xc4204b01e0, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.jsonContent.func1(0x22c6f00, 0xc4204b01e0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:826 +0xb1
net/http.HandlerFunc.ServeHTTP(0xc4202f5d40, 0x22c6f00, 0xc4204b01e0, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.gzipFilter.func1(0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:819 +0x1d5
net/http.HandlerFunc.ServeHTTP(0xc4202f5d60, 0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.versionHeader.func1(0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:835 +0xbc
net/http.HandlerFunc.ServeHTTP(0xc4202f5d80, 0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.cors.func1(0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:868 +0x102
net/http.HandlerFunc.ServeHTTP(0xc4202f5da0, 0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.requestID.func1(0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:878 +0x124
net/http.HandlerFunc.ServeHTTP(0xc4202f5dc0, 0x22be780, 0xc4204b01c0, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.logHandler.func1(0x22be780, 0xc4204b0180, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:886 +0xdf
net/http.HandlerFunc.ServeHTTP(0xc42067da40, 0x22be780, 0xc4204b0180, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.recovery.func1(0x22c69c0, 0xc420630000, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:895 +0xed
net/http.HandlerFunc.ServeHTTP(0xc42067da70, 0x22c69c0, 0xc420630000, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/influxdata/kapacitor/services/httpd.(*ServeMux).ServeHTTP(0xc4203c3a40, 0x22c69c0, 0xc420630000, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/mux.go:163 +0x130
github.com/influxdata/kapacitor/services/httpd.(*Handler).ServeHTTP(0xc4203bc5a0, 0x22c69c0, 0xc420630000, 0xc420cc8000)
	/root/go/src/github.com/influxdata/kapacitor/services/httpd/handler.go:373 +0xd4
net/http.serverHandler.ServeHTTP(0xc42038e820, 0x22c69c0, 0xc420630000, 0xc420cc8000)
	/usr/local/go/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc42001a1e0, 0x22c9840, 0xc420186140)
	/usr/local/go/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2795 +0x27b
" service=http service=httpd_server_errors

The source code causing the error (batch.go, line 69) seems to indicate that batch should always be used with the query chaining method.
I understand that the TICKscript that causes the error doesn't look too useful, but the documentation indicated that it was valid. I tried it to see if I could get a batch to emit a periodic event without the need to query anything.
A separate, but related, issue with the same documentation page is that the deadman example code also shows batch used with the from() chaining method. This is clearly incorrect since batch doesn't support from() as a chaining method. This may be a separate documentation issue, but if the deadman and stats sections get removed then this problem is not relevant.

I've passed the panic on to the Kapacitor team and have updated the documentation so that each batch example includes the query chaining method and have called out that every batch node needs a query chaining method. A batch cannot be performed without a query because it defines the source and scope of the batch.


I need an example about batch insert operation

I tried to improve insert efficiency , but I can not find the right way about commit/prepare/stmt.exec.

Added simple insert benchmark/example:
https://github.com/mattn/go-oci8/blob/8fa434520277b7371232d48f23662fd2ec1cad3c/oci8Sql_test.go#L783-L864
There are additional ways to speed up inserts depending on what you are doing. For example, can do a insert from many select dual union all which works well. (Found 50 to 100 works well depending.) Can also use more than one goroutine depending on use case.

@sunshyer Alright to close this?

@MichaelS11 you may be interested in https://groups.google.com/forum/#!topic/golang-sql/-J_1aay72nM

@cjbj Cool, thanks. Something that can be looked into later.

Close this?

Yes, thanks .


Is "watch" supported?

Hi, not sure if I'm overlooking it, but is the watch command supported?
I'm looking to do something like:
const key = "account:spaces"
await redis.watch(key)
const count = await redis.scard(key)
await redis.multi().sadd(key, {count: count+1}).exec()
await redis.unwatch(key)

This is all the supported commands by our redis server: https://upstash.com/docs/redis/overall/rediscompatibility. It's currently supported by the server, but not implemented in the SDK. I'll see what I can do this week to support this command.

Unfortunately, we can't support watch,unwatch and discard commands via SDK. And the reason is Redis transactions are stateful and bound the connection itself, that’s why we don’t support them in REST api.
https://upstash.com/docs/redis/features/restapi#rest-redis-api-compatibility

Well, our SDK designed to work with mainly serverless environments where TCP(stateful) calls are not allowed. And, since watch like commands require long running connections we can't allow it. Maybe you can use Upstash Lock to have more control over concurrent operations?


chore: update tier4/pre-commit-hooks-ros

Signed-off-by: Takagi, Isamu<EMAIL_ADDRESS>

Ah, can I add other settings as well? Just a moment.


Add breeding info

I add breeding information.
I checked the comment and followed the format like:
"breeding": [
    ["010", "45B"],
    ["030", "110"],
]

Nice ! I still think that an object is better than an array, but it's easily usable, great work !

What do you think about putting this breeding information in a separate file like breeding.json?
Pals.json file is a quite big right now

Ok, I agreed.
I will open new PR for "breeding.json"


redirect with odd (but correct) Location url fails via proxy

Using v2.10.0 (but tested and get same behavior with 2.9.1), if we get a 302 redirect with a header like this (note the missing trailing slash after the domain):
Location: http://captrust.netxinvestor.com?custId=....
AND we're using a proxy (proxy in question is tinyproxy, but tested with other proxies and get same behavior)
AND allow_redirects=True
the proxy will fail with "cannot connect" because the domain in the Location url is improperly parsed.
Firefox and Chrome both properly handle the redirect.  To be honest I haven't checked whether the Location URL does or does not violate the spec, but if the browsers handle it and it appears to be unambiguous I'd vote for requests handling it also.  Seems like an easy patch, though I must also confess that I've stepped through the code and can't find where to handle it.
Oddly, if that exact URL is passed to requests as a GET, even via a proxy, it works fine -- so my guess is that it happens somewhere in the SessionRedirectMixin object.
Workaround right now is to request with allow_redirects=False and handle the redirect manually.

Are you sure this is a URL parsing issue? Are you getting an exception or an error from the proxy? If the former, can I see it?
If not, which is what I suspect, I think your proxy may be the one that's struggling. Essentially, the major difference in the two code paths is that requests won't add the '/' path to a Location header. Now, probably it should, but right now it doesn't. That means that in the case when you pass it in to requests yourself, requests would emit an extra / to the proxy. It seems that your proxy is getting confused here, more than requests.

I can't be sure, though I'll give it another test to see if I can watch where it submits to the proxy.  But without question it works to request the Location URL, but it fails with a 500 error if I request a URL that redirects to the Location URL.  Since the proxy is the same both ways, my best guess is that requests is asking something different of the proxy.

Yeah, that's definitely the case, but I think the two URLs are semantically identical.
Regardless, I also think that we have a question to ask ourselves (we being @sigmavirus24 and I), which is: why does resolve_redirects not end up calling prepare_url?


NullReferenceException when adding fromStateData to action

I encountred a problem when creating a serverlessWorkflow using the Serverless Workflow .NET SDK and i have found a temporary solution so i wanted to report it.
Problem : I Wanted to create a simple ServerlessWorkflow with an Action that contain a fromStateData, so I used the method FromStateData when defining the actionBuilder .
When The method Execute of The operationStateBuilder is executed a NullReferenceException has thrown.

Message  :  Object reference not set to an instance of an object .
StackTrace : at ServerlessWorkflow.Sdk.Services.FluentBuilders.ActionBuilder.FromStateData(String expression) in ServerlessWorkflow.Sdk.Services.FluentBuilders\ActionBuilder.cs:line 33
I checked the code of Serverleswokflow.D=Sdk and I don't see any initialisation of the property ActionDataFilter of the class ActionDefinition.
To reproduce the problem just create a simple workflow with action that have have FromStateData.

Environment:
I'm working with  Serverless Workflow .NET SDK version 0.8.4 with .Net 8 in windows 11 and visual studio 2022
Note : In the latest version there is an issue that is already reported that prevent the application from starting this is whay i used this version and because it 's used by Synapse. But as i see the problem persist in the latest version (There is no initialisation).
Temporary Solution
As a solution i created an extension method for the interface IActionBuilder that initialise the property ActionDataFilter of the ActionDefinition .

This method must be called one time before calling any of FromDataState or ToStateData or FilterResults Methods when creating an actionBuilder.
Working Code :

Result :
{   "id": "workflowid",   "name": "workflowtest",   "version": "1.0",   "specVersion": "0.8",   "events": [     {       "name": "cloudevent1",       "source": "htpp://localhost:5000/test",       "type": "localhost.domain.com"     }   ],   "functions": [     {       "name": "testfunction",       "operation": "http://localhost:5024/api/swagger/swagger.Json",       "type": "rest"     }   ],   "start": "cloudEvent",   "states": [     {       "name": "cloudEvent",       "type": "event",       "onEvents": [         {           "actions": [],           "eventRefs": [             "cloudevent1"           ],           "eventDataFilter": {}         }       ]     },     {       "type": "operation",       "actions": [         {           "name": "action1",           "actionDataFilter": {             "fromStateData": "${ .}"           },           "functionRef": {             "refName": "testfunction"           }         }       ],       "end": true     }   ] }

Thanks for reporting the issue @wissemEddineSouilhi!
I'm sorry I totally overlooked that issue, which is now stale since https://github.com/serverlessworkflow/sdk-net/tree/v1.0.0-alpha1.
If you're up to it, you can open PR to address the bug and I'll merge it into 0.8.6.


Unconfigured auth type: facebook

Using Horizon v1.1.1 I get the following error: Uncaught Error: Unconfigured auth type: facebook
Here's the script producing the error
const horizon = Horizon({
  host: 'localhost:8181',
  authType: 'token'
})

if (!horizon.hasAuthToken()) {
  horizon.authEndpoint('facebook').subscribe((endpoint) => {
    window.location.pathname = endpoint
  })
} else {
  // We have a token already, do authenticated Horizon stuff here
}

And here's the result from https://localhost:8181/horizon/auth_methods
{"facebook":"/horizon/facebook","github":"/horizon/github"}

What's are your auth settings in config.toml? (excluding secrets of course)

Closing for now since there's not much to go on

I have the same error: Unconfigured auth type: facebook
My config.tom file:
token_secret = "*****"
# allow_anonymous = false
# allow_unauthenticated = false
auth_redirect = "/dashboard"

[auth.facebook]
id = "1034343653319829"
secret = "****"

and my code:
if (!this.context.horizon.hasAuthToken()) {
  this.context.horizon.authEndpoint('facebook').subscribe(endpoint => {
    window.location.pathname = endpoint; // eslint-disable-line no-undef
  });
}

My @horizon/client version is 1.1.3

I found the problem.
Horizon calls http://localhost:3000/horizon/auth_methods instead of http://localhost:8181/horizon/auth_methods. (Yes, I don't serve my project with hz serve)
The host option should be used to determine the url, no?

@Grmiade I think you ran into https://github.com/rethinkdb/horizon/issues/422 there. That issue will be fixed in the upcoming 2.0.0 release this week.

So until 2.0.0 there's no way to have a front-end app separated from the horizon server? Shouldn't any of these issues be kept open until this is fixed?

@luandro We usually close issues once the implementation is done and they have been merged into one of the main branches (in this case the next branch, which is going to be the basis for Horizon 2.0.0). This allows us to use issues to keep track of what work still needs to be done before a release.

Oh ok, got it.


feat(gh-pages): remove badges from "Drafts" section

-Change size of badges

Remove badges from Drafts

:tada: This PR is included in version 4.0.0-beta.18 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Typeahead Searching to Non-human Model Organism Pulldowns

Users add non-human model organisms via a pulldown in two locations in the GCI.

Experimental Data>Model Systems

e.g.

Experimental Data>Rescue

We need to change these two pulldowns so they are instead structured same way as the "Classification Approvers"

That is, we need them to be able to do typeaheads for the pulldowns. So the organism they are looking for in the list will appear when they start typing....

@markmandell I've updated this ticket, per our conversation just now.

merged to prod


Fix null check crash by ReorderableList

Fix issue where if you drag the last element of ReorderableList and put it in the same index, a Null check error arises. This happens as index in _items is out of bounds (when reverse: true). Fix is to check if last element, dragged element and drop index is same, and return as nothing has changed. Find this video attached.
https://github.com/flutter/flutter/assets/84124091/8043cac3-eb08-42e1-87e7-8095ecab09dc
Fixes issue #132077
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

Looks like some checks are also failing. Can you please take a look at those? Thanks!

Is something wrong with the tree? Many tests seem to be failing...
I have written necessary tests and made modifications. I'll probably wait till the tree is green, then commit changes.

Ready to merge, do review. @goderbauer

@goderbauer can you provide a second review?

@opxdelwin Can you please rebase this PR to make the Google testing check happy?

Thanks @opxdelwin for fixing this! 🙌🏻


WebApp | Extension - Incorrect display of filter results when filtering by "Failed" criteria

Describe the bug
Incorrect display of filter results when filtering by "Failed" criteria
Actual: The result is empty although have item matched.

Check with address 5HbcGs2QXVAc6Q6eoTzLYNAJWpN17AkCFRLnWDaHCiGYXvNc on Polkadot

Expect: Show correct information

Version test: http://<IP_ADDRESS>:8900/s/Y5PrzG6eYry6YLD
Validation passed


question: why is the resistor needed in wiring the Gasmeter

Hi,
I am trying to recreate the setup you habe for your gasmeter.
You describe the wiring like this in gasmeter.yaml 119-121:
# GASCOUNTER ZI-61 REED CONTACT
# GPIO19 <-- o-RC-o <--- GND
#            o-10k ----> +5V

Why do you need the 10k resistor?
Assumption:
as GPIO19 is in pull-up mode there is voltage on the pin. When the reed contact closes the current goes to ground and the pin is DOWN. When the reed contact is open the pin is UP.
Question:
Why do you need the resistor attached to a +5V pin? Can't this be left out?
Thanks for your help and most of all for building it in the first place.
cheers,
Rainer

Resistor is not necessarily needed,  because the GIPO19 has internal resistor.
But when I took my measurements, I received better signals with a resistor.


Add conversions from AccountId and PublicKey to MuxedAccount

What
Add conversions from AccountId and PublicKey to MuxedAccount.
Why
The types are largely compatible and while MuxedAccounts are used in transactions applications often only support G addresses and convenient conversions from the AccountId/PublicKey type used for G addresses to the MuxedAccount type for use in transactions would be helpful.

@willemneal What other conversions would be helpful iyo?


Wires Parent Picker Control - Missing constructor argument for picker provider

As from lienzo-core 2.0.293-RELEASE, this constructor is NOT public, which makes impossible to use a custom picker instance provider for sub-types.
Fix it by making:

This constructor public
Generating the public constructor for it on this class too

just create a PR,I'll merge and do 294

Oh sorry about this @SprocketNYC , it's my fault :(
If it is easy for you doing the new release (and cherry-picking the commit into your local re-organization stuff) just created this:
https://github.com/ahome-it/lienzo-core/pull/203
Otherwise np at all!! I can workaround it and add a comment in the code to this ticket.Thanks!!

closed https://github.com/ahome-it/lienzo-core/pull/203


Adds label information to model_info "score_schema"

and enforces the inclusion of labels when building models.

Flake8 fails. Please fix it :D

Fixed!


verbatimRaw: verbatim without creating a div

refs https://forum.nim-lang.org/t/6939#43464

Why does verbatim create a div in the first place?


Fix/Flex mount idempotent improvements - wrong branch

The main goal is to make the mount flow (when creating a POD) to be idempotent as much as possible, and tolerant even if it fail and triggered by k8s.
Improve mount flow idempotent aspects:
1.If the / is already slink and it points to the right place (/ubiquity/WWN) then continue instead of failing.
2. If the slink (/) already point to wrong location, mount should fail.
3. If the / is not exist, the flex mount should create create the slink instead of failing
4. Should fail nicely if the PV does NOT exist in the ubiquity-DB.
In addition, some refactoring:

Break down the controller.Mount() to smaller and readable functions.
Develop 100% unit test coverage on the controller.Mount()!
Change controller.Mount() to use ubiquity.utils executor interface instead of directly call to os module (Allow to add more unit testing).
getMounterForBackend logic moved to ubiquity repo in remote.mounter and built interface for using in the controller.Mount(). This enables to add more unit testing.
Add place holders for more idempotent improvements.
Fail to mount\umount if comes from k8s 1.5 or lower. Support only k8s v1.6+ (since we support only 1.6+ there is no need to keep the code for v1.5).
Add error file for all the formal errors in the controller.Mount.
Add missing logging on provisioner create and delete.

This change is

 after fixing the comments

Comments from Reviewable


issue when statsd is disabled

Hi,
statsd is currently mandatory on the 1.1.1 branch.
Fatal Error: Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Catchable Fatal Error: Argument 2 passed to Socloz\MonitoringBundle\Listener\Exceptions::__construct() must be an instance of Socloz\MonitoringBundle\Notify\StatsD\StatsDInterface, null given
This dependency should be removed in the Exceptions constructor.

@nicolasricci could you check if this PR solve your problem

@mhor yes it does fix the issue thanks. you can merge the PR.

Thanks for your feedback @nicolasricci


Upgrade com.newrelic.agent.java:newrelic-api 7.10.0 -> 7.11.0

This PR contains the following updates:

Package
Type
Update
Change

com.newrelic.agent.java:newrelic-api
compile
minor
7.10.0 -> 7.11.0

Release Notes

newrelic/newrelic-java-agent
v7.11.0
Compare Source
New features and improvements

Support Java 19 1022
Support Play 2.8.16+ 981
Support ojdbc8 v<IP_ADDRESS>+ 1042
Support Semeru/OpenJ9 JVMs 993
Support log forwarding for java.util.logging (JUL) 1049

Support forwarding log context data 866
The agent can now forward data in Mapped Diagnostic Context (MDC, logback/slf4j) and ThreadContext (log4j2) as attributes when forwarding log records. When the feature is enabled, these attributes will be added to the log records with a context. prefix. For details on how to enable this feature see the documentation for context_data.
Custom Event Limit Increase  1036
This version increases the default limit of custom events from 10,000 events per minute to 30,000 events per minute. In the scenario that custom events were being limited, this change will allow more custom events to be sent to New Relic. There is also a new configurable maximum limit of 100,000 events per minute. To change the limits, see the documentation for max_samples_stored. To learn more about the change and how to determine if custom events are being dropped, see our Explorers Hub post.
Code-level metrics on by default 1037
The code-level metrics functionality introduced with agent 7.10 is now enabled by default. This feature will cause an increase in the consumption of data. The amount depends on the application. To disable code-level metrics, see instructions on our code-level metrics documentation.
Fixes

Prevent an exception from being thrown in the Jedis instrumentation 1011
Improvement on Http4s transactions 1006
Fix noticeError API not verifying whether errors were expected 1014
Add operation for Lettuce queries to clusters 1031
Fix exception when building up the agent jar from a clean repo 1048
Better error handling for code-level metrics 1021 1051
Fix HttpUrlConnection spans not terminating on exception 1053

Deprecation notice
The following instrumentation modules are being deprecated for removal:

cassandra-datastax-2.1.2
httpclient-3.0
jdbc-embedded-derby-<IP_ADDRESS>
jetty-7
jetty-7.6
jetty-9
jetty-9.0.4
jetty-9.1
mongodb-2.12
mongodb-2.14
mongodb-3.0
okhttp-3.0.0
okhttp-3.4.0
okhttp-3.5.0

The http.responseCode, response.status and response.statusMessage transaction/span attributes are deprecated and will be removed in a future release. These have been replaced by http.statusCode and http.statusText 513
Full Changelog: https://github.com/newrelic/newrelic-java-agent/compare/v7.10.0...v7.11.0

[ ] If you want to rebase/retry this PR, click this checkbox.

Suggested commit message:
Upgrade New Relic Java Agent 7.10.0 -> 7.11.0

See:
- https://github.com/newrelic/newrelic-java-agent/releases/tag/v7.11.0
- https://github.com/newrelic/newrelic-java-agent/compare/v7.10.0...v7.11.0


Always spawn ore spawns if a block is available

Currently, when spawning ores, HiddenOre will select a random adjacent block to the block broken up to three times and replace it with the ore block if it is not air. This has the problem that there is a small chance that all three times, the random face will be air. This should be fixed to consider all faces, or even a 3x3x3 cube around the block broken.
Fixing this would probably slightly increase ore spawns by a couple percent, depending on how exactly they are mined.

Currently, when spawning ores, HiddenOre will select a random adjacent block to the block broken up to three times and replace it with the ore block if it is not air. This has the problem that there is a small chance that all three times, the random face will be air. This should be fixed to consider all faces, or even a 3x3x3 cube around the block broken.
Fixing this would probably slightly increase ore spawns by a couple percent, depending on how exactly they are mined.

There's a setting in the config for hidden ore that drops the attempted spawn as an item on the floor if there are no viable surfaces found for the spawn attempt if I remember correctly. This could be another way to solve the issue of there not being a viable surface for the ore to spawn on when you break a block

Huh, someone added face spawning.
Code under consideration: https://github.com/CivMC/Civ/blob/main/plugins/hiddenore-paper/src/main/java/com/github/devotedmc/hiddenore/listeners/BlockBreakListener.java#L343
The number of attempts is controlled by configuration, then further enlarged by number of visible faces.
In general, I'm quite certain this is not how I would have approached it, but from my read of code if you're seeing a lot of failure cases, switch back to random bloom with better configuration parameters. Devoted used the random bloom exclusively, and based on my statistic modelling generated ore at the desired rate. Or, increase the transformattemptmultiplier to a larger number (6 perhaps) and you'll sample additional times.
Alternatively, if the bloom method is too misunderstood or no-one is interested in some help configuring it, definitely implement the cuboid approach instead of the current faces approach. The faces approach definitely means any spawn configuration that wants to generate more than 3 ores will likely fail, whereas the bloom approach was specifically engineered to avoid this problem entirely by considering an area around the broken block and sampling a configurable number of times while increasing the search radius as it goes. This is not fully accurate, but you can imagine the bloom method does the following, all with just math and no hardcoding: faces are inferentially sampled, then the full 3x3x3, then the faces of that 3x3x3, then the full 5x5x5, if configured to do so, as the radius of consideration increases as the number of failed spawn attempts increases, as configured.

The random bloom approach you described does sound much nicer, is it something we can just configure or does it need to be added in the code? @ProgrammerDan

The faces approach definitely means any spawn configuration that wants to generate more than 3 ores will likely fail

This seems accurate based on my experience mining. I've never had 4 diamond ores spawn.

@okx-code It's there, just have to turn off the use of the faces approach.

@ProgrammerDan well, I'm looking at the code and I don't see how it's done, are you sure it's still there?

A little more meat -- looks like transform_attempt_multiplier is a root config option, by default set to 3, you can increase that.
Then, in each vein config, look for forceVisibleTransform -- if set to "true", that's what turns on forced faces. Turn it off to switch back to radial, random incremental search bloom.

@okx-code the one thing I'd meant to mention is if it still seems like either the bloom is too tight and ores are still not spawning at the desired rates (check statistics, measure against % of occurrence against configured, measure size of spawn to be sure it fits your median expected -- complex when analyzing against tool modifiers, but possible with some careful queries, if you're tracking this) -- consider implementing the ToDo here: https://github.com/CivMC/Civ/blob/main/plugins/hiddenore-paper/src/main/java/com/github/devotedmc/hiddenore/listeners/BlockBreakListener.java#L352 -- in this case, u0 is the "0.5" static value, which pushes the initial edge of the spawn attempts into the "faces" of the point-of-break. As the attempts increase (cAttempt), this value grows by the cube root. I had hoped to add a multiplier -- uA in the comment -- to allow it to more rapidly sweep outwards for a far more radial arc kind of bloom. The cube root with sufficient attempts slows radial growth enough that clustering still felt tight on testing and review, so I never bothered adding either parameter, but they could be easily added.


Doesn't fit multiple screens with different aspect ratios

Just installed this great screensaver and the video looks distorted (just the edges) on my Macbook's display, but not on the monitor. Any ideas how I could fix this?

+1

+1

+1 same here

+1 same with 10.13.5

this started happening my MacBook Air with 10.13.6
I noticed that it happens when the screen brightness is adjusted automatically upon light variations in the environment (or, just when I noticed, when you are coming back to your notebook and passes in front of the screen)

+1 with 10.13.6

+1 with 10.13.6

+1 with 10.13.6

A photo of the distortion might help identify what is going on. Hard to understand what the distortion looks like for those unaffected.

MacBook Pro (13-inch, 2018)

@mpdifran What happens if you tick the "Show with clock" button?

Enabling "Show with clock" seems to fix it. I see the above screenshot whenever "Show with clock" is disabled.

Doesn't fix it for me. @mpdifran  @alistairmcmillan

Yeah, I think I have something similar when connected to my external monitor (21:9 ratio).

I also have this issue. When an external monitor is connected, the video on my MacBook is not full screen and zoomed in, looking rather pixelated.

@Fastjur Could you check this build :
https://github.com/glouel/Aerial/releases/download/1.4.1test4/Aerial.saver.zip
This should fix issues in 10.13 particularly (10.14 seemed ok in 1.4), it also has a display on main monitor only option as a fallback. Can you tell me what it gives you ?

As far as I know this is fixed in 1.4.1, reopen otherwise

Fixed for me with 1.4.1 on macOs Mojave 10.14

It fixed for me when updating to Mojave. Thank you!

Ok this really looks like a 10.13.6 bug then ! Thanks @gabel and @Fastjur for your feedback !


[DOC] Enhance documentation explaining task parallelism

We have some documentation trying to explain tasks per executor (https://nvidia.github.io/spark-rapids/docs/tuning-guide.html#number-of-tasks-per-executor).  It might be nice to tie this into overall parallalism and explain cpu vs gpu and give some more concrete examples like reading data into GPU for instance.
we may also want to mention the spark.task.resource.gpu.amount in the number of tasks per executor.

after re-reading I think the docs there are actually sufficient.


Compose sources. Remove redundant @OptIn of experimental annotations in the same module

After https://github.com/JetBrains/compose-multiplatform-core/pull/687 it is no longer required.
We should remove it in all sourcesets, except commonMain, androidMain
Example:
// foundation module
@OptIn(ExperimentalFoundationApi::class) // it is no longer needed
class SomeClass

// material module
@OptIn(ExperimentalFoundationApi::class) // still needed (and shouldn't be used to keep backward compatibility)
class SomeClass

Taking a look into this

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


TypeScript: loading worker module more simply

I found a simpler notation for TypeScript.
In this modification, the worker-module! prefix passed to import statement is not required anymore.

This PR contains a:

[ ] bugfix
[ ] new feature
[x] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
The worker-module! prefix originates from WebPack and which causes a compile error on non-WebPack systems.
This makes hard to test the code directly using testing frameworks such as Jest.
(Note: most testing frameworks only work with Node.js and do not support WebWorker. You should polyfill it using some utilities such as https://github.com/astagi/workerloader-jest-transformer.)
Breaking Changes
TypeScript notation simplified.
Additional Info
cf: https://github.com/EllipticPIR/libepir/commit/f328396d85c5421f52ee623fb64a679e3687e457

Thank you for your review.
I revived the old code example.