flutter url_launcher plugin integration_test "only web" gives ios device error on Arm64

I am trying to run integration test on url_loader from flutter plugins
I have in installed ChromeDriver for Apple silicon Arm64 from here
Running the driver on port 44:
Run ./chromedriver — port=4444

Opened/run the url_launcher in Android Studio. Now running the integration test:
integration_test/url_launcher_web_test.dart

I get the following in Android Studio test results:
NoSuchMethodError: The getter 'simulatorBundlePath' was called on null.
Receiver: null
Tried calling: simulatorBundlePath

dart:core-patch/object_patch.dart 38:5                             Object.noSuchMethod
package:flutter_tools/src/ios/simulators.dart 385:44               IOSSimulator.installApp
package:flutter_tools/src/ios/simulators.dart 454:18               IOSSimulator.startApp
package:flutter_tools/src/test/integration_test_device.dart 53:52  IntegrationTestTestDevice.start

Thanks @darshankawar
I am running on Apple Silicon arm64, in case it make any different?

Thanks, yes correct, these are the steps.

Sorry, no it is in url_launcher_web and running these tests from the terminal gives:
flutter test integration_test/url_launcher_test.dart
Web devices are not supported for integration tests yet.

and from within Android studio is gives(same as above in the issue description):
NoSuchMethodError: The getter 'simulatorBundlePath' was called on null.
Receiver: null
Tried calling: simulatorBundlePath

dart:core-patch/object_patch.dart 38:5                             Object.noSuchMethod
package:flutter_tools/src/ios/simulators.dart 385:44               IOSSimulator.installApp
package:flutter_tools/src/ios/simulators.dart 454:18               IOSSimulator.startApp
package:flutter_tools/src/test/integration_test_device.dart 53:52  IntegrationTestTestDevice.start

Running this in the terminal, I guess it is not supported for web - sorry I did not see that in Android Studio.

Running this in the terminal, I guess it is not supported for web - sorry I did not see that in Android Studio

I tried the same running from Android studio and received expected result as below:

Can you provide flutter doctor -v ?

"yet", do you know if it is in progress and how do you test you ui then?

I don't have details around it. The message means url_launcher related integration tests doesn't seem to support web for now.
Closing as this is not an issue.


feat(Collapse): Collapse title header template - RenderFragment

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
Collapse title header template - RenderFragment
TitleItemHeaderTemplate
Describe the solution you'd like
Collapse title header template - RenderFragment
TitleItemHeaderTemplate

Additional context
No response

As image show，the bound item data


python37Packages.genanki: 0.8.1 -> 0.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.genanki is: "Generate Anki decks programmatically"
meta.homepage for python37Packages.genanki is: "https://github.com/kerrickstaley/genanki"
meta.changelog for python37Packages.genanki is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.9.0 with grep in /nix/store/2w719gfc7c303h0wb9ynqkry6yzgi064-python3.7-genanki-0.9.0

directory tree listing: https://gist.github.com/62df76e67d91dec2fcd91a4e4e25e985

du listing: https://gist.github.com/6a2ab1ff8a2ea9cc0ad82a9d3458f3e0

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

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python37Packages.genanki
python38Packages.genanki

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2w719gfc7c303h0wb9ynqkry6yzgi064-python3.7-genanki-0.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2w719gfc7c303h0wb9ynqkry6yzgi064-python3.7-genanki-0.9.0
ls -la /nix/store/2w719gfc7c303h0wb9ynqkry6yzgi064-python3.7-genanki-0.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

2 packages built:

python37Packages.genanki
python38Packages.genanki

Maintainer pings
cc @teto for testing.

could you let me push to your branch ? I've a fix for the spacing issue.

@teto As far as tests disabled, could you add at least pythonImportsCheck = [ "genanki" ];?

Result of nixpkgs-review pr 103296 run on x86_64-darwin 1

2 packages built:

python37Packages.genanki
python38Packages.genanki


Few unknown parameters in opt

while running the code I came across listed opt declarations which were not available

simple_radius ( dataset_generic.py)
2)self.opt.cont_fast_focal_loss. (generic_dataset.py line 384)
self._update_oracle(output, batch, opt)  and oracle map in trainer.py .

I commented on these, so code is running awesomely. But I want to know their purpose.
Please help me with these.

Thank you for noting this. These are experimental parameters that are not used in the final version. I have removed them in the latest commit. Please don't mind them. For whom that are curious about them, they are:

simple_radius: a simplified version of get_radius, which involves solving a quadratic equation for 3 cases. See here. The simple version works as good as the original version for detection. I didn't release the simplified version because the models in the model zoo are trained using the original version.
cont_fast_focal_loss: a modified focal loss that applies soft positive loss on all output pixels (the current version only applies positive loss on center pixels). It works considerably worse than the current version.
*oracle: used for the upper bound analysis in CenterNet supplementary. We didn't do this for CenterTrack.


Conditional fields cleared when toggled

Description
When using conditional fields any sub fields are cleared if the field is toggled
Steps to reproduce
Take the following form:
@formField('checkbox', [
    'name' => 'condition',
    'label' => 'Condition',
    'default' => true,
])

@formConnectedFields([
    'fieldName' => 'condition',
    'fieldValues' => false,
])
    @formField('input', [
        'name' => 'text',
        'label' => 'Text',
    ])
@endformConnectedFields

Toggle condition such that it shows the text field
Populate the text field
Toggle condition such that it hides the text field
Toggle condition such that it shows the text field

This also happens for values loaded from the DB:

Toggle condition such that it shows the text field
Populate the text field
Save
Refresh
Toggle condition such that it hides the text field
Toggle condition such that it shows the text field

Expected result
The text field should keep it's populated value
Actual result
The text field is cleared
Versions
Twill version: 2.6.0
Laravel version: 8.78.1
PHP version: 8.1.0
Database engine: MySQL 5.7.34

Hi @freshleafmedia, there is a boolean option to enable this behavior: keepAlive.
https://github.com/area17/twill/blob/2c52660e835b4a8ccd0a517b62380ef8db42d7da/views/partials/form/utils/_connected_fields.blade.php#L14

Ah, was not aware of that, thanks! If I get time I'll create a PR to add it to the docs.
Is there a reason why this is disabled by default?

That's because it is a feature that has been added after the initial implementation, so we did not want to change the default behavior. Twill 3 is an opportunity to update defaults that do not necessarily make sense. Do you feel like it should be enabled by default?

That makes sense.
I do. In my mind changes to the visibility of a field shouldn't affect it's value.


Somatic callig with (-allele-balance-priors-off)

Hi @ekg ,
I am building a pipeline using freebayes to detect somatic mutation in tumor-only amplicon sequencing. I have been using -F 0.03 to detect variants with low-frequency. However, I have been facing some issues. For example, one my variant that have an Allele frequency of 14% in a well covered region (>1000x), is found by Freebayes with very low confidence (QUAL ~= 3-1274_S3). After looking at this thread https://github.com/ekg/freebayes/issues/272, I have re-run my analysis including the -a (-allele-balance-priors-off) parameter, and this allows me to find the same variant with a much higher quality (563).
My question is : What does this parameter do and how does it affect the quality of the variants?
Also if you have other parameters that you can advice according to my context, it would be great!
Thank you very much for your time.

This parameter is weighting the quality by an allele balance metric that is
accumulated across all the samples in the analysis. For a single sample,
this is basically just over-weighting the effect of allele balance skews
that is typically included in the genotype likelihoods. See the
documentation in
https://github.com/ekg/freebayes/blob/master/paper/main.tex for
details (build it with "make"), as this is not described in the preprint
that is serving to give freebayes a DOI.
On Tue, May 23, 2017 at 12:44 PM Klux1rst<EMAIL_ADDRESS>wrote:

Hi @ekg https://github.com/ekg ,
I am building a pipeline using freebayes to detect somatic mutation in
tumor-only amplicon sequencing. I have been using -F 0.03 to detect
variants with low-frequency. However, I have been facing some issues. For
example, one my variant that have an Allele frequency of 14% in a well
covered region (>1000x), is found by Freebayes with very low confidence
(QUAL ~= 3-1274_S3). After looking at this thread #272
https://github.com/ekg/freebayes/issues/272, I have re-run my analysis
including the -a (-allele-balance-priors-off) parameter, and this allows me
to find the same variant with a much higher quality (563).
My question is : What does this parameter do and how does it affect the
quality of the variants?
Also if you have other parameters that you can advice according to my
context, it would be great!
Thank you very much for your time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ekg/freebayes/issues/391, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI4EQ62Ki5OgcQCA_n3uTYRFLqV_a8Hks5r8rifgaJpZM4NjgUQ
.


Replace LaTeX template examples logo.

The invoice logo is still using my personal logo. It would be better if this were replaced with a generic logo.png file.
There will need to be a way to replace the logo too, perhaps reading it from a config file. I'm not sure how to handle dynamic files with pip installs, so I'm open to suggestions.

I'd like to take a look into it

@CedArctic Thanks so much. Let me know if you have any trouble getting the project set up.


Feat: Typography transform="capitalize"

Changes
Make <Typography /> accept transform="capitalize"
Why?
Working on implementing a design for a new <LessonSchedulingRep />:
https://www.figma.com/file/Y9IVAFSurWopQ7d6O2ucdx/Lesson-Rep?type=design&node-id=1-2877

The badges capitalize the words inside.
This particular text comes back as lowercase strings.
This allows them to display as designed without having to split apart the string and transform it in JS.
After:

Before:

I'm going to close this because I wanted to use it inside of a Badge, but right now Badge only takes child text as a string and I don't want to expand that interface just for this.


JSON based input page taxbrain/json

Error messages on failure to parse JSON
If valid JSON but unable to run microsim, present remote error on
failed job page
Input boxes for Calculator, Growth, and Behavior

Resolves #312

This PR should be a reasonable start on JSON input. It has the following features:

On failure to parse entered JSON, the JSON parse error is presented to the user:

and the text box still has whatever text was originally put in so you can fix it.

On correctly parsed JSON but incorrect Tax-Calculator parameters, the error from the work node is propagated back to the web server and presented to the user:

The testing of this new input feature has not been exhaustive, but we could deploy it either to the production site or the test app, if a "bumpy start" is OK. Thoughts @MattHJensen ?

@talumbau, let's deploy to the testing site first. I'm excited to try it out.

@talumbau said about TaxBrain pull request #346:

Resolves #312

Unfortunately, that is not the case.
Issue #312, which is entitled "Add TaxBrain ability to specify run using JSON reform file", is an enhancement request that contains this description of what a "JSON reform file" means:

There is an example of a JSON reform file in the test_incometaxio.py file REFORM_CONTENTS string. And there is a Policy class static method that reads a JSON reform file and returns a dictionary that can be passed to the Policy class implement_reform method.

The above link to the REFORM_CONTENTS string contains the following example of a "JSON reform file":
// Example of a reform suitable for use as an optional IncomeTaxIO reform file.
// This JSON file can contain any number of trailing //-style comments, which
// will be removed before the contents are converted from JSON to a dictionary.
// The primary keys are policy parameters and secondary keys are years.
// Both the primary and secondary key values must be enclosed in quotes (").
// Boolean variables are specified as true or false (no quotes; all lowercase).
{
    "_AMT_tthd": // AMT taxinc threshold separating the two AMT tax brackets
    {"2015": [200000],
     "2017": [300000]
    },
    "_EITC_c": // maximum EITC amount by number of qualifying kids (0,1,2,3+)
    {"2016": [[ 900, 5000,  8000,  9000]],
     "2019": [[1200, 7000, 10000, 12000]]
    },
    "_II_em": // personal exemption amount (see indexing changes below)
    {"2016": [6000],
     "2018": [7500],
     "2020": [9000]
    },
    "_II_em_cpi": // personal exemption amount indexing status
    {"2016": false, // values in future years are same as this year value
     "2018": true   // values in future years indexed with this year as base
    },
    "_SS_Earnings_c": // social security (OASDI) maximum taxable earnings
    {"2016": [300000],
     "2018": [500000],
     "2020": [700000]
    },
    "_AMT_em_cpi": // AMT exemption amount indexing status
    {"2017": false, // values in future years are same as this year value
     "2020": true   // values in future years indexed with this year as base
    }
}

Notice that this JSON reform file has the same structure as the TaxBrain GUI presents to TaxBrain users: the policy parameters are listed first with the timing and magnitude of reform changes listed for each parameter involved in the reform.
But pull request #346 does not implement the requested enhancement because it assumes the primary JSON keys are calendar years, not policy parameters.  This means that pull request #346 implements something that is not only incompatible with the JSON reform files used by the inctax.py and simtax.py command-line interfaces to the taxcalc package, but is inconsistent with the TaxBrain GUI.
Because there never was any discussion of the pros and cons of rejecting the enhancement request in issue #312, it would appear that the nature of pull request #346 is based on an oversight.  If so, then that oversight needs to be corrected.  If not, why was enhancement request #312 rejected without any discussion?
@MattHJensen

Ah, I see now. Yes, I did not dig in to the details here and was unaware the request was to support this new input format. A lot of the work of this PR needed to be done anyway to support the actual requested feature, so it seems like there is just a bit more to do. Seems reasonable to use Policy.read_json_reform_file to translate the JSON into a dictionary that can be passed to Policy.implement_reform. What about parameters for Behavior and Growth objects  that a user can currently specify via TaxBrain? In this PR, I just added additional boxes for specifying those parameters via JSON. Options that occur to me would be as follows:

take away those boxes and don't allow that kind of input for now
keep those input boxes and allow the standard JSON input mechanism for those parameters
keep those input boxes and create input process functions for Behavior and Growth parameters that are similar to Policy.read_json_reform_file.

Those options are in order of least effort, so the easiest way to get this feature in to production would be to do the first option. Thoughts @martinholmer @MattHJensen ?

@talumbau said:

What about parameters for Behavior and Growth objects that a user can currently specify via TaxBrain? In this PR, I just added additional boxes for specifying those parameters via JSON. Options that occur to me would be as follows:

take away those boxes and don't allow that kind of input for now
keep those input boxes and allow the standard JSON input mechanism for those parameters
keep those input boxes and create input process functions for Behavior and Growth parameters that are similar to Policy.read_json_reform_file.

Those options are in order of least effort, so the easiest way to get this feature in to production would be to do the first option.

I vote for option 1.  That way we can get experience with the JSON reform files while thinking about the best approach to Behavior and Growth parameters.
@MattHJensen

I vote for option 1. That way we can get experience with the JSON reform files while thinking about the best approach to Behavior and Growth parameters.

👍

some progress here. If this PR is merged, we can have error messages like this:

@talumbau said:

some progress here. If this PR is merged, we can have error messages like this ...

Because I was making other changes to the Policy class read_json_reform_* methods, I have incorporated your PR's ideas into PR 958 and merged 958.  So, now the Tax-Calculator master branch can support this kind of error message.

@talumbau is proposing this kink of invalid-JSON error message in TaxBrain:

But I thought our prior discussion suggested that TaxBrain could offer a much more user-friendly approach (say, by putting the text box cursor at the first JSON error or by showing the line number and column number of the first JSON error).  I was envisioning TaxBrain catching JSON errors before calling one of the Policy.read_json_reform_* methods, so that this go-to-jsonlint.com message would never come up on TaxBrain.
@MattHJensen

If the expected input is only JSON, we can provide the error messages from the Python JSON parser to the browser. However, my reading of the issue is that the intention is to be able to provide non-JSON text. So, for example, an allowed input is supposed to be:
{
"_AMT_tthd": // AMT taxinc threshold separating the two AMT tax brackets
    {"2015": [200000],
     "2017": [300000]
    }
}

So, we just propagate this text to the backend and let Policy.read_reform_file read the text. Any error raised by this function is displayed. If I just use the error from the JSON parser on the above text, I would just get:
ValueError: No JSON object could be decoded

@talumbau said:

If the expected input is only JSON, we can provide the error messages from the Python JSON parser to the browser.  However, my reading of the issue is that the intention is to be able to provide non-JSON text.

All TaxBrain needs to do is replace the //-comments with a blank space (that is one Python statement) and then feed the resulting text into the JSON parser.  Won't that work?  The line and column numbers will be the same with or without the //-comments.
@MattHJensen

All TaxBrain needs to do is replace each //-comment with a blank space (that can be accomplished using just one Python statement) and then feed the resulting text into the JSON parser. Won't that work? The line and column numbers will be the same with or without the //-comments.

This is a bad idea.
It's almost never the right answer to create one's own language or data format to solve a problem. Similarly, it's almost never the right answer to slightly modify an existing data format to solve a problem, because what has actually happened is that one has actually created a new data format anyway.
If this input format (JSON plus some ad-hoc commenting scheme) is useful for someone's purposes, I'm not going to object if it doesn't disrupt the use cases that I need to function properly, but this is not code that should go in this repository.
I have been down this route multiple times in multiple projects with extended lifetimes. Inevitably, this custom parsing behavior expands to include additional items, which are then solved with additional regular expressions, which never completely solve the problem because your users will find unintended ways to use the notation. You will then need to solve these additional use cases with yet more special cases and additional regular expressions.
If we go down this path, we will have the code to remove the // comments in two places. When this current scheme is found to be deficient in some way (which will happen), any change will have to occur in the web application and in Policy.read_json_reform_text. It's unlikely these will stay in sync unless someone remembers to change them both simultaneously.
In its current form, Policy.read_json_reform_text swallows the JSON parse error after the custom regular expressions processing. It would seem reasonable to augment this function as follows:
     try:
            reform_dict_raw = json.loads(json_without_comments)
     except ValueError as ve:
            msg = 'Policy reform text contains invalid JSON:'
            txt = ('\nTO FIND FIRST JSON SYNTAX ERROR,\n'
                   'COPY TEXT BETWEEN LINES AND '
                   'PASTE INTO BOX AT jsonlint.com\n')
            line = '----------------------------------------------------------'
            txt += line + '\n'
            txt += json_without_comments.strip() + '\n'
            txt += line + '\n'
            raise ValueError(msg + str(ve) + txt)

so basically we just capture the ValueError object from json.loads and add its contents to the final error message. This would allow the user to get the parse error. When I run my PR with a version of Tax-Calculator master with the single change above and this input (intentionally adding a single quote instead of a double quote):
{
"_AMT_tthd': // AMT taxinc threshold separating the two AMT tax brackets
    {"2015": [200000],
     "2017": [300000]
    }
}

I generate this output:

I can create the PR on Tax-Calculator for this change.

Remaining items:

[ ] "Edit Parameters" takes one back to JSON input page
[ ] File upload widget

Actually, because the ultimate use case is to upload a file, we will have no "Edit Parameters" button on TaxBrain results that come from a JSON uploaded file. If we support an "Edit Parameters" button, it would defeat the purpose of having a file upload anyway, because we would take the user back to a text box full of the contents of the file, which is what this PR already supports and what we are deprecating in favor of file upload. Let me know if that doesn't sound right @MattHJensen

Actually, because the ultimate use case is to upload a file, we will have no "Edit Parameters" button on TaxBrain results that come from a JSON uploaded file. If we support an "Edit Parameters" button, it would defeat the purpose of having a file upload anyway, because we would take the user back to a text box full of the contents of the file, which is what this PR already supports and what we are deprecating in favor of file upload. Let me know if that doesn't sound right @MattHJensen

I think it is important for the user to have some way to see what reform is modeled.
Our future plan is to make the reform visible from every output page, and not just the input page -- when that is complete, this won't be so important.
But for now our only means of showing the user what parameters were changed is for the user to click "edit parameters".
An ideal option (I think) would be to keep the text boxes and just have the json appear in the text box when the user uploads the file initially. Then, when he user clicks "edit parameters" it would makes sense to go back to the text box.
Given that I don't know how tricky the above would be, another option would be to change "edit parameters" to "see parameters" for these runs and then just display the uploaded json as text on a pager.
@talumbau, what do you think about all this? @martinholmer might have some other ideas too since he's given a lot of thought to this feature.

