Rename trusted-pgx to plrust-trusted-pgx

This changeset renames trusted-pgx to plrust-trusted-pgx so that we can publish it to crates.io while being good citizens.  The intent is for it to be versioned independently of both pgx and plrust.  It is likely that it'll need to evolve in ways that aren't necessarily tied to specific pgx/plrust releases.
We also introduce a new GUC, plrust.trusted_pgx_version so plrust administrators can change the default version.  Which, the default version, is whatever plrust-trusted-pgx is set to in this workspace at the time the plrust binary was built.  This value is sussed out by spawning cargo tree ... during plrust's new build.rs execution.
The plrust-trusted-pgx version is now stored in the pg_proc.prosrc catalog entry in a new, non-optional, property named "trusted_pgx_version".  This value is not used right now, but it may be necessary in the future should we support re-compilation.
There's now a ./publish.sh script in the root that only publishes plrust-trusted-pgx.

I think using cargo tree is not ideal but it's probably the easiest approach.

I think using cargo tree is not ideal but it's probably the easiest approach.

I don't like it much either, but also didn't like the idea of finding the plrust-trusted-pgx directory and directly opening its Cargo.toml and parsing it with the toml crate.  That seemed like re-inventing the wheel a bit.


Set up repo for contribution.

This PR:

Adds contribution doc and MIT License
Adds prettier, formats code accordingly

closes https://github.com/devlyn37/Safety-Goggles/issues/22

@Josiassejod1 Thanks for the feedback!


should keep bundleDependencies in package.json?

We have defined bundleDependencies in package.json
Looking into npm docs, bundleDependencies are used to specify dependencies that will be bundle when publish. But current version published in npm, don't have dependencies (node_modules).
So, Is worth it keep bundleDependencies? Is anyone using anywhere? Or we can remove?

cc @watilde @EmmaRamirez


How can I visualize the point cloud?

Hi,
Thanks for your great work. I want to know how I can visualize the point cloud from the depth image by Open3D. According the Camera Intrinsics, I don't know the content of the intrinsics.json file. Could you give me an example of this file?
Another question, when do you plan to release the scripts that used to produce the data set?
Thank you very much!

it follows the format for open3d intrinsic file
something like this:
{
	"height" : 480,
	"intrinsic_matrix" :
	[
<PHONE_NUMBER>359375,
		0.0,
		0.0,
		0.0,
<PHONE_NUMBER>8046875,
		0.0,
<PHONE_NUMBER>8671875,
<PHONE_NUMBER>640625,
		1.0
	],
	"width" : 848
}

Thanks for your reply. The height of image is 1440, and the width is 1080. How can I get the intrinsic matrix?

How did you get it to output a point cloud?

@dldl3D please refer to this section describing intrinsic parameters.  You'll have to find out what they are from the make/model of the camera you're using or do camera calibration to figure them out.
That said, the output is inferred depth that does not correspond exactly with the intrinsic parameters of the camera.
https://en.wikipedia.org/wiki/Camera_resectioning#Intrinsic_parameters
@paruliansaragi the output is an inferred depth image that can be projected into 3D space forming a point cloud.  I used Open3D but the output does not correspond exactly with the intrinsic parameters.
see here: https://github.com/intel-isl/MiDaS/issues/4


Manacher's algorithm in Java

Have you read the Contributing Guidelines on Pull Requests?
Yes
(Write your answer here.)
Description
Manacher's algorithm is an algorithm to find the largest palindromic substring in a string in O(n) time. It revolves around the concept of not rechecking each element if it already exists as a smaller palindrome, as a suffix/prefix of a bigger palindrome.
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Issue #667
(Write your answer here.)

@siddharth25pandey @Kajol-Kumari @plazzy99 @SKAUL05 @iamrajiv please review and tell me what I should change. I have pulled the latest code from the master branch and it doesn't show any conflicts in terminal/VSCode.

Please remove merge confilcter

@plazzy99 how to do this?? Both GitHub and VS Code say that there are no merge conflicts.

try removing you edit in readme file
might be it is conflicting

@plazzy99 I removed the edits in README.md and now it's passing the tests. So should I not put any changes in README.md for the path of the algorithm?

@ritvij14 Do not worry about Merge Conflicts Labeler like it does not check merge conflicts but add labels to the PR if the PR has merge conflicts. So if Merge Conflicts Labeler is failing it does not mean that the branch has conflicts. If there is merge conflicts it will show like this
.

@plazzy99 I removed the edits in README.md and now it's passing the tests. So should I not put any changes in README.md for the path of the algorithm?

If you find merge conflicts then don't make an edit in readme file instead mention it in the pr

@iamrajiv ok understood. But should I put changes in README for the path to the Java program I have written?

@ritvij14 please update the readme

@iamrajiv done.

@plazzy99 but it's showing correctly on mine


JSDoc: implement mechanism to separate internal docs from public facing docs

