[Search pipelines] Pass "adhocness" flag to processor factories

Description
A named search pipeline may be created with a PUT request, while an "anonymous" or "ad hoc" search pipeline can be defined in the search request source. In the latter case, we don't want to create any "resource-heavy" processors, since they're potentially increasing the cost of every search request, whereas named pipeline processors get reused.
This change passes a configuration flag to a processor factory if it's being called as part of an ad hoc pipeline. The factory can use that information to avoid allocating expensive resources (maybe by throwing an exception instead).
Related Issues
Resolves https://github.com/opensearch-project/OpenSearch/issues/8163
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This feels a little overloaded and odd to me, hiding a lot of "internal mechanics" under a boolean. Is there a version in which we can express "a search pipeline defined in the search request source" in a more future-compatible way, e.g. as "source" of where the pipeline was defined?

Ok, this is a lot better. Continuing on this thought though, what's the most future-compatible interface? You say "the context for pipeline creation", so should this be PipelineContext and have a field called source?

That's a good idea.
If we go that way, I'm going to go ahead and change the create method signature to pass it to the processor factory explicitly, rather than "hiding" it in the config map (which is inherently more "dynamic"). I had been trying to avoid changing the signature as a gesture that we had a stable API in time for 2.8, but this sounds like the kind of thing where we benefit from sitting behind the "experimental" label.

@dblock is this change acceptable? looking to merge for the 2.9 release.

Looks like it will need a manual backport, @msfroh

Tried to help backport this, but it looks like it's blocking by this PR. We need #7283 getting to 2.x first then backport this one.

Tried to help backport this, but it looks like it's blocking by this https://github.com/opensearch-project/OpenSearch/pull/7283. We need https://github.com/opensearch-project/OpenSearch/pull/7283 getting to 2.x first then backport this one.

Looks like the backport (https://github.com/opensearch-project/OpenSearch/pull/8512) was just merged a few hours ago.

Backport PR: https://github.com/opensearch-project/OpenSearch/pull/8522


[Bug]: agent 管理不显示agent详情，如何解决，见图

Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
[X] I am not looking for support or already pursued the available support channels without success.

Version
1.15.0
Installation Type
Official Docker Compose
Service Name
DongTai-Web
Describe the details of the bug and the steps to reproduce it

全新安装1.15.0，agent安装后，在agent管理下面看不到agent的详情。
如何解决，哪里不对？
Additional Information
无
Logs
无。

java agent tomcat环境

You have chosen a suspended state, please adjust the past two days to the past ninety days to see if it works


Image Optimization

Pending _ipx issue in /image module and use nuxt-image in images placed with /content


Upgrade Example for v8

I was trying to follow along with this example using mapboxgl v0.22.0 and it throws console errors due to the style being version: 7.  Are there any examples of using Mapzen Vector Tile Service with Mapbox GL v8 style definition?  Thanks!

The current example uses an invalid json file. If you clean that file up using
gl-style-validate

then run it through the
gl-style-migrate

as shown here https://github.com/mapbox/mapbox-gl-style-spec it will work with the newest mapbox-gl-js. However it seems that the Mapzen tiles do not adhere do the v2 style spec. There are some rendering issues with the tiles.
I will add a link to a live example when I get a chance.

Hello, one year later.. i have same issue or i cant get work mapzen tiles with recent mapboxgl.
Is possible to render mapzen vector tiles with maxpbox gl version 0.40.x?
I tried migration and validation tools mentioned above and still getting lot of "Vector tile source ... does not use vector tile spec v2 and therefore may have some rendering errors" and some important layers are missing (eg. street names).
My example: https://github.com/sommcz/mapboxgl-vector-tiles
Thanks for any advice.

Related issue for v2: https://github.com/tilezen/mapbox-vector-tile/issues/42

Hello, I am currently using mapbox gl js v0.4. I was trying to work with the example provided at the mapzen site. There are a lot of issues with the style since they are using a different version of mapbox gl js. Please help.


Problem when dismissing the View that is displaying the video

Hi there,
I took your example and did some layouting without thouching the original code.
In my App I now have a input field for a room name. Pressing a button will move to the view in which the video is shown. Everything is fine up to now...but, how would I CORRECTLY end the stream, close connection to the signaling server and then dismiss the view?
I tried this but I always get errors in a C Lib MediaStreamProxy ....its tryin to access something that does not exist anymore at this point.
Also, in RTCVideoRenderer.h the delegate is of "strong" type...is this intended?
@property(nonatomic, strong) id delegate;
Edit:
I think its bout the MediaStreams in the signalingServer ....I will try to manually remove the video and audio tracks from each stream before removing the view.


When swipe back from edge of the screen, the scroll should disable

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
    if ([gestureRecognizer isKindOfClass:[UIScreenEdgePanGestureRecognizer class]]) {
        return NO;
    }
    return YES;
}

Good point, thanks!

@andreamazz Is it possible to disable vertical scrolling when user is swiping on a UITableViewCell?

[self.tableView setScrollEnabled:NO];

@iCell Could you explain it in detail? For example, where should I call this?

@NicholasTD07 I think I‘ve already explained clearly in my comment.

@iCell I am not saying that I want to disable vertical scrolling at any time, but only when the user is swiping a table view cell to see the action items, like the "Archive" option in "Mail" app which is shown when user swipe horizontally on a UITableViewCell.

I said after swiping a cell you can use the code to disable the scrolling.

@iCell I want to disable the vertical scrolling when the user is swiping, which starts from when user starts to swipe and ends at when the user stops....

@NicholasTD07 All right, you can detect the state of swipeGesture(or panGesture) in that cell, when the user starts to swipe, the state of the gesture should be UIGestureRecognizerStateBegan, and UIGestureRecognizerStateEnded when the swiping is ended. You can add a panGesture to the cell or maybe there's some ways to get the swiping gesture on the cell.

@iCell I would like to see whether there is a solution that uses UITableViewCell itself without any modification. :)

@NicholasTD07 I suggest you to subclass a UITableViewCell to implement what you want.


Index cluster details to ES

Signed-off-by: Sai Sindhur Malleni<EMAIL_ADDRESS>Description
Fixes

Closing as per Raul's feedback that this is already done in e2e utils/common.sh


getting different result for getPathLength

I'm trying to understand why I'm getting a different result doing the exact same path calculation
for getPathLength as stated in the docs.
geolib.getPathLength([
{latitude: 52.516272, longitude: 13.377722}, // Berlin
{latitude: 51.515, longitude: 7.453619}, // Dortmund
{latitude: 51.503333, longitude: -0.119722} // London
]);
Heres what I'm doing:
console.log(geolib.getPathLength([
{latitude: 52.516272, longitude: 13.377722}, // Berlin
{latitude: 51.515, longitude: 7.453619}, // Dortmund
{latitude: 51.503333, longitude: -0.119722} // London
]));
this results in 947117 instead of the expected 945235. What am I doing wrong here? I'm using the latest build.

Using what you are getting expected ** 945235**?

Docs seem to be outdated here. I switched from using getDistanceSimple to getDistance at some point in the past. It's a slower but more accurate calculation.


Feature/workflow api

Codecov Report

Merging #658 (3e5e5a9) into v2.6.x_develop (d78021b) will increase coverage by 0.02%.
The diff coverage is 51.12%.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #658      +/-   ##
==================================================
+ Coverage           62.26%   62.28%   +0.02%
==================================================
  Files                 442      459      +17
  Lines               27469    29202    +1733
==================================================
+ Hits                17104    18189    +1085
- Misses              10365    11013     +648

Impacted Files
Coverage Δ

urls.py
100.00% <ø> (ø)

itsm/openapi/base_service/views/field.py
31.34% <31.34%> (ø)

itsm/openapi/base_service/views/state.py
43.93% <43.93%> (ø)

itsm/openapi/base_service/views/service.py
54.34% <54.34%> (ø)

itsm/openapi/base_service/views/transition.py
57.50% <57.50%> (ø)

itsm/openapi/base_service/views/workflow.py
70.00% <70.00%> (ø)

itsm/api/open_v2.py
100.00% <100.00%> (ø)

