Fix segfault on nightly for nvim_buf_get_lines() and nvim_buf_get_text()

https://github.com/neovim/neovim/pull/19877 introduced breaking changes for the nvim_buf_get_lines() and nvim_buf_get_text() functions, adding a luaState argument. This PR passes NULL for that argument, as it seems safe to do (it will simply allocate on its own if no lua state is present).
Fixes #92

Can you also run cargo fmt on those commits? There are a few formatting changes unrelated to the MR.

I'm confused about this. The changes you mention are the output of rustfmt for me. In fact, running cargo fmt on the project makes a whole bunch of similar changes across the whole project. I have no idea what's going on if this is not the expected behavior. Is there a system-wide rustfmt config file that could be interfering on my setup? I've already checked and ~/.config/rustfmt doesn't exist for me.

Ah my bad, I should've mentioned that we're using unstable formatting features, so the formatter must be run using a nightly version of Rust. Since the changes are small you could probably fix them manually.

One last nit: b0e29d294d521556b250c3de60e8145c33a50fe2 should be squashed on the first commit.

All the comments should have been addressed now.


Escape basename before interpreting as Regex

Fixes #605
If you'd rather not introduce a new dependency, I'm open to suggestions, but escape-string-regexp is literally 11 lines of code.
https://github.com/sindresorhus/escape-string-regexp/blob/master/index.js

Oh, I just realized that there are actually a half dozen other open PRs that also address this issue.
#607
#604
#566
#544
#544 might be the most robust, since it avoids ever attempting to parse the basename as a RegExp.


Gws/Board: editable controllers

Coverage decreased (-0.02%) to 55.949% when pulling 0646bceecbaf7fc89e7d3eae932ab6641628d34a on tany:gws-board into a51a0d1d7f24228408fe57c992f96b1d4d0d5280 on shirasagi:master.


Implement Ord for Offset struct

Was nice and straightforward, since the underlying Offset is already required to be Ord.
See also https://github.com/zesterer/chumsky/issues/354#issuecomment-1694332577

Thanks so much! This is ideal :)


Optimize gallery

Add a search bar.
Close #31
TODO:

[x] Pagination is broken when searching.

I can't figure out how to adjust the fuzziness of the fuzzy search at the moment, maybe add a switch for turning the fuzzy search on or off first?

I can't figure out how to adjust the fuzziness of the fuzzy search at the moment, maybe add a switch for turning the fuzzy search on or off first?

https://www.fusejs.io/api/options.html#distance
maybe this. You can config fuse in useFuse.

I can't figure out how to adjust the fuzziness of the fuzzy search at the moment, maybe add a switch for turning the fuzzy search on or off first?

https://www.fusejs.io/api/options.html#distance maybe this. You can config fuse in useFuse. The result limit is also configurable.

I still don't know how to do that :sob:

I can't figure out how to adjust the fuzziness of the fuzzy search at the moment, maybe add a switch for turning the fuzzy search on or off first?

https://www.fusejs.io/api/options.html#distance maybe this. You can config fuse in useFuse. The result limit is also configurable.

I still don't know how to do that 😭

Read the Type Declarations. Maybe you should wrap it in the fuseOptions object

Merge it for now. For additional features, it would be best to open a separate PR.


A Issue about the padding

Describe the Issue:
I use it as the initial  Form. I can't achieve my goal without data. Like this:
Without data:

The LightBlue is the padding that I want to eliminate. But I can eliminate it by adding the data. Like this:
With data:

This is my code and it is the demo about Customize: Figure - No Padding.
var plt = this.scottPlot.plt;
plt.PlotHLine(2);
plt.Style(figBg: Color.LightBlue);
plt.Style(dataBg: Color.LightYellow);
plt.Ticks(false, false);
plt.Frame(false);
plt.TightenLayout(padding: 0);
scottPlot.Configure(recalculateLayoutOnMouseUp: false);
scottPlot.Render();

How can I eliminate the padding except by Adding data?

If you only want to remove padding you just need this:
var plt = this.scottPlot.plt;
plt.TightenLayout(padding: 0);
scottPlot.Configure(recalculateLayoutOnMouseUp: false);
scottPlot.Render();

To aid understanding, this is what every line in that demo does:
var plt = this.scottPlot.plt; // Gets the plot object
plt.PlotHLine(2); // Adds a horizontal line on y = 2
plt.Style(figBg: Color.LightBlue); // Sets the figure background to blue
plt.Style(dataBg: Color.LightYellow); // Sets the data background to yellow
plt.Ticks(false, false); // Turns off axis ticks
plt.Frame(false); // Turns off axis outline
plt.TightenLayout(padding: 0); // Removes padding
scottPlot.Configure(recalculateLayoutOnMouseUp: false); // Disables relayouting on release of the mouse buttons (so it doesn't add the padding back)
scottPlot.Render(); // Renders the image

Thank you for your reply.
You understand my question incorrectly. It can't remove the padding when I don't add any items to the plot.
If I add items to the plot, the padding would remove successfully.

You understand my question incorrectly. It can't remove the padding when I don't add any items to the plot.
If I add items to the plot, the padding would remove successfully.

I'm not able to replicate this issue on 4.0.48, are you calling Render() after you change the padding settings?

Here is my code without adding any items. The plot is on the SplitContainer .The red is a split of SplitContainer. The dock of the plot is Fill.

    public partial class frmScottPlot : Form
    {

        public frmScottPlot()
        {
            InitializeComponent();

        }

        private void InitScottPlot()
        {

            var plt = this.scottPlot.plt;
            //plt.PlotHLine(2);
            plt.Ticks(false, false);
            plt.Frame(false);
            plt.TightenLayout(padding: 0);
            scottPlot.Configure(recalculateLayoutOnMouseUp: false);
            scottPlot.Render();

        }

        private void frmScottPlot_Load(object sender, EventArgs e)
        {

            InitScottPlot();

        }
    }

I add an item to the plot and get my goal. Here is my code with items.

    public partial class frmScottPlot : Form
    {

        public frmScottPlot()
        {
            InitializeComponent();

        }

        private void InitScottPlot()
        {

            var plt = this.scottPlot.plt;
            plt.PlotHLine(2);
            plt.Ticks(false, false);
            plt.Frame(false);
            plt.TightenLayout(padding: 0);
            scottPlot.Configure(recalculateLayoutOnMouseUp: false);
            scottPlot.Render();

        }

        private void frmScottPlot_Load(object sender, EventArgs e)
        {

            InitScottPlot();

        }
    }

I want a plot of no padding without any items as my initial Winforms.

This is my result, the plot on the left is a dummy plot just to fill space.

The background was changed to red to make it easier to see. As far as I can tell they are identical. It would help a lot if you were to include any settings on your SplitContainer, as it's quite possible that the padding is coming from the SplitContainer, or that the SplitContainer is configured in a way that would resize the FormsPlot or create padding.

Hi, I do the same work and here is my result. My result is different from yours. The Left without lines and the Right with a horizontal line.  I only change the SplitContainer.backcolor to Red.

            var plt = this.scottPlot.plt;// 右图
            plt.PlotHLine(2);
            plt.Ticks(false, false);
            plt.Frame(false);
            plt.TightenLayout(padding: 0);
            scottPlot.Configure(recalculateLayoutOnMouseUp: false);
            scottPlot.Render();

            var plt1 = this.formsPlot1.plt; //左图
            //plt1.PlotHLine(2);
            plt1.Ticks(false, false);
            plt1.Frame(false);
            plt1.TightenLayout(padding: 0);
            formsPlot1.Configure(recalculateLayoutOnMouseUp: false);
            formsPlot1.Render();

if possible, can I take a look at the code you tested?

if possible, can I take a look at the code you tested?

Sure thing.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TestWF
{
	public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();
		}

		private ScottPlot.FormsPlot formsPlot1 = new ScottPlot.FormsPlot(new ScottPlot.Plot(200, 200));
		private ScottPlot.FormsPlot formsPlot2 = new ScottPlot.FormsPlot(new ScottPlot.Plot(200, 200));
		private SplitContainer container = new SplitContainer();

		private void InitScottPlot()
		{
			formsPlot1.plt.Ticks(false, false);
			formsPlot1.plt.Frame(false);
			formsPlot1.plt.TightenLayout(padding: 0);
			formsPlot1.Configure(recalculateLayoutOnMouseUp: false);
			formsPlot1.plt.PlotHLine(2);
			formsPlot1.Render();
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			container.Width = 1500;
			container.Height = 800;
			container.SplitterDistance = 500;
			container.BackColor = Color.Red;
			container.BorderStyle = BorderStyle.Fixed3D;

			this.Controls.Add(container);
			container.Panel1.Controls.Add(formsPlot2);
			container.Panel2.Controls.Add(formsPlot1);
			InitScottPlot();
		}
	}
}

I think I find the difference between us. I use the  ScottPlot by drawing from ToolBox in Vs2019. You use the  ScottPlot by coding. I get my goals using your method. But I can't get my goals using my methods.

Further debugging，I find an amazing phenomenon. I remove the part of your code. So I can't get my goal.
Before modification
		private ScottPlot.FormsPlot formsPlot1 = new ScottPlot.FormsPlot(new ScottPlot.Plot(200, 200));
		private ScottPlot.FormsPlot formsPlot2 = new ScottPlot.FormsPlot(new ScottPlot.Plot(200, 200));

After modification
		private ScottPlot.FormsPlot formsPlot1 = new ScottPlot.FormsPlot();
		private ScottPlot.FormsPlot formsPlot2 = new ScottPlot.FormsPlot(new ScottPlot.Plot(200, 200));

The result

Automatic generated by Visio studio
		this.formsPlot1 = new ScottPlot.FormsPlot();

I think it is my Heart of the matter.

Huh, wouldn't have thought that would make a difference. Still, if it works then good catch.

