Update docs on adding extensions

https://jinja.palletsprojects.com/en/2.11.x/extensions/#adding-extensions currently says "Once the environment is created additional extensions cannot be added." However, that's not the case, there's a add_extensions method.
https://github.com/pallets/jinja/blob/6478c22f29bb85b2bae635602148d95df5e5c7ce/src/jinja2/environment.py#L359-L364
Pointed out in lektor/lektor#770. Update the docs to reflect the ability to add extensions after initializing the environment.

I'm interested in working on this, but I might need some help figuring out the right changes to make... My understanding is that the discussion in #770 basically lays out the things that should be included. Is this correct?

lektor/lektor#770, not 770 from this repo. But everything is summarized in my initial comment.

can you tell me what to do brother ma man


General improvements

Depends on: https://github.com/jcupitt/pyvips/pull/47.

Update dependencies.
Test with libvips 8.6.3 on Travis.
Use pyvips for the auto-generated docs/enums (fixes #56).
Regenerate docs/enums.
If statement can be merged with parent one.

This is brilliant Kleis! The dependency on an old version of ruby-vips was very annoying, but I was too lazy to fix it. I had one comment on the enum introspection, the rest looks great.

Great!


Add tests for recently fixed container restart issues

Tests for recently fixed container restart issues. See PR nestybox/sysbox-mgr#29

FYI, the CI is expected to fail until the changes to the sub-repo (e.g., sysbox-mgr) are submitted and the pointer to the sub-repo is updated.
If the tests pass in your local machine, then please commit the changes to the sub-repo first, and then you add to this current PR a commit of the subrepo (e.g., git add sysbox-mgr && git commit --signoff -m "[sysbox-mgr] Updating submodule").
This way, the CI will trigger again but this time it will find the changes in the sub-repo, thus causing the newly added tests to run on top of your latest changes.
Hope that makes sense :)