Ah, good point. Yes, I like the idea of displaying the text that the user uploaded. That's the easiest to do right now. The "load file and display text in text box, then submit" story is a bit involved on the javascript side. So, if we just started with "upload file -> submit -> display results with file text also displayed" that would provide some good utility right now, correct? @MattHJensen @martinholmer

So, if we just started with "upload file -> submit -> display results with file text also displayed" that would provide some good utility right now, correct? @MattHJensen @martinholmer

Yes, I think that is a useful first step.

@martinholmer @MattHJensen this is what the results page will include on TaxBrain runs generated from a file upload:

@talumbau, do we need to drop the "edit parameters" button too?

yep, I just did that after I uploaded the screenshot. Got ahead of myself!

@talumbau said:

[T]his is what the results page will include on TaxBrain runs generated from a file upload:

Looks fine assuming the uploaded file was formatted that way.  Thanks for all the work on this.


Is there a way to get all keys of one namespaced storage?

For localStorage we can use Object.keys(localStorage) to get keys of all stored entries.
But this plugin seem like does not have this function.
Another important function might be needed is clear() since iOS never clean up keychain items even after app been uninstalled. But if I can get all the keys, I can implement that easily.
Update: seems like implement reset/clear function natively is much easier than enumerate stored keys.

A pull request will be welcome, I am sure others will chime in and provide android/windows support.

The keys method is already implemented for android. It only needs to be exposed.

@demetris-manikas cool, I saw both keys and clear are implemented for android.
Let me try to add iOS implementation and expose them.
I'm not sure how to unit test cordova plugin yet, I will try testing after I make them works.

@ggozad I'm working on my branch which added keys and clear methods, and I will give you a PR after my code been tested.  https://github.com/yyfearth/cordova-plugin-secure-storage/commits/feat-clear-keys
Since it is my first time to write ObjC code, I'm not that confident before somebody else tested my code.
@demetris-manikas I have exposed it in my branch https://github.com/yyfearth/cordova-plugin-secure-storage/commit/2f7144a70f5317e72673fb3604737b3beeaca902
@sgrebnov Hi, since you have implemented the windows version, could you help me check my newly added code works or not? https://github.com/yyfearth/cordova-plugin-secure-storage/commit/80cbba2f87da9e01258645132f903d93ad240d50
I have no experience to write code for windows 10 before, and I do not have any environment setup for me to test it either.

I will review everything once you are done, there's a first time for everybody nothing to worry about :)
Please make sure you add a test that the others can test against too.


Expose SMIRNOFFXXX classes through public API

Description
The family of SMIRNOFFXXX classes (e.g. SMIRNOFFBondCollection, SMIRNOFFAngleCollection) are currently returned to the user via interchange objects, but the classes aren't technically 'visible' via the public API that I can see.
This seems like a slight idiosyncrasy in general, but in my case means if I try to do something with one of these in a function (for example compute an energy) I need to use an 'internal' type as a type hint which makes my linter complain.

Hmm, I have them "private" so I can muck around with them and not officially break the API ... but I see how that's arguably a lost cause given where they're exposed in the core object.

Yeah I can definitely understand the hesitation there! But thanks, looks like this was nicely closed by #815


Automatic ksp_verison bumps make mods not installable on N-1 KSP

This is kind of an annoying ksp_version bump:
https://github.com/KSP-CKAN/CKAN-meta/commit/ba3ff39bd2bc89dc24bfee5cfac7922a4c50b4d1#diff-c5ec697dca8bc261d2d8a3c94f3ac216
The files haven't changed, the hashes haven't changed, the ksp_version has been bumped though and a mod that worked fine on 1.1.2 is no longer installable now that 1.1.3 is out.
I suspect that without any other information that netkan is just assuming the latest version of KSP.  But it should check that it already has metadata and that the file has not been updated -- and then really it should write out ksp_min_version and ksp_max_version in order to bracket the versions appropriately.  Once a sha changes then the version floor should be updated and the ksp_version should be written out.

The issue here is that it is taking the metadata from Spacedock, and the maintainer of the mod told Spacedock that it is for KSP 1.1.3 rather than 1.1.2. We can add a netkan override to allow it in both cases, but that would be us overriding author-specified metadata.

Yeah, okay, lets not, lets educate mod authors better...


videoFormatNV12

Are there any plans to support videoFormatNV12?
It is the output format of DXVA processing.
As far as i see only videoFormatI420 is supported

no plan to support NV12 format now. thanks!


The PRs before this switch from the registerIncomingCall flow to just emitting actions so we can handle things w/ our sagas in a similar way and reduce a bunch of boiler plate
This PR handles the rarer case where we want to handle an incoming call with an action, yet we still want to handle the response ourselves.
The simplest way to do this was to register the method which tells the engine just to not auto respond
This does touch some super old rarely used flow so lets merge after the release

[ ]  after release

@keybase/react-hackers @jzila @songgao

@keybase/react-hackers bump

@keybase/react-hackers bump


Click and collect

Related to: SALEOR-2992 Click&Collect
I want to merge this change because it adds click and collect functionality to Saleor
Impact

[x] New migrations
[x] New/Updated API fields or mutations
[x] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[x] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2992 Click&Collect

WE should also update populate db, to generate at least one warehouse with available as Click&Collect.

@kuchichan Please add a changelog entry in the 3.1 section.


Add DEX trades

Please describe the problem that your request should resolve.

Describe the solution you'd like

Is it already possible to achieve the same outcome in any other way? If so, how?

Additional context

A new tab called "DEX Trades" should be added in the token page.
Reference:
https://etherscan.io/token/0x50327c6c5a14dcade707abad2e27eb517df87ab5#tokenTrade

@michele-franchi to add table columns

Mdw issue: https://github.com/aeternity/ae_mdw/issues/1580
Check if it is possible to get all DEX trades related to a token. @janmichek

Not currently possible.
Tracking: https://github.com/aeternity/ae_mdw/issues/1603

Not currently possible. Tracking: aeternity/ae_mdw#1603

This got resolved, but I found new issue with DEX, providing the pair
https://dex-backend-mainnet.prd.service.aepps.com/pairs/swap-routes/ct_2U1usf3A8ZNUcZLkZe5rEoBTxk7eJvk9fcbRDNqmRiwXCHAYN/ct_J3zBY8xxjsRr3QojETNw48Eb38fjvEuJKkQ6KzECvubvEcvCa


Remove duplicated containers

Duplicated containers (frontend::containers) are removed from most of files.
FnRef is replaced with u64 (function address) in analysis::interproc.
To fix analysis, the procedure of memoryssa in minidec is commented out.

SGTM, please rebase this against master.

@kriw Um, are the commits in this PR duplicated in #137? Some commit messages seem to be the same.

Just a simple rebase will solve it.


Crash bug: Seems to happen when swapping with wait time around 20-40%

Crash log see https://gist.github.com/RichiH/aefd6350a90ae1561b21

Are you sure you didn't OOM?

I am not.

Seems to be cut off at the top, so I am closing it. Sorry for the noise.

Jftr, it was not OOM.


[ARM] az deployment operation: Redirect to az deployment operation

Description
We have a deprecation info for 'az deployment operation' to redicrect to 'az deployment operation sub'. Today the issue is that notice is returned for the other sub groups in 'az deployment operation'. e.g. you see the notice even for 'az deployment operation group'.
The PR is a fix for that issue.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

add to S169

add to S170

Hi @Tiano2017 , it is already done in https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/resource/commands.py#L259-L263.


Grouping by attribute rather than groupId

I am trying to organize the nodes visually based on a selected attribute. It seems this is mostly done by group.... and vis network naturally somehow groups same group closer together. Is there a way to override that to return an attribute other than groupId?
like if I had a network of people and wanted to show all the same timezone together in a group.. and timezone is an attribute on the node.. how can that be done.
I have searched the examples.
I have learned to cluster by an attribute .. but that just makes a single node. .what I need is a visual similar to the World Cup visualization.
thanks in advance!!
This is not an 'issue' . just asking for help.. but not sure how to tag it other than issue.. thats the option that is presented to me.

Did you find a solution for this?


Update Composer dependencies (2023-09-08-00-13)

Visual regression test passed!
View the visual regression test report


Values are not well rounded

Hi,
Rounding values with 3 decimals is not working properly.
When I have a value e.g. 9.075. It round's to 9.07 and not 7.08.

Can you give me sample configuration that you used @Roywcm ?

Actually, it's also accuring in your demo: https://mazipan.github.io/vue-currency-filter/ :)
My configuration is:
Vue.use(VueCurrencyFilter,{
    symbol : '€',
    thousandsSeparator: '.',
    fractionCount: 2,
    fractionSeparator: ',',
    symbolPosition: 'front',
    symbolSpacing: true
});

Has been opened issue in accounting.js
https://github.com/openexchangerates/accounting.js/issues/195
I will help to investigate, is this coming from accounting.js or wrong usage from this library.

Close in version 2.1.2


[BUG] Youtube stop playing video when change to Full Screen mode

When i am playing youtube in portrait mode then change it to full screen (landscape) mode, the video get paused instead of continue playing the video.
How To Reproduce

Play video in portrait mode
Click full screen button during playing video
Video stopped

Expected behavior

Play video in portrait mode
Click full screen button during playing video
Video continuing from previous state

+1

+1

It is not a bug really.
Add this to the initialization code:
youtubePlayerController.onEnterFullscreen = () {
        SystemChrome.setPreferredOrientations([
          DeviceOrientation.landscapeLeft,
          DeviceOrientation.landscapeRight,
        ]);
      };

      youtubePlayerController.onExitFullscreen = () {
        SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
        Future.delayed(const Duration(seconds: 1), () {
          youtubePlayerController.play();
        });
        Future.delayed(const Duration(seconds: 5), () {
          SystemChrome.setPreferredOrientations(DeviceOrientation.values);
        });
      };

It is not a bug really.
Add this to the initialization code:
youtubePlayerController.onEnterFullscreen = () {
        SystemChrome.setPreferredOrientations([
          DeviceOrientation.landscapeLeft,
          DeviceOrientation.landscapeRight,
        ]);
      };

      youtubePlayerController.onExitFullscreen = () {
        SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
        Future.delayed(const Duration(seconds: 1), () {
          youtubePlayerController.play();
        });
        Future.delayed(const Duration(seconds: 5), () {
          SystemChrome.setPreferredOrientations(DeviceOrientation.values);
        });
      };

