[documentation] show example with Declarative syntax

Describe your use-case which is not covered by existing documentation.
please show example with Declarative syntax
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response

Hey,
Could you tell me which examples should be shown with Declarative syntax?  Do you speak of the ones in read.me file?

Could you tell me which examples should be shown with Declarative syntax? Do you speak of the ones in readme.md file?

Those examples are a good place to start.

Hey @mPokornyETM
In the Gitter channel you mentioned:

I think there is a test for declarative pipeline. So you can grab the test code and bring it in readme file as well

Can I get a document or something more to understand and start with the declarative pipeline?  And how to bring the code in readme file?

@Jagrutiti  Welcome to open-source hell (or heaven ;-) ) Our fist step is done. You has contact community as well.
For contributing you shall

Create new fork from this repository.
read this document. https://github.com/jenkinsci/lockable-resources-plugin/blob/master/CONTRIBUTING.md It is easy and short. Shall works as described ( i have test it at the creation time) When there are some missing information or is something wrong raise a new issue here in github (in best case PR with changes).

General info about documentation in this plugin

I starts with some documentation issues, see #401 .
The documentation shall be structured and easy to read. Something like this https://github.com/jenkinsci/lockable-resources-plugin/pull/401/commits/bae2a94091bed0de47fc7c99a3ae3badcae354fd
All currently open issues to documentation are labelled and you can find it here
https://github.com/jenkinsci/lockable-resources-plugin/labels/documentation

And about the syntax.
When you follow contributing document, you will have own local jenkins instance. That great place to play with jenkins. Look also here https://www.jenkins.io/doc/book/pipeline/syntax/ or better here https://www.jenkins.io/doc/book/pipeline/getting-started/ It is great tutorial (many thanks to @MarkEWaite and the team)
note. Please look in other open documentation issues. There are many examples also for scripted pipeline. Link all of them with this issues. Then try to execute the example (just be sure it works).
note:
To eliminate merge conflicts, i will create new branch extend-documentation in the plugin workspace and merge my changes there. After them you can create our own branch (in your forked repository) and commit there anything you want. Then you need to create PR in to extend-documentation. We will close all issues by merge the extend-documentation in to master
I hope this scenario is fine for you. Please get me feedback, otherwise I will continue only in my branch as well.
Thx
After them you need add this example in the /doc/examples struct.

Hey @mPokornyETM
Thank you so much for your detailed reply.
I laughed out loud when I read:

Welcome to open-source hell (or heaven ;-) )

I feel you.
I think there are a lot of issues in the documentation that will keep me engaged.
Your instructions are clear. Here is the gist of what I have understood.

Follow CONTRIBUTING.md to set up the plugin locally.
One by one pick the open issues to resolve. Not before noting the syntax that is followed in documentation.

The idea of extend-documentation branch sounds good to me. Merge conflicts can result in open-source hell. We don't want that.

Great 👍.  Let me merge my changes. Probably today or tomorrow. Then you can start.
One more question.  In which area you want contribute?  Documentation.  Java coding. Testing. Ui design. Or localisation (any new language will be fine)

The branch is created https://github.com/jenkinsci/lockable-resources-plugin/tree/extend-documentation and my changes are merge https://github.com/jenkinsci/lockable-resources-plugin/pull/401. You can continue now. When you has some changes pls address the PR to me. I will stop now for this topic. There are also many other points to do ;-)

related to #44 #56 #58

Hey @mPokornyETM
I will contribute to either Documentation, Java coding, or testing. I am not good at UI or localization (maybe I can do this not sure though)
Could you tell which contribution would help this plugin the most from Documentation, Java coding, and testing?
I would like to contribute to the code area more. Because to learn documentation I am already contributing to other repos.
I am good with either. Whatever helps this repository the most.

Could you tell which contribution would help this plugin the most from Documentation, Java coding, and testing?

Can we switch pls this discussions here ? https://gitter.im/jenkinsci/lockable-resources

@Jagrutiti  Can you pls create an entry in readme.md about this? The question comes often ;-)
Originally posted by @mPokornyETM in https://github.com/jenkinsci/lockable-resources-plugin/issues/275#issuecomment-1321598734

@Jagrutiti Can you pls create an entry in readme.md about this? The question comes often ;-)

Done


As a developer, I would like the GitHub repo for the artifact to be updated from its provenance at the Zenodo link, so that features and bug fixes can be made from an accurate baseline

Technical requirements – Update the GitHub files for the artifact using the artifact files available at https://zenodo.org/records/10511380.
Initial assignments – Replace GitHub files with files from the artifact’s zip file downloaded from https://zenodo.org/records/10511380.
Acceptance Criteria - Artifact code in GitHub matches the files in the artifact’s zip file and still executes the same as running from the zip file.
Impact – 5/5. Very Important.  This should be the baseline before making modifications to the code using GitHub.
Effort – 2/5. Below Average.  Unpacking the artifact’s zip file and using it to replace the code in GitHub should not be difficult.
Dependencies – All other changes to the code should wait for this change/update.

This issue #6 was satisfied by feature branch "Feature/update all folders and code to latest codebase"; issue #18, and merged into main.


Please add request timeout 30 secs only as Defult!!

Please add request timeout like requests lib

You can set the desired timeout using the keyword timeout_seconds.
import tls_client
session = tls_client.Session(
    client_identifier="chrome112",
    random_tls_extension_order=True
)
response = session.get("https://github.com", timeout_seconds=180)

@FlorianREGAZ    I can raise a PR for it, based on the approach you prefer?

replacing timeout_seconds with timeout
Adding timeout as alias

refer :  Fork

I would also suggest to add linter / formatter for consistency. You may refer pre-commit setup


To Set ColSpan or RowSpan of any item to float number like 1.5(In Facebook Image Grids in feeds it has each item colSpan 2 or 1 or 1.5)

Why don't simply make a gridview with colCount 6 and then use Items with a colSpan of 2, 3 and 4 ?

what @Steve2955 said should be sufficient. BTW is that screenshot from an app on the Play Store? I'd love to take a look 😄

@felipecsl The screenshot is not from an app on the playstore. I'm currently in the 10th grade and here in Germany we have to write something called a "Seminarfacharbeit". It's basicly a scientific paper you have to write in a team and it has to be submited until the 12th grade. If you've done this well enough, you don't have to do a second oral exam. Me and my team decided to make an app, which will help users to learn better and more efficent, by analysing their strengths and weaknesses. The app shown in the screenshot is just a compilation of examples, I made for the other members of my team, to show how we could design the start page of the app. In the end we decided to use a asymmetric gridview, so we can make more important topics larger and not so important ones smaller.
And finally I want to thank you for this awesome libary you made, it saved me a lot of work and I hope you will continue making it even more awesome.

@felipecsl one more question is it able to confined height of this grid view same as width or wrap content. I am using this library for viewing images in grid (same as Facebook app in feeds) .So i have to specify both height and width of Asymmetric grid View with wrap content.

@singhania1408 no, I don't think this will work with wrap content, you'd have to either set fixed dimensions or match_parent

@felipecsl ColSpan or RowSpan is not working greater than 2.Please help me out I have implemented your library already.

@singhania1408 As you can see in the screenshot, I already posted, ColSpan or RowSpan greater than 2 is working.

@Steve2955  Check this Code i am using this one in my Adapter .It is going correct for two images(1 colSpan) but going wrong for 3 and 4 sets of images.
public class AttachmentSetTask extends AsyncTask<Void, Void, PerAttachmentViewModel> {
    String attachment;
    WeakReference<AsymmetricGridView> attachmentReference;
    List<AsymmetricImageModel> items;

    AttachmentSetTask(String attachemnt, AsymmetricGridView asymmetricGridView) {
        this.attachment = attachemnt;
        items = new ArrayList<AsymmetricImageModel>();
        attachmentReference = new WeakReference<AsymmetricGridView>(asymmetricGridView);
    }

    @Override
    protected PerAttachmentViewModel doInBackground(Void... params) {
        PerAttachmentViewModel perAttachmentViewModel = new PerAttachmentViewModel();
        try {
            JSONArray dataArray = new JSONArray(attachment);
            int length = dataArray.length();
            int colSpan = 1, rowSpan = 1, padding = 0;
            int columnCount = 1, rowCount = 1;

            switch (length) {
                case 1:
                    columnCount = rowCount = 1;
                    padding = 0;
                    break;
                case 2:
                    columnCount = 2;
                    rowCount = 1;
                    padding = 2;
                    break;
                case 3:
                    colSpan = 2;
                    rowSpan = 2;
                    padding = 100;
                    columnCount = 5;
                    rowCount = 4;
                    break;
                case 4:
                    columnCount = 3;
                    rowCount = 3;
                    padding = 30;
                    break;
                default:
                    columnCount = 5;
                    rowCount = 6;
                    padding = 3;

            }
            int colWidth = (width) / columnCount;
            int viewHeight = colWidth * rowCount;
            //viewHolder.asymmetricGridView.setRequestedColumnWidth(colWidth);

            perAttachmentViewModel.setViewHeight(viewHeight);
            perAttachmentViewModel.setColCount(columnCount);
            int hasmore = 0;
            if (length > 5)
                hasmore = length - 5;

            for (int i = 0; i < length; i++) {
                if (length == 3) {
                    colSpan = (i == 0) ? 3 : 2;
                    rowSpan = (i == 0) ? 4 : 2;
                } else if (length == 4) {
                    colSpan = (i == 0) ? 3 : 1;
                    rowSpan = (i == 0) ? 2 : 1;
                } else if (length == 5) {
                    colSpan = (i == 0 || i == 1) ? 3 : 2;
                    rowSpan = (i == 0 || i == 1) ? 3 : 2;

                }
                AsymmetricImageModel asymmetricImageModel = new AsymmetricImageModel(colSpan, rowSpan, i, hasmore);
                JSONObject perObject = dataArray.getJSONObject(i);
                ImageModel imageModel = new ImageModel();
                imageModel.setImageUrl(mCommon.getvalue(perObject, Constants.BIGURL));
                imageModel.setId(mCommon.getvalue(perObject, Constants.ID));
                if (perObject.has(Constants.LIKES))
                    imageModel.setLikeCount(mCommon.getvalue(perObject, Constants.LIKES));
                if (perObject.has(Constants.LIKEBYME))
                    imageModel.setLikeCount(mCommon.getvalue(perObject, Constants.LIKEBYME));
                asymmetricImageModel.setImageModel(imageModel);
                items.add(asymmetricImageModel);
            }

            adapter = new DemoAdapter(context, items, feed_id);

            perAttachmentViewModel.setDemoAdapter(adapter);
            Log.v(TAG, "Feeds Adapter Called having Attachment");

                            /*ImageListAdapter imageListAdapter=new ImageListAdapter(context,android.R.layout.simple_list_item_1,list,list.size());
                            viewHolder.asymmetricGridView.setAdapter(imageListAdapter);*/

        } catch (JSONException e) {
            e.printStackTrace();
        }

        return perAttachmentViewModel;
    }

