Handle activation conflicts for [patch] sources

This commit updates the resolver to ensure that it recognizes conflicts
when [patch] is used to augment an older version of what's already in
a source, for example. Previously the deduplication based on
semver-compatible versions didn't actually work when [patch] was used.
This meant that when you used [patch] it might not transitively affect
the entire crate graph, instead just giving you a version of a
dependency and everyone else. This violates the intention of [patch]!
The fix here is to catch this use case happening, when a Dependency
source specification mismatches an activated package we need to list a
second activation in the resolver to prevent major versions from being
selected from both the original source as well as the source of the id.
Closes #7117

r? @nrc
(rust_highfive has picked a reviewer for you, use r? to override)

r? @Eh2406

This makes sense and seems like a good solution for the currently stable functionality. I suspect that there are going to be related bugs with Public and Private dependencies, but that is not stable so we can deal with it then. Similarly this patch case will be a reliable source of complicated resolver bugs on all interesting changes to the resolver so I added it to the list of thing we should someday fuzz test.
One of the things that makes patch feel more reliable than replace is that the resolver basically has no special code for handling it. I wonder if there is any way to fix this bug without adding special handling? I fear that over time we will find more coroner cases this interacts with, not that I can think of any at the moment.
I also am not sure why things don't work with the replace case. Is it just because flag_activated is already called for both versions, so we don't need parent to double insert? Given that the documentation for the replace section does not say that it is deprecated I feel that it is not yet appropriate to put it on "life support".