I tried on my end. When enter the full screen mode, video is replayed from the beginning. How could video played from the previous state? Should I add some listener or how could I implement that?

facing the same issue. I am guessing a callback is not being returned properly

Well...

It is not a bug really.
Add this to the initialization code:
youtubePlayerController.onEnterFullscreen = () {
        SystemChrome.setPreferredOrientations([
          DeviceOrientation.landscapeLeft,
          DeviceOrientation.landscapeRight,
        ]);
      };

      youtubePlayerController.onExitFullscreen = () {
        SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
        Future.delayed(const Duration(seconds: 1), () {
          youtubePlayerController.play();
        });
        Future.delayed(const Duration(seconds: 5), () {
          SystemChrome.setPreferredOrientations(DeviceOrientation.values);
        });
      };

You're sure, what isn't bug? Cause i want continue playing video from the same moment when i open full-screen and vice versa.
But if video is canceled and i change my orientation, it's start again.
Not an expected behavior. So?..

Is this fixed yet? Any workaround?

I am having the same issue.
when i change to landscape the video gets stopped and when i try to play the video, its start from the begining.

its written in the docs
For FullScreen Support
If fullscreen support is required, wrap your player with YoutubePlayerBuilder

YoutubePlayerBuilder(
    player: YoutubePlayer(
        controller: _controller,
    ),
    builder: (context, player){
        return Column(
            children: [
                // some widgets
                player,
                //some other widgets
            ],
        );
    ),
),


LLVM version

Hi, Zhengyao
 Thank you for your code. Which LLVM version do you use?

Hi @ycaibb sorry for the late response. I believe I was using LLVM-8.0.1 at the time.


epiphany: fix tls support

Motivation for this change
Add SSL and TLS support.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks!


Path-to-regexp vulnerability<EMAIL_ADDRESS>›<EMAIL_ADDRESS>

Hi,
here is the CVE issue
https://www.cve.org/CVERecord?id=CVE-2024-45296
Thanks,

Hi, I am sorry I do not understand what you are attempting to achieve with this issue. Can you explain?

Express 4 and 5 have already been patched if you update.


systemd support

Could you please include systemd service files for this?

@Keridos I have it working with systemd, but am currently at work and cannot provide the unit file. Will do that tonight.

Thanks @mboeru !

Forgot about this last night :)
here is the file: https://gist.github.com/mboeru/71a62aa87eaab8eab0e4
Place it in /etc/systemd/system/maraschino.service
and then do
systemctl enable maraschino.service
and you should be good to go


Improve UX

Hey @HHTC0
I published beta version with new functionality. Could you please try and check the new version?
pip install first-breaks-picking==0.3.0b0

Changelist:

Show info about spatial positions for traces
Load and plot picks from file
Add different scaling options
Add the possibility to setup how to save first breaks in headers (byte, encoding, units)
Add different visualization options

To install beta pip install first-breaks-picking==0.3.0b0

Hi @DaloroAT, I have tested it now. Apologies I could not respond you earlier due to some additional workload this and next week.

Show info about spatial positions for traces - worked however it did not displayed traces at correct position when plotting. It still kept the traces at regular spacing. Let's say I have receiver at 6, 8, and 12 with 10m missing. It should display the missing trace rather regular spacing between 6, 8 and 12m.
Load and plot picks from file - worked
Add different scaling options - worked. If possible, if you can allow scale value input that allow entering value rather than scroll. E.g., 10 cm/sec or 20 cm/sec or in inches. Also, similar entry for trace density adjustment can be helpful.
Add the possibility to setup how to save first breaks in headers (byte, encoding, units) - worked
Add different visualization options - worked

Thanks again for your excellent work!

@HHTC0 Glad to hear it worked out well!

worked however it did not displayed traces at correct position when plotting. It still kept the traces at regular spacing. Let's say I have receiver at 6, 8, and 12 with 10m missing. It should display the missing trace rather regular spacing between 6, 8 and 12m.

I see, you want to put traces on some spatial grid, instead of plotting them sequentially with corresponding labels. In other words, the horizontal axis should be an axis in the mathematical sense, not just a place to put values.

If possible, if you can allow scale value input that allow entering value rather than scroll. E.g., 10 cm/sec or 20 cm/sec or in inches. Also, similar entry for trace density adjustment can be helpful.

Scrolling by the mouse wheel allows you to zoom in and zoom out for X and T axes simultaneously. But you also can zoom/stretch/scale them separately. You need to press and hold the Right button, then move the mouse vertically to scale T or horizontally to scale X, or in both directions. A precise movement of the mouse diagonally will give an effect similar to scrolling with the mouse wheel. Is that what you want?

@HHTC0 could you check mouse interaction?

Just tested - works fine for panning, scaling and spacing adjustment. Well done!

@DaloroAT if you planning to develop it further. Having a BPF would be helpful for time picking.

Bandpass filter? Yes, I can do it. Unfortunately, the development is taking a long time, since I can only work on the project on weekends.
Could you list common tools for time picking and tomography? It would be convenient to know ahead of time in order to better design the project.

@DaloroAT yes, bandpass is helpful when dealing with noisy data. Low pass is mainly required. No urgency.
Regarding time picking tools, can you please elaborate further?

Regarding time picking tools, can you please elaborate further?

Yes, but please be more specific

@DaloroAT the neural network is doing great job in initial picking. The manual time picking has already added ease of refining were required. Most of the borehole seismic time picking tool does allow picking on peak, trough, or inflection point tangent.
Additionally, having the ability to reject a trace could be another useful functionality.


Salma and Youssef Voices

Does Acapela Salma and Youssef voices work on Wrapper Offline?

@RegularSpark close this


Database call logs cannot be found in Correlation logs in APIM 4.1.0

Description
The Database call logs cannot be found in Correlation logs in APIM 4.1.0 as given in this documentation [1].
[1]. https://apim.docs.wso2.com/en/latest/observe/api-manager/monitoring-correlation-logs
Steps to Reproduce
Start the server with flag -DenableCorrelationLogs=true
Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Closing this issue since the master fix has already been added.


Allow py -3.12 to run

No suitable Python runtime found
Pass --list (-0) to see all detected environments on your machine
or set environment variable PYLAUNCHER_ALLOW_INSTALL to use winget
or open the Microsoft Store to the requested version.

Set
$env:PYLAUNCHER_ALLOW_INSTALL = 1

to allow this install to run

reopen or create new issue for when i encounter this


Manual instructions out of date

I've been trying the manual installation and ran into a number of hiccups.
Latest Script
The instructions for manually installing Lattice say to:

Run the installer script

$ sudo ./install-from-tar collocated lattice.tgz

But the install-from-tar script has been updated and the first argument is now the tarball name, so following the instructions you get:
$ sudo ./install-from-tar collocated lattice.tgz
tar: collocated: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Missing Dependencies
Looks like jq and lighttpd and lighttpd-mod-webdav are also a requirement.
$ sudo ./install-from-tar lattice.tgz
./install-from-tar: line 14: jq: command not found
./install-from-tar: line 14: jq: command not found
./install-from-tar: line 14: jq: command not found
./install-from-tar: line 24: /etc/init.d/lighttpd: No such file or directory

Later on:
Installing cflinuxfs2 rootfs...
done
 * Starting web server lighttpd                                                                                2015-09-24 10:41:02: (plugin.c.169) dlopen() failed for: /usr/lib/lighttpd/mod_webdav.so /usr/lib/lighttpd/mod_webdav.so: cannot open shared object file: No such file or directory
2015-09-24 10:41:02: (server.c.679) loading plugins finally failed

cflinuxfs2 Not Downloaded
I kept running into:
$ sudo ./install-from-tar lattice.tgz
 * Stopping web server lighttpd                                                                                [ OK ]
Installing cflinuxfs2 rootfs...
mv: cannot stat ‘/var/lattice-image/rootfs/cflinuxfs2’: No such file or directory

It turns out the lattice-image is never downloaded, but it's part of the Terraform script
Lattice starts But Can't Deploy
Lattice starts up but I couldn't deploy to it and ltc test -v was failing with something like this gist of the output.  If you start again from scratch and make sure to install btrfs-tools Lattice starts up and deployments work.
I couldn't find the lattice.cf website on github, otherwise I'd send a PR :wink:

Looks like jq is also a requirement.
$ sudo ./install-from-tar lattice.tgz
./install-from-tar: line 14: jq: command not found
./install-from-tar: line 14: jq: command not found
./install-from-tar: line 14: jq: command not found
./install-from-tar: line 24: /etc/init.d/lighttpd: No such file or directory

Thanks.  Good catch.  I'll work on getting this updated.
We are working on getting the website open-sourced so that we can accept contributions. But, I'd be thrilled if you'd be willing to sketch out how you made it work on this issue so I can put it onto the website.

@davidwadden well I got it installed, but unfortunately it doesn't seem to be running properly. When I run ltc test -v all the tests fail. Here's a gist of the output.
I've set up all the http/https proxy stuff correctly, put it in the lattice environment, etc. From the output, it says not enough resources which is definitely not the case:
$ df -h
Filesystem                      Size  Used Avail Use% Mounted on
/dev/mapper/lattice01--vg-root   73G  3.8G   65G   6% /
none                            4.0K     0  4.0K   0% /sys/fs/cgroup
udev                            3.0G  4.0K  3.0G   1% /dev
tmpfs                           597M  508K  597M   1% /run
none                            5.0M     0  5.0M   0% /run/lock
none                            3.0G     0  3.0G   0% /run/shm
none                            100M     0  100M   0% /run/user
/dev/sda1                       236M   66M  158M  30% /boot
$ free -m
             total       used       free     shared    buffers     cached
Mem:          5969       2242       3726          0         75       1896
-/+ buffers/cache:        271       5698
Swap:         6139          0       6139
$ w
 11:49:45 up 32 min,  1 user,  load average: 0.00, 0.01, 0.05
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
virtuser pts/0    <IP_ADDRESS>     11:16    7.00s  0.10s  0.00s w