itsm/openapi/base_service/urls.py
100.00% <100.00%> (ø)

itsm/component/utils/lock.py
87.50% <0.00%> (-6.95%)
:arrow_down:

itsm/monitor/healthz/check/redis.py
27.77% <0.00%> (ø)

... and 16 more

Continue to review full report at Codecov.

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


adding second slide

created a branch, created a file and made a commit, and opened a pull request

great


Example using version 2.0

Hi there,
First off, great work.
Could you provide an example using your 2.0 version? I am currently instantiating a Document object, but it requires a Document object in constructor. How would you use this library to analyze and parse a hosted or local swagger.json file?
I am trying to use this library to parse my schema to showcase it in some custom documentation.
Could you possibly paste an example? Thank you,

Hey Karl,
Sorry for the lack of documentation. That's one of my next tasks once I get the underlying project I'm using to do this work finished. :)
What the constructor of any "Object" wants is a stdClass object that is produced by json_decode(). So as an example:
$spec = file_get_contents('http://petstore.swagger.io/v2/swagger.json');
$decodedSpec = json_decode($spec);

$swagger = new Swagger\Document($decodedSpec);

var_dump($swagger->getOperationById('updatePet'));

I've added a bit more documentation to the new README. I'm going to hold off on writing more comprehensive documentation, as I still need to polish up the generic Swagger client that goes with this. I'll probably need to change some interfaces as I do that.
Hopefully what I've added sheds some light on the use.

Amazing. Thank you @TheFrozenFire


[opencv] Add support for TBB

Please add support for building OpenCV with TBB parallel framework.

The PR #5123 is already there, though no one cares to merge it.

@Codiferous Thanks for merging!


Added onTranslate hook to the translate function

This pull request will make it possible to interact with the parameters of the translate function on a global level. I am experiencing an issue with counterpart where it is not possible to lowercase my keys when translating.
My original translations are not consistent (pascalcase, camelcase, etc), so the only thing that I can do with them to make them consistent is to lowercase the keys, but therefore counterpart also needs to lowercase them.
By adding this hook I can do:
counterpart.registerOnTranslate(function(args) {
    args.key.toLowerCase();
);

please let me know if you think this feature is worth adding to counterpart
Thanks a lot!
Ronald

Thanks for your pull request, Ronald! I've added something similar to v0.17 (see commit https://github.com/martinandert/counterpart/commit/e7e87a3fda344a38dfa32bd5a7c647b8780261e3). I hope this is going to work for you. If not, please let me know.

Great,
That will definitely work
thanks a lot!

Oh by the way: we are using your react-translate-component, when do you think you can update this with version 0.17 of counterpart?

Oh by the way: we are using your react-translate-component, when do you think you can update this with version 0.17 of counterpart?

Updating it as we speak.


Organization name field in admin - change from numerical to text

Organization name doesn't show up once selected, only 5-digit code. Need to have org name show up when selected to avoid confusion when moderating.
Example:
http://aashe-hub-dev.herokuapp.com/admin/content/casestudy/4/

This is also showing up on the Author Organization section. Here is an example with both issues: http://aashe-hub-dev.herokuapp.com/admin/content/material/16/

"Submitted by" also shows up with submitter id only. Would be useful to list both name and id.

@bartTC - do you have any suggestions about this? I've messed with a few options, but I'm thinking this shortcut might need to be expanded to define each content type:
    for _, model in CONTENT_TYPES.items():
        admin.site.register(model, BaseContentTypeAdmin)

Here's what I've tried so far:
http://django-ajax-selects.readthedocs.org/en/latest/
http://django-autocomplete-light.readthedocs.org/
https://djangosnippets.org/snippets/2108/
Did you have anything else in mind here? ...before I go building admin forms for each content type.
Thanks!

Two options.

Use the widget we use on the frontend. We have everything in place, the widget, the API. It will be exactly the same experience.

For a quick solution use salmonella. You'd still see the PK in the field, but the real name aside where you can also delete it.

For the actual integration, I think you can put the overrides into the BaseAdmin class and don't need to define each Form separately. See https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_overrides


update example to react-native 0.46

I wasn't able to run the example in Xcode 8.3, so I've updated the example application to use the latest react-native (0.46.0) instead

Will be taken care of in #151


osu-lazer{,-bin}: 2024.906.2 -> 2024.1009.1, refactor

Release: https://github.com/ppy/osu/releases/tag/2024.1009.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Update was pulled due to crashes.
Also it was marked as a pre-release, and the in-game update checker said an older version is the latest:

If this is intentional, we should adjust the update script to exclude pre-releases.

The issue was fixed and a new version was released.

did https://github.com/ppy/osu/releases/download/2024.1009.1/osu.AppImage get changed? i'm getting hash mismatch, which is sha256-PAbLw/IVJHe/y7YSyrTK9wJVcN3VIZYhrgDoHzYtjS8= instead of sha256-G7+Mr0Zd/p8XUVU5aG7KywvLD2hz2N37kEbm5rlghEw=

did https://github.com/ppy/osu/releases/download/2024.1009.1/osu.AppImage get changed? i'm getting hash mismatch, which is sha256-PAbLw/IVJHe/y7YSyrTK9wJVcN3VIZYhrgDoHzYtjS8= instead of sha256-G7+Mr0Zd/p8XUVU5aG7KywvLD2hz2N37kEbm5rlghEw=
edit: asked on discord, looks like republish

@ilsubyeega interesting, yesterday they made a 2024.1009.0 which had critical bugs, so they pulled it and made a new release, 2024.1009.1. I'm not aware of pulling this one too and re-releasing it with the same version, but if that's the case I'll update it in a few hours (if it's not fixed already).


Refactor VRF Signer

Motivation
Closes #3902
Changes
Only refactors VRF Signer and Verifier to not fetch nonces from the DB. Only refactors existing code in a functional identical way; does not implement #3962 or other features!
Test Plan

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors try

Superseded by https://github.com/spacemeshos/go-spacemesh/pull/3971


[FEATURE]Add blog page

Is your feature request related to a problem? Please describe.
Add blog page
Describe the solution you'd like
Add blog page
Describe alternatives you've considered
Add blog page
Additional context
Add any other context or screenshots about the feature request here.

Hey @KapuluruBhuvaneswariVspdbct , We don't need this feature right now, but thanks for the suggestion.


A better fix for stacked bar charts with log axes

Still resolves the original issue, #3585 while also fixing the issue identified for normal stacked charts when the Y axis has a user defined minimum value

In terms of the axes I think something about the range changed and as a result, the axis has a different max and min value.
It fixes both because Chart.scale.getBasePixel doesn't consider data values so for the first dataset we don't have to worry about the 0 for log axes. I think there actually might be one case where this solution still fails. If the y axis is log, and it is stacked, and the value in the first dataset is 0, the second dataset might still have this problem. I will check this case, but if I am right this PR won't actually work 😢

Shouldn't this issue be fixed on the logarithmic scale side instead? Controllers should not be aware of the scale internal logic so it's a bit weird to try to "prevent" the scale to fail in the bar controller with some special cases (how it's handled by other chart types?). Maybe the best way to fix that issue is to consider any value "valid" from the controller perspective and handle special cases (such as 0 for log) in scales?

I think that is the correct way to deal with this so I will close this PR and find a solution that works without changing the bar controller.

We can keep working on that PR though :) Also, I think the controller need to be fixed because of the original value which should not be added at every iterations.

Yup, I realized that after closing :P Will look into the changes now :)

The 2 commits that I pushed fix the issue without breaking the stacked linear axes and without adding log specific code to the bar controller.
In terms of how 0s are handled in the log axis, I think we should brainstorm on what the best solution is. Right now we have https://github.com/chartjs/Chart.js/blob/master/src/scales/scale.logarithmic.js#L201-L219 which adds a '0' tick mark below the minimum value but maybe we need to consider something more general


Automatic copy breaks Flickr links

Ripme version: 1.7.85
Java version: 1.8.0_201
Operating system: 6.1.7601
Exact URL you were trying to rip when the problem occurred: N/A
Please include any additional information about how to reproduce the problem:
Try to copy links containing @ character, such as https://www.flickr.com/photos/35584469@N00/