    @Override
    protected void onPostExecute(final PerAttachmentViewModel success) {
        AsymmetricGridView asymmetricGridView = attachmentReference.get();
        RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, success.getViewHeight());
        layoutParams.setMargins(0, 15, 0, 0);
        layoutParams.addRule(RelativeLayout.BELOW, R.id.summary);
        asymmetricGridView.setLayoutParams(layoutParams);
        asymmetricGridView.setVisibility(View.VISIBLE);
        asymmetricGridView.setRequestedHorizontalSpacing(0);
        asymmetricGridView.setRequestedColumnCount(success.getColCount());
        asymmetricGridView.setAllowReordering(false);
        AsymmetricGridViewAdapter asymmetricAdapter =
                new AsymmetricGridViewAdapter<>(context, asymmetricGridView, success.getDemoAdapter());

        asymmetricGridView.setAdapter(asymmetricAdapter);
    }
}

I have read in your previous issues about problems in more than 2 colSpan that's why i am raising this problem.

@felipecsl @Steve2955 Please reply me as soon as possible.
Caveats
Currently only has good support for items with rowSpan = 2 and columnSpan = 2. In the near future it will support different layout configurations.
It is mentioned on your ReadMe File.

it will work with rowspan/colspan greater than 2, it just might not look good since there's a greater chance you'll end up with more gaps in your grid


Add dependabot automatic dependency version updates

This should help automatically keep dependencies up to date in requirements.txt, while also ensuring that dependency versions are only increased if the tests pass.
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates
Closes #406
Pull request checklist

[x] Add a clear description of the change
[x] Add any new tests needed
[x] Run spell check on new text visible to user (documentation, GUI etc.)
[x] Check any changes to requirements.txt are reflected in setup.py and conda-forge feedstock
[x] Check code passes CI checks (run run_ci.sh or check GitHub Actions)

See CONTRIBUTING.md for more details.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.062%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
3182

Relevant Lines:
3194

💛  - Coveralls


Feature/multi snippet managment

:rocket: Added multi management for snippets

          1 Warning

:warning:
Please check the message style of the commit.
Check style CONTRIBUTING.md.

  Generated by :no_entry_sign: Danger

@vivi7 Thank you for your great PR.
This PR implements two functions. Please will it separate the PR for each function?

Add multi snippet management
Add import/export .json file

@vivi7 And why did you try to add the export .json file? Did not you just use xml?

@Econa77 I'm so sorry I was with the github push notification turned off so I didin't see your comment, I'm really sorry, Infact I aspected some comments and I was stranged that I never had an answer, I'm really sorry again, I will be activier on the project.

for the two function PR, I'm going to create them as soon as possible

The reason for the json was because it's simpler to read when you open the file with a normal text editor. and the implementation was simple


community: refactor Arxiv search logic

PR message:
Description:
This PR refactors the Arxiv API wrapper by extracting the Arxiv search logic into a helper function (_fetch_results) to reduce code duplication and improve maintainability. The helper function is used in methods like get_summaries_as_docs, run, and lazy_load, streamlining the code and making it easier to maintain in the future.
Issue:
This is a minor refactor, so no specific issue is being fixed.
Dependencies:
No new dependencies are introduced with this change.
Add tests and docs:
No new integrations were added, so no additional tests or docs are necessary for this PR.
Lint and test:
I have run make format, make lint, and make test to ensure all checks pass successfully.

Hi @eyurtsev,
Could you take a look at this?


Please Help

So, I used to use a fake qr code token grabber thingy by Astraadev, and, it doesn't work anymore since the qr codes do not generate anymore because of hCaptcha.
Anyone got a qr code token grabber that works?
dm me on discord if you do or respond here: f4a#3954

bro u don t accept friend requests on discord , change your settings. or add me Macr0bear22#5340


MoveTargetOutOfBoundsError issues

w3c spec Actions support no longer automatically navigates to an element. I think element_call needs to rescue this exception and scroll to the element and retry.

will be released in 7.0.0.beta2


Postgres insert does not skip default value properties resulting in npgsql exception

Hi,
Seems to me that postgres flow when some entity property has default value set, is not properly handled when using BulkInsert.
From what I found, the COPY command that gets built takes into account columns with default values set:
https://github.com/borisdj/EFCore.BulkExtensions/blob/master/EFCore.BulkExtensions/SQLAdapters/PostgreSql/SqlQueryBuilderPostgreSql.cs#L119
That COPY command is then used to create binary importer: https://github.com/borisdj/EFCore.BulkExtensions/blob/master/EFCore.BulkExtensions/SQLAdapters/PostgreSql/PostgreSqlAdapter.cs#L43
Binary importer then gets response from Postgres which tells it how many columns it expects per row.
But then, when iterating over entity properties, such properties that have default value set, are not skipped:
https://github.com/borisdj/EFCore.BulkExtensions/blob/master/EFCore.BulkExtensions/SQLAdapters/PostgreSql/PostgreSqlAdapter.cs#L66
This causes it to add property that should be skipped and afterwards causes importer to throw an exception that there were too many columns (CheckColumnIndex in Npgsql).

"ClassName":"System.InvalidOperationException","Message":"The binary import operation was started with 10 column(s), but 11 value(s) were provided."

DbContext is configured with something like:
        modelBuilder.HasSequence<long>("my_entity_sequence");
        modelBuilder.Entity<DbEntity>(dbEntity =>
        {
            dbEntity.Property(e => e.Sequence).HasDefaultValueSql("nextval('my_entity_sequence')");
        });

Try addding this fix (at start of foreach loop, after line 67):
if (tableInfo.DefaultValueProperties.Contains(propertyName) && !tableInfo.PrimaryKeysPropertyColumnNameDict.ContainsKey(propertyName))
    continue;

If it solves the issue you can make a PR.


Usability Improvements

Usability improvements to tables (moving edit links to a dedicated column at the end, removing additional links and renaming column), and to the local authorities upload links page (errors now appear in a flash, rather than being swallowed and redirected to the local authority page)
Screenshots:
Services table
Before (Multiple confusing calls to action)

After (Single call to action link, page title column renamed)

Before (Call to action link hidden in authority name )

After (Single call to action link)

Flashes on local authority uploads:

Hmm! Interesting question. We're definitely following a pattern here used in other apps, but yes, looks like there's a known solution for this - we add the visually hidden span to the empty column name, and we add it to the edit links. I'll make those changes.


Weighted CE and BCE

System information

TensorFlow version (you are using): 2.0
Are you willing to contribute it (Yes/No):
probably not

Describe the feature and the current behavior/state.
For now, loss function such as BCE or CE (Cross Entropy) can not use a specific weights for each class. For instance this feature is possible on pytorch. The way to do it is to use the class_weight option in the .fit method. However, it seems more appropriate to be able to use it through the loss function.
Will this change the current api? How?
I do not know
Who will benefit with this feature?
Everyone, especially when using multiple outpu,  it is not possible to use class weight in that specific case.
Any Other info.

@Shiro-LK,
tf.nn.weighted_cross_entropy_with_logits which tries to compute a weighted cross entropy. Could you please take a look at this official doc link and let us know if you are looking for the similar feature. Thank you!


add gitignore pom.xml

The reason I didn't do this before was because git github dependabot used this file to warn about dependencies on insecure libraries. However, @lchanmann added support to our build to do the same thing, but we'll need to remember to do it occassionally.


 While this does not affect the way that the program functions, it improves the emotional and mental understanding of anyone perusing this repository's code.

Don't submit a PR for the sake of submitting a PR.


Add User Scaffolding Using Laravel's inbuilt scaffolding

https://laravel.com/docs/5.3/authentication#introduction
Use the scaffolding feature to create the register/login/reset password feature.

Pushed in commit: https://github.com/codelust/laravel-skeleton/commit/ae48d8a1a4a49be6dadf1ed9a6e8b8f56d148c21


[FR] - Implement the ability to calculate the previous epoch's leadership schedule

Implement the ability to calculate the previous epoch's leadership schedule.

This is not currently possible without caching the previous epoch nonce. It's also not strictly necessary as SPOs can simply store the output of the current leadership schedule calculation and reference it if necessary in the future.

Andrew is providing also the "previous" option here

@dorin100

prev and current logs are available as long as you have a synchronized database.

Yes, I see he has it. However this requires caching previous epoch nonces and therefore the user has to store additional information in order to do this.
What is the typical use case for previous leadership schedules? Are users generally interested in the most recent one?

Yes, I see he has it. However this requires caching previous epoch nonces and therefore the user has to store additional information in order to do this.

Couldn't we use the details that we already have in the ledger state about the previous epoch? I think we already have details about 3 epochs (prev, current, next) in the ledger state now.

What is the typical use case for previous leadership schedules?
I think the most useful use case would be when debugging missing blocks - like my pool has 10 blocks assigned in epoch X, now in epoch X+1 (after X ended) I am looking at the performance of the pool in epoch X and I see I missed 3 blocks and the first thing I would want to check is what happened with those 3 blocks.

In order to debug something like this, it would be useful to use the same source of truth - the CLI in this case, and I would do that like interrogating the CLI in order to tell me what were the blocks allocated to my pool in the previous epoch.
Anyway, the leadership scheduled can be saved in each epoch and then used as required. The "previous" option is more like nice to have if it is simple to be implemented.


Reset parts data

-
-

Issue
When changing the model/brand/version of the ripe-configurator and ripe-image, an error is thrown due to the partsData being outdated with the data of the previous build.

Dependencies
--