I'm rather stumped at this point :disappointed:

Error, could not place all instances: insufficient resources. Try requesting fewer instances or reducing the requested memory or disk capacity.

[build-droplet] Build failed: found no compatible cell

These both generally mean there's no rep joined to the cluster that thinks it can handle the requested RootFS.  Backing store already existing shouldn't be a fatal error.  That can happen on reboot I believe, any time garden-linux starts on an already-provisioned server.
Can you run /var/lattice/cell_health_check and /var/lattice/brain_health_check to show what services are running?
And can you give a directory listing of /var/lattice too so I can see if brain_ready and cell_ready files are there?

Note, I'm seeing the same behaviors (missing requirements and failure to grab cfslinux2) on a clean install.

@davidwadden I found out the issue was I didn't have brtfs-tools installed. I started fresh, installing everything mentioned in the main issue, including brtfs and everything worked. I was able to build and launch droplets! I'll post back tomorrow with the full solution.
@mcowger in this particular case garden-linux wasn't starting successful, hence nothing was listening on port 7777. I dug into the upstart script and that's what led me to the brtfs solution.

I think I'm missing some part of your solution.
I installed the extra requirements, manually grabbed the stack and edited the install file to make use of them:
sudo apt-get update
sudo apt-get -y install curl gcc make quota linux-image-extra-$(uname -r) jq lighttpd lighttpd-mod-webdav btrfs-tools
wget https://github.com/cloudfoundry/stacks/releases/download/1.6.0/cflinuxfs2-1.6.0.tar.gz^
mv cflinuxfs2-1.6.0.tar.gz /tmp/
curl http://lattice.s3.amazonaws.com/releases/backend/lattice-latest.tgz -o lattice.tgz

edit install-from-tar:

      mkdir -p /var/lattice-image/rootfs/cflinuxfs2
      tar -xzf /tmp/cflinuxfs2-1.6.0.tar.gz -C /var/lattice-image/rootfs/cflinuxfs2

sudo ./install-from-tar lattice.tgz

The cluster seems to start, and I can target the system just fine:
 % Projects/gce-lattice/ltc target <IP_ADDRESS>.xip.io                                                                                ~ hex
API location set.

But all my tests fail with 502 errors from the gateway.  It seems to claim the containers are running (and ltc list and xray.cf seem t0 confirm:
[create] lattice-test-app-a264524c-0903-4a86-568f-e8d78913246f is now running.
[create] App is reachable at:
[create] http://lattice-test-app-a264524c-0903-4a86-568f-e8d78913246f.<IP_ADDRESS>.xip.io
[create] http://lattice-test-app-a264524c-0903-4a86-568f-e8d78913246f-8<IP_ADDRESS>.65.xip.io
[test] Yay! Created lattice-test-app-a264524c-0903-4a86-568f-e8d78913246f
[test] Polling for the appRoute lattice-test-app-a264524c-0903-4a86-568f-e8d78913246f.<IP_ADDRESS>.xip.io

[snip]

    Timed out after 120.002s.
      Expected error:
          <*errors.errorString | 0xc208118fd0>: {
              s: "Status code 502 should be 200",
          }
          Status code 502 should be 200
      not to have occurred

Thoughts?

@mcowger sorry, I'm installing Lattice 0.4.3 not 0.4.4. Not sure if 0.4.4 works or not, sorry! Try 0.4.3 maybe?

I updated the website with what you figured out above.  the 502 means the app isn't registering a route with gorouter, as you found.  that can happen for variety of reasons .. usually when healthcheck fails.
what if you run ltc cells ?

@davidwadden the website docs are looking great. I did notice that the instructions are to call install-from-tar collocate, but I don't believe that script takes that argument anymore...

@amaltson I made the change you requested.  The manual instructions should be up to date to work with the current and next release v0.5.0.
As a heads up, in the future, you'll need to use packer in order to provision an existing VM over SSH via packer-bosh, and the presently-documented process will not work.  As we re-work some of Lattice's internals, there may be releases that don't support this process.
@mcowger Please open a new Github issue if you're still having issues.

@davidwadden great thanks! Will the packer based approach work for manual cluster setup? I hope the packer approach also continues to work with http proxies...

Packer supports an SSH provisioner, which we are looking at to possibly replace this functionality.  We also have the outstanding question about how to support platforms that don't allow us to publish public base images (similar to an AMI or vagrant box) -- this includes both DigitalOcean and Google Compute Engine.
As we implement this, we may "break" manual installs and these other non-base image supporting platforms while we work through it.  Can I have some more details about your use case that requires manual cluster setup?  Are you on vSphere or do you have a specific platform you're doing this on?  Are these collocated single cell installs or multi-cell?
And, we'll make sure provisioning continues to work behind proxies..

For me the biggest part of the Manual setup is being able to use a cloud provider (AWS, gce, etc) to build a collocated single cell design.   None of the current terraform designs allow for that.

On Oct 2, 2015, at 5:01 AM, davidwadden<EMAIL_ADDRESS>wrote:
Packer supports an SSH provisioner, which we are looking at to possibly replace this functionality. We also have the outstanding question about how to support platforms that don't allow us to publish public base images (similar to an AMI or vagrant box) -- this includes both DigitalOcean and Google Compute Engine.
As we implement this, we may "break" manual installs and these other non-base image supporting platforms while we work through it. Can I have some more details about your use case that requires manual cluster setup? Are you on vSphere or do you have a specific platform you're doing this on? Are these collocated single cell installs or multi-cell?
And, we'll make sure provisioning continues to work behind proxies..
—
Reply to this email directly or view it on GitHub.


.NET Core: tasks built against v14 contracts don't load on v15

Problem
Trying to build a task using the Microsoft.Build.Utilities.Core, <IP_ADDRESS> contracts that will run on MSBuild 14 or 15. This works on .NET Framework version of MSBuild. The .NET Core version throws when loading the task.
Repro
Create a task compiled to netstandard1.3 using https://www.nuget.org/packages/Microsoft.Build.Utilities.Core/14.3.0-prerelease02
Import task via <UsingTask>
Error

Microsoft.AspNetCore.Server.IISIntegration.Tasks.targets(27,9): error MSB4062: The "Microsoft.AspNetCore.Server.IISIntegration.Tasks.TransformWebConfig" task could not be loaded from the assembly build\netstandard1.5\Microsoft.AspNetCore.Server.IISIntegration.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621) Confirm that the  declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Setup Info
Using version of MSBuild in .NET Core SDK 1.0.0-preview3-003585

Are you running this under MSBuild.exe?  We rely on assembly redirects in our app.config.  Or is this in your own app?

I'm using dotnet.exe build3.

We definitely need this on our radar @AndyGerlicher and @rainersigwald

Here is minimal repro:
tasks.zip

I am under the impression that .NET Core happily ignores version numbers. @natemcmaster do you have copies of the 15.1 assemblies next to your application to get loaded?

Btw, here's the stack trace:

```
"C:\Users\namc\dev\tasks\hello.proj" (default target) (1) ->
(Build target) ->
  C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018: The "SayHello" task failed unexpectedly.\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Build.Framework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018: File name: 'Microsoft.Build.Framework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileLoadException: Native image cannot be loaded multiple times\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)\rC:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at Microsoft.Build.Shared.CoreClrAssemblyLoader.LoadAndCache(String fullPath)\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at Microsoft.Build.Shared.CoreClrAssemblyLoader.AppContextLoad(AssemblyName assemblyName)\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at Microsoft.Build.Shared.CoreClrAssemblyLoader.Load(AssemblyName assemblyName)\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at My.Tasks.SayHello.Execute()\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()\r
C:\Users\namc\dev\tasks\hello.proj(4,7): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.d__25.MoveNext()
```

@rainersigwald my task doesn't have Microsoft.Build binaries alongside the task library. I would assume custom tasks don't need to ship the Microsoft.Build.*.dll binaries.
But hypothetically, even if tasks provide the Microsoft.Build.* contracts alongside my custom task, wouldn't this cause a problem with type unification?

Ahh, so the problem is we need to do manual type unification for our own assemblies?
@tmeschter does this sound familiar to you?

This sounds like it might be handled by the fix I made for #750: 7d312b5d. With that change we default to asking the default AssemblyLoadContext to handle the load, and only look for it ourselves if that fails. That should allow everyone to end up with the same Microsoft.Build.Framework, assuming it can be loaded by the default context.

@natemcmaster I think you're basically stuck until dotnet.exe picks up my fix.

Ok, will check again when the next update lands.

I just tried again with the version of MSBuild in CLI 1.0.0-preview3-003748 and I'm still getting the error.

C:\Users\namc\dev\IISIntegration\src\Microsoft.AspNetCore.Server.IISIntegration.Tasks\build\netstandard1.0\Microsoft.AspNetCore.Server.IISIntegration.Tasks.targets(29,9): error MSB4062: The "Microsoft.AspNetCore.Server.IISIntegration.Tasks.TransformWebConfig" task could not be loaded from the assembly C:\Users\namc\dev\IISIntegration\src\Microsoft.AspNetCore.Server.IISIntegration.Tasks\build\netstandard1.0\Microsoft.AspNetCore.Server.IISIntegration.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file.

@tmeschter the new change to assembly loading, would it resolve this? (special casing our assemblies)