Expected Behavior
Full URL gets copied and put into the queue.
Actual Behavior

Trailing characters from when the @ character appears are removed, which results in a broken link.

When the part of the URL is removed, Flickr will serve a 404 page instead.


add loader + fix slow load tokens

change GET jup token api and added a loader at the start.

merging to test, ty ser


Create 17ume067

_/_ ...... 🗡

Thanks for the PR.
Hope to see more contribution from you in this organization in future.
We will like have you onboard.
Feel free to contact me in case of any doubt.


Android build error

On Android, react-native link react-native-bluetooth-status seems not to be working (none of the actions indicated in the manual installation are preformed...).
Performing manual installation, when compiling I get:
/home/marco/apps/MyPassGo/node_modules/react-native-bluetooth-status/android/src/main/java/com/solinor/bluetoothstatus/RNBluetoothManagerPackage.java:12: error: RNBluetoothManagerPackage is not abstract and does not override abstract method createJSModules() in ReactPackage
public class RNBluetoothManagerPackage implements ReactPackage {
       ^
1 error
:react-native-bluetooth-status:compileReleaseJavaWithJavac FAILED

Any suggestion?

I had published 1.1.3 in the npm, but it wasn't showing here in github. That version should have removed the conflicting overrides that were a breaking change on new versions of RN. Can you update to 1.1.3 and see if it starts working?


Conditional migrate calling

Could you update this to use a git dependency on the main branch? That way the CI can test it.


Old Format Percentage without decimals

Hi,
I'm using NumbroJS through Handsontable in my angular app.
It seems that handsontable only support for the moment old format, and I'm struggling with a quite simple problem.
I would like to display a percentage number without decimals.
I tried numbro(0.5154555448875).format('0%')but it displays all decimals.
Is there is a simple way to display 52% ?
Thanks a lot in advance,
Nikolas

Me again,
I have the exact same problem without %.
For example numbro(92580033.27999996).format('0,0') return 92,580,033.27999996 and I want 92,580,033.
How could I achieve that ?
Thanks

Hello, I have an issue with percentage formatter as well.
numbro('0.14').format("0,0%");
output: 14.000000000000002%
numbro('0.14').format("0,0.000000000000000000000000000000%")
output: 14.000000000000003552713678800501%
But if original value is too large so thousands separator appears it looks like this:
numbro('10.14').format("0,0%");
output: 1,014%
Can this be fixed as well?

I surprised and little disappointed to see this issue still is in current version.


docs: shrink some big images

Thanks! LGTM
ping @moxiegirl optimized images only, no visible changes

ping @moxiegirl

LGTM

Yay!


Added PointCloudDot example

As the PointCloudDot has no documentation yet, here is one first example

LGTM

looks a bit weird, no?
https://manimce--1449.org.readthedocs.build/en/1449/reference/manim.mobject.types.point_cloud_mobject.PointCloudDot.html?highlight=dot#manim.mobject.types.point_cloud_mobject.PointCloudDot

looks a bit weird, no?
https://manimce--1449.org.readthedocs.build/en/1449/reference/manim.mobject.types.point_cloud_mobject.PointCloudDot.html?highlight=dot#manim.mobject.types.point_cloud_mobject.PointCloudDot

Yeah it does, maybe remove the middle one.

That's a bit odd, it looks like this on my end (at high quality):

I guess the docs render at low quality.

Yeah it does, maybe remove the middle one.

Seems like a good solution

But normally, A scene should not look different based on what resolution one chooses.
I think it would be a good idea to deprecate PMobject (and therefore also PointCloudDot)

But normally, A scene should not look different based on what resolution one chooses.
I think it would be a good idea to deprecate PMobject (and therefore also PointCloudDot)

So we can close the PR?

LGTM and I feel PMobject() is worth keeping. ManimGL has rewritten this module quite a bit, maybe we can do that as well once we shift to OpenGL.


Re-add resolved and integrity to lockfile

Readiness checklist

[ ] I added/updated tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.

don't ask me why the default case doesn't matches undefined..


process code cleanup

@shiqin-liu I'm doing some code cleanup in the process folder prior to you testing it this week. This will make the code format and style consistent throughout the project, in line with #75.

@shiqin-liu this is ready for your review. If you approve these changes I will merge them into master. Note that this is mostly code cleanup and formatting for consistency across the project. However do note the one substantive change in 3eebb35e709b5373e39d3671cc147a633627a960 where I add new exception handling, because otherwise we were hitting an error (with the new version of OSMnx in the docker image) when a subgraph occasionally lacked edges.
cc @carlhiggs in case you'd like to place another pair of eyeballs on this

@shiqin-liu one more note: it looks like the readme in the process folder is out of date and does not account for your changes to config json file creation via the script.

Also e3667b2 adds a fix for the bug documented in #77

Thanks, Geoff! These look good to me. I will update the process readme when re-testing this week.


Andorid Build Gradle fail due to missing "

Plugin version 2.6.0 and 2.7.2
CLI version 9.0.0<EMAIL_ADDRESS>I'm submitting a ...  (check one with "x")

[ ] question
[x ] any problem or bug report

OS:  (check one with "x")

[ x] Android
[ ] iOS
[ ] Browser

Current behavior:
FAILURE: Build failed with an exception. *
Where: Script /platforms/android/cordova-plugin-googlemaps/android-pgm-custom.gradle' line: 66 *
What went wrong: A problem occurred evaluating script. >
Please add '' to the config.xml file. *
Try: Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights. * Get more help at https://help.gradle.org
BUILD FAILED in 1s /platforms/android/gradlew: Command failed with exit code 1
Error output: FAILURE: Build failed with an exception. *
Where: Script '/platforms/android/cordova-plugin-googlemaps/android-pgm-custom.gradle' line: 66 *
What went wrong: A problem occurred evaluating script. >
Please add '' to the config.xml file. *
Try: Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights. *
Get more help at https://help.gradle.org BUILD FAILED in 1s

Expected behavior:
The app would build

Please share your project files on git repository (Please don't paste your zip file).

Sorry no.  I can't do that.
This is a compiler/gradle error referencing a very specific line in pgm-custom.gradle
Line 66:
throw new GradleException("Please add '<preference name=\"GOOGLE_MAPS_ANDROID_API_KEY\" />' to the config.xml file.")

Removing your plugin allows the app to build.

The error means there is no <preference name="GOOGLE_MAPS_ANDROID_API_KEY" /> in the AndroidManifest.xml file.
If you install the maps plugin proper, <preference name="GOOGLE_MAPS_ANDROID_API_KEY" /> is inserted by cordova automatically.
Since you don't share your code, I can't help this anymore.

Open the file config.xml with your text editor, and write preferences like this.
<widget ...>
  ...
  <preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="(api key)" />
  <preference name="GOOGLE_MAPS_IOS_API_KEY" value="(api key)" />
  ...
</widget>

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.6.0/hello-world/README.md#step-3-edit-configxml

Users of cloud build services like Phonegap don't install plugins that way. Most of us don't have cordova installed on our local machines.
 does indeed exist in my config.xml
the error message isn't about a missing key, the error message is a parse error in your gradle file.

This plugin picks up API keys from config.xml on Android/iOS.
This change has been introduced from v2.6.0.
The benefit of this change is to omit the --variable when you reinstall the maps plugin.
If there is no config.xml file, you need to create a config.xml file.

Of course there's a config.xml file, if there wasn't this error wouldn't be happening!!!
The variable that you need is in the config.xml file.
I have tried it three ways:
1)
<preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="xxxxx" />

  <platform name="android">
    <preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="xxxxx" />
  </platform>

  <plugin name="cordova-plugin-googlemaps" spec="2.7.1">
  <!-- <variable value="xxxxx" name="API_KEY_FOR_ANDROID" /> -->
    <variable name="GOOGLE_MAPS_ANDROID_API_KEY" value="xxxxx" />
    <variable name="GOOGLE_MAPS_IOS_API_KEY" value="xxxxx" />
  </plugin>