Decisions
When the brand/model/version changes, the partsData is updated with the value in the props parts, meaning that if the user wants to change everything, including parts, the setup will allow. This solves the outdated data. The parts were removed in the ripe-image story to allow the user to experiment this and not break.  The setPartsRipe function was fixed.  A tiny typo in the pickers was also fixed (i know it is not in the topic of this PR, but it is a tiny tiny fix).

Animated GIF

@BeeMargarida is the diff correct? It seems it has lot of extra stuff

@BeeMargarida is the diff correct? It seems it has lot of extra stuff

I tried a rebase 🤦 gonna revert

@gcandal Regarding the removal of parts from the ripe-image story, it is necessary. Since the configRipe function updates the partsData with the parts variable before making the request to the sdk, if a user changes the brand and model in the storybook, the parts will not be updated with the change, resulting in an error.
I suppose that when using this, the client will be listening to the event update:parts from the component and update the given parts accordingly, or when changing model, resets the parts or changes it to the ones he wants.

@gcandal The fix includes this bulky piece of code, but I believe there is no workaround.
// if the model and parts changed but the parts
// stayed the same from the previous model, the
// parts must be cleaned
const resetParts =
          (value.brand !== previous.brand ||
            value.model !== previous.model ||
             value.version !== previous.version) &&
           previous.parts && value.parts &&
            this.equalParts(value.parts, previous.parts);
this.partsData = resetParts ? null : value.parts;

If the model/brand/version is changed but the client maintains the same parts, the partsData is cleaned.

Closing as we will have to add this same functionality to https://github.com/ripe-tech/ripe-sdk-components-vue/pull/43 in a different form.


chore(cd): build RPM packages in container matching the distro

Summary
Previously we were releasing rhel8 and amazonlinux2022/3 packages from its previous version of distro,
namely rhel7 and amazonlinux2 packages. Because normally libraries are backward compatible, they will just work.
This is also the approach that pypi's prebuilt images are using.
To be able to correctly verify the package and precisely use matching libraries that doesn't rely on backward
compatibility, we now move those packages to build on its matching docker container. This also matches what
we are already doing in EE.
We also move to package only one RPM package for each matrix to reduce the boilterplate code and size of artifact.
Checklist

[x] The Pull Request has tests
[na] There's an entry in the CHANGELOG
[na] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference
KAG-206

good packaing run https://github.com/Kong/kong/actions/runs/5451595713/jobs/9918076063?pr=11165


Update README.md

Updated instructions as they are not very clear on how/from where one should update the start gcode to allow trigger messages for postprocessing (among other changes in the start gcode).
Original Trigger Message: FOR USE IN COMBINATION WITH DUALSTRUSION POST-PROCESSING SCRIPT .*ONLY
Similar Trigger Message: you really should be using my dualstrusion-postproc script together

I have updated both the instructions in the make_fcp_x3g script and in the README of this repository to be more clear, and I have also commented out the optional paths by default.
If you mean you could create separate dual extrusion printer profiles for use with and without the dual extrusion postprocessing script, the current logic inside make_fcp_x3g indeed allows for that, but I wouldn't know why one would still want the option to do dirty dual extrusions without the post-processing script after doing the effort to set it up. Ideally I would want make_fcp_x3g to bail out if it sees that the dualstrusion script is configured but the wrong start G-code is being used, but that would have made the script again more complicated.
On my TODO list is to let the dualstrusion script rewrite the start G-code entirely, just as it already rewrites the tool change code. Then there won't be any need anymore for the user to set different start code in the slicer, and the script can use different code depending on what extruder prints first.

I was mostly concerned with the documentation fix, as I had to spend some time debugging to realize why it was failing/not post-processing (I didn't realize there was separate start gcode not included in the files I downloaded from Thingiverse); however your coding style was very clear and nice to follow. Thank you for documenting line-by-line! Your dual extrusion script works very well as-is and has transformed my print quality considerably! Thank you!


Added a new Javascript Algorithm for Factorial of a number.

It's nice to see you contributing.
please also add the code in a folder
refer to 5th point in the contribution steps.


Addon does not support Firefox Quantum

Hi, any plans on updating the plugin to support the latest Firefox version?

Unfortunately not possible unless Mozilla changes its add-on model again.

Had same problem.
I looked at firefox versions that was released just before last commit. :)
Using this list: https://www.mozilla.org/en-US/firefox/34.0.5/releasenotes/
And then same version from here.
https://ftp.mozilla.org/pub/firefox/releases/
I ended up using: 34.0b11
Hope it helps.

All recent versions prior to Firefox 55.* still support the add-on.
You might need to adjust the config for versions between 50 and 54 as described here: https://github.com/mkovatsc/Copper/issues/20


Return the number of bytes used in the deserialization process

Particularly useful when using smoltcp's closure based socket API.

I will merge these and open a new PR with combined changelog entries


NPE when doing a MDX query on a larger amount of data

Steps to reproduce

Dashboard: http://<IP_ADDRESS>:8080/#/dashboard/ba2
Notebook: http://<IP_ADDRESS>:8888/lab
Actual Result
NullPointerException when doing this MDX query on a large amount of data.
Notes:

The query is about 4 920 810 contracts.
The CPU usage is low when the query failed (under 10% for 1 or 2 seconds).
I don't understand why the committed Java Heap is 29,7 GiB when I have this configuration: max_memory: 16G.
It works when the only measure on the query is [Measures].[contributors.COUNT].
The query with both [Measures].[contributors.COUNT] and [Measures].[ECL ] works by increasing the TimeOut to 120 seconds.
The NPE happens when querying the [Measures].[ECL (DtD)].
Sometimes I also get a java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1024 with the previous query, see the second file of logs.

Expected Result
No exception except TimeOutException.
Environment

atoti: <IP_ADDRESS>00820214258
Python: 3.8.5
Operating System: linux

Logs

subprocess.zip
subprocess.zip

This looks like a core bug.
Can you share your notebook?
Also, can you confirm that you use the sum_product function?

In fact I am using the sum_product function to calculate the ECL.
Here is the full notebook: Application.zip
I am going to simplify it and to update this comment.

Filed https://support.activeviam.com/jira/browse/APS-12868

@Harold7665 can you also share the data files?

Hello,
Data are available here: https://drive.google.com/drive/u/0/folders/1X3FfXuQW6I9MYEzHa6y3FYIl_yhDYG-F (shared by default to Romain and Fabien - ask if you need an access).

I have tested again on the smaller dataset I used 1 month ago and the NPE happens even on this one, so there is no link to the amount of data.


in the drop impl of Secret, should ManuallyDrop::drop inner T

https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html#method.drop
https://lesleylai.info/en/rust-manually-drop/

actually no need, because let mut inner = ... means self.0 has been taken out and will be dropped when drop scope ends


35 adjust colours for cars and control points

Adjust colours for the route, control points and car classes.


Reorder lock/transaction to start tx only after successful lock

I measured tx times, and e.g. gap_cache::vote was open for ~30s, probably due to the mutex being locked.

Did we run this for a while, maybe during a full sync to make sure it doesn't cause deadlocks?

@clemahieu I ran tests but no sync - I think that kind of testing needs to be done. If moving a transaction (which has no locks) above the lock_guard can result in deadlock, then locking in the node is even more subtle than I thought, but who knows.

Write transactions do block other write transactions.
I think I'll revert the write transaction changes in this PR because I forgot that we sometimes pass transactions into functions, which puts the transaction lock first. That said, the read transactions don't have a potential to deadlock (to my knowledge), and in that case this change is much safer.

Two machines synced fine now, but I guess better be on the safe side. Having a a design where passing around transactions risks deadlocks doesn't sound good - anything we can improve here?


Add benchmark_video_blur.py

This benchmarking script would measure the duration it takes to process videos at different sample rates and outputs the results on a text file.

@adolfoarmas, could you please review this script, run it, and share the results?

These are the results I got, i ran various with sample 60 and one with 50:

Sample
Output Size
Duration

60
2.25 MB
14.7

60
2.0 MB
21.4

60
2.0 MB
17.1

60
2.0 MB
18.4

50
2.0 MB
19.3

Host Passmark 19912
Test environment:
Ubuntu VM
1 processor, 3 cores
RAM 8GB

@dev-bon, do you need any further details?
@adolfoarmas, do you have any feedback on the script itself?

None on my end. The output satisfies the needed details on the metric sheet.

@adolfoarmas, is there anything else? Please merge if it's ready.

Video Duration (m)
Sample
Output Size
Processing Time (s)

0:02:41
30
178.5 MB
585.5

0:02:41
40
178.75 MB
519.8

0:02:41
50
178.5 MB
469.6

results i got
LGTM now @marcbelmont


Key value pairs autocompletes to value of "key"

Hi - do you have the source code for http://svelte-autocomplete.surge.sh/ available anywhere?
The problem is when using key,value pairs, when I select a value, it places the "key" attribute's value into the input box.
I can't figure out why, or how to fix it.

I've created a reproduction. I don't think the key/value pairs feature works at all.
https://svelte.technology/repl?version=2.13.4&gist=fa5a7dc64388b66da8f44c5c6cf38f34

You have to use the component like this:
<AutoComplete
  name="countries"
  items="{countries}"
  isAsync="true"
  on:input="asyncData(event)"
  on:change="set({ country: event })">
</AutoComplete>

and then have a method in the parent like this:
methods: {
  asyncData () {
    fetchData(apiUrl).then(data => {
      const countries = data.map(item => {
        const { name, alpha3Code } = item
        return {
          key: name,
          value: alpha3Code
        }
      })
      this.set({ countries })
    })
  }
}

I've simplified your example down without asyncData (to reduce complexity)
It doesn't seem to work:
https://svelte.technology/repl?version=2.13.4&gist=fa5a7dc64388b66da8f44c5c6cf38f34
What am I missing?

You're forgetting to add bind:value="result", the component should be defined like this:
<AutoComplete bind:value="result" class="input" name="fruits" items="{fruits}" minChar="1" />

See https://svelte.technology/repl?version=2.13.4&gist=0c4491fc8bad2e0bd62b78e81e9c8875

Ah that works - excellent.
I'd say it's a bit non-obvious though - if you look at these:
bind:value="result" on:change="set({ result: event })"