@AndyGerlicher I expect so, since we'll be explicitly redirecting all references to MSBuild assemblies to the ones installed with the app, regardless of version.
@natemcmaster Sorry for the bug tail on this. The behavior of the default assembly loader in .NET Core continues to defy all my expectations. :-(

@tmeschter I'm happy to help. I also had trouble with netcore assembly loading too until I read its implementation. There are almost zero docs on this subject

ping

The fix for this went in as commit 64fcffdfc80b512122d401061a55cdc9f74bea7c. We're now waiting for the dotnet CLI to pick up the latest MSBuild binaries.

@natemcmaster I tried your repro just now. It installed the latest CLI (1.0.0-preview3-003830) and ran without issues.

I am having the same issue trying to publish suing msbuild using msbuild supplied with VS 2017:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\amd64\msbuild.exe" sqlwallet.csproj /t:Publish /p:PublishProfile="SQLwalletApp - Web Deploy" /verbosity:detailed /p:Configuration=Debug /p:Password=***
The error is:
"C:\Projects\SQLwallet\SQLwallet\sqlwallet.csproj" (Publish target) (1) ->
(_TransformWebConfig target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk.Publish\build\netstan
dard1.0\TransformTargets\Microsoft.NET.Sdk.Publish.TransformFiles.targets(54,5): error MSB4062: The "TransformWebConfig" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk.Publish\build\netstandard1.0....\tools\net46\Microsoft.NET.Sdk.Publish.Tasks.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft VisualStudio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk.Publish\tools\net46\Microsoft.NET.Sdk.Publish.Tasks.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Confirm that the  declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.[C:\Projects\SQLwallet\SQLwallet\sqlwallet.csproj]
The assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk.Publish\tools\net46\Microsoft.NET.Sdk.Publish.Tasks.dll  is here.
Please advise.

@glebby the error you are seeing is different. Can you open an issue on https://github.com/dotnet/sdk instead?


update to the latest code/documentation

I love your library. Noticed that you(maybe someone else) published the 1.0.0 version of it to bintray jcenter. Is that you? if so, do you mind update code (since package name is org.jliszka.probabilitymonad on that version) the documentation here? If it's not you, I can update the code together with a sbt-bintray plugin and create a PR. Thanks!

didn't see that in the other issue you published it last year to sonatype. Do you still want the PR?

Thanks!
Yeah, I published it to sonatype. I think maybe bintray mirrors or pulls from sonatype? I'm not sure how it works. Is there still a package name mismatch somewhere?

It's all good. It will be nice it is indicated in the readme that it's available on sonatype and jcenter throught
"org.jliszka" %% "probability-monad" % "1.0.0"

Cool. I'll add that to the README. Good suggestion :)
On Fri, Jul 31, 2015 at 4:08 PM, Kailuo Wang<EMAIL_ADDRESS>wrote:

It's all good. It will be nice it is indicated in the readme that it's
available on sonatype and jcenter throught
"org.jliszka" %% "probability-monad" % "1.0.0"
—
Reply to this email directly or view it on GitHub
https://github.com/jliszka/probability-monad/issues/10#issuecomment-126801524
.

I love this library as well, thanks for taking the time to publish it. We use it, but hit a bit of a snag. The alias function in discrete[A] at https://github.com/jliszka/probability-monad/blob/master/src/main/scala/probability-monad/Distribution.scala#L286 has a bug in the published version. The bug has been fixed in master, but the published version was not updated. Would there be a 1.0.1 version soon?
Here's what I see in .ivy2/cache/org.jliszka/probability-monad_2.11/srcs/probability-monad_2.11-1.0.0-sources.jar :
277     // The alias method: http://www.keithschwarz.com/darts-dice-coins/
    278     private def alias(smaller: List[(A, Double)], bigger: List[(A, Double)]): List[(A, Double, Option[A])] = {
    279       smaller match {
    280         case Nil => bigger.map{ case (a, _) => (a, 1.0, None) }
    281         case (s, sp)::ss => {
    282           val (b, pb)::bb = bigger
    283           val remainder = (b, pb - (1.0 - sp))
    284           val rest = if (remainder._2 < 0.9999) alias(remainder :: ss, bb) else alias(ss, remainder :: bb)
    285           (s, sp, Some(b)) :: rest
    286         }
    287       }
    288     }

Thank you!

Ah, thanks! Just published the latest master as 1.0.1.
Glad you're finding use for it!
On Thu, Aug 20, 2015 at 6:45 PM, Cristian Petrescu-Prahova <
<EMAIL_ADDRESS>wrote:

I love this library as well, thanks for taking the time to publish it. We
use it, but hit a bit of a snag. The alias function in discrete[A] at
https://github.com/jliszka/probability-monad/blob/master/src/main/scala/probability-monad/Distribution.scala#L286
has a bug in the published version. The bug has been fixed in master, but
the published version was not updated. Would there be a 1.0.1 version soon?
Here's what I see in
.ivy2/cache/org.jliszka/probability-monad_2.11/srcs/probability-monad_2.11-1.0.0-sources.jar
:
277     // The alias method: http://www.keithschwarz.com/darts-dice-coins/
278     private def alias(smaller: List[(A, Double)], bigger: List[(A, Double)]): List[(A, Double, Option[A])] = {
279       smaller match {
280         case Nil => bigger.map{ case (a, _) => (a, 1.0, None) }
281         case (s, sp)::ss => {
282           val (b, pb)::bb = bigger
283           val remainder = (b, pb - (1.0 - sp))
284           val rest = if (remainder._2 < 0.9999) alias(remainder :: ss, bb) else alias(ss, remainder :: bb)
285           (s, sp, Some(b)) :: rest
286         }
287       }
288     }
Thank you!
—
Reply to this email directly or view it on GitHub
https://github.com/jliszka/probability-monad/issues/10#issuecomment-133204581
.

Thanks for the quick response. Awesome library for working with probability
distributions.
On Thu, Aug 20, 2015 at 8:31 PM, Jason Liszka<EMAIL_ADDRESS>wrote:

Ah, thanks! Just published the latest master as 1.0.1.
Glad you're finding use for it!
On Thu, Aug 20, 2015 at 6:45 PM, Cristian Petrescu-Prahova <
<EMAIL_ADDRESS>wrote:

I love this library as well, thanks for taking the time to publish it. We
use it, but hit a bit of a snag. The alias function in discrete[A] at

https://github.com/jliszka/probability-monad/blob/master/src/main/scala/probability-monad/Distribution.scala#L286

has a bug in the published version. The bug has been fixed in master, but
the published version was not updated. Would there be a 1.0.1 version
soon?
Here's what I see in

.ivy2/cache/org.jliszka/probability-monad_2.11/srcs/probability-monad_2.11-1.0.0-sources.jar

:
277 // The alias method: http://www.keithschwarz.com/darts-dice-coins/
278 private def alias(smaller: List[(A, Double)], bigger: List[(A,
Double)]): List[(A, Double, Option[A])] = {
279 smaller match {
280 case Nil => bigger.map{ case (a, _) => (a, 1.0, None) }
281 case (s, sp)::ss => {
282 val (b, pb)::bb = bigger
283 val remainder = (b, pb - (1.0 - sp))
284 val rest = if (remainder._2 < 0.9999) alias(remainder :: ss, bb)
else alias(ss, remainder :: bb)
285 (s, sp, Some(b)) :: rest
286 }
287 }
288 }
Thank you!
—
Reply to this email directly or view it on GitHub
<
https://github.com/jliszka/probability-monad/issues/10#issuecomment-133204581
.

—
Reply to this email directly or view it on GitHub
https://github.com/jliszka/probability-monad/issues/10#issuecomment-133267797
.

:) What do you use it for, out of curiosity?
On Fri, Aug 21, 2015 at 1:25 PM, Cristian Petrescu-Prahova <
<EMAIL_ADDRESS>wrote:

Thanks for the quick response. Awesome library for working with probability
distributions.
On Thu, Aug 20, 2015 at 8:31 PM, Jason Liszka<EMAIL_ADDRESS>wrote:

Ah, thanks! Just published the latest master as 1.0.1.
Glad you're finding use for it!
On Thu, Aug 20, 2015 at 6:45 PM, Cristian Petrescu-Prahova <
<EMAIL_ADDRESS>wrote:

I love this library as well, thanks for taking the time to publish it.
We
use it, but hit a bit of a snag. The alias function in discrete[A] at

https://github.com/jliszka/probability-monad/blob/master/src/main/scala/probability-monad/Distribution.scala#L286

has a bug in the published version. The bug has been fixed in master,
but
the published version was not updated. Would there be a 1.0.1 version
soon?
Here's what I see in

.ivy2/cache/org.jliszka/probability-monad_2.11/srcs/probability-monad_2.11-1.0.0-sources.jar

:
277 // The alias method: http://www.keithschwarz.com/darts-dice-coins/
278 private def alias(smaller: List[(A, Double)], bigger: List[(A,
Double)]): List[(A, Double, Option[A])] = {
279 smaller match {
280 case Nil => bigger.map{ case (a, _) => (a, 1.0, None) }
281 case (s, sp)::ss => {
282 val (b, pb)::bb = bigger
283 val remainder = (b, pb - (1.0 - sp))
284 val rest = if (remainder._2 < 0.9999) alias(remainder :: ss, bb)
else alias(ss, remainder :: bb)
285 (s, sp, Some(b)) :: rest
286 }
287 }
288 }
Thank you!
—
Reply to this email directly or view it on GitHub
<

https://github.com/jliszka/probability-monad/issues/10#issuecomment-133204581

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/jliszka/probability-monad/issues/10#issuecomment-133267797
.

—
Reply to this email directly or view it on GitHub
https://github.com/jliszka/probability-monad/issues/10#issuecomment-133503963
.

Just scratching the surface: sample a probability distribution given a set
of frequency counts. Which we use to build a language model of sorts. I
wish I had more time to explore the compositional aspects :)
On Fri, Aug 21, 2015 at 10:40 AM, Jason Liszka<EMAIL_ADDRESS>wrote:

:) What do you use it for, out of curiosity?
On Fri, Aug 21, 2015 at 1:25 PM, Cristian Petrescu-Prahova <
<EMAIL_ADDRESS>wrote:

Thanks for the quick response. Awesome library for working with
probability
distributions.
On Thu, Aug 20, 2015 at 8:31 PM, Jason Liszka<EMAIL_ADDRESS>wrote:

Ah, thanks! Just published the latest master as 1.0.1.
Glad you're finding use for it!
On Thu, Aug 20, 2015 at 6:45 PM, Cristian Petrescu-Prahova <
<EMAIL_ADDRESS>wrote:

I love this library as well, thanks for taking the time to publish
it.
We
use it, but hit a bit of a snag. The alias function in discrete[A] at

https://github.com/jliszka/probability-monad/blob/master/src/main/scala/probability-monad/Distribution.scala#L286

has a bug in the published version. The bug has been fixed in master,
but
the published version was not updated. Would there be a 1.0.1 version
soon?
Here's what I see in