  <plugin name="cordova-plugin-googlemaps" spec="2.7.1">
    <variable value="xxxxx" name="API_KEY_FOR_ANDROID" /> -->
  </plugin>
```

And of course none of these work because the compiler is barfing because it detects some problem with parsing the gradle script at line 66.  That's the compiler output.  It doesn't say the key is missing, it says insert ' ' in the config.xml because it can't parse ' '

Example
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>MyApp</name>
    <description>An awesome Ionic/Cordova app.</description>
    <author<EMAIL_ADDRESS>href="http://ionicframework.com/">Ionic Framework Team</author>
    <content src="index.html" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <preference name="ScrollEnabled" value="false" />
    <preference name="android-minSdkVersion" value="19" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="SplashMaintainAspectRatio" value="true" />
    <preference name="FadeSplashScreenDuration" value="300" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="3000" />
    <platform name="android">
        ...
    </platform>
    <platform name="ios">
        ...
    </platform>
    <plugin name="cordova-plugin-whitelist" spec="1.3.3" />
    <plugin name="cordova-plugin-statusbar" spec="2.4.2" />
    <plugin name="cordova-plugin-device" spec="2.0.2" />
    <plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
    <plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" />
    <plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
    <preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="(YOUR API KEY)" />
    <preference name="GOOGLE_MAPS_IOS_API_KEY" value="(YOUR API KEY)" />
</widget>

You're not even listing your own plugin in that example.

https://github.com/mapsplugin/cordova-plugin-googlemaps#quick-install

I also provides two HelloWorld tutorials
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.6.0/hello-world/README.md
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.6.0/hello-world-phonegap-build/README.md

I have my config.xml configured the way you want EXACTLY according to your instructions and posts and it will not build with your plugin.  I'll try to use your plugin again when you've gone up a couple of versions but for now, I can't implement this.  Thanks for your time.

If you share your project files on git repository, I can help more.
I didn't specify the git repository must be public. It means private repository is acceptable.
Even if you don't want to share your code, I recommend you try to create a simple project of HelloWorld to drill down your problem. If you can't solve the problem with HelloWorld project, please come back and share the project files on git repository.


UI edge case to handle

Handle multiple entries for the same sequence ID.
Use case -- tracker logged an error. I then restart from that state and fix the bug, but I want to continue to trace to the same place. This will result in something like this:
{"type":"begin_entry","start_time":"2024-03-14T23:46:33.550378","action":"counter","inputs":{},"sequence_id":2}
{"type":"end_entry","end_time":"2024-03-14T23:46:33.551172","action":"counter","result":null,"exception":"Traceback (most recent call last):\n  File \"/Users/stefankrawczyk/dagworks/burr/burr/core/application.py\", line 320, in _step\n    raise e\n  File \"/Users/stefankrawczyk/dagworks/burr/burr/core/application.py\", line 310, in _step\n    result, new_state = _run_single_step_action(next_action, self._state, inputs)\n  File \"/Users/stefankrawczyk/dagworks/burr/burr/core/application.py\", line 186, in _run_single_step_action\n    result, new_state = action.run_and_update(state, **inputs)\n  File \"/Users/stefankrawczyk/dagworks/burr/burr/core/action.py\", line 442, in run_and_update\n    return self._fn(state, **self._bound_params, **run_kwargs)\n  File \"/Users/stefankrawczyk/dagworks/burr/examples/counter/application.py\", line 18, in counter\n    raise ValueError(\"random error\")\nValueError: random error\n","state":{"counter":1,"__SEQUENCE_ID":2,"__PRIOR_STEP":"counter"},"sequence_id":2}
{"type":"begin_entry","start_time":"2024-03-14T23:55:09.384311","action":"counter","inputs":{},"sequence_id":2}
{"type":"end_entry","end_time":"2024-03-14T23:55:09.385772","action":"counter","result":{"counter":2},"exception":null,"state":{"counter":2,"__SEQUENCE_ID":2,"__PRIOR_STEP":"counter"},"sequence_id":2}

So there will be two entries. The UI just shows the last one. Should really show both...
Alternatively, we should never write to the same place and deal with this problem differently.

Fixed by #73

This is now complete I think...


Override/Customize the generated ClaimsPrincipal

I have implemented IdentityServer4 in a new .NET Core API project.  The project does NOT use AspNetIdentity or Entity Framework.
I like that IdentityServer sets up the ClaimsPrincipal so that it's easy to access it via this.User in my controller.
The issue I'm having is that there are claims that I want to be part of the ClaimsPrincipal but not part of the JWT.
Here's what I've tried so far, none has accomplished what I want.

Excluding claims in the ProfileService.
Excluding claims in the ClaimsService.
Adding a custom ClaimsIdentity to the context.Subject in the ProfileService.
Implement an IUserClaimsPrincipalFactory.... CreateAsync never got called.

Is there a service in IdentityServer that I can implement to allow override/customization of the ClaimsPrincipal that is generated?

The profile service collects all the claims for the various tokens - but whatever you return there, goes into the token.

Is there any way to get access to the ClaimsPrincipal before IdentityServer sets it as the User context of my app so that I can add claims or add a custom ClaimsIdentity?

You set the ClaimsPrincipal yourself - it's the cookie you issue on the login pahe.

I should have been more specific.  I am using IdentityServer with an API, we don't have any kind of front end connecting to it, only a console app right now using Resource Owner flow.
After successfully authenticating the credentials IdentityServer is automatically setting the User in the HttpContext.  That's what I'm hoping to be able to get a hook into so that we can extend the properties of that ClaimsPrincipal User.  I can't see where Context.Authentication.SignInAsync is exposed where I can do that.

After successfully authenticating the credentials IdentityServer is automatically setting the User in the HttpContext

Where is this happening?

Upon further investigation it looks as though AspNetCore is creating the ClaimsPrincipal from the JWT token being used.
It looks as though I'm able to hook into the JwtBearerEvents middleware using IdentityServerAuthenticationOptions in order to get access/transform the ClaimsPrincipal and ClaimsIdentity.

@slogmaverick I am interested to know if your approach transforming claims hooking into JwtBearerEvents worked ok for you. I also want to have my own ClaimsPrincipal created, but only when user is authorized (because I have to call database for retrieving some extra permissions)

You can replace the NoopClaimsTransformation service that gets added as a singleton when adding the authentication service.  NoopClaimsTransformation implements the IClaimsTransformation interface.
IClaimsTransformation interface contains one Method called "TransformAsync()" that takes in the claims principle. This method used by Authentication and get's called immediately after the claim principle is built. It appears to me that the NoopClaimsTransformation class being used by default is meant to be replaced as a means of doing exactly what you are describing. It's TransformAsync() does nothing but returns (Hence Noop).
All you have to do it create a class that implements IClaimsTranformation, update your claims principle in the TransFormAsync() method, and add it as a singleton to the services (you may have to remove the NoopClaimsTransformation also).  I know I am responding to an old post, but I hope this helps anyone in the future.


[ION-1431] examples: internal load balancer and load balancer vpc link

https://github.com/sst/sst/tree/dev/examples/aws-cluster-internal
https://github.com/sst/sst/tree/dev/examples/aws-cluster-vpclink

For the internal ALB endpoint, we can show that the endpoint will hang if curled directly. But works if curl'ed from the bastion host:
aws ssm start-session --target ${vpc.bastion}
curl ...

ION-1431

done


Misc fixes for issues encountered in testing

This PR wraps up a number of fixes for situations and issues I've encountered while testing JS 7 in a real app.

Interrogation:

Remove serialization of full RegionEndpoint type and just use the SystemName

Queue Creation:

Remove bool return on topic creation and just use exceptions (the return value wasn't used outside tests.

This means that there's no observable difference between calling CreateAsync on a queue that does/does not exist. Exceptions are thrown in error cases.

No longer cache queues by region, because we don't support multiple regions anymore
Little more logging during queue/topic existence checks
More null checks to fail fast on startup

Monitoring

Add a test for IMessageMonitor to ensure the key monitor methods are called

MessageAttributes

The correct data type for string attributes is "String" and not "StringValue". LocalStack will just return what its given, but real AWS will not filter queues or return the attributes.

Formatting

Formatted touched files to match the editorconfig

Is this ready to merge @martincostello? 🙂


[REMINDER] Notes + some tiny typos

https://github.com/GiorgosXou/NeuralNetworks/blob/dee00f691357a4712ea981b6f48e84e290c4df90/examples/FeedForward_double_Xor/FeedForward_double_Xor.ino#L1
*calculates the number of "elements in an array" not "layers"

https://github.com/GiorgosXou/NeuralNetworks#define-macro-properties
https://github.com/GiorgosXou/NeuralNetworks/blob/dee00f691357a4712ea981b6f48e84e290c4df90/examples/Any_Activation_Function_Per_Layer/Any_Activation_Function_Per_Layer.ino#L3

https://github.com/GiorgosXou/NeuralNetworks/blob/dee00f691357a4712ea981b6f48e84e290c4df90/src/NeuralNetwork.h#L539

In  the readme.md, I have cutsom instead of custom in a title

In the readme.md, Summary > Output column,  change float to DFLOAT typo

This softmax part-implementation for use with any ACTIVATION__PER_LAYER, (even thought I trust myself, not gonna lie) seems slightly suspicious:
https://github.com/GiorgosXou/NeuralNetworks/blob/da5b5af6d0f744c5c25b4879ab0987bf94318c0d/src/NeuralNetwork.h#L2041
And by suspicious, I mean: i don't remember 😭 + division lol

Reminder: Remove space in middle after = :
https://github.com/GiorgosXou/NeuralNetworks/blob/da5b5af6d0f744c5c25b4879ab0987bf94318c0d/src/NeuralNetwork.h#L1509

I forgot to remove it, when I was copying a previous example, lol:
https://github.com/GiorgosXou/NeuralNetworks/blob/da5b5af6d0f744c5c25b4879ab0987bf94318c0d/examples/Media/Save_NN_to_internal_EEPROM/Save_NN_to_internal_EEPROM.ino#L14-L24

On Arduino Uno usually you need to specify CS pin to whatever you have it, usually begin(4), it's nice to have as a comment
https://github.com/GiorgosXou/NeuralNetworks/blob/da5b5af6d0f744c5c25b4879ab0987bf94318c0d/examples/Media/Save_load_NN_from_SD/Save_load_NN_from_SD.ino#L41
AAAAAAAAAAAAAAA, sorry but i have an error that fried my head


Add CI testing pipeline

Windows Install/Uninstall
Linux Install/Uninstall

#122 & #123 closes this issue.


searchbar

The search bar isn't functional yet.

The searchbar works, but it won't search all the records. I have discovered which records are searchable by searching a blank space. ... Does it have to do with the fact that all the records aren't appearing in the Admin console for me?

The full list of teachers is pulled from the Choices table, but when you go to an individual teacher page, it has more information that is pulled from the Teachers table.  To solve this difference in data, I coded the database to automatically create a new teacher object and page when someone goes to that page for the first time.  However, it still does not create a Teacher object when a user creates a new teacher with the input app.


Messages from "everyone" will not be bridged

should be same also for clyde and discord.
below is from discord docs:
An error will be returned if a webhook name (name) is not valid. A webhook name is valid if:
It does not contain the substrings clyde or discord (case-insensitive)
It follows the nickname guidelines in the [Usernames and Nicknames](https://github.com/discord/discord-api-docs/blob/main/docs/resources/Webhook.md#DOCS_RESOURCES_USER/usernames-and-nicknames) documentation, with an exception that webhook names can be up to 80 characters


Changes for showing pebblo server and client version on DAXA UI

Sending ai_apps data including pebbloServerVersion and pebbloClientVersion in v1/app/discover API

losing this PR. Raiseing new one https://github.com/daxa-ai/pebblo/pull/319


[e2e]: go release main config-ldflags-assets slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v16.0.133
Run: https://github.com/slsa-framework/example-package/actions/runs/3286912557
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Trigger: release
Branch: v16.0.133
Date: Thu Oct 20 04:56:03 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v16.0.134
Run: https://github.com/slsa-framework/example-package/actions/runs/3294879725
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Trigger: release
Branch: v16.0.134
Date: Fri Oct 21 04:58:10 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v16.0.135
Run: https://github.com/slsa-framework/example-package/actions/runs/3301998374
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Trigger: release
Branch: v16.0.135
Date: Sat Oct 22 05:00:20 UTC 2022
Tests are passing now. Closing this issue.


Implement the Cypress e2e test to test the login flow of krini

Is your feature request related to a problem? Please describe.
As the CI pipeline runs certain tests on the Krini before deploying it to the production. Checking the login flow will be a good test to be written in case OIDC auth is broken by any code changes.
Describe the solution you'd like
We can write the cypress e2e test that tests for the login flow before deploying the application to production.
Describe alternatives you've considered
--NA--
Additional context
A test can be written in the file ./cypress/e2e/spec.cy.js under the test auth -> user can login. This test is already integrated into the CI pipeline & this can be tested by running npm run cypress:open.

Hi @git-anurag-hub, can you please assign this issue to me?

Hi @tanya17-05, I think @Sanyam2000-dot is already working on this, but I'm not sure. @git-anurag-hub: can you please write some more issues and make sure both @Sanyam2000-dot and @tanya17-05 have issues to work on? Thanks 🙏🏻

Yeah sure @uniqueg. @Sanyam2000-dot can you confirm if you are working on this?

Hello Anurag, Yes I'm working on this issue. Thanks!

Ok @Sanyam2000-dot, let me know if you need any kind of help.

Thanks @tanya17-05 . I'll ket you know.

Hey @Sanyam2000-dot are you working on this?

Hello @git-anurag-hub, I have started this but have not completed it due to some health issues in the family. It will be good if you can assign it to Tanya so I can guide her forward.

Np @Sanyam2000-dot , TC!

Hi,
Can I work on this issue. I have some experience in writing cyprus tests.
My approach would be, using cyprus:

clicking on login button on home screen
clicking on `Login with LS username"
entering test username and password
clicking on login button
searching for Run workflow button to confirm login was successful.

I am open for suggestions to my approach.

Sure @SohamRatnaparkhi, go ahead with it!

Hey @SohamRatnaparkhi, you can right now try out with yours & configure the same in the .env.test!


Split .transform() into .pre_transform() and .post_transform()

Easier to manage with a .scale() method, see #377


Update OpenSSL on Linux to 1.1.1f

High-level description
Update OpenSSL to 1.1.1f on Linux. Windows requires an upload to our local repo.
Corresponding DC/OS tickets (required)

D2IQ-66526 Bump OpenSSL to 1.1.1e

Related tickets (optional)

D2IQ-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot request-review @DominikDary @janisz


Speed up FreqDist.N()

The function FreqDist.N(), defined in probability.py, performs a sum of all contained values every time it is called. FreqDist inherits from collections.Counter, and instances of it often contain large collections, for instance all distinct unigrams in a text in the case of the TnT tagger. The N() function may thus have to iterate over tens or hundreds of thousands of values to yield its total count. This means that as is, it should be used with care. However, other commonly used functions, such as FreqDist.freq(), call N() - not once but twice per call!
This can easily be optimized and will yield much faster execution. One way to do it is to add a function to FreqDist:
def freeze_N(self):
    """ Freezes the total item count N() at its current value, making its retrieval MUCH faster """
    n = self.N()
    self.N = lambda: n

...and then call the freeze_N() function for instance after training but before POS tagging new text. In my TnT tagging use case, this simple modification increased tagging speed by 5x.
Other solutions are possible, but in any case, the current behavior is extremely and unnecessarily slow.

...and, by the way, by adding the same optimization to ConditionalFreqDist.N() I was able to get a further 1.8x speedup on the TnT tagging use case. The cumulative speed gain is about 9x - in my case from just over 200 seconds on a 100,000-sentence training run followed by tagging of 200 test sentences, down to 23 seconds.
The function added to ConditionalFreqDist is as follows:
    def freeze_N(self):
        """ Freeze the total number of sample outcomes at the current value """
        for fdist in self.values():
            fdist.freeze_N()
        n = self.N()
        self.N = lambda: n

I have submitted a PR addressing this: https://github.com/nltk/nltk/pull/1680

Resolved.


Address Pendulum Retort

Pulled from the pendulum site: https://github.com/sdispater/pendulum
Let's address these cases natively.
Arrow is the most popular datetime library for Python right now, however its behavior and API can be erratic and unpredictable. The get() method can receive pretty much anything and it will try its best to return something while silently failing to handle some cases:
arrow.get('2016-1-17')
<Arrow [2016-01-01T00:00:00+00:00]>
pendulum.parse('2016-1-17')
<Pendulum [2016-01-17T00:00:00+00:00]>
arrow.get('20160413')
<Arrow [1970-08-22T08:06:53+00:00]>
pendulum.parse('20160413')
<Pendulum [2016-04-13T00:00:00+00:00]>
arrow.get('2016-W07-5')
<Arrow [2016-01-01T00:00:00+00:00]>
pendulum.parse('2016-W07-5')
<Pendulum [2016-02-19T00:00:00+00:00]>
Working with DST
just_before = arrow.Arrow(2013, 3, 31, 1, 59, 59, 999999, 'Europe/Paris')
just_after = just_before.replace(microseconds=1)
'2013-03-31T02:00:00+02:00'
Should be 2013-03-31T03:00:00+02:00
(just_after.to('utc') - just_before.to('utc')).total_seconds()
-3599.999999
Should be 1e-06
just_before = pendulum.create(2013, 3, 31, 1, 59, 59, 999999, 'Europe/Paris')
just_after = just_before.add(microseconds=1)
'2013-03-31T03:00:00+02:00'
(just_after.in_timezone('utc') - just_before.in_timezone('utc')).total_seconds()
1e-06

related https://github.com/crsmithdev/arrow/issues/72

#91 #456 (and I'm sure there are others) talk about the problem of get() returning something even if it's terribly wrong. The possible solutions tend to be either adding a kwarg that makes parsing really strict and fail instead of returning garbage, or changing the behavior entirely. The latter would have to be done with deprecation warnings since it's sure to break many people's code.
DST problems are known (there is a milestone for them), we just need someone to take a detailed look at fixing it.
PR's are welcome on these issues.

Just wanted to add this in here: we are addressing a number of these issues in the upcoming 0.15.0 release. See details here: https://github.com/crsmithdev/arrow/issues/612.


grails.plugin.springsecurity.ReflectionUtils.getRequestMapClass() is unable to find Requestmap class when grails 3.1.1 app is deployed as .war in tomcat.

For some reason
Grails 3.1.1 application runs from command line without problems. However tomcat fails to deploy the same application .war file with the following error message:
...
...
Caused by: java.lang.AssertionError: Cannot load Requestmaps; 'requestMap.className' property 'com.novadge.security.Requestmap' is invalid. Expression: Requestmap. Values: Requestmap = null
...
...
If I create a demo grails app without running grails s2-quickstart com.novadge.security Users Role Requestmap, tomcat deploys the app .war file without problems.

Have same problem. A grails 3.1 application runs fine from command line or ide without problems, can't deploy to tomcat.
ERROR org.springframework.boot.SpringApplication - Application startup failed org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterInvocationInterceptorDeregistrationBean': Cannot resolve reference to bean 'filterInvocationInterceptor' while setting bean property 'filter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterInvocationInterceptor': Invocation of init method failed; nested exception is java.lang.AssertionError: Cannot load Requestmaps;

OS: Windows 10.
To reproduce, add  compile "org.grails.plugins:aws-sdk:1.10.51" to build.gradle
For my plain project I had the following in build.gradle
compile 'mysql:mysql-connector-java:5.1.29'     compile(group: 'org.grails.plugins', name: 'spring-security-core', version: '3.0.3') compile 'org.grails.plugins:excel-import:3.0.0.RC2'     compile 'org.grails.plugins:excel-export:2.0.1' compile 'org.grails.plugins:aws-sdk:1.10.51'

Was there any resolution to this?

@burbidge it does not look like there was any resolution.
@burtbeckwith was not able to reproduce the issue.


Issue #27: add swagger result handler test

Reference: Issue #27
Extends springfox-demos/boot-static-docs to demonstrate usage of SwaggerResultHandler to generate JSON swagger definitions.
Refactors gradle build to use test task instead of asciidoctor, which is more generic/precise.
Updates README.md to reflect changes.
@dilipkrish @adrianbk

guess not


Can't scroll within nano editor

Steps to reproduce

nano example.js
Try to scroll
Does not work

Dupe: https://github.com/zeit/hyperterm/issues/216


LXC Container support

LXC Container support with a few other fixes:

Adds a Platform Type question for Hardware vs LXC
Adds prompt question for LXC pre-requisites
Adds firewall question
Moves platform specific setup into separate files
Removes dss/dsa key support from build_sshfp_records() (caused an error on fresh install)
Fixes bug in provision_certificates()
Issues Let's Encrypt certificate for PRIMARY_HOSTNAME before setup exits
Gives execute permissions on shell scripts

Needs more testing on existing installs - mine's fresh

Okay I'll try to make this more generic and look into autodetection.
Never used docker sorry.
I figured if they were running in a container they're more likely to be a power user anyway.
The bug is described in the commit. Basically if you have a zone domain.com and a domain domain.com and your miab box is called miab.domain.com, the logic means the miab host name will be overwritten in the else clause due to the domain sort order.

Ran into a problem with docker due to this error:

Updating system packages...
Installing system packages...
rm: cannot remove '/etc/resolv.conf': Device or resource busy

Described here:
https://stackoverflow.com/questions/60549775/device-or-resource-busy-when-i-try-move-etc-resolv-conf-in-ubuntu18-04-how

I think this is worth another look now and a test if possible. A few additional tweaks:

fix: management UI redirects to allow nginx to sit behind port forwarding and maintain the port
feat: configurable HTTPS port (not a question, just change the configuration file and regenerate the nginx config)
feat: regenerate nginx config from the command line
feat: platform autodetection
fix: rephrase questions, fix default logic
fix: add migration to patch existing install configuration
fix: add basic apt package requirement checks

Have changed the System status checks to look like this. If the service is running it's a warning, only if it isn't running at all is it an error. The first line is only displayed for an LXC container:
System
?  The following checks try to connect to each service on your public IP, which may not work on your platform type.
✖  Public DNS (nsd4) is not running (port 53).
?  Incoming Mail (SMTP/postfix) is running but is not publicly accessible at PUBLIC_IP:25.
?  Outgoing Mail (SMTP 465/postfix) is running but is not publicly accessible at PUBLIC_IP:465.
?  Outgoing Mail (SMTP 587/postfix) is running but is not publicly accessible at PUBLIC_IP:587.
?  IMAPS (dovecot) is running but is not publicly accessible at PUBLIC_IP:993.
?  Mail Filters (Sieve/dovecot) is running but is not publicly accessible at PUBLIC_IP:4190.
?  HTTP Web (nginx) is running but is not publicly accessible at PUBLIC_IP:80.
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
?  HTTPS Web (nginx) is running but is not publicly accessible at PUBLIC_IP:8443.
✓  SSH disallows password-based login.
✓  System software is up to date.

You are running version Mail-in-a-Box v56.4. Mail-in-a-Box version check disabled by privacy setting.
✓  System administrator address exists as a mail alias<EMAIL_ADDRESS>↦<EMAIL_ADDRESS>?  The disk has 1.33 GB space remaining.
✓  System memory is 30% free.

Any news on this?
(I changed my account btw)

There are still a few broken admin page links if the HTTPS port number is changed from 443

@ddavness I've rebased onto your latest changes. Are there any more issues with this?

I'll review this later - as you can understand this is quite a bit of a change, so I'll take a further deep dive on it when I have a proper chunk of time :)