PR updated with the submodule references, so the CI build works (I wasn't sure it would work since the submodule is still referring to your repository URL, but it actually works).

PR updated with the submodule references, so the CI build works (I wasn't sure it would work since the submodule is still referring to your repository URL, but it actually works).

Yes, it will work, git-submodules are that flexible! Problem with this workflow, in the best-case scenario, is that you may end up running the Sysbox CI for every partial change that you make to any of the Sysbox submodules. In the worst-case, you could end up committing these changes into the Sysbox's (superproject) master branch, while still having the incorrect/incomplete changes in the Sysbox inner submodules (i.e. submodule pointers are not fully updated).
So i would suggest to update the Sysbox submodule pointers only after the corresponding changes in those submodules have been merged into the submodule's master branches. And only then, i would update the superproject pointers. This is the workflow that we typically follow.
Hope it makes sense.

Great! Just a note, I've noticed this repository now points to e.g. nestybox/sysbox-mgr@fac681accd021fecc74687943e8dbe45b917f2b5, but the master branch of nestybox/sysbox-mgr points to nestybox/sysbox-mgr@c04ffe1732e17e7b9171c872c438b2122dccdcec (which are actually the same diff, but with a different commiter). Not sure if that's what you wanted.

Thanks for double-checking; i just fixed it. This is probably just a side-effect of what i mentioned above.


Update to tailwindcss 3.2.7

Switched to downloading the tar archive instead of cloning opam-tailwindcss we don't need the history, it's slightly lighter.

oh no, only git pins are supported :/

There seems to be an issue with pinning using only http for the analysis...

Indeed, that's sad it was a good idea :/


Combinable with https://github.com/zaphoyd/websocketpp?

Is this Library easily combinable with https://github.com/zaphoyd/websocketpp
if we want to additionaly add websockets to our code?
What makes this library better than Microsofts Rest SDK? Is it faster?

The only way to know if it is faster is to benchmark it. The most notable difference is the license.
Integrating with websocket is surely possible, even though it is a very very low priority feature since having a stable release is more important right now.

duplicate with issue #3
can be close.


Condition_mean function Imapementation and usage

Hi,
Few questions about the "condition_mean" usage. in the file - "gaussian_diffusion_x0_enhancement_direct.py"

There is a loop over the "condition_mean" function, which runs it twice.
What is the reason for that?

The "condition_mean" function contains an optimizer for the p_mean_var["mean"] variable.
As much as I understand the process, the optimization of the mean happens with the gradient of the "cond_fn".
Why do you choose to use the optimizer?

In the ablation study, there is an explaination about GDP with and without Sigma.
Probably I am missing something.
How or where it is expressed in the code?

Thanks

Hello, since we are busy with our project, we are sorry for the late reply.

We can add guidance in one denoising step in several times. And we will correspondly use a smaller guidance scale. It uses just like gradient descent.

Since we hope to add guidance in one denoising step in several times. We think using an optimizer might be helpful. But directly using loops can also obtain great results.

We do not use Sigma, the related code is in https://github.com/Fayeben/GenerativeDiffusionPrior/blob/b34494cd53e344a5c726e502f552cd7fb888aad0/scripts/guided_diffusion/gaussian_diffusion.py#L368


engine command not using the correct logging verboisty flag. verbosit…

…y not on engine flags, changed to use acc-verbosity flag

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


Fonts with digits in the name don't work

I tried to use the font 'Press Start 2P' for ingame text but it didn't work, neither locally nor via Google Webfonts. The text was never displayed in the right font and instead fell back to Arial. After ruling out loading issues and experimenting a bit, I noticed that this issue seems to be present for all fonts with a digit in the name (another example would be the font 'Slabo 13px').
However, if I changed the font of a text object after creating it as follows:
var txt = game.add.text(0,0,"Foo");
txt.font = "Press Start 2P";

then the font was displayed correctly.
After digging around Text.js a bit I think I found the reason: In the function Object.defineProperty the font string is quoted (if it isn't already) while in Phaser.Text.prototype.componentsToFont this is not the case. Once I added a line to Phaser.Text.prototype.componentsToFont that quotes the fontFamily property, all fonts work right away.
I can't say for sure why the quotes make the difference here, but it fixed the problem for me. If this indeed a bug and my fix doesn't mess up anything else (my tests went well, but I don't know the codebase all that well) I'd be happy to create a pull request!

Thanks for submitting this issue. We have fixed this, and the fix has been pushed to the dev branch.

I am afraid that the issue still appears to persist as of Phaser v3.15.1.
https://labs.phaser.io/edit.html?src=src\game objects\text\static\google webfont.js
Setting the press start 2p font in the above example as:
        google: {
            families: [ 'Press Start 2P', 'Finger Paint', 'Nosifer' ]
        },
....
           add.text(16, 0, 'The face of the\nmoon was in\nshadow.', { fontFamily: 'Press Start 2P', fontSize: 80, color: '#ffffff' }).setShadow(2, 2, "#333333", 2, false, true);

Results as


chore(deps): update dependency @types/jest to v26.0.14

This PR contains the following updates:

Package
Type
Update
Change

@types/jest
devDependencies
patch
26.0.10 -> 26.0.14

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v5.4.1
GitHub release

Your semantic-release bot :package::rocket:


Invite user to project uses localhost as the return url

the return url should not specify a host and should instead be a relative url.  The problem code is here: https://github.com/sillsdev/languageforge-lexbox/blob/ce3efe92532e86b118494eb328136a16b3173163/backend/LexBoxApi/Services/EmailService.cs#L125-L129

We should also write an integration test for this so we can be sure that our email invite is working.
A fix for this would be to change the urlBuilder line to this:
var returnTo = (new UriBuilder() { Path = "/register", Query = queryString.Value }).Uri.PathAndQuery;

I tested this back when I wrote that code, but I didn't realize that the http://localhost in the return URL was actually hardcoded localhost coming from UriBuilder. I simply thought that it was coming from GetUriByAction.
I'll write a Playwright test verifying that the returnTo path is indeed a relative URL.


[BUG] Resource not found in yandex,  Model file is lost!

https://cloud-api.yandex.net/v1/disk/public/resources/download?public_key=https://yadi.sk/d/lEw8uRm140L_eQ&path=/
{"message":"Не удалось найти запрошенный ресурс.","description":"Resource not found.","error":"DiskNotFoundError"}

https://disk.yandex.ru/d/lEw8uRm140L_eQ Here is the original models link. It isn't lost, it's just exceeded download limit. You can save the folder to Yandex.Disk and download it from there. Make sure your folder is public and copy the url after disk.yandex.ru/d/ and replace it in that line of code (between disk.yandex.ru/d/ and &path)

Model files are still there, the link just exceeded download limit. To fix that you can go to the link in public_key: https://disk.yandex.ru/d/lEw8uRm140L_eQ , click Save to Yandex.disk to download. After that, access your yandex disk and make sure the downloaded folder is shared (it located at /Download/first-order-model). Then, right click the folder, choose Share then Copy link

Finally, replace the link in that line of code with yours (between public_key= and &path=). The colab should run correctly this time.

https://cloud-api.yandex.net/v1/disk/public/resources/download?public_key=https://yadi.sk/d/lEw8uRm140L_eQ&path=/
{"message":"Не удалось найти запрошенный ресурс.","description":"Resource not found.","error":"DiskNotFoundError"}

Model files are still there, the link just exceeded download limit. To fix that you can go to the link in public_key: https://disk.yandex.ru/d/lEw8uRm140L_eQ , click Save to Yandex.disk to download. After that, access your yandex disk and make sure the downloaded folder is shared (it located at /Download/first-order-model). Then, right click the folder, choose Share then Copy link

Finally, replace the link in that line of code with yours (between public_key= and &path=). The colab should run correctly this time.

Can someone please make this model available somewhere else? I cannot login to Yandex, they require a phone number.

Can someone please make this model available somewhere else? I cannot login to Yandex, they require a phone number.

You can download the models you need and upload to google drive then use drive api. Please read their documents here as I already made it work using yandex

thanks y'all


How to ask torxakis for help?

Most programs print out a help message when one passes something like
-h ,/? or  --help.
However, torxakis accepts none of them: it just reports
TXS >>  TorXakis :: Model-Based Testing

TXS >>  txsserver starting: "PC-16153.tsn.tno.nl" : 49574
torxakis: <socket: 576>: hGetLine: does not exist (No such file or directory)

Right now the command line options are present only at the server (txsserver):
✗ txsserver --help
Usage: txsserver [--smt-solver SOLVER] ([--smt-log] | [--no-smt-log]) [PORT]
  TorXakis server.

Available options:
  --smt-solver SOLVER      SMT solver to be used. It must be selected from the
                           list of available solvers.
  --smt-log                Log the SMT solver commands.
  --no-smt-log             Don't log the SMT solver commands.
  -h,--help                Show this help text

I propose to address this in the a new TorXakis command line interface (CLI).


Update: JoinMarket v0.7.1 (with joininbox menu v0.1.11)

working to refactor the update script
The challenge is to use system-site-packages in the jmvenv virtual env to keep the QT GUI working from the blitz.

merged PR - setting for final testing

Install on final testing is working. Will be part of v1.6.1 release. Closing issue.

JoinMarket v0.7.1 is released, just testing installation. Could not find significant differences in dependencies.

To update JoinMarket separately can use this much improved script:
# download from this repo
wget https://raw.githubusercontent.com/rootzoll/raspiblitz/v1.6/home.admin/config.scripts/bonus.joinmarket.sh
# uninstall old version (wallets are preserved on the disk)
sudo bash bonus.joinmarket.sh off
# install with the latest updates
sudo bash bonus.joinmarket.sh on

OK install seems to work - rest is up to you @openoms to test on Release Candidate. Will be part of v1.6.1 - closing this issue.


WSL2 UtilConnectUnix:513: connect failed 2

Windows Version
10.0.22631.4037
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
centos 7
Other Software
No response
Repro Steps
cannnot login into wsl2 of centos ,
it can be run when the compute power on , but after a while like 5 or 10 minutes ,cannot login wsl,but Open windows are not affected

Expected Behavior
wish can tell me how to slove it
Actual Behavior
wsl: 检测到 localhost 代理配置，但未镜像到 WSL。NAT 模式下的 WSL 不支持 localhost 代理。
<3>WSL (6533) ERROR: UtilConnectUnix:513: connect failed 2
<3>WSL (6533) ERROR: No such file or directory @init.cpp:365 (CreateProcessEntryCommon)
<3>WSL (6533) ERROR: CreateProcessEntryCommon:514: Create process failed
Diagnostic Logs
No response

When WSL has been running for a while, it starts to report errors. After I shut it down and restart it, WSL returns to normal.

Uploading WslLogs-2024-09-11_18-20-32.zip…

/logs

Hello! Could you please provide more logs to help us better diagnose your issue?
To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to<EMAIL_ADDRESS>with the number of the github issue in the subject, and in the message a link to your comment in the github issue.
Thank you!

i provider it before

This link only points to this issue, it doesn't actually contain /logs

Hello! Could you please provide more logs to help us better diagnose your issue?
To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to<EMAIL_ADDRESS>with the number of the github issue in the subject, and in the message a link to your comment in the github issue.
Thank you!

WslLogs-2024-09-12_15-11-39.zip

Detected appx version: <IP_ADDRESS>

what's meaning?

Diagnostic information
.wslconfig found
Detected appx version: <IP_ADDRESS>

Thank you @ilovedumplings. Once you get into this "bad state", can you use one of the open terminal to capture the output of dmesg and share it ? This will probably contain details about this issue.
Can you also share the output of ls /run/WSL, and htop once you get in this state ?

Thank you @ilovedumplings. Once you get into this "bad state", can you use one of the open terminal to capture the output of dmesg and share it ? This will probably contain details about this issue.
Can you also share the output of ls /run/WSL, and htop once you get in this state ?

thanks

the htop

this's the normal /run/WSL

Interesting, thank you @ilovedumplings. Do you see the same behavior with the latest pre-release version ?
You can install it via: wsl --update --release


Need docs for plugin error handling

I am trying to write a plugin for Webpack but unable to find documentation regarding how its error handling is supposed to work. For example if my plugin has a compile error on some file type I presumably should catch it and give it to webpack to present to the user. I cannot find guides or docs about this.

This issue was moved to webpack/webpack.io#101

This issue was moved to webpack/webpack.io#130


Try to cache available jobs

Closes https://github.com/idaholab/civet/issues/570

@brianmoose finally got around to cleaning up the job get process.
With 140 clients running, the commands to get available jobs were taking 5-10s. Ended up using redis as a backend to cache a list of available jobs, thread locked with redis, updating the available jobs only every 5s.
Load on the server went from a pinned 4-8 when all clients were free down to 0.2

Nice! Obviously not originally designed with 140 clients in mind :smile:
Glad to see civet is still up and running!


Email format not properly validated

from jsonschema import Draft4Validator, FormatChecker

validator = Draft4Validator({'type': 'string', 'format': 'email'}, format_checker=FormatChecker())
<EMAIL_ADDRESS>')

The above code doesn't raise an error, but should, at least as far as I understand RFC 5322.

Upon further investigation, your email checking function is terrible. I've been trusting this library to handle the hard parts of validation for me (particularly emails!), but even a regex would have been a better way to validate emails. Just for instance, this passes validation:
validator.validate('#@%^%#$@#$@#')

I'd really like to see the email validator pass this suite of tests.
It's fair that you haven't implemented the validation, since the jsonschema spec doesn't require format validation, but partway implementing it, and not warning users (either through raising errors on schemas relying on incompletely-implemented formats, or through documentation), that your format checker doesn't actually validate against the RFC, is pretty bad. My trust in this library has been shaken, and I'll be auditing my code to add custom validation logic where necessary, or switching away entirely.

The email validator is intentionally unimplemented, because validating email addresses isn't really a reasonable concept. It's the one and only way that jsonschema intentionally deviates from the specification, its done to prevent downstream users from footgunning themselves with a concept that I wish didn't exist in the world, and it was my intention to voice upstream that I think we should remove the email validator. I could have sworn that was noted in the docs, but it's certainly noted in previous issue tickets about this. Patches are certainly welcome.
That being said, your attitude and commentary isn't welcome. Use the library if it helps you, don't if it doesn't, I don't really care about your "trust" in the library.

After looking through the validation section of the docs again and not seeing anything calling out email validation in particular, I went ahead and created #404.
It still seems worth it to me to remove or warn about the email validator, as well as validators that require dependencies or formats that aren't implemented, even though the library is following jsonschema's specification to let that stuff pass. You'd at least get fewer people creating duplicate issues like this one.

@staab how do you feel here after that clarification (thanks again!)
The issue with a warning (beyond the fact that the stdlib crippled its own warning system, which is somewhat fixable) is that it's not really possible to distinguish between someone who's accidentally forgot to install a dependency from someone who actually doesn't mean to use format for validation.
If you still think there's more here though happy to discuss.

@staab

It seems like it's the fault of the jsonschema spec itself rather than this library, but "failing fast" is generally considered best-practice in software development.

We are working on improving this situation, and others regarding extensibility and modularity (specifically being able to know whether an implementation handles your extensions and failing appropriately if not)  See json-schema-org/json-schema-spec#561 (basics) and json-schema-org/json-schema-spec#563 (formats).  This approach would retain the default permissive behavior, while providing both schema authors and schema implementors control over what they require / accept.
I would advise against sinking too much time into implementation-specific band-aids on this as we do plan to address it in the next draft.  Better to spend that effort adding support for draft-08 as soon as it's out.

I haven't read the spec (I read half of draft 3 a number of years ago), so my suggestions here are entirely based on my own instincts. If the philosophy of jsonschema conflicts, with my own, for sure go with jsonschema's.
It sounds like you've heard me loud and clear, so I'm pretty satisfied here. I think the NullFormatChecker (or at least a BaseFormatChecker with all the well-defined ones) is definitely in the spirit of what I've been saying. Also, thanks for your thoughts on format; I didn't realize it was meant to be quite so lenient. At any rate, I've got my implementation sorted out, so thanks for going over this, and I look forward to seeing how jsonschema continues to evolve.

So, for a concrete resolution here I'm going to close this one, but @staab I've opened #407 to track the possible change in behavior going forward.
Appreciated!


[Storage] Update CHANGELOGs after patch releases

Merging the hotfix branch back to main after the release. End result is just updates to CHANGELOGs.

Not sure why this started so many checks. Will override and merge since its just changelog changes. Hopefully that cancels pending builds?

/check-enforcer override


Fix the pointer icon in SelectionContainer

In the last big merge from upstream we accidentally removed the pointerHoverIcon from SelectionRegistrar.makeSelectionModifier. But we also gained a mechanism to define the pointer icon from upstream. It didn't, however, specify a pointer icon for any platforms other than Android.
Proposed Changes

Fix the pointer icon in SelectionContainer by implementing Modifier.textPointerHoverIcon to return pointerHoverIcon(textPointerIcon) on all platforms.
Set textPointerIcon to PointerIcon.Text on all platforms. This can have addition effects, as it's also used in Modifier.defaultTextFieldPointer and Modifier.cupertinoTextFieldPointer.

Testing
Test: Added a unit test.

Added @eymar and @mazunin-v-jb as reviewers because it affects wasmJs and ios platforms.


Scrolling notebook on initial load can be a bit bouncy

Open the my-endgame.github-issues notebook in this repo
Immediately start scrolling
🐛 You will see the content bounce around. This is most noticeable on the headers

I guess you are just seeing the webview slow to respond as we are busy when the notebook first opens? Not sure there is much to be done...

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Deleting an already deleted composition via admin endpoint throws http status 500 - internal server error

Test Case/s To Reproduce Issue
002 ADMIN - Delete An Already Deleted Composition
    [Documentation]     1. Delete a composition via 'normal' endpoint \n\n
    ...                    (DELETE /ehr/${ehr_id}/composition/${uid}) \n\n
    ...                 2. Delete the same composition again via admin endpoint \n\n
    ...                    (DELETE /admin/ehr/${ehr_id}/composition/${versioned_object_uid} \n\n
    [Tags]    433  not-ready  bug
    upload OPT    minimal/minimal_admin.opt
    create new EHR (XML)
    commit composition (XML)    minimal/minimal_admin.composition.extdatetimes.xml
    delete composition    ${version_uid}
    (admin) delete composition

# path to test case
tests/robot/ADMIN_TESTS/002-Composition.robot

# robot command to execute related test case(s) in your terminal/console
cd tests
robot -v SUT:ADMIN-TEST -d results/ -L TRACE -i adminAND433 robot/ADMIN_TESTS/

Actual Result
500 - internal server error
Expected Result
204 - composition is fully deleted from the system

should be (re)assigned

see https://github.com/ehrbase/ehrbase/issues/438#issuecomment-1007210670


fix: selectbox missing required name

Description
Add name and required props to Select, MultiSelect, SearchSelect components.
This is for consistency, for users who stick with form to submit data.
Currently, the fix is W.I.P., as it has not replicated the effect of native input's required behavior: i.e. preventing form from submitting if required input element is not filled.

Related issue(s)
https://github.com/tremorlabs/tremor/issues/366

What kind of change does this PR introduce? (check at least one)

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New Feature (non-breaking change which adds functionality)
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
How has This been tested?
In Storybook SelectWithForm, MultiSelectWithForm, SearchSelectWithForm.
After selecting, click submit, it will open a page that the form requests.

Screenshots (if appropriate):
e.g. MultiSelect form

After clicking submit ->

The PR fulfills these requirements:

[x] It's submitted to the main branch
[x] When resolving a specific issue, it's referenced in the related issue section above
[x] My change requires a change to the documentation. (Managed by Tremor Team)
[ ] I have added tests to cover my changes
[x] Check the "Allow edits from maintainers" option while creating your PR.
[x] Add refs #XXX or fixes #XXX to the related issue section if your PR refers to or fixes an issue.
[x] By contributing to Tremor, you confirm that you have read and agreed to Tremor's CONTRIBUTING.md guideline. You also agree that your contributions will be licensed under the Apache License 2.0 license.

Hi @jzfrank, works great - just tested the submission also with a third party form service and works fine. The only thing missing now would be error and errorMessage as used in other input elements.
Thanks for the great work again!

Just checked @mbauchet edits, it seems that the form warning when no element selected is solved. Thanks and clever trick!
@christopherkindl @severinlandolt  Regarding the error and errorMessage, can you elaborate why we need these fields for a Select element and use scenarios? Thanks :)

@jzfrank If those components are used in a form context, which is common for form elements. E.g. "make a selection to continue with the process"

@christopherkindl I think I get the point, but not sure if completely. From my understanding, now we support:

when used in form submission, a non-selection on required=true select element will render a warning, just like native html input element. (thanks @mbauchet again for the clever trick of hiding a select).
we also give user freedom to specify error and errorMessage, so user could trigger error display in other cases, e.g. we have a min select input and a max select input, user might want to give an error message if selected max is less than selected min.

Based on that interpretation, I just added error and errorMessage, similar to what we do for BaseInput. Let me know if they are as expected :)

@jzfrank Congrats, the PR is now in beta!


Man page command extract (Mextract)

Originally created by Luis Abdel Aguilar Jurado:
1.- Consulta
2.- Edition
3.- Command creation
4.- List of restrictions

Originally created by David Anizar Ibarra:
https://ibm.ent.box.com/folder/51548792324

Originally created by Luis Abdel Aguilar Jurado:
closing


[Bug]: Wine System Tray hiding

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce

run polybar [bar]
start a wine application such as the sync.com windows client or roblox fps unblocker
the wine system tray hides in polybar's tray

Minimal config
[bar/yes]
monitor =       ${env:MONITOR:HDMI-A-1}
width =         100%
height =        36
fixed-center =          true
bottom =                false

tray-position = right
tray-padding = 9
tray-background = ${colors.background}
tray-maxsize = 22
;override-redirect = true
;wm-restack = i3

[global/wm]
margin-top = 0
margin-bottom = 0

Polybar log
notice: Parsing config file: /home/qube/.config/polybar/config.ini
notice: Loading module 'left' of type 'custom/text'
notice: Loading module 'i3' of type 'internal/i3'
notice: Loading module 'blank' of type 'custom/text'
notice: Loading module 'xwindow' of type 'internal/xwindow'
notice: Loading module 'right' of type 'custom/text'
notice: Loading module 'left' of type 'custom/text'
notice: Loading module 'menu' of type 'custom/script'
notice: Loading module 'blank' of type 'custom/text'
notice: Loading module 'menu2' of type 'custom/script'
notice: Loading module 'blank' of type 'custom/text'
notice: Loading module 'menu3' of type 'custom/script'
notice: Loading module 'right' of type 'custom/text'
notice: Loading module 'left' of type 'custom/text'
notice: Loading module 'date' of type 'internal/date'
notice: Loading module 'blank' of type 'custom/text'
notice: Loading module 'xkeyboard' of type 'internal/xkeyboard'
notice: Loading module 'blank' of type 'custom/text'
notice: Loading module 'memory' of type 'internal/memory'
notice: Loading module 'right' of type 'custom/text'
notice: Loaded 19 modules
notice: Loaded font "DejaVuSansMono:size=12" (name=Noto Sans Mono, offset=2, file=/usr/share/fonts/noto/NotoSansMono-Regular.ttf)
notice: Loaded font "DejaVuSansMono Nerd Font:size=24" (name=DejaVuSansMono Nerd Font, offset=6, file=/home/qube/.local/share/fonts/DejaVu Sans Mono Nerd Font Complete.ttf)
error: tray: Failed to put tray above 0x4000002 in the stack (XCB_MATCH (8))

Expected behavior
Have all system and wine-system tray icons show up properly in the polybar tray
Actual behavior
"Normal" tray icons appear just fine, however the wine-system-tray seems to hide its window in the polybar tray, when you hover over it your mouse cursor hides too
Window Manager and Version
i3-gaps 4.21
Linux Distribution
Artix Linux on 5.19.11-zen kernel
Polybar version
polybar 3.6.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/polybar/src=/usr/src/debug -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Wsuggest-override
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wall -Wextra -Wpedantic -Wsuggest-override  -Wall -Wextra -Wpedantic -Wsuggest-override

Additional Context / Screenshots

What does the second screenshot show? Is the wine tray icon appearing as a separate window outside of polybar?
Could you also run polybar with trace logging (polybar -l trace ...) and post the output of that. There is a lot of debug information in there that could be useful.

Thanks for the logs, unfortunately there doesn't seem to be anything wrong with them.
I did forget to ask for something else though. Could you rerun polybar with trace logging and post the logs again (sorry about that), but also post the output of xwininfo -root -tree after polybar started.
This will print a list of all windows. I need a polybar output that was made at the same time as the xwininfo -root -tree command was run because I want to match the window IDs with the ones mentioned in the logs.
Could you also please run xwininfo -root -tree again after you closed polybar and the application appears in the wine tray.

the second screenshot shows the wine tray seperate when polybar is killed.

Interesting. When working on the tray code, I had similar issues when I did something wrong with the tray protocol. There are also a bunch of old issues with similar problems (#1757, #2033, #2222), but we never found a solution for them.

ill have to respond when im back home, ill do those

I can confirm I also have this issue. Wine apps often do not appear in the tray, the main app I have this issue with is Battle.net. It does appear in the Wine system tray if polybar is killed.

Closing due to inactivity


Add Funny Name

Faker::FunnyName adds a collection of funny names like "Laura Norder," "Barb E. Cue," and "Oliver Sutton." I've done my best only to include family friendly names, avoiding sex, drugs, and violence. All tests are passing, and tests have been added for new methods. Particular methods available:
Faker::FunnyName.name #=> "Sam Pull"
Faker::FunnyName.two_word_name #=> "Shirley Knot"
Faker::FunnyName.three_word_name #=> "Carson O. Gin"
Faker::FunnyName.four_word_name #=> "Maude L. T. Ford"
Faker::FunnyName.name_with_initial #=> "Heather N. Yonn"

Thanks!


[Bug]: Conflicts with other codes due to "using namespace std;" in header files

What Operating System(s) are you seeing this problem on?
Linux (x86-64)
dlib version
19.24
Python version
3.12
Compiler
GCC 13.2
Expected Behavior
No response
Current Behavior
Several headers of dlib declare "using namespace std;". It creates conflicts with other codes having functions/classes in their own namespace having the same name than the std lib and having the same practice.
It's usually considered a very bad practice in headers: stackoverflow.com/questions/1452721/whats-the-problem-with-using-namespace-std
Steps to Reproduce
/* This code reproduces the problem */
namespace my_namespace { template  struct numeric_limits {}; }
using namespace my_namespace;
include <dlib/optimization.h>
int main(){ return 0; }
Anything else?
No response

I've been checking the header files and, indeed, there are quite a few instances of using namespace std;. However, none of them is in the global scope. So they shouldn't interfere.

Either way, if  @davisking is OK, I can remove all those instances and sprinkle a bit of std:: here and there.

@ChristopheDumeunier could you try and see if #3016 fixes it?


Part Deux: Design & implement unit + reactor-style tests for finality signature payload tracking & validation

Split up the ticket into two or more parts (unit, end-to-end) if necessary
Taking into account that this is likely to roll since issues found with mainnet after 1.5 take priority

@fizyk20 @Boiethios please specify the test scenarios for the new rewards that we want to implement as a part of this ticket.


Hosting

Hi, is this hosted anywhere and ready for use?

Hi, thanks. I'm not a developer, but got a bit of help from a friend who hosted it for me. We encountered a few problems but got it to work in the end.

@Naledi-OpF Let me know if I can fix the base code to fix the problems that you faced. I will then close this issue.


Produces invalid CFF OTF files under Python 3 (repro available)

What I did: Compiled a simple UFO to OTF (CFF) using ufo2ft 2.5.0 (compileOTF(ufo, optimizeCFF=CFFOptimization.NONE))
What I expected: Resulting OTF file to be valid as per OTS, FontVal and macOS Font Book.
What actually happened: OTF file is unreadable by macOS Font Book and fails validation by OTS.
If I compile the same source with the same settings using the same version of ufo2ft using Python 2.7 instead of Python 3.7 the resulting OTF file is valid — this seems to indicate a bug related to Python 3.
Full repro available here: https://github.com/rsms/ufo2ft-py3-bug

Platform: macOS (Darwin 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct  5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64)
Python 2: 2.7.15
Python 3: 3.7.2
ufo2ft: 2.5.0

thanks for the filing this issue and providing an exact reproducer!
Comparing the ttx dumps of the two fonts generated respectively from python2 and python3 I only get this difference in the FontMatrix operator of the CFF table:
$ diff -Naur output{2,3}.ttx
--- output2.ttx	2019-01-03 21:40:37.000000000 +0000
+++ output3.ttx	2019-01-03 21:40:37.000000000 +0000
@@ -14,7 +14,7 @@
     <!-- Most of this table will be recalculated by the compiler -->
     <tableVersion value="1.0"/>
     <fontRevision value="1.0"/>
-    <checkSumAdjustment value="0x7def7972"/>
+    <checkSumAdjustment value="0x90ebc0da"/>
     <magicNumber value="0x5f0f3cf5"/>
     <flags value="00000000 00000011"/>
     <unitsPerEm value="2816"/>
@@ -197,7 +197,7 @@
       <UnderlineThickness value="220"/>
       <PaintType value="0"/>
       <CharstringType value="2"/>
-      <FontMatrix value="0.000355113636364 0 0 0.000355113636364 0 0"/>
+      <FontMatrix value="0.0003551136363636364 0 0 0.0003551136363636364 0 0"/>
       <FontBBox value="72 -660 1896 2708"/>
       <StrokeWidth value="0"/>
       <!-- charset is dumped separately as the 'GlyphOrder' element -->

the extra precision of the python3 float division seems to trigger this invalid font file somehow. I'll investigate more tomorrow, but we probably need to make sure we round these floats to some reasonable number of digits.
https://github.com/googlei18n/ufo2ft/blob/39ab30c54ab71b24d96bb68e0965c41937d39b35/Lib/ufo2ft/outlineCompiler.py#L986

the culprit seems to be in the encodeFloat function of fontTools.misc.psCharStrings module (despite according to git blame it hasn't changed in 17 years..)
https://github.com/fonttools/fonttools/blob/3ba285e2504c73cac4970ae846f56db2b41fa4a0/Lib/fontTools/misc/psCharStrings.py#L228
it's calling str on the float before encoding it to binary, and on python3 the float repr seems to be more precise than on python2.
Your font UPEM is 2816 (which is as common value as say 1000 or 2048, which perhaps explain why we haven't caught this issue before). The FontMatrix value 1.0/2816, when it's converted to str, becomes '0.000355113636364' in python 2.7 and '0.0003551136363636364' in python 3.7.
If I apply this patch to round the FontMatrix values to 15 decimal digits, the output from python2 and python3 is identical, and both your test fonts pass validation:
diff --git a/Lib/ufo2ft/outlineCompiler.py b/Lib/ufo2ft/outlineCompiler.py
index 60a4a97..965b575 100644
--- a/Lib/ufo2ft/outlineCompiler.py
+++ b/Lib/ufo2ft/outlineCompiler.py
@@ -983,7 +983,14 @@ class OutlineOTFCompiler(BaseOutlineCompiler):
         topDict.UnderlineThickness = otRound(underlineThickness)
         # populate font matrix
         unitsPerEm = otRound(getAttrWithFallback(info, "unitsPerEm"))
-        topDict.FontMatrix = [1.0 / unitsPerEm, 0, 0, 1.0 / unitsPerEm, 0, 0]
+        topDict.FontMatrix = [
+            round(1.0 / unitsPerEm, 15),
+            0,
+            0,
+            round(1.0 / unitsPerEm, 15),
+            0,
+            0,
+        ]
         # populate the width values
         if not any(hasattr(info, attr) and getattr(info, attr) is not None
                    for attr in ("postscriptDefaultWidthX",

I'm thinking of rather changing the encodeFloat function in upstream fonttools, to prevent this and similar issues with real numbers in CFF dicts.
In makeotf, they seem to round to 8 decimal digits
https://github.com/adobe-type-tools/afdko/issues/174
I'll sleep over it, and push a fix for it tomorrow.

Thank you!

Patching outlineCompiler.py as shown above solves the issue with most UFOs I'm building except one (attached below). Even really small values like 4 yields incorrect OTF files for this other UFO source.
I've updated the repro https://github.com/rsms/ufo2ft-py3-bug with:

the above patch (run.sh builds OTFs with and without the patch to compare results)
the second/alternate UFO source which still fails with the patch

the reason the other font also fails to render is related. If you compare the ttx dumps of output2-B.otf with output3-B.otf, this time it's the value of ItalicAngle operator in CFF table that ends up being represented as a too long float number -9.399999999999999.
--- /Users/clupo/Github/ufo2ft-py3-bug/build/output2-B.ttx	2019-01-04 11:27:18.000000000 +0000
+++ /Users/clupo/Github/ufo2ft-py3-bug/build/output3-B.ttx	2019-01-04 11:27:18.000000000 +0000
@@ -14,7 +14,7 @@
     <!-- Most of this table will be recalculated by the compiler -->
     <tableVersion value="1.0"/>
     <fontRevision value="1.0"/>
-    <checkSumAdjustment value="0x67a819be"/>
+    <checkSumAdjustment value="0x15b40627"/>
     <magicNumber value="0x5f0f3cf5"/>
     <flags value="00000000 00011011"/>
     <unitsPerEm value="2816"/>
@@ -199,12 +199,12 @@
       <FamilyName value="Inter UI"/>
       <Weight value="Semi-bold"/>
       <isFixedPitch value="0"/>
-      <ItalicAngle value="-9.4"/>
+      <ItalicAngle value="-9.399999999999999"/>
       <UnderlinePosition value="-422"/>
       <UnderlineThickness value="286"/>
       <PaintType value="0"/>
       <CharstringType value="2"/>
-      <FontMatrix value="0.000355113636364 0 0 0.000355113636364 0 0"/>
+      <FontMatrix value="0.0003551136363636364 0 0 0.0003551136363636364 0 0"/>
       <FontBBox value="-59 -660 2051 2708"/>
       <StrokeWidth value="0"/>
       <!-- charset is dumped separately as the 'GlyphOrder' element -->

i'll push a fix soon

@rsms although, the latter issue with italicAngle you should be able to fix it yourself, but modifying that value in the fontinfo.plist. Currently it is set to -9.399999999999999. Changing that to -9.4 should work around that particular problem

What's causing the font to be declared invalid though?

the real number as encoded in the CFF table by encodeFloat function semes to be too long (i.e. has too many digits of decimal precision) when run under python3, and trips up macOS font rendering.
this is the output from python2.7
>>> str(1.0/2816)
'0.000355113636364'
>>> from fontTools.misc.psCharStrings import *
>>> encodeFloat(1.0/2816)
'\x1e\xa0\x005Q\x13ccd\xff'
>>> read_realNumber(None, None, b'\x1e\xa0\x005Q\x13ccd\xff', 1)
(0.000355113636364, 10)

and this is the output from python3.7
>>> str(1.0/2816)
'0.0003551136363636364'
>>> encodeFloat(1.0/2816)
b'\x1e\xa0\x005Q\x13ccccd\xff'
>>> read_realNumber(None, None, b'\x1e\xa0\x005Q\x13ccccd\xff', 1)
(0.0003551136363636364, 12)

Interestingly, if I run the ots-validator-checker tool (which is part of the opentype sanitizer, and renders the font using FreeType library) on my Linux box, the font built with python3 with the super-long real number passes with message "OK: FreeType2 didn't crash".
Only when I run the same ots-validator-checker tool on macOS 10.14, I get the error "font renderer couldn't open the transcoded font"

these are the two test fonts, one made with python2.7, the other with python3.7:
ufo2ft-cff-float-bug.zip
If I run them through macOS Font Book.app's "Validate File...", the one made with python2.7 ("output2-B.otf") passes with all green, the other one "output3-B.otf" get

the only difference between the two is the one I pasted in my previous comment: https://github.com/googlei18n/ufo2ft/issues/306#issuecomment-451421259

actually, I need to set it to maximum 14 decimal digits of precision.
If I use 15 digits, then the ItalicAngle="-9.399999999999999" in the test input-B.ufo stays like that (is not rounded to 9.4) and it makes CoreText complain.

something like this patch works:
diff --git a/Lib/fontTools/misc/psCharStrings.py b/Lib/fontTools/misc/psCharStrings.py
index 555d9d50..5e854549 100644
--- a/Lib/fontTools/misc/psCharStrings.py
+++ b/Lib/fontTools/misc/psCharStrings.py
@@ -225,7 +225,7 @@ def encodeFixed(f, pack=struct.pack):

 def encodeFloat(f):
        # For CFF only, used in cffLib
-       s = str(f).upper()
+       s = str(round(f, 14)).upper()
        if s[:2] == "0.":
                s = s[1:]
        elif s[:3] == "-0.":

by trial and error, it appears that what triggers this issue is the length (in bytes) of the encoded real number. When it is up to 10 bytes, it is accepted; if it is > 10, it is rejected as invalid.
For example, the number -9.399999999999999, when run through encodeFloat (on py3) yields b'\x1e\xe9\xa3\x99\x99\x99\x99\x99\x99\x99\xff' which is 11 bytes long, and thus rejected.
If I remove one digit or I remove the leading sign (I make the number positive with the same number of decimal digits), it is encoded with 10 bytes and it passes...
maybe the encodeFloat should be capped to max 10 bytes?
/cc @readroberts

I've put together a better version of encodeFloat

does not have the "E+" bug of encodeFloat
limits precision to 14 decimals
about twice as fast

https://gist.github.com/rsms/efd5663749a9b66bc53be8f85becc9d2#file-encode_float-py-L78
Comes with tests and benchmarks, using the number decoder from OTFCC for test reference.
Benchmark results from a run on my machine:

encodeFloat1 (old with E+ patch): 4.601s total, 46.0 us per call
encodeFloat2 (new): 2.521s total, 25.2 us per call

(I do realize this is in the fontTools code and not the ufo2ft code)

Patch submitted to the fonttools project: https://github.com/fonttools/fonttools/pull/1430


go for Ubuntu 14?

When I try to install go on Ubuntu 14 (my preferred old laptop), I get only the message "Requires installation of untrusted packages" and no matter what I say ([OK] or [Repair]) I remain stuck in that state.
(For Rust, everything works quite smoothly)
Is there some way out?

I'm a mac user so I can't say for sure but I found some answer https://askubuntu.com/a/15659 that says trusting the package by adding GPG keys will solve the problem.
If apt-get doesn't work, you should be able to install Go from the official site: https://go.dev/doc/install

Thank you! https://go.dev/doc/install solved it!


rabbitmq-server fails to start

I have just tried spinning up with default settings besides this in a values.yaml file:
persistence:
  existingClaim: vol-nfs-resize-test

postgresql:
  galaxyDatabasePassword: changeme
  persistence:
    storageClass: ssd-cinder

I see the following containers waiting and failing:
csi-attacher-s3-0                                                1/1     Running            0               19m
csi-provisioner-s3-0                                             2/2     Running            0               19m
csi-s3-ggw7l                                                     2/2     Running            0               19m
csi-s3-wrn4x                                                     2/2     Running            0               19m
galaxy-galaxy-ps-postgres-0                                      1/1     Running            0               18m
galaxy-ps-celery-beat-68df947565-c5c86                           0/1     Init:0/1           0               19m
galaxy-ps-celery-c4f56c66-69bmn                                  0/1     Init:0/1           0               19m
galaxy-ps-job-0-6f7b45fb5c-4n774                                 0/1     Init:0/1           0               19m
galaxy-ps-nginx-7fc49c647b-q9b8f                                 1/1     Running            0               19m
galaxy-ps-postgres-6cbdd9bb48-tfwm5                              1/1     Running            0               19m
galaxy-ps-rabbitmq-7667976885-vj8g7                              1/1     Running            0               19m
galaxy-ps-rabbitmq-messaging-topology-operator-5688fcb48-ls47r   1/1     Running            0               19m
galaxy-ps-rabbitmq-server-server-0                               0/1     CrashLoopBackOff   5 (2m34s ago)   18m
galaxy-ps-tusd-7764dfc65f-rnvlf                                  1/1     Running            0               19m
galaxy-ps-web-5dbccb7759-cr2ml                                   0/1     Init:0/1           0               19m
galaxy-ps-workflow-c78764585-nj59g                               0/1     Init:0/1           0               19m
test-nfs-resize-nfs-server-provisioner-0                         1/1     Running            0               20m

The rabbit container fails with:
Defaulted container "rabbitmq" out of: rabbitmq, setup-container (init)
rabbitmq 14:18:48.56
rabbitmq 14:18:48.56 Welcome to the Bitnami rabbitmq container
rabbitmq 14:18:48.56 Subscribe to project updates by watching https://github.com/bitnami/containers
rabbitmq 14:18:48.56 Submit issues and feature requests at https://github.com/bitnami/containers/issues
rabbitmq 14:18:48.57
rabbitmq 14:18:48.57 INFO  ==> ** Starting RabbitMQ setup **
rabbitmq 14:18:48.58 INFO  ==> Validating settings in RABBITMQ_* env vars..
rabbitmq 14:18:48.62 INFO  ==> Initializing RabbitMQ...
rabbitmq 14:18:48.71 INFO  ==> Starting RabbitMQ in background...
/opt/bitnami/scripts/libos.sh: line 336:    53 Killed                  "$@" > /dev/null 2>&1
rabbitmq 14:20:48.57 ERROR ==> Couldn't start RabbitMQ in background.

it seems to be OOMKilled:
    State:          Running
      Started:      Mon, 14 Nov 2022 14:18:48 +0000
    Last State:     Terminated
      Reason:       OOMKilled
      Exit Code:    1
      Started:      Mon, 14 Nov 2022 14:13:57 +0000
      Finished:     Mon, 14 Nov 2022 14:15:57 +0000
    Ready:          False
    Restart Count:  6
    Limits:
      cpu:     2
      memory:  2Gi
    Requests:
      cpu:      1
      memory:   2Gi

but those seem to be the default parameters for limits/requests. Are you running this with more memory in general?
This is kubernetes 1.23.5 running on Fedora CoreOS 35 nodes.
Chart version is: galaxy-5.3.1
App version: 22.05
Nodes seem to have plenty of more memory:
NAME                             CPU(cores)   CPU%   MEMORY(bytes)   MEMORY%
test-nfs-j4rmgncctsu3-node-3     233m         5%     4134Mi          26%
test-nfs-j4rmgncctsu3-node-5     165m         4%     1753Mi          11%

Adding more memory doesn't seem to have an impact. I'm trying to set the BITNAMI_DEBUG env var, but modifications via kubectl edit statefulset/<> for rabbit don't seem to stick. Modifications for memory worked on the Rabbitmq cluster object, but there are no env vars to set there to activate the BITNAMI_DEBUG part.

For which container are you seeing the OOM killed message? If it had been an OOM in the rabbitmq container itself, the ending in the logs should have been very abrupt, and there should have been no time to print any error messages?
What if you increase verbosity in rabbit?
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
spec:
  replicas: 1
  rabbitmq:
    additionalConfig: |
        log.console.level = debug

And also try passing this to the operator through the helm chart?
rabbitmq-cluster-operator:
  extraEnvVars:
    - name: LOG_LEVEL
      value: debug
``
https://artifacthub.io/packages/helm/riftbit/rabbitmq-cluster-operator#additional-environment-variables

I am using the default memory setting on the clusters I have running.  But I wonder if the OOMKilled is a red herring.

/opt/bitnami/scripts/libos.sh: line 336:    53 Killed                  "$@" > /dev/null 2>&1

This has me wondering if 53 is the root error (EBADR 53 Invalid request descriptor).  Line 336 of libos.sh is the line that redirects output to /dev/null, and if output is being redirected to /dev/null what is it doing in the log?

For which container are you seeing the OOM killed message?

Yes, it is on the main rabbitmq container. Yes, agreed the log interruption would have been more abrupt.

my bad, so we are using rabbitmq operator, just packaged by bitnami on a helm chart.

I also tried adding the use of a different rabbitmq image to the rabbitmq operator on the values.yaml for the Galaxy helm chart like this, but it doesn't get picked up:
rabbitmq-cluster-operator:
  rabbitmqImage:
    repository: rabbitmq
    tag: 3

  extraEnvVars:
    - name: LOG_LEVEL
      value: debug
    - name: BITNAMI_DEBUG
      value: "true"

but it still remains like:
Containers:
  rabbitmq:
    Container ID:   containerd://34087c1446101c8f19f5421d49a7e5af6ea49fc4a05bdd6a5728f133050f5862
    Image:          docker.io/bitnami/rabbitmq:3.10.7-debian-11-r3
    Image ID:       docker.io/bitnami/rabbitmq@sha256:66991b35756345c9c8bfc0c38d0277c3950c446a0d7e49b09292c21a7cd24d9e
    Ports:          4369/TCP, 5672/TCP, 15672/TCP, 15692/TCP
    Host Ports:     0/TCP, 0/TCP, 0/TCP, 0/TCP
    State:          Running
      Started:      Tue, 15 Nov 2022 12:57:59 +0000
    Ready:          False

this is at the first level of values.yaml, should this be under another item like dependencies or something? Thanks.

I guess it would require some additions here? https://github.com/galaxyproject/galaxy-helm/blob/6b071c9805bd3a65d75ff28aa562ff7405d74209/galaxy/templates/rabbitmqcluster.yaml#L10

@pcm32 Yes. You can try adding an override here, passing in the BITNAMI_DEBUG env var: https://github.com/galaxyproject/galaxy-helm/blob/6b071c9805bd3a65d75ff28aa562ff7405d74209/galaxy/templates/rabbitmqcluster.yaml#L11
Overrides are documented here:
https://www.rabbitmq.com/kubernetes/operator/using-operator.html#override

This seems to be a problem specifically between the bitnami container (possibly related to the usage of /dev/null) and the underlying Fedora CoreOS being used by that original cluster as VM images. Moving to an RKE2 based cluster (which uses ubuntu focal as VM image) makes the problem go away.

I'm going to close this since I'm not using CoreOS anymore for this, and hence not getting this anymore.


[QUERY] Notification Hub only working on Android

Query/Question
I have an Azure function that talks to Notification hub.
When I post a notification message to the function it sends it to Notification Hub, which in turn sends it down to the device.
I'm only receiving notifications on Android in this manner.
But, when I go to Notification Hub and send a test message to iOS, I do receive that.
Setup (please complete the following information if applicable):

OS: iOS 10.15.7
IDE : Visual Studio Mac 2019
Azure.NotificationHubs.Client.Xamarin v 1.0.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x ] Query Added
[x ] Setup information Added

I'm able to receive messages on iOS when deploying directly to an iPhone, but not when I archive the app and distribute via TestFlight. Notification Hubs shows the test message was successfully sent, but my remote notification listener delegate is not invoked.

iOS use two push notifications certificates
Production => for release purpose (Testflight, AppStore)
Sandbox => for debug purpose (development)
What is your configuration in notification hub?


How do I check the current amplitude/volume of the sound

It's done in games like Geometry Dash. In GD, the orbs get bigger if the music gets louder as a visual effect. I want to do something similar to that.
This isn't the volume method, since that just gets a multiplier that we multiply with the samples to make it louder/quieter. I want the actual, current volume that the person hears.

surprisingly difficult to find a cross-platform example of getting the current default mixer volume.

I'm also interested in this. I presume getting access to the underlying stream, or at least samples of it, would be the way to go. In a separate thread, it would be useful to get "windows" of frames to analyse for volume, frequency analysis (FFT), etc. but I'm not sure how to even start, and I don't see any examples of doing this kind of thing.


[Teams] Provide a sample that shows how to do proactive messaging

Sample information

Sample type: samples
Sample language:
[ ] dotnetcore
[ ] nodejs
[ ] python
Sample name:

Describe the bug
Sample should also show how to rate limit/throttle handling.  Support for C#, JS, and Python is required

@sgellock, @johnataylor, @axelsrz 	I'd recommend adding in querying the Team Roster, then proactively messaging them. We've seen a decent number of issues come in of users wanting to do that. Example with current solution

Per agreement with Teams this is P2 sample and will fast follow the 4.6 release.

@mdrichardson The link to the current solution for node uses botbuilder-teams which is deprecated. Do you have a sample for 4.6 that I could refer to? Thanks!

@mdrichardson I know how to get this done now. Thanks :)


Script in the browser

Can this library be used in the classic JS script without importing?

I m not 100% sure, i'll check and tell you.

Any updates?


How to unit test client code?

Hi! First of all, thank you for building and maintaining websockets. It's great!
I'm using the sync client, and I was able to get up and running with it in no time. Awesome. I'm now trying to unit test my code, though, and I'm having trouble. Are there recommended patterns for unit tests?
I searched the docs and issues here, and the web, but didn't find anything. Your own tests have some helpers that look useful, eg InterceptingConnection and RecordingProtocol:
https://github.com/python-websockets/websockets/blob/adfb8d69a7a1f6f4c8381c9e7182619d202c3cf2/tests/sync/test_connection.py#L30-L35
...but they're not included in the library. Any other suggestions?
Thanks in advance!

For now, I might try implementing a minimal version of InterceptingConnection and injecting it into to connect's create_connection kwarg. Will see how that goes. I'm still definitely interested in more official ideas long term though!

The easiest way to test a client is usually to run a server and connect to it.
Furthermore, you should design your client so you can test as much of logic as possible without I/O. Then only perform a few integration tests to make sure that it can connect to a server. This is the approach taken by websockets with e.g. tests/sync/test_connection.py (integration tests, doing I/O) being much smaller than tests/test_protocol.py (testing logic without doing I/O)
InterceptionConnection is designed to break some rules that websockets enforces, in order to test how a client reacts to a misbehaving server and vice-versa. RecordingProtocol keeps track of every frame sent the connection, which is a library level concern, while you want to test a the application level. Exposing them wouldn't encourage good testing patterns (IMO).

Thank you! That all makes sense, will do.


Attic Generating an entirely duplicated repository when run as a cron job

So a strange issue I'm having.  Originally I initialized and created a few backups manually from terminal.  After having success doing so, ensuring that the backups were successful and restorable I decided to automate the process.  I created a shell script to store the backups in the same repository and prune using the default in the attic example.  I added a cron job to run the script nightly.  At first I received the attic  error: cache initialization aborted.  I was able to correct this by piping echo "y" into the attic create command in the cron job the first time it was executed.  What happened next is what baffles me.  Attic analyzed all the previous backups and began the backup in the same repository but instead of seeing all the files as duplicates it found none of them as a duplicate and is essentially creating a whole new backup in the repository from scratch.  I am currently waiting for that backup to finish but figured I would go ahead and find out if this the intended behavior?
This is probably not a huge problem for some but our file server currently holds 7TB of data and design projects and it takes approx 3 - 3.5 days for a full backup from scratch to complete.
I am not an advanced linux user and am obviously new to attic so if there is any additional information I need to provide please let me know and I will do my best to comply.  The server is currently running Ubuntu 14.
Thanks,
Jon

@jlowrey did you find out why it happend / how did you solve?

It was symptoms of something else going on. The backup was running much slower and initially I had to pipe an additional parameter that would allow it to run the first time from a cron job(its somewhere here in the forums but I have forgotten what it was).  When I checked the NAS unit after the initial run via cron it had doubled in space and there was a copy of the repository.  In actuality a default setting on the NAS to automatically archive everything on the NAS was causing the duplication, not attic creating an additional backup. It was a mistake on my part which is why I closed this.  Thanks for the follow-up though.
Thanks,
Jon


Xcode project set objc automatic reference counting

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Please describe your issue in detail according to the issues template.


Added example for the Relationship sort

Included in the cru-modules as part of the Controllers section.

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


feat: py38, django 2.2 support

Want to support py36, py38, django 1.11 to 2.2 all at once if it isn't too hard. I think it'll just be addressing deprecation warnings really.

ugh lol did it again, great UI github

Whatchu doing @joshuarli.


Default trust store not found

I'm trying to use AWS CRT client, however initialization is failing with
Caused by: s.amazon.awssdk.crt.CrtRuntimeException: TlsContext.tls_ctx_new: Failed to create new aws_tls_ctx (aws_last_error: AWS_IO_TLS_ERROR_DEFAULT_TRUST_STORE_NOT_FOUND(1173), Default TLS trust store not found on this system. Trusted CA certificates must be installed, or "override default trust store" must be used while creating the TLS context.)
	at software.amazon.awssdk.crt.io.TlsContext.tlsContextNew(TlsContext.java)
	at software.amazon.awssdk.crt.io.TlsContext.<init>(TlsContext.java:24)
	at s.a.a.http.crt.AwsCrtAsyncHttpClient.<init>(AwsCrtAsyncHttpClient.java:104)
	at s.a.a.http.crt.AwsCrtAsyncHttpClient.<init>(AwsCrtAsyncHttpClient.java:73)
	at s.a.a.h.c.AwsCrtAsyncHttpClient$DefaultBuilder.buildWithDefaults(AwsCrtAsyncHttpClient.java:405)

Default cacert is available at JAVA_HOME/jre/lib/security/cacerts..... is there something else we need to configure.
This is the sample code
return AwsCrtAsyncHttpClient.builder().build()

Related discussion: https://github.com/aws/aws-sdk-java-v2/discussions/3898

https://github.com/aws/aws-sdk-java-v2/discussions/3898#discussioncomment-5612167
Looks like installing the ca-certificates package fixed it for you


if shopId is passed, use the core url

Close https://github.com/Shopify/hydrogen-internal/issues/128
This PR changed two utilities

createCustomerAccountClient

add a shopId option
make customerAccountUrl deprecated and optional

If shopId option has value => use the core url, else use customerAccountUrl
This utility REQUIRE user update to the code.
User may need to do a h2 env pull to get SHOP_ID into their .env file.
It is NOT a breaking change for now. But we should aim to remove the deprecate option in the next major release.

createAppLoadContext
This utility does not require user update to the code.
(They have have to do a h2 env pull to get SHOP_ID into their .env file)

/snapit

/snapit

@s-lee-kwong Did the snapshot released by snapit work? Last time I tried it didn't and I'm not sure if it was something to do with my PR or with the snapit action.

Follow up by https://github.com/Shopify/hydrogen/pull/2437


Cannot read property 'muiName' of undefined with TextField component under React v16

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Context

Your Environment

Tech
Version

Material-UI
1.0.0-beta12

React
16

browser
Electron

etc

Invalid bug report.  Zero effort on the part of the user.


Fix setup of Area2d space override variable

Ran into an issue where a RigidBody2D was still having an Area2D's forces applied even when the two objects are no longer colliding. I believe it's the issue that others noted here: https://github.com/godotengine/godot/issues/77449
This was due to a variable has_space_override, which is initialized in the setup method of the AreaPair2D. The setup method sets it to false every time by default, and only runs the logic to change it to true if the collision status has changed (e.g. was colliding before and now isn't, or vice-versa).
When the AreaPair2D is deallocated, it checks for has_space_override to determine if the area should be removed from the body's list of areas. However, because setup will have run again, has_space_override will have been set to false, and the area will not be removed. As a result, it will continue to have its effects applied to the RigidBody.
The fact that it only occurs in some cases suggests that there's some order of operations that theoretically could avoid this, since it'll only occur if setup runs again after a collision change and before the constraint is deallocated. But in this case it seems easier just to fix the initialization issue.
Bugsquad edit:

Fixes #81550.
See also alternative solution in #82470.

I ran exactly into this problem and almost gave up until i found your solution which worked perfectly thankss so muuch.

Closing this in favor of https://github.com/godotengine/godot/pull/82961


Create python wrapper for neo-hypervm

neo-hypervm is a high performance implementation of the VM written in C++. It would be nice if we can choose to run the high performance VM in certain conditions (or just when hosting an RPC server).
There's a C# wrapper in the project that you can potentially use as reference if you're not familiar with the VM implementation. Either a ctypes solution or CPython extension would do depending on the performance gap between the two. We prefer highest performance, but if the difference is minimal then maintainability comes first (which would mean ctypes)

I will try to contribute to this. Sounds pretty cool.

Just a friendly warning, this is a potentially tough issue if you don't understand the current VM design. My advise would be to start there

Closing due to focus on NEO3. Also neo-hypervm hasn't been updated in a long time and isn't expected to be any time soon.


Text Widget change original text when locale is set to RTL

➜  flutter_arabic_issue flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.6 19G2021 darwin-x64,
locale zh-Hans-CN)
• Flutter version 1.22.4 at /Users/macbook/Documents/flutter
• Framework revision 1aafb3a8b9 (5 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/macbook/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin installed
• Dart plugin version 201.9002
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.52.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[✓] Connected device (1 available)
• iPhone 6s (mobile) • 446368C7-C29F-458E-A7FD-72FECCAB11D9 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-4
(simulator)

import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  MyApp({Key key}) : super(key: key);

  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool isArabic = true;
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Arabic issue',
      localizationsDelegates: [
        GlobalCupertinoLocalizations.delegate,
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      supportedLocales: [Locale('ar'), Locale('en')],
      locale: isArabic ? Locale('ar') : Locale('en'),
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              Text('1 USD = 6.4 CNY'),
              Text('helo word'),
              Text('helo helo, word.'),
              Text('مرحبا'),
              Text('curren language is ${isArabic ? 'ar' : 'en'}'),
              FlatButton(
                onPressed: () {
                  setState(() {
                    isArabic = !isArabic;
                  });
                },
                color: Color(0xff00ff00),
                child: Text('switch language'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

pubspec.yaml
name: flutter_arabic_issue
description: A new Flutter project.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.0
  flutter_localizations:
    sdk: flutter

dev_dependencies:
  flutter_test:
    sdk: flutter

    flutter:

  uses-material-design: true

Origonal text is "1 USD = 6.4 CNY",
When Arabic, is has been automatically changed to "USD = 6.4 CNY 1",
I dont't understand arabic.is that right?

Hi @ashamp
If we remove the 1, the output is the same in RTL
Preview

Looks like a TextDirection issue, you can reproduce this more easily with the following code sample
When you switch locale to ar, you're forcing the whole app to be RTL, including text., You can force LTR on some widgets where you  wanna show LTR text using Directionality widget.

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Column(
          children: [
            Directionality(
              textDirection: TextDirection.ltr,
              child: Container(
                child: Text('1 USD = 6.4 CNY'),
              ),
            ),
            Directionality(
              textDirection: TextDirection.rtl,
              child: Container(
                child: Text('1 USD = 6.4 CNY'),
              ),
            ),
            Directionality(
              textDirection: TextDirection.rtl,
              child: Container(
                child: Text('USD = 6.4 CNY'),
              ),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.1 20C69 darwin-x64,
    locale en-GB)
    • Flutter version 1.25.0-8.1.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 8f89f6505b (3 days ago), 2020-12-15 15:07:52 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (3 available)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios
      • iOS 14.3
    • iPhone 12 (mobile)   • 01685E98-F396-4EB9-9C58-8B92677E24D5 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)         • chrome                               •
      web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

@TahaTesser
hi Taha
I know "textDirection: TextDirection.rtl" can fix the issue,
but I think that should not be the right solution.
I mean, you would not know what the text will be in real project,
and ,in this simple sample,you can set every Text widget with "textDirection: TextDirection.rtl" , but in real project, there are many Text widget, it is impossible to add "textDirection: TextDirection.rtl"  to every Text.

this is an Arabic app sample, in Arabic , layout are auto matomatically change to rtl if you set the "supportedLocales" and "locale" right in MaterialApp.

Hi @ashamp
I agree this needs to be fixed, thanks for reporting!

cc @shihaohong

This is the right behavior. I think translators should put explicit directional markers around the text for occasions like this.


router: refactor status code check in ReverseProxy

Refactor serveUpgrade to use a single 101 status code check.
/cc @bgentry

:+1:

LGTM


SteamBot

my bot is always to say this: the image down, someone to know me as esplicar resonver this?
http://i.imgur.com/yyIc2xY.png
Thanks

http://i.imgur.com/yyIc2xY.png
The password is invalid..

But my password is correct

I have the steam guard mobile assets, Can be it


Build without glfw3

It would be awesome to be able to run without glfw3 as I don't care about builtin visualizations. It would be great if that was more put inside examples or such.

The core librealsense library does not depend on or link against glfw. Several projects (c/cpp-tutorial-1 and cpp-headless) specifically do not include glfw3 for the reason you list above. Hope that helps?

Alright, sounds great. That's the most important part. Is there also a way to build without having glfw3 installed using the makefile?

Good question. The makefile would require a boolean flag similar to the backend selection so that it would only compile the examples that do not need glfw. This would require enumerating the .c/.cpp files exactly (like cpp-headless.cpp instead of the current wildcard *.cpp), which is slightly harder to maintain. This probably won't be on our roadmap right away (for headless systems we've been fine manually editing the makefile), but would accept a pull request if you were to make and test the relevant changes. All told, should be about ~10 lines of addition to the makefile.

Cool. Thanks for a quick answer. Just have to say after using the Windows SDK, a download of a few GBs anda bit bloated. I'm super impressed by this software. <3

For future reference: It is already possible by simply issuing
make library


Fix a mis-aligned else that causes a crash

Fixes an issue introduced in the commit 984ca2dc where the else is misaligned causing the following crash when running data validation tool.
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 159, in _get_module_details
  File "<frozen importlib._bootstrap_external>", line 1074, in get_code
  File "<frozen importlib._bootstrap_external>", line 1004, in source_to_code
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/ec2-user/workspace/mistral/mistral-finetune/utils/validate_data.py", line 113
    else:
TabError: inconsistent use of tabs and spaces in indentation

Github does not render the diff correctly, unfortunately, but the fix is correct. You can copy the diff into a text editor and see the difference.

Thanks!


Update: Script to support PX Cluster 3.0.0 Status

What this PR does / why we need it:
PX 3.0.0 has updated the Storage Cluster Status to Running from Online
Updated Code to Support both the Status.
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:

lgtm


Bluesky: switch poll-posts to poll bridged bluesky users, not bridged fedi followers

Right now, because of this, we're missing Bluesky => ActivityPub posts where the bridged Bluesky user has only non-bridged followers.

Done!


electron-forge unable to make for target rpm on linux

Preflight Checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

Electron Forge Version:
5.2.4

Electron Version:

Operating System:
Ubuntu 20.04.1 LTS

Last Known Working Electron Forge version::

Expected Behavior
expected electron-forge to create a target for rpm linux
Actual Behavior
electron-forge specifies it cannot create a target for rpm
Additional Information
error output.
✖ Making for target: rpm - On platform: linux - For arch: x64

An unhandled error has occurred inside Forge:
An error occured while making for target: rpm
Error executing command (spawn rpmbuild ENOENT):
rpmbuild -bb /tmp/electron-202114-5168-16a11pk.et0d/electron-chat-app_1.0.0_x86_64/SPECS/electron-chat-app.spec --target x86_64

Error: Error executing command (spawn rpmbuild ENOENT):
rpmbuild -bb /tmp/electron-202114-5168-16a11pk.et0d/electron-chat-app_1.0.0_x86_64/SPECS/electron-chat-app.spec --target x86_64

    at ChildProcess.<anonymous> (/home/uncle-shaggy/programs/projects/wufu/electron-chat-app/node_modules/electron-installer-redhat/src/installer.js:55:23)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:198:13)
    at Pipe._handle.close (net.js:607:12)

package.json
{   "name": "electron-chat-app",   "version": "1.0.0",   "description": "chat  application using electron,webrtc,react,socket.io",   "main": "app/main.js",   "scripts": {     "start": "electron-forge start",     "build": "electron-packager . --overwrite",     "test": "echo \"Error: no test specified\" && exit 1",     "package": "electron-forge package",     "make": "electron-forge make"   },   "author": "uncle-shaggy",   "license": "ISC",   "devDependencies": {     "babel-plugin-transform-async-to-generator": "^6.24.1",     "babel-preset-env": "^1.7.0",     "babel-preset-react": "^6.24.1",     "electron-forge": "^5.2.4",     "electron-prebuilt-compile": "8.2.0",     "webpack-cli": "^4.4.0"   },   "dependencies": {     "@babel/cli": "^7.12.10",     "@babel/core": "^7.12.10",     "@babel/preset-react": "^7.12.10",     "acorn": "^8.0.4",     "babel": "^6.23.0",     "babel-cli": "^6.26.0",     "babel-core": "^6.26.3",     "babel-loader": "^7.1.5",     "babel-plugin-object-rest-spread": "0.0.0",     "babel-plugin-transform-object-rest-spread": "^6.26.0",     "babel-preset-stage-0": "^6.24.1",     "debug": "^4.3.1",     "electron": "^11.2.2",     "electron-compile": "^6.4.4",     "electron-squirrel-startup": "^1.0.0",     "eslint": "^7.17.0",     "localforage": "^1.9.0",     "moment": "^2.29.1",     "mongodb": "^3.6.3",     "prop-types": "^15.7.2",     "react": "^17.0.1",     "react-dom": "^17.0.1",     "redux": "^4.0.5",     "socket.io": "^3.1.0",     "socket.io-client": "^3.1.0",     "webpack": "^4.46.0"   },   "config": {     "forge": {       "make_targets": {         "win32": [           "squirrel"         ],         "darwin": [           "zip"         ],         "linux": [           "deb",           "rpm"         ]       },       "electronPackagerConfig": {         "packageManager": "npm"       },       "electronWinstallerConfig": {         "name": "electron_chat_app"       },       "electronInstallerDebian": {},       "electronInstallerRedhat": {},       "github_repository": {         "owner": "",         "name": ""       },       "windowsStoreConfig": {         "packageName": "",         "name": "electronchatapp"       }     }   } }
command electron-forge make

You need to install rpmbuild, see https://github.com/electron-userland/electron-installer-redhat#requirements

thank you @malept


Add FST Index using lucene lib to speedup regexp queries

Add FST index to support regex queries on text, this is pulling in FST construction and matching code from lucene.
On disk index sizes are smaller than the text with letting go off of features and only supporting regex queries.
Works better for prefix queries and currently support is only added for dictionary encoded columns.
On some of the columns I tested on reduction in on-disk size is close to 4-6 times.
To enable FST index, column has to be dictionary encoded and with below config.
FST Index currently generates one file: FST index file (.lucene.fst), if inverted index is enabled
this will further be able to take advantage of that.
"fieldConfigList":[
{
"name":"text_col_1",
"encodingType":"DICTIONARY",
"indexType":"FST"
}
]

@pradeepgv42 Can you use Pinot styles for the code formatting?
You can check the following page on how to set up the Pinot stylesheet.
https://docs.pinot.apache.org/developers/developers-and-contributors/code-setup

Codecov Report

Merging #6120 into master will decrease coverage by 3.21%.
The diff coverage is 38.00%.

@@            Coverage Diff             @@
##           master    #6120      +/-   ##
==========================================
- Coverage   66.44%   63.23%   -3.22%
==========================================
  Files        1075     1235     +160
  Lines       54773    60352    +5579
  Branches     8168     8843     +675
==========================================
+ Hits        36396    38162    +1766
- Misses      15700    19371    +3671
- Partials     2677     2819     +142

Flag
Coverage Δ

#unittests
63.23% <38.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...e/pinot/broker/api/resources/PinotBrokerDebug.java
0.00% <0.00%> (-79.32%)
:arrow_down:

...ot/broker/broker/AllowAllAccessControlFactory.java
71.42% <ø> (-28.58%)
:arrow_down:

.../helix/BrokerUserDefinedMessageHandlerFactory.java
33.96% <0.00%> (-32.71%)
:arrow_down:

...ava/org/apache/pinot/client/AbstractResultSet.java
53.33% <0.00%> (-3.81%)
:arrow_down:

.../main/java/org/apache/pinot/client/Connection.java
35.55% <0.00%> (-13.29%)
:arrow_down:

...inot/client/JsonAsyncHttpPinotClientTransport.java
10.90% <0.00%> (-51.10%)
:arrow_down:

.../org/apache/pinot/client/ResultTableResultSet.java
0.00% <0.00%> (-34.29%)
:arrow_down:

...not/common/assignment/InstancePartitionsUtils.java
73.80% <ø> (+0.63%)
:arrow_up:

.../apache/pinot/common/exception/QueryException.java
90.27% <ø> (+5.55%)
:arrow_up:

...pinot/common/function/AggregationFunctionType.java
98.27% <ø> (-1.73%)
:arrow_down:

... and 1059 more

Continue to review full report at Codecov.

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

@pradeepgv42 Can you use Pinot styles for the code formatting?
You can check the following page on how to set up the Pinot stylesheet.
https://docs.pinot.apache.org/developers/developers-and-contributors/code-setup

@snleee Thanks updated my intellij with this config, is there a target to reformat a PR?
I tried to fixup things a bit, not sure if I missed something though

@Jackie-Jiang
QQ about this comment if I seeing the history correctly you added it
https://sourcegraph.com/github.com/apache/incubator-pinot/-/blob/pinot-core/src/main/java/org/apache/pinot/core/operator/filter/BitmapBasedFilterOperator.java#L69
This PR I am working on sees this precondition check fail
https://github.com/apache/incubator-pinot/pull/6120/files#diff-72f553df4ca44372ea5d03e5596b6558317dd8ba083956e93c458b8081e49d42
Basically enabled BitmapBasedFilterOperator on regexp_like

please rebase before addressing comments.

@pradeepgv42 I noticed there's no documentation for this index here:
Would you please add some?


chore: add volunteer Pratik Bhangire

Thanks for volunteering @pratikbhangire123 :)
Added a small comment.

Perfect. Welcome!


--delete-before removes source file

What is your rclone version (eg output from rclone -V)

rclone v1.35-DEV
commit 980cd5bfd8cd7b855e04eb8291189ace2060a185

Which OS you are using and how many bits (eg Windows 7, 64 bit)

openSUSE Leap 42.2 64 bit
Debian jessie from docker golang:1.7

Which cloud storage system are you using? (eg Google Drive)

none, only local

The command you were trying to run (eg rclone copy /tmp remote:tmp)

# setup
rclone copy $GOPATH/bin/rclone /tmp/foo/bin
cd /tmp/foo/bin/
# without delete-before is fine
rclone copy . .. -vv --include rclone
# with delete-before deletes /tmp/foo/bin/rclone
rclone copy . .. -vv --delete-before --include rclone

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

without delete-before
2017/02/21 15:26:14 DEBUG : rclone: Version "v1.35-DEV" starting with parameters ["rclone" "copy" "." ".." "-vv" "--include" "rclone"]
2017/02/21 15:26:14 INFO  : Local file system at /tmp/foo: Modify window is 1ns
2017/02/21 15:26:14 INFO  : Local file system at /tmp/foo: Waiting for checks to finish
2017/02/21 15:26:14 INFO  : Local file system at /tmp/foo: Waiting for transfers to finish
2017/02/21 15:26:14 INFO  : rclone: Copied (new)
2017/02/21 15:26:14 INFO  :
Transferred:   22.613 MBytes (194.216 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            1
Elapsed time:       100ms
2017/02/21 15:26:14 DEBUG : Go routines at exit 4
2017/02/21 15:26:14 DEBUG : rclone: Version "v1.35-DEV" finishing with parameters ["rclone" "copy" "." ".." "-vv" "--include" "rclone"]

with delete-before
2017/02/21 15:26:31 DEBUG : rclone: Version "v1.35-DEV" starting with parameters ["rclone" "copy" "." ".." "-vv" "--delete-before" "--include" "rclone"]
2017/02/21 15:26:31 INFO  : Local file system at /tmp/foo: Modify window is 1ns
2017/02/21 15:26:31 INFO  : Waiting for deletions to finish
2017/02/21 15:26:31 INFO  : Local file system at /tmp/foo: Waiting for checks to finish
2017/02/21 15:26:31 INFO  : Local file system at /tmp/foo: Waiting for transfers to finish
2017/02/21 15:26:31 INFO  : bin/rclone: Deleted
2017/02/21 15:26:31 INFO  : Local file system at /tmp/foo: Waiting for checks to finish
2017/02/21 15:26:31 INFO  : Local file system at /tmp/foo: Waiting for transfers to finish
2017/02/21 15:26:31 INFO  :
Transferred:      0 Bytes (0 Bytes/s)
Errors:                 0
Checks:                 1
Transferred:            0
Elapsed time:          0s
2017/02/21 15:26:31 DEBUG : Go routines at exit 4
2017/02/21 15:26:31 DEBUG : rclone: Version "v1.35-DEV" finishing with parameters ["rclone" "copy" "." ".." "-vv" "--delete-before" "--include" "rclone"]

Ouch rclone copy shouldn't be deleting anything!  That needs fixing ASAP.
Assuming I fix that, If I try your example with rclone sync then both the syncs give the same result bin/rclone is deleted.  That is what I would expect as the source and the destination overlap.
$ mkdir -p /tmp/foo/bin
$ rclone copy $GOPATH/bin/rclone /tmp/foo/bin
$ cd /tmp/foo/bin
$ rclone sync . .. -vv --include rclone
2017/02/22 10:42:14 DEBUG : rclone: Version "v1.35-DEV" starting with parameters ["rclone" "sync" "." ".." "-vv" "--include" "rclone"]
2017/02/22 10:42:14 INFO  : Local file system at /tmp/foo: Modify window is 1ns
2017/02/22 10:42:14 INFO  : Local file system at /tmp/foo: Waiting for checks to finish
2017/02/22 10:42:14 INFO  : Local file system at /tmp/foo: Waiting for transfers to finish
2017/02/22 10:42:14 INFO  : rclone: Copied (new)
2017/02/22 10:42:14 INFO  : Waiting for deletions to finish
2017/02/22 10:42:15 INFO  : bin/rclone: Deleted
2017/02/22 10:42:15 INFO  :
Transferred:   22.275 MBytes (190.006 MBytes/s)
Errors:                 0
Checks:                 1
Transferred:            1
Elapsed time:       100ms
2017/02/22 10:42:15 DEBUG : Go routines at exit 4
2017/02/22 10:42:15 DEBUG : rclone: Version "v1.35-DEV" finishing with parameters ["rclone" "sync" "." ".." "-vv" "--include" "rclone"]

$ rclone copy $GOPATH/bin/rclone /tmp/foo/bin
$ rclone sync . .. -vv --delete-before --include rclone
2017/02/22 10:42:47 DEBUG : rclone: Version "v1.35-DEV" starting with parameters ["rclone" "sync" "." ".." "-vv" "--delete-before" "--include" "rclone"]
2017/02/22 10:42:47 INFO  : Local file system at /tmp/foo: Modify window is 1ns
2017/02/22 10:42:47 INFO  : Waiting for deletions to finish
2017/02/22 10:42:47 INFO  : Local file system at /tmp/foo: Waiting for checks to finish
2017/02/22 10:42:47 INFO  : Local file system at /tmp/foo: Waiting for transfers to finish
2017/02/22 10:42:47 INFO  : bin/rclone: Deleted
2017/02/22 10:42:47 INFO  : Local file system at /tmp/foo: Waiting for checks to finish
2017/02/22 10:42:47 INFO  : Local file system at /tmp/foo: Waiting for transfers to finish
2017/02/22 10:42:47 INFO  :
Transferred:      0 Bytes (0 Bytes/s)
Errors:                 0
Checks:                 1
Transferred:            0
Elapsed time:          0s
2017/02/22 10:42:47 DEBUG : Go routines at exit 4
2017/02/22 10:42:47 DEBUG : rclone: Version "v1.35-DEV" finishing with parameters ["rclone" "sync" "." ".." "-vv" "--delete-before" "--include" "rclone"]
$

I've fixed the copy deleting files with --delete-before issue here
http://beta.rclone.org/v1.35-132-g6b0f2ef/ (uploaded in 15-30 mins)
Please re-open the ticket if there is still a problem.
Thanks for reporting

looks good to me, thanks for the quick fix.


fix: fix memo path

对于嵌套主题，token 会存在递进关系：
const tokenPath1 = [token1];
const tokenPath2 = [token1, token2];

这使得路径存在子集关系时，两者会冲突。添加额外的 value 映射对象隔离这种情况。

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (3e59218) 94.32% compared to head (6d176f5) 94.58%.

:exclamation: Current head 6d176f5 differs from pull request most recent head 1914d21. Consider uploading reports for the commit 1914d21 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
+ Coverage   94.32%   94.58%   +0.26%
==========================================
  Files          25       25
  Lines        2202     2199       -3
  Branches      346      346
==========================================
+ Hits         2077     2080       +3
+ Misses        125      119       -6

Files
Coverage Δ

src/hooks/useCacheToken.tsx
99.41% <100.00%> (-0.02%)
:arrow_down:

src/util.ts
55.40% <100.00%> (+4.05%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Code coverage is broken on codecov.io

All six code coverage reports can be uploaded successfully:
https://travis-ci.org/pmwmedia/tinylog/builds/157230235#L3777
But codecov.io fails to process the code coverage reports:
https://codecov.io/gh/pmwmedia/tinylog/commit/35b60112231696d48a112e82587f44b1fef4b902

Fixed with commit d9ef9d21b02a98e957a29e3136898355465c7cd2


feat(config): add Fibaro Smart Switch FGS214

@AlCalzone : Based on your config file for Fibaro Double Smart Switch FGS224 I adopted it to Single Smart Switch FGS224. Please check....I'm not an Expert!

Thanks, looks good!

Thanks, looks good!


ci: update dependencies

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

bump some deps in CI

This change is

lgtm 🙈

Not sure why, test-units was failing due to some import error in ethereum package, tried to use a specific rev so that we no longer have randomness


login, register, password_forgotten views

Specs

register: a user can only register with a @epita.fr or @lrde.epita.fr e-mail address

Everything is there and working


Fees become "hbar transfers" if staking reward is present

Description
When you view details of transactions not related to crypto transfer (i.e., token association) the hbar movements are correctly categorized and shown in a separate section called "Fee transfers" (i.e., https://hashscan.io/mainnet/transaction/1685730454.016784003):

When the same type of transaction contains a staking reward (i.e., https://hashscan.io/mainnet/transaction/1685729785.499403003), the same transfers are now categorized as "Hbar transfers":

My suggestion is to create a separate section for staking rewards. This will also fix all the normal crypto transfers details, where staking rewards are mixed with all other transfers (i.e., https://hashscan.io/mainnet/transaction/1685730942.808281553):

Steps to reproduce

navigate to https://hashscan.io/mainnet/transaction/1685730454.016784003
fees are under "fee transfers"
navigate to https://hashscan.io/mainnet/transaction/1685729785.499403003
fees are under "hbar transfers"

Additional context
No response
Hedera network
mainnet, testnet, previewnet
Version
v23.5.0-6-g1325d76
Operating system
None

Related to #529


Change Access Level Modifier of Clear() method from MappingConfigurat…

The main purpose of this pull request is to modify the access level of Clear() method from MappingConfiguration.cs.
It will be of great value to have this method exposed, allowing to clear the mappings defined for an instance.

Sorry for the delay in the answer, we haven't forgot about your contribution.
I'll look at it in the next few days.


Enable riak cache tests on travis-ci

Fix for #415

Thanks. Not sure why the CI runs are not showing up here, but they did run https://travis-ci.org/mapproxy/mapproxy/pull_requests and somehow fail.
(You can ignore the Python 2.7/USE_LATEST_PILLOW=1 errors).

Looks like travis-ci does not like when git push is forced and previous build is not finished.
I will trigger build later, seems everything will be ok.

Ready.
Only 2.7 with latest pillow fails.

Thanks for the quick fix!


Update quality settings

rename tox envs
update travis to use new names
add black and flake8
set line length to 120
temporary allow failure for isort, black and flake8 on travis
fix django version for docs building

Looks fine, go ahead.


Fix incorrect feature state for PVC expansion

Fixes :- #36628
Closes :- #36628
Describe the solution

changed the feature state shortcode from beta to stable since the feature as stable for v1.24
page updated :- https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims

/retitle Fix incorrect feature state for PVC expansion

/qpprove

/lgtm

/approve


add latex rendering in arma.jl

This PR adds latex rendering to arma.jl

Codecov Report

Merging #166 into master will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
- Coverage   90.29%   90.15%   -0.14%
==========================================
  Files          23       23
  Lines        1442     1442
==========================================
- Hits         1302     1300       -2
- Misses        140      142       +2

Impacted Files
Coverage Δ

src/arma.jl
100% <ø> (ø)
:arrow_up:

src/lss.jl
98.11% <0%> (-1.89%)
:arrow_down:

src/markov/mc_tools.jl
95.74% <0%> (-1.07%)
:arrow_down:

Continue to review full report at Codecov.

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

Looks great! 👍
Thanks