Binding an on:change shouldn't be necessary since that's what bind:value does. Additionally, setting 'result' to 'event' is very odd since 'event' is the numerical id of the item, yet 'result' as bound by the 'bind:value' statement is actually the string name.
I'll add this to the docs anyway - but I think some renaming might be useful here.

You're absolutely right, that is strange. And I hadn't even noticed it until now...
TBH, I can't quite remember why I did it that way. When I have some more time available, I'll have another look at this issue.


recipe: yaml based assertion

As a developer I want to use better assertion logic than the following:
- name: Fetch OpenEBS control plane pods ready status
  shell: kubectl get pods -n openebs | grep {{ item }} | awk '{print $2}' | awk -F'/' '{print $1}' && kubectl get pods -n openebs | grep {{ item }} | awk '{print $2}' | awk -F'/' '{print $2}'
  register: ready_status
  with_items:
    - '{{ openebs_components }}'
  until: '{{ ready_status.stdout_lines | unique | length == 1 }}'
  retries: 20
  delay: 5

It will be great to assert list of values in a declarative manner.
For example below yaml should be enough to assert any Pods with the given label to be in Running state. It should return error if there are any Pods that are not Running.
kind: Pod
metadata:
  labels:
    name: app
status:
  phase: Running

To further our expectation of declarative assertion, let us try to assert any Deployment that has one of its containers with a nginx image with name my-nginx.
The assertion yaml should look like below:
apiVersion: apps/v1
kind: Deployment
spec:
  template:
    spec:
      containers:
      - name: my-nginx
        image: nginx

Assert any Deployment that has nginx image with container port 80
apiVersion: apps/v1
kind: Deployment
spec:
  template:
    spec:
      containers:
      - image: nginx
        ports:
        - containerPort: 80


PDF: Automatic generation of the words "Draft {Guide/Standard/Recommended Practice} for"

Title is not generated properly in PDF when the following guideline from www.metanorma.org is followed:

Do not include the words "Draft {Guide/Standard/Recommended Practice} for", these words are supplied automatically by Metanorma.

Generated:

Original:

Generated HTML:

Ping @opoudjis : Should we have "IEEE" keyword automatically generated before the "Guide for", as in the original document?

I see another issues:

no title, just 'IEEE Standard for'
instead of 'IEEE Standard for' should be 'IEEE Guide for'
dash after '1127' in  'IEEE Std 1127-'

That is weird, maybe we used different gem versions (metanorma-ieee has been updated yesterday).
However, doctype atrribute is set to guide and "Guide" keyword is applied in HTML, so this still seems to be a PDF-related error.

For standard's title xslt expects:

/bibdata/title[@language = 'intro' or @language = 'intro-en'] and/or
/bibdata/title[@language = 'main' or @language = 'main-en']

but currently xml contains:
<title language="en" format="text/plain">the Design, Construction, and Operation of Electric Power Substations for Community Acceptance and Environmental Compatibility</title>

so xslt should support both cases.

Currently, IEEE xslt generate standard's number by concatenation:

IEEE Std
bibdata/docidentifier[@type = 'IEEE']
-
(bibdata/date[@type = 'published'],1,4)`

Just for information, no need to change Std to Gde in IEEE Std, see cover-page: https://www.amazon.com/1127-1998-Construction-Substations-Acceptance-Environmental/dp/0738101982
To do in xslt: get year from bibdata/copyright/from.

In xslt, if the title starts with lower-cased letter, then no need to put line break after 'IEEE ... for'. Currently, it looks bad:

I agree. However, I believe the title here is "Design, Construction (...)" without the article "the". As I am not aware of any automatic option for adding articles before the title, I encoded it in the source file. Maybe it is acceptable to remove "the" and leave the current title presentation as-is? Ping @ronaldtse

Another issue, no copyright holder at the footer:

Currently, xslt reads the values from bibdata/copyright/owner/organization/abbreviation, but it's missing in the xml. Additional field should be used in this case:
		<contributor>
			<role type="publisher"/>
			<organization>
				...
				<abbreviation>IEEE</abbreviation>
			</organization>
		</contributor>

publisher added in https://github.com/metanorma/mn-samples-ieee-private/pull/8/commits/760c0eb3ccf5db127a2b503e1671b7308cf083cf

IEEE xslt updated in the branch (feature/xslt-update' (https://github.com/metanorma/metanorma-ieee/tree/feature/xslt-update)
Now PDF renders so:

@Intelligent2013 society is encoded as "Power and Energy Society", but there should be an automatically added prefix "IEEE" in the generated PDF.
From metanorma.org:

society
The IEEE society responsible for the document. Do not include the "IEEE" prefix.

Could you please check this as well as the following paragraph for committee - "Developed" vs. "Sponsored" (I guess this is an inconsistency in the original document, but just to double-check)?
Original:

For standard's title xslt expects:

/bibdata/title[@language = 'intro' or @language = 'intro-en'] and/or
/bibdata/title[@language = 'main' or @language = 'main-en']

but currently xml contains:
<title language="en" format="text/plain">the Design, Construction, and Operation of Electric Power Substations for Community Acceptance and Environmental Compatibility</title>

so xslt should support both cases.

@Intelligent2013 IEEE will not have intro-en and main-en anymore, it was an artefact from ISO inheritance. IEEE documents only have 1 title. Let's remove those. Thanks.

@Intelligent2013 society is encoded as "Power and Energy Society", but there should be an automatically added prefix "IEEE" in the generated PDF.

If there are any prefixes, like "IEEE", should be supplied by Metanorma XML? I don't think these things should be encoded by the stylesheets.

@ronaldtse the example from https://github.com/metanorma/metanorma-ieee/issues/7 contains "Developed by" on the cover pages:

but the document from this issue contains "Sponsored by":

Currently, 'Developed by' is hard-coded in the xslt.
I think we have to add one more document attribute for "Sponsored by". But are there another '... by' titles?

@Intelligent2013 IEEE will not have intro-en and main-en anymore, it was an artefact from ISO inheritance. IEEE documents only have 1 title. Let's remove those. Thanks.

@ronaldtse the example from https://github.com/metanorma/metanorma-ieee/issues/7 contains two part of title:

'Local and Metropolitan Area Networks' and
'Port-Based Network Access Control'

in the different font-sizes.
Is that one title or two? If one title, then we can't render it in different sizes.

If there are any prefixes, like "IEEE", should be supplied by Metanorma XML? I don't think these things should be encoded by the stylesheets.

@ronaldtse  Metanorma xml contains
<society>Power and Energy Society</society>

Is that one title or two? If one title, then we can't render it in different sizes.

We have clarified with IEEE that a document only has one title, we do not need to render different sizes. This is a special case.

Sponsored by vs Developed by

Can you help investigate ieee-stl to see their XML schema to determine what additional fields we need?

Can you help investigate ieee-stl to see their XML schema to determine what additional fields we need?

From ieee-stl:

<std-sponsor> Standard Sponsor
The groups such as the society, the association, or the Working Committee responsible for a standard. This is a text field, containing words such as “sponsored by” and the names of organizations, with the possibility that the names of a committee, society, secretariat, or institution may be tagged within the text
Remarks
There can be a hierarchy of sponsors, ranging from: the IEEE-SA Standards board at the top; the next level usually the society, committee of the society, or SCC (Standards Coordinating Committee) that is the parent of the Working Group; and finally the Working Group or Task Force (typically a subset of the Committee) that wrote the standard. More than one Committee may sponsor a standard.
The name of a Committee, for example, the “Petroleum and Chemical Committee”, should also be thought of as a topic for searching and added to the keywords or subject categories.

The element contains sub-elements:
    <committee> Standards Committee
    <institution> Institution Name
    <institution-id> Institution Identifier
    <secretariat> Secretariat For a Standard
    <society> Society For a Standard

The xml source for master-1-standard  document:
<std-sponsor>Sponsor <committee>Substations Committee of the IEEE Power and Energy Society</committee>
</std-sponsor>

Cover page contains some different text (there isn't this text in the xml):

But 2nd page contains exactly text from xml (some text is bold-faced):

The xml source for master-2-standards document doesn't contain 'Sponsor' word:
<std-sponsor>
<committee>IEEE Standards Coordinating Committee on Test and Diagnosis for Electronic Systems (SCC20)</committee>
</std-sponsor>

Cover page:

2nd page contains 'Sponsor' (it's missing in xml, but presents in the xml for 'master-1-standard'):

So:

the text on the cover page and 2nd page is different
in the xml there isn't text for cover page
the element 'std-sponsor' may contain text like 'Sponsor'
the element 'std-sponsor' is complex, and may contain 'committee', 'institution', 'institution-id', 'secretariat', 'society':

<std-sponsor>Sponsored by the<break/>
   <committee>Power System Communications Committee</committee><break/>
   of the<break/>
   <society>IEEE Power & Energy Society</society><break/>
   and the<break/>
  <committee>Standards Committee</committee><break/>
  of the<break/>
 <society>IEEE Communications Society</society>
</std-sponsor>

there is case when the element 'society' isn't using, for instance: <std-sponsor>Sponsor <committee>Substations Committee of the IEEE Power and Energy Society</committee></std-sponsor>, i.e. 'IEEE Power and Energy Society' inserted as the committee's part.

Regarding 'Developed by ', IEEE uses the element 'std-sponsor' also for this purpose.
Xml example for 2830-2021:
<std-sponsor>Developed by the
  <committee>Standards Activities Board</committee> of the
  <society>IEEE Computer Society</society>
</std-sponsor>

Cover page (no 2nd page in the draft):

So, we need fields for specifying:

'developed' or 'sponsored' (I can't find another kind of '... by')
hierarchy for committee/institution/secretariat/society and relationships between them - 'of the', 'and the'.

All I capture currently is:

Developed by the

{{ technical_committee }}

of the

IEEE {{ society }}

where technical_committee is //bibdata/ext/editorialgroup/committee, and society is //bibdata/ext/editorialgroup/society. I have no representation of sponsor, and the difference between "developed" and "sponsor" is not one of wording, it is a difference between //bibdata/ext/editorialgroup/committee and //bibdata/ext/editorialgroup/sponsor (once I add it).
This will need to become a separate ticket for me to work through.


Path generator - DividerWarner

I havent see in code, but using script, I have noticed that bot place a "path-dot" at the medium distance for "cloud eat-able dots" instead of 1 path-dot for each one.
The thing that I have noticed is: bot seems to just follow nearest dot.
In many case I have to take control of bot to go in an "high density dot field", and enable again it.
Many times, bot lost high chance of growing calculating only the nearest dot.
A good improvement, would be assign a "weigth" at each dot; what I mean is:
1 dot = 1 weigthed point.
3 dot of distance less or equal of range of my blob = 3 weigthed point.
In this way bot let's know that between 1 dot at X distance, and 3 dots at X+1 distance, is better second choice.
Another one, would be calculate "high desity cloud dot" direction, instead of just follow the nearest one.
Example:
The nearest dot A (distance X) is at rigth, and there are only 4 dot next to it (a series of dot on a line).
Bot at time of writing go on it.
At left, there are 1 dot B (distance X+1), but near to it, there are "a cloud of dots".
Going on second choice (B), bot would grow many faster then going (as it do now) on first one (A).
Probably adding a "simple" algorithm, to calculate density of dot in visible/downloadable field, would be better for path-choosing, instead of just follow nearest one.
Another function usefull, would be "DividerWarner": a stuff that let me know if dividing my blob, i will catch enemy blob.
Thx for reading!

DocterD90 said: The thing that I have noticed is: bot seems to just follow nearest dot.
In many case I have to take control of bot to go in an "high density dot field", and enable again it.
Many times, bot lost high chance of growing calculating only the nearest dot.

This is done because the bot is focusing on getting mass quickly with dots that are near it.
This decision was gone over many times in an earlier issue of this bot, with deciding that the bot should go after pellets that are much closer, instead of far away clusters...
Look at this for ref.
https://github.com/Apostolique/Agar.io-bot/issues/155#issuecomment-118451836

The main idea is that unless I code something to predict what other people are going to eat, then the closest dots are the ones that you can most likely reach first. It's a waste of time to go for the dots that are further away if they won't be there anymore when you reach them.
The current eating formula is a hybrid of both. The bot wants to get the dot clusters that are worth more, just like you said, but it also has a lazy factor where it doesn't want to travel too far unless the cluster value is really worth a considerable amount.
You'll notice that as it gets bigger, it starts ignoring the closer dots.

Even if Im new to github, and I dont know how to reply to specific phrase said by each people:
@Drflash55 thx! this is exactly what i have notice that bot seems it doesnt do at the moment :P
@Apostolique Im not telling to predict enemy movement, but I have leave bot play alone many times, and many times it likes go at a side where there are the nearest dot, instead of a cloud of dot.
Im not telling to download "entire" table, and calculate the highest density space and go there, but, even without zooming, sometimes, bot go where it is there the nearest dot. When i write X and X+1, I really would mean +1. I think that to make 1cm (as monitor real space) and go in a visible high density cloud, would be better than go to nearest dot... But all this "report", I do them when blob is small .... when it grows, I stop it, because, due to obviously impossibility of "bot thinking" when it is between 2/3 enemy (bigger), it starts to go rigth-left-up-down-rigth... because it cant find a "suicide strategy" to try to keep itself alive :P so I like to stop it, and play by my self. I use bot feature, just for first minutes to get dots rapidly.
BTW, you have make a very great and beautiful code :) congratulation! I would really say you CONGRATULATION :+1:
I  hope to understand better bot's features, like how read mass of my/enemy blob, and a "tip" about if my half size may eat enemy ([spacebar] 1/2 * my_size > enemy mass) so that it supports me in decision, because at the moment im using bot primarly for circles and lines, even if i havent fully understand their own meaning :)

If you want, feel free to remove the part that uses the distance:
https://github.com/Apostolique/Agar.io-bot/blob/cb1126c70dabf9953a28cb186e33f072811752ac/bot.user.js#L1112
Specifically, remove:
this.computeDistance(clusterAllFood[i][0], clusterAllFood[i][1], player[k].x, player[k].y)

It's not going to do exactly like you want since as you eat a dots, their clusters become less valuable and then the bot will look for a better cluster without eating everything in the first one.

@Apostolique thx for you help! But I'd hve another idea...letting bot play itself, I have noticed that after each "eating", it stops a moment, (calculate next dot), go to next dot. Sometimes bot will start to go left-right in case of a more or less 2 dots at same distance, so bot when go at left, it correct to right, and again to left, an so on, until one of 2 is definitely much closer. This slow done bot.
Should be a goo idea (even to better understand what cluster is better), calculate step0, and step1? I mean, bot compare not only the nearest dot, but also the dot nearest the first, so it may understand/know what is the direction to take after eat a dot. This would speed up bot path, and may leave him understand between dot (x distance) and a dot (x+1 distance) which one is better; summing point getting from both it will decide better.
By the way, the main stuff is to speed up the bot to take its own path instead to eat, stop, calculate, go to next dot.
I dont know if "this" is done yet, but (I havent yet fully understood meaning of 2 different circle of enemies) would be a good idea increase the "safe" range to improve possibility to go away without risks. Often I see, that due to inertia, people, coming in front of me, eat me. I dont know if the "safe" zone is yet improve, but if it exists yet, I'd increase a little bit :)

The real problem is that the code is written in Javascript. What you describe doesn't happen on my end, but my computer is really good.
I'm not sure if your idea would solve that left-right.


added AADJoin Extension to VirtualMachines deploy.bicep

Added AADJoin Extension by reviewing templates from current portal deployments and following convention used by DomainJoin Extension. Required by following code in avd-session-hosts.bicep:
        extensionAadJoinConfig: {             enabled: (avdIdentityServiceProvider == 'AAD') ? true: false             settings: createIntuneEnrollment ? {                 mdmId: '0000000a-0000-0000-c000-000000000000'             }: {}         }

Thanks @shawntmeyer for your contribution

@shawntmeyer thanks for your contribution, please check the modules under CARML 1.
2.0 (carml/1.2.0/Microsoft.Compute/virtualMachines/deploy.bicep) this is our current active version, 1.2.1 is not in use yet for VM deployment.

dropping. Going to refactor code and resubmit.


Test example new

Purpose
Fixes:
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the specification
[ ] Updated the changelog
[ ] Added tests

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@69e1121). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main      #8   +/-   ##
======================================
  Coverage        ?   0.00%
======================================
  Files           ?      26
  Lines           ?    1885
  Branches        ?     226
======================================
  Hits            ?       0
  Misses          ?    1885
  Partials        ?       0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Test support for Hudi and Iceberg on Ranger enabled EMR clusters

Hive, Spark and Trino all have support for Hudi and Iceberg. We need to verify if the same functionality will work on Ranger enabled EMR clusters.

Did you ever find out the answer to this?


Fail the CI measure process if jest fails

Summary
Use the exit code from the jest spawned process to fail the reassure job if jest errors out. Our performance tests were silently failing since jest was failing to properly render the components. See https://github.com/callstack/reassure/issues/171
Test plan
I tested locally by manually throwing an error in a test and running reassure.

@mdjastrzebski thanks for the quick review - addressed feedback!


Missing [super dealloc]

Hello Marcus.
Thank you a lot for this project!
I have some warnings pointing in [(WK)WebViewJavascriptBridge dealloc]. This method should call [super dealloc], but it doesn't. Is there any special case connected with this behavior? Or it is just an issue which should be fixed?
Thank you again!

I think it should call super dealloc! Good catch. Can you create a PR?
Thanks!
On Mon, Mar 28, 2016 at 8:32 AM David Dovodov<EMAIL_ADDRESS>wrote:

Hello Marcus.
Thank you a lot for this project!
I have some warnings pointing in [(WK)WebViewJavascriptBridge dealloc].
This method should call [super dealloc], but it doesn't. Is there any
special case connected with this behavior? Or it is just an issue which
should be fixed?
Thank you again!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/marcuswestin/WebViewJavascriptBridge/issues/194

Maybe I'm missing something but "ARC forbids explicit message send of 'dealloc'" and, therefore, one cannot ever call [super dealloc] if the project is compiled with ARC. The compiler handles it for you implicitly.

@marcuswestin Sure
@stasnikiforov Yes, but in our project we don't use ARC, I'll think about it

In case of how ARC works I think that info about settings and compiler flags would be the best fix for this issue.

Fixed in #195


desired capabilities annotation for tests needed

Sometimes we should execute test only on specific Android versions. For example we know that there are known automation limitations on Android versions <= 5.0.2, and some porblems on 5.1.1 but for 5.1 and 6+ everything is ok. To increase performance we can mark in annotation execution priority, or device os versions range, etc.
For example:
@SkipAndroidVersions("<5.1", "5.1.1")
@ExecutingPreorityOfAndroidVersions("7.0","6.0.1","7.1.1","6.0","5.1.1")
And in such case CI should try to execute this test first on first available device with os version 7.0, than if no such device - on 6.0.1 and so on. And skip all devices with os from Skip List. Postpond for availability any device from White list.
Similar thing can be used for iOS.

also as one of the important - ability to use direct adb connection so we can later remove it from global configuration and provide only for tests/driver where it is really needed

closing as won't fix (out-of-dated)


updated v1.0.0

Checklist

[X] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@bebatut sorry to bother you - just wondering if you can give some guidance to what I'm doing wrong here. Looks like circleCI is getting a 404?

@conda-forge-admin, please rerender


Ability to back up a subset of data by time

Proposal:
(Reported in Community Slack)
influx backup backs up an entire bucket every time. It'd be nice if it supported backing up a subset of data by time-range.
Current behavior:
influx backup exposes a single parameter for --bucket-id. It backs up the entirety of the bucket every time. This causes the size of backup files to be ever-increasing, and the matching restore times to also grow.
Desired behavior:
influx backup should be extended to have optional --start and --end parameters, like 1.x influxd backup did. These params would limit the scope of the backup.

This would be most useful. Some of our users have > 50GB of data in their Influx 1.x databases. Without the ability to limit a backup in time, this prevents us from upgrading to 2.x.

I wonder if instead of start/end times we should be providing incremental point-in-time backups similar to Enterprise 1.x .
Roughly that works by only re-copying shards in the backup that have changed. If the backups are run less frequently than the shard group duration, and there are no historical writes, I think this would accomplish the desired outcome of not having ever-growing backups.
See also https://docs.influxdata.com/enterprise_influxdb/v1.9/administration/backup-and-restore/#backup-options , the incremental strategy.
We also have an open Enterprise feature request for something like:
incremental-delete-previous: backup data added since the previous backup, and delete previous restore points

Which I think is also being requested here.

Would be very great to have. Running backups on large databases can be very cumbersome in 2.x. In 1.x we were able to "chunk" backups by timerange, making the backups less resource intensive (both in CPU and mem in influxdb, and in storage space on the server making the backup).


Docs: Write Quick Start Guide

Should cover:

Installation
Importing
Sending a Request to an Exchange
Using its response
Overview of Bitex's classes' main features

Done


Safe shader parameters

Fixes #649
Fixes #642
Linked with  https://github.com/gfx-rs/gfx_macros/pull/8

I checked on my own little sample and it works good. Self-merging in 15 minutes.


Fill out the readme

Moving this from the automatic issue - since we did everything else

@ehumph do you want to start this? we will need to update it later once we know more about the templates etc. but I think we could start a description of an overview

@carriewright11 happy to!


Integration is using deprecated DEVICE_CLASS_* constants

This custom integration uses deprecated DEVICE_CLASS_* constants in its codebase.
The DEVICE_CLASS_* constants have been deprecated and replaced in Home Assistant Core 2021.12 (over a year ago). I would highly suggest updating/migrating this integration to the new enums.
For example, for the device classes supported by the sensor platform, there is now a SensorDeviceClass enum. So if a sensor previously used the DEVICE_CLASS_ENERGY constant, it should now use SensorDeviceClass.ENERGY. Other platforms (like binary_sensor, and number) provide similar enumerations for their supported device classes.
The migration thus only consists of replacing constants with an enumeration member and is, therefore, very low impact and should be fairly straightforward.
If I can help resolve any questions regarding this change or migration, feel free to ask or respond to this issue. I'm happy to help!
Kindest regards,
../Frenck

Hi @frenck,
I'll try to fix this as soon as I have some free time.

Hi @sockless-coding it seems there is a commit #40 with a fix even. (Though I'm not good enough at programming to tell if it is any good.) I'm getting a little worried this problem is forgotten until the integration breaks next year. Any chance you have the time to take a look? :)

Fixed in version 2024.9.0


PubSub keep listening

Hi all,
So i started using this library and got it all connected, however when i went to use the PubSub features i found that when i call the pubsub.RecieveMessages() function it only listens for a single message not for any further ones. Heres my code:
http://pastebin.com/59saR2dk
Was wondering if you could help me out?
Thanks
Rushmead

Hi,
I think you forgot for loop to receive messages:
    func pubSub() {
    	pubsub, err := client.Subscribe("serverFull", "gameState", "updatedYou")
    	if err != nil {
    		panic(err)
    	}
        for {
    			msg, err := pubsub.ReceiveMessage()
    			if err != nil {
    				panic(err)
    			}
    			switch msg.Channel {
    			case "serverFull":
    				serverFull(msg.Payload)
    				break
    			case "gameState":
    				gameState(msg.Payload)
    				break
    			case "updatedYou":
    				updateServer(msg.Payload)
    			}
           }
    }

@vmihailenco i've tried this but the application just exits straight away.

Oh wow. Just realised, i wasnt even calling the function. Sorry for wasting your time


chore(lint): To enable linter for test files

To enable the same linting rules for *_test files as well
Signed-off-by: sayboras<EMAIL_ADDRESS>Some ground work for https://github.com/cilium/cilium/pull/11554#issuecomment-631347734
/cc @mrostecki
chore(lint): To enable linter for test files

Coverage decreased (-0.005%) to 36.924% when pulling f6108681451cee1cb260dc07726ccc9d2f868f66 on sayboras:chore/lint-test into a8eb67de76398cebb7bde7b801435596929e18ca on cilium:master.

test-me-please

All the jenkins job were completed successfully.
I just realize that I used the wrong name in commit log. So will need to force push to correct it.


Add Epic Mickey pak file (archive) support

Unfortunately, the texture inside seems to be a Gamebryo file.  Specifically for Epic Mickey, the data has never been cracked.  The gamebryo tool seems to treat as a DDS file.  We don't have DDS support but not sure that's correct.
See: https://github.com/niftools/nifskope/issues/172
See the users' work around:  https://www.youtube.com/watch?v=08RoSv0Uczo

good work, i wanted to look at some DDS files, but since the other tool has problems i think it is a standard wii format.


fix: updates dependencies

What
Updates dependencies

puppeteer          ~7.0.1  →   ~7.0.4
semantic-release  ~17.3.7  →  ~17.3.8

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enadling hyperlink

Enadling hyperlink at web view mode from https://kate-lk.github.io/rsschool-cv/ by click

Ето шо?
С уважением
Екатерина Лупаштян
@.***
ср, 29 дек. 2021 г. в 01:29, Sergey Sadovskiy @.***>:

Enadling hyperlink at web view mode from
https://kate-lk.github.io/rsschool-cv/ by click
You can view, comment on, or merge this pull request online at:
https://github.com/kate-lk/rsschool-cv/pull/2
Commit Summary

d527f3b
https://github.com/kate-lk/rsschool-cv/pull/2/commits/d527f3bf56e9741c4ed113acf4bc8e0599e8c96e
Enadling hyperlink

File Changes
(1 file https://github.com/kate-lk/rsschool-cv/pull/2/files)

M README.md
https://github.com/kate-lk/rsschool-cv/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
(2)

Patch Links:

https://github.com/kate-lk/rsschool-cv/pull/2.patch
https://github.com/kate-lk/rsschool-cv/pull/2.diff

—
Reply to this email directly, view it on GitHub
https://github.com/kate-lk/rsschool-cv/pull/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKXNX3XLAH3Q3N6GKVU6TWDUTI26BANCNFSM5K437VVA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Уже не актуально


Move IntelliJ docu to IntelliJ README.md

The documentation about IntelliJ is moved from ToolChain.md to a separate README.md. Reason: ToolChain is shared more often to external committers who have their IDE configured properly.

typo git fech upstream --> git fetch upstream


Arkmanager falls into infinite loop

When ark-server-tools were installed by root and arkmanager was run by root the script stucks  (falling into infinite loop).

What is the steamcmd_user set to in /etc/arkmanager/arkmanager.cfg?
There is no reason to run the game server as root, and doing so could be dangerous (think privilege escalation).

steamcmd_user is also root.
Yes, I understand and agree with your precaution. But actually it does not eliminate unsuspected behavior of the program (stucking in infinite loop) under the described conditions.

It is entering infinite recursion because it is trying to drop privileges, but you have specified that it should run as root, so when it runs again, it tries again to drop privileges.


Fixed wrong link in issue template

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

@silvanocerza Thank you for catching that.
@digitalcraftsman This should be merged.


Missing Dependencies and unwanted old GT extensions

When I load the Baseline of the tool in Pharo11 there is some trouble - I guess due to non-loaded dependencies:

Unknown message #alert:

Missing Roassal 2 and WSUMLBilder

Maybe having the GT Tools as extensions in a package like "Flickr-Tools-GT" (also for Ethe in an own package called "Ethel-Tools-GT") with this one could separate the core / model code from the environment specific tooling support (pure Pharo or GT)
So this way in #an old environment with GT you could load the GT extensions while in pure Pharo image the baseline
could load other packages like "Flickr-Tools-GT" or "Ethel-Tools" with a Spec2 based extension approach which is now default in P10/P11

Thanks, @astares. Both issues should have been resolved. As far as breaking down packages - Ethel's tools are now in a separate package and that package doesn't get loaded implicitly. I also need to refresh those tools for pharo10+ =/


Single (title) regex for Prompt Everywhere and Anything Everywhere3

maybe?

#14 might be a better solution


Toggle 'show hidden files in tree view' from Command Palette

Summary
Ability to toggle "show hidden files" in the tree view from the command palette.
I guess this means toggling some or all of these settings:

"Exclude VCS Ignored Paths" under core settings
“Hide Ignored Names” and “Hide VCS Ignored Files” under tree settings

Motivation
I transpile code to /lib which is in my .gitignore. Most of the time I don't want to look at this folder, or for it to be included in search results. There are occasions when I want to quickly look at the transpiled output - at the moment this either means finding and changing 2 config settings, or opening the files/folders manually in my OS.
This is a pain, and a toggle in the command palette to hide/show these files would save a lot of time.
Related
#4203
#5423
#8276
https://medium.com/@panayiotisgeorgiou/how-to-show-hidden-files-atom-sidebar-c75a2de68709

You can already select the Tree View and press the I key to do this. See the Tree View keymap for details.

This also means that you can use "Tree View: Toggle VCS Ignored Files" in the Command Palette, though the Tree View has to be focused for it to show.


feat: add china-location

Summary by CodeRabbit

Chores

Updated the app version to 1.101.0.
Added a new dependency for improved location services in China.

这个数据很久没有更新，并且不适合提供。


update section one to a host perspective

I just adjusted section one so that it is now from the perspective of a host using our dashboard

This revision seems nice to me, thank you @Kierst01


Follow up from #23204

Since conversation at #23204 has been locked - I have no chance to respond or apologize, thus I open this issue for this purpose. I will close it right away, since it is not an issue at all.
First of all, I meant no offence to the Bootstrap team or anyone personal.

I'm not sure why this discussion is ongoing.

Me neither. I have been accused and thus I have to respond.
I am fine with the fix provided by #23244 and consider the issue #23204 to be resolved.
This is enough for Bootstrap v4. I know from my personal experience what it takes to deliver the library major version and maintain the milestones and schedule. Thus I do not expect any major JS related changes appear at v4. I find reassuring that the team is working for the solution for v5 milestone. It is a pity we'll have to wait until then, but it is better to move forward step by step then attempt to put all things right at once and find it will take forever.
The main thing is the project seems to be on correct course - that is good. You may be proud.

If you want this so badly now, please help!

I wish I could help, really. But my skills at HTML/CSS or vanilla JS are far to low for such project as Bootstrap. Besides I already have my hands full with YiiSoft. All I can provide you is an advice: you may attempt to unite forces with such projects as ng-bootstrap, seeking their help and support. People working with libraries like Angular or React usually possess all the skills you require. In exchange, you may add a special page at your site to reference such kind of projects. In the end both sides may benefit.
I wish your luck.

Closed as promised.

<3 thanks @klimov-paul, appreciate the follow up.
Feedback and testing helps just as much as contributing code! Please don't let any of this be a deterrent to contributing in other ways :).


[feat] composable buildGoModules deps

What if buildGoModules took a deps attribute?

I thought a bit about that:

# use `go vendor` like in this PR
buildGoModule rec {
  src = fetchFromGitHub { };
  deps = fetchGoVendor {
    inherit src;
    sha256 = "...";
  };
}

This makes the usage significantly more complex to what we currently have.
It adds a new import and a new function. The advantage is though is that it more obvious to the user what is happening under the hood.

or:
# generate a vendor from pre-calculated deps using a tool like vgo2nix
buildGoModule {
  src = fetchFromGitHub {};
  deps = fetchGoDeps ./deps.nix;
}

While fetchGoVendor is returning a derivation containing the vendor directory, fetchGoDeps would ideally an attribute set (go import paths -> derivation) which will be linked into the vendor directory at runtime. The reason for the latter is to save one derivations or one download. I suppose the interface could check the type of deps and act accordingly.

or:
# use the __noChroot version
buildGoModule rec {
  src = fetchFromGitHub { };
  deps = fetchGoVendorImpure {
    inherit src;
  };
}

or:
# the vendor/ folder is shipped with the source, nothing to do
buildGoModule rec {
  src = fetchFromGitHub { };
}

The usage would be slightly more complicated but it would allow to compose the vendor code fetching method.

The questions is, should we not set deps = fetchGoVendor { inherit vendorSha256; }; internally and make fetchGoVendor the default fetcher for buildGoModule? This would still allow composability but makes the interface simple for the common case.
Originally posted by @Mic92 in https://github.com/NixOS/nixpkgs/pull/86376#issuecomment-622254718

Yet another idea before compacting the tree of possibilities:
buildGoModule rec {
  src = fetchFromGitHub { };
  depsFetcher = fetchGoVendor;
  depsSha256 = "...";
}

Where buildGoModule takes:
{ name
# ...
, depsFetcher ? someDefaultDepsFetcher
, deps ? depsFetcher (filterAttrPrefix "deps" attrs)
, ...
} @ attrs:
implementation

Where filterAttrPrefix <prefix> <attrs> goes through an attribute set keys and selects the ones that start with the prefix, strip the prefix and lower-case the first character of the remaining key, then returns a new attribute set with just those keys.
That way it's possible to pass all the arguments as a flat attribute set. And have different parameters for each depsFetcher.

I would suggest to circumvent the depsSha256 — coming from a go perspective it feels very redundand (bad) deep down in the guts. It feels disregarding the principle of standing on the shoulders of giants, which is very prominent in the go community. It's a value clash between nix way and go way.
In order to resolve this conflict, and have nix more acceptable for go people, here is what we can do:
→ pre-fetch go.sum & go.mod and put it alongside default.nix
Everyone would intuitively understand what it's for and nix go packaging boilerplate would try to step out of the way as much as possible and would honour the go-ish way of doing things.
If it reinvent things, it implicitly says "we have to reinvent because how it is now, it's plain bad you stpd id**ts".
I think that is not a subliminal message anyone want's to send out to the go community.

Furthermore, while going down this route, I'd want to leave a breadcrumb to this document about fetching non-go resources from subfolders without a .go file — such as c files or assets.

In line with @doronbehar's stance,
[...]
pre-fetch go.sum & go.mod and put it alongside default.nix
[..]
If we reinvent things, without a prominent and lengthy rock solid explanation, it implicitly says "we have to reinvent because how it is now, it's plain bad you stpd id**ts".

Never quote me in a message where you use words such as 'stupid' or 'idiots'.
Review your comments before posting them, and don't edit it to the point where the comment on the web is almost not recognized.
Pre-fetching go.sum & go.mod files is not my stance, it's just an idea I brought up in a discourse thread - read it thoroughly before jumping into conclusions about what people think.
If you have an idea or a stance, write some Nix+Bash code to bring it to life, don't make a fuss about it and expect others to implement it. Consider that we lack manpower to implement changes we agree on (e.g RFC72), so the issues we less agree on or are harder to understand are the really hard issues to tackle.

I did remove the reference.

@doronbehar Let's don't frustrate ourselves mutually :wink:. I only assume the best of your intentions. Ping me on discourse if you want to coach me. I'm actually really thankful for coaching. ❤

I will close this, because it is basically abandoned.
Feel free to reopen.


File-nesting > Do not collapse nesting on dblClick

Type: Feature Request
When using File-nesting.
If you open the top-level file with double-click the nested structure collapses.
I think it would be better if the file-structure keeps expanded to maintain the overview.

-> double-click

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.19045
Modes:

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

@lramos15 this is flagged as a feature request, but this is fair to call a bug. A single user input is performing multiple actions. It's akin to pressing enter in the Quick Open panel and having it open a file and insert a newline from a single key press.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Add socks proxy and various fixes

add socks proxy
add proxy type radiobutton selector
bump bot dependency to the latest 4.5.0
rename plugin name to telegram-plugin-notifier
remove tests (they test the bot not plugin and fail anyway when proxy is needed)

@ItgLvb Hi, you don't mind if I send you PR's and you review/merge them ? Because you have the latest fork, others don't maintain their repos. If you're not interested in it, I'll try to maintain my fork instead (I think there is much to improve in the project)

Why not. I am actively using this project. And I plan to improve it.

Glad to hear that, I have some ideas I’ll try to write them via issues/PRs

@ItgLvb can you open issues tab, please? Settings -> issues


Infinite mirror grid

helper to tile a terrain sector in an grid, using mirroring to avoid sharp edged between sectors.
usefull for faking infinite terrain in self similar environments (mountains, sand dunes etc)

proposal:
      <SplatMaterial
        splats={[textures[11], textures[12]]}
        surfaces={[rock, clif, mud, grass1, grass2, mud]}
        orientation={[-1,1]}
      />

orientation is multiplied with uv whenever referenced to effectively flip x and or y sampling direction


Use better view name in examples

search_results better encapsulates what we're representing and makes a
lot more sense in ActiveRecord land: SearchResult.where("term LIKE %foo%").

Lgtm

On Dec 28, 2015, at 8:36 PM, Derek Prior<EMAIL_ADDRESS>wrote:
search_results better encapsulates what we're representing and makes a
lot more sense in ActiveRecord land: SearchResult.where("term LIKE
%foo%").
You can view, comment on, or merge this pull request online at:
https://github.com/thoughtbot/scenic/pull/104
Commit Summary
Use better view name in examples
File Changes
M README.md (30)
Patch Links:
https://github.com/thoughtbot/scenic/pull/104.patch
https://github.com/thoughtbot/scenic/pull/104.diff
—
Reply to this email directly or view it on GitHub.


test vdis fail to mount

I've been trying to test this cookbook and kitchen test fails to create any of the vms.
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...

I enabled the VirtualBox GUI and the box reported 'Could not read from the boot medium! System halted.'
I personally think this has to do with this section of the vagrantfile used for testing.
Sometimes I get this error:
#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["createhd", "--filename", "disk-0", "--size", "1000"]

Stderr: 0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create medium
VBoxManage: error: Could not create the medium storage unit '/Users/doctordoom/workspace/work/ceph-cookbook/.kitchen/kitchen-vagrant/kitchen-ceph-cookbook-osd-ubuntu-1204/disk-0.vdi'.
VBoxManage: error: VDI: cannot create image '/Users/doctordoom/workspace/work/ceph-cookbook/.kitchen/kitchen-vagrant/kitchen-ceph-cookbook-osd-ubuntu-1204/disk-0.vdi' (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 448 of file VBoxManageDisk.cpp
>

Please fix this customization and try again.

I am running VirtualBox 5.0.0.

1

running VB 5.0.16, for some reason I need to do sudo vagrant up on a mac to get it to work.


feat/pnpm

setup pnpm-workspace.yml
.npmrc changes
bump expo and expo-router

I do not use pnpm and would prefer to keep the repo using npm only


Add LFU eviction policy

This PR:

adds new option WithMaxEntriesLimitOption allowing to configure used EvictionPolicy
deprecates WithMaxEntriesOption option
implements new eviction policy (LFU)

Partially fixes: https://github.com/erni27/imcache/issues/51

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (88192fa) 94.72% compared to head (0764997) 95.80%.

Files
Patch %
Lines

option.go
60.00%
2 Missing :warning:

eviction.go
99.15%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
+ Coverage   94.72%   95.80%   +1.07%
==========================================
  Files           6        6
  Lines         834      953     +119
==========================================
+ Hits          790      913     +123
+ Misses         37       35       -2
+ Partials        7        5       -2

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


error loading block database

there is an error loading block database on the linda qt wallet

Unfortunately, this is an issue with a corrupt database. You will have to re-sync your block chain to solve this. The easiest way to do this would be to download the bootstrap. If you need help bootstrapping the block chain then jump on the discord or grab one of the guides on the website

@harrizyo408 Join our discord: https://discord.gg/SHNjQBv and please close this issue.


Ground truth of dataset4 in Figure4

Hi~  @wenruyustc
Thanks for your fancy work ! When I was processing the dataset4, I found that the annotation of scRNA-seq is unpaired with the annotation of spot clusters, so I could not calculate the measurement results~Would you mind sharing your specific alignment method ?
Best,
Zhiyuan Liu

Hi~, if you are using Dataset 4 as an example, you can use BLAST_CelltypeDeconvolution.ipynb to simulate the spot and follow BLAST_CelltypeDeconvolution.ipynb to calculate the measurement results

Hi~, if you are using Dataset 4 as an example, you can use BLAST_CelltypeDeconvolution.ipynb to simulate the spot and follow BLAST_CelltypeDeconvolution.ipynb to calculate the measurement results

Thank you very much for your prompt reply! Maybe I didn't make it clear that Dataset 4 I said here refers to the dataset formed by drawing the grid, not the dataset4 in the simulation sets~ It seems that the script "BLAST_CelltypeDeconvolution.ipynb" didn't contain the information about Dataset 4's evaluation~
Thanks again~
Best

Sorry for misunderstanding. In fact, we only used 8 paired cell clusters (Astro,	Endo,ExcitatoryL2and3,ExcitatoryL4,ExcitatoryL5and6,Inhibitory,Micro ,Olig) to evaluate the  evaluation prediction result. And other cell types, such as Ependymal or Neuroblast, are exclude from the evaluation.

Ok~Thanks for your help!


Slider min/max set incorrect if min is over 100

Describe the bug
When setting min and max at the same time the slider breaks if min is greater than 100 (or probably the last valid min?).
Pretty sure something is going on here:
https://github.com/material-components/material-components-web-components/pull/1081/files#r405600964
I don't think that it is the same as this:
#2269
This is only the case if both min/max are set at the same time.
To Reproduce
Steps to reproduce the behavior:
Install<EMAIL_ADDRESS>This works:
<mwc-slider pin min="99" max="2000" step="10"></mwc-slider>
And then in JS: $0.min = 101.
This doesn't:
<mwc-slider pin min="101" max="2000" step="10"></mwc-slider>
Expected behavior
The min/max range should work and not be replaced by the initial defaults.
Update including min > 100 should work!
Screenshots
I am using this to update the min and max, which works only when the min is < 100
Expected:

When the range is over 100:

Browser Version (please complete the following information):

OS: mac
Browser chrome
Version<EMAIL_ADDRESS>

Looking into this further, likely that #1081 actually fixes this and maybe hasn't been released yet?

fixed in #1081 duplicate of #1079. Please try this out with npm canary release @material/mwc-slider@canary If you are still having issues with this, please comment and I will reopen


EPIC: Introduce Namada SDK to Namada Web Client

This Epic contains the work for starting to use Namada SDK in web client. Namada SDK is an attempt to offer a more clean and maintainable surface from Namada codebase. In the past the web client used to use exposed types and then develop features based on those, trying to replicate the functionality of the CLI.
This was working but resulted in lot's of functionality being duplicated in web-client. Also as the types keep on changing in the current early state of development this requires a lot of maintenance work.
To address these issues, there will be an SDK that will expose an API that allows the consumer to perform more complete workflows instead of just types and a few functions. This requires more work from the Namada core developers but will make the usage of Namada functionality more accessible. Namada CLI will also be a consumer of this client.
In its first stage, the SDK will be Rust only, but the web team should wrap their work as a TypeScript SDK and make it part of the SDK. At a later stage, more target platforms (Kotlin, Swift, ...) will be added. This web wrapper for the SDK will be called "Namada SDK - Web" in the tasks under this epic.

Closing as not using epic, and SDK is implemented


Red Hat Universal Base Image support

Please describe your use case / problem.
It would be great to get an ambassador image with Red Hat Universal Base Image support. This is required for Red Hat OpenShift certification and I am pretty sure we aren't the only Ambassador users being asked for this.
Describe the solution you'd like
Either rebase or have a separate concurrent UBI-based release.
Describe alternatives you've considered
Creating our own ambassador images that are UBI based.

We've looked at this, and the challenge is that it doubles our regression test matrix (which is pretty huge as you can imagine with different cloud providers, performance tests, etc.) plus requires different security processes, etc.
Right now I don't expect this to be something we'd get to in the next couple quarters. That said, if you're interested in maintaining a UBI-based distro, we can talk about that.


Multiple/custom accounts

As far as I could tell, the accountid used in moto is hard-coded in iam.models.
I would very much like to be able to test stuff across several custom accounts (so I can have unified code that behaves differently based on where it is). Is this on the roadmap? Am I missing an existing way of doing this?
This is related to #27 in spirit.

Unfortunately, this is really hard to solve, as there is effectively 1 dataset for each region, and adding account abstraction would be a big endeavor.
You might be able to fake things by mocking out the account number.

Easier said than done, a quick search on the source codes revealed that '123456789012' is hardcoded in about 282 places in 57 files. So mocking moto.iam.models.ACCOUNT_ID (which would be the reasonable place for it, if a central configuration setting isn't adopted - which would be handy for the multiple account support) doesn't affect much.

(Matter of fact, shouldn't the AccountId be a string, to allow for leading zeros?)


Record UTM codes on IST email

Incoming UTM codes are stored in session and listed on the IST admin email.

Codecov Report

Merging #92 into master will increase coverage by 1.38%.
The diff coverage is 90.9%.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   92.74%   94.12%   +1.38%
==========================================
  Files          22       23       +1
  Lines         510      528      +18
==========================================
+ Hits          473      497      +24
+ Misses         37       31       -6

Impacted Files
Coverage Δ

contact/middleware.py
100% <100%> (ø)

contact/models.py
96.49% <60%> (-1.73%)
:arrow_down:

home/models.py
100% <0%> (+24.13%)
:arrow_up:

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 8cc22dc...c7825f5. Read the comment docs.


iOS Support

Hi there!
I've just found this package and if it works it fits my use case exactly. I see it doesn't have iOS support though, which I am willing to make and add to this package.
My question through this issue is only whether you are open for pull requests. I want to prevent spending time on building this and not have it merged due to inactivity. Please let me know :)

hello @ultimate-tester. Very happy to hear that, I surely do accept.


Lingering issues in mad-portfolio-optimization.ipynb

Lingering issues in mad-portfolio-optimization.ipynb:

[x] missing extensive mathematical formulation of the optimization problem (at least early on in the notebook)
[x] the statistical analysis of the historical data should be signalled better with a dedicated section
[x] lots of incomplete/missing textual cells, especially to comment statistics
[x] some of the code cells still contains bugs/errors and/or don't run properly
[x] a lot of code/cells might be obsolete (like the pulp model) or not relevant or simply out of place? Please check
[x] possibly related to the previous point, the notebook seem very long and too complex?

I've significantly rewritten the notebook.  I've placed the math "just in time" above the code cells where the it is put to work. Let me know what you think ... would it better to put the math all at the top?
There may be some minor narrative additions near the end of teh notebook, but that shouldn't affect what you would need for the book.  I'll keep this issue open in the meanwhile.

This example has now been fully ported into the book. I have found a few more issues, which are listed above.

The narrative is now much better, thanks for the feedback.


Don't suggest adding highway=footway to areas tagged with man_made=pier

Try editing around here with the validation set to "Everything, Everywhere:"
http://preview.ideditor.com/master/#background=EsriWorldImagery&disable_features=boundaries&map=18.12/35.94659/-79.03258
The issue is that iD suggests fixing every outdated tags issue, but then complains about the piers mapped as areas being disconnected from other features

Yep, this was an intentional change in #6042. Routers like OSRM treat man_made=pier as routable anyway, so our intention is to make the implied behavior explicit.
For the area you specified, I'd map the informal routes that people would take to get to the piers with highway=path + surface=grass + access=private. Or you can just disable the disconnected highway rule.
For piers in the middle water, it makes sense that they'd be routing islands because you can't really walk there. Maybe we should think of a tag to indicate that a highway cannot be connected back to the network, similar to how noexit=yes indicates an endpoint shouldn't connect to nearby highways.

I really don't think that areas should be given the tag.  I am all in for ways, though.
In that area, mapping all of those piers connections would

be a huge task with little benefit.
be intrusive to people's privacy.
I just seems wrong to add highway=footway to these piers.  It is also annoying to have all of the disconnected from other highways warnings.

@BjornRasmussen With #6242 you can now ignore these issues manually to keep them from showing up while you edit. Perhaps that's an okay solution for this?


GKEv2 cluster in error state in GCE console, switches between Provisioning state and Error state in Rancher.

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a hosted GKEV2 cluster
The cluster fails to provision in the GKEv2 console.
In rancher, the cluster is seen switching between Provisioning and Error state.
Error in GKE operator:

time="2021-04-13T01:53:33Z" level=error msg="error syncing 'cattle-global-data/c-wnhn7': handler gke-controller: creation failed for cluster sowmya-gke-restore, requeuing"
time="2021-04-13T02:10:14Z" level=error msg="error syncing 'cattle-global-data/c-wnhn7': handler gke-controller: creation failed for cluster sowmya-gke-restore, requeuing"

Expected Result:
Can this error be better handled instead of continuous switching between "Provisioning" state and "Error" state
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5-head commit id: 6bb6c97
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Hosted GKE v2

On 2.5-head commit id: 41f173ae9 and on master-head - commit id: 1c3629fbe

Deploy a cluster - hosted GKE in rancher
Deploy another cluster using the same CIDR range for the pods
The cluster is in the error state. There is no flipping between statuses


WINDOWS SERVER Container images licensing

Hi,
I would like to know what are the licensing requirements for each Windows container image running in a system. Can you direct me to a documentation link?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 07b1cd55-0f91-e97c-06d3-afe54fb909d4
Version Independent ID: db485580-9c27-da7d-26f9-a60449cb5773
Content: About Windows Containers
Content Source: virtualization/windowscontainers/about/index.md
Service: windows-containers
Product: windows-containers
GitHub Login: @taylorb-microsoft

Each image on hub.docker.com has a License section, see for instance:
https://hub.docker.com/_/microsoft-windows-servercore

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Mountebank tries to parse javascript file saved by proxy using ejs

I have a js file which is read using the proxyOnce method. Then I call the DELETE method on the imposter using ?removeProxies=true&replayable=true to get a replayable imposter file. If i then try to upload this file to Mountebank it complains about "Could not find matching close tag for "<%"". This is because it is trying to parse the content of this js file as though it was a ejs template. Any files that are created with ?removeProxies=true&replayable=true do not need to be parsed by ejs because all the templates would have already been rendered before producing this output. So I think we need a new command line switch ("--no-parse" ?) that removes ejs parsing

Fixed as of 03d9d4f


UPDATE 1 - Microservices eBook updating to .NET Core 2.0 wave

UPDATE 1 - Microservices eBook updating to .NET Core 2.0 wave
Summary
Initial updates for the Microservices ebook with updates related to new features in Docker. .NET Core 2.0 and minor changes in Architecture patterns.
This is the first PR about this larger update heading .NET Core 2.0 "wave" of new features related to microservices and containers.
Suggested Reviewers
@mairaw

@CESARDELATORRE,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Already updated all changes related to your last feedback. Please, merge when possible.

Thanks for making the updates @CESARDELATORRE
I'll merge now.