merge package template from arlac77/npm-package-template

Updated standard to latest version

Codecov Report

Merging #127 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #127   +/-   ##
=======================================
  Coverage   91.13%   91.13%
=======================================
  Files          18       18
  Lines         158      158
=======================================
  Hits          144      144
  Misses         14       14

Continue to review full report at Codecov.

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

Coverage remained the same at 91.139% when pulling f845c55c33273f5c1d59081ebbf5c7ed3a76c72c on template-sync-1 into 72e5e1237738ae8a04400d90ca29d83f415da608 on master.


Add Awesome-Nim logo to the list header

Logo based on:

The official Nim logo (the crown) by Joseph Wecker, used with permission from the Nim project.
Awesome list logo by Sindre Sorhus.
Font: Orbitron by Matt McInerney.

Readme changes:

Logo links to the Nim webpage per "Requirements for your Awesome list" (The image should link to the project website or any relevant website)
Awesome badge aligned to the right per Should be placed on the right side of the readme heading.

Currently we fail the linter because of the divergence between the contribution rules and the codified linter rules.
See: https://github.com/sindresorhus/awesome/issues/2097

Thanks for the merge. That issue mentioned above is rather awkward: completely ignored and swarmed by bot comments.

@indiscipline


CloudFront: DeleteCloudFrontOriginAccessIdentity, https response error StatusCode: 412