We should support different levels of privacy and more specifically we need to have a way to specify which classes / methods / functions are part of the public facing API, which ones are "public" and which ones are "private". OpenLayers have solved this by defining their own @api tag (eg: https://github.com/openlayers/openlayers/blob/master/src/ol/map.js#L87).
cc: @Jesus89

I think we could use this @api tag, so we could have:
npm run docs
npm run docs:all


Create Utils class and move common functions to that class

Working on it :+1:

what functions you are talking about its very vague

setUpCustomTab is an example


[windows] starting crash reporter from renderer blocks for 1-2s

This happens with 0.32.2, I did not happen with 0.27.3. We start the crash reporter from the renderer as part of our startup and I can see with 0.32.2 that this seems to block the renderer process for 1-2 seconds. This results in the entire UI being blocked and not doing anything for this period.
Did anything change in this area that could cause this? Our workaround for now is to not start the crash reporter from the renderer.

Btw I think it also blocks from the main side.

@zcbenz could it be that electron is now waiting until the crash reporter is up and running and before it did not? I see two commits that might have an impact: https://github.com/atom/electron/commit/db58048077f604f46814a7e5dff3d87a1fd7e3f3 and https://github.com/atom/electron/commit/c872b1a770c49df662fded29005ab760ed2dfe0c

It seems very likely.

:+1:

@zcbenz I am a bit puzzled, I see this again with 0.34.1 but have no clue what changed in this one week.

@bpasero Can you try running the crash service process first:
set ATOM_SHELL_INTERNAL_CRASH_SERVICE=1
electron.exe --v=1 --application-name=AppName --reporter-url=somewhere

and then try whether the crashReporter.start() blocks?
(AppName has to match your app's name.)

@zcbenz at my Windows at home I cannot reproduce the delay with the crash reporter anymore so maybe I did something wrong at work. I will check this out again next week from Work to see if its an issue on my end and let you know!

Nevermind I think this was a red herring.


Small Animation Issue

in the demo project i added the following line between the 2 switches in the 1st section:
[section addCell:[BOStepperTableViewCell cellWithTitle:@"Stepper" key:@"stepper" handler:nil]];

Now if you try to change value of the 1st switch there is a small animation issue while the tableview is trying to animate switch 2 into the view.
Same goes if i put the stepper as the 1st cell. if however i put the stepper as the 3rd cell (last one of 1st section) the animation works fine

I'm suspicious it could be related to how BOTableViewController animates option updates, but I don't know why it's triggered exactly in that specific scenario.
These lines are definitely worth playing around with to see if the issue persists and how to fix it.

I experienced this same issue as well. It got solved once I moved the cell that can get displayed/hidden in a separate section.
I wasn't using a BOStepperTableViewCell so I think it's related to the order/section of cells that use the visibly feature.

so I think it's related to the order/section of cells that use the visibly feature.

That makes even more sense. We'll need to check the visibility logic for the table view then.
Thanks for commenting @gmoledina!


purpose of the program

Can we perform any file operations like copy,remove etc on the files based on tags ?
If not, is it intended for viewing tags only ?
is there a way to pipe file names only to stdout , to perform file operations ?
I request you to provide that feature ( just printing file names only) to make the program more useful.

Thanks for your feedback!
For now you cant perform any operations directly through wutag but you can surely use the search sub command to search for files that contain certain tags and use the —raw flag to make the output pipeable to other command.
I will have to think more on how to expand the functionality as for now it’s not very useful other than tagging and searching for files that are tagged.
If you have any other suggestions than please do share :) thanks.

using -raw flag giving following error
./wutag  -raw -d ~/Downloads/epubs search amazon                                                                                20:45
error: Found argument '-a' which wasn't expected, or isn't valid in this context

If you tried to supply `-a` as a PATTERN use `-- -a`

USAGE:
    wutag [FLAGS] [OPTIONS] <SUBCOMMAND>

For more information try --help

The --raw flag should be prefixed with two - dashes. If you type ./wutag search --help it will show you how to achieve what you need.
❯ wutag search --help
wutag-search
Searches for files that have all of the provided `tags`

USAGE:
    wutag search [FLAGS] <tags>...

ARGS:
    <tags>...

FLAGS:
    -h, --help       Prints help information
        --raw        If provided output will be raw so that it can be easily piped to other commands

So for example if you tag some files with wutag set '*' photos you can later do something like this:
ls -l $(wutag search --raw photos)

thanks for your suggestion.
now we can apply xargs or other command line utilities to process the output, which is very useful.


User controlled phonenumbers, I don't get it.

Hi.
I'm looking into this plugin for 2fa OTP (obviously)
We have implemented security to avoid users having the ability to change their mobile-number in Active Directory (LDAP). This is done by moving the number to a LDAP-property that MSExchange cannot write to.
A users mobile-number can be changed via Microsoft Exchange by the user, which is a complete blunder in my eyes (exchange doesn't support 2FA) - so, an attacker could change the number, via Exchange Webmail (via username+password) and after that, have SMS-based OTP access.
I would really love to understand why user-managed mobile numbers (which I think, from reading here, is what this addon uses) can be secure. The second factor would be that we know that the number is the right one.
I'm not bashing, I'm just trying to understand why this implementation is considered secure (I must be missing something).

The same is true for TOTP or FIDO2. All second factors are basically user managed. SMS is considered to be the least secure of the three though.

I do understand the implementation from er service providers perspective, where the user is responsible for their own security.
The first sign-up is crititical in my view - when instructing 100+ users to sign up, I can se some kind of security race-condition, where an attacker could sign up first.
Some users might never sign up and leave the door open.
Maybe only allowing sign-up from certain source-ip's could mitigate this but not for certain.
This extension (https://github.com/dasniko/keycloak-2fa-sms-authenticator) uses the mobile-number attribute for the SMS OTP, I guess I'll keep looking for something that can use a custom readonly-attribute.

The first sign-up is crititical in my view - when instructing 100+ users to sign up, I can se some kind of security race-condition, where an attacker could sign up first.

IMHO this depends on your threat model and the way you create accounts. If you have registration enabled in your Keycloak server, you can use the enforce-mfa plugin to force users to immediately set up a second factor.
If you have the phone number available before the first sign in, then enforcing MFA with the phone number is obviously an advantage. But that is not possible in all cases.

Oh, i must have missed something in the docs.
I didn't think the extension could use predefined numbers.


ImportError: libpyside6.abi3.so.6.4: cannot open shared object file: No such file or directory

bug2.py
# python -m pip install nuitka PySide6-Essentials
# python -m nuitka bug2.py
# bug2.dist/bug2.bin

# nuitka-project: --quiet
# nuitka-project: --standalone
# nuitka-project: --static-libpython=no
# nuitka-project: --enable-plugin=pyside6

from PySide6.QtCore import QCoreApplication

application = QCoreApplication()
print("Done.")

Output:

ImportError: libpyside6.abi3.so.6.4: cannot open shared object file: No such file or directory

Similarly, my executables have stopped working on Windows, so I doubt this is a system configuration error. Executables terminate without error message, which I why I went for Linux to grab more meaningful outputs.

I can repro this with v1.5.1 but not v1.5 from PyPI. Looking at https://github.com/Nuitka/Nuitka/compare/1.5...1.5.1, is it https://github.com/Nuitka/Nuitka/commit/a899b82df3dfa28ca0835961aa5bce6298ff40f5?

Interestingly, the two binaries (working and non-working ones) have exactly the same size:
-rwxrwxrwx 1 bers bers 8533600 Mar 15 16:57 bug2.dist/bug2.bin*
-rwxrwxrwx 1 bers bers 8533600 Mar 15 17:00 bug2.dist/bug2.bin*

In the template, I have made it clear, that not filling out the issue template is not acceptable. I am closing this kind of report as invalid. The main reason is that I do not want to be left guessing. For you it's easy to erase the issue template and expect me to ask you questions only as necessary, but I cannot do that. I would much rather wait for you to create a new report, fill out the template, or wait for somebody with the necessary skill to do it.
In short: No issue template, no fun. Therefore I am likely just deleting the issue, as it serves as a bad example and detraction for searches.  And even worse, it might keep good reporters from reporting as is this "already known."


cordova-plugin-googlemaps does not install

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Steps to reproduce:

Start a new project with ionic start MyIonic2Project tabs --v2
Run ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE" as described in the docs (substituting real API keys)
Copy the exact code from http://ionicframework.com/docs/v2/native/google-maps/ into a new page component.
npm run ionic:serve
Navigate to the page in the browser
... OR
ionic run android --livereload
navigate to the page in the emulator

-->
Current behavior:

Expected behavior:
A map of some kind
Other information:

Ionic info:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS Sierra
Node Version: v7.2.0
Xcode version: Not installed

This issue was moved to driftyco/ionic-native#849


Not actually working : style statement

Whenever I'm running this code I'm getting the error:

Traceback (most recent call last):
File "instaRaider.py", line 235, in
raider.getPhotos(source, userName, count)
File "instaRaider.py", line 163, in getPhotos
rawUrl = x['style']
File "build/bdist.macosx-10.10-intel/egg/bs4/element.py", line 905, in getitem
KeyError: 'style'

That's because it looks like Instagram recently changed their front-end to use React. The entire structure of the HTML is different and all of the CSS selectors are now broken. Should be easy to fix but might take me a few weeks before I can get to it.

The latest commit should have fixed this issue. Please let me know if it works for you.


Added support for escaping message and title

Take code from #211 and apply changes requested by repo maintainers and re-submit.

yes

It looks like you can close this issue.  As best I can tell, support for HTML escaping was added in #322, and merged in #326.


Extra routes

Was thinking if you could add support for adding express routes?
Maybe just by allowing passing an existing express instance to createReactAppExpress.
Thanks for this great tool!

Can you add the routes on this file?
https://github.com/antonybudianto/cra-universal/blob/master/templates/server/src/index.js

Tried, but I think that the routing in create-react-app-express takes precedence over any other route.

I see, then something needs to be done on the middleware level. I'll check it out on weekend.

@CruelMoney hi, can you try this upcoming major release?
https://github.com/antonybudianto/create-react-app-express/tree/dev-lerna#public-exports
It should support passing your express app instance

Works beautifully! Thank you.


Display execution time after running a query

Is your feature request related to a problem? Please describe.
When running queries, I would like to see the execution time without needing to install another client.
Describe the solution you'd like
After running a query and seeing results, I would like to see an 'execution time' output in the preview pane, or in the SQL Console.
Describe alternatives you've considered
Installing the MySQL client and running queries there.
Additional context
Relates to https://github.com/mtxr/vscode-sqltools/discussions/882

Adding my support of this request.  It's unclear sometimes if your query has run properly if you're running long running queries.  I'm using pgsql and hit execute and no feedback/status is available on what may be a long running query.


[BUG] Build and Publish Docker Multi-Arch

Describe the bug

ERROR: Multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")

See: https://github.com/envite-consulting/camunda-carbon-reductor/actions/runs/5690641292/job/15424376716
Expected behavior
Build and publish für multiple architectures.
Environment (please complete the following information):

GitHub Actions only

Additional context
Possible opportunities would:

https://github.com/docker/build-push-action/issues/302#issuecomment-823849133
https://github.com/docker/setup-buildx-action#inputs

Disabled GitHub Action because the build would take more than 10 minutes ...


Bundler gem release error

What command did you try to run?

bundle exec rake release

What did you expect to happen?

I expected Bundler to release my gem, updating the version and pushing it to GitHub and Rubygems.

What actually happened?

Bundler crashed immediately with this stack trace:
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/x86_64-darwin15/psych.bundle: warning: already initialized constant Psych::Parser::ANY
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/x86_64-darwin15/psych.bundle: warning: already initialized constant Psych::Parser::UTF8
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/x86_64-darwin15/psych.bundle: warning: already initialized constant Psych::Parser::UTF16LE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/x86_64-darwin15/psych.bundle: warning: already initialized constant Psych::Parser::UTF16BE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:6: warning: already initialized constant Psych::ClassLoader::BIG_DECIMAL
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:6: warning: previous definition of BIG_DECIMAL was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:7: warning: already initialized constant Psych::ClassLoader::COMPLEX
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:7: warning: previous definition of COMPLEX was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:8: warning: already initialized constant Psych::ClassLoader::DATE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:8: warning: previous definition of DATE was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:9: warning: already initialized constant Psych::ClassLoader::DATE_TIME
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:9: warning: previous definition of DATE_TIME was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:10: warning: already initialized constant Psych::ClassLoader::EXCEPTION
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:10: warning: previous definition of EXCEPTION was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:11: warning: already initialized constant Psych::ClassLoader::OBJECT
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:11: warning: previous definition of OBJECT was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:12: warning: already initialized constant Psych::ClassLoader::PSYCH_OMAP
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:12: warning: previous definition of PSYCH_OMAP was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:13: warning: already initialized constant Psych::ClassLoader::PSYCH_SET
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:13: warning: previous definition of PSYCH_SET was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:14: warning: already initialized constant Psych::ClassLoader::RANGE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:14: warning: previous definition of RANGE was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:15: warning: already initialized constant Psych::ClassLoader::RATIONAL
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:15: warning: previous definition of RATIONAL was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:16: warning: already initialized constant Psych::ClassLoader::REGEXP
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:16: warning: previous definition of REGEXP was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:17: warning: already initialized constant Psych::ClassLoader::STRUCT
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:17: warning: previous definition of STRUCT was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:18: warning: already initialized constant Psych::ClassLoader::SYMBOL
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:18: warning: previous definition of SYMBOL was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/class_loader.rb:64: warning: already initialized constant Psych::ClassLoader::CACHE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/class_loader.rb:64: warning: previous definition of CACHE was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/scalar_scanner.rb:8: warning: already initialized constant Psych::ScalarScanner::TIME
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/scalar_scanner.rb:8: warning: previous definition of TIME was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/scalar_scanner.rb:11: warning: already initialized constant Psych::ScalarScanner::FLOAT
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/scalar_scanner.rb:11: warning: previous definition of FLOAT was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/scalar_scanner.rb:17: warning: already initialized constant Psych::ScalarScanner::INTEGER
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/scalar_scanner.rb:17: warning: previous definition of INTEGER was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/stream.rb:12: warning: already initialized constant Psych::Nodes::Stream::ANY
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/stream.rb:12: warning: previous definition of ANY was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/stream.rb:15: warning: already initialized constant Psych::Nodes::Stream::UTF8
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/stream.rb:15: warning: previous definition of UTF8 was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/stream.rb:18: warning: already initialized constant Psych::Nodes::Stream::UTF16LE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/stream.rb:18: warning: previous definition of UTF16LE was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/stream.rb:21: warning: already initialized constant Psych::Nodes::Stream::UTF16BE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/stream.rb:21: warning: previous definition of UTF16BE was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/sequence.rb:42: warning: already initialized constant Psych::Nodes::Sequence::ANY
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/sequence.rb:42: warning: previous definition of ANY was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/sequence.rb:45: warning: already initialized constant Psych::Nodes::Sequence::BLOCK
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/sequence.rb:45: warning: previous definition of BLOCK was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/sequence.rb:48: warning: already initialized constant Psych::Nodes::Sequence::FLOW
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/sequence.rb:48: warning: previous definition of FLOW was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/scalar.rb:9: warning: already initialized constant Psych::Nodes::Scalar::ANY
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/scalar.rb:9: warning: previous definition of ANY was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/scalar.rb:12: warning: already initialized constant Psych::Nodes::Scalar::PLAIN
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/scalar.rb:12: warning: previous definition of PLAIN was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/scalar.rb:15: warning: already initialized constant Psych::Nodes::Scalar::SINGLE_QUOTED
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/scalar.rb:15: warning: previous definition of SINGLE_QUOTED was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/scalar.rb:18: warning: already initialized constant Psych::Nodes::Scalar::DOUBLE_QUOTED
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/scalar.rb:18: warning: previous definition of DOUBLE_QUOTED was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/scalar.rb:21: warning: already initialized constant Psych::Nodes::Scalar::LITERAL
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/scalar.rb:21: warning: previous definition of LITERAL was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/scalar.rb:24: warning: already initialized constant Psych::Nodes::Scalar::FOLDED
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/scalar.rb:24: warning: previous definition of FOLDED was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/mapping.rb:16: warning: already initialized constant Psych::Nodes::Mapping::ANY
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/mapping.rb:16: warning: previous definition of ANY was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/mapping.rb:19: warning: already initialized constant Psych::Nodes::Mapping::BLOCK
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/mapping.rb:19: warning: previous definition of BLOCK was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/nodes/mapping.rb:22: warning: already initialized constant Psych::Nodes::Mapping::FLOW
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/nodes/mapping.rb:22: warning: previous definition of FLOW was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/visitors/visitor.rb:10: warning: already initialized constant Psych::Visitors::Visitor::DISPATCH
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/visitors/visitor.rb:10: warning: previous definition of DISPATCH was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/handler.rb:26: warning: already initialized constant Psych::Handler::OPTIONS
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/handler.rb:26: warning: previous definition of OPTIONS was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/handler.rb:29: warning: already initialized constant Psych::Handler::EVENTS
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/handler.rb:29: warning: previous definition of EVENTS was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/visitors/yaml_tree.rb:430: warning: already initialized constant Psych::Visitors::YAMLTree::NULL
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/visitors/yaml_tree.rb:439: warning: previous definition of NULL was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/visitors/yaml_tree.rb:431: warning: already initialized constant Psych::Visitors::YAMLTree::BINARY_RANGE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/visitors/yaml_tree.rb:440: warning: previous definition of BINARY_RANGE was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/visitors/yaml_tree.rb:432: warning: already initialized constant Psych::Visitors::YAMLTree::WS_RANGE
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/psych-2.0.16/lib/psych/visitors/yaml_tree.rb:441: warning: previous definition of WS_RANGE was here
/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/parser.rb:33:in `<class:Parser>': superclass mismatch for class Mark (TypeError)
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/parser.rb:32:in `<module:Psych>'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych/parser.rb:1:in `<top (required)>'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych.rb:7:in `require'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/2.2.0/psych.rb:7:in `<top (required)>'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems.rb:612:in `require'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems.rb:612:in `load_yaml'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/config_file.rb:325:in `load_file'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/config_file.rb:197:in `initialize'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/gem_runner.rb:74:in `new'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/gem_runner.rb:74:in `do_configuration'
	from /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/gem_runner.rb:39:in `run'
	from /Users/dummy/.rbenv/versions/2.2.3/bin/gem:21:in `<main>'

Tasks: TOP => release => build
(See full trace by running task with --trace)

What is your bundler env?

Environment

    Bundler   1.11.0
    Rubygems  2.5.1
    Ruby      2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
    GEM_HOME  /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0
    GEM_PATH  /Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0:/Users/dummy/.gem/ruby/2.2.0
    Git       2.6.4

Bundler settings

    gem.coc
      Set for the current user (/Users/dummy/.bundle/config): "false"
    gem.mit
      Set for the current user (/Users/dummy/.bundle/config): "false"
    gem.test
      Set for the current user (/Users/dummy/.bundle/config): "rspec"
    bin_path
      Set via BUNDLE_BIN_PATH: "/Users/dummy/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.0/exe/bundle"
    gemfile
      Set via BUNDLE_GEMFILE: "/Users/dummy/Workspace/dummy/Gemfile"

Gemfile

    source 'https://rubygems.org'

    # Specify your gem's dependencies in dummy.gemspec
    gemspec

Gemfile.lock

    PATH
      remote: .
      specs:
        dummy (1.1.0)

    GEM
      remote: https://rubygems.org/
      specs:
        diff-lcs (1.2.5)
        rake (10.4.2)
        rspec (3.4.0)
          rspec-core (~> 3.4.0)
          rspec-expectations (~> 3.4.0)
          rspec-mocks (~> 3.4.0)
        rspec-core (3.4.1)
          rspec-support (~> 3.4.0)
        rspec-expectations (3.4.0)
          diff-lcs (>= 1.2.0, < 2.0)
          rspec-support (~> 3.4.0)
        rspec-mocks (3.4.0)
          diff-lcs (>= 1.2.0, < 2.0)
          rspec-support (~> 3.4.0)
        rspec-support (3.4.1)

    PLATFORMS
      ruby

    DEPENDENCIES
      bundler (~> 1.10)
      dummy!
      rake (~> 10.0)
      rspec

    BUNDLED WITH
       1.11.0

dummy.gemspec:

    # coding: utf-8
    lib = File.expand_path('../lib', __FILE__)
    $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
    require 'dummy/version'

    Gem::Specification.new do |spec|
      spec.name          = "dummy"
      spec.version       = Dummy::VERSION
      spec.authors       = ["dummy"]
      spec.email         = ["dummy"]

      spec.summary       = %q{dummy}
      spec.description   = %q{dummy}
      spec.homepage      = "dummy"

      spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
      spec.bindir        = "exe"
      spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
      spec.require_paths = ["lib"]

      spec.add_development_dependency "bundler", "~> 1.10"
      spec.add_development_dependency "rake", "~> 10.0"
      spec.add_development_dependency "rspec"
    end

It looks like this was fixed in 1.11.1 which was just released. See #4149

I have the same problem using 1.11.1 and trying to update rails via bundle update rails
Error details
RuntimeError: LazySpecification has not been materialized yet (calling :required_ruby_version [])
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/lazy_specification.rb:75:in `method_missing'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:132:in `for?'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:275:in `block in search_for'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:275:in `select'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:275:in `search_for'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:332:in `block in verify_gemfile_dependencies_are_found!'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:330:in `each'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:330:in `verify_gemfile_dependencies_are_found!'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:199:in `start'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/resolver.rb:183:in `resolve'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/definition.rb:198:in `resolve'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/definition.rb:137:in `specs'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/definition.rb:126:in `resolve_remotely!'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/installer.rb:194:in `resolve_if_need'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/installer.rb:69:in `run'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/installer.rb:21:in `install'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/cli/update.rb:51:in `run'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/cli.rb:197:in `update'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/cli.rb:10:in `start'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/exe/bundle:19:in `block in <top (required)>'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'
  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.1/exe/bundle:17:in `<top (required)>'
  /Users/Mupko/.rbenv/versions/2.2.3/bin/bundle:23:in `load'
  /Users/Mupko/.rbenv/versions/2.2.3/bin/bundle:23:in `<main>'

Environment
Bundler   1.11.1
Rubygems  2.5.1
Ruby      2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
GEM_HOME  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0
GEM_PATH  /Users/Mupko/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0:/Users/Mupko/.gem/ruby/2.2.0
Git       2.6.4


WIP: Query Engine Refactor

Overview
This pull request refactors the query engine to properly support multiple shards, dimensional grouping, and series iteration.
Changes
Below is a list of top level changes:

[x] Query expansion
[x] Expression reduction
[x] Unexported SeriesIDs
[x] Moved internal tests from database_test.go to internal_test.go.
[x] Added SelectStatement.Clone()
[x] Added Dimensions.Normalize() to extract interval & group by tags.
[x] Moved Fold() into Reduce().
[x] Added Valuer to inject tag values into expressions during reduction.
[x] Added Tx to wrap cross-shard transactions for a query.
[x] Refactored iterator interface to be much simpler.
[x] Added buffered iterators and buffered mapper output channels.
[x] Extracted emit functionality into an Emitter type.
[x] Unique tag value sets
[x] Condition evaluation

@benbjohnson -- from a black-box point of view, does this change introduce any new query functionality?

this is good for now.


Webview eval

Hello Mohammed,
I tried the webview examples and it seems to me the "eval" function doesn't work on other threads.
 // wv.dispatch(|wv| {
    std::thread::spawn(move || {
        let mut count = 0;
        loop {
            std::thread::sleep(time::Duration::from_millis(400));
            wv.eval(&format!("counter({})", count));
            count += 1;
        }
    });
    // });

The counter is not updated.
I tried with spawn and dispatch.

Hello Henry
Unfortunately eval doesn't support being called from another thread:
https://github.com/webview/webview/issues/14
That said, the example works for me on Linux.
On windows it can be made to work using messages:
use fltk::{app, prelude::*, window};
use fltk_webview::*;

const HTML: &str = r#"
<html>
<body>
    hello
    <div id="result">
        ok
    </div>
</body>
</html>"#;

fn main() {
    let app = app::App::default();
    let mut win = window::Window::default()
        .with_size(800, 600)
        .with_label("Webview");
    let mut wv_win = window::Window::default()
        .with_size(790, 590)
        .center_of_parent();
    win.end();
    win.make_resizable(true);
    win.show();

    let mut wv = Webview::create(true, &mut wv_win);
    wv.init(
        r#"
    var counter = (s) => {
        let result = document.getElementById("result");
        result.innerText = s;
    };
    "#,
    );
    wv.set_html(HTML);

    let (s, r) = app::channel::<i32>();
    wv.dispatch(move |_wv| {
        std::thread::spawn(move || {
            let mut count = 0;
            loop {
                std::thread::sleep(std::time::Duration::from_millis(400));
                s.send(count);
                count += 1;
            }
        });
    });

    while app.wait() {
        if let Some(count) = r.recv() {
            wv.eval(&format!("counter({})", count));
        }
    }
}

Thank you.


Add probing hash tables

This PR extends the hashing support in meta to provide more generic support for

probing-based hash sets, and
probing-based hash tables

with a variety of optimizations for specific key and value data types (for example: placing key/value data inside the table itself or externally, caching hash values, ...). While these tables currently only support insert and find operations (read: no deletions), they offer significant performance advantages over something like std::unordered_X in many scenarios.
This also comes with an additional feature in the form of support for aligned allocation. The util::aligned_allocator<T, Size> class template provides a STL-compatible allocator that will ensure that allocations are guaranteed to be aligned on at least Size byte boundaries, allowing for allocations in e.g. std::vector<T> to be over-aligned relative to the data type T. This is potentially a performance improvement that can allow SIMD optimizations without having to generate prelude and postlude loops to ensure alignment, etc. In this case, it allows the probing::binary strategy to be efficient by ensuring the hash table is properly aligned to a cache line (64 bytes on most processors today).
A template alias util::aligned_vector<T> has been added that represents a std::vector<T> that is guaranteed to be aligned on 64 byte boundaries. One can also use util::aligned_vector<T, Size> to align on different boundaries, if desired.

Seems good to me, especially since we've been using it for a few weeks.

Merging; comments are minor and can be addressed later if necessary.


Block url requests with regex prop and notify javascript about the ev…

motivation
An alternative solution for onShouldStartLoadWithRequest callback
It is common case to block some urls and get called back to do something else, we did it in our project with regex prop to satisfy our requirement,  may others has the same requirement, so extracted the code out for all others use.
Usage
<WebView ref="webview"
                   source={{uri:"https://www.google.com"}}
		    onUrlBlocked={(event)=>{
			    alert("url blocked");
		    }}
		    blockList={[".*mail.*"]} // it will block link to any link contains 'mail' in current page, for this example, it will block link to gmail
		>
</WebView>

I'm not sure if adding this to the core component is the best approach. I would be OK with this functionality existing as part of a third party WebView component. With that said, I'll close this PR.

@hramos  Have you read the whole thread at #6478 where a feature parity proposed solution was declined by @astreet in favor of an approach similar to this PR? Thousands of developers are running into the issue of RN Android not supporting url overriding for Webviews properly and they are all led through a long maze with a disappointing ending, here.
The progress on this very real issue has been 0 since #6478 was closed by @pglotov due to pushback from @astreet and #12178 was closed without proper consideration of the PR.
Should we not consider getting either of these two PR's or some third option that just works into the RN core a top priority?
I know it is a hard problem, but consider the implementer; On a native Android app, this is a trivial issue, by simply implementing the shouldOverrideUrlLoading interface method. When adding React Native to the native app, it becomes an extremely complex issue. Not only do you have to implement the WebViewClient, but you now have to extend a RN View manager and figure out how to replicate the built in ReactWebViewClient which is not accessible to implementers in a protected inner class, here.
Considering the average implementer will not have a lot of native experience, asking them to do things that are harder than it would be for a native Android developer, does not seem right. The framework should do the hard work to make requirements like this trivial to implement. To make that work, I think we should do the hard work to help contributors get their valuable fixes and improvements landed.

On closer inspection, the extension is easier than it used to be, using https://github.com/facebook/react-native/pull/14261 and https://github.com/cbrevik/overrideWebview/blob/master/android/app/src/main/java/com/overridewebview/CustomWebViewManager.java , but still..

In my situation, block list can't help, white list is needed, then this feature will be complicated 😅


Cannot use omnifunc for some filetypes when LSP is enabled (for any other filetype)

I'm trying to use omnifunc for filetypes where a LSP is not available or not suitable for me. Minimal example:
vim9script

final complete_options = {
    omnifunc: {
        enable: true,
        filetypes: ['tex'],
    },
    lsp: {
        enable: true,
        filetypes: ['python'],
    },
}
autocmd VimEnter * g:VimCompleteOptionsSet(complete_options)

When editing *.tex file, the omnifunc completor is reported as enabled:
{'name': 'omnifunc', 'priority': 8, 'completor': function('vimcomplete#omnifunc#Completor')}

However, no entries are being completed unless I directly invoke <C-x><C-o>.  On the other hand, when I set lsp: {enable: false, …} in the options, the omnifunc completions springs to life automatically as I would expect.  No LSP for Python then, though. 🙁
I suspect the following line is the culprit:
https://github.com/girishji/vimcomplete/blob/4c80d44b8776c125a55cd506b6e5a4478c3d0d7d/autoload/vimcomplete/omnifunc.vim#L14
This should probably check if LSP is enabled for the current buffer, not globally (if I'm reading that correctly).

Fixed the bug. Please try again.

Now it works! Thanks!


Asynchronous Command Processing

One limitation of the JDBC driver was its lack of support for Asynchronous Command Processing.  Will pgadba support this?

As far as I have understood the documentation: yes, this is the whole point of the library.


Delete CSC Account

Can an option to delete an un-activated account in your wallet be added?

I used the "refresh wallet" option and the un-activated account disappeared from my list...interesting.

I will check this and let you know later


setmatrixtoken attempts to connect through a different port

my use case is a private matrix server that's connected by me and not part of the federation, so I don't have TLS or DNS setup
config.yaml has:
bridge:
  # Port to host the bridge on
  # Used for communication between the homeserver and the bridge
  port: 8434
  # The host connections to the bridge's webserver are allowed from
  bindAddress: localhost
  # Public domain of the homeserver
  domain: alarmserver.local
  # Reachable URL of the Matrix homeserver
  homeserverUrl: http://localhost:8008

the domain is a mdns name, which resolves to the link-local address of the VPN
everything works so far ( and works even with other double sock puppet bridges such as mautrix-whatsapp )
except when I try to double sock puppet by issuing setmatrixtoken I get:
Dec 05 13:59:34 alarmserver npm[5144]: Dec-5 13:59:34.833 [bot-sdk-Appservice] info: Processing event of type m.room.message
Dec 05 13:59:35 alarmserver npm[5144]: Dec-5 13:59:34.842 [BotProvisioner] info: Got message to process with arg=setmatrixtoken
Dec 05 13:59:35 alarmserver npm[5144]: <IP_ADDRESS> - - [05/Dec/2019:13:59:35 +0000] "PUT /transactions/51?access_token=SNIP HTTP/1.1" 200 2 "-" "Synapse/1.5.1"
Dec 05 13:59:42 alarmserver npm[5144]: Dec-5 13:59:42.372 [bot-sdk-MatrixLiteClient] error: (REQ-1) Error: connect ECONNREFUSED <IP_ADDRESS>:443
Dec 05 13:59:42 alarmserver npm[5144]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1136:16) {
Dec 05 13:59:42 alarmserver npm[5144]:   errno: -111,
Dec 05 13:59:42 alarmserver npm[5144]:   code: 'ECONNREFUSED',
Dec 05 13:59:42 alarmserver npm[5144]:   syscall: 'connect',
Dec 05 13:59:42 alarmserver npm[5144]:   address: '<IP_ADDRESS>',
Dec 05 13:59:42 alarmserver npm[5144]:   port: 443
Dec 05 13:59:42 alarmserver npm[5144]: }
Dec 05 13:59:49 alarmserver npm[5144]: Dec-5 13:59:49.891 [bot-sdk-Appservice] info: Processing transaction 52
Dec 05 13:59:49 alarmserver npm[5144]: Dec-5 13:59:49.893 [bot-sdk-Appservice] info: Processing event of type m.room.message
Dec 05 13:59:49 alarmserver npm[5144]: <IP_ADDRESS> - - [05/Dec/2019:13:59:49 +0000] "PUT /transactions/52?access_token=SNIP HTTP/1.1" 200 2 "-" "Synapse/1.5.1"

the IP is the DNS resolution of alarmserver.local, which is a valid IP the server is listening on, but port 443 is not and I don't understand why it's attempting to use the TLS port when I haven't set up for such

Maybe you have an incorrevtly set up .well-known file?
Am 5. Dezember 2019 15:21:24 MEZ schrieb BrainDamage<EMAIL_ADDRESS>
my use case is a private matrix server that's connected by me and not
part of the federation, so I don't have TLS or DNS setup
config.yaml has:
bridge:
 # Port to host the bridge on
 # Used for communication between the homeserver and the bridge
 port: 8434
 # The host connections to the bridge's webserver are allowed from
 bindAddress: localhost
 # Public domain of the homeserver
 domain: alarmserver.local
 # Reachable URL of the Matrix homeserver
 homeserverUrl: http://localhost:8008

the domain is a mdns name, which resolves to the link-local address of
the VPN
everything works so far ( and works even with other double sock puppet
bridges such as mautrix-whatsapp )
except when I try to double sock puppet by issuing setmatrixtoken I
get:
Dec 05 13:59:34 alarmserver npm[5144]: Dec-5 13:59:34.833
[bot-sdk-Appservice] info: Processing event of type m.room.message
Dec 05 13:59:35 alarmserver npm[5144]: Dec-5 13:59:34.842
[BotProvisioner] info: Got message to process with arg=setmatrixtoken
Dec 05 13:59:35 alarmserver npm[5144]: <IP_ADDRESS> - -
[05/Dec/2019:13:59:35 +0000] "PUT /transactions/51?access_token=SNIP
HTTP/1.1" 200 2 "-" "Synapse/1.5.1"
Dec 05 13:59:42 alarmserver npm[5144]: Dec-5 13:59:42.372
[bot-sdk-MatrixLiteClient] error: (REQ-1) Error: connect ECONNREFUSED
<IP_ADDRESS>:443
Dec 05 13:59:42 alarmserver npm[5144]:     at
TCPConnectWrap.afterConnect [as oncomplete] (net.js:1136:16) {
Dec 05 13:59:42 alarmserver npm[5144]:   errno: -111,
Dec 05 13:59:42 alarmserver npm[5144]:   code: 'ECONNREFUSED',
Dec 05 13:59:42 alarmserver npm[5144]:   syscall: 'connect',
Dec 05 13:59:42 alarmserver npm[5144]:   address: '<IP_ADDRESS>',
Dec 05 13:59:42 alarmserver npm[5144]:   port: 443
Dec 05 13:59:42 alarmserver npm[5144]: }
Dec 05 13:59:49 alarmserver npm[5144]: Dec-5 13:59:49.891
[bot-sdk-Appservice] info: Processing transaction 52
Dec 05 13:59:49 alarmserver npm[5144]: Dec-5 13:59:49.893
[bot-sdk-Appservice] info: Processing event of type m.room.message
Dec 05 13:59:49 alarmserver npm[5144]: <IP_ADDRESS> - -
[05/Dec/2019:13:59:49 +0000] "PUT /transactions/52?access_token=SNIP
HTTP/1.1" 200 2 "-" "Synapse/1.5.1"

the IP is the DNS resolution of alarmserver.local, which is a valid IP
the server is listening on, but port 443 is not and I don't understand
why it's attempting to use the TLS port when I haven't set up for such
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/matrix-discord/mx-puppet-discord/issues/22

I don't have a .well-known file, at least, none I've setup myself. That http server is synapse's builtin. I've tried querying it directly to see if it'd respond to a .well-known path but it answers with 404.

that'd be the problem, then. You configire custom ports via configuring .well-known
Am 5. Dezember 2019 19:20:12 MEZ schrieb BrainDamage<EMAIL_ADDRESS>
I don't have a .well-known file, at least, none I've setup myself. That
http server is synapse's builtin. I've tried querying it directly to
see if it'd respond to a .well-known path but it answers with 404.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/matrix-discord/mx-puppet-discord/issues/22#issuecomment-562251325

Sorry, I don't understand the process here.
The mx-puppet-discord connects to synapse through   homeserverUrl: http://localhost:8008
and synapse connects back to the service through bindAddress: localhost   port: 8434
Why would any further information be necessary?
No other appservice mechanism I've configured used further information.
It knows already that the alarmserver.local domain is reachable through the server at http://localhost:8008

mx-puppet-discord acts as a client here, and thus you need to set up .well-known correctly to have non-default configurations to work properly.

Additional config options have been added that will work for you: homeserver URL mapping. Add the following:
homeserverUrlMap:
  alarmserver.local: http://localhost:8008

or use the IP or whatever you are using for the mapping


pip install failed on Python 3.12+

I'm trying to manually build a wheel from source. My Python version is 3.13. When I run pip install ., I see the following error:
      Traceback (most recent call last):
        File "C:\Users\anguu\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "C:\Users\anguu\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\anguu\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 112, in get_requires_for_build_wheel
          backend = _build_backend()
        File "C:\Users\anguu\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 77, in _build_backend
          obj = import_module(mod_path)
        File "C:\Users\anguu\AppData\Local\Programs\Python\Python313\Lib\importlib\__init__.py", line 88, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
                 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
        File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
        File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
        File "C:\Users\anguu\AppData\Local\Temp\pip-build-env-jll306wz\overlay\Lib\site-packages\setuptools\__init__.py", line 16, in <module>
          import setuptools.version
        File "C:\Users\anguu\AppData\Local\Temp\pip-build-env-jll306wz\overlay\Lib\site-packages\setuptools\version.py", line 1, in <module>
          import pkg_resources
        File "C:\Users\anguu\AppData\Local\Temp\pip-build-env-jll306wz\overlay\Lib\site-packages\pkg_resources\__init__.py", line 2172, in <module>
          register_finder(pkgutil.ImpImporter, find_on_path)
                          ^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

I did some search and found that it may be due to the removal of deprecated ImpImporter since Python 3.12 (https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean).
One possible fix is to update setuptools, so I changed the build dependencies specified in pyproject.toml and it worked.
[build-system]
requires = [
  "cmake>=3.1",
  "numpy==1.13.3; python_version=='3.6' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
  "numpy==1.17.0; python_version=='3.7' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
  "numpy==1.17.5; python_version=='3.8' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
  "numpy==1.19.3; python_version<'3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'",
  "numpy==1.21.0; python_version<'3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'",
  "numpy>=2.0.0;  python_version>='3.9'",
  "pip",
  "scikit-build>=0.14.0",
  "setuptools", # <----- I removed the version "==59.2.0"
]

However, changing the version of setuptools may cause unexpected affects. Could you please investigate this bug and publish an official fix?
Issue submission checklist

[x] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[x] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[x] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[x] I'm using the latest version of opencv-python

I was using Home Assistant + OpenCV last year. This year I updated OpenCV to the latest version, and got the surprise that they dropped OpenCV (https://github.com/home-assistant/core/issues/94617). The developers had tried to update OpenCV version during the Python 3.11 update, but failed and reverted (https://github.com/home-assistant/core/pull/91802). The state today is that Home Assistant uses Python 3.13, and the wheel build still fails with the 'pkgutil.ImpImporter' error. Repro in the Home Assistant build environment:
$ docker pull ghcr.io/home-assistant/wheels/amd64/musllinux_1_2/cp313:dev
$ docker run --rm --entrypoint="" -it ghcr.io/home-assistant/wheels/amd64/musllinux_1_2/cp313:dev bash
75c590f38fa7:/data# pip install opencv-python-headless
Collecting opencv-python-headless
  Downloading opencv-python-headless-<IP_ADDRESS>.tar.gz (95.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [32 lines of output]
      Traceback (most recent call last):
        File "/usr/local/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/usr/local/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 112, in get_requires_for_build_wheel
          backend = _build_backend()
        File "/usr/local/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
          obj = import_module(mod_path)
        File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
                 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
        File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
        File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
        File "/tmp/pip-build-env-1_kw6d26/overlay/lib/python3.13/site-packages/setuptools/__init__.py", line 16, in <module>
          import setuptools.version
        File "/tmp/pip-build-env-1_kw6d26/overlay/lib/python3.13/site-packages/setuptools/version.py", line 1, in <module>
          import pkg_resources
        File "/tmp/pip-build-env-1_kw6d26/overlay/lib/python3.13/site-packages/pkg_resources/__init__.py", line 2172, in <module>
          register_finder(pkgutil.ImpImporter, find_on_path)
                          ^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I used to have a very simple image processing script that reads from a phone camera, runs some simple OpenCV operations, and provides data to Home Assistant, and for now I don't see any way to get my script running working again.

This pull request looks related: https://github.com/opencv/opencv-python/pull/1061

More PR related to 3.12 / setuputils: https://github.com/opencv/opencv-python/pull/1012

And 3.12 related issue: https://github.com/opencv/opencv-python/issues/988


Feature/slogan

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

Apologies, running through a workshop. This was an accidental PR.


ppc64le port.

This file contains changes required to build and use it on ppc64le platform.

@swift-ci test and merge


Remove LSP keeps being attempted to be started

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0
Operating system/version
MacOS 13.4
Describe the bug
I installed the pyright and ruff-lsp language servers for python. However, I then decided to use pyright and uninstalled ruff-lsp using Mason. However, I continually get the error message any time I open a python file.
...lar/neovim/0.10.0/share/nvim/runtime/lua/vim/lsp/rpc.lua:800: Spawning language server with cmd: `{ "ruff-lsp" }` failed. The language server is either not installed, missing from PATH, or not executable.

This is despite the fact that ruff-lsp is not enabled.

I've looked everywhere. Including on Mason docs and on nvim-lspconfig docs and I can not find where the configuration is that keeps trying to start ruff-lsp for python files, despite it being uninstalled/removed. I have no LSP specific configuration.
Sorry if this is a dumb question, I'm new to the neovim configuration
Steps To Reproduce

Install a fresh LazyVim setup
Install pyright and ruff-lsp via Mason GUI
Uninstall ruff-lsp via Mason GUI
Open up a python file?

Expected Behavior
ruff-lsp is not attempted to be started.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "LazyVim/LazyVim", import = "lazyvim.plugins" },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

I just tried a fresh LazyVim installation and I can't reproduce. I've installed pyright and ruff-lsp via Mason and then uninstalled only ruff-lsp and I didn't observe any error when opening a Python file. Did you enable the Python Extra maybe? Do you have a link to your dotfiles available on Github?

Also did you maybe have a previous Neovim installation before trying LazyVim? If yes, did you remove ~/.local/share/nvim, ~/.local/state/nvim and ~/.cache/nvim directories before installing LazyVim to avoid any potential conflict between your previous installation and LazyVim installation?

Hey @dpetka2001, I do have the Python Extras enabled I believe (shown below). I have pushed up my current configuration here for you.

I didn't have a pre-existing Neovim or LazyVim installation.

As a beginner, I think I'm a little lost on the Lazyvim <> Mason <> Neovim-lspconfig interaction and where the configuration lives. I was able to find some configuration via greping through ~/.local/share/nvim for ruff-lsp, but modifying things there didn't resolve anything (and probably made things worse, so I reinstalled those packages).

I think it's because of these lines in your config. mason = false specifies that the LSP server won't be installed via Mason, but it still expects to find a LSP server installed by you. You should add enabled = false if you want to disable ruff_lsp because the Python Extra will pull it in automatically.

@dpetka2001 That worked! Thank you so much for looking into this.
If I'm understanding you correctly. The Python Extras by default enabled the ruff-lsp? And because I had mason = false (in an attempted to disable it), mason wouldn't install the lsp, despite it being expected/enabled?
Is there any documentation on the Python Extras? Where could I have looked to see what it enables and configures?

Correct. You can see here on the website about the default Lazyvim configuration for Python. Plugins that are optional will only be enabled if you explicitly enable the corresponding Extras (for example nvim-dap and neotest).

Also just for reference, you should never make any changes in your ~/.local/share/nvim directory because you will probably cause problems when you're trying to update some plugin you changed.

Also just for reference, you should never make any changes in your ~/.local/share/nvim directory because you will probably cause problems when you're trying to update some plugin you changed.

Yeah, I was just desperately poking to trying and figure out the configuration. But thanks again for resolving this so quickly!


Option for snapping Child sub/child Windows

Description of the new feature / enhancement
I work with a programm that creates a lot of child windows. Please add a option, that i can snapp them in fancy zones.
Scenario when this would be used?
programms like Autodesk Revit or others like these
Supporting information
No response

reference: #14222

there is great irony in the fact we do work to not cause this to happen.
@V0rr0N is your request here to make this a global option or targeted for list of exe's you opt-in to?

there is great irony in the fact we do work to not cause this to happen.
@V0rr0N is your request here to make this a global option or targeted for list of exe's you opt-in to?

there is great irony in the fact we do work to not cause this to happen.
@V0rr0N is your request here to make this a global option or targeted for list of exe's you opt-in to?

I saw the irony. I do not want a global change just a option to tick, that reverts snapping child windows.

xref #15426

Duplicate of #15426


[Tracking] Rotate ODIS signers

Prep work (while ago):

[x] https://github.com/celo-org/celo-monorepo/issues/8672
[x] https://github.com/celo-org/celo-monorepo/issues/8355
[x] https://github.com/celo-org/celo-monorepo/issues/8148
[x] https://github.com/celo-org/celo-monorepo/issues/8186
[x] https://github.com/celo-org/celo-monorepo/pull/8847

[x] https://github.com/celo-org/celo-monorepo/issues/8149

[x] https://github.com/celo-org/celo-monorepo/issues/6685

Todos:

[x] https://github.com/celo-org/celo-monorepo/issues/8187
[x] https://github.com/celo-org/celo-monorepo/issues/8046
[x] #9315
[ ] #9343
[ ] #9342
[x] #9324

closing this in favor of https://app.zenhub.com/workspaces/identity-backlog-board-60e61301c3dc55000e540b61/issues/celo-org/celo-monorepo/9373

Link to Github ticket instead of Zenhub ticket (for reference):

https://github.com/celo-org/celo-monorepo/issues/9373


Measure performance with only 2 account header leaves instead of 5

In verkle trees, the account header consists of 5 leaves (version, balance, nonce, code keccak and code size), each of which takes 32 bytes. This means that calculating the commitment of a value costs at least 10 exponentiations (each value is split in 2 16-bytes value). Most of these values do not require 32 bytes (version, nonce, code size, let alone balance), and it would therefore be possible to pack some of them into a single 32-byte value in order to save on exponentiation costs.

Haven't done it yet, but it is unlikely to improve anything: given the structure of a LEafNode, most values end up being 0s. Grouping everything together will save space, but it will not save computation time as data is simply flushed around.

This is done as part of the Nyota update to the spec.


why two cross-attention？

In the paper，there are two cross-Attn in the right of Fig(1). What can GCP benefit from this structure?Looking forward to your reply!

Hi,
The two cross-attention layers are shared by all GCP modules. The two cross-attention layers serve to pre-filter the negative vision queries using the target image features. For example, if a vision query does not exist in a target image, the two cross-attention layers will curb its activation, thus making GCPs more focus on positive vision queries.


Gradel:  FileNotFoundException: File /lib/xgboost4j.dll was not found inside JAR.

I want to use xgboost in my gradle project.
I added the dependency:
compile group: 'ml.dmlc', name: 'xgboost4j', version: '0.72'
I get the FileNotFoundException: File /lib/xgboost4j.dll was not found inside JAR.
Am I missing something?

Did you compile XGBoost4J yourself or are you getting JARs from somewhere else? For best results, you should download the XGBoost4J JAR from our Maven repo by adding the repository
<repository>
  <id>XGBoost4J-Spark Snapshot Repo</id>
  <name>XGBoost4J-Spark Snapshot Repo</name>
  <url>https://raw.githubusercontent.com/CodingCat/xgboost/maven-repo/</url>
</repository>

(I'm not familiar with Gradle, so change this to corresponding Gradle configuration)

I am getting the repo from maven central currently.
Anyways the gradle line "compile group: 'ml.dmlc', name: 'xgboost4j', version: '0.72'"  in maven would be:
<dependency>
      <groupId>ml.dmlc</groupId>
      <artifactId>xgboost4j</artifactId>
      <version>0.72</version>
</dependency>

Does this stay the same when using your repo?
I still get the same error when I added your repo to gradle, tough I am not sure the JAR is coming from your repo. It seems to me that the JAR is still the one in maven central.
In maven central version of xgboost4j, the xgboost4j.dll is missing in the lib folder of the JAR.

Can you change the repository in Gradle?

eh....we do not have *.dll in the published jar....

you can download windows release from https://github.com/criteo-forks/xgboost-jars

@CodingCat Ah that was the issue. So the published JAR is Linux only?


replace RetinaNet with YOLOv5

Hi, I tried to replace RetinaNet with YOLOv5 to get faster speed. The traning loss can decrease but mAP is always low. It cannot detect anything. Before replacement, I can sucessfully get 93% mAP using the default setting (RetinaNet). Could you please tell me if I miss anything here? I read the code about anchor part. It looks like only rectangle anchor is used, but i did not notice where is the way to resize the predicted box to original image corrdinate, and what is the purpose of weights in class BoxCoder
weights=(10., 10., 10., 5., 15.)
Here is the part I changed. I make anthor copy of yolo.py in YOLOv5/models. Only change the Detect class to replace cls head and reg head in RetinaNet. I also changed in anchor.py to reduce the pyramid level from 5 to 3 as in YOLOv5. self.pyramid_levels = [3, 4, 5]
class Detect(nn.Module):
def init(self, nc=80, anchors=(), ch=()):  # detection layer
super(Detect, self).init()
self.nc = nc + 1  # number of classes
self.nr = 5 #xywha
self.na = 3 #len(anchors[0]) // 2  # number of anchors
self.cls_head = nn.ModuleList(nn.Conv2d(x, self.na * self.nc, 3, 1, 1) for x in ch)  # output conv
self.reg_head = nn.ModuleList(nn.Conv2d(x, self.na * self.nr, 3, 1, 1) for x in ch)  # output conv
self.init_weights()
def init_weights(self):
    prior = 0.01
    for m in self.cls_head.modules():
        if isinstance(m, nn.Conv2d):
            m.weight.data.fill_(0)
            m.bias.data.fill_(-math.log((1.0 - prior) / prior))
    for m in self.reg_head.modules():
        if isinstance(m, nn.Conv2d):
            m.weight.data.fill_(0)
            m.bias.data.fill_(0)

def get_cls_feature(self, index, x):
    x = torch.sigmoid(self.cls_head[index](x))
    x = x.permute(0, 2, 3, 1)
    n, w, h, c = x.shape
    x = x.reshape(n, w, h, self.na, self.nc)
    return x.reshape(x.shape[0], -1, self.nc)
def get_reg_feature(self, index, x):
    x = self.reg_head[index](x)
    x = x.permute(0, 2, 3, 1)
    return x.reshape(x.shape[0], -1, self.nr)
def forward(self, x):
    cls_score = torch.cat([self.get_cls_feature(idx, feature) for idx, feature in enumerate(x)], dim=1)
    bbox_pred = torch.cat([self.get_reg_feature(idx, feature) for idx, feature in enumerate(x)], dim=1)
    return [cls_score, bbox_pred]

I define another class to replace class RetinaNet, by only change a few lines.
class YOLOV5(nn.Module):
def init(self, cfg='yolov5l.yaml', ch=3, nc=None, export=False):
super(YOLOV5, self).init()
self.yolov5 = Model(cfg)
self.num_classes  = 1 + 1 # class number + 1, I only have one class in the dataset
self.anchor_generator = Anchors(
ratios = np.array([0.5,1,2]),
)
self.num_anchors = self.anchor_generator.num_anchors
self.loss = IntegratedLoss(func='smooth')
self.box_coder = BoxCoder()
def forward(self, ims, gt_boxes=None, test_conf=None,process=None):
    anchors_list, offsets_list, cls_list, var_list = [], [], [], []
    original_anchors = self.anchor_generator(ims)   # (bs, num_all_achors, 5)
    anchors_list.append(original_anchors)
    # features = self.fpn(self.ims_2_features(ims))
    # cls_score = torch.cat([self.cls_head(feature) for feature in features], dim=1)
    # bbox_pred = torch.cat([self.reg_head(feature) for feature in features], dim=1)
    [cls_score, bbox_pred] = self.yolov5(ims)

..........the other parts are the same.

Hello, your effect on RetinaNet can reach the mAP of 93%, but not good for modified yolov5. It seems to be an incompatibility between the part of your code and the source code here.

The default setting only uses horizontal anchors, which is consistent with the results of the paper. Of course, rotated anchors are also optional, for example:Anchors(ratios = np.array([0.5,1,2]),rotations = np.array([0, 60, 120]) .
Code to resize the predicted box to original image coordinate can be found  here.
Purpose of weights in class BoxCoder weights is used to balance the different items for box regression.
You can contact Shimadaaaaa, who is implementing DAL methods based on yolov5.
Hope the above suggestions are helpful to you.

Thanks for quick reply. I understand there must be something wrong with my code because yolov5 cannot detect anything. I will contact  Shimadaaaaa for more details.
BTW, will rotated anchor improve the performance or not?

Do you know the contact details of Shimadaaaaa? Could not find any way to contact

Preset more rotated anchors can achieve further improvement in my experiment (not shown in the paper).

Thanks for quick reply. I understand there must be something wrong with my code because yolov5 cannot detect anything. I will contact Shimadaaaaa for more details.
BTW, will rotated anchor improve the performance or not?

Have you solved the problem? @xjsxujingsong

Thanks for quick reply. I understand there must be something wrong with my code because yolov5 cannot detect anything. I will contact Shimadaaaaa for more details.
BTW, will rotated anchor improve the performance or not?

Have you solved the problem? @xjsxujingsong


Campaign page/ Functional testing/ Button "Сподели" not active and no redirection

Describe the bug
Button "Сподели" in Campaign page not working
To Reproduce
Steps to reproduce the behavior:

Go to dev.podkrepi.bg
Navigate to main menu "Дарителство"
Scroll down to 'Кампании"
Choose a random Campaign from the list of Campaigns
Select "Подкрепете сега" button
Successfully redirected to the new page

Expected behavior
Working "Сподели" button in the Campaign page.  Opportunity for the user to share the Campaign through
-Facebook
-linkedin
-Instagram
other social networks...
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: Version 98.0.4758.82 (Official Build) (64-bit)

The sharing functionality is currently working for all social media options and the issue in no longer valid.


Moving recoveryservices (1) resources to v1bets1 version

Moving recoveryservices 1 resources to v1bets1 version

[ ] azurerm_site_recovery_replicated_vm

azurerm_site_recovery_replicated_vm requires azurerm_virtual_machine, that is deprecated and is skipped in provider.go file.

azurerm_relay_hybrid_connection
    message: "observe failed: cannot run refresh: refresh failed: retrieving Hybrid       Connection (Subscription: \"038f2b7c-3265-43b8-8624-c9ad5da610a8\"\nResource       Group Name: \"connection-rg\"\nNamespace Name: \"eventrelaynamespace\"\nHybrid       Connection Name: \"<no value>\"): hybridconnections.HybridConnectionsClient#Get:       Failure responding to request: StatusCode=400 -- Original Error: autorest/azure:       Service returned an error. Status=400 Code=\"MessagingGatewayBadRequest\" Message=\"<Error>400<Detail>Incorrect       request Uri format. To know more visit https://aka.ms/sbResourceMgrExceptions.       TrackingId:3e3cd615-91db-4628-9e33-c70ed638636d_G17, SystemTracker:eventrelaynamespace.servicebus.windows.net:%3Cno%20value%3E,       Timestamp:2023-02-06T11:42:18</Detail></Error>\": "     reason: ReconcileError
    message: "apply failed: creating/updating Hybrid Connection (Subscription: \"038f2b7c-3265-43b8-8624-c9ad5da610a8\"\nResource       Group Name: \"connection-rg\"\nNamespace Name: \"eventrelaynamespace\"\nHybrid       Connection Name: \"hybrid-connection-name\"): hybridconnections.HybridConnectionsClient#CreateOrUpdate:       Failure responding to request: StatusCode=404 -- Original Error: autorest/azure:       Service returned an error. Status=404 Code=\"ParentResourceNotFound\" Message=\"Can       not perform requested operation on nested resource. Parent resource 'eventrelaynamespace'       not found.\": "     reason: ApplyFailure

Covered in #381


establishing classes to hold basic methods we'll definetly be using t…

…his year
Before issuing a pull request, please see the contributing page.

blah blah blah


Fix deprecation warning on Rails5

DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead.

@n8 can we get some movement on this please.

@n8 With Rails 5.1 beta, devise_marketable prevents apps from running 😞


fix: use model_copy instead of copy for pydantic 2 compatibility

In pydantic 2, copy of a model is deprecated, we should use model_copy instead.
Migration Guide: https://docs.pydantic.dev/2.0/migration/#migration-guide

For this it would be better to put in dependencies the maximum fastapi version that works with pydantic 1., and only apply this PR with the fastapi version that works with pydantic 2..
It's a breaking change, but since fastapi is on 0.* releases, anything goes

There are other instances where this copy() appears, such as InMemmoryBackend() in the code so might want to update them as well.


no socket for namespace undefined

hi, there
I found latest SocketIoClientDotNet does not support namespace. like http://localhost:5000/foo
I figured out the problem at file “SocketIoClientDotNet\Src\SocketIoClientDotNet.net45\Parser\Parser.cs”
if (obj.Data != null)
{
if (nsp) str.Append(",");
str.Append(obj.Data);
}
when  data is empty not null it will append  {} empty JsonObject, but at server side actuary need empty
server required : 0/foo,
but
client send: 0/foo,{}
I just simply did this and it is working very well。
if (obj.Data != null)
{
if (nsp) str.Append(",");
if ((obj.Data as JToken).HasValues)
{
str.Append(obj.Data);
}
}
I believe you have the best way to solve this issue。
yours sincerely

Having the same problem, but the Parser.cs file you point is not changed since 4 years ago; may be this is related to a change on the server implementation ?


New Device: INOW+ WiFi heating element

I've got a few of these elements that you fit into towel radiators.  I've made a YAML file that works but has a few issues,
There is an odd thing that when the device is first turned on you get these are the details from TUYA-CLI and the TUYA developer website:
tuya-cli get ***
{ dps: { '1': true, '2': 70, '3': 71, '4': 'smart', '7': false } }
From TUYA developer:
Standard Instruction Set
switch	Boolean
"{true,false}"
temp_set	Integer
{
"unit": "℃",
"min": 15,
"max": 70,
"scale": 0,
"step": 5
}
mode	Enum
{
"range": [
"smart"
]
}
lock	Boolean
"{true,false}"
countdown_set	Enum
{
"range": [
"2h",
"4h"
]
}
Standard Status Set
switch	Boolean
"{true,false}"
temp_set	Integer
{
"unit": "℃",
"min": 15,
"max": 70,
"scale": 0,
"step": 5
}
temp_current	Integer
{
"unit": "℃",
"min": -20,
"max": 90,
"scale": 0,
"step": 1
}
mode	Enum
{
"range": [
"smart"
]
}
lock	Boolean
"{true,false}"
countdown_set	Enum
{
"range": [
"2h",
"4h"
]
}
However, there is also an option called 'Boost' on the TUYA app which turns on the radiator for 1 or 2hrs and only when you select this you ID19 (a bug I guess?)
{
dps: { '1': true, '2': 70, '3': 71, '4': 'smart', '7': false, '19': '2h' }
}
From TUYA developer:
Standard Instruction Set
switch	Boolean
"{true,false}"
temp_set	Integer
{
"unit": "℃",
"min": 15,
"max": 70,
"scale": 0,
"step": 5
}
mode	Enum
{
"range": [
"smart"
]
}
lock	Boolean
"{true,false}"
countdown_set	Enum
{
"range": [
"2h",
"4h"
]
}
Standard Status Set
switch	Boolean
"{true,false}"
temp_set	Integer
{
"unit": "℃",
"min": 15,
"max": 70,
"scale": 0,
"step": 5
}
temp_current	Integer
{
"unit": "℃",
"min": -20,
"max": 90,
"scale": 0,
"step": 1
}
mode	Enum
{
"range": [
"smart"
]
}
lock	Boolean
"{true,false}"
countdown_set	Enum
{
"range": [
"2h",
"4h"
]
}
I don't need to use the countdown boost (ID19) because that's easy to automate with Home Assistant so I'm currently working with this YAML file which excludes it so that the device is recognised without having to use the app and turn the feature on:
name: inow heater element
primary_entity:
entity: climate
dps:
- id: 1
type: boolean
name: hvac_mode
mapping:
- dps_val: true
value: heat
- dps_val: false
value: "off"
- id: 2
type: integer
name: temperature
range:
min: 15
max: 70
mapping:
- scale: 1
step: 5
constraint: temperature_unit
conditions:
- dps_val: false
step: 5
range:
min: 15
max: 70
- id: 3
type: integer
name: current_temperature
mapping:
- scale: 1
- id: 4
type: string
name: preset_mode
mapping:
- dps_val: "smart"
value: comfort
- dps_val: "antifreezing"
value: Anti-Freeze
secondary_entities:

entity: lock
name: Child lock
category: config
dps:

id: 7
type: boolean
name: lock
mapping:

dps_val: true
icon: "mdi:hand-back-right-off"
dps_val: false
icon: "mdi:hand-back-right"

That's excluding this ID:
- id: 19
  type: string
  name: timer
  mapping:
    - dps_val: "0h"
      value: "off"
    - dps_val: "1h"
      value: comfort
    - dps_val: "2h"
      value: comfort

If you improve this in any way, please do!
Thanks, Paul :)

Remove the constraint and conditions for temperature_unit, as there is no temperature unit dp.
You can include dp19 as an optional attribute on the primary_entity for reading, but it will not be possible to set it.

Thank you!
This is my new YAML file:
name: inow heater element
primary_entity:
entity: climate
dps:
- id: 1
type: boolean
name: hvac_mode
mapping:
- dps_val: true
value: heat
- dps_val: false
value: "off"
- id: 2
type: integer
name: temperature
range:
min: 15
max: 70
mapping:
- scale: 1
step: 5
- id: 3
type: integer
name: current_temperature
mapping:
- scale: 1
- id: 4
type: string
name: preset_mode
mapping:
- dps_val: "smart"
value: comfort
- dps_val: "antifreezing"
value: Anti-Freeze
- id: 19
optional: true
type: string
name: timer
mapping:
- dps_val: "0h"
value: "off"
- dps_val: "1h"
value: comfort
- dps_val: "2h"
value: comfort
secondary_entities:

entity: lock
name: Child lock
category: config
dps:

id: 7
type: boolean
name: lock
mapping:

dps_val: true
icon: "mdi:hand-back-right-off"
dps_val: false
icon: "mdi:hand-back-right"

That works great for me - thank you!


Fix fallthrough warning on GCC7

Signed-off-by: Lu Yong<EMAIL_ADDRESS>

With Ubuntu18.04
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
It will have such a warning:
snap_search.c: In function 'main':
snap_search.c:577:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
    method = 1;
    ~~~~~~~^~~
snap_search.c:579:17: note: here
                 default:
                 ^~~~~~~
cc1: all warnings being treated as errors
/root/work/this_snap/actions/software.mk:77: recipe for target 'snap_search.o' failed
make[2]: *** [snap_search.o] Error 1


MdSelect Documentation Error

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Documentation API section provides correct name of module for import.
https://material.angular.io/components/select/api
The import statement says to import 'MatSelectModule' but the correct import is 'MdSelectModule'.
What is the current behavior?
'MatSelectModule' is incorrect or at least not applicable in the most recent version.
The correct name of the module is 'MdSelectModule'.
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
Try importing the 'MatSelectModule', it does not exist. A Plunker for this seems like overkill.
What is the use-case or motivation for changing an existing behavior?
Correct documentation.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I'm using Angular 4.4.x, Material 2.0.0-beta.11, Linux (Gentoo), TS 2.3.4, and browser is irrelevant to this issue.
Is there anything else we should know?
You all have built an impressive Angular component library - thank you for all your hard work and the steady improvements :+1:

Either should work right now. beta.11 just deprecated Md* in favor of Mat*. See https://github.com/angular/material2/blob/master/CHANGELOG.md#deprecation-of-md-prefix

Got it thanks!


New method getOpenOrders(OpenOrdersParams)

Hi,
Implemented new method as discussed in #1357. I've implemented it in TheRockExchange as a reference and tested it towards live API through already present "integration tests".
I had a fast look over various TradingServices and it will be common for many exchanges to have currency pair attribute. But for now, new method is returning previous getOpenOrders until someone wants it rewritten.

Added cancelOrder implementation for TheRock exchange. I didn't know that GitHub add this commit to this pull request :-/.

Sorry that I added two more commits for ItBit to this. Should I remove them and make separate PR?

In the future, would be nice, but it's OK for now. :)

Ok, i removed method createOpenOrdersParams and removed commits not related to openOrders (i create separate PR).

@timmolter I have found that createOpenOrdersParams and createTradeHistoryParams is pretty good pattern and I'm missing that removed createOpenOrdersParams as a user of library.
Imagine you want to call pollingTradeService.getOpenOrders and don't know on which exchange. With createOpenOrdersParams you can call it like that:
PollingTradeService pollingTradeService = exchange.getPollingTradeService();
OpenOrdersParams openOrdersParams = pollingTradeService.createOpenOrdersParams();

if (openOrdersParams instanceof OpenOrdersParamCurrencyPair) {
  ((OpenOrdersParamCurrencyPair) openOrdersParams).setCurrencyPair(currencyPair);
}
// more if there for another params

return pollingTradeService.getOpenOrders(openOrdersParams);

You can add more IFs when you know that there are exchanges that need another params. Without createOpenOrdersParams i don't know what class i must create for the getOpenOrders method.
So it looks like i should follow pattern from trade history and move createOpenOrdersParams back. Or do you have any other suggestions?

I'm traveling. Will get back to you soon. Thanks for your efforts!!
Sent from my iPhone

On 12 Jan 2017, at 21:39, dozd<EMAIL_ADDRESS>wrote:
@timmolter I have found that createOpenOrdersParams and createTradeHistoryParams is pretty good pattern and I'm missing that removed createOpenOrdersParams as a user of library.
Imagine you want to call pollingTradeService.getOpenOrders and don't know on which exchange. With createOpenOrdersParams you can call it like that:
PollingTradeService pollingTradeService = exchange.getPollingTradeService();
OpenOrdersParams openOrdersParams = pollingTradeService.createOpenOrdersParams();
if (openOrdersParams instanceof OpenOrdersParamCurrencyPair) {
((OpenOrdersParamCurrencyPair) openOrdersParams).setCurrencyPair(currencyPair);
}
// more if there for another params
return pollingTradeService.getOpenOrders(openOrdersParams);
You can add more IFs when you know that there are exchanges that need another params. Without createOpenOrdersParams i don't know what class i must create for the getOpenOrders method.
So it looks like i should follow pattern from trade history and move createOpenOrdersParams back. Or do you have any other suggestions?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@dozd Yeah, that makes sense. Go for it!


using ng-gallery generally for content not only for images

Currently ng-gallery is only usable for images (at least as far as I understand)
But it would be very useful when it could be used for more than just images (videos, ordinary content etc.)
Do you plan such a feature??
TIA

Hi @maku, you are right, It is only for images. I have a plan to update in the future, but currently I overloaded with work.
I am wondering what to display for thumbnails in case of video or template?

@MurhafSousli in this case, per default a thumbnail is not that important. Maybe a thumnail can optionally be defined as additional image resource...

I think this is possible using the item.text
 items: GalleryItem[] = [
  // ... ,
  {
    src: '...';
    thumbnail: '...';
    text: `
       <h3> HTML CONTENT HERE </h3>
    `
  }
];

Add custom class to your content wrapper using the config
config: GalleryConfig = {
  // ... ,
  description: {
      className: 'contentClass'
  }
}

@MurhafSousli Sorry, I don't get it what I can achieve with this. I don't have a source. So the source area is empty... (only the loading image is presented).
e.g. I would like to show a video (in the area where the src image is presented).

@maku Currently it is not possible to replace the image, but there is an issue for the video https://github.com/MurhafSousli/ng-gallery/issues/22


Fixed layout across all devices.

Ticket
[Ticket Link]
What is changed / added
Fixed layout so that it doesn't look weird on tablet.
Screenshots

There are some overflowing and overlaying bugs on mobile screens

We should center the newsletter input and button on smaller screens

This isn't as necessary but if we could move the CTA section button underneath executives and associates and then center those two on smaller screens to make it similar to the events button section that would be better

I still can't seem to see the overlaying issue with the DH picture so I'm not sure what I can do about that. I did fix the overflowing issue, put the 'Join Us' button under 'executives' and 'associates' for mobile, and centered the newsletter input/button on smaller screens. I also double-checked tablet view after these fixes and it looks ok to me.

Let me know if there are any other issues!


log entries are missing a space between script name and log payload

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
While working with the AWS AMI, we noticed that log entries related to password changes had the name of the php script smooshed with the payload it produced, eg:
latest.log:<37>1 2024-02-20T04:35:42+00:00 OPNsense.localdomain audit 58523 - [meta sequenceId="23"] user (root) changed configuration to /conf/backup/config-1708403742.8139.xml in /usr/local/opnsense/scripts/aws/set_password.phpec2-user password chang
ed from console
latest.log:<37>1 2024-02-20T04:35:43+00:00 OPNsense.localdomain audit 62068 - [meta sequenceId="27"] user (root) changed configuration to /conf/backup/config-1708403743.0899.xml in /usr/local/opnsense/scripts/aws/set_password.phproot password changed f
rom console

Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:

Boot AWS AMI image
Inspect logs in /var/log/audit/

Expected behavior
A space between set_password.php and usernamehere
Additional context
@AdSchellevis pointed out that this issue may be caused by  https://github.com/opnsense/core/blob/e7d18bfedc185b362ca849d39fa0ebc23e2bf4cf/src/opnsense/mvc/app/library/OPNsense/Core/Config.php#L554
Thank you!
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 23.7.12
AWS AMI

@dominikborkowski thanks for the ticket, should be fixed with https://github.com/opnsense/core/commit/efb9162e6978b414f8afe31f419142b174f96464


[VL] Decouple JNI object storing code from ExecutionCtx

In ExecutionCtx's code, the object storing procedure is pretty much specialized to support JNI calls. That says, only over JNI call, a C++ object is required to be stored temporarily because RAII is not applied to JNI coding model.
Since ExecutionCtx should be designed to be a layer to serve C++ calls only, in the patch we'll decouple the object storing code from it then move the logic to a newly added ObjectStore class.
This work can be a preparation to solving https://github.com/oap-project/gluten/issues/3142.
By the way, class ExecutionCtx will be renamed to Runtime in the patch based on previous discussion https://github.com/oap-project/gluten/pull/3311#discussion_r1351347883.

I prefer keep ctx suffix.

I prefer keep ctx suffix.

"Context" should be used when it's a container of contextual objects. Since lifecycle management will no longer be ExecutionCtx's own responsibility, we'd rethink if we still need "ctx" as the name suffix.

TBH, I do not very care about the naming.. just hope do not change the code frequently.

"Context" should be used when it's a container of contextual objects. Since lifecycle management will no longer be ExecutionCtx's own responsibility

Do you mean, now we do not hold Iterator and ColumnarBatch inside ExecutionCtx ?

then I'm fine if there is a plan to imporve this part further

/Benchmark Velox

/Benchmark Velox

Since Jenkins is broken I'll keep tracking the result after merging.