implemented room persistence lib for database

Description
Implemented  Room Persistence Library in the app for database.
Fixes #94
Type of change
Just put an x in the [] which are valid.

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

How Has This Been Tested?
Ran Successfully on an android device.
Although there's a problem that occurs.
UI screen of ChecklistAcitivity gets blank sometimes when a user checks/unchecks an item. But this doesn't happen all the time.
Here's a gif-

Please describe the tests that you ran to verify your changes.

[ ] ./gradlew assembleDebug assembleRelease
[ ] ./gradlew checkstyle

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

@aayushinigam Checkstyle is also failing:
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistActivity.java:20:26: Member name 'LOG_TAG' must match pattern '^m[A-Z][a-zA-Z0-9]*$'. [MemberName]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:48:22: Member name 'appExecutors' must match pattern '^m[A-Z][a-zA-Z0-9]*$'. [MemberName]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:89:97: ',' is not followed by whitespace. [WhitespaceAfter]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:92:46: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:93:83: ';' is not followed by whitespace. [WhitespaceAfter]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:93:83: '}' at column 83 should be on a new line. [RightCurly]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:93:83: WhitespaceAround: '}' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:111:83: ',' is not followed by whitespace. [WhitespaceAfter]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:134:13: '}' at column 13 should be alone on a line. [RightCurly]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:134:14: WhitespaceAround: '}' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:134:14: WhitespaceAround: '}' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:198:31: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:16:21: WhitespaceAround: '=' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:16:22: WhitespaceAround: '=' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:19:21: WhitespaceAround: '=' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:19:22: WhitespaceAround: '=' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:22:21: WhitespaceAround: '=' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:22:22: WhitespaceAround: '=' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:33:53: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/objects/ChecklistItem.java:50:27: Parameter name 'Id' must match pattern '^[a-z][a-zA-Z0-9]*$'. [ParameterName]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/AppExecutors.java:13:28: Member name 'diskIO' must match pattern '^m[A-Z][a-zA-Z0-9]*$'. [MemberName]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/AppExecutors.java:15:42: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/AppExecutors.java:19:46: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/AppExecutors.java:20:11: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/AppExecutors.java:20:30: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/AppExecutors.java:21:32: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:9:50: ',' is not followed by whitespace. [WhitespaceAfter]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:9:62: ',' is not followed by whitespace. [WhitespaceAfter]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:17:60: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:21:11: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:21:30: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:22:25: WhitespaceAround: 'synchronized' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:22:31: WhitespaceAround: '{' is not preceded with whitespace. [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:24:43: ',' is not followed by whitespace. [WhitespaceAfter]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/DbChecklist.java:27:23: ',' is not followed by whitespace. [WhitespaceAfter]

@aayushinigam fix the checkstyle errors & then, squash the commits

@Swati4star I can't find the report of travis build failure. Could you please guide me where to find it?
It says this-
Checkstyle rule violations were found. See the report at: file:///home/travis/build/project-travel-mate/Travel-Mate/Android/app/build/reports/checkstyle/checkstyle.html
But I can't understand where to proceed to.

See line 2871,2872 & 2873 in that link:
@aayushinigam
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistActivity.java:20:26: Member name 'LOG_TAG' must match pattern '^m[A-Z][a-zA-Z0-9]*$'. [MemberName]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/io/github/project_travel_mate/utilities/ChecklistFragment.java:193:31: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[ant:checkstyle] [ERROR] /home/travis/build/project-travel-mate/Travel-Mate/Android/app/src/main/java/utils/AppExecutors.java:13:22: Member name 'diskIO' must match pattern '^m[A-Z][a-zA-Z0-9]*$'. [MemberName]


Fix Rescheduling of Instance/Binding operations

Fix Rescheduling of Instance/Binding operations
Motivation
Rescheduling of CREATE/UPDATE operation by maintainer fails for instance/binding resources due to unique constraint violation as the interceptors enforcing uniqueness of instance/binding names find the instance/binding resources in SM DB (they are with ready=false) when trying to reschedule the operation.
This change tweaks the two uniqueness interceptors, but also more importantly enables the previously disabled maintainer tests (which test the rescheduling mechanism), which had been previously failing remotely on Travis. Due to those tests having been disabled we weren't able to detect the rescheduling bug when the unique instance/binding name interceptors were initially introduced.
Pull Request status

[x] Initial implementation
[x] Integration tests

Coverage increased (+0.2%) to 87.02% when pulling 809e6c943b831de710eb8791faeeb5cd8de9319a on fix-reschedulable-operations into ce5f8bcd34bc599ab032640382197723163ad47d on master.


Enable CodeGenMemberSerialization related attributes on mgmt/HLC (SchemaObjectType) and update readme for the new attributes

Fixes https://github.com/Azure/autorest.csharp/issues/3429
Fixes https://github.com/Azure/autorest.csharp/issues/3277
Description
Add your description here!
Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

Hi @m-nash could you please review this PR?


No-Progress flag doesn't work

There should be no progress output when --no-progress is added to composer.

Same issue. Any fixes?


Upgrade Compute API version and Fix the response of POST response

Upgrade Compute API version to 2018-04-01 and Fix the response of all POST operation.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@ravbhatnagar new API version for Compute.

@hyonholee - is there a response body in the final response with any of these POST operations?If yes, those will need to be modeled. I am guessing not, but just wanted to confirm. Looks fine. @sergey-shandar - feel free to merge based on response to above.

Automation for azure-sdk-for-node

Automation for azure-libraries-for-java

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go
A PR has been created for you:
https://github.com/Azure/azure-sdk-for-go/pull/1854

Note that this PR is required to fix all POST (currently broken) operations with client library and Powershell including the following issues:
https://github.com/Azure/azure-powershell/issues/5956
https://github.com/Azure/azure-powershell/issues/6030
https://github.com/Azure/azure-powershell/issues/5982


String conversion to bytes breaks python3 std_msgs/String implementation

When running this package in python 3, the conversion of a string fails because of the ros implementation of std_msgs/msg/_String.py. They call encode() on the data field of a string object due to python3 being always True:
def serialize(self, buff):
    """
    serialize message into buffer
    :param buff: buffer, ``StringIO``
    """
    try
      _x = self.data
      length = len(_x)
      if python3 or type(_x) == str:
        _x = _x.encode('utf-8')

However, the rospy_message_converter already does this when it converts a string python object to a ros_primitive in rospy_message_converter/src/rospy_message_converter/message_converter.py:149:
def _convert_to_ros_primitive(field_type, field_value):
    if field_type == "string":
        field_value = field_value.encode('utf-8')
    return field_value

The fix is to add a check that we are not in python3 before doing the conversion.
def _convert_to_ros_primitive(field_type, field_value):
    if field_type == "string" and not python3:
        field_value = field_value.encode('utf-8')
    return field_value

This works for std_msgs/String and sensor_msgs/JointState but I am not sure if this breaks anything else as I don't have the infrastructure in place to test this.
I will create a PR shortly.

BTW, you seem to have copied one line from _String.py incorrectly. In my version (Kinetic) at least it looks like this, which makes much more sense:
      if python3 or type(_x) == unicode:

You are right, I was messing around with the source code. In python3 str is equivalent to unicode so I thought I would try that, thanks for reminding me I will change it back!


SetColAutoFit returns wrong width when merge columns

package version: excel: ^2.1.0
I've merged columns in A39, B2, E2, and H2, as shown below

when I do auto fit to all the filled columns, the resulting excel is like the image above, the column widths set with setColAutoFit in each of the first columns that have been merged do not fit as in cell A39, B2, E2, and H2.
here is the code where i do the merge and fill the cell A39 and set auto fit to all column
sheet.merge(
  CellIndex.indexByColumnRow(
    rowIndex: ++rowIndex,
    columnIndex: 0,
  ),
  CellIndex.indexByColumnRow(
    rowIndex: rowIndex,
    columnIndex: lastColumnFilled,
  ),
);
sheet.updateCell(
  CellIndex.indexByColumnRow(
    rowIndex: rowIndex,
    columnIndex: 0,
  ),
  def,
  cellStyle: CellStyle(
    textWrapping: TextWrapping.WrapText,
  ),
);

...

for (var i = 0;
    i < lastColumnFilled;
    i++) {
  sheet.setColAutoFit(i);
}

can you help me with this problem?
Thank you

@farhanabdmusa Is it still reproducible on 3.0.0?
If yes, can you provide a full code example and also a sample excel file where the issue happens?


Test

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Hello @Kingwins007, If this is a test PR could you please move it to Draft state

Moving the PR to draft since this seems to be raised for testing purpose and no action from author from 2 weeks.


KAFKA-7778: document scala suppress API

Document the minor API change.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@guozhangwang @casey-green , do you mind taking a quick look at this doc?


Can you add a License file?

This looks like a great package. I'd like to know what the license is to know if I can utilize it in my current project. Thanks!
P.S. I'm a big fan of MIT :)

You can use It without problems.
I have no knowledge on licenses differences, can you make a overview?

Here is a good site that talks about the different ones.  https://tldrlegal.com/ I've found MIT to be the most permissive and is what I associate with all of my projects. Simply create a License.txt at the root and paste in the MIT license text and more folks will utilize your nice library!
Actual text of MIT is here:
https://tldrlegal.com/license/mit-license#fulltext

Done https://github.com/grandchamp/Identity.Dapper/commit/5c1179f5648678b80fc2f4d623589a94925f0a83


Remove vendor dependencies from package.

Vue-Localize shouldn't depend on additional JS libraries. Read/write from cookies manually and get rid of cookiesjs.

Vue-Localize is now using local storage, as opposed to cookiesjs.


Fix light mode for getting started

📝 Changed routes:

/dashboard

(view full size)

Commit 582a164aa4965e5937c0a17bf98e01e97704a515 (https://thirdweb-cljh6guyd.thirdweb-preview.com).


Updating Master with Favorites and doc improvements from dev

@BobBooth - please use this version of the Add-in for your SP doc work (Master branch:  https://github.com/Esri/military-symbol-editor-addin-wpf/tree/master/application ) & once you have confirmed there are no issues with during doc we'll create a release (based on the download version number so we can trace-back to source used)


Encourage the use of COMBINE archives as exchange format for the model and its execution

Description of the issue:
The SBML is a declarative file format that specifies model components, structure, and interaction of those components. But it does not directly specify how to run that model or how to directly reproduce the figures in a scientific paper from the model. Depending on which solver is used to run a model or in which framework a model is interpreted, the results may diverge.
By using the additional format SED-ML (Simulation Experiment Description Markup Language), it becomes possible to specify how to interpret and run a model, including the typical steps in a simulation life cycle.
To make the use of two separate files less cumbersome for the user, the COMBINE archive format allows wrapping both in a ZIP-based archive together with a manifest file that specifies the relationship between model and SED-ML script. Further data can be added to that archive, e.g., annotation glossaries, original publications, image files with pathways, or SBGNML files for defining pathway maps.
Expected feature/value/output:
Instead of SBML, the exchange format of COBRA tools would become a COMBINE archive file (typically with extension OMEX). It would contain the SBML file with the model, possibly annotations in a separate file, a SED-ML file that specifies how to execute the model, and perhaps more.
Current feature/value/output:
The steps to run the model would be encoded in the SED-ML file allowing third-party software to execute the same steps, hence improving the interoperability of various software and reproducibility of the results.
Reproducing these results:
There are implementations available in Python and other languages to access content within COMBINE archives and to read/write the manifest file.

Interesting idea @draeger.
As a concept, a COMBINE archive is a great step forward to solve problems in modelling. However, being a ZIP limits what it can achieve when compared to versioning (git) and infrastructure (GitHub). I see some advantages if there would be a way to combine (no pun intended) the two approaches.
For situations like these, I default to the 6 thinking hats method. It's easier in person, but in my experience it works well in writing too.
White hat - facts:

the COMBINE archive is a ZIP
a COMBINE archive needs hosting
the SBML format is XML based
the SED-ML format is XML based
XML formats can be versioned by git
the SBML format is a requirement of standard-GEM
a release on GitHub is a zip
hosting a release on GitHub is free
releases on GitHub are not permanent (but with Zenodo they could be #14)

Red hat - emotion:

standard-GEM is very lightweight, the addition of COMBINE might be too much

Black hat - judgement:

git is not meant for versioning binaries (zip)
git LFS can version binaries but it adds requirements/complexity

Contributions are need; it would be great if you could label ideas with a hat color, too.

You can create additional artefacts that can become part of a release. I could envision each release (tag that is also on Zenodo then) to provide the following separately:

Stand alone model as SBML (plus whatever formats are desired)
COMBINE archive that wraps the model, key data (such as growth and essentiality), and instructions for reproducing key simulation results
A zip of the repository state at release

Green hat - possibilities (building on what @Midnighter described above):

presently, the standard requires the use of a model/ folder as the location for various model files, including SBML, but this could be expanded to include other files that would normally belong in a COMBINE archive, particularly SED-ML
when creating a new release on GitHub, a COMBINE archive could be supplied as an additional artifact, which would be automatically published on Zenodo

Looking at the contents of the COMBINE archive (section 3.3), Table 1 in the showcase and the example repository, the archive consists of:

manifest.xml
This file contains essentially a listing of the file tree with the file formats. standard-GEM imposes a requirement regarding the main directories, extensions and some file names. Adopting a similar manifest in standard-GEM would be redundant.
authorship information
In any git-based versioning system, this information is provided by author or committer, and is deeply embedded on platforms such as GitHub. Moreover, as models are curated over time, a list of authors/contributors would not be rich enough to be linked to actual contributions (commits).
fixed file tree
There is some overlap here, and we should aim to increase the compatibility if possible. The directories specified by COMBINE are:
3.1. documentation/ :  files that describe and document the model and/or experiment
In standard-GEM, documentation is provided more closely with the element it documents, ie within data/ and code/ folders.
3.2 model/ : files that encode and visualise the biological system
Essentially the same approach here.
3.3 experiment/ : files that encode the in silico setup of the experiment
3.4 result/ : files that result from running the experiment

Like mentioned in the previous post, I think something should be done regarding 3.3 and 3.4. @yahanma has taken a similar approach by creating an analysis/ directory over at vna-GEM.
Also a follow-up on the idea of automatically creating COMBINE archives, it feels like work in this direction is already started through CombineArchiveWeb, where instead of uploading file by file, one could point directly to a repository that follows standard-GEM.

Following up on the CombineArchiveWeb idea, it looks like it is possible to create archives from a Git repository:

Here is what I think would need to be done in order to close the issue:

[ ] create an empty folder called analysis with a Readme saying that the folder is meant to contain experiments and results
[ ] add a reference (can) to .standard-GEM.md in the releases to encourage attaching a COMBINE archive to a release

@draeger what else would you recommend so this issue can be resolved?
Are there any thoughts from the watchers of this issue?

I think, this is very nice. Have you tried it out? Possibly, a build script could also wrap a bunch of files in an archive and write the manifest file during a local execution. But a webservice can certainly do the same (note: it will require data transmission).


[Feature]Add an option to toggle Open and Close.

Adding an option to toggle will be helpful to set a keybind and go back and forth.
Similar to Startify, If you would call :Alpha if alpha is already open, then alpha would close.

done in https://github.com/goolord/alpha-nvim/commit/6d0e1a1cc991e2220fd1374313e13ce51ee17d8c


Add current block number to Indexer-Updater prometheus metrics

Problem
Please consider adding the last ingested block number to the prometheus metrics output, analogous to the algod metric "algod_ledger_round".  Having this would allow users to easily compare the current status of indexer vs the current round of the algod source and determine if the indexer is lagging and by how much.  This might prompt a user to look at  things such as if the database requires attention.
Solution
Export a new metric, perhaps like indexer_daemon_last_imported_block.
Dependencies
None
Urgency
Not urgent, but would be helpful for monitoring the stack.

I believe we already implemented this in 5e963edf379afed8aaae2638e30c2da883a8f224, but it hasn't been released.

@PSjoe thanks for the suggestion Joe, it's coming!


请问，侧边栏的社交链接，可以设置为图片吗？

请问侧边栏的社交链接，可以设置为图片吗？感觉图片会更好看一点。。。

@CaliosD dont understand u, write in English if not solved. If solved, close it please.

Sorry for my Chinese. :( That's an issue long time ago. I've closed it.


Updating charts, and Compose Files, and deployment files based on newly generated scoretrak docker packages

Updating our repos based on the new version of scoretrak could be done via GitHub actions.
For instance, with docker-compose files, we can simply utilize .env files, and update the version by pushing new value on the new release: https://github.com/cockroachdb/helm-charts/commit/53e10c63dbeaea58cd955b7aed0c644b9345363b
Every project (aka scoretrak, scoretrak-client, etc can push in its own env file)
For updating charts, we can do something similar to what cockroach DB does: https://github.com/cockroachdb/helm-charts/commit/53e10c63dbeaea58cd955b7aed0c644b9345363b
Process:

Create a new branch with the new version
If everything looks good, merge the branch

Also, seems like helm charts also have env files that we can push too: https://helm.sh/docs/helm/helm_env/


Keyboard events not firing on Android

Description
On Android API 26 and higher keyboard events break if you use any flags for transparent navigation bar. Thus rendering InputField unusable.
React Native Version
0.71.0
Output of npx react-native info
System:
OS: macOS 13.2.1
CPU: (8) arm64 Apple M1 Pro
Memory: 753.00 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
Yarn: 3.3.0 - /opt/homebrew/bin/yarn
npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.12.0 - /Users/avrdude/.rvm/gems/ruby-3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.3/14E222a - /usr/bin/xcodebuild
Languages:
Java: javac 17 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Add <InputField> to any of your components
Wrap it in <KeyboardAvoidingView>
Add flags SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION and SYSTEM_UI_FLAG_LAYOUT_STABLE to MainActivity.java
Try clicking on the input field. It will be under the keyboard.
Snack, code example, screenshot, or link to a repository
public class MainActivity extends ReactActivity {
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    Window w = getWindow();
    w.setStatusBarColor(Color.TRANSPARENT);
    w.setNavigationBarColor(Color.TRANSPARENT);
    w.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);

    super.onCreate(savedInstanceState);
  }

<KeyboardAvoidingView
        keyboardVerticalOffset={headerHeight}
        behavior={commonKeyboardBehavior()}
        >
          <View style={inputWrapper(isKeyboardVisible)}>
           ...
            <View style={..}>
              <TextInput
                ...
              />
            </View>
            ...
          </View>
</KeyboardAvoidingView>

Having this as well, KeyboardAvoidingView is not working properly


Publish to npm on PR merge into main

Details

Publishes to NPM registry on PR merge into main. After merge it will:

Create a new branch with a UUID
Update the version (this also tags the commit automatically)
Build the web code
Publish to NPM
Merge the branch created in step 1

Related Issues

https://github.com/Expensify/Expensify/issues/211122
Automated Tests

Merge this PR once it's off hold
It should create version 1.0.2

Alright 🤞 this works, it usually doesn't on the first run, but should be good to merge and try it out now.

This LGTM, but I'll let you merge so you can see the magic happening :) @AndrewGable

Tagging in @roryabraham for one final review before testing.

Ok off hold @roryabraham

Should we commit the GPG key into the repo?

@parasharrajat - Encrypted, but yes

Updated to use GH cli for everything but I am a bit worried won't know what pull request to approve or merge, so looking into that

Never works first try 😭 https://github.com/Expensify/react-native-onyx/runs/6617714651?check_suite_focus=true

Hell yes !! I have had this issue open forever.

Thanks for this change!!!
Also, this is happening which is the only reason why I noticed ->
https://github.com/Expensify/react-native-onyx/runs/6618815651?check_suite_focus=true

Thanks! We are fixing it, slowly but surely 😆


There is no posibility to download data with milestones

Please add to download github issues with 'milestone' data column

Hi, can you provide me a link to repository which have some milestones for testing purpose?


Component upgrades

I updated this to use React 15. It is also built so as to be consumed as Javascript instead of Typescript and can be packaged as an NPM module. The purpose of this was to make it easier to use in the demo project and to be able to use test tools like enzyme, etc without having the typescript step in between.
There are a couple of other related repos, a generator and a scaffold. Maybe we can see how to update these and make them more generic, they're currently a bit too specific to a particular project I'm involved in.

Hi Panos,
thanks for the pr. I think the following points are really good:

the subtree parameter in the mapping methods
the usage of react-dom
upgrade to react 15

Some things I cannot merge:

new license
some changes in package.json
..

I still have the following questions:

what did you do to make it easier to implement components in es6? What are the problems in general?

why  did you add all the this.context==null checks in ResourceComponent. The context should be setup by the RootComponent. Did you actually experience it being null? That is probably a bug.

What is the purpose of BaseComponent. There is a lot of commented-out code concerning the react-frame library, which I wouldn't include in aem-react because it seems too specific.

Hi,
I made it output JS so consumers would not need to use typescript. This was a bit of a sticking point for our project. It also made it simpler to use enzyme etc without having the typescript step.
BaseComponent makes it easier to use in simple components, we don't have to import Resource, etc so makes the code a bit cleaner. I was also looking at a way to control the newZone stuff in renderBody without having to do it in every component.
The context null checks were because we had some issues with the properties, if the user did not define a value in the dialog box it would cause errors. This could be because of how we were setting up the properties though, haven't had a chance to look into more detail yet.
What is the commented out code? Do you mean the react-frame-component stuff? I played with that trying to get unit tests working and also when using storybook (a PatternLab like thing). In the end we didn't need them but left it as it may be useful.
Overall, I will keep our repo as is since we need to have the codebase pegged, however would it help if I setup a new branch and then maybe look at merging that? I can then update the obvious things like the licence etc and any other things you feel need changing and I can keep our version separate.

yes, please go ahead and create a branch with th
BaseComponent:
I think I get it now. This  is a general purpose class that also serves as a parsys. And since you are using plain js you don't want the hassle with the imports. Maybe this does make sense for the library. I will think about it some more.
Build process:
I am not completely happy with it right now. But it does output js, right? So can you explain what you did to make it more js friendly?
Please go ahead and create a branch with those three things I mentioned on top.

About the build process, once it is done it outputs the JS. So when I want to use it, I install the npm package and then I can just import BaseComponent and be done with it. No need to have typescript in my consumer project.


Installation warnings [JIRA: CLIENTS-386]

I am getting the Installation warnings as below:
npm WARN unmet dependency /usr/local/lib/node_modules/phonegap/node_modules/phonegap-build requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /usr/local/lib/node_modules/phonegap/node_modules/colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency /usr/local/lib/node_modules/phonegap/node_modules/prompt/node_modules/winston requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /usr/local/lib/node_modules/phonegap/node_modules/colors,
npm WARN unmet dependency which is version 0.6.0-1
<EMAIL_ADDRESS>/usr/local/lib/node_modules/basho-riak-client
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>

It looks as though the phonegap module expects colors version 0.6.0-1, but version 1.0.3 is installed via basho-riak-client.
You should be able to safely ignore these warnings. Let me know if this is causing specific issues.


fix pulse_pos and dist_waist implementation

Longitudinal position calculation pulse_pos, updated to no longer contain dist_waist.
createGsnScrSRW() in pulse.py now has correct argument to create pulse with waist at z = dist_waist

@gurhar1133 -- yes, I suggest that you update the tests with new data.

Tests are working now. I can merge now unless others would like to review.


Added npm install command

A shorter and easy to remember install command with possible version control.

Yes, but to do that we should change the name of the plugin, otherwise I get an error when trying to restore the project with cordova prepare:
Failed to restore plugin "org.apache.cordova.shell-exec" from config.xml. You might need to try adding it again. Error: Error: npm: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not found : org.apache.cordova.shell-exec
npm ERR! 404
npm ERR! 404  'org.apache.cordova.shell-exec' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

In fact I found that also the way to install it described in the README has this problem too...
I needed to change manually "org.apache.cordova.shell-exec": {} with "cordova-plugin-shell-exec": {} in the package.json to get it work.
I think it would be nice to change the id in the plugin.xml to work with the latest cordova versions.


Error with skillElements[i].childNodes[0].getElementsByTagName(...)[Symbol.iterator] is not a function(…)

replace line 62 in duoStrength.js  with this one and will work
for (var spanElement of Array.from(skillElements[i].childNodes[0].getElementsByTagName('span')) )
Regards

Thanks for the suggestion. I haven't seen this error but it seems like it might be browser specific, or browser version dependent. Change made in commit 0f27157. I'll push out a new version shortly.

Update v1.0.5 has been pushed out.
Thanks for your help,
Toran

Glad to help.
I will push your new version and send feedback if necessary.
Regards,
Carlos


http.fetch cannot be viewed in devtool

Use http.fetch send a network request and cannot be debugged in devtool
How to debug http.fetch

I don't think we can inject any info into this window 🤔
You can do a little debugging by adding a logger facility to your app. Either by using something like pretty_env_logger in rust or our log-plugin which afaik should pick them up too.
p.s. set the log level to debug.


Add templates for issues

Issue templates are very helpful for a collaboration repo. When users identify a bug or want to add a new feature, you can provide templates so you can collect all the pertinent information you need to fix a bug or add a new feature.
We recommend creating a “Report Bug” and “Feature Request” issue template.
you can refer this: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
Some suggested prompts/questions you can add to a “Report Bug” template are:
Briefly describe the bug
What is the expected behavior?
Please provide step by step instructions on how to reproduce the bug
Some suggested prompts/questions you can add to a “Feature Request” issue template are:
Briefly describe your feature request
What problem is this feature trying to solve?
How do we know when the feature is complete?
Reference: https://github.com/Recode-Hive/Stackoverflow-Analysis/issues/new/choose
Click on Get Started button and copy the template to your issue.

could you please assign me this issue I would like to work on this and complete it @anusha7530 @Durgesh4993

Hey @anusha7530 @Durgesh4993 I would like to work on this issue and also will also add workflows for pr


JavaScript debug not working

Hello, I try to use code-server in my browser. Everything works smoothly except debugging. I click Run and Debug, choose node.js environment and nothing happens. I just see debugging icons above on the screen, but nothing happens, my breakpoints are not working. Please assist.

Hi! Can you please provide additional information, such as the version of code-server and node you have installed locally, the distro you're using, and an example file which I can use to attempt to reproduce the same issue?

Hi! Can you please provide additional information, such as the version of code-server and node you have installed locally, the distro you're using, and an example file which I can use to attempt to reproduce the same issue?

I simply add test.js file with 2 lines:
const i = 10;
console.log(i);
Then try to add breakpoints.
Used node —inspect test.js. Even tried to Toggle AutoAttach (attach works properly, but debugging hangs, I mean nothings happens (on left upper corner where run title is located, slider is moving, I can see debugging button on the top, but only refresh and stop buttons are available for clicking)).
Also tried to add launch.json file into .vscode directory:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach NestJS WS",
"port": 9229,
"restart": true,
"stopOnEntry": false,
"protocol": "inspector"
}
]
}
Node version is v10.17.0
Information about code-server:
code-server: v3.6.2
VS Code: v1.50.0
Commit: 9bde62fbd611a7a91c5f327fa43e0d06f1379169
Date: 2020-11-02T23:35:06Z
Browser: Mozilla/5.0 (iPad; CPU OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1

I simply add test.js file with 2 lines:
const i = 10;
console.log(i);
Then try to add breakpoints.
Used node —inspect test.js. Even tried to Toggle AutoAttach (attach works properly, but debugging hangs, I mean nothings happens (on left upper corner where run title is located, slider is moving, I can see debugging button on the top, but only refresh and stop buttons are available for clicking)).
Also tried to add launch.json file into .vscode directory:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach NestJS WS",
"port": 9229,
"restart": true,
"stopOnEntry": false,
"protocol": "inspector"
}
]
}
Node version is v10.17.0
Information about code-server:
code-server: v3.6.2
VS Code: v1.50.0
Commit: 9bde62fbd611a7a91c5f327fa43e0d06f1379169
Date: 2020-11-02T23:35:06Z
Browser: Mozilla/5.0 (iPad; CPU OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1

Hey - v3.6.2 is quite outdated by now; can you try updating to the latest version to see if the issue persists?

Hey - v3.6.2 is quite outdated by now; can you try updating to the latest version to see if the issue persists?

Updated to 3.8.0 . UI has changed, but the problem still persists (the slider is moving and nothing happens).
code-server: v3.8.0
VS Code: v1.51.1
Commit: c4610f7829701aadb045d450013b84491c30580d
Date: 2020-12-18T20:25:37Z (1 mo ago)
Browser: Mozilla/5.0 (iPad; CPU OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1

Updated to 3.8.0 . UI has changed, but the problem still persists (the slider is moving and nothing happens).
code-server: v3.8.0
VS Code: v1.51.1
Commit: c4610f7829701aadb045d450013b84491c30580d
Date: 2020-12-18T20:25:37Z (1 mo ago)
Browser: Mozilla/5.0 (iPad; CPU OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1

Installed node version 15.6.0 and the problem has gone.

Installed node version 15.6.0 and the problem has gone.

Oh, huh. Maybe we should add the Node binary that code-server ships with to the path so this works out of the box?

Oh, huh. Maybe we should add the Node binary that code-server ships with to the path so this works out of the box?

Great idea. Because now it’s not obvious.

Great idea. Because now it’s not obvious.


python311Packages.uv: 0.2.10 -> 0.2.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.uv is: Extremely fast Python package installer and resolver, written in Rust
meta.homepage for python311Packages.uv is: https://github.com/astral-sh/uv
meta.changelog for python311Packages.uv is: https://github.com/astral-sh/uv/blob/refs/tags/0.2.11/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.11 with grep in /nix/store/frkcr4mchaq64z808qla97nliyf8mbq3-uv-0.2.11
found 0.2.11 in filename of file in /nix/store/frkcr4mchaq64z808qla97nliyf8mbq3-uv-0.2.11

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.uv
python312Packages.uv
uv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/frkcr4mchaq64z808qla97nliyf8mbq3-uv-0.2.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.uv https://github.com/r-ryantm/nixpkgs/archive/f4af96b3ca2d850586e9c019cd2af7eb918f27c0.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f4af96b3ca2d850586e9c019cd2af7eb918f27c0#python311Packages.uv

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/frkcr4mchaq64z808qla97nliyf8mbq3-uv-0.2.11
ls -la /nix/store/frkcr4mchaq64z808qla97nliyf8mbq3-uv-0.2.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

4 packages built:

uv (python311Packages.uv)
uv.dist (python311Packages.uv.dist)
python312Packages.uv
python312Packages.uv.dist

Maintainer pings
cc @GaetanLepage for testing.

Result of nixpkgs-review pr 319856 run on aarch64-linux 1

4 packages built:

uv (python311Packages.uv)
uv.dist (python311Packages.uv.dist)
python312Packages.uv
python312Packages.uv.dist

Result of nixpkgs-review pr 319856 run on x86_64-linux 1

4 packages built:

uv (python311Packages.uv)
uv.dist (python311Packages.uv.dist)
python312Packages.uv
python312Packages.uv.dist


N17: Shotcaller

#408

:construction:

:construction:

@17cupsofcoffee re-r?

@17cupsofcoffee re-r?

Thanks for the PR!

Thanks for the PR!


Try job identifiers

Signed-off-by: Frantisek Lachman<EMAIL_ADDRESS>

/packit build

/packit build


Return type defined anonymously in swagger.json on certain conditions

I'm generating a TypeScript client from a WebAPI. I have a function that returns an enum:
    public SetPasswordResult SetPassword(Guid accountId, Guid userId, [NotNull] String oldPassword, [NotNull] String password, String passwordRepetition) { ...

The enum gets defined in the emitted swagger.json, but it's not used as the return type of the function:
"/api/Users/SetPassword": {
  "post": {
    "tags": [
      "Users"
    ],
    "operationId": "Users_SetPassword",
    "parameters": [ ... ],
    "responses": {
      "200": {
        "description": "",
        "schema": {
          "type": "integer",
          "description": "",
          "x-enumNames": [
            "Ok",
            "OldPasswordIncorrect",
            "PasswordsDontMatch",
            "PasswordTooShort"
          ],
          "enum": [
            0,
            1,
            2,
            3
          ]
        },
        "x-nullable": false
      }
    }
  }
}

The resulting TypeScript is thus not created correctly either.
Strangely this happens only when I create the client through MSBuild by calling nswag.exe with a configuration file. When I create it by calling the nswag api programmatically, it doesn't happen. I reckon I must have the configuration slightly different, but I don't see how. (My config.nswag is here:
config.nswag.txt)
Any idea why this happens?

So is the problem the Swagger generator or the code generator?

The Swagger generator.

This looks as if its the correct output (except that the enum is not referenced)? How does the incorrect swagger spec look like?

Yes, it's correct except that the enum isn't referenced.
Here's the complete wagger spec: client.nswag.json.txt

Man, that's one hell of a fast support I'm getting here...

Just try with the ci build first :)


Updated v1alpha1 into new version

Testing 'v12' new change (temporary unique string until a version name is chosen).
Made afm-v12-module.yaml to test with the future changes to afm version.
This is a draft that is not meant to be pulled.
Signed-off-by: Raviv Schaffer<EMAIL_ADDRESS>

Implemented by #1651


chore(deps): update renovatebot/github-action action to 34.84.1

This PR contains the following updates:

Package
Type
Update
Change

renovatebot/github-action
action
minor
v34.83.1 -> v34.84.1

Release Notes

renovatebot/github-action
v34.84.1
Compare Source
See the the changelog for changes in all releases.
34.84.1 (2023-01-06)
Bug Fixes

deps: update renovate/renovate docker tag to v34.84.1 (7bf255e)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

@balena-ci I self-certify!


Windows 10, Meteor 1.6, angular-2 compilers node-sass error

Working on Windows 10.
Meteor version <IP_ADDRESS>
Meteor node version 8.9.3
Getting this error after updating the meteor version from 1.5 to 1.6 in the project.
Looks like this package<EMAIL_ADDRESS>tries to download this node-sass version which is not in the repository.
Have anyone had this issue?

Same issue when running Meteor <IP_ADDRESS> in a docker container


Updated some files

Commits on Jun 16, 2016:

Updated kibana default port from 8081 to 8080

Commits on Jun 17, 2016:

Completed minor changes to installGitlab.sh (corrected character from & to $)
Updated installLogstashTopbeat.sh (added --serverName to -h)
made additional minor corrections to installGitlab.sh
Added shTemplate.sh to be used to outline how scripts should be formatted for this project.
Added addHeavyLoad.sh to be used to generate load on testing servers.
duplicated installGitlab.sh to migrateBitbucketToGitlab.sh since this script was migrating vs installing
updated installGitlab.sh to install gitlab instead of migrate from bitbucket.

Commits on Jun 20, 2016

relocated os specific install scripts from /shellbox/ to /shellbox/ubuntu/ also created /shellbox/centos for scripts pertaining to that OS.


Support for sparse files

As most modern file systems support sparse files it would be nice if the dart:io package would provide some support to create and work with such files.

What would this support look like?
If the underlying operating system supports sparse files, would it be enough to be able to create a spares (empty) file, and then use a RandomAccessFile to write parts of it?
If the sparse file support is in the operating system (like NTFS with sparse files enabled) I don't think Dart needs to do anything. Large sequences of zeros being written are automatically not allocated on disk.

Large sequences of zeros being written are automatically not allocated on disk.

Oh, last time I have looked into this closely I think it was a separate system call to mark a region of the file as empty. If writing zeros does it, then I guess the issue is obsolete (or maybe we still need to mark it on creation?).

IIUC Windows and Linux/Mac OS X have different behavior. Windows requires explicit FSCTL_SET_SPARSE via DeviceIoControl. Linux/Mac OS X file systems handle this transparently: if you for example ftruncate a file to a larger size that creates a hole in file, similarly you can seek through the file to a nonexistent offset - and that would also create a hole.
Note that AFAIK writing zeros into the hole will actually fill it up, OS does not actually check that you are writing all zeros. Windows has explicit FSCTL_SET_ZERO_DATA for that. Linux fallocate with FALLOC_FL_PUNCH_HOLE. Mac OS X - fcntl with F_PUNCHHOLE.
I am not sure this API is a very good fit for dart:io.

If there was a way to memory-map a file, then it could special-case .fillRange(start, end, 0) when the underlying OS supports it.
The option that could make sense for the current dart:io API could be adding a way to explicitly write "zeros" to RandomAccessFile, and then have that use the OS support if available.
It's still not something you can rely on, which means that if you create a large file and expects it to be sparse, then you might get a suprising "disk full" error if the file system doesn't support it, or it does so in a way that dart:io doesn't recognize.
And adding members to existing types is breaking, even if it's RandomAccessFile which I haven't seen anyone implementing.

I am not sure if this is a case for inclusion into 'dart:io' , maybe FFI can be used to support this, similar to the way mmaping of files is supported,


[Feature request] Endpoint as an Optional field

For now I'm forced to use "Persistent Keepalive" to keep an SSH connection constant with my (( Servers )) ...
As I know >> it's possible to tell Wireguard where to find a specific client by providing the client's public IP, which Wireguard calls the "Endpoint" field.
Is it possible to add this field to the UI, and make it optional?

that would be great. I want to run a site-to-site VPN and client on one wireguard instance. When I add an addition VPN client, the site-to-site will be overwritten.


Added JSONP error handling for viz.json

Resolves https://github.com/CartoDB/cartodb.js/issues/1153

Can one of the admins verify this patch?

@javisantana Could you take a look at this PR too?

Can one of the admins verify this patch?

cc @alonsogarciapablo

Ping @alonsogarciapablo any chance of merging this fix?

Sorry Egil.
cartodb.js v3 is not under active development. Only major bugs are addressed.
Since there are no much movement in v3, feel free to use your own fork.


Deploy less artifacts

Publishing to maven central takes a considerable amount of time, due to the large amount of artifacts we publish. The last sync was killed by circleci because it took over 10minutes to respond.
One way to reduce time is to publish less. For example, we can drop the long since deprecated brave-spancollector modules, and drop the test-only modules like brave-jersey2

Outdated issue, please close.

Closing. We can open separate issues or pull requests to stop publishing anything else that makes sense.


Encode without unsafe

This way has much less performance cost than #79. Also addresses #34.

Codecov Report

Merging #80 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   96.63%   96.63%   -0.01%
==========================================
  Files          12       12
  Lines        1368     1365       -3
==========================================
- Hits         1322     1319       -3
  Misses         46       46

Impacted Files
Coverage Δ

src/lib.rs
100% <ø> (ø)
:arrow_up:

src/chunked_encoder.rs
98.79% <100%> (+0.01%)
:arrow_up:

src/encode.rs
98.04% <100%> (-0.03%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks! :)


[BUG] group_data wiki documentation

Describe the bug
group_data documentation:

Triggers a (broken) wiki reference with an unshielded double open square bracket ([[], [], ["A","C"], ["B"]]).
Includes an error (wrong return value from a group_data call).

Code To Reproduce Bug
echo(group_data([1,2,0], ["A","B","C"]));  // Returns [["C"],["B"],["A"]], not the [["B"],["C"],["A"]] claimed.

Expected behavior
Git patch to fix both problems ('cos it seems that Github doesn't support pull requests on a repo's wiki… or at least I don't know how to make one).
From 389c68dba99c3c2e95538fc75d8863b72519b3a1 Mon Sep 17 00:00:00 2001
From: Matthew Fallshaw<EMAIL_ADDRESS>Date: Wed, 29 Dec 2021 15:57:13 +1100
Subject: [PATCH] Fix `group_data` example and minor formatting issue.

---
 comparisons.scad.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/comparisons.scad.md b/comparisons.scad.md
index b3a6145..c660101 100644
--- a/comparisons.scad.md
+++ b/comparisons.scad.md
@@ -835,7 +835,7 @@ returns a list of groups with the values sorted into the corresponding groups.
 Ie: if you have a groups index list of [2,3,2] and values of ["A","B","C"], then
 the values "A" and "C" will be put in group 2, and "B" will be in group 3.
 Groups that have no values grouped into them will be an empty list.  So the
-above would return [[], [], ["A","C"], ["B"]]
+above would return `[[], [], ["A","C"], ["B"]]`

 **Arguments:**

@@ -849,7 +849,7 @@ above would return [[], [], ["A","C"], ["B"]]
 **Example 1:**

     include <BOSL2/std.scad>
-    groups = group_data([1,2,0], ["A","B","C"]);  // Returns [["B"],["C"],["A"]]
+    groups = group_data([1,2,0], ["A","B","C"]);  // Returns [["C"],["B"],["A"]]

 <br clear="all" />

--
2.31.1

These files are generated from the comments in the main repo.  In this case, you would need to edit the comments in comparisons.scad


What is this libopus-0.x64.dll ? Can you share the SOURCE CODE of this ?

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows 11, Windows 10]
Python Version: [e.g. 3.11.3]
PySilon language: [Python or Rust]

Additional context
Add any other context about the problem here.

#150


Add solution for problem #4

require 'benchmark'
Benchmark.bm do |x|
  x.report { largest_palindrome_from_the_product_of_three_digit_numbers }
end

       user     system      total        real
   0.070000   0.000000   0.070000 (  0.071788)

We could start benchmarking our different solutions :smile:

That's an awesome idea! Where would be a good place to put the benchmarck information?


ZEVA - update compliance ratios

Describe the task
The compliance ratios for compliance years >= 2026 have been updated by the new ZEVA regulations, and there is a frontend page that displays these ratios, so they should be updated to the new values (please see attached: Compliance_ratio_changes_ZEVA.docx)
Purpose
Make the ZEVA app consistent with relevant legislation/regulations.
Acceptance Criteria
(1) Frontend correctly reflects the new compliance ratios (The "Compliance Reporting" -> "Compliance Ratios" page)
(2) Pre-2026 MYRs are not affected; more generally, data that relies (directly or indirectly) on the pre-2026 ratios remain unchanged.
Development Checklist
(1) Create a data migration that updates the compliance_ratios table with the new data (i.e. update compliance ratios from 2026-2035 inclusive, delete compliance ratios > 2035).
Notes
(1) This work should go into the Oct.21 branch (oct_21_2024_stuff_v1)

Devs did spot checks and more tests are coming out in the next sprint.


fix missing Gather.png in tf.gather document

Can one of the admins verify this patch?

Jenkins, test this please.

Looks like there is some IPv6 issue on the libpng archive. Trying again.
Jenkins, test this please.

Jenkins, test this please.


man page

@rultor release, tag is 0.0.3

@rultor release, tag is 0.0.3

@yegor256 OK, I will release it now. Please check the progress here


can't build simple hello world anymore

I am getting this error message:
$ go run .
go: downloading github.com/mappu/miqt v0.6.0
# github.com/mappu/miqt/qt6
# [pkg-config --cflags  -- Qt6Widgets]
Package Qt6Widgets was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt6Widgets.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt6Widgets' found

I had already installed qt6-base-dev and build-essential and libqt6widgets6.

I made a mistake this isn't valid.


Typo in "Data Platform & Analytics Foundational for Data Platform Competency" module "SQL Server EIM"

Link to article:
https://partneruniversity.microsoft.com/?whr=uri:MicrosoftAccount
Problem:
Course : Data Platform & Analytics Foundational for Data Platform Competency (MPN14354)
Module from the syllabus : SQL Server EIM
Issue: @0:43 in slide it says EIM improves

Completeness
Cleanliness
Consistency
“CURRENCY” (where as further in course  (@ 2:38) it is mentioned as “CURRENT DATA”).

It should be “CURRENT DATA” @ 0:43 in slide.

@Anjulishankhwar Please contact product support at https://partner.microsoft.com/en-US/support/?stage=1
#please-close


Adding MatMult (@) support

Pasta cannot presently handle the @ operator.
This came up in https://github.com/tensorflow/tensorflow/issues/29871.

Removed the file.
Thanks for the review!


oneway=reversible is displayed with oneway=yes direction arrows

The I-595 Express Lanes in Ft. Lauderdale change direction depending on the time of day, and are therefore tagged with oneway=reversible. I'd expect these ways to be displayed with no direction arrows (or, if anything, arrows in both directions perhaps), but they're displayed with one-way arrows instead.
E.g. https://www.openstreetmap.org/way/332703663

if anything, arrows in both directions perhaps
That sounds like a good idea, though perhaps with smaller arrows

Whatever the rendering, perhaps it would be a good time to add support for  oneway=alternating as well by applying the same rendering.


HLS.js Demo not working and some Android/Chrome pairs

We have integrated Plyr on one of our projects, and it works amazing and customers love it. We have been however receiving reports of videos freezing after a few seconds on Samsung and Pixel (Android) phones with Chrome. It works with Firefox instead.
We tried many things to fix the issue, which we could not reproduce:

We tested on AVD Android emulators, with many versions of Android/Chrom
We tested with multiple devices
We upgraded to the current latest version of the player
We upgraded service workers
...

Until finally I clicked on your HLS.js demo with a real Pixel4A and the video froze after a few seconds. I checked and `HLS.isSupported() flag and it returns true. I checked the demo at HLS.js and that works.
I was also able to reproduce by using the 60sec emulator demo at https://appetize.io/demo?device=pixel4&scale=75&orientation=portrait&osVersion=11.0
My Chrome version:
88

Expected behaviour
I can play a video on Android with Chrome by using  HLS
Actual behaviour
The video freezes after a few seconds playing, despite the stream buffer being loaded.
Steps to reproduce

Visit https://appetize.io/demo?device=pixel4&scale=75&orientation=portrait&osVersion=11.0 (might not work with Chrome)
Enable the emulator
Open chrome in the emulator
Search "plyr"
Open the GutHub page
Scroll down to the HLS.js demo and click
Play the video.

The video stops after a few seconds.
Environment

Browser: Chrom
Version: Multiple versions, included latest
Operating System: Android
Version: 10 and 11

Console errors (if any)
None
Link to where the bug is happening
https://codepen.io/pen?template=oyLKQb
And same demo, with HLS support check printed on an alert: https://codepen.io/pen?template=oyLKQb

Ok, it turns out I can reproduce the issue on HLS.js demo as well by using the same stream Plyr uses in the HLS.js demo!
How to reproduce

Visit https://hls-js.netlify.app/demo/ an Android mobile
Replace the stream with https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8
Video stops after a few seconds

Must be either an issue with HLS.js or the stream file.


[Macros] Ensure that overloading a type and macro doesn't break type references

Fixes rdar://106044286

@swift-ci please smoke test and merge


Metadata Signature identifier <ns1:Signature Id=“Signature1”> not working well

When SatoSa generates metadata for either front or backend saml plugins, the signature identifier is generated as <ns1:Signature Id=“Signature1”>
While the value is strictly speaking not incorrect (a unique string is required), the uniqueness is rather poor and some products, including pyFF MDX which is commonly used together with   break if a duplicate signature value is in metadata of multiple entities (like say, a frontend and a backend metadata of the same proxy)
Code Version
SaToSa 3.4.8
Expected Behavior
Problem a signature with a bit more randomness should be used
Current Behavior
While the value is strickly speaking not incorrect (a unique string is required), the uniqueness is rather poor and some products, including pyFF break if a duplicate signature value is in metadata of multiple entities (like say, a frontend and a backend metadata of the same proxy)
Possible Solution
Problem a signature with a bit more randomness should be used
OR can we remove this entirely, as it does not seem to be used anyway?
Steps to Reproduce
Configure a saml front or backend.
Generate metadata

Hi and thanks for filling this issue with details. This is a behaviour that SATOSA does not control; it is dictated by pysaml2. (Maybe we should move the issue there.)

a signature with a bit more randomness should be used

This should be easy to do and I already have it on my TODO list. pysaml2 hardcodes the identifier in many places, and the values are 1 and 2. Search for usages of pre_signature_part where the third argument is the signature-id that becomes part of the formatted string Signature%d (which also means that the id is allowed to be digits).

can we remove this entirely, as it does not seem to be used anyway?

Quoting the SAML2-metadata spec Section 3.1.2 References:

Signed metadata elements MUST supply a value for the identifier attribute on the signed element. The element may or may not be the root element of the actual XML document containing the signed metadata element.
Signatures MUST contain a single ds:Reference containing a URI reference to the identifier attribute value of the metadata element being signed. For example, if the identifier attribute value is "foo", then the URI attribute in the ds:Reference element MUST be "#foo".

(where the identifier attribute refers to the xs:ID attribute)
I don't think we can remove it entirely - but it can certainly be improved.


Sparse l1 descent

This PR adds a new type of Projected Gradient Descent attack tailored to the l1-norm, called the Sparse L1 Descent Attack. It deviates from previous PGD implementations in that it doesn't rely on the steepest descent direction, which is too sparse in the l1-case. Instead, it allows the caller to control the sparsity of the gradient updates. Experiments on MNIST and CIFAR10 show that with gradient updates that are ~99% sparse, we get a very efficient attack that rivals EAD in strength, yet is much more efficient.
The PR also generalizes PGD's random-start step to multiple norms. The current PGD implementation was using a random-start tailored to the l-inf norm even when ord=2.
A crucial optimization used in the Sparse L1 Descent Attack is to compute update steps by ignoring input components that would be clipped out anyway, thus focusing the attack budget on components where progress can still be made. This optimization isn't useful for the l-inf case, but can help in the l-2 case, so I added it to PGD and FGM for good measure.

LGTM once comments are addressed

The latest commit should address all the raised comments.


[2130] Data cleanup post UCAS to DfE subjects migration

Context
Post the subject migration taking place there are quite a few bits of erroneous data due to how the subject mapper works.
The following needs to take place:
2019 Course with Primary + one other primary subjects
2020 Course with be just assigned  other primary subject
(If a course includes primary and another subject remove the primary subject from the courses subjects)
2019 Course with Physics, Biology, Chemistry, Balanced science
2020 Course with be assigned with one Science subject
2019 Course with Balanced science
2020 Course with be assigned with Science subject
2019 Course with Humanities
2020 Course with be assigned with both Geography, History subjects
Modern foreign languages
2019 Courses with any of the following
French
English as a Second Language
German
Italian
Japanese
Mandarin
Russian
Spanish
Modern languages (other)
2020 Course with be assigned with Modern languages in additional to the named languages
`Modern languages (other)` => `Modern languages` , `Modern languages (other)`

`Russian` => `Modern languages` , `Russian`

`Spanish`, `Russian` => `Modern languages` , `Russian`,
`Spanish`

Physical Education with Geography (W75/3CZ2)
level needs to be secondary and subjects needs to be Geography and P.E (currently primary)
Changes proposed in this pull request

Actions all the above via a migration

Guidance to review
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Fixes for recruitment cycle current vs next for course subjects


Updated BTTV emote database

Added 420 (hehe) new emotes, as well as the 5 requested by @T3charmy in #188

Much Appreciated!


Update tests to account for when $PSHOME is readonly

PR Summary
Add new Test-CanWriteToPsHome helper function to determine if current pwsh can write to $PSHOME.  If it can't it will skip that test.  Some other small test changes to account for differences running locally vs in CI.
PR Context
Snap and AppX packages of PSCore6 have a $PSHOME that is read-only.  Tests expect that when elevated/root it can write to $PSHOME which is not always the case so these tests fail.
Related https://github.com/PowerShell/PowerShell/issues/9278
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

@SteveL-MSFT, your last commit had failures in PowerShell-CI-windows

@SteveL-MSFT, your last commit had failures in PowerShell-CI-linux

@SteveL-MSFT, your last commit had failures in PowerShell-CI-macos

@SteveL-MSFT, your last commit had failures in PowerShell-CI-macos

@SteveL-MSFT, your last commit had failures in PowerShell-CI-linux

@SteveL-MSFT, your last commit had failures in PowerShell-CI-windows

How many of these issues does the product rely on writing to $PSHome.  We should file product bugs issue for these cases?

@TravisEz13 the related issue above links to the product issues we should change

@PoshChan Please get failures

@SteveL-MSFT, your last commit had 4 failures in PowerShell-CI-linux
JEA session Transcript script test.Configuration name should be in the transcript header
The term 'Unregister-PSSessionConfiguration' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at <ScriptBlock>, /home/vsts/work/1/s/test/powershell/engine/Remoting/RemoteSession.Basic.Tests.ps1: line 75
75:             Unregister-PSSessionConfiguration -Name JEA -Force -ErrorAction SilentlyContinue

JEA session Get-Help test.Get-Help should work in JEA sessions
The term 'Unregister-PSSessionConfiguration' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at <ScriptBlock>, /home/vsts/work/1/s/test/powershell/engine/Remoting/RemoteSession.Basic.Tests.ps1: line 114
114:             Unregister-PSSessionConfiguration -Name JEA -Force -ErrorAction SilentlyContinue

Validate Set-ExecutionPolicy -Scope (Admin).-Scope LocalMachine is Settable, but overridden
Operation is not supported on this platform.
at <ScriptBlock>, /home/vsts/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Security/ExecutionPolicy.Tests.ps1: line 1163
1163:             Set-ExecutionPolicy -Scope Process -ExecutionPolicy Undefined

Validate Set-ExecutionPolicy -Scope (Admin).-Scope LocalMachine is Settable
Operation is not supported on this platform.
at <ScriptBlock>, /home/vsts/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Security/ExecutionPolicy.Tests.ps1: line 1175
1175:             Set-ExecutionPolicy -Scope Process -ExecutionPolicy Undefined

@SteveL-MSFT, your last commit had 4 failures in PowerShell-CI-macos
JEA session Transcript script test.Configuration name should be in the transcript header
The term 'Unregister-PSSessionConfiguration' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at <ScriptBlock>, /Users/vsts/agent/2.149.2/work/1/s/test/powershell/engine/Remoting/RemoteSession.Basic.Tests.ps1: line 75
75:             Unregister-PSSessionConfiguration -Name JEA -Force -ErrorAction SilentlyContinue

JEA session Get-Help test.Get-Help should work in JEA sessions
The term 'Unregister-PSSessionConfiguration' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at <ScriptBlock>, /Users/vsts/agent/2.149.2/work/1/s/test/powershell/engine/Remoting/RemoteSession.Basic.Tests.ps1: line 114
114:             Unregister-PSSessionConfiguration -Name JEA -Force -ErrorAction SilentlyContinue

Validate Set-ExecutionPolicy -Scope (Admin).-Scope LocalMachine is Settable, but overridden
Operation is not supported on this platform.
at <ScriptBlock>, /Users/vsts/agent/2.149.2/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Security/ExecutionPolicy.Tests.ps1: line 1163
1163:             Set-ExecutionPolicy -Scope Process -ExecutionPolicy Undefined

Validate Set-ExecutionPolicy -Scope (Admin).-Scope LocalMachine is Settable
Operation is not supported on this platform.
at <ScriptBlock>, /Users/vsts/agent/2.149.2/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Security/ExecutionPolicy.Tests.ps1: line 1175
1175:             Set-ExecutionPolicy -Scope Process -ExecutionPolicy Undefined

@SteveL-MSFT, test results were not published for PowerShell-CI-static-analysis at vstfs:///Build/Build/19330

@SteveL-MSFT, test results were not published for PowerShell-CI-windows at vstfs:///Build/Build/19331

@PoshChan Please retry windows

@SteveL-MSFT, successfully started retry of PowerShell-CI-Windows

It seems in last days CI-Windows fail frequently.

@iSazonov You can dig into the failures here:  https://powershell.visualstudio.com/PowerShell/_build?definitionId=32&view=ms.vss-pipelineanalytics-web.new-build-definition-pipeline-analytics-view-cardmetrics

@TravisEz13 Thanks! Why is there 200% "200% of pipeline failures are due to failures in task - Test"?

@iSazonov That analysis is in beta.  I assume it is a bug.


Regex101 Library

They have a library where people can upvote regex, might be useful!
https://regex101.com/library?orderBy=MOST_POINTS

@bee-san I'm unclear on what the direction is. Are we saying to implement the most upvoted regexes into pyWhat?

@bee-san I'm unclear on what the direction is. Are we saying to implement the most upvoted regexes into pyWhat?

Hahaha, basically everytime I saw something that was like "cool list of regex" I just copied it here.
We don't have to implement them, but if they have nice regex we can use them :)


remove ToObject<ConnectionResponseParams

I assume this is redundant? but technically it could be breaking behavior change

Let's see what AppVeyor thinks


Created get_first_chat method

As a resolution to issue #48, we are creating get_first_chat method to open the first chat on the left list. Since they are out of order in the code itself, the technique was to hit the search field and press the down arrow. Works like a charm. Future improvement: ignore pinned chats (quite tricky).

@Kalebu, could you please 👍  this? Some other developments/solutions may depend on it. Thanks!

Hi @euriconicacio
Thanks for taking your time contributing to this package
Can you also add docs about the newly implemented methods to the README.md

Absolutely @Kalebu, adding them right now!


Create StatisticalActivity class

During 16 April VC, it was decided to create a StatisticalActivity class that would be inserted between Activity and StatisticalProductionActivity.

Done in commit #fd33f2c


fix(selection-list): fix option value coercion and selection events

md-list-option value is no longer coerced to a boolean value
md-list-option EventEmitters selectedChange and deselected now emit an event when an option is selected/deselected

Fixes #6864

I just want to ask something: why is there an event for select and also for deselect?
I think it can be just one event, like in checkbox:
private _emitChangeEvent() {
  let event = new MdCheckboxChange();
  event.source = this;
  event.checked = this.checked;

  this._controlValueAccessorChangeFn(this.checked);
  this.change.emit(event);
}

Also, is the (destroyed) useful at some point?

Yeah, that's a good point. It should just have one selectionChanged event where the event includes the new state.

In my current project I am watching the destroyed event so I can remove options that are no longer available. You could probably use the changes QueryList in selectionList, but you'd have to figure out which ones were removed.
Looking at the Material code again, the MdSelectionList itself subscribes to the destroyed events.

@jelbourn what do you think about other statements?

@rafaelss95 those should be covered under #6677

I went ahead and pushed changes that were relevant to the original issue.
I didn't rename MdSelectionListOptionEvent, but I changed it to a class now so it stayed consistent with similar classes.

Hello, Everybody!
When are you merge the pull request?
Thank you for your work :)

please rebase

rebase with master or _presubmit? Looks like someone else made some of the the same changes

Scratch that, I broke the fixed

Ok, rebased with changes #6983 and #6971 included.

@dereekb Would you mind rebasing one more time?

Sure.
I'm rebasing right now, but it looks like a lot of the changes in this pull request are already on master one way or another from other pull requests.
The only changes are changing MatSelectionListOptionEvent to a class, and merging selectChange and deselected together into a single event emitter, that last one being a breaking change.

Noticed I need to rebase it again. Working on that now.

Ok, rebased and all the unit tests passed on my end.
I want to bring up a slight change from this rebase:
I removed _selected and instead have the getter use the selectionList's selectedOptions isSelected() for whether or not the object is selected.
My reasoning is that the selection's state shouldn't be in two places (by this I mean MatSelectionList and other components check selectedOptions for is selected, while the MatListOption checks itself), and the performance change is minimal since a Set is used for selectedOptions.

Another thing, since selectedOptions in MatSelectionList is publicly accessible, externally modifying selectedOptions should also send selectionChange events on the MatListOption right? I don't think it would, so it's something to consider.

Can you guys already pull it? I really need this fix in my project.

Can you check on the tests and get them green?

The tests that failed aren't related to the changes (they have to do with MatAutocomplete).
Those failed tests are related to #7743.

FYI - material docs specify the event output as 'selectChange' which is of type EventEmitter and instead it looks like it is implemented here as 'selectionChange' of type EventEmitter also the 'deselected' event from the docs is still not emitted (although you can check if the option was selected or deselected from the MatListOptionChange boolean selected property)

Yea, the docs need to be updated to reflect the changes.
selected/deselected were removed and replaced with selectionChange, since having a single selectionChange is more consistent in terms of the rest of Angular Material implementations.
As for the selectChange/selectionChange name, there was another discussion thread where I believe selectionChange was picked as the more desirable. I don't see the reference in this thread anymore, but it was about naming consistency and updating across a number of different Material components.


The problem of SiamMask training

Hi, when I try to train SiamMask, there is an output error:
File "train_pysot.py", line 106, in build_opt_lr
'lr': cfg.TRAIN.LR.BASE_LR}]
File "/home/wqq/anaconda3/envs/pysot/lib/python3.7/site-packages/yacs/config.py", line 141, in getattr
raise AttributeError(name)
AttributeError: BASE_LR
It seems that there is something wrong in the config.yaml file in experiments/siammask_r50_l3. Any suggestions? Thanks.

It seems some of the config files are having problems.
Please use the properly configured one for now like this

It seems some of the config files are having problems.
Please use the properly configured one for now like this
OK, Thanks.

Hello, I encountered the same problem as you when training siammask. How do you solve it? Thank you!

same problem,How do you solve it?

It seems some of the config files are having problems.
Please use the properly configured one for now like this

Still unresolved, can you provide further ideas

https://github.com/STVIR/pysot/blob/7835f640aa9dcc2beffb2e13e9318c6c3dbc6af4/tools/train.py#L106
try delete "LR."

这个问题我已经解决了，但还是会有错误，就是矩阵维度，
RuntimeError: Given groups=1, weight of size [256, 1024, 1, 1], expected input[28, 2048, 15, 15] to have 1024 channels, but got 2048 channels instead
将维度改正后，又出现
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
我不会解决，所以放弃了

这个问题我已经解决了，但还是会有错误，就是矩阵维度，
RuntimeError: Given groups=1, weight of size [256, 1024, 1, 1], expected input[28, 2048, 15, 15] to have 1024 channels, but got 2048 channels instead
将维度改正后，又出现
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
我不会解决，所以放弃了

None一般是因为没读到图片

由于本议题没有得到更进一步的提问，我现在将其关闭。
请创建一个新的议题如果你有其他问题。

https://github.com/STVIR/pysot/blob/7835f640aa9dcc2beffb2e13e9318c6c3dbc6af4/tools/train.py#L106
try delete "LR."

sorry to bother you , i want to know whether  you have trained successfully?

这个问题我已经解决了，但还是会有错误，就是矩阵维度，
RuntimeError: Given groups=1, weight of size [256, 1024, 1, 1], expected input[28, 2048, 15, 15] to have 1024 channels, but got 2048 channels instead
将维度改正后，又出现
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
我不会解决，所以放弃了

do you succeed?


secrets.json not needed

there are some commands such
make cartodb dist/cartodb.css

where there isn't really needed a secrets.json, instead of preventing the command to execute, another strategy should be followed (like having an empty secrets.development.json and using an env variable in the makefile

This also causes CartoDB PR-testing to silently fail the cdb task (not failing tests, yet, though), seems to be warning and not error output, e..g:
...
Loading "Gruntfile.js" tasks...ERROR
14:36:38 >> Error: Unable to read "secrets.json" file (Error code: ENOENT).
14:36:38 Warning: Task "dist_js" not found. Use --force to continue.
14:36:38

The dist_js task is also failing in the deploy:
 ** [out :: bch01.gewd.cartodb.net] grunt dist_js
 ** [out :: bch01.gewd.cartodb.net] Loading "Gruntfile.js" tasks...ERROR
 ** [out :: bch01.gewd.cartodb.net] >> Error: Unable to read "secrets.json" file (Error code: ENOENT).
 ** [out :: bch01.gewd.cartodb.net] Warning: Task "dist_js" not found. Use --force to continue.
 ** [out :: bch01.gewd.cartodb.net]
 ** [out :: bch01.gewd.cartodb.net] Aborted due to warnings.


Service shouldnt 404 on / endpoint

Right now the APIService only serves requests from /apis/group/version, and 404's on / .
We can do something like what kubernetes does, on / and provide information about sub resources that users can ask about! That would provide awesome user experience on the SMI-Metrics API

Hi @Pothulapati, I like to work on this

@tharun208 go ahead! :+1:


nvs_[get/set]_u[8/16] not working

Nice to store ints in the NVS, but current code just crashes

Can't reproduce . .

Okay, if memory serves me well tsd also had this issue.
(His badge crashed before he reverted renze his commit that started using int instead of str)

Ah, might it be that the values are stored as string, but attempt to retrieve as int?
That would make it a legacy data issue.

Ah could be.. My badge crashes when trying the get or set the voltage levels for the battery(bar)

I also got crashes when i requested unset entries. I will dive into this

badge.nvs_get_u8("lalala", "lala", 42)
42
badge.nvs_get_u8("lalala", "lala")
Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.

The code works when you use a default. If not, you will get a null-pointer-exception.
I have a patch ready.

We cannot merge this yet. It triggers bugs in other scripts. Have to fix that first.. :)

scripts are fixed; code is merged.


Generated column doc

This PR adds documentation for generated columns to the duckdb docs.
Syntax for it is added to the Syntax railroad diagram of create_table, this portion is made expandable under the name generated-column.
This is what it looks like before it's expanded:

And this is after:

I've also added a brief description of generated columns to create_table. We might want to move this description to its own page later, but I felt this was the best place for it, since generated columns are only supported in CREATE TABLE statement for now.
PS:
I've had some issues with a bug where the VIRTUAL|GENERATED options were clipping through the options below, which almost magically disappeared, so please verify that this also works for you by running the site locally with jekyll

Looks good! I reordered some sentences a bit just for clarity and I added a few examples. Would you mind double checking my examples? I haven't pulled down the code to test since it hasn't reached master just yet.

Nice! Yes that works, you could also leave off the GENERATED ALWAYS part in the example :)

I am not sure about the sentence: "Since an expression has a return type, its type will be automatically derived from the expression." This makes it feel like that will always happen regardless if you specify the type or not, which isn't the case.

I am not sure about the sentence: "Since an expression has a return type, its type will be automatically derived from the expression." This makes it feel like that will always happen regardless if you specify the type or not, which isn't the case.

Ah, interesting! Is there a way to know whether or not this will succeed? Or should we just reword it to be more of a "DuckDB will attempt to automatically derive the type from the return type of the expression"?

Let me know if you think this is ready to merge!

I missed your reaction earlier, it should always succeed.
Actually setting the type explicitly is how you could cause problems, your column might become unusable because the data you insert might not be able to be cast to the type of the generated column that references the column.
For example, a problematic sequence of actions:
D CREATE TABLE tbl (
> col INTEGER,
> gcol DATE as (col)
> );
D INSERT INTO tbl VALUES (5);
Error: Constraint Error: Constraint Error: Incorrect DATE value for generated column "gcol"

Ah, now I understand. I will make some adjustments!

Looks good! Only tweak would be that varient should be variant!


Note about task runner explorer option

The gulp file has to be in the root directory or in the directory with package.json not in any subdirectory.

@user135711 Thank you for your contribution!


ImportError: cannot import name 'DRESModel' from 'mteb'

python eval_C-MTEB.py --model_name_or_path ../../bge-large-zh-v1.5 --task_type DuRetrieval
Traceback (most recent call last):
  File "/Users/Downloads/llm-models/FlagEmbedding/C_MTEB/eval_C-MTEB.py", line 4, in <module>
    from flag_dres_model import FlagDRESModel
  File "/Users/Downloads/llm-models/FlagEmbedding/C_MTEB/flag_dres_model.py", line 5, in <module>
    from mteb import DRESModel
ImportError: cannot import name 'DRESModel' from 'mteb' (/Users/Downloads/llm-models/mteb/mteb/__init__.py)

Currently, the evaluation script needs a lower version of mteb. You needs to downgrade the version of mteb.

Currently, the evaluation script needs a lower version of mteb. You needs to downgrade the version of mteb.

Could you recommend a mteb version, thansk

Hi, @AlphaNext , I update the script. Now you can run it with latest mteb tool.

hi,  i downloaded the latest script but still facing this problem : ImportError: cannot import name 'DRESModel' from 'mteb'

目前，评估脚本需要较低版本的 mteb。您需要降级 mteb 的版本。

你能推荐一个mteb版本吗，谢谢

实测1.1.0版本可用

@staoxiao hello. I am getting the same error I just installed the latest code from FlagEmbedding repo. still getting ImportError: cannot import name 'DRESModel' from 'mteb'  error. what mteb version do you recommend? thanks.


OpenVPN handshake failed

Hello
I tried to install openVPN with the script and it seems to work fine, however a little bit slow.
Now I wanted to try it on a different network and I hoped this would maybe improve the speed instead ofusing the same network but I can't connect as you can see in the log.
Sat Mar 14 17:52:21 2020 library versions: OpenSSL 1.1.0l  10 Sep 2019, LZO 2.10
Enter Management Password:
Sat Mar 14 17:52:21 2020 MANAGEMENT: TCP Socket listening on [AF_INET]<IP_ADDRESS>:25340
Sat Mar 14 17:52:21 2020 Need hold release from management interface, waiting...

Sat Mar 14 17:52:21 2020 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Sat Mar 14 17:52:21 2020 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Sat Mar 14 17:52:21 2020 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Sat Mar 14 17:52:21 2020 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Sat Mar 14 17:52:21 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
Sat Mar 14 17:52:21 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sat Mar 14 17:52:21 2020 UDP link local: (not bound)
Sat Mar 14 17:52:21 2020 UDP link remote: [AF_INET]<IP_ADDRESS>:1194
Sat Mar 14 17:52:21 2020 MANAGEMENT: >STATE:1584204741,WAIT,,,,,,
Sat Mar 14 17:53:22 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sat Mar 14 17:53:22 2020 TLS Error: TLS handshake failed
Sat Mar 14 17:53:22 2020 SIGUSR1[soft,tls-error] received, process restarting
Sat Mar 14 17:53:22 2020 MANAGEMENT: >STATE:1584204802,RECONNECTING,tls-error,,,,,
Sat Mar 14 17:53:22 2020 Restart pause, 5 second(s)
Sat Mar 14 17:53:27 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
Sat Mar 14 17:53:27 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sat Mar 14 17:53:27 2020 UDP link local: (not bound)
Sat Mar 14 17:53:27 2020 UDP link remote: [AF_INET]<IP_ADDRESS>:1194
Sat Mar 14 17:53:27 2020 MANAGEMENT: >STATE:1584204807,WAIT,,,,,,
Sat Mar 14 17:54:27 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sat Mar 14 17:54:27 2020 TLS Error: TLS handshake failed
Sat Mar 14 17:54:27 2020 SIGUSR1[soft,tls-error] received, process restarting
Sat Mar 14 17:54:27 2020 MANAGEMENT: >STATE:1584204867,RECONNECTING,tls-error,,,,,
Sat Mar 14 17:54:27 2020 Restart pause, 5 second(s)
Sat Mar 14 17:54:32 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
Sat Mar 14 17:54:32 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sat Mar 14 17:54:32 2020 UDP link local: (not bound)
Sat Mar 14 17:54:32 2020 UDP link remote: [AF_INET]<IP_ADDRESS>:1194
Sat Mar 14 17:54:32 2020 MANAGEMENT: >STATE:1584204872,WAIT,,,,,,
I found issue #383 and the solution presented was to port forward to the raspberry pi, however I have already done that on my home network where the pi is on, but is it also necessary to do this for all the other networks I connect with, because I guess I won't be able to access all these routersettings? My idea was to connect to the network where I am at the moment and that it would then be forwarded so that all my traffic goes through my home network or is that not possible?

If you're trying to connect from a different network, then you have to use your router's public IP address and configure port-forward.

If you're trying to connect from a different network, then you have to use your router's public IP address and configure port-forward.

I'm gonna try that, thank you