I recently update from 0.1.17 to 3.0.106 and when I try to deploy or remove I receive this error message:
deploy:
SST 3.0.106  ready!
➜  App:        app
   Stage:      dev
~  Deploy
|  Info        Downloading provider aws v6.50.1
|  Info        Downloading provider aws v6.50.0
|  Created     Server sst:aws:Function
|  Created     IdentityPool sst:aws:CognitoIdentityPool
|  Created     UserPool sst:aws:CognitoUserPool
|  Created     UserPoolClient sst:aws:CognitoUserPoolClient
|  Created     Client sst:aws:StaticSite → ClientAssets sst:aws:Bucket
|  Created     Client sst:aws:StaticSite → ClientAssetsId random:index:RandomId
|  Created     Client sst:aws:StaticSite → ClientS3AccessControl sst:aws:OriginAccessControl
|  Created     Server sst:aws:Function → ServerLogGroup aws:cloudwatch:LogGroup
|  Created     Server sst:aws:Function → ServerRole aws:iam:Role
|  Created     Server sst:aws:Function → ServerCode aws:s3:BucketObjectv2
|  Created     Client sst:aws:StaticSite → ClientAssetsBucket aws:s3:BucketV2 (1.2s)
|  Created     Client sst:aws:StaticSite → ClientAssetsCors aws:s3:BucketCorsConfigurationV2
|  Created     Client sst:aws:StaticSite → ClientAssetsPublicAccessBlock aws:s3:BucketPublicAccessBlock
|  Created     UserPool sst:aws:CognitoUserPool → UserPoolUserPool aws:cognito:UserPool (1.6s)
|  Created     UserPoolClient sst:aws:CognitoUserPoolClient → UserPoolClientClient aws:cognito:UserPoolClient
|  Created     Client sst:aws:StaticSite → ClientAssetsPolicy aws:s3:BucketPolicy
|  Created     IdentityPool sst:aws:CognitoIdentityPool → IdentityPoolIdentityPool aws:cognito:IdentityPool
|  Created     IdentityPool sst:aws:CognitoIdentityPool → IdentityPoolAuthRole aws:iam:Role
|  Created     IdentityPool sst:aws:CognitoIdentityPool → IdentityPoolUnauthRole aws:iam:Role
|  Created     IdentityPool sst:aws:CognitoIdentityPool → IdentityPoolRoleAttachment aws:cognito:IdentityPoolRoleAttachment
|  Created     Client sst:aws:StaticSite → ClientFunction aws:cloudfront:Function (3.3s)
|  Created     Server sst:aws:Function → ServerFunction aws:lambda:Function (14.5s)
|  Created     Server sst:aws:Function → ServerUrl aws:lambda:FunctionUrl
|  Created     Server sst:aws:Function → ServerCodeUpdater sst:aws:FunctionCodeUpdater (2.1s)
♻  Generating routes...
✅ Processed routes in 181ms
vite v5.4.2 building for production...
transforming...
✓ 2315 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                                          2.60 kB │ gzip:  0.76 kB
dist/assets/index-Bu8m6-Eq.css                          47.01 kB │ gzip:  8.62 kB
dist/assets/goober-l0sNRNKZ.js                           0.00 kB │ gzip:  0.02 kB
dist/assets/detect-node-es-l0sNRNKZ.js                   0.00 kB │ gzip:  0.02 kB
dist/assets/date-fns-l0sNRNKZ.js                         0.00 kB │ gzip:  0.02 kB
dist/assets/clsx-l0sNRNKZ.js                             0.00 kB │ gzip:  0.02 kB
dist/assets/tiny-warning-Dirz_SfZ.js                     0.03 kB │ gzip:  0.05 kB
dist/assets/tiny-invariant-CopsF_GD.js                   0.08 kB │ gzip:  0.10 kB
dist/assets/get-nonce-C-Z93AgS.js                        0.09 kB │ gzip:  0.10 kB
<EMAIL_ADDRESS>                         0.23 kB │ gzip:  0.19 kB
dist/assets/embla-carousel-react-Dho5_gFX.js             0.64 kB │ gzip:  0.36 kB
dist/assets/use-callback-ref-BdJzumi1.js                 0.68 kB │ gzip:  0.38 kB
dist/assets/embla-carousel-reactive-utils-DkegjUUZ.js    0.75 kB │ gzip:  0.41 kB
dist/assets/tslib-CDuPK5Eb.js                            0.77 kB │ gzip:  0.41 kB
dist/assets/react-style-singleton-CmPGwiBW.js            0.81 kB │ gzip:  0.45 kB
dist/assets/useCustomerQuery-J-UYTCZl.js                 1.11 kB │ gzip:  0.55 kB
dist/assets/class-variance-authority-BlyDYGd9.js         1.11 kB │ gzip:  0.56 kB
dist/assets/use-sidecar-CY-712Ih.js                      1.26 kB │ gzip:  0.63 kB
dist/assets/aria-hidden-DQ5UC2Eg.js                      1.46 kB │ gzip:  0.73 kB
<EMAIL_ADDRESS>                      1.62 kB │ gzip:  0.81 kB
dist/assets/use-sync-external-store-DcOvVB2k.js          2.15 kB │ gzip:  0.93 kB
dist/assets/react-remove-scroll-bar-BfBMyYwK.js          2.29 kB │ gzip:  0.95 kB
dist/assets/customers.new.lazy-B60MvGEO.js               2.56 kB │ gzip:  1.25 kB
dist/assets/sign-in.lazy-C_16eCB-.js                     3.33 kB │ gzip:  1.57 kB
dist/assets/sign-up.lazy-hRlvJ65h.js                     3.37 kB │ gzip:  1.61 kB
dist/assets/scheduler-CzFDRTuY.js                        4.10 kB │ gzip:  1.78 kB
dist/assets/react-remove-scroll-KsJOGI_1.js              5.85 kB │ gzip:  2.38 kB
dist/assets/phone-Nb4DPboV.js                            6.04 kB │ gzip:  2.28 kB
dist/assets/react-BoP3Okkf.js                            8.12 kB │ gzip:  3.05 kB
dist/assets/lucide-react-BqXI-NBm.js                     8.39 kB │ gzip:  1.92 kB
dist/assets/input-otp-D3ha8hEs.js                        9.50 kB │ gzip:  3.81 kB
dist/assets/ky-BoqvxspT.js                               9.61 kB │ gzip:  3.62 kB
dist/assets/customers.index.lazy-DonLupgI.js            13.93 kB │ gzip:  4.62 kB
dist/assets/utils-DkYFqgKv.js                           14.73 kB │ gzip:  6.63 kB
dist/assets/confirm-phone-number-form-B8RSIuf8.js       15.28 kB │ gzip:  3.99 kB
dist/assets/embla-carousel-v-CXq_RL.js                  18.43 kB │ gzip:  7.63 kB
dist/assets/tailwind-merge-BOZU2X2x.js                  19.81 kB │ gzip:  6.67 kB
<EMAIL_ADDRESS>                  21.20 kB │ gzip:  8.20 kB
dist/assets/react-hook-form-BnqAJ6Ip.js                 24.23 kB │ gzip:  9.18 kB
dist/assets/sonner-DIfi6gWk.js                          28.71 kB │ gzip:  8.36 kB
dist/assets/index-7yJ_Ui2t.js                           30.68 kB │ gzip:  8.37 kB
dist/assets/cmdk-BZCb4XQM.js                            34.59 kB │ gzip: 11.71 kB
dist/assets/zod-DXqQCM1T.js                             57.04 kB │ gzip: 13.79 kB
<EMAIL_ADDRESS>                     68.48 kB │ gzip: 20.51 kB
dist/assets/libphonenumber-js-BX--Thor.js              116.40 kB │ gzip: 28.99 kB
dist/assets/react-dom-DykzMbSM.js                      129.86 kB │ gzip: 41.71 kB
<EMAIL_ADDRESS>                    136.79 kB │ gzip: 40.25 kB
✓ built in 7.43s
$ tsc && vite build
Generated an empty chunk: "clsx".
Generated an empty chunk: "date-fns".
Generated an empty chunk: "detect-node-es".
Generated an empty chunk: "goober".
|  Created     Client sst:aws:StaticSite → ClientBuild sst:Run (19.0s)
|  Created     Client sst:aws:StaticSite → ClientAssetFiles sst:aws:BucketFiles (3.8s)
|  Created     Client sst:aws:StaticSite → ClientCdn sst:aws:CDN
|  Created     Client sst:aws:StaticSite → ClientCdnDistribution aws:cloudfront:Distribution (1.2s)
|  Created     Client sst:aws:StaticSite → ClientCdnInvalidation sst:aws:DistributionInvalidation
|  Created     Client sst:aws:StaticSite → ClientCdnWaiter sst:aws:DistributionDeploymentWaiter (252.8s)
|  Error       Client sst:aws:StaticSite → ClientOriginAccessIdentity aws:cloudfront:OriginAccessIdentity
|  CloudFront: DeleteCloudFrontOriginAccessIdentity, https response error StatusCode: 412, RequestID: 9033b554-835d-4a96-9bad-8c4c3dfa52a5, PreconditionFailed: The request failed because it didn't meet the preconditions in one or more request-header fields.
✕  Failed
   Client sst:aws:StaticSite → ClientOriginAccessIdentity aws:cloudfront:OriginAccessIdentity
   CloudFront: DeleteCloudFrontOriginAccessIdentity, https response error StatusCode: 412, RequestID: 9033b554-835d-4a96-9bad-8c4c3dfa52a5, PreconditionFailed: The request failed because it didn't meet the preconditions in one or more request-header fields.