.ivy2/cache/org.jliszka/probability-monad_2.11/srcs/probability-monad_2.11-1.0.0-sources.jar

:
277 // The alias method:
http://www.keithschwarz.com/darts-dice-coins/
278 private def alias(smaller: List[(A, Double)], bigger: List[(A,
Double)]): List[(A, Double, Option[A])] = {
279 smaller match {
280 case Nil => bigger.map{ case (a, _) => (a, 1.0, None) }
281 case (s, sp)::ss => {
282 val (b, pb)::bb = bigger
283 val remainder = (b, pb - (1.0 - sp))
284 val rest = if (remainder._2 < 0.9999) alias(remainder :: ss, bb)
else alias(ss, remainder :: bb)
285 (s, sp, Some(b)) :: rest
286 }
287 }
288 }
Thank you!
—
Reply to this email directly or view it on GitHub
<

https://github.com/jliszka/probability-monad/issues/10#issuecomment-133204581

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/jliszka/probability-monad/issues/10#issuecomment-133267797

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/jliszka/probability-monad/issues/10#issuecomment-133503963

.

—
Reply to this email directly or view it on GitHub
https://github.com/jliszka/probability-monad/issues/10#issuecomment-133506942
.


Exclusion Report | Compliance Manager Recommend Rejection |1|

Story:
As a Compliance Manager, I want to be able to recommend rejection of an exclusion report.
Scenario:
GIVEN that I am an IDIR user
AND I have the Compliance Manager role
AND I am viewing a reviewed Exclusion Report (i.e. front-end status = Reviewed - Analyst; back-end status = Recommended Acceptance - Analyst or Recommended Rejection - Analyst)
AND I am on the Exclusion Agreements page
WHEN I click on the Recommend Rejection button
AND I accept the confirmation alert
THEN I am returned to the main compliance reporting page
AND the status of the report in the UI changes to Reviewed - Manager (back-end status should be "Recommended Rejection - Manager")
And a report history record is created (see below)
AND a system alert appears on the screen
Status update visibility:

The status change should only be visible to IDIR users. For BCeID users, the status should remain at Submitted.

Report History Record:
A report history record should be created when the Compliance Manager recommends rejection of the report. The format should be as follows:

Reviewed and <Status> on Month DD, YYYY by <First, Last Name> of <Organization Name>
Example: Reviewed and Recommended Rejection on March 31, 2019 by Justin Lepitzki of Government of British Columbia

Note: This report history record should only be visible to IDIR users.
Confirmation Alert Messaging:

Are you sure you want to recommend rejection of the exclusion report?

System Alert Messaging:

Rejection Recommended

https://trello.com/c/mUyJhhZq/1691-exclusion-report-compliance-manager-recommend-rejection-1

 Exclusion Report | Compliance Manager Recommend Rejection |1|

resolved in sprint vulcan


add extras

This allows you to pass debug callbacks to ProjectedTo

I like it and I think generally this is the way to go, but I would also:

Rename extra to kwargs
Pass all extra kwargs to the gradient_descent call, not only debug
Document the change and how to use it, e.g. can specify arbitrary stopping_criterion with this change?
Add tests

Looking at the implementation IMO it also should break the debug key (didn't check the tests though) since before this update the kwargs variable was updated all the time, but in this PR this is updated only when extra is not nothing, which means that by default kwargs variable is not being updated anymore.


When is android 29 compatible

We ara facing the same problem ... in android 29 we can get the videos. Latitude error. May be we have to be patient, this is one of the best library.
Matt.

If possible can you migrate to using version 3.0.0-vnext.1 https://github.com/react-native-image-picker/react-native-image-picker/releases/tag/v3.0.0-vnext.1
Check if your issue is solved.
Check 3.x.x docs for installation and API changes.

@ravirajn22 we will migrate and let you know the results asap. Thanks for your work guys. :)

@ravirajn22 we got some manifest error:
Error: Attribute provider#androidx.core.content.FileProvider@authorities value=(com.txtomobile.provider) from AndroidManifest.xml:10:19-66 is also present at AndroidManifest.xml:5:17-75 value=(com.txtomobile.imagepickerprovider). Suggestion: add 'tools:replace="android:authorities"' to <provider> element at AndroidManifest.xml:10:9-12:20 to override. txtoMobile-app debug manifest, line 9 Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/provider_paths) from AndroidManifest.xml:11:75-113 is also present at AndroidManifest.xml:6:75-125 value=(@xml/imagepicker_provider_paths). Suggestion: add 'tools:replace="android:resource"' to <meta-data> element at AndroidManifest.xml to override. txtoMobile-app debug manifest, line 10
We don't know if we have to do this to fix it ? or may be is something that you guys should fix? we don't know becasue we don't have expierence in Android ...
We are using 3.0.0-vnext.2
thanks!

@matamicen your issue is fixed. Test now from latest version.

Thanks @ravirajn22 for this quick response :) ... we will try the latest version and then give some feedback to this community.

Hi ! What do you mean by "When is android 29 compatible" ?
My users with recent android phones are unable to send images to my server. Is it due to the fact that the library does not support new android versions?
Thanks

The pictures stored externally are in the android10 version and cannot be accessed using absolute paths. @vikjovanov

@ravirajn22 Thanks for the fix, we installed 3.0.0-vnext.4 and it is working with no problems in both platforms (Android X and iOS 14.2)
Thanks again!

@Liangwenb You mean that the picker could not response the uri of the selected external picture or you can not access the file with the response uri of the library?
Thnaks.

Hello, is there a way to fix it without upgrading to v3 ?

:tada: This issue has been resolved in version 2.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I did post-install steps for ios but for android, there is nothing provided in the GitHub docs.
In my ios simulator, the "launchImageLibrary" method works perfectly fine (as "launchCamera" will not work on the simulator).
But when it comes to my android (running android 10) it shows error like "TypeError: null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')"
And this is my AndroidManifest.xml file:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

<application
  android:name=".MainApplication"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
  android:roundIcon="@mipmap/ic_launcher_round"
  android:allowBackup="false"
  android:theme="@style/AppTheme"
  android:requestLegacyExternalStorage="true">
  <activity
    android:name=".MainActivity"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
    android:launchMode="singleTask"
    android:windowSoftInputMode="adjustResize">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  </activity>
  <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>

What should I do to correct this issue

I did post-install steps for ios but for android, there is nothing provided in the GitHub docs.
In my ios simulator, the "launchImageLibrary" method works perfectly fine (as "launchCamera" will not work on the simulator).
But when it comes to my android (running android 10) it shows error like "TypeError: null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')"
And this is my AndroidManifest.xml file:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

<application
  android:name=".MainApplication"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
  android:roundIcon="@mipmap/ic_launcher_round"
  android:allowBackup="false"
  android:theme="@style/AppTheme"
  android:requestLegacyExternalStorage="true">
  <activity
    android:name=".MainActivity"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
    android:launchMode="singleTask"
    android:windowSoftInputMode="adjustResize">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  </activity>
  <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>

What should I do to correct this issue

Hello bobananto24, have you figer out how to solve this problem? im having the same error on my app and don´t know why..

I did post-install steps for ios but for android, there is nothing provided in the GitHub docs.
In my ios simulator, the "launchImageLibrary" method works perfectly fine (as "launchCamera" will not work on the simulator).
But when it comes to my android (running android 10) it shows error like "TypeError: null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')"
And this is my AndroidManifest.xml file:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

<application
  android:name=".MainApplication"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
  android:roundIcon="@mipmap/ic_launcher_round"
  android:allowBackup="false"
  android:theme="@style/AppTheme"
  android:requestLegacyExternalStorage="true">
  <activity
    android:name=".MainActivity"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
    android:launchMode="singleTask"
    android:windowSoftInputMode="adjustResize">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  </activity>
  <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>

What should I do to correct this issue

Hello bobananto24, have you figer out how to solve this problem? im having the same error on my app and don´t know why..

Version 2.x.x is not longer supported, please upgrade to 3.x.x


yii2-jui Dialog missing close Icon

This was asked previously here, but not answered: https://github.com/yiisoft/yii2/issues/5471
The solution to this problem is to load Bootstrap prior to jQuery-UI.
How can this be done?  My Layout has the following, however Bootstrap still loads last:
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use kartik\dropdown\DropdownX;
use frontend\components\MenuHelper;
use yii\jui\Dialog;

Duplicated of https://github.com/yiisoft/yii2/issues/5471


feat(api): remove unused eslint errors in the codebase

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

While adding RTL layout, I found enlist which weren't used, so I removed them.
This doesn't change code, so I don't think it will harm anything to remove them. not like my previous make sign out harder pr
This isn't all of them, because the server stop working after so many eslint error removed 🤣, restarting typescript and eslint servers didn't help as well.

Sure 👍, althought I don't think there is blast because I am removing comments not code. but I don't mind making 3 prs 👍

althought I don't think there is blast ...

Mind explaining what you mean here?

Sure enlist comment are used to disable their ruling, we are originally implementing them to help us to tell the code base, "oh you think there is a "mistake" here, but this is intentional, ignore it".
What happen if there is no mistake, then the comment became useless, and it isn't ignoring a "mistake".
its existing is confusing for newbies (I think I still one of them) that don't know eslint, and worse if the comment stay and newbie add a "mistake" that we don't want but the eslint doesn't warn us, because he was told to ignore it.

Thanks - I know what eslint does. What I am asking is very specific. Why do you thing there is no impact in removing these comments in a single PR?

Sure 👍, althought I don't think there is blast because I am removing comments not code. but I don't mind making 3 prs

I think there is a miscommunication, I didn't think there was a need for multiple PRs, because this doesn't change code base, so there was no blast.
If there is a blast, I don't mind creating 3 PRs 👍

because this doesn't change code base ...

Correct, while you are only removing comments, it is critical to understand what that means. When removing ESLint comments, you engage with the tool to validate code. That is, do static code analysis.
While you assume there will be no impact, it's still an assumption - because you are the OP.
When we break this into independent PRs, we limit the scope of review (also known as blast radius or impact area in software engineering), look at each ESLint comment, and what it is doing before and after.
Keeping it atomic makes everyone's life easier.
It was not a question of will the code break, it was about the collaborative review process. I hope it clears up any confusion you have.