Yeah that was one of the things about [patch] I also really liked how it turned out, how little it touched the resolver.
I was having a tough time coming up with solutions to this that didn't touch the resolver much though. One idea I had was to have a sort of "shadow resolution graph" which the resolver operates over but then a "real resolution graph" that's handed to the rest of Cargo. This shadow graph would "lie" and say that [patch] crates come from the source that's being patched (not the actual source of the crate itself) but the real resolution graph would say it comes from the real source. This seemed like a pretty invasive solution though and the one here was more targeted. I'm curious though if you've got other ideas on how to possibly solve this, because I'm out of ideas :(
As for replace, TBH I didn't really investigate it that much. It caused panics in the test suite pretty easily by not passing in None (and passing in parent). Remember though that documentation doesn't always reflect reality! The [replace] feature AFAIK hasn't received any support or bugfixes in years now at this point, which is defacto "on life support" even if not explicitly stated in my mind at least

I wish I had better ideas. Your idea for a "shadow resolution graph" sounds similar to what we do for replace currently; I wonder if we could have dep_cache do the check for the same source and treat it like a replace if they differ. But if we don't have a better solution then this is good.

Hm maybe? I'm not really sure what you mean though and how that would work. It would also still involve changing the resolver in one way or another as opposed to staying out of the resolver like [patch] basically does today.

I'm not really sure what you mean though

I spent some time trying this. The idea does not work with the way replace currently works. Sorry for the noize.
I hope someday we can find a shared abstraction for [patch] and [replace]. But this works so.
@bors r+

:pushpin: Commit 83bb30cedfe88466976c8a2a416d414b00e3c909 has been approved by Eh2406

:hourglass: Testing commit 83bb30cedfe88466976c8a2a416d414b00e3c909 with merge 0dd7c508d07f3a04f014d83a55fb4b666508f1f0...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: Eh2406
Pushing 0dd7c508d07f3a04f014d83a55fb4b666508f1f0 to master...


ci: update tool versions

RFC: move to Golang 1.14?
Signed-off-by: Mikko Ylinen<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #404   +/-   ##
=======================================
  Coverage   58.89%   58.89%
=======================================
  Files          26       26
  Lines        2428     2428
=======================================
  Hits         1430     1430
  Misses        940      940
  Partials       58       58

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 51e237e...285a01e. Read the comment docs.


Implemented the changes: Return dictionary

Description

Now returns a list of dictionary for easy readability, and removed CSV conversion.

Resolves: [ #886 & #949 ]
Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

[x] Have you adhered to the repository's defined coding convention rules?
[x] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[ ] Have you used the try-catch technique?
[x] Has the method/class been added to the documentation (md file)?

Screenshots

Additional Notes/Comments

Please let me know if any other changes are required.

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

Great work @iABn0rma1  !!
Do not forget to

Share your contribution on socials and tag Clueless 🫂
Give this repository a star ✨
Follow Clueless Community on GitHub ✅

🚀 Thank you so much, @nikhil25803 !
🌟 Already starred the repo and following Clueless Community.
🤝 I'm excited to share this contribution with the community, will definitely tag Clueless on socials.!
I'd like to contribute more by optimising the code:

Multi-filter_tags scraping: To process multiple tags concurrently, improving efficiency and avoiding potential duplicates.

Adding exception handling.


[Dropdown] Add a type="button" on the button.

Current behaviour
A button type is submit by default, and the dropdown doesn't define a type for its button.
So if the dropdown is used in a formMixin, it will trigger the save action when trying to expand the dropdown.
Expected behaviour
The dropdown button should have type button to not trigger a save.
Versions
Focus-core: 2.1.1
Focus-components: 2.1.7-1

Delivered in 2.2.0


[FSPE-7698] Fixed Chi Vue Data Table single page reactiveness

@dani-cl-madrid @SergioQCL
https://ctl.atlassian.net/browse/FSPE-7698

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/1/. :white_check_mark:

You can check this PRs instance in https://aa3ac1a440cba9ce1b68f6c948d3cb4b0f8ad0c5-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/2/. :white_check_mark:

You can check this PRs instance in https://9f267d988b8ed6d070838d6e0334f1e91d64364e-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/3/. :white_check_mark:

You can check this PRs instance in https://3bc5226e69a9a262d0a451c6474c92f5a51ee4ec-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/4/. :white_check_mark:

You can check this PRs instance in https://e110e53403b24f16ad432f62907a5404f1494a05-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/5/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/9/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/11/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-37/12/. :white_check_mark:

You can check this PRs instance in https://37e2c63d292024b7c2f9cb4efc266641eeff495b-chi-pr.enterprise.ctl.io


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/networking-wg-leads
/assign knative-sandbox/networking-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack dc6c287...65c463a:
  > 65c463a Update community files (# 195)
  > e7d6365 Add [skip-dot-release] feature (# 189)
  > 33ce6af Update community files (# 190)
bumping knative.dev/networking 07c9d76...f087178:
  > f087178 upgrade to latest dependencies (# 689)
  > 5bf508e generate schema for networking types (# 688)
  > c3aef9c upgrade to latest dependencies (# 683)
  > 716a8b8 Update community files (# 687)
  > 10dbbe0 Update community files (# 686)
  > a44888a Update actions (# 685)
bumping knative.dev/pkg 9c5a731...e60d250:
  > e60d250 upgrade to latest dependencies (# 2543)
  > 97eb150 Update community files (# 2541)
  > 5569169 update boilerplate date (# 2539)
  > 85965e1 upgrade to latest dependencies (# 2540)
  > f4ae0af Update community files (# 2538)
  > f5db225 Drop `UserInfo` from logger tagging in webhook. (# 2535)
  > 1777513 Update actions (# 2536)

/lgtm
/approve


Make CTest Optional

We use rapidobj in a project and noticed that it includes CTest. However, since we perform our unit tests with catch2, CTest is not needed.
I would suggest that we simply add a global define that allows projects using Rapidobj to skip include(CTest) or any other test-related projects.

There already exists RAPIDOBJ_BuildTests. So now I only include CTest when RAPIDOBJ_BuildTests is defined. Please take a look at the latest master. Does this fix your issue?

That should fix it, I'll test this by the end of the week. :) Thanks.

Should be fixed in the new release (v1.1).


Button content does not update with setstate

When the content of the button is not set on the text property, when the setState is called, the text remains the same, the content of the button is not updated. Example;
<Button type="success">{this.state.yesText}</Button>
By calling setState with a new text, the button will not change, it will remain with the previous state.

Hi!
We don't support transcluded content for the Button Component. Try to rewrite your code in this manner:

Using text option:

<Button type="success" text={this.state.yesText}/>

or

Using render/component props (for cases with more complex content):

const ButtonContent = () => {
  return <div>{this.state.yesText}</div>
}

//....
<Button type="success" component={ButtonContent}/>

Let me know if it helps.

That did the tick thank you. I tried using the template property before, but it did not worked, so now I get it, it is the component property.
In any case, in the future, it would be nice to have it working like I mentioned, and the reason is I'm using fontawesome-react, so I cannot use the regular icon property of the button to set the icon.
FYI: My exact code is the following:
<Button onClick={this.UserCancel.bind(this)} type="normal">
    <FontAwesomeIcon icon={['far', this.state.noIcon as any]} />
     {this.state.noText}
</Button>

PR in DevExtreme


Wrong markings in the documentation

Issue moved from MicrosoftDocs/feedback#3431

Please respond to @pengyouak.

From @pengyouak on Friday, January 29, 2021 3:33:07 AM
Describe
page: https://docs.microsoft.com/en-us/visualstudio/extensibility/ux-guidelines/shared-colors-for-visual-studio?view=vs-2019
path:  “Common shared controls” - “Drop-downs and combo boxes”
Wrongly marked ComboBoxGlyph as ComboBoxGlyphBackground
Screenshots

Issue moved from MicrosoftDocs/feedback#3431

Please respond to @welcome[bot].

From @welcome[bot] on Friday, January 29, 2021 3:33:08 AM
Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).

Issue moved from MicrosoftDocs/feedback#3431

Please respond to @JasonWHowell.

From @JasonWHowell on Friday, January 29, 2021 11:20:31 PM
@acangialosi please take a look at this image which has an issue.
#assign:acangialosi

acangialosi is already assigned.


invalid uri the format of the uri could not be determined

When I get response from server. It gives me this error:
invalid uri the format of the uri could not be determined
I must get https link in string format, but I cant get

Which component or method is returning this error?

.

Closing as 3 years old + it doesn't follow the issue template.


enhance readme

u can add codeofcoduct, security file and enhance readme with some pictures? can u assign this to me??

Sure, sounds good.


Code error on run

Can I get some help on getting rsub installed via pip.  It has errors
ran pip install rsub
below is output, then ran rsub --help, output also below
running ubuntu 14.10 with python 2.7.x
(fyi, I can get rmate running fine under ruby)
ubuntu@vm-ub-sr-1410:~$ sudo pip install rsub
Downloading/unpacking rsub
Downloading rsub-1.0.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/rsub/setup.py) egg_info for package rsub
warning: pypandoc module not found, could not convert Markdown to RST
Requirement already satisfied (use --upgrade to upgrade): docopt>=0.5.0 in /usr/local/lib/python2.7/dist-packages (from rsub)
Installing collected packages: rsub
Running setup.py install for rsub
warning: pypandoc module not found, could not convert Markdown to RST
changing mode of build/scripts-2.7/rsub from 644 to 755
changing mode of /usr/local/bin/rsub to 755

Successfully installed rsub
Cleaning up...
ubuntu@vm-ub-sr-1410:~$ rsub --help
Traceback (most recent call last):
File "/usr/local/bin/rsub", line 405, in
main()
File "/usr/local/bin/rsub", line 349, in main
conf.update(read_settings_rcfiles())
File "/usr/local/bin/rsub", line 121, in read_settings_rcfiles
return config.to_dict()
File "/usr/local/bin/rsub", line 170, in to_dict
return dict(self.items(self.FAKE_SECTION))
File "/usr/lib/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'NOSECTION'

Sorry for very looong delay, I’ve somehow missed this issues. However, I can’t reproduce this problem, it works for me on every machine.

I see this exact same problem when I try to edit a file that is not in the current directory, using an absolute path.
For example:
This fails with the error message described above:
$ rsub /etc/apache2/apache2.conf
This works perfectly:
$ cd /etc/apache2 && rsub apache2.conf

EDIT: Fixed with $ touch ~/.rsubrc

This was the key, thanks!
I’ve fixed it and released 1.0.2.


Promo 'mute' style variant

A variant of a promo is used on the NHS website (https://www.nhs.uk/about-us/) which has its own bespoke CSS.

The codebase could be reduced by making it a variant of the NHS.UK frontend promo.
A live example (prototype) of the code:
http://wagtail-frontend-test.herokuapp.com/pages/general/general_content_index
User: operation
Password: tweetybird

Solution used on NHS.UK:
.nhsuk-promo--mute {
  .nhsuk-promo__link-wrapper {
    background-color: transparent;
    box-shadow: none;

    &:hover,
    &:focus {
      background-color: transparent;
      box-shadow: none;
      outline: nhsuk-spacing(1) solid $nhsuk-focus-color;
      outline-offset: nhsuk-spacing(1) + nhsuk-spacing(2);
    }

    .nhsuk-promo__content {
        padding: nhsuk-spacing(0);
    }
  }
}

Closing this issue as we're currently doing some work with merging the Promo and Panel components.


Global filter

Few more fixes to be done -
1 - Capitalize Report Status Label
2- Select ChartType dropdown & Filter button is showing for all charts and also in the exported image/pdf.
3 - Page Alignment in the exported report.
4- UI is breaking on the report header when you've got a long report title ... Add report Summary button, Publish and Retire button at the same time.....
5- UI is not as per the design shared...
6 - Label is not reflecting for add Chart Summary.
7- The header label is missing in the filter popup for the chart.

![Uploading Screenshot 2021-02-02 at 12.55.45 PM.png…]()


Visualization of last Contextual Information (SC-TEI-34)

The added Contextual Information, independently on the type, with the same ID, even if with a different name are visualized with the properties of the last created one.
Please refer to Mariella and Arcangelo Antonio for further details

Duplicated (issue #124), issues 124 is labeled as blocking too.


A slight incompatibility of Gradle 4.0 with IDEA

Gradle 4.0 will produce classes into separated directory for each JVM language, which is slightly incompatible with IDEA.
Expected Behavior
Compatible with IDEA
Current Behavior
Slightly incompatible with IDEA
Context & Steps to Reproduce (for bugs)
Suppose I have a simple project:
src/main/java/a/A.java
src/test/groovy/a/ATest.groovy

and java/groovy plugins applied.
I run gradle test with Gradle 4.0, all works well. But when I import this project into IDEA, I notice test module's test output path is build/classes/java/test:

The consequence is, at this point, if I develop in IDEA and right click ATest.groovy -> Run ATest, IDEA will compile and generate the class into build/classes/java/test:

Now, I run gradle test and I get two identical tests:

I tried to find a simple solution but failed. It seems that IDEA only supports one test output path for each module, no matter how many language directories there are.
A workaround is always run clean before test.
Your Environment
It's easy to reproduce, and has nothing to do with environment.

@blindpirate does this also happen if you generate the project using gradle idea or only if you use the IDEA importer?

Well, even when I use gradle idea to generate the project, usually I need to click import Gradle projects or refresh in IDEA and then this occurs.

No the two are mutually exclusive. If you use gradle idea  you should use "Open Project". If you use "Import Gradle Project". Then you don't need gradle idea.
Can you please try the former and let me know if the output paths are okay? Next, can you try Ideas importer with and without the "Module for each SourceSet" option?

I tried it myself and everything works fine when running gradle idea. A completely separate output directory is configured. The IDEA importer uses a different default, which is broken with 4.0.
Until that is fixed in IDEA, you can work around it with this setting:
idea.module.inheritOutputDirs = true

@oehme, thanks that's good to know. Has an issue been filed in IDEA's bug tracker?

@oehme Sorry for the late response, I'm on a vocation in the past few days. Happy to know you've already figure out this. So do you mean there's nothing Gradle can do? if so, I'll close this.

I already talked to @vladsoroka and this will be fixed in IntelliJ. There's indeed nothing to do on the Gradle side, except pointing out the workaround above.

@oehme do you know in which intelliJ release the patch will be included? Is there a superseding youTrack issue for that?

@vladsoroka will be able to answer that

@childnode @oehme the change should be available since IDEA 2017.2 EAP 172.3198.6  (27th of June, 2017)


[WIP] Feature/Renewed API

Overview
Here is a renewed API for jsontableschema.
Issues

fixes #34
fixes #60
fixes #78
fixes #87
fixes #89
fixes #70
fixes #86
fixes #88
fixes #71
fixes #72
fixes #92
fixes #93
fixes #91
fixes #101
fixes #102
fixes #97

API plan
https://github.com/frictionlessdata/project/issues/289
jsontableschema.Field
It's a new class to cover field concept. Instances available are as schema.fields. For now it's just for convenience (much easier to work with field object than with field dict always checking key existence etc. Also convert_value moved here because it's field responsibility. Later to Field could be moved some types functionality while types will start act as a general data parsers.
jsontableschema.Schema
This class just cleans the API of old model.SchemaModel making it in sync with FD stack reference plan ans jsontableschema-js.
jsontableschema.Table
Data + schema class. Why not Resource? Resource is a datapackage level concept. Resource should work using resource descriptor resource = Resource(descriptor) supporting all features from datapackage specification. Here on JSON Table Level we works with tables so we don't need to handle all this stuff (but we need to integrate here tabulator+storage backends). But if datapackage resource could be represented as JSON Table Schema table it should have resource.table=jsontableschema.Table()  attribute.
For now Table already includes all pull/push_resource functionality. After tabulator write mode will be ready we could be able to save to other formats like xls etc.
Working example:
import sqlalchemy as sa
from jsontableschema import Table

# Create SQL database
db = sa.create_engine('sqlite://')

# Data from WEB, schema from MEMORY
SOURCE = 'https://raw.githubusercontent.com/okfn/jsontableschema-py/master/data/data_infer.csv'
SCHEMA = {'fields': [{'name': 'id', 'type': 'integer'}, {'name': 'age', 'type': 'integer'}, {'name': 'name', 'type': 'string'}] }

# Open from WEB save to SQL database
table = Table(SOURCE, schema=SCHEMA)
table.save('articles', backend='sql', engine=db)

# Open from SQL save to DRIVE
table = Table('articles', backend='sql', engine=db)
table.schema.save('tmp/articles.json')
table.save('tmp/articles.csv')

# Open from DRIVE print to CONSOLE
table = Table('tmp/articles.csv', schema='tmp/articles.json')
print(table.read(keyed=True))
# Will print
# [{'id': 1, 'age': 39, 'name': 'Paul'}, {'id': 2, 'age': 23, 'name': 'Jimmy'}, {'id': 3, 'age': 36, 'name': 'Jane'}, {'id': 4, 'age': 28, 'name': 'Judy'}]

Another one with processors and schema inferring:
import sqlalchemy as sa
from pprint import pprint
from jsontableschema import Table

# Data source
SOURCE = 'https://raw.githubusercontent.com/okfn/jsontableschema-py/master/data/data_infer.csv'

# Create SQL database
db = sa.create_engine('sqlite://')

# Data processor
def skip_under_30(erows):
    for number, headers, row in erows:
        krow = dict(zip(headers, row))
        if krow['age'] >= 30:
            yield (number, headers, row)

# Work with table
table = Table(SOURCE, post_convert=[skip_under_30])
table.schema.save('tmp/persons.json') # Save INFERRED schema
table.save('persons', backend='sql', engine=db) # Save data to SQL
table.save('tmp/persons.csv')  # Save data to DRIVE

# Check the result
pprint(Table('persons', backend='sql', engine=db).read(keyed=True))
pprint(Table('tmp/persons.csv').read(keyed=True))
# Will print (twice)
# [{'age': 39, 'id': 1, 'name': 'Paul'},
#  {'age': 36, 'id': 3, 'name': 'Jane'}]

@pwalsh
@zhenyab
@yotammanor
PR is ready for comments

I can't check the quality of python code, but the concept of decoupling loaders and parsers in tabulator is great. And tabulator itself is very good idea.

Coverage decreased (-1.05%) to 91.804% when pulling a97bc6253b0902ba05ef6a64ebb3d757d190ff29 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-1.05%) to 91.804% when pulling f2d9e5303d9cb142d31bb5e019fa13ee66ec3ac2 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

@danfowler
Forgot to ping to check the user interface. Already decided with Paul use Table(..., headers=1) instead of Table(..., headers='row1') but may be something else is confusing?

@zhenyab
How doable this processing protocol based on generators in JavaScript?

@roll To be honest never used yet generators, and can't say how it is doable or not, but generators is kind of iterators, so implementation will be close to the python one.

Coverage decreased (-0.4%) to 92.431% when pulling 1cfc1852a46ed47aec5047c06366df3f51a369cc on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling 1cfc1852a46ed47aec5047c06366df3f51a369cc on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling 1cfc1852a46ed47aec5047c06366df3f51a369cc on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling 9e819627bf1e5fa18f1f9a63f9455095db9ca58e on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling 64eba41c8865fa01fff7c153cb7e1109c4d46713 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling 65ec05150e3fc0085d62a55e39b09fb5be7ac550 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling d04977782cf2457e1a81a8ae16835f7f2f0b4691 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling d58bb96997638a8b2815e01168de6e8ff1989ab4 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling 2de7f6d5a72e96988b23520ed4c24e6a5e59a7b5 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.

Coverage decreased (-0.4%) to 92.431% when pulling 97d2cd82bb2b4b00e31e698e0f4d515179ab01b8 on field-schema-table into 8c8dad9d3103cac971bd45e1c8488853e1a7e4ba on master.


Add deprecation message for logs command

@fancyremarker

Closing, reopening as #155 with small fix.

Merged and released as v0.6.3 (on aptible-cli and aptible-toolbelt). Thanks!


busted test stdlib extension is not working

With luacheck 1.0.0 I get

luacheck --std min --config tests/lua/.luacheckrc --codes  tests/lua/command_log_spec.lua
Checking tests/lua/command_log_spec.lua           31 warnings
tests/lua/command_log_spec.lua:3:1: (W113) accessing undefined variable describe
tests/lua/command_log_spec.lua:4:2: (W113) accessing undefined variable it
tests/lua/command_log_spec.lua:5:3: (W143) accessing undefined field has_no.error of global assert
tests/lua/command_log_spec.lua:6:3: (W143) accessing undefined field has_no.error of global assert
tests/lua/command_log_spec.lua:8:2: (W113) accessing undefined variable it
tests/lua/command_log_spec.lua:9:3: (W143) accessing undefined field has.error of global assert
tests/lua/command_log_spec.lua:10:3: (W143) accessing undefined field has.error of global assert
tests/lua/command_log_spec.lua:12:2: (W113) accessing undefined variable it
tests/lua/command_log_spec.lua:13:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:14:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:15:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:16:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:18:2: (W113) accessing undefined variable it
tests/lua/command_log_spec.lua:19:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:20:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:22:2: (W113) accessing undefined variable it
tests/lua/command_log_spec.lua:24:13: (W113) accessing undefined variable spy
tests/lua/command_log_spec.lua:25:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:26:3: (W143) accessing undefined field spy of global assert
tests/lua/command_log_spec.lua:26:33: (W113) accessing undefined variable match
tests/lua/command_log_spec.lua:28:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:29:3: (W143) accessing undefined field spy of global assert
tests/lua/command_log_spec.lua:29:33: (W113) accessing undefined variable match
tests/lua/command_log_spec.lua:31:3: (W143) accessing undefined field has.error of global assert
tests/lua/command_log_spec.lua:32:3: (W143) accessing undefined field spy of global assert
tests/lua/command_log_spec.lua:32:33: (W113) accessing undefined variable match
tests/lua/command_log_spec.lua:34:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:35:3: (W143) accessing undefined field spy of global assert
tests/lua/command_log_spec.lua:36:3: (W143) accessing undefined field equal of global assert
tests/lua/command_log_spec.lua:37:3: (W143) accessing undefined field spy of global assert
tests/lua/command_log_spec.lua:37:33: (W113) accessing undefined variable match

This is in conflict with what the documentation says:
files["/tests//*_spec.lua"].std = "+busted"
That is test files should recognize the busted test environment globals.

Did you try this without the  --std min override+

If you explicitly specify a standard to use, it doesn't seem right that luacheck would keep around any special overrides. If you want to use the defaults then use the defaults, or put what you want in the config, but I would fully expect the CLI args to override whatever is in the config (whither my project's or the defaults).

Does it do the same thing clearing the defaults if you change the base std in a .luacheckrc file?

No, setting the standard in .luacheckrc works fine.
That however means that that the std option behaves differently between commandline and config file.

I for one would expect it to. I would expect the config file to integrate a bit more with defaults and the CLI options to clobber everything. I also wouldn't expect to have to specify all the possible options to get them all cleared on the CLI if I want to use a different std that the default.
I could see making a case for the CLI just changing the same value as the config, but where would the option be to not have any file matching rules playing around with anything?

That's because you are aware of implementation details of the tool and know it's difficult or even impossible to override the default path rules from the commandline, and that gives rise to a need to have an override.
The problem here is that the override is implicit and undocumented rather than explicit.
I cannot find any reference to this change of behavior of the std option between configuration file and commandline, neither in description of the std option nor in the description of the default path overrides.
Ideally there should be a separate option for disabling the default path overrides, that's clear, transparent, and no less powerful.
Nonetheless in the situation that the existing behavior is quirky and changing it could break stuff it would be nice to at least clearly document it.

BTW can users use this +something syntax for their own path overrides?
I con't find documented that anywhere either.

Nevermind, the there is a notice about leading + in https://luacheck.readthedocs.io/en/stable/cli.html#sets-of-standard-globals


Inform the user when more than one service uses the same intercept

Right now if two services were to use the same intercept - only one wins. That's fine as long as the intercepted services are meant to go to the same destination but if the services are mapped incorrectly and are meant for different destinations it's a major issue and possibly very difficult to figure out for the end user.
Make the UI and service detect a conflicting intercept and inform the user

closing - resolved in 0.0.19


test: add test for absolute imports from test and script

Motivation
Ref https://github.com/foundry-rs/foundry/issues/3440
@mds1 do you have an example where this currently fails? Because this test passes

Solution

I see, so the problem seems to that remappings take precedence over absolute imports so if an import path starts with test/ then the corresponding remapping is used.
since this happens in a dependency this is actually this issue https://github.com/foundry-rs/foundry/issues/1855

merging this as is and keep the issue opne


Don't show conf warning if script is not tool

Fixes #26201
(this is correct according to documentation)

Thanks!


Generational References V2: Add missed word

When compared with version 1 of the article, it seemed that "if" was missed.

Good catch, thank you!


Wallet set up tutorial - mainnet

Story
As a user
I want to see a tutorial of how to set up a Vega wallet on mainnet
So that I feel supported in doing so, am more likely to get it right first time and have a good experience as a result
Acceptance Criteria

[ ] I can see and link to a video tutorial(s) from the https://vega.xyz/wallet page of the website (perhaps near the 'How to use' section)
[ ] I can see what network this tutorial is relevant for

Tasks

[ ] Decide whether this replaces the fairground tutorial or both should be promoted/available
[ ] Decide what details to show and where on the page to link to the tutorial
[ ] Design how this will look on the page (as needed)
[ ] Implement
[ ] Test
[ ] Release

Sketch
Additional details / background info
Slack thread from Edo sharing that a video tutorial has been created and shared on Twitter https://vegaprotocol.slack.com/archives/C02KSKW6Y3F/p1675253167005199
Link to video tutorial on YouTube channel for MAINNET - TBC this doesn't exist yet hence ticket is blocked

Do we need this? To check @rebeccajsimmonds


Clicking on tags shows duplicate post entries

Steps:

git submodule add https://github.com/lxndrblz/anatole.git themes/anatole.
Replaced config.toml from exampleSite, made some basic changes and created an MD file under content/post
hugo serve
Clicked on my post and clicked on the tag
I can see duplicate entry for the single post I have

I recreated the site and the issue is no longer present. Closing this issue.


No gradient defined for operation RaggedTensorFromVariant

hello ,
I having an issue with training a simple model with RaggedTensors and Tendorflow is throwing the below error :
"No gradient defined for operation RaggedTensorFromVariant"
System information
-Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
-OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
-Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
-TensorFlow installed from (source or binary): Binary
-TensorFlow version (use command below): '2.3.0'
-Python version: 3.7
-Bazel version (if compiling from source): NA
-GCC/Compiler version (if compiling from source): NA
-CUDA/cuDNN version: 10.1
-GPU model and memory: RTX 2080 TI
You can collect some of this information using our environment capture
Describe the current behavior
I'm unable to calculate the gradient of the dense values of a Ragged Tensor when RaggedTensors has been  used inside tf.map_fn.  below is the error that i get when running my code :
LookupError: No gradient defined for operation 'map_16/RaggedFromVariant/RaggedTensorFromVariant' (op type: RaggedTensorFromVariant)
Describe the expected behavior
I believe that tensorflow should be able to handle such operations and be able to calculate the gradient especially that the values component of a raggedTensor is normal dense Tensor.
Standalone code to reproduce the issue
import tensorflow.compat.v1 as tf
tf.compat.v1.disable_eager_execution()
tf.disable_v2_behavior()
import numpy as np
myTensor = tf.ragged.placeholder(dtype=tf.float32 , ragged_rank=1)
def matmul_ragged( a) :
    tens= a
    con5 = tf.Variable([[0.1 , 2.11 , 11.2 ] ,[5.0 , 0.0 , 15.11 ] ])
    mat=tf.matmul(tens,con5)
    return mat

struct = tf.RaggedTensorSpec(shape=[None,None] , ragged_rank=0 ,dtype=tf.float32)
final_answer = tf.map_fn(matmul_ragged ,myTensor, fn_output_signature=struct)
print(final_answer)
loss = tf.reduce_mean(final_answer.values)
optimizer = tf.train.AdamOptimizer(learning_rate=.001)  # Adam Optimizer
opt_op = optimizer.minimize(loss)

with tf.Session() as sess :
    sess.run(tf.global_variables_initializer())
    vals =tf.ragged.RaggedTensorValue(np.array([[1.0, 2.2 ]  , [4.0, 5.0]  , [6.0, 7.0] ,  [8.0, 9.0] , [10.11, 10.11]]) , np.array([0, 2, 5]))
    re    = sess.run([final_answer  ] , feed_dict={myTensor:vals} )
    print(re)

Below is a error stack that I get
LookupError                               Traceback (most recent call last)
C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\ops\gradients_util.py in _GradientsHelper(ys, xs, grad_ys, name, colocate_gradients_with_ops, gate_gradients, aggregation_method, stop_gradients, unconnected_gradients, src_graph)
    606           try:
--> 607             grad_fn = ops.get_gradient_function(op)
    608           except LookupError:

C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\framework\ops.py in get_gradient_function(op)
   2654     op_type = op.type
-> 2655   return _gradient_registry.lookup(op_type)
   2656

C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\framework\registry.py in lookup(self, name)
     96       raise LookupError(
---> 97           "%s registry has no entry for: %s" % (self._name, name))

LookupError: gradient registry has no entry for: RaggedTensorFromVariant

During handling of the above exception, another exception occurred:

LookupError                               Traceback (most recent call last)
<ipython-input-17-8c10c3f6b529> in <module>
     23 loss = tf.reduce_mean(final_answer.values)
     24 optimizer = tf.train.AdamOptimizer(learning_rate=.001)  # Adam Optimizer
---> 25 opt_op = optimizer.minimize(loss)
     26
     27 with tf.Session() as sess :

C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\training\optimizer.py in minimize(self, loss, global_step, var_list, gate_gradients, aggregation_method, colocate_gradients_with_ops, name, grad_loss)
    401         aggregation_method=aggregation_method,
    402         colocate_gradients_with_ops=colocate_gradients_with_ops,
--> 403         grad_loss=grad_loss)
    404
    405     vars_with_grad = [v for g, v in grads_and_vars if g is not None]

C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\training\optimizer.py in compute_gradients(self, loss, var_list, gate_gradients, aggregation_method, colocate_gradients_with_ops, grad_loss)
    510         gate_gradients=(gate_gradients == Optimizer.GATE_OP),
    511         aggregation_method=aggregation_method,
--> 512         colocate_gradients_with_ops=colocate_gradients_with_ops)
    513     if gate_gradients == Optimizer.GATE_GRAPH:
    514       grads = control_flow_ops.tuple(grads)

C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\ops\gradients_impl.py in gradients(ys, xs, grad_ys, name, colocate_gradients_with_ops, gate_gradients, aggregation_method, stop_gradients, unconnected_gradients)
    170         ys, xs, grad_ys, name, colocate_gradients_with_ops,
    171         gate_gradients, aggregation_method, stop_gradients,
--> 172         unconnected_gradients)
    173   # pylint: enable=protected-access
    174

C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\ops\gradients_util.py in _GradientsHelper(ys, xs, grad_ys, name, colocate_gradients_with_ops, gate_gradients, aggregation_method, stop_gradients, unconnected_gradients, src_graph)
    621               raise LookupError(
    622                   "No gradient defined for operation '%s' (op type: %s)" %
--> 623                   (op.name, op.type))
    624         if loop_state:
    625           loop_state.EnterGradWhileContext(op, before=False)

LookupError: No gradient defined for operation 'map_16/RaggedFromVariant/RaggedTensorFromVariant' (op type: RaggedTensorFromVariant)`

I would appreciate your help to fix this bug or if possible guide me on a work around.
Thanks

@malsulaimi,
I was able to reproduce the issue with TF v2.3 and TF-nightly. Please find the gist of it here.
Also, please take a look at this workaround  and let us know if it helps. Thanks!

@amahendrakar Thank you very much for the fast response . I tried to apply the work around , but I'm getting a gradient related error :
This is my new code :

@tf.RegisterGradient("RaggedTensorFromVariant")
def _RaggedTensorFromVariantGrad(op,grad,foo):
    return [tf.cast(tf.zeros_like(foo), tf.variant)]

myTensor = tf.ragged.placeholder(dtype=tf.float32 , ragged_rank=1)

def matmul_ragged( a) :
    tens= a
    con5 = tf.Variable([[0.1 , 2.11 , 11.2 ] ,[5.0 , 0.0 , 15.11 ] ])
    mat=tf.matmul(tens,con5)
    return mat

def matmul_ragged2( a) :
    tens=a
    con5 =tf.Variable([[0.1 , 2.0 , 11.0 ,0.1 ] ,[5.0 , 0.0 , 15.1 ,-10.2 ] ,[5.0 , 0.0 , 15.0 , 11.0 ]])
    mat=tf.matmul(tens,con5)
    mat=tf.transpose(mat)
    return mat

final_answer =tf.map_fn(matmul_ragged,myTensor)

print(final_answer)
loss = tf.reduce_mean(final_answer)
optimizer = tf.train.AdamOptimizer(learning_rate=.001)  # Adam Optimizer
opt_op = optimizer.minimize(loss)

with tf.Session() as sess :
    sess.run(tf.global_variables_initializer())
    vals =tf.ragged.RaggedTensorValue(np.array([[1.0, 2.2 ]  , [4.0, 5.0]  , [6.0, 7.0] ,  [8.0, 9.0]]) , np.array([0, 2, 4]))
    re , re1, re2    = sess.run([opt_op   ] , feed_dict={myTensor:vals} )
    print(re)
    print(re1)
    print(re2)

below is the error stack :

tf.RaggedTensor(values=Tensor("map/RaggedFromVariant/RaggedTensorFromVariant:1", dtype=float32), row_splits=Tensor("map/RaggedFromVariant/RaggedTensorFromVariant:0", shape=(?,), dtype=int64))
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-2-2073a7dbe0e4> in <module>
     30 loss = tf.reduce_mean(final_answer)
     31 optimizer = tf.train.AdamOptimizer(learning_rate=.001)  # Adam Optimizer
---> 32 opt_op = optimizer.minimize(loss)
     33
     34 with tf.Session() as sess :

C:\ProgramData\Anaconda3\envs\AutoEncoder\lib\site-packages\tensorflow\python\training\optimizer.py in minimize(self, loss, global_step, var_list, gate_gradients, aggregation_method, colocate_gradients_with_ops, name, grad_loss)
    408           "No gradients provided for any variable, check your graph for ops"
    409           " that do not support gradients, between variables %s and loss %s." %
--> 410           ([str(v) for _, v in grads_and_vars], loss))
    411
    412     return self.apply_gradients(grads_and_vars, global_step=global_step,

ValueError: No gradients provided for any variable, check your graph for ops that do not support gradients, between variables ["<tf.Variable 'map/while/Variable:0' shape=(2, 3) dtype=float32_ref>"] and loss Tensor("RaggedReduceMean/truediv:0", shape=(), dtype=float32).

I think this code is closer to what you want (2 arg version necessary for tf.function):
from tensorflow.raw_ops import RaggedTensorToVariant

@tf.RegisterGradient("RaggedTensorFromVariant")
def _RaggedTensorFromVariantGrad(*args):
    if len(args) == 2:
        op, grad = args
        res = [RaggedTensorToVariant(rt_nested_splits=[], rt_dense_values=grad,
                                      batched_input=False)]
    else:
        op, empty, grad = args
        res = [RaggedTensorToVariant(rt_nested_splits=[op.outputs[0]], rt_dense_values=grad,
                                    batched_input=True)]

It seems to sort of work in eager mode (for a few hundred steps in the model I'm trying to get working), but I get the same error you do in your colab, making me think there's another op in that graph that doesn't support gradients. It breaks immediately if you put tf.function around it though, with this error, potentially related to the no gradients problem:
OP_REQUIRES failed at constant_op.cc:288 : Internal: No unary variant unary_op function found for unary variant op enum: 1 Variant type_name: tensorflow::Tensor for device type: CPU

@malsulaimi,
Could you please check @kentslaney's comment and let us know if it helps. Thanks!

I'd be surprised if that fixed it on its own, I had to write a custom op to register the zeros unary op for a tensor type variant
#include "tensorflow/core/util/tensor_ops_util.h"

using namespace tensorflow;

using CPUDevice = Eigen::ThreadPoolDevice;

REGISTER_UNARY_VARIANT_UNARY_OP_FUNCTION(ZEROS_LIKE_VARIANT_UNARY_OP, DEVICE_CPU, Tensor, ZerosLikeTensor<CPUDevice>);

#if GOOGLE_CUDA
#define EIGEN_USE_GPU

#include "tensorflow/core/util/tensor_ops_util.h"

using namespace tensorflow;

using GPUDevice = Eigen::GpuDevice;

REGISTER_UNARY_VARIANT_UNARY_OP_FUNCTION(ZEROS_LIKE_VARIANT_UNARY_OP, DEVICE_GPU, Tensor, ZerosLikeTensor<GPUDevice>);
#endif

I'm now getting
2020-08-18 04:07:16.182610: F tensorflow/core/framework/tensor.cc:673] Check failed: 1 == NumElements() (1 vs. 4)Must have a one element tensor

I'll have to build from source with debugging mode later this week to get the stack trace and hopefully figure out what went wrong. I suspect it has to do with the wrapper variant that RaggedTensorToVariant puts around the output based on the numbers. As far as I can tell RaggedTensors don't have a separate tf.variant class like TensorLists do in the unary op registry, but I'm not sure why. Let me know if you have any ideas on the error or see something wrong with my op @amahendrakar

Actually, it turns out it was a separate problem, after compiling and loading the above I got it to run in static graph

@malsulaimi,
Could you please check @kentslaney's comment and let us know if it helps. Thanks!

@malsulaimi,
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Actually, it turns out it was a separate problem, after compiling and loading the above I got it to run in static graph

@kentslaney,
If you still need help with the problem, please submit a new issue from this link and fill in the template, so that we can track the issue there. Thanks!


Can not show dialog from GetX when using go_router.

Here is my example code and how the UI of this code looks like:
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:go_router/go_router.dart';

void main() {
  runApp(const MyApp());
}

final GoRouter _router = GoRouter(
  routes: <GoRoute>[
    GoRoute(
      path: '/',
      builder: (BuildContext context, GoRouterState state) => const Page1(),
    ),
    GoRoute(
      path: '/page2',
      builder: (BuildContext context, GoRouterState state) => const Page2(),
    ),
  ],
);

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp.router(
      routeInformationProvider: _router.routeInformationProvider,
      routeInformationParser: _router.routeInformationParser,
      routerDelegate: _router.routerDelegate,
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
    );
  }
}

class Page1 extends StatelessWidget {
  const Page1({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          ElevatedButton(
            onPressed: () {
              context.go('/page2');
            },
            child: const Text('Go to Page 2'),
          ),
          ElevatedButton(
            onPressed: () {
              Get.defaultDialog();
            },
            child: const Text('Show default Dialog from GetX'),
          ),
        ],
      ),
    );
  }
}

class Page2 extends StatelessWidget {
  const Page2({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          ElevatedButton(
            onPressed: () {
              context.go('/');
            },
            child: const Text('Go to Page 1'),
          ),
          ElevatedButton(
            onPressed: () {
              Get.defaultDialog();
            },
            child: const Text('Show default Dialog from GetX'),
          ),
        ],
      ),
    );
  }
}

When I click on 'Show default Dialog from GetX' button, I have an exception.

How to fix that code?

Hi @tqucbo
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


ASSETS_URL constant

I've done a thorough search through the code, but may have missed something.
As and when I find parts of the core that fail in my custom structure, I will send more PRs.

PS, this is untested as I've just copied across what I've done in my custom structure, which works fine with these changes.

All my ad-hoc tests seems to run fine with your modifications. I think this is good to merged.
Thanks John!

I won't pull just yet as I want to test 0e47535 in particular. I have a bad feeling that those constants are not available during install (or didn't use to be, autoloading might of changed this)

Ok Brendan, feel free to ask me anything if you need help.

When I say not tested, I meant this particular commit, the installer works fine, as I've installed using it.

Thanks John :)


Error registering custom alloy forge controller when custom alloy forge uses modded material as its base

Recently i've been trying to make a sort of hardcore style modpack. Alloy Forgery is perfect for this because of its customization. Im trying to gate landmark alloys behind individual alloy forge tiers, just to make progression a little bit more interesting. To do this, I added 3 individual forge bricks with KubeJS, instead of using vanilla blocks.
The mod really doesnt like when I do this. It causes fabric to throw an error saying the crash was caused by whatever mod the configured alloy forge's base material happens to be from. KubeJS blocks throw: Could not execute entrypoint stage 'main' due to errors, provided by 'kubejs'! Just as a troubleshooting option I tried using polished tuff from Twigs, which threw: Could not execute entrypoint stage 'main' due to errors, provided by 'twigs'!', and so on. In the ~10 mods i've tested, they've all behaved the same way when their blocks are used as alloy forge materials.
Full crash report can be found here

json for custom forge, located in moddata/alloy_forgery/alloy_forges
{   "material": "kubejs:deepslate_forge_brick",   "tier": 1,   "speed_multiplier": 1,   "fuel_capacity": 55000 }
and here's the kubejs:
onEvent('block.registry', event => {
    event.create('deepslate_forge_brick', block => {
        block.material('stone')
        block.hardness(5)
        block.displayName('Deepslate Forge Brick')
    })
})

Thank you for reporting. Should be fixed as of owo-lib 0.3.14


Test Parameter Files dialogs need to be reworked

Bug Report
Adding test parameter files not intuitive.  Due to form validation, there were changes from UI1 to UI2.
UI2 form validates the 'add test parameter field', but the file is only added once the '+' symbol is clicked.
Expected behaviour
All test parameter files to be added should have form validation.  All test parameter files edited should have form validation too.  Adding test parameter files should be intuitive.  Possible solutions:

Use the UI1's layout but use reactive forms to apply form validation for every test parameter file path.
Warn the user when they typed in the test parameter file path but didn't click '+'
Disable the save changes button if there is content in the test parameter file path
Always add the test parameter file in the field regardless of whether '+' has been clicked (my personal favorite solution)

Actual behaviour
People often type in the test parameter file in the field path but do not click the '+' sign to add the file.  There is no indication that the file will not be added.
Steps to reproduce the behaviour
Try adding a test parameter file

I agree, I think the current "+" is confusing, the dialog box should be reworked.
Implementor should deal with  #962 , #834, #774 at the same time.

+1 for fixing this... having to hit "+" to get the test file to save is not intuitive at all.

Staging.dockstore.org hotfix looks a lot better, only one comment for now
Pressing enter is intuitive when editing the default "first" path, but it doesn't work


is it possible to run it in the background fully without it being in some corner of my screen?

when i minimize it, it seems to just shorten down to a bar.

is it possible to automatically start it in the background, without it taking up screen space and forget about it?
also, if there is an option to remove cpu usage from discord rpc, that would be amazing as well.

Yes, I will definitely do it in the next version. Sorry for keeping you waiting.


What is MNT-753 please?

Where/how MNT-753 was defined, and
is there a complementary curve to create a cycle like MNT 4-6?

Yes -- there is a pair.
Here are some notes from our Snark Challenge program.
https://codaprotocol.github.io/snark-challenge/MNT4753.html#cQ==
https://codaprotocol.github.io/snark-challenge/MNT6753.html#cQ==


Include _data/versions.json in the package

Please include _data/versions.json in the package so we have access to all the icon names.

Can you please mention your use case for that file. I would prefer to add it as a separate package with same versioning (e.g. @material-symbols/metadata) as it is common to all packages (fonts, svgs).

A use-case would be providing an icon picker to the user similar to how you've set up in the demo. Is there any other way to get a comprehensive, up-to-date JSON list of all symbols that's somewhat human readable?

Sorry for the late response. I will include it in a separate package.

Published in @material-symbols/metadata


Add missing FR translations

Hey @joyboy67, I see you added new translations. Is there anything else to add? If not, please, could you squash all your commits in a single one? Thanks!


Fix Dropdown menu in dark themes

The border on the dropdown menu in light themes looks fine but is too bright in dark themes.  I haven't found the selectors to be able to update this yet, so if anyone can help, I'd appreciate it!
You can see a live demo at https://hellodash.pythonanywhere.com/theme_explorer in the "Bootstrap-themed Dash app example:

That seems to work:
.Select-menu-outer {
    border-color: red !important;
}

Hey @keurfonluu
Your solution is getting me part way there - Thanks!! :pray:
I'm still having an issue though, maybe you (or some other kind soul) will be able to explain what's going on:
I can  change the border color like you suggested, and this works with many colors, including red like your example.  However, I would like the drop down menu box to be the same border as the input box, which is
rgba(100, 100, 100, 0.4)
I tried the following, but it doesn't work.  It looks the same as the image above,  it's still too bright
.dbc .Select-menu-outer {
    border-color: rgba(100, 100, 100, 0.4) !important;
}

But here's a weird thing:  when I add the background-color like below, it works!! :confetti_ball: :champagne: :fireworks:
.dbc .Select-menu-outer {
    border-color: rgba(100, 100, 100, 0.4) !important;
    background-color: var(--bs-body-bg);
}

But not so fast.... now the hover effect doesn't work, and you can't see the option you are hovering over.   :grimacing: :face_with_head_bandage: :cry:
Here are all the selectors I'm using for the dropdown and a MWE.  Can you see anything that's obviously wrong?
And again, thanks so much for your first suggestion.

/* input box */
.dbc .Select-control {
  background-color: var(--bs-body-bg) !important;
  border: solid rgba(100, 100, 100, 0.4) 1px !important;
}

/* changes the text color of input box */
.dbc .Select-value-label {
  color: var(--bs-body-color) !important;
}

.dbc .Select input {
  color: var(--bs-body-color);
}

/* dropdown menu options */
.dbc .VirtualizedSelectOption {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

/* dropdown menu hover effect */
.dbc .VirtualizedSelectFocusedOption {
  background-color: rgba(100, 100, 100, 0.2);
  color: black;
}

/* border on focus - default is blue
 * shadow box around input box.  default is blue
 */
.dbc .is-focused:not(.is-open) > .Select-control {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.2);
}

/* primary  this colors the input box text and x  of multi */
.dbc .Select--multi .Select-value {
  color: var(--bs-body-color);
  background-color: rgba(var(--bs-primary-rgb), 0.2);
  border-color: rgba(var(--bs-primary-rgb), 0.6) !important;
}

.dbc .Select-menu-outer {
    border-color: rgba(100, 100, 100, 0.4) !important;
    background-color: var(--bs-body-bg);
}

And here's an MWE:
from dash import Dash, dcc, html
import dash_bootstrap_components as dbc

app = Dash(__name__, external_stylesheets=[dbc.themes.CYBORG] )

app.layout = html.Div(
    [
        dcc.Dropdown(
            id="dropdown",
            options=[
                {"label": "New York City", "value": "NYC"},
                {"label": "Montréal", "value": "MTL"},
                {"label": "San Francisco", "value": "SF"},
            ],
            value="MTL",
        ),
    ], className="dbc m-4",
)

if __name__ == "__main__":
    app.run_server(debug=True)

Isn't the hover effect controlled by?
/* dropdown menu hover effect */
.dbc .VirtualizedSelectFocusedOption {
    background-color: blue;
    color: red;
}

Yes, I have it like this:
/* dropdown menu hover effect */
.dbc .VirtualizedSelectFocusedOption {
  background-color: rgba(100, 100, 100, 0.2);
  color: black;
}

But somehow the following overrides it.  And I think I've tried every permeation of order and/or using  !important.  Can't get it to work yet.
.dbc .Select-menu-outer {
    border-color: rgba(100, 100, 100, 0.4) !important;
    background-color: var(--bs-body-bg);
}

I understand, but rgba(100, 100, 100, 0.2) is transparent dark gray (over Select-menu-order dark background) with a black font, so it seems to be working as intended.
The hover effect you had before the "fix" was a transparent dark gray over a white background, I just don't know which class this background color was inherited from.

Oh, right  - I get it now.  That gives me something to work with. Thanks so much for your help :slightly_smiling_face:

Fixed by using new Bootstrap variables available in Bootstrap 5.3.x
.Select-menu-outer {
  border: var(--bs-border-width) solid var(--bs-border-color);
}


Add GdsApi::AssetManager#create_whitehall_asset method

We want to expose the new Asset Manager API endpoint for creating Whitehall assets.
The main difference between the existing GdsApi::AssetManager#create_asset method and this new method is that the client must specify a legacy_url_path as well as a file. The former is used to tell Asset Manager the public URL path at which it should make the asset available.
This is intended to be an interim measure to allow us to migrate Whitehall assets to Asset Manager without changing their URLs. In the fullness of time the plan is for Asset Manager to determine the public URL paths for all assets, including Whitehall assets, and at that point Whitehall will need to take notice of the file_url returned in the response from the Asset Manager API.
Note that this new method should only be used by the Whitehall Admin app, not any of the other publishing applications.
See alphagov/asset-manager#203 for more info.

@chrislo: Thanks. I assume you're thinking that a deprecation warning would discourage people from using this method in other publishing apps and/or using the legacy_url_path parameter - is that right? I think having the word "whitehall" in the method name is sufficient to discourage people from doing this and, in any case, I don't think it's a big concern - I don't think anyone is actively making changes to the way publishing apps interact with Asset Manager. So I think it's a bit premature to add a deprecation warning and I'd rather add it when we're actually thinking about removing the method. I hope that makes sense.

@floehopper yes - it was the gentle nudge to avoid using it for other publishing apps. But I agree the naming covers this. I'll mark as approved!


how Change style or css of RasterLayer ?

hi . i use carto sdk mobile and want to change style or css of Layers by hardcode .
how do it ?
my code is :
HTTPTileDataSource http = new HTTPTileDataSource(1,19,url);
RasterTileLayer wmsLayer = new RasterTileLayer(http);
mapView.getLayers().add(wmsLayer);
Thank you for answer .

@mtehver can you answer me ?
Thank you for help .

RasterTileLayer styling is handled by the tile generator (thus server, if you are using HTTPTileDataSource). SDK simply displays the raster bitmap without applying any styling. So this is not really a SDK related question, it is about server setup. Thus closing this.


include openbci cyton, ganglion and wifi modules

otherwise it will not start

Odd, I didn't know this was necessary. The dependencies are already listed in app/package.json and it worked so far.

I suspect it is node version specific. With v10.1.0 the original package.json works fine, I had it earlier with v4.6.1 (the system default on macOS).... However, now trying to replicate: with that version I can also not reproduce the error any more. I guess I installed something in between (electron-prebuilt?) that solved it. So please ignore this.

No worries, thanks for clarifying!


Support for path style S3 URL

Hi,
I am trying to use a S3 object storage which doesn't support subdomain style URL like bucket.namespace.domain.tld. It supports only path style URL like namespace.domain.tld/bucket. Can you please make changes to the s3storage adapter so that it could support path style URL too?
Maybe a new config option for s3 storage. Sometjing like S3_URL=path (default url) would be nice. I am not familiar with GO. So, I can't make a PR.
Thanks

This request URL is made by the AWS SDK, and I would suggest sticking to the official SDK where possible.
Is S3ForcePathStyle from the AWS SDK, something you would be looking for?
https://github.com/aws/aws-sdk-go/blob/main/aws/config.go#L118
We can expose that config under Imagor instead.

@mhhakim would you please test this docker image tag shumc/imagor:s3-force-path-style
https://hub.docker.com/layers/shumc/imagor/s3-force-path-style/images/sha256-a1d2350264518647cb46f7cc51863f25331849abaa552e6c6d50313e2435814d?context=repo###
with the additional environment variable
S3_FORCE_PATH_STYLE=1

Working as intended! Thanks 🙏

Cool! The changes are now included in release shumc/imagor:0.8.8


Ingame audio: Bugs Bunny & Taz: Time Busters PC

Started to convert everything one by one but I happened to get some issues in converting the audio.
For some reason the audio doesn't convert properly in some wav audios and they seem to lower the volume for some reason.
I'm sending in the attachment samples so you can have a look at, original wav and ima conversion from the game and my wav and conversion. Also included is a txth file so you can listen to the audio on Foobar2000 with the vgmstream plugin.
The command I'm using is "adpcm-xq -e -r -b15 FILE.wav FILE_NEW.wav"
Don't mind the AIFF header on the original file, the devs did that to trick the engine in some way or another.
Let me know if this is possible to solve
You can play my IMA converted wav and see that the audio is lowered and finishes with a small "tik". This happens with some other audios I have edited, but for some reason with the original it doesn't happen. It might be a dynamic thing on your tool?
Cheers.
Samples.zip

Okay, I’ve looked over all these files and done some experiments and have some new information from issue #19 and finally think I know exactly what’s going on. I’m using the command-line version of vgmstream because I don’t normally run Windows, but I think it works the same.
So, let’s start in the your “original” directory. There’s a file in there called “Granny.bze_000A 00007.ima” which, as you said, contains an AIFF header and then IMA audio. My guess is that header was put on there by whatever program extracted the IMA audio from the original game. The actual IMA starts at offset 0x52, however the txth file you included specifies an offset of 0x36, which is too small. If you look in the file after that point you will see the SSND chuck start and if you zoom into the decoded WAV file at 0.0015 seconds you can see a little shift there. That’s the “SSND” being decoded as IMA data (!) and is not supposed to be there. Change the offset to 0x52 and that will be fixed in the WAV file. Maybe this affects other files?
What I discovered in that other issue #19 is that some applications do IMA data differently than the way it’s used in WAV files. Specifically the standard IMA headers are gone and the IMA data is not divided into blocks (or frames). I’m not talking about WAV or AIFF headers here, I’m talking about the little 4-byte header for each block that provides the first sample and the initial index into the scalar table. It seems that in these cases the scalar is assumed to start at zero, the first sample is in the IMA data (not the header), and there are no blocks (it just goes on and on until the end of the audio). My tool does not create this format. The “raw” option only causes the tool to not put on a WAV header...it still generates the same IMA headers and blocks. When you specified -b15 you are setting the largest possible size (65529 sample) but if you tried a file longer than that (4.1 seconds at 16 kHz) you would still get to the end of the frame and get a glitch.
If you don’t specify the “raw” option for my tool and generate IMA in WAV, then vgmstream has no trouble playing the files correctly and even shows the frame size (on the command-line version). So vgmstream understands both formats, but I’m guessing that your target (a console?) wants these raw, unbroken streams.
Now, if there’s some silence at the beginning of the audio the header ends up being all zeros (like in this case) and so playing the file generated with my tool in “raw” mode using vgmstream works okay (although you should set the offset to 0x4 to skip just the initial header). Assuming you don’t go past 4 seconds, of course.
But what happens if the beginning of the audio is not silence? That brings us to your “edited” directory. The WAV file there is not silence at the beginning and the 4-byte header generated by my tool contains important information about decoding the file, including the initial scalar table index (which is why the volume is wrong!) Again, if you tell my tool to generate a WAV file then vgmstream has no problem because it understands those headers in WAV files, but not here. Even if you set the offset to 0x00 it still does not work right because vgmstream is not expecting any IMA headers in that mode.
BTW, as an aside, I see that you are re-encoding audio that has already been encoded with ADPCM. In your original directory it turns out that my encoder encoded the audio exactly like it was encoded the first time (even including the SSND chuck, which is not supposed to be there, is identical except the whole thing is shifted one nibble because of the extra sample that my tool puts in the header). This is good because the sample will sound identical. But this might not always work, especially if you perform some edits on the file like changing the volume or doing EQ. In that case, you will end up adding the noise of ADPCM encoding again, and you might hear some degradation. Using the high lookahead values of my tool should help, but it will never sound as good as the original.
But anyway, if you actually got this far, you might be asking, what is the solution? Assuming that your audio must be in this “headerless, frameless” format my tool is not going to work (unless you put a little silence at the beginning of every file and never go past 65529 samples). But I am thinking that I might be able to quickly cobble together a version of my tool that generates raw data in this format. It might not be able to decode it but I (and you) can use vgmstream to verify the output. Give me a day or two and I’ll let you know how that goes.

Damn, I did a test here and is exactly what you said. It needs to be deadly silence (I muted the firs miliseconds) and it converted like a charm. But this is viable to do sometimes as I have to use that begining sometimes to fit the voices in the time limit of the original one. If you can do a little "fix" on this regard, it would indeed help a lot on the process of converting. It's a lot of files (maybe more than 3000 audios) to convert.
(About the AIFF, just ignore that header as it was used by the developers to trick the engine of the game to load the sound.)
Cheers and thanks for looking into it, will wait, Cheers!

Okay, I've created a new branch with the changes for you to try out. Basically I added an option -b0 to force headerless / blockless mode. This requires -r also to generate raw output, so no container. I have verified them using your vgmstream txth file with offset of 0x00. There is no way to convert them back to PCM using my tool because they're raw, but the -n option does actually decode them to calculate the quantization noise (kind of a double-check).
Stereo is also supported with an interleave of 0x04. Not sure if you're using that or whether you can set the interleave, but it's there.
The command would be something like:
> adpcm-xq-0.5x.exe -6 -n -b0 -r source.wav output.ima

I'm attaching a zipped Windows executable (assuming GitHub let's me do that).
adpcm-xq-0.5x.zip
Good luck!

Glad to hear it, thanks for letting me know!

Hi, David! I edited the entire game and it worked without flaws! So I'm 100% sure that it will work for the rest of the games by this dev. Here is the final result: https://www.youtube.com/watch?v=aebRD4dQPDA
If however a problem occurs again, I will come here and nag you again! (P.S.: I credited you for this tool.)
Big thanks!

Very cool! Glad to hear the tool worked for you. I guess at some point I should bring all that into the mainline code.


Formalise the process of data access, processing and creation of ResourceFile

In order to make the TLO model be keep up-to-date for Malawi, and to make application to other countries as easy as possible, we need to formalise the process we have gone through already of data access, processing and creation of the ResourceFiles.
The follows types of data are suitable for this:

[ ] Population Data: @tbhallett assembles the necessary population data used in the model is here and the scripting file that generate them is here

[ ] Global Burden of Disease: @tbhallett has processed file of the GBD results (downloadable from https://vizhub.healthdata.org) using this script to generate ResourceFile that are used in the simulation to determine the risk of course of death, and in calibration of the model (https://github.com/UCL/TLOmodel/blob/master/src/scripts/data_file_processing/formatting_gbd_data.py)

[ ] Fertility and Contraception Use Data: @timcolbourn developed an analysis of the DHS data to estimate schedules of fertility and contraception uses in the model https://github.com/UCL/TLOmodel/tree/master/resources/contraception (This could probably be simplified if we didn't want to capture the process of switching contraceptive methods so comprehensively)

[ ] Facilities Data: tbhallett and @BinglingICL used data provided by Malawi from its master facilities list to generate an index of all the types of facilities to represent in the model): https://github.com/UCL/TLOmodel/blob/master/resources/healthsystem/organisation/ResourceFile_Master_Facilities_List.csv

[ ] Human Resources Data: @BinglingICL has developed scripts that take in several CHAI Workforce Optimisation Model datasets to generate ResourceFile that describe:

The types of appointment that are possible and the time that each takes (https://github.com/UCL/TLOmodel/tree/master/resources/healthsystem/human_resources/definitions)
The amount of patient-facing time available from healthcare workers (https://github.com/UCL/TLOmodel/tree/master/resources/healthsystem/human_resources/actual)

[ ] Data for the Lifestyle Module parameters (@andrew-phillips-1 developed this offline from the DHS data; the DHS data comes in the same format for all countries; and so it should be possible to create scripts that estimate these parameters for any DHS dataset)

[ ] Healthcare seeking: @winnga developed analyses using (DATA) to estimate the patterns of healthcare seeking behaviour, which are here: https://github.com/UCL/TLOmodel/blob/master/resources/ResourceFile_HealthSeekingBehaviour.csv (The scripts were developed offline but the method are described in his publications, linked here)

[ ] Consumables availability data (@sakshimohan has developed scripts that produce estimates of Consumables definitions and their availability (https://github.com/UCL/TLOmodel/tree/master/resources/healthsystem/consumables): https://github.com/UCL/TLOmodel/tree/master/src/scripts/data_file_processing/healthsystem/consumables

[ ] Data from the DHIS2 for calibration (@BinglingICL has developed a procedure of downloading the relevant datasets and processing them into the format required for calibration to model outputs. Those scripts are written in python but currently stored in a separate repo. The datafile themselves are stored offline but would need to be move into our shared OneDriver folder (/Data)

(This leaves aside the epidemiological parameters contained within other ResourceFiles, for which other processes and guidance we need to developed, and which will also benefit from labelling/categorising as per https://github.com/UCL/TLOmodel/issues/1036)

Thanks very much Tim for creating this very clear issue path. Will complete the tasks in due course.

Thanks @BinglingICL
I believe the immediate next steps would be:

[ ] @jkumwenda  to familiarise himself with the first two of these data sources
[ ] @tamuri to advise of the format that these scripts should be in (same/different repo / using third-party packages etc)
[ ] @jkumwenda to make those changes in respect of the first two of these data sources
[ ] @jkumwenda to develop process by which each of these types of data can be adapted to the same procedure, drawing on input from those who developed these files originally as/when needed.

[ ]  Data from the DHIS2 for calibration (@BinglingICL has developed a procedure of downloading the relevant datasets and processing them into the format required for calibration to model outputs. Those scripts are written in python but currently stored in a separate repo. The datafile themselves are stored offline but would need to be move into our shared OneDriver folder (/Data)

The data and scripts are now stored here: https://imperiallondon.sharepoint.com/:f:/r/sites/tlomodel-WP/Shared Documents/07 - Data/DHIS2/Analysing Malawi Healthcare Service Usage - onedrive?csf=1&web=1&e=VJihfR. Once standard set, will reorganise the data and scripts.


Intel Fix: Transformed Apple Crate [golova][RS3Ar4]

Name
Transformed Apple Crate
Intel Id
RS3Ar4
Fix Needed
Picture for reference
Any Other Info
No response

ive got a screenshot but cant submit it without it turning into text through github

@SxyDragon you can upload to us via the discord
https://discord.com/invite/4Xqj8XntFe
or via imgur, we will then upload it to the specific imgur album and push a fix


How do I use Azure Monitor custom metrics with AAD service principal?

I'm having troubles with using azure monitor plugin and the directions are unclear. Where do I place azure_tenant_id, azure_client_id and azure_client_secret in the telegraf configuration file.. In the output plugin or agent config?
https://github.com/influxdata/telegraf/blob/fb704500386214655e2adb53b6eb6b15f7a6c694/plugins/outputs/azure_monitor/README.md

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

ID: 9cea95e2-c775-c363-d468-2232c2b51f4a
Version Independent ID: c87ec30c-b0b7-d6e5-403b-a6d9991248b0
Content: Collect custom metrics for a Linux VM with the InfluxData Telegraf Agent
Content Source: articles/monitoring-and-diagnostics/metrics-store-custom-linux-telegraf.md
Service: azure-monitor
GitHub Login: @anirudhcavale
Microsoft Alias: ancav

@brnleehng Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@brnleehng this walk through assumes you are using the MSI on the VM to emit metrics against the VM itself. If you would wish to emit metrics against a different resource (ex. a Batch resource), that is when you provide the tenant id, service principal, and resource ID you want to emit metrics against
Those properties are in the output plugin configuration. Its detailed in the Telegraf agent's readme on the Azure monitor plugin https://github.com/influxdata/telegraf/tree/master/plugins/outputs/azure_monitor

@brnleehng Does this information help? Can we close this issue?

#please-close


Support for nested JSON

Thank you for this package.
I'm trying to make a simple nested json like below and getting a "trying to get price of non-object". Can you add support for nested JSON?

Oh Yes, please :)

This feature is a bit tricky. Any of you have a path to follow in mind? Don't hesitate in send PRs. They dont have to be perfect :D

I've fixed it for now to make it work for nova-dependency-container:
    protected function fillAttributeFromRequest(NovaRequest $request, $requestAttribute, $model, $attribute)     {         $this->fields->each(function ($field) use ($request, $model, $attribute) {             if($field->component === 'nova-dependency-container') {                 collect($field->meta['fields'])->each(function ($field) use ($request, $model, $attribute) {                     $field->fillInto($request, $model, $attribute . '->' . $field->attribute, $attribute . '.' . $field->attribute);                 });             } else {                 $field->fillInto($request, $model, $attribute . '->' . $field->attribute, $attribute . '.' . $field->attribute);             }         });     }
But it needs more outwork for working with other components or more nested container. Also nested JSON need some more work. When i have time, i will try to work on it

That’s awesome. Thank you.

I would also appreciate a nested JSON feature. This request is from last year, also #69 is mentioning the same issue :)

There seems to be some if just minimal support as I have a JSON field in a JSON field already and it's working as expected. This also includes some Panels thrown in which, aren't all that pretty and there is some field re-ordering that I'll be making an issue about, but it seems to be working

I’m closing this as it appears to be supported in newer versions.

Sorry to be the bearer of bad news.....but it seems I was mistaken and only testing half of it. When you actually try and update nested json fields, the saves never go all the way through...and depending on the nesting structure makes it so it may or may not work depending on the level of nesting (in my case 3 levels of nesting (top level model attribute is JSON, then hours as JSON key, which itself has JSON for  open/close properties).


Make notification timeout configurable

Is your feature already implemented in the latest master?
No.
Is your feature request related to a problem? Please describe.
Sort of. The notifications just keep piling up and I wish they would disappear after a while.

Describe the solution you'd like
It would be great if the notification timeout would be configurable. The crate itself does have support for it.
Describe alternatives you've considered
None yet. I could just watch for the notifications and dismiss them via a script. :grin:
Additional context
Using version 0.15.2 on a Sway desktop with Mako notifications.

@aome510 awesome, thank you so much!!


How is the "Packages" config panel populated?

Have you considered adding a mechanism for third-party plugins?  Or should they be submitted a pull requests and added to the rainloop-webmail/plugins folder?
c.f. https://github.com/greg-1-anderson/rainloop-count-down-the-days

I have started another third-party plugin:
https://github.com/greg-1-anderson/rainloop-gallifreyan
Both of these plugins are still 'beta' quality at the moment, but putting this here for reference.

Fast answer is:
http://repository.rainloop.net/v1/repository.json

If you consider that your plugin should be in the main repository, you may create a pull request.
But this does not mean that I'll merge it in :).

I'll submit a PR for count-down-the-days after it supports multiple dates.  You probably do not need a Gallifreyan quiz in the core plugin repository, though!
In any event, thank you for the answer.


Using the phrase "PKI Infrastructure" is redundant. Please correct.

Any time in this page that you say "PKI Infrastructure" please just say "PKI." The "I" in "PKI" already means infrastructure. The way this article uses the term is incorrect.

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

ID: 94cebf1d-b16d-4ddc-b532-be829b858938
Version Independent ID: 3707f457-98d5-e5b3-c749-99afe0d6d495
Content: 4768(S, F) A Kerberos authentication ticket (TGT) was requested. (Windows 10) - Windows security
Content Source: windows/security/threat-protection/auditing/event-4768.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@nadcraker Thanks for pointing out. I will correct today afternoon.


KeyError: 'cache_name'

I trying to train annotated dataset of ALPR, but always caught error...
Traceback (most recent call last):
File "train.py", line 280, in
main(args)
File "train.py", line 178, in main
config['train']['cache_name'],
KeyError: 'cache_name'

Same here. :-(

Problem solved 👍
Note :
Delete the file given in the place of cache in config.json, or put new file name instead of previous. This problem comes if you are using new dataset with new attributes.


Code review commit.

Thought this would be the easiest way to review it.
Most of the comments are style related. We can look at the performance in more detail later.

@jacobpierce Added another commit that speeds it up quite a bit.


Alterzorder

for https://github.com/hyprwm/Hyprland/pull/3217

It would be good if we add in the description that this only works for two floating windows, but not for a tiled and a floated window, if I am right. Thanks for the work.


Object Detection Using Computer Vision

Object detection  is related to computer vision and image processing that deals with detecting instances of semantic objects of a certain class (such as humans, buildings, or cars) in digital images and videos. Given an image or a video stream, an object detection model can identify which of a known set of objects might be present

Hey @prathimacode-hub  ! I would like to work on this issue. I will use RCNN for the object detection in images. Please assign me this issue as DevIncept Participant.

@shivani6320, as issues are assigned on first come first serve basis, jeffry would be eligible to take this up first. If he doesn't respond, then you would be considered.
@jeffryjames Kindly follow the issue template given to get issues assigned. And are you a participant of LGMSOC, Devincept or Contributor. How would I know what you are, if you don't follow the template. And also, hope you had read the README and CONTRIBUTING GUIDELINES of the project. Also let me know of task you will be working on "Algorithm" or "Tutorial". Please provide these details while raising an issue, so that it would be easier for us to assign the issues. @jeffryjames

@shivani6320, as issues are assigned on first come first serve basis, jeffry would be eligible to take this up first. If he doesn't respond, then you would be considered.
@jeffryjames Kindly follow the issue template given to get issues assigned. And are you a participant of LGMSOC, Devincept or Contributor. How would I know what you are, if you don't follow the template. And also, hope you had read the README and CONTRIBUTING GUIDELINES of the project. Also let me know of task you will be working on "Algorithm" or "Tutorial". Please provide these details while raising an issue, so that it would be easier for us to assign the issues. @jeffryjames

@prathimacode-hub  I have Created Another issue and working on it. Let this issue be assigned to @shivani6320 .  Thank you!

On request of @jeffryjames. this issue is assigned to you. Hope you are willing to. @shivani6320

ok @prathimacode-hub ! Noted. I'll work towards it.


trainning AP is 0.0 after 10 epochs

2021-07-21 17:32:55.097 | INFO     | yolox.core.trainer:after_iter:245 - epoch: 10/300, iter: 970/973, mem: 8646Mb, iter_time: 1.567s, data_time: 0.027s, total_loss: 3.7, iou_loss: 1.9, l1_loss: 0.0, conf_loss: 1.2, cls_loss: 0.7, lr: 9.993e-03, size: 512, ETA: 4 days, 23:01:45
2021-07-21 17:32:59.200 | INFO     | yolox.core.trainer:save_ckpt:307 - Save weights to ./YOLOX_outputs/yolox_voc_s
2021-07-21 17:32:59.893 | INFO     | yolox.core.trainer:after_train:184 - Training of experiment is done and the best AP is 0.00

I meet the same error, but  I found a problem when I checked the data loading.

Left: correct labels Right: paddle labels
In data_augmrnt.py TrainTransform return paddle_labels, I'm not sure  if it is correct !

Seems your evaluation is not correctly executed.  For VOC, if your evaluation is running well, you will get the following outputs even with zero APs:
2021-07-20 22:19:55 | INFO     | yolox.evaluators.voc_evaluator:142 - Evaluate in main process...                                                                     [9413/63738]
Writing aeroplane VOC results file
Writing bicycle VOC results file
Writing bird VOC results file
Writing boat VOC results file
Writing bottle VOC results file
Writing bus VOC results file
Writing car VOC results file
Writing cat VOC results file
Writing chair VOC results file
Writing cow VOC results file
Writing diningtable VOC results file
Writing dog VOC results file
Writing horse VOC results file
Writing motorbike VOC results file
Writing person VOC results file
Writing pottedplant VOC results file
Writing sheep VOC results file
Writing sofa VOC results file
Writing train VOC results file
Writing tvmonitor VOC results file
Eval IoU : 0.50
AP for aeroplane = 0.8896
AP for bicycle = 0.8918
AP for bird = 0.8364
AP for boat = 0.7808
AP for bottle = 0.7451                                                                                AP for bus = 0.8844
AP for car = 0.8965                                                                                AP for cat = 0.8728
AP for chair = 0.7193                                                                                AP for cow = 0.8860
AP for diningtable = 0.7891                                                                                AP for dog = 0.8668
AP for horse = 0.9037                                                                                AP for motorbike = 0.8927
AP for person = 0.8703                                                                                AP for pottedplant = 0.6309
AP for sheep = 0.8535                                                                                AP for sofa = 0.8287
AP for train = 0.8674                                                                                AP for tvmonitor = 0.8397
Mean AP = 0.8373
......

l1_loss is always 0,is it normal?

my l1_loss is also 0 , normal?

me too?

Yes, we only adopt l1 loss in the last 15 epoch when mosaic and mixup are closed

me too?

Yes, we only adopt l1 loss in the last 15 epoch when mosaic and mixup are closed

3thx a lot.

@ruinmessi  Why the eval process not print the outputs?
2021-07-22 17:13:19.695 | INFO     | yolox.core.trainer:save_ckpt:307 - Save weights to ./YOLOX_outputs/yolox_voc_s
2021-07-22 17:14:35.553 | INFO     | yolox.evaluators.voc_evaluator:evaluate_prediction:142 - Evaluate in main process...
2021-07-22 17:16:39.495 | INFO     | yolox.core.trainer:evaluate_and_save_model:298 -
Average forward time: 2.04 ms, Average NMS time: 1.29 ms, Average inference time: 3.33 ms
2021-07-22 17:16:39.497 | INFO     | yolox.core.trainer:save_ckpt:307 - Save weights to ./YOLOX_outputs/yolox_voc_s
2021-07-22 17:16:39.710 | INFO     | yolox.core.trainer:before_epoch:188 - ---> start train epoch11

我的l1_loss也一直是0！！！！

@DataXujing L1_loss只有最后15个epochs才会打开


Error with plugin.google.maps.external.launchNavigation on ios

Hi guys, i was trying to make the plugin.google.maps.external.launchNavigation work on ios and i keep getting the same error.
Besides that, everything works fine.
I Appreciate any kind of help.
 **[Post a bounty on it!](https://www.bountysource.com/issues/10864157-error-with-plugin-google-maps-external-launchnavigation-on-ios?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).

I'm not 100% sure, but it seems the minus sign -on the lat and lng are causing issues. Did you try to put the value inside of "" and pass them as strings, instead of a float?
Could you confirm this? We'll look at this later. And another question: where did you specify camera?
As a super global ?

I've just tested your code. This can't work like this. Please use the externalService like this example:
var fromLocation = new plugin.google.maps.LatLng("-22.5025995", "-45.703958292");
var toLocation = new plugin.google.maps.LatLng("-23.5025995", "-46.703958292");

plugin.google.maps.external.launchNavigation({
  "from": fromLocation,
  "to": toLocation
});

You need to transform your data to a google maps latlng object, the first param is Latitude, the second Longitude.

Worked perfectly using the toLocation as the google maps latlng object.
Thank you Very much

:+1: you're welcome!


cube_shape X and Y must be identical

I found that the dimensions of the X and Y axis set using cube_shape in the configuration JSON file are assumed to be the same in the code: the relative geologic age plots generated in Geomodels.py throw an error when the dimensions are not identical.

Thank you for reporting this!


Link to the blog doesnt work throwing 404 error

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

ID: edea4704-122e-776f-0050-4dc95a666b1f
Version Independent ID: 5792ed7d-f613-8c31-2b7c-65a1181c3efe
Content: Delta Lake resources - Azure Databricks - Workspace
Content Source: databricks/delta/delta-resources.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@aachueva  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

The link appears to be working now. Closing this one out #please-close
https://databricks.com/blog?s=delta


WIP: Adding timeouts to cull/cleanup responses for pushing them down to the comparator

Description

Category: Bug fix/Enhancement
Why these changes are required? See MIGRATIONS-1114
What is the old behavior before changes and new behavior after changes? Some (many) requests would be sent to the target cluster and responses would be received while their contents would accumulate (leak) until the input stream was severed.  Now, once connection ids are NOT observed in the source Traffic Stream for a configurable amount of time, they're cycled out and their responses will be considered to be complete.

Other related changes are also included in this PR.  These include

Capturing a "nodeId" on each TrafficStream object so that we can dedup connectionIds (socket identifiers) and also to manage time horizons on a machine-by-machine basis.
The proxy capture code no longer parses response messages at all.  At present, the capture code also isn't sending close/EOM messages even when the socket was disconnected.  Without that, all transactions should still be flushed by the timeout period.

Issues Resolved
MIGRATIONS-1114
Testing
So far, making sure that unit tests succeed.
Check List

[ ] New functionality includes testing

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

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

See PR-204 for the second part of this, adding expirations to the replayer.


Remove FieldSchemaUnsafe, use FieldSchema

Description
Replace FieldSchemaUnsafe with FieldSchema.
Since FieldSchema does not directly use its types member, the type constain on it can be remove to unify  FieldSchemaUnsafe and  FieldSchema
Reviewer Guidance
The review process is outlined on this wiki page.

Incompatible with new functionality on FieldSchema


Measuring distance and bearing from within a map layer (circle, etc.)

Hello Goker, Thank you for the nice feature! It is very well looking and easy to use.
Perhaps my question is not an issue at all, because this could be according to ruler design. So it could be considered as recommendation.
I have my leaflet map populated with many layers - most of them are circles and semiCircles. What I need is to be able to measure when my start point is in the centre (or within) a circle marker. My problem is that when my cursor is within the area of the marker it is no longer a Cross and it gets back to its default type of pointing finger, which means that Ruler is not active and I cannot start measurement. Whenever I get out of the marker, then Cross is back.
Is there any option to keep Ruler feature active all the time until switched-off from the icon?
Thank you!

Hi @idenchev ,
Sorry for the late response. So if i understand you correctly, the issue is that you cannot start measuring when the cursor is inside a circle. It's true that when you hover on circle, it turns to a pointing finger. But you should still be able to measure. Can you check this link and try to measure? https://jsfiddle.net/wyehg984/7/
If what you want is snap in the middle of the circle, its not possible now but it is a good recommendation!


Xcode 7 Beta 1: Compiler regression - "Expression was too complex..."

See test case 24890 in https://github.com/practicalswift/swift-compiler-crashes/pull/75/. This affected the SMC.encodeSMCKey() type method. The workaround was to break up the expression as the compiler suggested.

Yep, seen this on mine too...

Still doesn't work in Xcode 8 or 9 😄 (Swift 3.1 or 3.2 and seems it needs to be broken up further to compile on Swift 4 from a quick test). Should file a ticket with the Swift folks, though it's likely known as I recall most of test cases from the swift-compiler-crashes project were imported into the main project repo as part of the test suite a while back.


No this type arguments in base constraints

This PR implements the following:

When a base constraint resolves to a type reference, we no longer add a this type argument to the reference. Instead, this type arguments are only added when obtaining apparent types.
When the target side of a type relation check is a conditional type, we ignore instantiations of the same conditional type on the source side (as we may otherwise generate a lot of useless work during variance computation).
When obtaining constraints for tuple types, we only perform substitutions for variadic elements only when the element references a type parameter (as opposed to an arbitrary generic type). This reduces instances of deeply recursive constraints.

With these changes, the repros in #54491 now type check faster than in 5.0.
Fixes #54491.
Fixes #54495.

@typescript-bot test this
@typescript-bot user test this inline
@typescript-bot run dt
@typescript-bot perf test faster
@typescript-bot test top100

This PR also fixes https://github.com/microsoft/TypeScript/issues/54495 , cc @alecgibson

@typescript-bot pack this

@typescript-bot user test tsserver
@typescript-bot test tsserver top100

Apparently this is blocking ts-eslint from upgrading to 5.1; this is intended to be cherry-picked, right? @DanielRosenwasser

Scratch that, it's actually https://github.com/microsoft/TypeScript/issues/54542#issuecomment-1584003833

@typescript-bot cherry-pick this to release-5.1


Add geoprocessing service

#48

@rencesar make sure to push recent local commits

@rencesar, could you take a look at the branch conflicts?

@giancastro @rencesar let's hold off on this PR.  I'm thinking more about GP services and let's meet next week to discuss...closing for now...

@ianthomas23 let's chat about this one

I want to create an example hooked up to Flume: https://flume.dev/