remove:
SST 3.0.106  ready!

➜  App:        app
   Stage:      dev

~  Remove

|  Error       Client sst:aws:StaticSite → ClientOriginAccessIdentity aws:cloudfront:OriginAccessIdentity
|  CloudFront: DeleteCloudFrontOriginAccessIdentity, https response error StatusCode: 412, RequestID: 652b0a29-0847-4721-bba7-4b2972ab0302, PreconditionFailed: The request failed because it didn't meet the preconditions in one or more request-header fields.

✕  Failed
   Client sst:aws:StaticSite → ClientOriginAccessIdentity aws:cloudfront:OriginAccessIdentity
   CloudFront: DeleteCloudFrontOriginAccessIdentity, https response error StatusCode: 412, RequestID: 652b0a29-0847-4721-bba7-4b2972ab0302, PreconditionFailed: The request failed because it didn't meet the preconditions in one or more request-header fields.

Running  AWS_PROFILE=app-dev sst refresh --stage dev and then AWS_PROFILE=app-dev sst remove --stage dev did the trick! thanks @fwang!


start-apache with mod_php fails

boxfile:
run.config:
  engine: php
  engine.config:
    runtime: php-7.0
    webserver: apache
    apache_php_interpreter: mod_php

error:
/app $ start-apache
cp: cannot stat '/php/dev_php.ini': No such file or directory
ln: failed to create symbolic link '/php.d': Permission denied
httpd: Syntax error on line 33 of /data/etc/httpd/httpd.conf: Cannot load /data/lib/httpd/mod_php5.so into server: /data/lib/httpd/mod_php5.so: cannot open shared object file: No such file or directory