Hi @YUXI07, thanks for the question and @bclehmann for your help along the way!
To summarize the problem, plots weren't rendering framelessly in the FormsPlot control if they were empty, and that this is an an issue that only applies to version 4.0.
The fix is to instantiate the FormsPlot control by passing-in a new Plot with a defined size, rather than letting it create one.
I too am puzzled by this solution, but am happy to hear @YUXI07 ended-up with something that gets the job done! 👍


SIM-2796: Cleanup the spacesim demo, simplify and add tests.

Removes the asyncQueue functionality. That means new actions are not requested in parallel for now. Will look into a better method later.
Adds some tests for the demo sim, which actually caught some bugs.
demos.space_colony is now available as a module.
Pulled the actions stuff into new ActionGenerator class

👀 Ran through testcases and ran the Space demo. Found no new errors.
Looks great!


Bug with Create's Backtanks

This message appears when shift-clicking Backtanks in the inventory, I'm assuming you use some automated process to detect backpacks & prevent doubling up, so maybe add a teeny little exemption for backtanks.
(Unless this is intentional, which makes physical sense, though isn't great for gameplay.)

The mod used to disable equipping them together but it was super buggy and didn't work out so I disabled it. I must've not disabled it entirely though. Can you still equip the Backtank with a Backpack?

Yup, if I click it manually, or spam shift-click a bit, it'll go into the chest slot as it would otherwise.


createUserWithEmailAndPassword() does not take first name and last name

Its not possible to set  first name and last name in  function createUserWithEmailAndPassword(). How can I associate a users name upon registration?

You can use the customerUpdate() method within the ShopifyCustomer class after createUserWithEmailAndPassword(). Unfortunately, there is no single create customer method with the ability to associate name with user creation.
await auth.createUserWithEmailAndPassword(email: _email, password: _password);

ShopifyCustomer customer = ShopifyCustomer.instance;
await customer.customerUpdate(firstName: _firstName, lastName: _lastName);

Might need to do some string split to extract first and last names.

Thanks that should work.
Best regards
Saurabh
Sent from my iPhone

On 28 Nov 2020, at 2:00 AM, hetkpatel<EMAIL_ADDRESS>wrote:

You can use the customerUpdate() method within the ShopifyCustomer class after createUserWithEmailAndPassword(). Unfortunately, there is no single create customer method with the ability to associate name with user creation.
await auth.createUserWithEmailAndPassword(email: _email, password: _password);
ShopifyCustomer customer = ShopifyCustomer.instance;
await customer.customerUpdate(firstName: _firstName, lastName: _lastName);
Might need to do some string split to extract first and last names.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Im assuming that it works.


Update uniregistrar dependency

Use latest from universalregistrar/uni-registrar-web:latest instead of honeyblock/uni-registrar-web:custom_v1.0

k8s changes are pushed as part of #315

https://github.com/trustbloc/sandbox/pull/1315


Replace stdlib write/read with send/recv (Fixes #12673) (#12679)

Motivation:
The performance Unix write/read paths is more involved (and slower) then the specialized socket send/rcv ones.
Modification:
Replace Unix write/read paths with send/recv
Result:
Better performance for single buffer send/recv

thanks @normanmaurer I'll send a follow-up PR, is a minor really


[Publisher] API calls fails due to invalid token parts mix-up during token refresh

Description:

When working with Publisher app, If the access token is about to expire, We perform a refreshTokenOnExpire call when a token expirery time drops below a predefined time difference, The token refresh call is made throgh the SwaggerJS interceptors (APIClient.js#L131), Until the SwaggerJS Swagger-Client 3.6.0 , Interceptors doson't accept asynchronus method calls hence SwaggerJS didn't wait for the Token Refresh call to be completed.
Because of the asynchronus call to refresh the acess token , Intermitently API calls fails with invalid access token error , when the API calls made just after invoking the token refresh call in the interceptor.
As of SwaggerJS Swagger-Client 3.6.0 , It supports promise as the return value from an interceptor so that it will wait for the Token refresh call to be resolved.
To fix the issue we could updatepackage.json#L43 the SwaggerJs version and return a promise in the token refresh on expire method

Affected Product Version:

APIM 3.0.0-m27

OS, DB, other environment details and versions:
Steps to reproduce:

Reduce the access token validity perdiod to below 60 seconds
Login to the publisher app and perform some actions which cause REST API calls
Eventually you will get an 401 network error due to invalid acess token

Related Issues:

N/A

this is already fixed and cannot reproduce. Hence closing.


Expose service shutdown api to workers

This PR exposes a new api to the workers, that enable workers to trigger a shutdown of the service.

Hey, in master.js:228 you are doing partial function application !!!
You see, you like it too :)


Develop

closes #5 and #3
partially fix #4

Codecov Report

Merging #8 into master will decrease coverage by 0.90%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   65.11%   64.20%   -0.91%
==========================================
  Files           6        6
  Lines         258      271      +13
==========================================
+ Hits          168      174       +6
- Misses         90       97       +7

Impacted Files
Coverage Δ

src/bin/bombadil.rs
0.00% <0.00%> (ø)

src/lib.rs
72.28% <69.23%> (-0.79%)
:arrow_down:

Continue to review full report at Codecov.

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


Enable AWS S3 Transfer acceleration for Amplify SDK

State your question
Enable AWS S3 Transfer acceleration for Amplify SDK request or provide a alternative way to implement the same with AWS SDK.
Which AWS Services are you utilizing?
AWS / Amplify / iOS SDK
Provide code snippets (if applicable)
Currently using Amplify to upload file:
let option = StorageUploadFileRequest.Options(accessLevel: StorageAccessLevel.private, targetIdentityId: nil,
metadata: [Utils.createTimeStampKey : "(createTime)"], contentType: nil, pluginOptions:nil)
Amplify.Storage.uploadFile(key: videoId, local: localURL, options: option, progressListener: { progress
Environment(please complete the following information):

Amplify SDK Version: 2.33.1
Dependency Manager: Cocoapods
Swift Version : 5.0

Device Information (please complete the following information):

Device: All
iOS Version: All
Specific to simulators: No

How can I migrate this to use with S3 Acceleration code with access level and metadata information ?
If you need help with understanding how to implement something in particular then we suggest that you first look into our developer guide. You can also simplify your process of creating an application, as well as the associated backend setup by using the Amplify CLI.

The Use transfer acceleration section has been added to the Amplify Documentation for Swift site.

let options = StorageUploadFileRequest.Options(
    accessLevel: .private,
    targetIdentityId: nil,
    metadata: [
        Utils.createTimeStampKey : "(createTime)"
    ],
    contentType: nil,
    pluginOptions: [
        "useAccelerateEndpoint": true
    ]
)
let task = Amplify.Storage.uploadFile(
    key: videoId,
    local: localURL,
    options: options
)

Confirming, This is not supported in Amplify V1 ? I am using V1 and updated with above code and this does not throw any error.

Yes, this is only supported in Amplify v2.
Setting "useAccelerateEndpoint": true in pluginOptions has no effect in Amplify v1.

The issue now is Amplify SPM and AWS SPM both does not work in same project, there is an open issue already on AWS.
So I need to use AWS Sdk for uploading via transfer acceleration. Do you have sample code or an example to migrate this code with AWS SDK with transfer acceleration? As stated in this ticket. Need to enable the acceleration while we work on complete migration to V2. Thanks  !
let option = StorageUploadFileRequest.Options(accessLevel: StorageAccessLevel.private, targetIdentityId: nil,
metadata: [Utils.createTimeStampKey : "(createTime)"], contentType: nil, pluginOptions:nil)

Amplify.Storage.uploadFile(key: videoId, local: localURL, options: option, progressListener: { progress

This is how we initialise the configuration:
///configure the amplify if it is not done previously
    @discardableResult
    public func configureIfNeeded() -> Result<Any, Error>? {
        guard !AmplifyUtil.isAmplifyConfigured else {
            return nil
        }

        do {
            let apiPlugin = AWSAPIPlugin(apiAuthProviderFactory: MyAPIAuthProviderFactory())
            let storagePlugin = AWSS3StoragePlugin()
            let logging = AWSUnifiedLoggingPlugin()
            #if COACHDEBUG
            AWSDDLog.sharedInstance.logLevel = .debug
            AWSLogger.default().logLevel = .debug
            #endif
            try Amplify.add(plugin: apiPlugin)
            try Amplify.add(plugin: storagePlugin)
            try Amplify.add(plugin: logging)
            try Amplify.add(plugin: AWSCognitoAuthPlugin())

            ///can configure here target's configuration file from which configuaration need to read
            guard let path = Bundle.main.path(forResource: amplifyConfigurationFileName, ofType: "json") else {
                return Result.failure(GeneralError.generalError(NSLocalizedString("not able to read amplify configuration file", comment: ""),nil))
            }

            let configurationData = try Data(contentsOf: URL(fileURLWithPath: path), options: .mappedIfSafe)
            let configurationResult = try JSONSerialization.jsonObject(with: configurationData, options: .mutableLeaves)

            ///gets the api and storage plugins
            guard let result = configurationResult as? [String:Any],
                let apiConfig = getApiConfiguration(configuration: result),
                let storageConfig = getStorageConfiguration(configuration: result),
                let autConfig = getAuthConfiguration() else {
                    return Result.failure(GeneralError.generalError(NSLocalizedString("not able to read api or storage values from configuration file", comment: ""),nil))
            }

            let config = AmplifyConfiguration(api: apiConfig, auth: autConfig, storage: storageConfig)
            try Amplify.configure(config)

            AmplifyUtil.isAmplifyConfigured = true
        } catch let error {
            print(error.localizedDescription)
            return Result.failure(GeneralError.generalError(NSLocalizedString("unknown error occured during configuration. Please try again", comment: ""),nil))
        }

        return nil
    }
    ```

@ruisebas  :  Help would be greatly appreciated. I know there are samples but I am not able to find a AWS replacement for my above amplify 1.0 code.


feat: add 0.74 release summary notes

Adds 0.74 release summary notes
Dates added are STC

@candida-d
I think that the 0.74 brach this PR gors into may have gone. If there is a better place to push this to I will update


UI path MS paint

UI path project file

What is this ?
Can you elaborate it ?
Like SS

Not acceptable code.


[feature request] display addresses that are generated

currently in btg there are different addresses used, but maybe more future forks will do aswell?
would be cool to directly display them.

I've just added this feature


Replace validation banner with GOV.UK Frontend error summary component

https://trello.com/c/xdGjiDqF
Depends on https://github.com/alphagov/digitalmarketplace-utils/pull/548/

Great stuff.
Can we also remove the old validation banner from https://github.com/alphagov/digitalmarketplace-admin-frontend/blob/ris-fe-validation-banner/app/templates/invite_admin_user.html#L29?

Hmmyes, not sure why I missed that one...

I've found an issue with the country picker when editing a suppliers registered address (http://localhost/admin/suppliers/700631/edit/registered-address), when there is an error in the input for that field the link doesn't go to the right place.
I'm going to try updating govuk-country-and-territory-autocomplete and see if that helps.

I've found an issue with the country picker when editing a suppliers registered address (http://localhost/admin/suppliers/700631/edit/registered-address), when there is an error in the input for that field the link doesn't go to the right place.
I'm going to try updating govuk-country-and-territory-autocomplete and see if that helps.

Updating the component didn't work, instead the input id needed to change. I've pushed a fix, will also add this as a gotcha to the ticket.

Yup, can confirm the fix works.

Can we remove these two lines now that validation component has been removed?
CSS:
https://github.com/alphagov/digitalmarketplace-admin-frontend/blob/ris-fe-validation-banner/app/assets/scss/application.scss#L32
JavaScript:
https://github.com/alphagov/digitalmarketplace-admin-frontend/blob/ris-fe-validation-banner/app/assets/javascripts/application.js#L9

Can we remove these two lines now that validation component has been removed?
CSS:
https://github.com/alphagov/digitalmarketplace-admin-frontend/blob/ris-fe-validation-banner/app/assets/scss/application.scss#L32
JavaScript:
https://github.com/alphagov/digitalmarketplace-admin-frontend/blob/ris-fe-validation-banner/app/assets/javascripts/application.js#L9

I seem to recall that we can't remove the CSS because it's also used in validation messages for fields; we should be able to remove the JavaScript though?

Ah yes, I remember we had that weird issue with styling the error fields.
Let's remove the line in the JS and perhaps add a comment above the line in the css to explain why it's still needed.

ok

Good catch I would have forgotten about that.

When I run the functional tests I get a JavaScript error:
When I click the summary table 'Change' link for 'Address'
features/step_definitions/common_steps.rb:333
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).

TypeError: null is not an object (evaluating 'r.selectElement.options')
TypeError: null is not an object (evaluating 'r.selectElement.options')
    at http://localhost/admin/static/javascripts/location-autocomplete.min.js:1 in c
    at http://localhost/admin/static/javascripts/app-location-autocomplete.js:7 in CountryAutocomplete
    at http://localhost/admin/static/javascripts/app-location-autocomplete.js:20 (Capybara::Poltergeist::JavascriptError)

Which is probably from the JavaScript changes I made... any ideas what the issue might be @aliuk2012 ?

Ah, the functional tests do need updating though because the id of the autocomplete field has changed


the training process

Hello, your paper has inspired me a lot, and I would like to reproduce the code. So, I would like to ask whether executing python main.py --normal_json_path $normal-json-files-for-training --outlier_json_path $abnormal-json-files-for-training --val_normal_json_path $normal-json-files-for-testing --val_outlier_json_path $abnormal-json-files-for-testing during the training process requires running one JSON file for each category in each dataset?

when training or testing on multiple datasets, you can concatenate the selected JSON files by adding a space between them.


feat: Add indexPrefix option

I can't push to the branch associated with this PR.
So I created a new branch that cherry-pick the commit 3d7c3121ce7550de828d6caa8525f8c7e846eb4b, and adds tsd typescript tests.

Thanks for this @rozzilla, just happened to need this myself!


How to document QueryBuilder parameters?

Hi
I'm usin https://github.com/spatie/laravel-query-builder in my API, which requires parameters like:
https://example.org/api/cars?filter[model_id]=1&filter[brand_id]=2
But when trying to write API Blueprint for this, this package does not render well those parameters.
I tried the following variations:

But it does not print nothing in the parameters section
Also tried encoding the characters

But it prints the  codes instead of the characters:

Also tried escaping the parameters:

but it does not print the parameters section

I will have a look

@anychmguy API Blueprint doesn't support associative arrays as url parameteres. Have a look at the discussion of api-blueprint/issues/240. There is an MSON RFC proposal addressing this issue, but it hasn't been implemented yet.
In the meantime, plain parameters are an easy way to add basic filtering:
## Cars [/cars{?model}{&brand}]

Cars API

### Gets a list of cars [GET]

Get the list of registered cars

+ Request
    + Headers

        Authorization: Bearer <token>

+ Parameters
    + model: `123` (number) - Model of the Car
    + brand: `456` (number) - Brand of the Car


Accessible font

Use accessible font, make it togglable, off by default.
https://www.dyslexiefont.com/

could you elobarate what is needed to be done here

Hi @manoj1749 , I was thinking about implementing a switch or a user setting for switching fonts in the web interface.
Since creating this issue I found out that maybe https://opendyslexic.org/ will work better. Although I'm not so sure if the fonts actually work after contacting some friends with knowledge regarding this. Therefore I will close this issue. Thank you for your interest.


Fix VMRay missing process data

closes #2394
Checklist

[ ] No CHANGELOG update needed

[ ] No new tests needed

[ ] No documentation update needed

looks reasonable, i'll trust the tests.

@mr-tz thanks for the initial fix. This made me realize that we should be using VMRay's thread and process monitor IDs instead of tid, pid, and ppid combinations as we can't guarantee these combinations are unique, e.g. reused ppid and pid combination, while it appears that the thread and process monitor IDs are unique, and thus combinations of these should be unique, e.g. for extracting function calls.

I ran this on a few random private analysis archives and didn't encounter any failures. We should find more public samples to add to the test corpus.

should we address #2361 (add fields to unique pid/ppid) here, while we're at it? or leave that for a PR immediately following this?

We should address #2361 in a separate PR

Thanks for the additions, @mike-hunhoff!


Not able to create task using Managed Service account by passing xml payload

I get below error when I try to create task using Managed Service account by passing xml payload. Any help appreciated!!

That means you have an error on line 40 of your xml

Thanks a lot for the response. Attached is the xml used. I don’t see ay error. Please help me.
Thanks
Venkatesh Appala
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, March 12, 2020 6:06 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: Venkatesh Appala (MAQ LLC<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Not able to create task using Managed Service account by passing xml payload (#848)
That means you have an error on line 40 of your xml
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdahall%2FTaskScheduler%2Fissues%2F848%23issuecomment-598498726&data=02|01|v-veappa%40microsoft.com|5efb20665292461f035e08d7c6eabe61|72f988bf86f141af91ab2d7cd011db47|1|0|637196583839412690&sdata=9axt07iMOJpL%2BnePXZ29M3LEjeRNVRW%2FKVWUb6g3900%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALZS4KUCBY5QZD7LKV2RZ4DRHGBI3ANCNFSM4LGYJIWA&data=02|01|v-veappa%40microsoft.com|5efb20665292461f035e08d7c6eabe61|72f988bf86f141af91ab2d7cd011db47|1|0|637196583839422685&sdata=g5rgSt4NhJB7drBiu%2FFl9D3jRAkz%2BSrqTmhbBS8%2B0fk%3D&reserved=0.

Attaching file here
Test.txt

This XML includes a <LogonType>Password</Password> tag. Registering this will fail since it requires new credentials to be entered.

Thanks for the response. If I am using MSA account, what should be my LogonType? I use the same LogonType as Password when I am registering task using SchTasks.exe. But the same is not working with Task Scheduler dll.
I tried with Log on Type as Service Account as well. Error changed and its showing error in the LogonType line.

See if #820 or #350 help you.

Thanks. LogonType.None worked for my MSA account.


locationNodeTouched(node: AnnotationNode) node.view is nil

Hi there - using ARCL 1.2.0
I have added the LNTouchDelegate to my view controller
I have added the locationNodeTouched function
I am using the LocationAnnotationNode(location: location, view: plaque) - plaque is a subclass of UIView
I receive the touches just fine but the node.view is always nil. I can see my plaques in the scene and if I touch one I get the node item in the function but its view component is nil.
func locationNodeTouched(node: AnnotationNode) {
        // Do stuffs with the node instance

        // node could have either node.view or node.image
        if let nodeView = node.view { // <-- node.view is always nil
            // Do stuffs with the nodeView
            // ...
        }
    }

This is by design.  There was an expectation that when a view repaints, the scene would be updated, but that just doesn't happen.  See https://github.com/ProjectDent/ARKit-CoreLocation/pull/176 for more details, but having a view in the ARSCNView caused some pretty big issues and it didn't update in the scene when the view repainted, so I opted to change it so that it merely creates an image from the view and uses that. 🤷♂


Warn in the Web UI when working dirs don't exist

The Web UI relies on the existence of an images, and .config/piscsi dir. To a lesser extent a shared_files dir. We should add a warning to the UI when either of those don't exist.

Fixing with https://github.com/PiSCSI/piscsi/pull/1130


[Feature Request] - GUI - Option to save the configurations and reload the configuration

Need an option to save the configurations made from all tabs "App Settings", "Window Settings", "Export Settings", etc to a local file.
Then there should be an option provided in the file menu top load this file.
This helps the user to avoid filling fields again and again.

You mean to load cross project? Web2Exe already saves the settings to your package.json file to reload.

Can you elaborate more on what your specific use case is? What do you do manually that this feature could fix for you?

Closing this because I don't know what you meant and you didn't clarify.


Make it easier to create custom MediaControl

Add overridable stylesheet property to base MediaControl rather than creating in constructor
Update README with sample of how to do it
Add unit test

This looks good to me thanks for the test and readme update as well :)

Looks great to me too! thank you @bikegriffith


Multiple Word2vec implementations

Is there a way to hook in to plug in my own word2vec implementation?  Specifically I was looking to use dl4j's version.  Right now I've subclasses some classes and it's gross but it works.  I was wondering if there was plans to make that more configurable, either by adding my own rules (simScore2), or by making the implementation less coupled.

Hi,
Glad to see you're using Odin!  Yes, we can definitely make that easier to do.  EmbeddingsResource just needs some similarity method that takes two strings and returns a Double.
We'll consider a few options for specifying an implementation (ex. changes to the master file vs. an OdinConfig parameter to the constructor for ExtractorEngine vs. dependency injection, etc.).

Sounds great, thanks!


deleting scaffold and create_adater_plugin.py file from scripts section of core as they a…

resolves #
Description
deleting directory and a .py file from core as they are either deprecated or will live outside of core
Checklist

[x] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[x] I have added information about my change to be included in the CHANGELOG.

@McKnight-42 is this in draft waiting on other PRs to be reviewed first or are we ready to go here with this PR?

@leahwicz I have it in draft cause we still have some Docs related PRs still up and i figured would be best to have everything as ready to go at once as we can

@McKnight-42 do we want to delete entirely or leave the script with just a comment and print statement that points to the new repo?

@nathaniel-may that's a good question, I know we were wanting to make it clear that we didn't want to use the .py file anymore and we link the new scaffold in the changelog, and will have it be whats referenced and pointed to in the docs. but if we feel changing out the file and still having it as a pointer would be worth it i'm down.


[DO NOT MERGE] Fix 400 errors when bootstrapping test objects

Adds a .cnd file to pre-define PASS types and namespaces in Fedora
Enables CSP upgrade-insecure-requests header, due to mixed content errors revealed when the 400 errors were fixed

~There is still at least one problem that remains.  For some reason, the browser is performing an OPTIONS preflight request.  These requests do NOT have shib cookies attached to them.~
[edit:  "fixed".  See additional comments]
Typical failure:
Failed to load https://pass/fcrepo/rest/people/d2/c4/c1/5c/d2c4c15c-1a4c-4a98-8395-7a37bc2870e8: Response for preflight is invalid (redirect)

Typical requests and responses:
Request (note the absence of a cookie):

Request URL: https://pass/fcrepo/rest/identifiers/b2/6a/94/36/b26a9436-870c-402e-abcd-9c04cfd8b49c
Request Method: OPTIONS
Status Code: 302 Found
Remote Address: <IP_ADDRESS>:443
Referrer Policy: no-referrer-when-downgrade

Response (note the shib redirect link):

Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: PUT, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: authorization
Access-Control-Max-Age: 300
Cache-Control: private,no-store,no-cache,max-age=0
Connection: Keep-Alive
Content-Length: 769
Content-Security-Policy: upgrade-insecure-requests
Content-Type: text/html; charset=iso-8859-1
Date: Mon, 12 Mar 2018 21:10:34 GMT
Expires: Wed, 01 Jan 1997 12:00:00 GMT
Keep-Alive: timeout=5, max=86
Location: https://pass/idp/profile/SAML2/Redirect/SSO?SAMLRequest=fZHLboMwEEV%2FBXmfGJNnrYBEk0UjpS0KtItuKmMmxRLY1GP6%2BPsSSKq0i6znPnTPrFDUVcPj1pV6D%2B8toPO%2B6koj7w8haa3mRqBCrkUNyJ3kaXy%2F48HY5401zkhTES9GBOuU0Wujsa3BpmA%2FlISn%2FS4kpXMNckobgUjTUuW5qcCVY0RDj1kBTR7TjHibrlxpcYz5Z1JFQ7uyg6rg5NhDoSxIR9P0kXjbTUhep3Dji9ncl4tCTA5yli9Z7vssYIs5yOlMdjLEFrYandAuJIHPliN%2FMmJBFjDOfD6ZvhAvOW26VbpQ%2Bu06gHwQIb%2FLsmQ0rHgGi%2F2CTkCi1REj74vtBdjrseJMk0RnDNiMexL4i29FL6KHnoY%2FdFnbTWIqJb%2B9uKrM59qCcBASRmg0WP5%2BO%2FoB&RelayState=ss%3Amem%3A1a3e781ea6468f3beb2a2e82aaacce0c1e35a99dcdff2dcef1aa3c54dd96b5b8
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
Strict-Transport-Security: max-age=300

Next step is to see if the new fedora adapter code behaves any differently, and dig in.

The chrome problems seem to be fixed with d5ce7a91d5c0989b6ee9042d7499677b1bafa8a8
That commit does a lot, including

Switch to the ember adapter branch
Use https://pass as the CORS allowed origin, rather than *
https substitution in bodies
Proxy directives to force https in Location headers in responses.

Chrome is happy now, and does not attempt CORS.
Previously, Chrome performed CORS preflight request, which failed because they were shib protected, and didn't have credentials.
The solution to getting CORS working was:

Use CSP upgrade-insecure-requests
use https://pass as he origin, because CORS disallows sending credentials when the allowed origin is *.
Disable shib for OPTIONS requests.
Make sure https was present in ProxtPassReverse directives
use mod_substitute to assure that all response bodies used https URIs.

The real problem, however, was that the browser should not have been attempting CORS in the first place.  We discovered that responses from POST requests were returning http uris in response bodies. For some reason, mod_substitute was unable to change the body of POST responses to use https uris.   The Location header was correct, using https URIs as fixed by the above remediation steps.  The ember adapter was incorrectly inspecting the response body of POSTs for the resource location.  It is being modified to get the resource uri from Location rather than the response body.
In the meantime, it was discovered that a simple servlet filter would allow the repository to use https URIs everywhere when it encounters the header X-Forwarded-Proto: https.  This works, and eliminates the need for CORS entirely (and all the changes to config that were required to enable it).


The library does not have an event like "onSuccess"

I have been trying to perform some actions after onRunJob() return Result.SUCCESS however, it seems like the library does not have any such event handler ... something like onReschedule(). Ami I missing something or the library does not have it?

Why don't you do that before returning the result in onRunJob()? You're not missing anything, such a method doesn't exist.

The thing is I need the "context" instance do perform certain operations eg. update something in the sqllite db. The onRunJob() does not have access to the context. If such a method does not exist then I will probably have to create a static flag and use that to indicate the successful completion on the Job I am scheduling. But I am hoping to avoid that because it could create a potential mess.
Also I was wondering if the job I am scheduling is periodic how does job.isFinished() behave?

    @NonNull
    @Override
    protected Result onRunJob(Params params) {
      Result result = Result.SUCCESS;

      try {
        // do something
        result = Result.FAILURE;
        return result;
      } finally {
        if (result == Result.SUCCESS) {
          Context context = getContext();
          // do something
        }
      }
    }

Does this help?
isFinished() always returns the result for the currently running job. There is no difference between periodic or one-off jobs.

Ah! that should work. I don't how I missed that method. Thanks for replying to my queries.

Closing because of inactivity.


HADOOP-18021. Provide a public wrapper of Configuration#substituteVars

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 20s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 59s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
27m 10s

trunk passed

+1 :green_heart:
compile
27m 34s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
23m 49s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
4m 19s

trunk passed

+1 :green_heart:
mvnsite
3m  9s

trunk passed

+1 :green_heart:
javadoc
2m 31s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 56s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
5m 18s

trunk passed

+1 :green_heart:
shadedclient
28m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 26s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 14s

the patch passed

+1 :green_heart:
compile
28m  8s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
28m  8s

the patch passed

+1 :green_heart:
compile
24m 41s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
24m 41s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
4m  5s

the patch passed

+1 :green_heart:
mvnsite
3m 21s

the patch passed

+1 :green_heart:
javadoc
2m 10s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 33s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
4m 55s

the patch passed

+1 :green_heart:
shadedclient
24m 54s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 14s

hadoop-common in the patch passed.

+1 :green_heart:
unit
103m 44s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 50s

The patch does not generate ASF License warnings.

360m 57s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3710

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux c48391911479 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 49de9e091945ddf957f2948844671c75f37db80f

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/1/testReport/

Max. process+thread count
2771 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 37s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 38s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
21m 34s

trunk passed

+1 :green_heart:
compile
21m 49s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
19m  4s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
3m 39s

trunk passed

+1 :green_heart:
mvnsite
2m 52s

trunk passed

+1 :green_heart:
javadoc
2m 15s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 43s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
4m 31s

trunk passed

+1 :green_heart:
shadedclient
21m 36s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 50s

the patch passed

+1 :green_heart:
compile
21m 11s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
21m 11s

the patch passed

+1 :green_heart:
compile
19m 12s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
19m 12s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
3m 39s

the patch passed

+1 :green_heart:
mvnsite
2m 53s

the patch passed

+1 :green_heart:
javadoc
2m 12s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 41s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
4m 56s

the patch passed

+1 :green_heart:
shadedclient
21m 42s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 25s

hadoop-common in the patch passed.

+1 :green_heart:
unit
95m 55s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

310m 11s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3710

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux b0fbd4c7d30b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 762c922444e57a8e286c54a20d03a049ae18bed9

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/2/testReport/

Max. process+thread count
1251 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thanks for the suggestions @steveloughran. I am not sure about the tests however, what do you have in mind? Variable substitution is already tested in TestConfiguration#testVariableSubstitution.

just make sure the new public method does some substitution -simply to make sure the wire up never breaks

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  4s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 55s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
28m 19s

trunk passed

+1 :green_heart:
compile
30m 27s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
25m 28s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
4m 26s

trunk passed

+1 :green_heart:
mvnsite
3m 21s

trunk passed

+1 :green_heart:
javadoc
2m 30s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 53s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
5m 46s

trunk passed

+1 :green_heart:
shadedclient
27m 27s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 29s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 23s

the patch passed

+1 :green_heart:
compile
29m 18s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
29m 18s

the patch passed

+1 :green_heart:
compile
25m 10s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
25m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
4m 28s

the patch passed

+1 :green_heart:
mvnsite
3m 21s

the patch passed

+1 :green_heart:
javadoc
2m 24s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m  0s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
6m 12s

the patch passed

+1 :green_heart:
shadedclient
27m 21s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
20m  1s

hadoop-common in the patch passed.

+1 :green_heart:
unit
111m 57s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 57s

The patch does not generate ASF License warnings.

382m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3710

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 1b8506f55473 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / c5965b82c2e44d9a401cb4fb8ed9ebcba7275186

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/3/testReport/

Max. process+thread count
1318 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3710/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@steveloughran I have added a new test case to provide a safety net.


Update swift-build-testing.yml

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


azure-mgmt-quota is giving ResourceNotFoundError on Microsoft.Compute

Package Name: azure-mgmt-quota
Package Version: 1.0.0
Operating System: Microsoft Windows [Version 10.0.19044.3086]
Python Version: 3.9.13

Describe the bug
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "test\lib\site-packages\azure\core\paging.py", line 123, in __next__
    return next(self._page_iterator)
  File "test\lib\site-packages\azure\core\paging.py", line 75, in __next__
    self._response = self._get_next(self.continuation_token)
  File "test\lib\site-packages\azure\mgmt\quota\operations\_quota_operations.py", line 874, in get_next
    map_error(status_code=response.status_code, response=response, error_map=error_map)
  File "test\lib\site-packages\azure\core\exceptions.py", line 112, in map_error
  raise error
azure.core.exceptions.ResourceNotFoundError: (InvalidResourceType)
The resource type could not be found in the namespace 'Microsoft.Compute' for api version '2023-02-01'.
Code: InvalidResourceType
Message: The resource type could not be found in the namespace 'Microsoft.Compute' for api version '2023-02-01'.

To Reproduce
Steps to reproduce the behavior:

install

pip install azure-identity==1.13.0 azure-mgmt-quota==1.0.0

use QuotaMgmtClient

from azure.identity import DefaultAzureCredential
from azure.mgmt.quota import QuotaMgmtClient

group_name = 'my_group'
location = "westus2"
subscription = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"
quota_client = QuotaMgmtClient(
    DefaultAzureCredential(),
    subscription_id=subscription,
)
scope = f'/subscriptions/{subscription}/providers/Microsoft.Compute/location/{location}'
d = quota_client.quota.list(scope=scope)
data = list(d)

Based on the information provided, it has been confirmed through Microsoft's official documentation that the '2023-02-01' version of the API is not supported. Here is the link to the official documentation.
https://learn.microsoft.com/en-us/azure/templates/microsoft.compute/allversions
Using the unsupported API version may result in encountering unsupported resource types or limitations on features related to that API version. If you need further assistance with this matter, please feel free to inquire through comments. Good luck!

Thanks for the feedback, we’ll investigate asap.

Would like to add to this. When trying to pip install azure-mgmt-quota: The candidate selected for download or install is a yanked version. Reason for being yanked: References inaccessible web API

There is a new version of azure-mgmt-quota released. Could you help to try if it works?


[Quarkus] 2.14.2.Final released but not appearing

:grey_question: Context
Quarkus 2.14.2 has been released :

but is not appearing in endoflife.date :
eol quarkus

:bulb: Question
Should I make a PR ?...or just wait for the CI to fix it ?
:tickets: Related issues/PRs

https://github.com/endoflife-date/endoflife.date/pull/1865
https://github.com/endoflife-date/endoflife.date/pull/1844
https://github.com/endoflife-date/endoflife.date/issues/1840
https://github.com/endoflife-date/endoflife.date/pull/1800
https://github.com/endoflife-date/endoflife.date/issues/1913

If related releases are point release they will be added within 7 days via our automation
In this case it is a point release 2.14.X so it will be added within 1 week

https://github.com/endoflife-date/endoflife.date/issues/1913#issuecomment-1327895347

https://github.com/endoflife-date/endoflife.date/issues/1913#issuecomment-1328013145

https://twitter.com/QuarkusIO/status/1597171237301755904


Add security to migration registry

The current implementation of the (temporary) migration registry creates a registry pod which doesn't use https or require login credentials. We should update this to allow for securing the registry with certs and credentials. This will also require plugin support. The plugin will need to obtain certs and credentials created by the controller (probably via secrets created in the velero namespace with some supporting annotations on the velero CR) and use them to access the registry.

@sseago @dymurray this feels like something that should still be fixed. What do you think?

There's value in fixing it, but it's a lower priority now that we're trying to get customers away from using this registry at all. A bigger issue is that we don't currently deal with internal registries that require cert setup. To be specific, since I really don't have any experience with locked-down internal registries, for any registry where the following settings for push/pull access won't work, we'll break:
		DockerDaemonInsecureSkipTLSVerify: true,
		DockerInsecureSkipTLSVerify:       types.OptionalBoolTrue,


Allow getPlot to return matplotlib.Axes or its np.array

Because pandas plotting functions return matplotlib.Axes or np.array of Axes in subplot case, it is nice if spyre can accept it.

http://pandas.pydata.org/pandas-docs/stable/visualization.html

In these cases, we can get background figure using .get_figure.

https://github.com/adamhajari/spyre/blob/5f602f402e62e89b0e45995bed805b85c83ccaa5/spyre/model.py#L10

addressed here


Notification amount should be cleared when viewing all new notifications in a server

subject
Instead of having to do that then switch to another server.

I believe that is a redraw bug actually.  I'll look into it


static method

dont u think that public static method should appers on other classes?

@vclteam is right, and I had no idea this was the case! True for methods and fields. Nasty.
class A {
    // The static method
    static foo():string { return 'bar'; }
    static bar: string = "foo";
}

class B extends A {
    // Document foo here
}

console.log(B.foo());
console.log(B.bar);

Compiling/running:
$ tsc test.ts
$ node test.js
bar
foo

And this means that B has a separate, implicitly inherited bar field from A.

Actually TypeDoc behaves like this since v.0.2, static fields and methods are now inherited and I've also added the corresponding icons.


Added /shortenlink Command

Added new command /shortenlink
Issue: #17

[x] Added command to README.md commands list
[x] Code is tested before submitting
[x] Code is formatted with prettier
[x] Deleted all console.log() or console.error() statements
[x] Correct error handling

@thieleju I have updated the PR.


Adding Folders with Folders wrong Path Separator

adding folder containing a folder (via ui) results in files with \ in file name instead of /
Tbh i'm not sure if i used the newest build

Duplicate of #28
Resolved in #29


SRV proxy feature

see relevant discussion here: https://caddy.community/t/dns-srv-record-support-in-proxy-directive/3592/7
1. What version of Caddy are you using (caddy -version)?
latest version
2. What are you trying to do?
use the srv record feature of the proxy directive to handle multiple backends and multiple domains with one configuration entry

Pinging @Gufran - can you help here?

I did have some code investigations I've done which I can share.  I could not figure out how to get the dialer to work though

Let me address the questions raised in discourse thread.

I thought a request would come in for example.com, that would cause caddy to request the srv record for _http._tcp.example.com and find a hostname and port to use to proxy the request to. Is that what it was meant to do?

This is not what Caddy is supposed to do. First off, this behaviour ties your internal service registry with external traffic handlers and even with clients. And second, there is no way for caddy to know that resolving with _http._tcp prefix will actually work. For an example, the service may be deployed as web or frontend or app or whatever else and in those cases the name _http will be invalid.

I think its immaterial that there are non-standard implementations since the code uses net LookupSRV to perform the lookup and thus would depend on records being formatted per rfc 2782?

The code uses the function net.LookupSRV but Caddy does not care about RFC-2782 formatted service locator, the DNS lookup is performed for an FQDN with service name and protocol embedded in it. The implementation in Caddy does not understand the service name and protocol separate from service registry domain. For example, it can resolve the domain web.tcp.registry.internal but can't work with service=web proto=tcp domain=registry.internal. This is intentional because there is nothing special about latter, it eventually gets converted into the former FQDN before the lookup is performed.

and the SRV option becomes a much more useful feature than it is presently since it can provide a list of failover hosts and include a priority weighting which isn’t presently available with the current configuration options.

Failover, target priority, and target weight are handled by DNS resolver. https://golang.org/src/net/lookup.go?s=11084:11167#L335
The returned records are sorted by priority and randomized by weight within a priority.

Correct me if I’m wrong but I don’t believe the code uses more than one SRV entry?

I am not sure if by SRV entry you mean the locator entry in configuration block or the entries in lookup result, let me explain both.

The configuration block does not allow more than one locator because SRV lookup is supposed to abstract the upstreams away from configuration. If you want to put all upstream hostnames in configuration then you are better off with using the normal reverse proxy behaviour.
With SRV resolver you are expected to manage available services on DNS level in the registry itself.
The result is randomised by resolver within priority so Caddy always picks up the first entry. You can adjust weightage and priority in service registry to shape traffic.
SRV records are volatile by nature. that makes it a bit difficult to implement correct kind of load balancing algorithms, and random balancing often works out just fine.

Now to answer your original question:
You need to make sure that the configuration contains a valid domain.
:443 {
    proxy / srv+https://http.tcp.example.com {
        transparent
    }
}

then you can add or remove upstreams in service registry and change weightage and priority without ever changing the configuration.

@Gufran could you propose some documentation changes to clarify this stuff for the future?

This is a great explanation @Gufran, thanks. To be fair, I believe at least some of that is "expected" to be known by those who are using SRV records. I don't use SRV, so I'm not sure, but it seems like a lot of that is out of the scope of the Caddy documentation. Maybe the few Go-specific or Caddy-implementation-specific quirks mentioned in your explanation could/should be mentioned in the docs? If so, I'm willing to make the changes, just tell me what the wording should be. But let's not get out of scope and explain how DNS and SRV works in general. :+1:

@Gufran :

This is not what Caddy is supposed to do. First off, this behaviour ties your internal service registry with external traffic handlers and even with clients

I'm not sure what you're trying to say there and how using SRV records means that at all.

I am not sure if by SRV entry you mean the locator entry in configuration block or the entries in lookup result, let me explain both.

I certainly meant #2 as we were discussing the results of the lookup and how the code only ever uses the first entry

The result is randomised by resolver within priority so Caddy always picks up the first entry. You can adjust weightage and priority in service registry to shape traffic.
SRV records are volatile by nature. that makes it a bit difficult to implement correct kind of load balancing algorithms, and random balancing often works out just fine.

I don't believe you can adjust weightage and priorty in the service registry to shape traffic because the code only ever use the top most entry in the dns result.
I don't believe SRV records are being used in caddy how they're expected to be by anyone who sees it supports SRV records.  If I list multiple SRV entries in DNS it implies I am expecting it to handle failover and load balancing. Yes the golang resolver sorts the records and randomizes them within a given priority but it does still return all of the records.  What is presently in the code only handles load balancing if you set all of the priorities to be the same.  It definitely doesn't handle failover as far as I can see.
Back to my original suggestion which was to enhance what caddy could do when using SRV records, for someone who does follow the SRV rfc, and properly formats their dns configuration and doesn't want to list every domain in caddy and yet can have one configuration setting which will handle any hostname requested of it by looking up in DNS and retrieving the SRV record and getting the backend service for that hostname to proxy to.  I'm not sure why you wouldn't want it to be able to do that when it doesn't seem to me to be that much of a change based on my investigation not being a caddy or go expert I got 90% of the way to actually making it work.

I'm not sure what you're trying to say there and how using SRV records means that at all.

Could you please ask a specific question? I'm not sure how to address this.

I certainly meant #2 as we were discussing the results of the lookup and how the code only ever uses the first entry

I see your point here. This is a deficiency in Caddy if you wish to have an elaborated setup with target weightage and priorities. I believe this can be discussed in a separate thread and someone can implement a load balancing algorithm for it.

If I list multiple SRV entries in DNS it implies I am expecting it to handle failover and load balancing.
...
What is presently in the code only handles load balancing if you set all of the priorities to be the same. It definitely doesn't handle failover as far as I can see.

I think you are confusing health checks with discovery. If you have a bunch of targets registered in DNS then the client is supposed to work with all of them. If some of the targets are unhealthy then that is a problem at some other level. ideally the service or the registry should keep the list of available targets up to date depending on their health. Consul catalog is a good example of this.
I agree that load balancing can be improved by a lot.

Back to my original suggestion which was to enhance what caddy could do when using SRV records, for someone who does follow the SRV rfc, and properly formats their dns configuration and doesn't want to list every domain in caddy and yet can have one configuration setting which will handle any hostname requested of it by looking up in DNS and retrieving the SRV record and getting the backend service for that hostname to proxy to.

It looks like you want some sort of variable substitution behaviour in configuration block where you can dynamically choose service name to look up in registry for every request. This behaviour has nothing to do with SRV or Caddy.

I'm not sure why you wouldn't want it to be able to do that when it doesn't seem to me to be that much of a change based on my investigation not being a caddy or go expert I got 90% of the way to actually making it work.

Could you please propose a pull request with those changes so that everyone can get a better idea of the behaviour you are trying to describe?

@mholt @francislavoie I agree with @mholt that this is out of scope of Caddy documentation.


The process cannot access the file because it is being used by another process.

Sometimes I get the following errors:
[2024-02-23 19:35:33] [INFO] channel created
[2024-02-23 19:35:34] [INFO] channel is online, start fetching...
[2024-02-23 19:35:34] [INFO] the stream will be saved as videos/xxx.ts
[2024-02-23 19:35:35] [ERROR] record error: request hls: no available resolution
[2024-02-23 19:35:37] [INFO] channel is online, start fetching...
[2024-02-23 19:35:37] [ERROR] record error: new file: tidy zeroes: remove zero file: xxx.ts: remove videos\xxx.ts: The process cannot access the file because it is being used by another process.
[2024-02-23 19:35:39] [INFO] channel is online, start fetching...
[2024-02-23 19:35:39] [ERROR] record error: new file: tidy zeroes: remove zero file: xxx.ts: remove videos\xxx.ts: The process cannot access the file because it is being used by another process.
[2024-02-23 19:35:40] [INFO] channel is online, start fetching...
But some other live streams are fine.

I guess it’s because the logic of checking the resolution is before creating the file, and when it checks that there is no current resolution and needs to switch the resolution and create a new file, the original file is not released and the whole task forms a deadlock at the deletion of the file

The remove zero file is fixed in v1.0.3 (I hope so-):
https://github.com/teacat/chaturbate-dvr/releases/tag/v1.0.3
Also the error record error: request hls: no available resolution is pretty interesting,
because chaturbate-dvr should fallback to available resolution, that sounds like another problem.


Optionally include URI in BigML locators

Old:
source:XXXXXXX
New:
source:bigml.io:XXXXXXX
source:my.bigml.uri.io:XXXXXXX
If domain is missing, it is assumed to be bigml.io for backwards compatibility.

Note: Although you can pass in the BigML domain+creds in the environment, that isn't the point of the request. It is important to be able to infer the target domain from just the URI, otherwise it isn't universal.
This also matches the way dbcrossbar handles bigquery URIs: bigquery:project:object, where project is analogous to the BigML domain here.

Yeah, we need to deal with this. Please make sure that it gets scheduled through the usual process.
I'm likely to switch to a proper URI format with a host field, as in bigml://my.bigml.uri.io/source/XXXXX, but I'll keep compatibility with the old bigml:source/XXXXX format.
In general, BigQuery locators are weird, because we inherit their syntax from BigQuery, and because we want to be consistent with other BigQuery tools. But for non-BigQuery backends that have no established convention, I would prefer to use a standard URI-like syntax here.

if you get a FQDN here, then perhaps you can solve https://github.com/dbcrossbar/dbcrossbar/issues/152 by checking the IP against a list of IPs for GCP vs AWS

For now, this can be faked using BIGML_DOMAIN in the environment.


Can drag elements over static end cards

You can move orange cards to left and right of purple ones.
This means that you can drag things before the "0" card and after the "1" card. This should not be allowed.

Could we take the "0" and "1" cards out of the ?

Fixed: https://github.com/Fractionators/sugarizer/commit/e7979d57bb3373253a340c783bf814b30e62f6b9

If there are concerns about the state of my fix. We can reopen this.


[feat]: add thumbnails components

Brief Information
This pull request is in the type of:

[ ] bug fixing
[x] new feature
[ ] others

What does this PR do?
add thumbnail component, it looks like

Fixed issues
#7521& #11352

Details
we could provide a thumbnail, we can give users the intuitive about the overall shapes of the whole series and the current visible area.

Before: What was the problem?
For series like maps, graphs, trees, sankeys, data shapes sometimes may be too large to displayed without overlap in a chart. Some charts supports roam (not sankey) but the user may not have an idea about the relationship between the current visible data and the overall data

Document Info
One of the following should be checked.

[x] This PR doesn't relate to document changes
[ ] The document should be updated later
[ ] The document changes have been made in apache/echarts-doc#xxx

Misc
ZRender Changes

[ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs
N.A.
Others
Merging options

[ ] Please squash the commits into a single one when merging.

Other information

Thanks for your contribution. I opened a related discussion at #17432.  I will be responsible to make the roaming experience better.

Some remaining feature defects:

The select box will be overflow the thumbnail container.

When the select box is overflow the thumbnail, it disappears. Keeping display is expected.

Some features are required for a releasable product (IMO):

The select box can be draggable.
Mouse wheel zoom can be performed according to the thumbnail area when mouse hover it, that is, the zoom center is the point on thumbnail are, rather than the graph view.

Some remaining feature defects:

The select box will be overflow the thumbnail container.

When the select box is overflow the thumbnail, it disappears. Keeping display is expected.

Some features are required for a releasable product (IMO):

The select box can be draggable.
Mouse wheel zoom can be performed according to the thumbnail area when mouse hover it, that is, the zoom center is the point on thumbnail are, rather than the graph view.

Some remaining feature defects:

The select box will be overflow the thumbnail container.
When the select box is overflow the thumbnail, it disappears. Keeping display is expected.

I have handled this kind of situation in the code, but I don't know why it doesn't work in the zoom event, maybe it's a problem with triggering the frequency?


Join All

A Join All function would be an invaluable time save when attaching spine heads.

Requested is a feature for ChunkedGraph-backed datasets to merge all currently selected objects into a single new object. (For regular datasets, Ctrl+M already does that)
This might be possible once we have a smarter path search for merge operations - similar to how we find the weakest link when splitting objects... Since we are working on the underlying time issues right now, I am going to put this on hold. Will check back when the obvious speed issues are resolved.


Cant join to the airdrop

Hi there.i am new user.i have registred yesterday but i cant join to the airdrop.i dont know what is a problem because i have an old medium account.app does not show me the airdrop joining button on the mobile device or windows pc.can you help me with that?thanks

If you go to keybase.io/airdrop, they comment on this issue.

Cant find it on this page

It is the highlighted paragraph. I just checked, and the page should work, for both users and non-users.


Multiple Death Materials including water

Hi, it would be much appreciated to see multiple death materials and water being added to the plugin, as many parkour maps people create go through vastly different terrains, and locking the death block to 1 material is somewhat of a map breaker.

Hello, this was a decision made when creating Parkour 4.0. Performance was the main area of focus, and having multiple death blocks would take quite a hit when on a course. To combat this I added a potential different deathblock to each course, in the form of ParkourBlocks, as well as this I added an option in the config.yml "OnCourse.DieInLiquid", which will activate a death when the player enters Water or Lava.
I hope this helps.


Ask Scrivito team: What's the recommended way to test pages generated by Scrivito?

minitest? RSpec? Turnip?

Thanks for the information! 😸 Fixed by https://github.com/yasslab/coderdojo.jp/pull/46


entitled portworx link

I'd like to comment a little bit about the wording here, so it's less inaccurate.  If you install a trial license, you cannot then afterwards move to a the oem-entitled license as it currently suggests.  The entitled license needs to be installed initially rather than later, and depending on CP4D version the process looks slightly different (with the CP4D v2.5 had an extra step usin px-util for for a new cluster (and later any time prior to adding new nodes to the cluster) which was because the px entitled-license specific images were public, where as with CP4D v3, the images are now private and bundled with CP4D v3 so px-util can be skipped).
My point is that stating you can install it after your cluster is up is not entirely accurate - CP4D already expects Portworx to be running when the zen control plane software is running (as it uses persistent storages for the couchdb metadatadb), so if a user was to desire to utilize the entitled-license it needs to be performed prior to bootstrapping CP4D/zen.
Also, it would be worth a mention that if the user had instead later wanted to go beyond the limitations of the ibm entitled version (8 nodes, up to 512 persistentvolumes, 5 tb of data in the cluster), then they can do so easily only needing to either activating the trial (using pxctl license activate trial on one of the nodes) or better yet, procuring an enterprise license is all that is needed and the same software package can be utilized (so no re-installation/switching software bundles is needed, as all functionality is already included just access controlled via the installed license).

With the recent changes, users can apply the portworx oem entitled version after the cluster is created. They could select accept-cpd-license as anything other than accept and cpd will not be installed on the provisioned cluster. The documentation will be updated soon to reflect this.


fix(FREEZE): List view count and list render after update

Currently on update/insert the list view is refreshed and list count is updated. This is the main reason we are having the freeze issues, it doubles the requests.
So to fix this, the list should render when required and count should be updated after the requests are over.
PS: Already in Frappe core, so making PR just for us.

@KanchanChauhan if this is already in V12, we don't need custom fix anymore. We will be implementing V12 soon in Production anyway. Just planning the implementation transition with core users to properly turn over.

@creamdory This is not in v12 but we need this fix.

@KanchanChauhan so what does this mean? It is already in recent develop branch?

PS: Already in Frappe core, so making PR just for us.

@creamdory As I was troubleshooting it, I realized Frappe already made a change in develop. So yes it is in Frappe develop which will probably we released in v13.

@KanchanChauhan as see. Then put this PR for version-12 branch


Use Implication for all rules and claims

We use Implication for some types of claims, but it should be used for all claims and rules, replacing ClaimPattern, RulePattern, and the like.
This is especially important because (I think) the Substitute instances for ClaimPattern and RulePattern could capture variables. I don't think we actually use that instance in practice for those types in any way that matters, but we should get substitution right.

Looks like this is closely related to https://github.com/kframework/kore/issues/2192.


Minor examples syntax error fixes

What?
A simple commit to fix a couple of syntax errors at the examples (especially the imports and some references to docs/Code)
Why?
To ease the use of Smelte for newcomers (i.e.: I was driving crazy debugging the date picker until I realize the correct value is i.detail and not just i at the change event)
How?
I just copied and pasted the examples in a running Smelte 1.0.15 and try to run them. Then fix a minor error here and a minor error there comparing with the real code.
Thank you for Smelte, it's really cool !!

Thank you!


Add way to delete devices from account and PLAY HOST ?

Hello,
With the normal API, there is a possibility to delete the devices registered on our account. This can come in handy as they become numerous over time (DEVICE_ID is generated instead of being fixed, which adds a new device each time a program using Crunpyroll is launched and we are limited to 20 devices per account). Is it possible to implement the corresponding endpoint (https://www.crunchyroll.com/accounts/v1/i_think_account_id_goes_here_or_something_like_"me"/devices/deactivate)?
And is there something similar on the PLAY_HOST? Apparently, deleting all devices from my account is not enough to disable all open streams on the PLAY_HOST, which leads to an API error with get_streams (420 too_many_queued_streams, useStreamLimits: true in the error message).

It looks like the utils.py class generates a new random DEVICE_ID every time it is initialized, so every time the app is launched, a new device is added.

I join the request, is there a way to do that when the download is finished it kills the session id, because when it reaches 15 sessions it says that there are many open connections and even if only one appears, if you delete it, the same number of times you have downloaded appears again.


[EventHub] Custom linters to not allow imports from Rhea

For more context, refer to #1479

Shouldn't the title say not to allow imports from rhea?

By doing this are we black listing rhea/typings/types specifically?
We want to black list rhea altogether as we don't want any direct dependencies on it.

We are blacklisting rhea altogether along with \typings* type of imports.
Currently, service bus is the only repo that requires fixes, other repos are not depending on rhea as such

Won't blacklisting rhea do the same for rhea/typings as well, since the latter is not a separate package?

Won't blacklisting rhea do the same for rhea/typings as well, since the latter is not a separate package?

Not really, ts-lint seems to mainly relies on reg-ex parsing, so it doesn't automatically disallow rhea\typings* imports.

Understood.
In that case, why not use rhea/.* instead of rhea/typings.*$?

Understood.
In that case, why not use rhea/.* instead of rhea/typings.*$?

This was based on conversation at - https://github.com/Azure/azure-sdk-for-js/pull/2069#discussion_r273642177
Sure, we can block all rhea\ imports.
Currently blocked on rhea-promise package to be published though.
@ramya-rao-a

@ramya0820 rhea-promise package has been published. I have updated the other PR which was marked as blocked. Please see https://github.com/Azure/azure-sdk-for-js/pull/2069#issuecomment-482220243

In what scenario does the $ in "rhea/.*$" make a difference when compared to "rhea/.* for us?

Oh, hadn't paid much attention as maybe ts-lint didn't care too much and was validating correctly.
Going by the docs on $ means:

$
End of string, or end of line
xyz$
xyz (appearing at end of string or line)

So if someone enters import from "rhea/'", this case would likely catch it.

From what I know about regular expressions $ followed by .* doesn't add much value
$ is helpful if you have a particular pattern that you want to ensure that your string ends with.
In our case we don't care what the import statement ends with.
As long as it starts with rhea/ we want to exclude it


Harmless errors when running program for Transmission

On startup
[2024-09-19 09:54:43][GetProxy] 未能发现 HTTP/HTTPS 代理.
[2024-09-19 09:54:43][Submit] An error occurred while requesting: Authentication failed.
[2024-09-19 09:54:43][SetCSRFToken] Set CSRF Token successfully: zaCm105I7FF8A9yAiGk4LRM5o06Epv2NuCNkeqQrA3yOZ43V.
[2024-09-19 09:54:43][RunConsole] Program has started.

After hours
[2024-09-20 05:04:43][CheckPeer_AddBlockPeer (Bad-Client_Normal|BlockList)] <IP_ADDRESS>:36674 ""|"Xunlei <IP_ADDRESS>" (TorrentInfoHash: d007cc58fa6ff0078d97f84f93362651874aa0da).
[2024-09-20 05:04:43][RestartTorrentByMap] Wait interval before resuming torrent: 600 Sec.
[2024-09-20 05:04:53][Task] Ban Client (This time): 1, Ban IP (This time): 0, Ban IP/Client (Current): 22.
[2024-09-20 05:54:43][SetCSRFToken] Set CSRF Token successfully: Or18fbGbPnnS7xEdZeHIWKlWJSpktLUEOSLN3mq0MAaer4s1.
[2024-09-20 05:54:43][FetchTorrents] An error has occurred.

Is that expected? if so I'll close this issue.
Thanks for creating this project

Thanks for the feedback!
Thanks for the feedback!
Yes, it is safe to ignore, I will improve the documentation to point this out and fix the issue with no i18n translations for the proxy part.


Major cleanup of the maven-build

Nothing is built outside the target directory anymore
o	I moved the static parts of the client and server distributions to “src/assembly/resources” and added an assembly that builds the client and server inside the target directory (You need to update the documentation on this)
o	The sever is now available at server/target/iotdb-server-0.9.0-SNAPSHOT
o	The client is now available at client/target/iotdb-client-0.9.0-SNAPSHOT
o	I updated the integration tests to work with these new locations
I updated the distribution module (binary-distribution) to simply include and unpack the client and server assemblies, which greatly simplifies the assembly itself.
In the integration-tests you use a process builder to get the current working directory … you can access this in the “user.dir” System property.
There was a large mixture of artifacts with different versions in the classpath.
o	I set all versions to the same using a big dependencyManagement block in the master pom
o	I removed the version of every external dependency and moved it into the main dependencyManagement block in the root pom (except dependencies only used in the examples, for these I added a dependencyManagement block in the example pom). This way you instantly identify external dependencies.
o	I added an enforcer rule to fail the build if two differing versions of one artifact are being used in the build (This should eliminate this problem from re-occuring)
o	I replaced the usage of “${project.version}” with the real version (There is no need to manually update these versions and this way when looking at the pom you instantly know the version … keep in mind if an artifact is deployed to maven central, the user doesn’t have the code and therefore he always has to scroll up to the top in order to see which version is used)
There were some imports related to Jdk 11 no longer providing some APIs, I moved those imports to a maven profile, which is activated based on the JDK version
HDFSInputTest created a file in “spark/test/” … if the test failed, the rat plugin would complain the next time it’s run.

I checked the build with all tests on Oracle-Java 8, Open-JDK 11, Oracle-JDK 12.

Hey @chrisdutz, I just checked the branch and did a mvn clean package -Papache-release. When I inspect the generated source rlease it still seems to contain jars:
.//server/iotdb/lib/FastInfoset-1.2.14.jar .//server/iotdb/lib/mockito-core-2.23.0.jar .//server/iotdb/lib/powermock-core-2.0.2.jar .//server/iotdb/lib/javax.annotation-api-1.3.2.jar .//server/iotdb/lib/istack-commons-runtime-3.0.6.jar .//server/iotdb/lib/junit-4.12.jar .//server/iotdb/lib/libthrift-0.9.3.jar .//server/iotdb/lib/powermock-api-support-2.0.2.jar .//server/iotdb/lib/powermock-module-junit4-common-2.0.2.jar .//server/iotdb/lib/antlr-runtime-3.5.2.jar .//server/iotdb/lib/javax.activation-api-1.2.0.jar .//server/iotdb/lib/javassist-3.24.0-GA.jar .//server/iotdb/lib/iotdb-jdbc-0.9.0-SNAPSHOT.jar .//server/iotdb/lib/powermock-module-junit4-2.0.2.jar .//server/iotdb/lib/iotdb-jdbc-0.8.0.jar .//server/iotdb/lib/logback-classic-1.1.11.jar .//server/iotdb/lib/mockito-all-1.10.19.jar .//server/iotdb/lib/fastjson-1.2.31.jar .//server/iotdb/lib/byte-buddy-1.9.3.jar .//server/iotdb/lib/commons-collections4-4.0.jar .//server/iotdb/lib/jaxb-runtime-2.4.0-b180725.0644.jar .//server/iotdb/lib/objenesis-3.0.1.jar .//server/iotdb/lib/powermock-api-mockito2-2.0.2.jar .//server/iotdb/lib/guava-21.0.jar .//server/iotdb/lib/airline-0.8.jar .//server/iotdb/lib/tsfile-0.8.0.jar .//server/iotdb/lib/commons-io-2.5.jar .//server/iotdb/lib/stax-ex-1.8.jar .//server/iotdb/lib/jaxb-api-2.4.0-b180725.0427.jar .//server/iotdb/lib/iotdb-server-0.8.0.jar .//server/iotdb/lib/hamcrest-core-1.3.jar .//server/iotdb/lib/tsfile-0.9.0-SNAPSHOT.jar .//server/iotdb/lib/byte-buddy-agent-1.9.3.jar .//server/iotdb/lib/powermock-reflect-2.0.2.jar .//server/iotdb/lib/txw2-2.4.0-b180725.0644.jar .//server/iotdb/lib/snappy-java-1.0.5-M1.jar .//server/iotdb/lib/slf4j-api-1.7.12.jar .//server/iotdb/lib/jsr305-3.0.2.jar .//server/iotdb/lib/service-rpc-0.9.0-SNAPSHOT.jar .//server/iotdb/lib/javax.inject-1.jar .//server/iotdb/lib/iotdb-server-0.9.0-SNAPSHOT.jar .//server/iotdb/lib/commons-lang3-3.8.1.jar .//server/iotdb/lib/logback-core-1.1.11.jar .//server/iotdb/lib/service-rpc-0.8.0.jar .//client/cli/lib/FastInfoset-1.2.14.jar .//client/cli/lib/slf4j-api-1.7.22.jar .//client/cli/lib/commons-cli-1.3.1.jar .//client/cli/lib/javax.annotation-api-1.3.2.jar .//client/cli/lib/istack-commons-runtime-3.0.6.jar .//client/cli/lib/junit-4.12.jar .//client/cli/lib/libthrift-0.9.3.jar .//client/cli/lib/javax.activation-api-1.2.0.jar .//client/cli/lib/iotdb-jdbc-0.9.0-SNAPSHOT.jar .//client/cli/lib/progressbar-0.7.3.jar .//client/cli/lib/iotdb-client-0.8.0.jar .//client/cli/lib/iotdb-jdbc-0.8.0.jar .//client/cli/lib/logback-classic-1.1.11.jar .//client/cli/lib/mockito-all-1.10.19.jar .//client/cli/lib/jline-2.14.5.jar .//client/cli/lib/fastjson-1.2.31.jar .//client/cli/lib/jaxb-runtime-2.4.0-b180725.0644.jar .//client/cli/lib/jline-3.10.0.jar .//client/cli/lib/tsfile-0.8.0.jar .//client/cli/lib/commons-io-2.5.jar .//client/cli/lib/jansi-1.17.1.jar .//client/cli/lib/stax-ex-1.8.jar .//client/cli/lib/jaxb-api-2.4.0-b180725.0427.jar .//client/cli/lib/hamcrest-core-1.3.jar .//client/cli/lib/tsfile-0.9.0-SNAPSHOT.jar .//client/cli/lib/commons-lang3-3.1.jar .//client/cli/lib/txw2-2.4.0-b180725.0644.jar .//client/cli/lib/snappy-java-1.0.5-M1.jar .//client/cli/lib/iotdb-client-0.9.0-SNAPSHOT.jar .//client/cli/lib/service-rpc-0.9.0-SNAPSHOT.jar .//client/cli/lib/logback-core-1.1.11.jar .//client/cli/lib/service-rpc-0.8.0.jar

You will have to manually delete the client/cli/lib and server/iotdb/lib directories ... they are not managed by the project.

Indeed @chrisdutz after cleaning the folder it looks fine, thanks!


[2.9] Fix undefined variable

My code was failing on this line:
https://github.com/chartjs/Chart.js/blob/a985fecc98c00ebef3f6a0413992899d5397b8ad/src/scales/scale.time.js#L493

@etimberg this one should be ready to be merged


Write tutorial

Write some helpful tips that explain how the interface works and what children need to do to solve the first task.

For some reason I didn't see your interface that you programmed.
Task explanation.
Given the task of scoring a goal, where from the start the robot is positioned a few steps in front of the goal, what you need to do is move around, i.e. walk and shoot.
You have a robot standing at the starting position, where you can move around using these blocks: add a robot, move the robot, logic operations, comparison operations, there are also controls in the form of repeat and condition blocks, using them the robot would perform the given task, but you also have a time counter.
With these blocks, you need to score a goal as quickly as possible.


Added GitHub issue forms

Description
Update the ISSUE-TEMPLATE with GitHub issue forms.
Thanks @priyanshuone6 for the reference! Most of the content of this PR overlaps with the reference you provided.
Fixes #1823
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

@priyanshuone6 when I change it to Bug Report from Bug-Report it shows me this error

That is because there already exists a template with the same name in the default branch develop. Merging this PR will fix it.


Feature req colored icons

It would be nice if the circle dots were colored to base or custom color[n] , fallback to a theme_color attribute etc.
Like how git status looks

			],
			"color" : {
				"base"  : "#70991f", // info message
				"link"  : "#b36915", // link in info message
				"quote" : "#428a99"  // quote in info message
				"icon"  : "#F6F6F6"  // icon (non image) in info message
			},
			"icon"  : "circle"    // remove "icon" not to use icon, "dot", "circle" "bookmark" are possible
		}

You can customize icons as you want by overriding package. Make the folder Packages/Log Highlight/icons, put your icons and change icon settings like - foor/bar.png.
I think it will be better.

I think gitgutter uses white icons, and somehow colorizes them, this lets them be themed.
Not exactly sure how it works, I will dig deeper.

I've added that in v1.8.7.


gedis server : job_schedule method not clear

using  job_schedule return the following error and also not clear what exactly this method did with gedis server

JSX> gd.job_schedule(ml.actors.simple.ping())
Thu 26 14:04:59 /BASECLASSES/Attr.py -  66 - __getattr__                        : EXCEPTION:
   could not find attribute:workers_queue in gedisserver_le (error was:'GedisServer' object has no attribute
       'workers_queue')
--TRACEBACK------------------
<stdin> in <module>
   1
/sandbox/lib/jumpscale/Jumpscale/servers/gedis/GedisServer.py in job_schedule
   238    job = self.workers_queue.enqueue_call(func=method, kwargs=kwargs, timeout=timeout, depends_on=depends_on)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/Attr.py in __getattr__
   66    raise j.exceptions.NotFound(msg)

same for load method can't know what exactly it do

@Dinaamagdy load is part of the baseclass that server inherits from. It is usally used internally in the baseclasses. It reloads the data of the server instance from the database into the object again.
 job_schedule is obsolete, I am going to remove it.

https://github.com/threefoldtech/jumpscaleX_core/commit/84fb09c2d7700331e03120d5211873f2126ccdfa


Cannot save custom css in iOS Safari version Refined GitHub extension

The added custom css disappears after refreshing.

Duplicate of https://github.com/refined-github/refined-github/issues/4823


Typings

Allow deepmerge package to be packaged using @rollup with @rollup/plugin-typescript.
At current state the package is exporting it's type declaration as index.d.ts inside the project root. This breaks typescript project builds with @rollup when using the compilerOptions.typeRoots typescript configuration.
A better approach would be to isolate the typings information inside a types folder and forward tools such as @rollup using the package.json typings property to the corrent types/index.d.ts path.
This modification allows deepmerge to act as a type module, fixing issues related to bundling the package using @rollup/plugin-typescript.

#192

As better described in here, there are 3 manners of inclusion, explicit specifying a typings or types (equivalent fields) in package.json being encouraged but not required if an index.d.ts is pressent at root directory level.
Based on above referenced documentation, the repository already has a valid definition file and this issue alongside it's pull request can be safely ignored as build tools should also respect conventions, not only libraries.

So it's a @rollup/plugin-typescript issue?

In a PnP context with transpiled build files.
I haven't rised an issue to either @yarn or @rollup and closed the issue here (alongside PR) as it's an edge case that can be worked around by interested parties (when you choise to go with PnP in it's current state you can't quite complain).


Add base ASP.NET Core 3.1 MVC website project

My First PR
Please be gentle. I’m eager to help. I’ve created an ASP.NET Core 3.1 MVC website.
Fixes #1

looks great


Update dependency

What kind of change does this PR introduce? (bugfix, feature, docs update, improvement)
improvement
What is the current behavior? (You can also link to an open issue here)
https://github.com/JetBrains/svg-sprite-loader/pull/403#issuecomment-740181543
Remove Duplicate Dependencies and Update dependency version(in env folder)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
no
Please check if the PR fulfills contributing guidelines

So it was not required by plugin at all?

So it was not required by plugin at all?

some dependency in here

Any progress on this?

It's merged already