IE 8 + CircleMarker loose color when addedToMap + Leaflet 0.8-dev

Hey,
Just found a weird bug on leaflet 0.8-dev on the CircleMaker on IE8.
When i create a GeoJSON layer of circleMarker they loose color when i remove/add them from the map.
The problem is appearing also on cluster (when he display the circleMarker the second time).
Second problem : The circleMarker on IE8 is not so circle.
Here some screen

Here a jsFiddle to test
http://jsfiddle.net/Xelloss/s6VNm/
To test on IE8 you have to run the JSFiddle and access the following url on IE8
http://jsfiddle.net/draft/

Closing #3035 as a duplicate of this. There are a few more details in there (It affects Polyline too, probably all vml shapes).
We probably just need to re-add the stroke/fill properties when the line is added back to the map?

@kerryarts ^^


Unable to select individual page rows on check select all check box

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
When we check the checkbox in header field it's selecting all items in table irrespective of the current page in pagination.
Expected behavior
Items should be selected to that particular page in pagination on check select all checkbox.
Reproduction of the problem
What is the motivation / use case for changing the behavior?
I need only the Items that are on the current page of pagination on the check of select all checkbox in the header.
Please tell us about your environment:

Table version: 10.3.0
Angular version: 4.4.6

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

I'm also facing the same issue. My requirement is suppose I'm having 300 items and I'm showing 30 per page. On clicking  select all it should select only 30 items which I'm showing in that page, instead it is selecting all the 300 items. Can someone help me to overcome this issue?

I had similar issue. we don't want to user to select all before he can see it. I fix it by customizing onSelect({ selected }) {} method in component to recalculate selected items and replace selected array. It is not so efficient but works. I think we can add a toggle in src code to decide the behavior of select all to select all items or items on current page.

I make a PR for this feature improvement here https://github.com/swimlane/ngx-datatable/pull/1132, hopefully it can be approved.

I actually want this bug as a feature, is it possible to implement it?


Make it possible to configure secure access to Envoy admin endpoint

Description:
Make configurable access policy to Envoy admin endpoint a first class citizen in Gateway Api. E.g. Envoy admin exposes both read and write endpoints and Envoy Gateway operators may want to restrict access to write endpoints with auth.
[optional Relevant Links:]
Parent Envoy issue: https://github.com/envoyproxy/envoy/issues/2763

@nezdolik what is the UX you are looking for here ?
currently the admin endpoint is only available on localhost so only someone who has access to envoy-gateway-system can access this

@arkodg for the case when bunch of teams have access to localhost/namespace/cluster, so we could let all those teams have access to read only endpoints and only the team that operates the gateway write+read access.

one way to achieve this could be using the new backend API https://github.com/envoyproxy/gateway/pull/3550 and making sure only admins can create Backend resources, and reuse HTTPRoute and SecurityPolicy to authz access to the admin endpoint 🙃

Hi, what happens with this issue?

If you enable the Backends extension API (see https://gateway.envoyproxy.io/latest/tasks/traffic/backend/ ) then you can create a backend that looks like this:
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: Backend
metadata:
  name: admin
  namespace: default
spec:
  endpoints:
  - ip:
      address: <IP_ADDRESS>
      port: 19000

Once you have this backend available, you can create a standard HTTPRoute and protect it with a SecurityPolicy to allow access to it. For example, add the following to the quickstart configuration to expose the admin port on the envoy proxy:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: admin
  namespace: default
spec:
  hostnames:
  - admin.local
  parentRefs:
  - group: gateway.networking.k8s.io
    kind: Gateway
    name: eg
  rules:
  - backendRefs:
    - group: gateway.envoyproxy.io
      kind: Backend
      name: admin
    matches:
    - path:
        type: PathPrefix
        value: /

If you enable the Backends extension API (see https://gateway.envoyproxy.io/latest/tasks/traffic/backend/ ) then you can create a backend that looks like this:
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: Backend
metadata:
  name: admin
  namespace: default
spec:
  endpoints:
  - ip:
      address: <IP_ADDRESS>
      port: 19000

Once you have this backend available, you can create a standard HTTPRoute and protect it with a SecurityPolicy to allow access to it. All the security features available in Envoy Gateway are at your disposal in this way.
For example, add the following to the quickstart configuration to expose the admin port on the envoy proxy:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: admin
  namespace: default
spec:
  hostnames:
  - admin.local
  parentRefs:
  - group: gateway.networking.k8s.io
    kind: Gateway
    name: eg
  rules:
  - backendRefs:
    - group: gateway.envoyproxy.io
      kind: Backend
      name: admin
    matches:
    - path:
        type: PathPrefix
        value: /

this's a good use case for Backend, @liorokman should we add it to doc site?

@zirain

this's a good use case for Backend, @liorokman should we add it to doc site?

Upon further reflection, I think that the fact that this works is a bug.
There are two issues here:

If the envoy-proxy deployment was scaled to more than one pod then each time this route is accessed might end up at a different pod and return different results. Secure access to the Envoy Proxy console should be consistent and should allow choosing the specific Envoy Proxy instance.
There's actually code in the Backend translation that should have prevented this backend from being accepted. If it's possible for an HTTPRoute to reach the envoy proxy itself, then anybody with the ability to create an HTTPRoute could bypass any other HTTPRoute that has a SecurityPolicy by just creating his own.

I believe that users can still use this technique by setting an FQDN endpoint like <IP_ADDRESS>.nip.io or any other localhost alias maintained in the pod's /etc/hosts, kube-dns or external DNS provider.
I'm not sure that we should document that as a best practice, though.


How do I debug provisioning on servers created from the rancher ui

I have another issue open, and I dont mind if I do or do not get help with it. I would love someone to teach me how to fish though.
I get stuck waiting on ssh. How do I see whats actually happening? I can go look at the pod logs etc, I just need to know where I'm looking besides these non de-script status messages.
I want to make sure rancher is actually mounting this iso I've read is being created for vsphere

So I resolved my issue, but it'd still be nice to have a way to debug this stuff


Reinstate es search

Codecov Report

Merging #168 into develop will decrease coverage by 0.43%.
The diff coverage is 84.44%.

@@             Coverage Diff             @@
##           develop     #168      +/-   ##
===========================================
- Coverage    96.22%   95.78%   -0.44%
===========================================
  Files           35       37       +2
  Lines         1191     1233      +42
  Branches        75       78       +3
===========================================
+ Hits          1146     1181      +35
- Misses          35       41       +6
- Partials        10       11       +1

Impacted Files
Coverage Δ

datahub/es/utils.py
81.25% <81.25%> (ø)

datahub/search/views.py
89.47% <85.71%> (-10.53%)
:arrow_down:

datahub/es/connector.py
86.66% <86.66%> (ø)

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 de4a07c...93c5923. Read the comment docs.


replace arbitrum goerli with sepolia

Replaces docs for arbitrum goerli with sepolia

@dtbuchholz there is a chainlink tutorial that uses arbitrum goerli. although you mention in there that it could be used with any other network but any ideas how we migrate that?

@avichalp good catch, fixed! i also made a couple of other small changes, including bumping the SDK for some of the automated chain info aspects.
note: i auto-generate a docs page from the go-tableland README, which includes an arbitrum goerli reference. i can fix that in another docs PR, after this gets merged.

thanks @dtbuchholz


Authentication Failed. Unknown method.

Describe the bug
Authentication is not working.
Logging in...
Traceback (most recent call last):
  File "/mnt/wsl/docker-desktop-bind-mounts/Ubuntu/387e0f16919e6d7c21c3fbd983fea1ba949b10b954c00eef297e8363c9452535/new.py", line 85, in <module>
    loop.run_until_complete(get_information())
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/mnt/wsl/docker-desktop-bind-mounts/Ubuntu/387e0f16919e6d7c21c3fbd983fea1ba949b10b954c00eef297e8363c9452535/new.py", line 45, in get_information
    await client.login()
  File "/home/lasith/.local/lib/python3.10/site-packages/mytoyota/client.py", line 58, in login
    await self._api.controller.login()
  File "/home/lasith/.local/lib/python3.10/site-packages/mytoyota/controller.py", line 62, in login
    await self._update_token()
  File "/home/lasith/.local/lib/python3.10/site-packages/mytoyota/controller.py", line 74, in _update_token
    await self._authenticate()
  File "/home/lasith/.local/lib/python3.10/site-packages/mytoyota/controller.py", line 105, in _authenticate
    raise ToyotaLoginError("Authentication Failed. Unknown method.")
mytoyota.exceptions.ToyotaLoginError: Authentication Failed. Unknown method.

To Reproduce
Steps to reproduce the behavior:
python simple_client_example.py

Hello @aventi-lasith , can you please give us some additional information?
Which vehicle or vehicles do you own? Are these vehicles already registered with Toyota Connected Services?
Are you still using the old MyT app, or are you already using the current MyToyota app?

Hi,
Of course. I have 3 vehicles in my account but one is inactive. And yes I'm already using the MyT app. The connected services are activated for all vehicles. I've been using mytoyota v0.9 until December.
But this issue happens when logging in before any vehicle data were pulled.
Logging in with v0.9 still works if I'm not mistaken.

Version >= 1.0 is not compatible with vehicles that are still registered under the old MyT app. See also current README.md File in this repo.
Please register your vehicle under the current MyToyota app first to be able to use the new API.

Ok. Thanks. Unfortunately, for some reason it doesn't allow me to add the vehicles to the new MyToyota app

Ok. Thanks. Unfortunately, for some reason it doesn't allow me to add the vehicles to the new MyToyota app

Okay, we can't do anything about that. That's a case for official Toyota support 😉

Yes, I'll contact Toyota support.
The problem is that the version 0.9 is not working anymore either.
/vehicles endpoint works. But /vehicle/vin/addtionalInfo endpoint fails with a 403 (Action is not supported on this vehicle).
Is this expected?


Update orgmode

The first commit corrects the configuration sample, the second update the command used to generate the org-mode syntax highlighting.

Thanks!
The changes will be reflected by the Index at midnight UTC.