also, shouldn't it be mod_php7.so in the error?

php users may know if php7 and mod_php isn't a thing, but if not, this config file needs updated

There's a mod-php7 available in Ubuntu, so I'd say it's still a thing; updating the config is a good plan.  But.  FPM is definitely the preferred setup anymore.


adding href for specific file

i need to know how can i add url for a file not a folder.
thank you! :+1:

You control all the attributes of the nodes - it is all in the docs - read the part on the JSON data you can pass in (if you are using HTML data jsTree will pick up on the HREF you already have set in the source).
Best regards,
Ivan


Security Issue

In one of my repos, I have the following pop up, is there a fix that we can expect sooner ?

see #784

@atchisson Thanks !!

This is related to:
https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513
I haven't checked if there is a PR pending for this.


map offset problem(wmts service )

i have a wmts service with local coordinates in Guangzhou (similar to cgcs2000), using the tilingScheme of WebMapTileServiceImageryProvider: new Cesium.WebMercatorTilingScheme(), and there was a more obvious offset after loading

Hi @lzc1718 ! Can you provide us with more details so we can better help you? If you could put together a Sandcastle demo and screenshots, that would be even better. Thanks!


Sidebar on different view controllers

I have used SWRevealViewController to create side bar. As in this I have used my HomeViewController as front and SidebarViewController as right. My SidebarViewController contain a UITableView(Having different subject names). I want to open a new ViewController say QuestionsViewController on selection of any subject. Now my problem is I want to use SWRevealViewController again to have a sidebar in QuestionViewController but in SWRevealViewController identifier for front segue sw_front is a constant string so how can I change it or having any other way to have that sidebar in QuestionViewController also.
In Short : Can we have same sidebars in different ViewControllers using SWRevelViewController

You have to use the SWRevealViewControllerSeguePushController segue with an identifier of your choice or programmatically pushFrontViewController

Hi @iDevelopper  i tried with SWRevealViewControllerSeguePushController but not worked for me. do have any demo please provide.
Thanks.

where are you getting error @mangireddy58 ???

Hi @akshay1318a i am getting this error while using SWRevealViewControllerSeguePushController on different viewcontroller. "unexpectedly found nil while unwrapping an Optional value"

Hi @mangireddy58 ,
There is a simple example:
SWLayout.zip

@iDevelopper thank you. its  working fine.


Improve German translation

Reduce "Denglish", fix German grammar, optimize wording of some sentences.

@robert-scheck - Are you able to sign the ECA?  https://www.eclipse.org/legal/CLA.php

@karianna, my username has been corrected and the ECA has been signed.


Bot does not respond to messages in develop

After fixing #31 the bot does not respond anything else but asking for token.

Not a backend issue, closing and opening issue in TelegramBot repo


Insert/Update FatSecret data in Foods table, Build out "get-food" endpoint to return data from Foods table

Description
Converts endpoint /fatsecret/get-food/:id to pull data from Foods table. If the data in Foods is not present, or is close to the 24 hour cache limit imposed by FatSecret, the data is either inserted, or updated, respectively.
Also fixes a few miscellaneous things in master so that pre-existing tests were passing before the changes were brought in.
Utilizes package, pg-promise instead of knex to create the SQL UPSERT query.

code built off of, https://github.com/vitaly-t/pg-promise/issues/245#issuecomment-286350670, comment by creator of pg-promise
understanding of UPSERT functionality in postgres taken from pg docs, https://www.postgresql.org/docs/12/sql-insert.html#SQL-ON-CONFLICT

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?
With more time, I would like to build out automated tests

Manually tested requests of:

Food ID's with no records in Foods
Food ID's with records in Foods, but are expired (nearing or past FatSecret cache length limitations)
Food ID's with records in Foods, and are not expired

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

I love you


Gatewaydocchange_armaha.md

Add Switzerland region gateway IP address please

@aravindmahadevan-ms : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I believe this is the Gateway IP : <IP_ADDRESS> , kindly verify and update the doc..

Please close this one, as I have updated this with many other information in this
https://github.com/MicrosoftDocs/azure-docs-pr/pull/149996#issuecomment-797070841