Create a validation file to check if record meets GBL community standards

To be done once https://github.com/OpenGeoMetadata/metadata-issues/issues/24 is completed
Issue
There are JSON schema files in the geoblacklight repo that are used to validate individual metadata records and ensure that the data types are correct. It would be helpful for users to also be able to validate the presence of required fields and community standard fields (as determined based on the review in #24).
Suggested solution
See if the JSON schema offers a way to flag fields as required.

If yes, update the existing schema files
If not, create new schema files for the required and community standard lists

Yes, JSON Schema lets you specify which properties are required, and in fact we have that set up in geoblacklight-schema-aardvark.json:

"required": ["id", "dct_title_s", "gbl_resourceClass_sm", "dct_accessRights_s", "gbl_mdVersion_s"]

To check that an Aardvark record complies with a community-level minimum (beyond the absolute minimum), I think we'll want to set up a 2nd JSON Schema that requires the additional properties, and perhaps also applies further checks on the property values (like dates, etc.)

Yes, JSON Schema lets you specify which properties are required, and in fact we already have that set up in geoblacklight-schema-aardvark.json:

"required": ["id", "dct_title_s", "gbl_resourceClass_sm", "dct_accessRights_s", "gbl_mdVersion_s"]

Just noticed the "required" list is missing gbl_mdModified_dt, which is now listed as a required field in the OGM documntation.


Submit speaker email to Netlify contact form

Is your feature request related to a problem? Please describe.
When I was going through some of the speaker requests last night, I noticed I didn't have the speaker email handy. I had to go to airtable and query for the speaker and then copy their address. Airtable makes it difficult to copy cell contents using ctrl+C!
Describe the solution you'd like
I'd like the Netlify contact form to be aware of the speaker's email, so that the Zapier integration can add it to the automatic email.

We can't leak the email to the frontend for privacy reasons
This might only be possible when we have a more robust backend, or perhaps lambdas can help with it.

Describe alternatives you've considered
¯_(ツ)_/¯
Additional context

Closing due to #241


Documentation

[ ] Document how to build the application
[ ] Document how to build the container
[ ] Document how to use openshifter without container

Include suggestions from #30 as well.


Fixing bug where output dir paths were not resolved correctly.

regarding #7

closes #7 Thanks for reporting this!


Add upload step to e2e test workflow

Add upload step to e2e test workflow
Description

Areas changed

npm packages changed:

[ ] responsibleai/causality
[ ] responsibleai/core-ui
[ ] responsibleai/counterfactuals
[ ] responsibleai/dataset-explorer
[ ] responsibleai/fairness
[ ] responsibleai/interpret
[ ] responsibleai/localization
[ ] responsibleai/mlchartlib
[ ] responsibleai/model-assessment

Python packages changed:

[ ] raiwidgets
[ ] responsibleai
[ ] erroranalysis
[ ] rai_core_flask

Tests

[ ] No new tests required.
[ ] New tests for the added feature are part of this PR.
[ ] I validated the changes manually.

Screenshots (if appropriate):
Documentation:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Codecov Report

Merging #1183 (bc01085) into main (39a7ff8) will increase coverage by 7.81%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1183      +/-   ##
==========================================
+ Coverage   67.76%   75.58%   +7.81%
==========================================
  Files          90       10      -80
  Lines        4291      258    -4033
==========================================
- Hits         2908      195    -2713
+ Misses       1383       63    -1320

Flag
Coverage Δ

unittests
75.58% <ø> (+7.81%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

raiwidgets/raiwidgets/model_analysis_dashboard.py

...onsibleai/responsibleai/serialization_utilities.py

...sibleai/responsibleai/_tools/shared/base_result.py

...s/erroranalysis/_internal/error_report/__init__.py

raiwidgets/raiwidgets/dashboard.py

responsibleai/responsibleai/_tools/__init__.py

erroranalysis/erroranalysis/report/__init__.py

raiwidgets/raiwidgets/explanation_dashboard.py

...nalysis/erroranalysis/_internal/version_checker.py

erroranalysis/erroranalysis/analyzer/__init__.py

... and 70 more

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 39a7ff8...bc01085. Read the comment docs.


DroolsAccessController can be simplified

The StatelessKieSession is a better fit for the example in chapter 8. The checkPermitted method can be simplified using this class (and probably with better performance):
        var session = kieContainer.newStatelessKieSession();
        var decision = new Decision();
        session.setGlobal("decision", decision);

        session.execute(List.of(
                new Subject(subject),
                new Resource(resource),
                new Action(action),
                new Environment(env)));

        return decision.isPermitted();

If there's ever a second edition, this should be considered.

An implementation of this approach is available from branch https://github.com/NeilMadden/apisecurityinaction/blob/chapter08-stateless/natter-api/src/main/java/com/manning/apisecurityinaction/controller/DroolsAccessController.java


csv requirement can't be satisfied with python3 (OSX)

csv requirement can't be satisfied with python3 (OSX)
Collecting csv (from -r requirements.txt (line 6))
Could not find a version that satisfies the requirement csv (from -r requirements.txt (line 6)) (from versions: )
No matching distribution found for csv (from -r requirements.txt (line 6))
Commenting out CSV resolves the issue

Thanks for notifying us about this, we'll add it to the README


Chaos: fixes kyverno link and policy snippet

Can we also update the same changes in the embedded file?

https://github.com/harness/developer-hub/blob/814431dd996390782a0318a027d46dca7226515c/docs/chaos-engineering/technical-reference/security/security-templates/manifest/kyverno-policies/restricted-policies.yaml#L4
https://github.com/harness/developer-hub/blob/814431dd996390782a0318a027d46dca7226515c/docs/chaos-engineering/technical-reference/security/security-templates/manifest/kyverno-policies/restricted-policies.yaml#L17

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


DEVELOPMENT tier workflow with KeymanHosts?

Currently, the DEVELOPMENT tier in KeymanHosts changes nearly all Keyman site links to http://host.docker.internal:{port}.
https://github.com/keymanapp/shared-sites/blob/c7586ec649f3766e4aece1a02b7d3aa148bf7859/_common/KeymanHosts.php#L134-L142
Is there a workaround for when I'm only running one site locally on docker, and would rather the external Keyman sites use live links?

This is tricky to solve. There are backend and frontend considerations. Perhaps links should automatically point to live sites by default, unless docker images are present. But that could mask API problems in your test environment, because it'd look like things are working correctly but it'd be because it'd be silently connecting to the frontend instead. (I've had this problem in the past.)
So ... not sure how best to address this.

This can be deferred. I can just hand-edit KeymanHosts for now

          I think LGTM. Can we rely on having website-local-proxy always running and use the same pattern for all the host.docker.internal references? That would avoid a lot of the confusion!


Select on collection is not creating join. EF7.0.0-RC2-16583

When I run this select:
var list = context.Employees.Select(x => new
{
    ID = x.ID,
    PhoneNumbers = x.PhoneNumbers,
});

This produces the following SQL queries:
SELECT [x].[ID]
FROM [Employee] AS [x]

Then this select is repeated for each employee row
SELECT [e].[ID], [e].[EmployeeID], [e].[PhoneNumber]
FROM [EmployeePhoneNumber] AS [e]

I would expect that this should perform a SQL join whereas at the moment this pulling all records and doing a linq join.
The context/models are as follows:
//DB Context
public class AppDBContext: DbContext
{
    public DbSet<Employee> Employees { get; set; }
    public DbSet<EmployeePhoneNumber> EmployeePhoneNumbers { get; set; }
}

//Models
public class Employee
{
    public long ID { get; set; }
    public virtual ICollection<EmployeePhoneNumber> PhoneNumbers{ get; set; }
}

public class EmployeePhoneNumber
{
    public long ID { get; set; }
    #region Employee
    public long EmployeeID { get; set; }
    public virtual Employee Employee { get; set; }
    #endregion Employee
    public string PhoneNumber {get;set;}
}

I suspect lazy loading is causing the issue, to get around it do an include of PhoneNumbers before the select

I did try the explicit include initially but this didn't appear to make a difference:
var list = context.Employees.Include(x => x.PhoneNumbers).Select(x => new
{
    ID = x.ID,
    PhoneNumbers = x.PhoneNumbers,
});

It does kinda work if i exclude the select, however this isn't the result i want
var list = context.Employees.Include(x => x.PhoneNumbers);

does a full select on all Employee fields and then this:
SELECT [e].[ID], [e].[EmployeeID], [e].[PhoneNumber],
FROM [EmployeePhoneNumber] AS [e]
INNER JOIN (
    SELECT DISTINCT [x].[ID]
    FROM [Employee] AS [x]
) AS [x] ON [e].[EmployeeID] = [x].[ID]
ORDER BY [x].[ID]

So it would seem that including it in the select is overriding the include?

Duplicate of https://github.com/aspnet/EntityFramework/issues/4007.


epic: merge with docker-helper

This epic is all about to merge this project with Docker Helper.
Related issues:
-To be updated

To do later

To do after refactor #14 and #15 deployment tasks, closed just for now

To do after refactor https://github.com/sevilayerkan/docker-file-generator/issues/14 and https://github.com/sevilayerkan/docker-file-generator/issues/15 deployment tasks, closed just for now


Adding safe_create to retry pulling repo if it goes missing

Signed-off-by: Kedar Vijay Kulkarni<EMAIL_ADDRESS>Description
While running multiple jobs on a shared jenkins agent, all jobs were cloning into /tmp/benchmark-operator but what happened is the init_cleanup call caused the repo to be removed from /tmp before oc apply -f in deploy_operator could actually create resources. This PR fixes that race condition.
Fixes
The way it does that is by calling safe_create that wraps the oc apply -f  command in a while loop, which will try to re-clone the missing repo(if it goes missing due to another parallel run, or for any other reason) . It will exit the loop when the resource gets created.
Additionally adding some more debug logging for errors I am seeing in the runs lately. Having server pod and service info will help.
NOTE: Another way to fix this problem would be to create unique directories for each job in the /tmp/ or change the path to something that user can input. Please let me know if you prefer that. I didn't want to inject any jenkins variables like $WORKSPACE in the script so I didn't go that route. We can also consider adding a random hash to the path where benchmark-operator is cloned.
CC: @mffiedler @chaitanyaenr @mohit-sheth

Can one of the admins verify this patch?

closing this PR since this bug is outdated.


Material: GridHandler support view.align

Using the keyword view.align like at TextFieldCell, but here for textAlign: left, center, right.

Released together with core 0.2.2


Slicing Data returns incorrect results following a transpose()

As described in the title. MFE below.
Consider the following numpy array operation:
import numpy as np
a = np.zeros((4, 6))
b = a.T[::2, ::2]

We then have that b is given by
array([[0., 0.],
       [0., 0.],
       [0., 0.]])

and b.shape is (3, 2).
We would expected similar behavior from the Devito Data type:
grid = Grid(shape=(4, 6))
f = Function(name='f', grid=grid)
g = f.data.T[::2, ::2]

but in this case, g is
Data([[0., 0.],
      [0., 0.]], dtype=float32)

and hence g.shape is (2, 2).
Note that f.data[::2, ::2].T returns
Data([[0., 0.],
      [0., 0.],
      [0., 0.]], dtype=float32)

and f.data.T returns
Data([[0., 0., 0., 0.],
      [0., 0., 0., 0.],
      [0., 0., 0., 0.],
      [0., 0., 0., 0.],
      [0., 0., 0., 0.],
      [0., 0., 0., 0.]], dtype=float32)

which is of the correct form, but slicing this transposed Data will in many cases result in an incorrect output.
It would seem that some property of the Data object is not being properly updated by the transpose operation.

I should add that a temporary workaround for anyone encountering this bug is to slice first, and then transpose the Data object.


[mWeb]Sign in - Scroll is not smooth on sign in page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

scroll to top
try to scroll page

Expected Result:
page should be scroll smoothly
Actual Result:
small amount of page scrolls on first time scroll
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: v1.3.57-5
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/115492554/aa16fd5d-5498-4ce4-b1af-818bae5bd5b6
https://github.com/Expensify/App/assets/115492554/cd1e1ccb-aeaa-429b-907b-b78ecf217e16
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692680797283029
View all open jobs on GitHub

closing for the dupe.


Extend generic info method to include an option to only show members that have some value set

info currently works like this:
izh0.info()

Valid members for Izhikevich2007Cell are:
* v0 (class: Nml2Quantity_voltage)
* k (class: Nml2Quantity_conductancePerVoltage)
* vr (class: Nml2Quantity_voltage)
* vt (class: Nml2Quantity_voltage)
* vpeak (class: Nml2Quantity_voltage)
* a (class: Nml2Quantity_pertime)
* b (class: Nml2Quantity_conductance)
* c (class: Nml2Quantity_voltage)
* d (class: Nml2Quantity_current)
Please see the NeuroML standard schema documentation at https://docs.neuroml.org/Userdocs/NeuroMLv2.html for more information.

It has one parameter that also shows contents of all the members:
izh0.info(True)

Valid members for Izhikevich2007Cell are:
* v0 (class: Nml2Quantity_voltage)
	* Contents: -60mV

* k (class: Nml2Quantity_conductancePerVoltage)
	* Contents: 0.7nS_per_mV

* vr (class: Nml2Quantity_voltage)
	* Contents: -60mV

* vt (class: Nml2Quantity_voltage)
	* Contents: -40mV

* vpeak (class: Nml2Quantity_voltage)
	* Contents: 35mV

* a (class: Nml2Quantity_pertime)
	* Contents: 0.03per_ms

* b (class: Nml2Quantity_conductance)
	* Contents: -2nS

* c (class: Nml2Quantity_voltage)
	* Contents: -50.0mV

* d (class: Nml2Quantity_current)
	* Contents: 100pA

Please see the NeuroML standard schema documentation at https://docs.neuroml.org/Userdocs/NeuroMLv2.html for more information.

For larger classes with lots of optional members, this output is not very useful. e.g.:
nml_doc.info(True)

Valid members for NeuroMLDocument are:
* includes (class: IncludeType)
	* Contents: []

* extracellular_properties (class: ExtracellularProperties)
	* Contents: []

* intracellular_properties (class: IntracellularProperties)
	* Contents: []

* morphology (class: Morphology)
	* Contents: []

* ion_channel (class: IonChannel)
	* Contents: []

* ion_channel_hhs (class: IonChannelHH)
	* Contents: []

* ion_channel_v_shifts (class: IonChannelVShift)
	* Contents: []

* ion_channel_kses (class: IonChannelKS)
	* Contents: []

* decaying_pool_concentration_models (class: DecayingPoolConcentrationModel)
	* Contents: []

* fixed_factor_concentration_models (class: FixedFactorConcentrationModel)
	* Contents: []

* alpha_current_synapses (class: AlphaCurrentSynapse)
	* Contents: []

* alpha_synapses (class: AlphaSynapse)
	* Contents: []

* exp_one_synapses (class: ExpOneSynapse)
	* Contents: []

* exp_two_synapses (class: ExpTwoSynapse)
	* Contents: []

* exp_three_synapses (class: ExpThreeSynapse)
	* Contents: []

* blocking_plastic_synapses (class: BlockingPlasticSynapse)
	* Contents: []

* double_synapses (class: DoubleSynapse)
	* Contents: []

* gap_junctions (class: GapJunction)
	* Contents: []

* silent_synapses (class: SilentSynapse)
	* Contents: []

* linear_graded_synapses (class: LinearGradedSynapse)
	* Contents: []

* graded_synapses (class: GradedSynapse)
	* Contents: []

* biophysical_properties (class: BiophysicalProperties)
	* Contents: []

* cells (class: Cell)
	* Contents: []

* cell2_ca_poolses (class: Cell2CaPools)
	* Contents: []

* base_cells (class: BaseCell)
	* Contents: []

* iaf_tau_cells (class: IafTauCell)
	* Contents: []

* iaf_tau_ref_cells (class: IafTauRefCell)
	* Contents: []

* iaf_cells (class: IafCell)
	* Contents: []

* iaf_ref_cells (class: IafRefCell)
	* Contents: []

* izhikevich_cells (class: IzhikevichCell)
	* Contents: []

* izhikevich2007_cells (class: Izhikevich2007Cell)
	* Contents: [<neuroml.nml.nml.Izhikevich2007Cell object at 0x7f3bc3b53f40>]

* ad_ex_ia_f_cells (class: AdExIaFCell)
	* Contents: []

* fitz_hugh_nagumo_cells (class: FitzHughNagumoCell)
	* Contents: []

* fitz_hugh_nagumo1969_cells (class: FitzHughNagumo1969Cell)
	* Contents: []

* pinsky_rinzel_ca3_cells (class: PinskyRinzelCA3Cell)
	* Contents: []

* pulse_generators (class: PulseGenerator)
	* Contents: [<neuroml.nml.nml.PulseGenerator object at 0x7f3bf397c190>]

* pulse_generator_dls (class: PulseGeneratorDL)
	* Contents: []

* sine_generators (class: SineGenerator)
	* Contents: []

* sine_generator_dls (class: SineGeneratorDL)
	* Contents: []

* ramp_generators (class: RampGenerator)
	* Contents: []

* ramp_generator_dls (class: RampGeneratorDL)
	* Contents: []

* compound_inputs (class: CompoundInput)
	* Contents: []

* compound_input_dls (class: CompoundInputDL)
	* Contents: []

* voltage_clamps (class: VoltageClamp)
	* Contents: []

* voltage_clamp_triples (class: VoltageClampTriple)
	* Contents: []

* spike_arrays (class: SpikeArray)
	* Contents: []

* timed_synaptic_inputs (class: TimedSynapticInput)
	* Contents: []

* spike_generators (class: SpikeGenerator)
	* Contents: []

* spike_generator_randoms (class: SpikeGeneratorRandom)
	* Contents: []

* spike_generator_poissons (class: SpikeGeneratorPoisson)
	* Contents: []

* spike_generator_ref_poissons (class: SpikeGeneratorRefPoisson)
	* Contents: []

* poisson_firing_synapses (class: PoissonFiringSynapse)
	* Contents: []

* transient_poisson_firing_synapses (class: TransientPoissonFiringSynapse)
	* Contents: []

* IF_curr_alpha (class: IF_curr_alpha)
	* Contents: []

* IF_curr_exp (class: IF_curr_exp)
	* Contents: []

* IF_cond_alpha (class: IF_cond_alpha)
	* Contents: []

* IF_cond_exp (class: IF_cond_exp)
	* Contents: []

* EIF_cond_exp_isfa_ista (class: EIF_cond_exp_isfa_ista)
	* Contents: []

* EIF_cond_alpha_isfa_ista (class: EIF_cond_alpha_isfa_ista)
	* Contents: []

* HH_cond_exp (class: HH_cond_exp)
	* Contents: []

* exp_cond_synapses (class: ExpCondSynapse)
	* Contents: []

* alpha_cond_synapses (class: AlphaCondSynapse)
	* Contents: []

* exp_curr_synapses (class: ExpCurrSynapse)
	* Contents: []

* alpha_curr_synapses (class: AlphaCurrSynapse)
	* Contents: []

* SpikeSourcePoisson (class: SpikeSourcePoisson)
	* Contents: []

* networks (class: Network)
	* Contents: [<neuroml.nml.nml.Network object at 0x7f3bf397c7f0>]

* ComponentType (class: ComponentType)
	* Contents: []

Please see the NeuroML standard schema documentation at https://docs.neuroml.org/Userdocs/NeuroMLv2.html for more information.

Only the networks member has something set to it here, but the output is very very long. So, what would be useful is to add another option show_set which would only show members that have something set. In this case, it would only show the networks member.
The output of info can also be improved to classify members by empty and non-empty. So it could show the non-empty members first, and then list the other members.

@pgleeson : I can make these tweaks. Any other ideas on what more we can do to make the output more useful?

Another tweak: when showing members with values, show their ids instead of the object which isn't human readable:
* networks (class: Network)
	* Contents: [Network(id="net")]

as opposed to
* networks (class: Network)
	* Contents: [<neuroml.nml.nml.Network object at 0x7f3bf397c7f0>]

Should be doable.

Additional addition:
print help string on top to describe the component class.

I didn't know there was such a method... great! Did you implement it originally?

Yeh, I think they've only just landed in this release. Here are the three new ones in basewithoutid so they get inherited into all component types:
https://libneuroml.readthedocs.io/en/latest/userdocs/coreclasses.html#basewithoutid
add and info are the main ones, get_members is more of a helper.


Github Project Templates

This repo does not utilize some important github files like an

ISSUE TEMPLATE
PULL REQUEST TEMPLATE

at the minimum, which can help contributors communicate their intentions better, I would like to work on this

Issue #139


Why FP32 is slower than FP64 ?

hi,  do you notice that when we solve problem with LAPACKGPUSolver in FP32, the performance is slower than FP64 ?

Hi @Franc-Z, could you share the code and hardware details?

testing is both on A100 and H100.


Add import export events

1. Why is this change necessary?
There are missing events in core import/export tool. see at https://github.com/shopware/platform/blob/<IP_ADDRESS>/src/Core/Content/ImportExport/ImportExport.php#L141
2. What does this change do, exactly?
This PR fills the placeholder with real code. So developers can customize import/export records without toching core classes.
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-11387
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 6 committers have signed the CLA.:x: philipgatzka:x: bragento:x: ssltg:x: pweyck:x: quynhnguyen68:x: OliverSkroblinYou have signed the CLA already but the status is still pending? Let us recheck it.


docs: add CODE_OF_CONDUCT.md file

Fixed : #89

@Dev-tanay  Could you please take a look at the issue?


Updating Key Vault swagger descriptions - part way through another review and update pass on API swagger comments

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

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

Quality of Swagger

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

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] Validation errors from the Linter extension for VS Code have all been fixed for this spec. (Note: for large, previously checked in specs, there will likely be many errors shown. Please contact our team so we can set a timeframe for fixing these errors if your PR is not going to address them).
[ ] The spec follows the patterns described in the Swagger good patterns document unless the service API makes this impossible.

This change is

Hi @BrucePerlerMS, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (bruceper). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Sent email to Pooneh M. This is not a request for review yet.

#not-ready-to-merge

@pomortaz - here's a partial pass through the file. I'm being careful to not add any REST specific comments knowing that this fill will be used to generate other API's docs.
If you would have a quick look and offer any feedback, that would be helpful.

Making changes with Pooneh's input. Changed to using VS Code editor so I don't inject the wrong quotes.

@pomortaz - Hi Pooneh, I've completed a pass through the file. I think I've done enough without breaking anything. Please have a look.
The rest of the work will need to be done in our docs generation process with overwrite MD files for the descriptions that need augmentation. :) Bruce

@amarzavery, @pomortaz, @BryanLa - right. Should be AKV instead of CDN, since I'm understanding that CDN is a service name. Replacing ...

@amarzavery, @pomortaz, @BryanLa - This is my first collaborative review using this process in Github so, sorry if I've not used the tool correctly. :)

@amarzavery / @pomortaz  - I think I've made all of the updates requested. Is this able to be merged now?

@amarzavery / @pomortaz  - Pooneh (KV Dev) has signed off on this PR. What else is needed? I think I've addressed all the feed back so, I'm not clear what's yet needed to get this moved to merge.

 https://github.com/Azure/azure-sdk-for-python/pull/942

No modification for NodeJS

No modification for Ruby


Add redux-action-tools to Ecosystem.md

Hi.  That's an interesting looking utility library there, but we generally keep that list for stuff that's become more widespread throughout the community.  However, I do have a separate Redux addons catalog that tries to list everything that's out there.  Feel free to file a PR over there.


Add support for more authentication methods for the default calendar module

HTTP Basic, Digest and OAuth2/Bearer authentications are now supported
by the calendar module

I tested Digest authentication against a Baïkal (sabre/dav) Server and OAuth/Bearer authentication against the Google calendar API. They're working fine.
(I didn't know how to get an .ics file out of Google's APIs, so ical.js couldn't parse the data, but the authentication mechanism with a BearerToken itself is working and valid data is returned on a request.)
Unfortunately I couldn't really test Basic auth, since I had no endpoint for this. But it should work as before, since it is used as default authentication if no auth method is given.

I don't have any calendars to test with :/

@fewieden I can give you a test account on my Baikal Server if you want. There you can test the digest auth.
For testing basic auth, I just had the idea that it suffices if one puts an .ics file on a webserver and specifies Basic authentication in the .htaccess file (on an apache server) for the folder. I can do that too and provide URL and test credentials for you.
Unfortunately I can't give you any test environment for Bearer auth, because I tested it against my private Google account. (You have to set up a google calendar API end point and generate an OAuth token to authenticate).

I've test and create a test cases for testsuite and this change pass all configurations with basic-auth.
if necessary add more test case for digest and bearer  there a samples on Pull Request #768 can anyone can take.
For me can aprove this change after resolved some little things exposed in my review.

Yes, I'm gonna add the tests. At least one for digest auth.

@MichMich If @roramirez is working on tests, then that's fine... but we need to fix the merge conflict in the calendar README.

@nhubbard Before you fix the merge conflict, please let me fix the example I added for the auth options. I accidentally added it to the default example, which doesn't need any authentication at all...
Or should I leave it there?

Hey guys, just FYI:
I don't really have time to get the fixes done this week, I'm planning to get all of this done by the weekend (fixes of your reviews and the additional tests in #768 ).
Sorry for the delay, I hope it's OK for you guys.

Hi @deg0nz:
Do you still interested in that you mentioned before?

Hey @roramirez
Yes, I am. I was just really confused that @MichMich already merged the pull requests... And I didn't know what to do.
Also, I had not so much free time in the past days :/
So how should this work? I just make the changes and make a new PR?

Yes, only need a new Pull Request with changes.

okay @roramirez
At first, I want to read into Mocha a little bit and the I'll create tests. Unfortunately my free time is a little bit sparse at the moment, but I'll get the job done in some time ;)


Only support  color_type = 2

Gutenex.PDF.Builders.ImageBuilder.add_image_extra_object only support color_type: 2, my png is 6

yes! I'm almost done with this one. I've been rewriting SenecaSystems/Imagineer to handle every color type.

is possible convert png color_type 6 to color_type 2 using gimp?

You may be able to do it with imagemagick. The color type indicates which palettes to use. Color type 2 is for RGB. 6 means RGB plus an alpha value. So you could convert them, but you would lose the alpha (if this matters to you.)
If it does matter, I need to add support for all image types. That is something I should do anyway and will work on in parallel with Imagineer

Okay, I've just merged in changes to SenecaSystems/Imagineer to handle reading and writing for all color types.
Next up is supporting all of them in gutenex which should, in theory, not be impossible


Inheritance of property classes through rdfs:subClassOf

Hi 👋
We've been using your library at Gaia-X for some time now and it has been very convenient, Clownface is also awesome 👍
Our case
I've found a case that doesn't seem to be managed by the library when properties have an sh:class that is a parent of the actual property class value.
Example
To make sure I wasn't creating an issue for nothing I cloned your repository and wrote a specific test case to simulate our case:
@prefix dash: <http://datashapes.org/dash#> .
@prefix ex: <http://example.org#> .
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix sht: <http://www.w3.org/ns/shacl-test#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<>
  rdf:type mf:Manifest ;
  mf:entries (
      <multiInheritance3>
    ) ;
.

<multiInheritance3>
  rdf:type sht:Validate ;
  rdfs:label "Test of multi level subclasses has properties of shapes" ;
  mf:action [
      sht:dataGraph <> ;
      sht:shapesGraph <> ;
    ] ;
  mf:result [
      rdf:type sh:ValidationReport ;
      sh:conforms "true"^^xsd:boolean ;
  ] ;
.

ex:TopShape
    a sh:NodeShape ;
    sh:targetClass ex:TopClass ;
.

ex:MidClassShape
    a sh:NodeShape ;
    rdfs:subClassOf ex:TopShape ;
    sh:targetClass ex:MidClass ;
.

ex:BottomClassShape
    a sh:NodeShape ;
    rdfs:subClassOf ex:MidClass ;
    sh:targetClass ex:BottomClass ;
.

ex:MainClassShape
    a sh:NodeShape ;
    sh:targetClass ex:MainClass ;
    sh:property [
                    sh:class ex:TopClass ;
                    sh:minCount 1 ;
                    sh:nodeKind sh:IRI ;
                    sh:path ex:bottom ] ;
.

ex:bottomInstance
    a ex:BottomClass ;
.

ex:mainInstance
    a ex:MainClass ;
    ex:bottom ex:bottomInstance ;
.

Expected behavior
In this test case I'm expecting the validation report to be conformant as MainClass expects ex:bottom to be of type ex:TopClass and that ex:bottomInstance is a child of ex:TopClass.
This behavior is specified in the <IP_ADDRESS> Class-based Targets (sh:targetClass) chapter of the SHACL specification.
What I saw
I noticed that the validateClass(..) method calls isInstanceOf(..) with nodes coming from the $data graph.
In our case, this won't work as the rdfs:subClassOf information is available in the $shapes graph.
Maybe using the shapes graph in addition to the data graph to build a class hierarchy could be a solution to this ?

Hello @vincentkelleher. Thank you for using the library and you kind words (credit for clownface goes to @bergos)
Regarding inheritance, unfortunately the implementation is according to spec. This has been discussed multiple times. Also here, a mere month ago: https://github.com/zazuko/rdf-validate-shacl/issues/142. Please also refer to https://github.com/w3c/shacl/issues/34
Since this is a recurring problem, maybe we should consider actually allowing some optional change in behavior, such as merging shapes graph with the data graph. @giacomociti

merging shapes graph and data graph may be useful, we may add an opt-in configuration switch

Hi @tpluscode & @giacomociti
Thank you for the very quick response with some reading material for me this morning 😄
sh:subClassOf must be in the data graph
I wasn't aware that the specification was so clear about this and after reading chapter <IP_ADDRESS> Class-based Targets (sh:targetClass), which I mentioned above, I noticed the highlighted sentence:

Note that, according to the SHACL instance definition, all the rdfs:subClassOf declarations needed to walk the class hierarchy need to exist in the data graph.

Which confirms that the sh:subClassOf needs to be in the data graph.
SHACL processors can also merge graphs
I also had a look at the  chapter which states that the SHACL processor must not modify the input graphs but it can build its own custom graph for validation purposes (if my understanding is correct.

SHACL processors MAY store the graphs that they create, such as a graph containing validation results, and this operation MAY change existing graphs in an RDF store, but not any of the graphs that were used to construct the shapes graph or the data graph.

This would mean that implementing a shapes and data graph merging opt-in configuration switch (as @giacomociti suggested) would be possible 💡

@giacomociti @tpluscode
Since I got your feedback, I have updated our project to load the ontology into a dataset that is then filtered to only keep rdfs:subClassOf predicates as you can see here 👉  https://gitlab.com/gaia-x/technical-committee/service-characteristics-working-group/service-characteristics/-/blob/develop/toolchain/test-shacl/src/ShaclService.ts#L26
Everything seems to work fine and your implementation is flawless 👌
Thank you for your help, I'm closing this to avoid filling your issues tab with open issues 😇


Push logging errors to sentry

Codecov Report

Merging #72 into master will decrease coverage by 0.1%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   56.78%   56.68%   -0.11%
==========================================
  Files          10       10
  Lines         398      404       +6
==========================================
+ Hits          226      229       +3
- Misses        172      175       +3

Impacted Files
Coverage Δ

profbit/app.py
71.42% <50%> (-2.26%)
:arrow_down:

Continue to review full report at Codecov.

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


bash-3.2# python instaRaider.py -n 28 saracerdem ./images/yunusay/

Hi @akurtovic
i'm macosx el capitan 10.11.1 using but I do not understand the problems faced... :/
What is wrong.. please help?
bash-3.2# python instaRaider.py -n 100 yunusay ./images/yunusay/
Traceback (most recent call last):
File "instaRaider.py", line 439, in
main()
File "instaRaider.py", line 429, in main
get_videos=args.get_videos)
File "instaRaider.py", line 63, in init
self.setup_webdriver()
File "instaRaider.py", line 88, in setup_webdriver
self.webdriver = webdriver.Firefox(self.profile)
File "/Library/Python/2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/firefox/webdriver.py", line 77, in init
self.binary, timeout),
File "/Library/Python/2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/firefox/extension_connection.py", line 49, in init
self.binary.launch_browser(self.profile)
File "/Library/Python/2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/firefox/firefox_binary.py", line 67, in launch_browser
self._start_from_profile_path(self.profile.path)
File "/Library/Python/2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/firefox/firefox_binary.py", line 90, in _start_from_profile_path
env=self._firefox_env)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

For a quick glance at the stack trace it looks like an issue with your selenium driver, but I can't reproduce this exactly since your profile is private. I would try reinstalling selenium. Let me know if that doesn't work and I can look into it more.


Support more old (MAVC) features where possible

There's at least one I can think of, but feel free to add more if you've noticed them:

[ ] basic_questions_intro_screen

Didn't actually mean to commit straight to main, but this is a safe fix. I think it could be better to add separate issues for each one we identify. We already have an issue to track migration questions - #69 so I suggest we make backwards compatibility issues for each TODO that we discover


Android Basics: Activities and intents

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-activities-intents?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-activities-intents#4
In which task and step of the codelab can this issue be found?
4. Call the putExtra method, passing in "letter" as the first argument and the button text as the second argument.
intent.putExtra("letter", holder.button.text.toString())
Describe the problem
in the intent.putExtra("letter", holder.button.text.toString()) => we are passing the letter as "letter" to the detail activity, due to which it does not navigate to new screen with words starting from letter "A" as described in the end of the page.
"Now run the app and try tapping a letter. The detail screen is displayed! But no matter which letter the user taps, the detail screen always shows words for the letter A"
Instead need to pass the actual letter "A" as follows
=> intent.putExtra("A", holder.button.text.toString())
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

passing the letter as argument in putExtra needs to be in the next page or after successful navigation to words screen with explicit intent in same tutorial page.

Sorry! My bad, could be the problem with click first time, it worked after i rebuilt with the change of letter.. will look more before reporting next time.


Issue with Multiple eos_token_id in Code Sequences

Hi, Phil,
I've noticed a potential issue in the code where multiple eos_token_id are being added to the code sequences, instead of just one at the end of each row. It seems to insert four eos_token_id values. Could you please clarify if this is the expected behavior?
batch_arange = torch.arange(batch, device = device)
batch_arange = rearrange(batch_arange, '... -> ... 1')

codes[batch_arange, code_lens] = self.eos_token_id

Best regards,
Xueqi

@qixuema yes indeed there was an issue of a missing dimension
thank you Xueqi!


CustomFilter: When we have more than one CustomFilter Component

Hi AllenFang,
Thank you for this awesome lib,
I have implemented website by using your lib. I found something weird.
When i try to implement 2 custom filter with multi select dropdown i have an issue with filter call back function. It will always send me targetValue from first column with i set the filter not the second one.
handleMultiFilterChange(updateItem, key, filterHandler) {
    let filter = this.state.filter;
    filter[key] = updateItem;
    this.setState({
      filter: filter,
      filterKey: key
    }, function () {
      if (filter[key].length === 0) {
        filterHandler();
      }
      else {
        filterHandler({ callback: this.filter })
      }
    });
  }

filter(targetValue) {
    // HERE: TargetValue always be first Column which have been filtered
    console.log(targetValue);
    return _.indexOf(_.map(this.state.filter[this.state.filterKey], x => x.value), targetValue) !== -1;
  }

You can see example here in sandbox
Sandbox link

As my quick investigated.
i think problem is around here in TableDataStore.js
  _filter(source) {
    const filterObj = this.filterObj;
    this.filteredData = source.filter((row, r) => {
      let valid = true;
      let customFilterValid = [];
      let filterVal;
      for (const key in filterObj) {
          .
          .
          case Const.FILTER_TYPE.CUSTOM: {
               const cond = filterObj[key].props ? filterObj[key].props.cond : Const.FILTER_COND_LIKE;
               customFilterValid = customFilterValid.concat(this.filterCustom(targetVal, filterVal, filterObj[key].value, cond));
               break;
        }
        .
        .
       if (!valid) {
          break;
        }
     }
     return valid;
}

Because if iterate in order of column which we set filter, so when we set first filter it work correctly. But after we set second column filter. It iterate first column targetValue. But it check value with second column.

I already solved this problem after i read deep down into lib code, i found that we can send callback parameter to filterHandler function.
My solution is
  handleMultiFilterChange(updateItem, key, filterHandler) {
    let filter = this.state.filter;
    filter[key] = updateItem;
    this.setState({
      filter: filter
    }, function () {
      if (filter[key].length === 0) {
        filterHandler();
      }
      else {
        filterHandler({ callback: this.filter, callbackParameters: key })
      }
    });
  }

filter(targetValue, parameter) {
        // use key from callback parameter instead of state.key and we can remove state.key out
        return _.indexOf(_.map(this.state.filter[parameter], x => x.label.trim()), targetValue.trim()) !== -1;
}

and i already update example in link as well
Solution link
Again, Thank you for great awesome lib


Use the 74193 IC to count up on the 7-segment display

Wire the 74193 IC in Logisim to the IC given (7447) and make sure it counts up from 0 to 9.
P.S. Datasheets are a great way to get started.

Can i get assigned to this issue?

@Chatter-77 Yes. The time limit is 1 hour. If not, others can ask to be assigned.

hey, can i be assigned?

@Chatter-77 please give update on time needed in 10 mins, else the issue will be reassigned.

@Chatter-77 reassigning due to lack of response.

can i get assigned if this is still open?

extra time of 1hr approved by maintainer

can i try

@daedalus-ode any update?


updates modal.php to use route model resolver to inject models

Updates the Modal.php to use an adapted version of the Livewire route model resolver.
Models are directly injected into the modal component. Basically the same way as if you use a full page component (via route) in Livewire.
I use it all the time in my projects but I override Modal.php via AliasLoader::class.
Would solve issues stated in these 2 issues:
https://github.com/wire-elements/modal/issues/197
https://github.com/wire-elements/modal/issues/60

Thanks! @wlhrtr 😄

Awesome 🤩 Time to remove alias loader in my projects.

@wlhrtr are you sure the order of the parameters that you updated in the readme file is ok?
I have a modal component and it has two models, when I try to pass two parameters (according to the docs) using livewire model binding:
This doesn't work, it throws `$coop must not be accessed before initialization`
<button wire:click="$emit('openModal', 'supplier-form', {{ json_encode(([$coop->id, $isAdmin])) }})">
    Edit supplier
</button>

However, this works:
<button wire:click="$emit('openModal', 'supplier-form', {{ json_encode((['coop' => $coop, 'isAdmin' => $isAdmin])) }})">
    Edit supplier
</button>
`


Remove news, do release notes per branch

Design for https://clusterhq.atlassian.net/browse/FLOC-3094

I kept the first Buildbot build in because we've been having trouble with release branches recently, but in theory we're branching from known-good branches and then only potentially changing the license. I think that step can go.

I'm thinking of something like twisted's topfiles.

We've had an issue for using something like Newsbuilder for ~1 year (https://clusterhq.atlassian.net/browse/FLOC-523). My thinking is that we can wait until that is prioritised (never?) or do this as a part-way point. The release notes file is so short (~150 lines) that I think we can put a tiny bit of effort in when we modify it, and choose to use something like topfiles if it becomes worthwhile.

That works for the documentation built for the release, but it will become incorrect as soon as any other commits are made.

What do you think of something which just replaces a marker in the text (like the LICENSE script) with the version being released if it is a marketing release and has a comment for the next author to add that marker?
^ Is the design I'd like reviewed

In summary, I think that the benefits of not doing this in the release process, and then later when we have sorted out the branching removing the build step, and then past that allowing our CI system to do a release, outweigh the downsides of a little bit of hassle when changing the release notes a little bit. And if that hassle gets bigger we can try something like topfiles.

Having just done the part of the release that involves creating the NEWS and release notes,

I don't think that it is a significant chunk of time (~30m or so)
I ended up doing editing of the NEWS and release notes to give them a (somewhat) unified feel. I'm not sure that this can be done in advance.
We aren't currently consistent about adding appropriate release notes.

Given the above points, I don't think it is appropriate at this time to remove this step from the release process. If we go several major releases where we don't need to update the release notes, we can remove the step then.
I do suspect that there is likely nobody that cares about reading NEWS, so I wouldn't be opposed to removing that. (One minor counter point is that I found constructing NEWS helpful in constructing the release notes).
Regarding topfiles, I suggested that not because of the annoyance of ordering things, but because using them allows our CI to enforce that there are release notes for every change, or specific acknowledgement that no release notes are needed.
One thing that occurs to me, we don't actually need tool-support for creating release notes out of top-files, to create them and use them in the release process and CI.

Thanks for the feedback @tomprince .

I do suspect that there is likely nobody that cares about reading NEWS, so I wouldn't be opposed to removing that.

Would you be open to removing NEWS now?

Having just done the part of the release that involves creating the NEWS and release notes, I don't think that it is a significant chunk of time (~30m or so)

I also can do this quickly. CI cannot do it quickly, and I'd like to move towards having a release done mostly by a CI system.
Also, people doing the release for the first time take longer, particularly with the review process back and forth if changes are required.
I think that 30 mins per release is a not insignificant amount of time.
I guess the options now are:

Ditch this for now
Remove NEWS and ditch the rest of this for now
Build a system with a Newsbuilder-like tool
Use topfiles as a start, and later we can consider a Newsbuilder-like tool

I'd rather not do the first but will let you choose.

Would you be open to removing NEWS now?

Yes.
Regarding the other, I'm not opposed to doing it now, but it should be done separately from NEWS.


Documentation for exported functions (API)

I think that the exported functions must be documented. This also apply to the exported functions in MRIGradients.
This can be done by adding a docstring at the top of the function definitions.

Docstrings completed for GIRFReco.jl in #4. MRIGradients will be updated soon. Closing this and cross-referencing this issue in the MRIGradients repo.


ld: framework not found

ld: framework not found SDWebImage-3.3
clang: error: linker command failed with exit code 1 (use -v to see invocation)

how are you installing the library? follow the steps shown here

Using CocoaPods
Podfile
platform :ios, '6.1'
pod 'SDWebImage', '~>3.7’
pod install
Updating local specs repositories
CocoaPods 0.39.0.beta.3 is available.
To update use: gem install cocoapods --pre
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Analyzing dependencies
Downloading dependencies
Using SDWebImage (3.7.3)
Generating Pods project
Integrating client project
Sending stats
[!] The CoffeeSVP User [Debug] target overrides the OTHER_LDFLAGS build setting defined in Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation     - Use the $(inherited)` flag, or
- Remove the build settings from the target.
[!] The CoffeeSVP User [Release] target overrides the OTHER_LDFLAGS build setting defined in Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation     - Use the $(inherited)` flag, or
- Remove the build settings from the target.

On 30 Aug 2015, at 6:32 PM, Konstantinos K<EMAIL_ADDRESS>wrote:
how are you installing the library? follow the steps shown here https://github.com/rs/SDWebImage#installation
—
Reply to this email directly or view it on GitHub https://github.com/rs/SDWebImage/issues/1273#issuecomment-136098013.

did you add the $(inherited) flag like the installation notes suggest?

solved by updating the platform iOS from 6.1 to 6.0

On 30 Aug 2015, at 7:58 PM, Konstantinos K<EMAIL_ADDRESS>wrote:
did you add the $(inherited) flag like the installation notes suggest?
—
Reply to this email directly or view it on GitHub https://github.com/rs/SDWebImage/issues/1273#issuecomment-136123072.


command not found

Hello,
When Trying to configure the extension, I get an error after using the Configure credential command in command palette.
VSCode says " command 'google.drive.configureCredentials' not found ".
I can't (or do not know how to) select the path before executing the command.
Do you happen to know what could be wrong ?
I'm on Linux Ubuntu.
Thanks

Hi,
I just discovered that KeyTar support for vscode extensions has ended in September 😢
https://github.com/microsoft/vscode-discussions/discussions/662
https://github.com/microsoft/vscode/issues/185677
But I'm working on a fix right now and hopefully I can release the fix today!
I'll let you know :)

@Sullyvian can you please try again with the version 1.3.9 I published a few minutes ago? This new version uses the SecretStorage API instead of KeyTar, and should be fine for multiple operating systems. I tested on Ubuntu and MacOS and worked fine.

It's all working
thanks a lot for giving support for this long


Add new App Landing Screen

Description
LEARNER-4469

Add new app landing screen
Update DiscoveryLaunchActivity and its structure
Update layouts
Add missing IDs
Remove unused code related to Explore Subjects

Pending Tasks

[x] Add Analytics
[x] Updated screenshot tests
[x] Check a11y

Test cases should be successful.


Adding functionality to help fix bug with row template and selection functionality.

When adding a custom row template while using ui.grid.selection it causes the rowHeaderSelection checkmarks to stop functioning correctly.
This change will:
- Set isRowSelectable to return true if a row template is passed in and there is no current function for isRowSelectable
- explicity set the value of selected before it is passed into setSelected (in toggleRowSelection)

See #2985


Use erlef/setup-beam and bump gha versions

Remove extra redirection. See https://github.com/erlef/setup-beam/issues/20

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


Add JRE support for javax.crypto package

Hi,
I used j2objc to convert java code to oc. I have convert the code by eclipse plugin. When I take the oc code to ios project, I have an error ActiveCodeHandler.java:10:10: 'javax/crypto/BadPaddingException.h' file not found. So I can not find the header in the dist/include. Now I have no idea for this. ps: The code isn't android project. Who can help me. thanks.

Hi,
Any idea when this might be done?
Thanks.

Hi,
I have seen the latest code <IP_ADDRESS>, and in it, there are already have the javax.crypto package show as below.

But why I still can't import the javax.crypto package in my java code?
If there are solution to the question, please tell me how.
Thanks.

You asked when it was done, and since there are 36 classes in javax.crypto,
it's not done. And 100% Java crypto support may never be done, as we only
plan on mapping what functionality has equivalents in the iOS Security
Framework. By basing our limited support on iOS security, any security
flaws will (hopefully) just be in the iOS platform itself and not our thin
security providers
https://github.com/google/j2objc/tree/master/jre_emul/Classes/com/google/j2objc/security
.
I strongly recommend that instead of waiting, you refactor your app's
encryption code into a utility class, then extract an interface from it to
encapsulate what your app needs from what the platform provides. Keep the
Java implementation of that interface for Android and any server-side code,
then implement an iOS version that maps directly to the Security Framework.
Most apps only need a small part of a big security API, so there shouldn't
be too much native code. Developers had a similar issue with SQLite
support, which has a large API but apps only needed a few calls and so were
easily implemented natively.
If your goal is to port an Android app while writing the minimum
iOS-specific code, another option you have is to use RoboVM. It has full
Java security support, though it does that through a BouncyCastle port plus
its own certificates. That means no integration with the iOS device, but
perhaps that's not a requirement for your app.
If you have some Java security skill, a third option is to implement the
missing security providers like the ones we've done, and contribute it to
our open-source project http://j2objc.org/docs/Contributing.html.
On Fri, Sep 25, 2015 at 12:46 AM lrbtony<EMAIL_ADDRESS>wrote:

Hi,
I have seen the latest code <IP_ADDRESS>, and in it, there are already have the
javax.crypto package show as below.
[image: 2015-09-25 3 41 52]
https://cloud.githubusercontent.com/assets/12557369/10095406/26c5118a-639c-11e5-89c0-8d8b76fedb43.png
But why I still can't import the javax.crypto package in my java code?
If there are solution to the question, please tell me how.
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/432#issuecomment-143151253.

HI,
As I used your code to convert the java sourse code to objc , and then I got an object which the class is ComGoogleJ2objcSecurityIosRSAKey_IosRSAPrivateKey. But it wasn't the same to ObjC class SecKeyRef when I used it to decrypted my encryptedKey . It broke with out any informations that I could know why it didn't work. So I urgently want the javax.crypto.chiper that can help me to convert my encryptedKey into string.
Thank you all the same!

Here's how to do crypto on iOS today: https://developer.apple.com/library/mac/documentation/Security/Conceptual/cryptoservices/GeneralPurposeCrypto/GeneralPurposeCrypto.html

Why don't you use Bouncycastle library to improve javax.crypto support? Or at least provide the basic scaffolding  to incoroporate Bouncycastle to a project?
Thanks

Using crypto APIs other than the iOS Security Framework requires that every j2objc app would need to follow the U.S. Export Compliance steps, which may require submitting compliance declaration forms with every AppStore submission. You are of course welcome to directly include BouncyCastle in your own app if you are okay with this export requirement, but it can’t be included in the platform without impacting all other app teams using j2objc.
Before you translate BouncyCastle (not difficult, but it's big), consider what exactly your app's crypto requirements are. Java's security API is huge to handle all possible scenarios for all platforms, but most mobile apps have very narrow needs. These apps can therefore define a simple "security" or "crypto" interface for their cross-platform code, then implement it separately for Android and iOS, often with a single simple class since it just calls either the JRE on Android or the Security Framework on iOS. That's why we get requests for full JRE support when an app team first hits this issue, but then they don't need it later.
Unfortunately, every app's needs tend to be different, which is why we can't provide a security subset that will meet the needs of all j2objc users. We plan on implementing crypto next year, in large part because the macOS and iOS security APIs have been unifying in recent releases (especially iOS 10).

The javax.crypto package was added to j2objc-2.0. We don't implement crypto support, due to the U.S. Export Compliance issues mentioned above.

Before you translate BouncyCastle (not difficult, but it's big)

Sorry for reopening this but I'd need help with exactly this: transpiling the bouncycastle source into a project.
I'd like to work with a java library that uses AES encryption (and some other) in its code and before I'd gone to the length of rewriting the code into objc native code, I thought about adding the appropriate security provider through bouncycastle to at least test if the code works after translating it to objc.
Unfortunately here I am a little lost: the first thing is that I don't really know which source from bouncycastle am I supposed to use. There are so many choices of different jdks and modules. Do I use only the prov module, or do I need to add the core also?
I know that this is not the bouncycastle repo here, so this question is most likely out of scope, but at least I DO find it difficult to transpire the bouncycastle source into objc.
In fact I have already tried various approaches. Using only the prov module and also with core, with different sources (jce, jcajce, ...) but every time there are compiling errors when trying to compile it with j2objc.
Mostly it is either missing classes (hence adding the core module) or there are class names doubled in different packages of the bouncycastle source.
I couldn't find anything that helps by searching other than the statement that it should be fairly simple (twice).
So any help would be appreciated (or a nudge in the right direction for that matter).
Thx!

The general trick to translating a new library is to first come up with a
command-line for javac that builds, not j2objc. Be sure to add source
directories and/or source jars to the -sourcepath, and don't use the
-classpath argument (the latter is for class files, which j2objc doesn't
use). For BouncyCastle, this is likely to mean several source directories,
but start with the one directory that has the AES support you need, then
add other directories only if the javac command fails due to missing
references.
Once you have a javac command that builds all the Java sources
successfully, then change the "javac" in the command to "j2objc" and use
the same arguments and file list. Unless this code uses API that the j2objc
JRE doesn't support, this should just work. Since BouncyCastle uses very
little of the JRE API (it's mostly math), though, it should be fine. One
reason I'm confident about this is because I used BouncyCastle a lot when
profiling j2objc performance.
Why does starting with javac first work so well? It's because j2objc uses
javac for its front-end, so all of those javac flags are passed unchanged
to the front-end by j2objc. All of the missing class errors you see are
from the javac front-end, as nothing j2objc-specific has executed yet.
Why does thiswork better than starting with j2objc? For whatever reason,
when an experienced Java developer hits a javac error, they usually
understand what's wrong and are comfortable fixing it themselves. Type
"j2objc", though, and suddenly they doubt themselves and ask for support.
Under the hood the j2objc translator is just a Java compiler.
On Wed, Nov 2, 2022 at 12:36 AM thieren @.***> wrote:

Before you translate BouncyCastle (not difficult, but it's big)
Sorry for reopening this but I'd need help with exactly this: transpiling
the bouncycastle source into a project.
I'd like to work with a java library that uses AES encryption (and some
other) in its code and before I'd gone to the length of rewriting the code
into objc native code, I thought about adding the appropriate security
provider through bouncycastle to at least test if the code works after
translating it to objc.
Unfortunately here I am a little lost: the first thing is that I don't
really know which source from bouncycastle am I supposed to use. There are
so many choices of different jdks and modules. Do I use only the prov
module, or do I need to add the core also?
I know that this is not the bouncycastle repo here, so this question is
most likely out of scope, but at least I DO find it difficult to transpire
the bouncycastle source into objc.
In fact I have already tried various approaches. Using only the prov
module and also with core, with different sources (jce, jcajce, ...) but
every time there are compiling errors when trying to compile it with j2objc.
Mostly it is either missing classes (hence adding the core module) or
there are class names doubled in different packages of the bouncycastle
source.
I couldn't find anything that helps by searching other than the statement
that it should be fairly simple (twice).
So any help would be appreciated (or a nudge in the right direction for
that matter).
Thx!
—
Reply to this email directly, view it on GitHub
https://github.com/google/j2objc/issues/432#issuecomment-1299697247, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAW2JLZ3P246GIMDF4YMD63WGIKWXANCNFSM4AXH7LTA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Thx for the nudge and the overall determination to help. :-)
The tip with finding a javac command first was very good. At least I got this to compile, so I think I've got the right source files now.
One major difference I've noticed between javac and j2objc command is, that when I compile a *.java (e.g. javac -d dist -sourcepath src ./src/org/path/to/my/file.java) it will compile all needed class files that my file.java depends on from other packages into the dist folder. But j2objc won't do the same for the objective-c code. Is there a way to get this working?
But that's actually no real problem in my case, since I've actually just looked at the generated *.class files and used the according *.java files in my Xcode project.
Unfortunately now I'm back at the error that says that multiple commands generate the same output file, since bouncycastle uses the same class names in different packages. If you've got any on that let me know.
Again, many thanks for your help!

To compile all dependent Java sources like javac does, use
j2objc's --build-closure flag. It's not the default behavior because
several build systems work best with explicit outputs generated for
specified inputs.
Don't use the --no-package-directories flag, as that's likely the cause of
the Xcode errors. Since Xcode doesn't support relative paths for source
files (that flag is just a hack to get beginners started), the work around
is to define an External Build rule for the Java sources that uses an
external build tool, then have the Xcode app depend upon that rule.
The JreEmulation.xcodeproj
Xcode project
https://github.com/google/j2objc/tree/master/jre_emul/JreEmulation.xcodeproj
does this to invoke Make for the Java build.
On Thu, Nov 3, 2022 at 3:10 AM thieren @.***> wrote:

Thx for the nudge and the overall determination to help. :-)
The tip with finding a javac command first was very good. At least I got
this to compile, so I think I've got the right source files now.
One major difference I've noticed between javac and j2objc command is,
that when I compile a *.java (e.g. javac -d dist -sourcepath src
./src/org/path/to/my/file.java) it will compile all needed class files
that my file.java depends on from other packages into the dist folder. But
j2objc won't do the same for the objective-c code. Is there a way to get
this working?
But that's actually no real problem in my case, since I've actually just
looked at the generated *.class files and used the according *.java files
in my Xcode project.
Unfortunately now I'm back at the error that says that multiple commands
generate the same output file, since bouncycastle uses the same class names
in different packages. If you've got any on that let me know.
Again, many thanks for your help!
—
Reply to this email directly, view it on GitHub
https://github.com/google/j2objc/issues/432#issuecomment-1301880355, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAW2JL4RZRYKNESX4VYQHSDWGOFRTANCNFSM4AXH7LTA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Monkey Patches Break Debugging in IDEs

First of all, I really appreciate the amazing work you have put into this library. It is truly great and very promising.
I have a concern regarding some monkey patches (hot code fixes) that are performed in the library right now. This makes even simple things like trainer.train() not possible to debug in PyCharm, and potentially in other IDEs, as the code is generated dynamically in real-time. As far as I can tell, this mainly happens in two places:
unsloth/models/llama.py
unsloth/tokenizer_utils.py
I created a fork without these monkey patches: https://github.com/egeozsoy/unsloth/tree/main, which allows debugging but sacrifices the helpful commands you had integrated into the script.
In the future versions of this library, instead of using monkey patches, a better way to achieve the desired effect would be to create a class that inherits from STFTrainer and so on. While this approach might not be as immediately plug-and-play, it would offer a clearer, more understandable, and more debuggable solution.
Thank you again for your work!

Thanks for the report! Ye dynamically patching is actually more pervasive in the package than I wanted - eg RoPE patching is also using inspect.getsource - it just makes coding much easier without having to update dependencies - sadly unlikely I'll move it to standalone patches, since it'll make updating packages much more complicated - but thanks for the recommendation!


Feat/giveaway blacklist

[ ] testing

this pull req extend #136

possible error that will happen:

if someone using the slash command perfectly inside gap task loop
then some member should removed from table in the next task iteration
but the command will insert the new same member that should removed in point 2
there will be a duplicate (or an error since user_id is unique)

waiting for #136 to merge for testing

The code still has a syntax error. I’ll check it later, but for now, I can't test it on Discord.

already tested the feature. lgtm

Can you provide the demo as well?

Check the demo on Discord here.


Improve issues.LoadProject

issues.LoadProject() is no use
change issues.loadProject(ctx) to issues.LoadProject(ctx)

🎺 🤖


Retrieve Activity Logs on a Model with LogActivity Trait

Hi, been trying to find in your docs on how do I retrieve the logs on a Specific Model? (it's always "get last activity" on examples but I'm looking for enumerating logs that have been performed on that specific model)
I'm not getting results from
return $model->activity;
Do I need to define the relationship of the Model with the Activity Model?
My aim is to get logs of the model and show the causer and changes made by the causer.

Hi, you can do: Activity::where('subject_type', YourModel::class)->with('causer')->get();
Hope that helps.


Simulate public functions using brillig

Right now public functions are built using ACIR. We want for them to be implemented using unconstrained functions, brillig.

Closed as this was done here https://github.com/AztecProtocol/aztec-packages/pull/1198


stat-monitor dashboard help

i wrote the following line of codes to calculate statistics for function invocation
var stat = require('monitor').getStatLogger('person');
function getUserUUIDByEmail(req, res, opts){
stat.increment('person.byEmail');
}
i need help to view 'person.byEmail' property in the dashboard

The node-monitor stat function records stats to a backend such as graphite.
To get this into monitor-dashboard
1 - Install graphite
2 - Configure node-monitor stats to send the stat to graphite
3 - Verify the stat is being sent to graphite using the graphite UI
4 - Build a graphite viewing component for monitor-dasboard
When you get to step #4, paste a screen shot of your graphite graph and I can show you how to hook that graph into a monitor-dashboard component.

Thanks lorewest for your replay , but i can't find any documentation about how to Configure node-monitor stats to send the stat to graphite?
do you have any documentation ?

Documentation on the stats module is in the node monitor project. Getting statsd running is well documented in the statsd project. Putting it all together is an exercise for the do-it-yourselfer.


Fix the scope of the failure_start method

This was causing an undefined method error when relationships aren't passing
successfully.
Instead of displaying the expected message within failure_start, it was displaying an undefined method error 'failure_start' message.

@sineed I don't see a new gem on rubygems.  Would you like me to release a patch?

@cheerfulstoic sure

Released as 0.2.7


stock chart : Heiken Ashi & Ichimoku

I would like to display the Ichimoku kinko hyo indicator with my candlesticks for my stocks charts
How can we display calculated data for an indicator, and display them in the future with an existing dataset ?
I have tried several things, adding empty dates to my initiial dataset...but stocks data are empty...
and I always have some problems with the zoom
If you could add this or give some advice to solve, I would appreciate !
and is there an option to use Heiken Ashi candlesticks ?
eCharts is awesome !

I think that Heiken Ashi candlesticks can be used directly, after processing raw data by Heiken Ashi definitions.


Docs: Fix issue where one of the code copy commands copied incorrect text

Description

Resolves #4111. The code block in the docs did not have a corresponding component in the appropriate Examples folder. Added and updated the snippet name to be standard with other snippet names.
NOTE: In order to make this work, I had to suppress a compiler error in MudBlazor.Docs because script blocks in components are prohibited. I think this makes sense given that this is a docs project, but let me know if you have objections.
How Has This Been Tested?

I don't see any manual unit tests for docs stuff, so no tests added.
Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

I'm looking into it now. It happened when I rebased my feature branch onto dev. Once I sort it out I'll take it off "draft" status.

I think there a problem with this pull request!!
why commit is more than 400 ??

@GeeSuth, thanks for taking a look and pointing out an issue, but there is a more polite way to express it.

I'd like to "pause" this PR for a few days. I'm hesitant to exclude the warning in the .csproj file, but I also fully acknowledge the need to put in a <script> tag in this example. I'd like to check if there is a way to modify the code generation so that we can use  a MarkupString as @Mr-Technician proposed

I'd like to "pause" this PR for a few days. I'm hesitant to exclude the warning in the .csproj file, but I also fully acknowledge the need to put in a <script> tag in this example. I'd like to check if there is a way to modify the code generation so that we can use a MarkupString as @Mr-Technician proposed

I definitely understand this. Let me know what you find out - I'm happy to help however I can.

I'm looking into it now. It happened when I rebased to dev. I'll update
soon.
On Tue, Sep 20, 2022, 11:39 AM Abdallh Bin Hatheem Ali <
@.***> wrote:

I think there a problem with this pull request!!
why commit is more than 400 ??
—
Reply to this email directly, view it on GitHub
https://github.com/MudBlazor/MudBlazor/pull/5313#issuecomment-1252542238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACIIYW2FD6VEG22S5GDQULV7HLDVANCNFSM6AAAAAAQRGDGKA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@henon maybe you have an idea here how this can be fixed without changing .csproj?
The problem is that if you open docs https://mudblazor.com/getting-started/installation#manual-install-removing-references and try to copy this line <script src="_content/MudBlazor/MudBlazor.min.js"></script> via the clipboard icon, it will copy " Snippet for component 'InstallScriptManual' not found!`.
I really want to close this issue.

I decided to close this PR due to the fact that this is a more general problem with manual markup examples in our docs. I will look for a way to fix this for all manual markup sections.


[WIP] Add Mobile Web Video Playback primer article

This a PR so that reviewers and others can have a look during work in progress.
Preview at https://pr-4299-dot-web-central.appspot.com/web/fundamentals/getting-started/primers/mobile-web-video-playback

@beaufortfrancois Are you about read for a copy edit?

@jpmedley It isn't yet. I'll ping you for sure when it's ready. Thanks for asking!

It is now tracked at https://github.com/google/WebFundamentals/pull/4367


Make eslint happy again after updating the module tagger code.

Should also help fix #824

Thanks @drewpc.


Investigate Chrome SSL warnings for third-party libraries

In Chrome web inspector panel:

According to https://security.googleblog.com/2017/09/chromes-plan-to-distrust-symantec.html this will impact Chrome in April 2018.
This issue probably involves going and reading up to see when MixPanel, Rollbar and AWS CloudFront will respond to this, and verifying that this happens before April.  I assume that they'll update, and this warning will be resolved without us doing anything.  If not, Chrome's warnings will get progressively visible.  Just noting here in case other people come across this.

Closing since there's no active work to be done here, just noting FYI.


Deprecate setFromDb() method

Related with https://github.com/Laravel-Backpack/docs/pull/506.

I agree we do this, but at the same time we remove setFromDB from our stubs too.
Otherwise I don't think it makes sense to deprecate a function that we still use.
The stubs are now publishable too, so if you want to add something back that we removed you can just publish the stubs and do your changes accordingly.
Cheers


Add support for parameterized models

Let's leave this here at least as a kindof idea for documentation, others might like parameters too. Will label with an :axe: .

also, let's have a parenthesis
(
long story short for the future reference: there are a few ways to do this sensibly:

substitute parameters into variable values using substitute(), which works but I'm not a big fan thereof because variables shouldn't mean anything
ParametrizedValue as a parametrized placeholder that can get converted to say LinearValue using tree_map given the parameter values are known -- this is basically hoisting function parameters into data, which is I guess OK because people can touch the data better.
EqualToNamedParameter bound  -- cheapest but might not cut some of the usecases

)


Implement missing TestResultsDetails views

We are currently missing TestResultsDetails views for the following tests:

[ ] HTTP Invalid Request Line
[ ] HTTP Header Field Manipulation
[ ] WhatsApp
[ ] Telegram
[ ] Web Connectivity
[ ] NDT
[ ] Dash

The only one that is implemented is Facebook Messenger and that view can be used as a template to implement the remaining ones. See: https://github.com/ooni/probe-desktop/blob/master/renderer/components/nettests/im/facebook-messenger.js.

As we don't have final mockups for these screens yet in OONI Explorer (and the desktop apps should probably share some code there) I am going to suggest we postpone the fully fleshed out views for these to after the beta.
cc @elioqoshi

Here are some mocks of these I made:

cc @holantonela

Do we want to implement a sticky layout here as was previously planned? The colored Hero can be compressed into a bar with some (or all) of the details like status, URL, date, network etc. But I think it would be better to think it through before implementing it.

Do we want to implement a sticky layout here as was previously planned? The colored Hero can be compressed into a bar with some (or all) of the details like status, URL, date, network etc. But I think it would be better to think it through before implementing it.

I think that we must take into account the fact that the top bar needs to stay visible also while you scroll. The cleanest way to do that, I think, would be doing it with a sticky layout.
The code for doing it should already be there.
Would you like me to mockup also how it looks like collapsed?

I don't think a mockup is necessary. The reason I asked is because the sticky feature was part of the older implementation and it wasn't clear if we wanted to move it over into the newer (above) layout.

Hero can be compressed into a bar

I was already referring to the collapsed state here.

This was implemented in these PRs: #44 #49 #53 #57 #58


Translations not generated for choice list used with search()

Software and hardware versions
pyxform v2.0.1
Problem description
https://forum.getodk.org/t/text-is-not-localizable-for-default-locale/44745
Steps to reproduce the problem
Convert attached form using --skip_validate, notice that an inline select is generated:
			<select1 appearance="autocomplete search('registered_participants')" ref="/data/Select_benefic/search_idcode">
				<label ref="jr:itext('/data/Select_benefic/search_idcode:label')"/>
				<item>
					<label ref="jr:itext('/data/Select_benefic/search_idcode/foo:label')"/>
					<value>foo</value>
				</item>
				<item>
					<label ref="jr:itext('/data/Select_benefic/search_idcode/id_:label')"/>
					<value>id_</value>
				</item>
			</select1>

But there's no corresponding translation.
Expected behavior
With v1.12.1, we also get
					<text id="/data/Select_benefic/search_idcode/id_:label">
						<value>fullname</value>
					</text>

Other information
I briefly thought it could be something else:

List name of name
Single-item list
Underscore in item name

But it's definitely related to the search()-specific code path since an inline select is still generated.
We should continue to generate an inline select in this special case, we just need the translation to also be generated just to satisfy Validate.

Some context from May 2023 in this comment:
# External selects from a "search" appearance alone don't work in Enketo. In Collect
# they must have the "item" elements in the body, rather than in an "itemset".

It would be worth checking if the special case is still necessary, since there have been a few releases since then.

Yes, it is, we haven't touched that functionality in Collect. search() exists way outside the ODK XForms spec and we don't document it, instead favoring select_*_from_file. It's still in some use, though, so we continue to support it as-is.

Failing test:
    def test_includes_translations_for_items(self):
        """Should include translation for items used to configure search() in order to pass validation"""
        md = """
        | survey  |                        |       |            |           |                    |
        |         | type                   | name  | label::en  | label::fr | appearance         |
        |         | select_one things      | thing | Thing      | Chose     | search('my_file')  |
        | choices |                        |       |            |           |
        |         | list_name              | name  | label::en  | label::fr |
        |         | things                 | id    | label_en   | label_fr  |
        """
        self.assertPyxformXform(
            md=md,
            debug=True,
            xml__xpath_match=[
                xpc.model_itext_choice_text_label_by_pos(
                    "en", "things", ["label_en"]
                ),
                xpc.model_itext_choice_text_label_by_pos(
                    "fr", "things", ["label_fr"]
                )
            ]
        )

Looking at a fix...

I initially thought we could remove the check on not is_search in xls2json and also generate a secondary instance for the weird single-item choice list in order to force translations. But that changes the select to a select from secondary instance which won't work.
I'm out of ideas for now. Hoping there's something relatively straightforward that I'm missing!

OK thanks, I will have a look.


How to manage responseType = 'blob'

I call an API endpoint that returns a file. As you can see below, I success to implement a full javascript snippet to download the file using xhr :
    window.URL = window.URL || window.webkitURL;

    var xhr = new XMLHttpRequest();
    xhr.open('GET', Restangular.one('attachments', idAtt).getRestangularUrl(), true);
    xhr.setRequestHeader('X-Auth-Token', 'token');
    xhr.responseType = 'blob';

    xhr.onload = function(e) {
        if (this.status == 200) {
            var blob = this.response;
            var url= window.URL.createObjectURL(blob);
            window.open(url);
        }
    };
    xhr.send();

But now, I would like to use only Restangular instead! However, it doesn't seem to be possible setting the responseType to 'blob'...
I've tried to convert the text response to blob, but I finally get a corrupted file at the end.
Has someone already solved this kind of problem?

@vishwajeetv : did you manage to download the pdf file.

@vishwajeetv : stuck on the same problem. Any heads up ??

responseType is just what the type the response should be in your JS. Blob is for everything binary like a pdf or image. You can download it for example by constructing a link with URL.createObjectUrl() and then pointing an <a download=""> to it or by window.open(), display it in iframe, etc etc

In my case $window.open() resulted in "popup blocked" browser message, but
$window.location.href = url; worked perfectly (no popup)

blob would work but I use arraybuffer to be able to decoded error response to json if any
Restangular.one('downloadPDF')
.withHttpConfig({ responseType: 'arraybuffer' })
.get()
.then(function (response) {
var fileName = 'file.pdf';
var a = document.createElement('a');
document.body.appendChild(a);
a.style = 'display: none';
var file = new Blob([response], {type: 'application/pdf'});
var fileURL = (window.URL || window.webkitURL).createObjectURL(file);
a.href = fileURL;
a.download = fileName;
a.click();
            (window.URL || window.webkitURL).revokeObjectURL(file);

        }, function (response) {
            //error
        });

you also can use this in the then block:
      var blob = new Blob([response], {
        type: "application/vnd.ms-excel ; charset=charset=utf-8"
      });

      saveAs(blob, "MyExcel.xls");

type depends

Using withHttpConfig({responseType: 'blob'}) kept giving me an error The selected responseType is not supported
withHttpConfig({responseType: ResponseContentType.Blob}) worked for me instead.


Adding little description about the company in about section

I would like to add a little description like aim, vision of the company. Woulds you please assign me this task under SSOC?

@Vrushti07 go ahead


Cannot create more than 9 loadouts

I had 11 loadouts, when i logged back in there were only 9. I tried recreating the missing ones and after a refresh they had disappeared again.

Have you tried logging out of Bungie.net, clearing your cookies, restarting Chrome etc.?
On Wed, May 13, 2015 at 11:43 AM, matthewk85<EMAIL_ADDRESS>wrote:

I had 11 loadouts, when i logged back in there were only 9. I tried recreating the missing ones and after a refresh they had disappeared again.
Reply to this email directly or view it on GitHub:
https://github.com/kyleshay/DIM/issues/108

Have logged out and into Bungie.net, but haven't cleared cookies, will try when i next have the opportunity and report back.

There is a maximum file size we can save and you're probably going over.

Okay.  I can't compress the file.  I have to store them as JSON and the JSON files can't be over 100k.  We're gonna have to give up on storage sync if we're gonna support more than 5-10 loadouts (depending on the number of items).

What about using something like http://pieroxy.net/blog/pages/lz-string/index.html where Chrome's local JSON object storage looks like a single JSON pair:
StorageArea.set( object {"dim":"compressedBLOB"} )

where compressedBLOB is the result of a compression function, something like:
compressedBLOB = compress( dimJsonObject )

Then to load it out, just reverse the process

Didn't want to use local storage. I was trying to recall LZ string. Thanks
for finding it.
On Thu, May 14, 2015 at 12:23 AM Matt Yurek<EMAIL_ADDRESS>wrote:

What about using something like
http://pieroxy.net/blog/pages/lz-string/index.html where Chrome's local
JSON object storage looks like a single JSON pair:
StorageArea.set( object {"dim":"compressedBLOB"} )
where compressedBLOB is the result of a compression function, something
like:
compressedBLOB = compress( dimJsonObject )
Then to load it out, just reverse the process
—
Reply to this email directly or view it on GitHub
https://github.com/kyleshay/DIM/issues/108#issuecomment-101916460.


update the repo's owner_name

Also update the repo's owner_name when only the capitalization of username changes.
Before:

After:

Is this a bugfix and could you add a test for that?

Could there be an old bug if the visibility and name both change at the same time?

The logic looks good to me, while I also agree it's better to have some tests (if it's not too difficult for a new contributor).

need help

need help

I have approved

Is this a bugfix and could you add a test for that?

need help

Is this a bugfix and could you add a test for that?

need help

Integration tests are saved in tests/intergration. DB data are defined as yaml files, saved in models/fixtures.
The place of adding your test depends on you.
You can reference the exist codes to learn how to code tests. 😄

It seems that the main point of this PR is trying to fix the repo URL.
Can you update the title and the description?
ps: IIRC, I have seen an issue talked about this.

you can edit it

It seems that the main point of this PR is trying to fix the repo URL.
Can you update the title and the description?
ps: IIRC, I have seen an issue talked about this.

I'll edit it later.

I can't edit title and description (no permission).
Can someone help to edit the description.


Apache httpd md module not working because of wrong selinux context

After migration to Rocky Linux on a server which uses md module of httpd, httpd service could not be started, I investigated and reached this in /var/log/audit/audit.log when trying to start httpd service.
type=AVC msg=audit(1628946222.330:216): avc:  denied  { write } for  pid=2168 comm="httpd" name="example.org" dev="sda1" ino=46137569 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_config_t:s0 tclass=dir permissive=0

find / -xdev -inum 46137569

returns: /etc/httpd/md/domains/example.org
Also
ll /etc/httpd/md/domains/ -Z
total 0
drwx------. 2 root root system_u:object_r:httpd_config_t:s0 75 Aug  8 03:27 example.org

I've executed restorecon -Fvr /etc/httpd/md/domains/example.org and also relabeled whole filesystem using touch /.autorelabel and reboot.

Which distro did you migrate from?  Can you confirm that this wasn't an issue on the original distro?
What do you get if you pipe the output from audit.log to audit2why?

Which distro did you migrate from?

CentOS 8.

Can you confirm that this wasn't an issue on the original distro?

Yes.

What do you get if you pipe the output from audit.log to audit2why?

[root@hostname httpd]# cat error
type=AVC msg=audit(1628946222.330:216): avc:  denied  { write } for  pid=2168 comm="httpd" name="example.com" dev="sda1" ino=46137569 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_config_t:s0 tclass=dir permissive=0
[root@hostname httpd]# cat error | audit2why
type=AVC msg=audit(1628946222.330:216): avc:  denied  { write } for  pid=2168 comm="httpd" name="example.org" dev="sda1" ino=46137569 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_config_t:s0 tclass=dir permissive=0

        Was caused by:
                Missing type enforcement (TE) allow rule.

                You can use audit2allow to generate a loadable module to allow this access.

Okay, I was thinking that there might be a boolean for it, but obviously not.  At this point the only thing I can think of that would have caused this is if someone used chcon to change the context of the files properly and that restorecon (or similar) somehow got run during the migration (possibly by one of the rpm scriptlets) and ended up restoring the default context to the files in question.
In this particular case the best thing is likely to use semanage to add a permanent rule for the context of the given directory, so httpd can access it.  You can alternatively add a module with audit2allow as recommended by audit2why, but that will result in httpd being able to access httpd config files as if they were static files (for display), and that's likely not what you want.

I have executed touch /.autorelabel; reboot several times after this server has been configured an year ago for multiple reasons and there was never a problem, I'm sure I have not executed chcon to change the context of this file (and even if I had it would have been relabeled to default context).
I don't know what could have caused this problem too, feel free to repoen this issue if you think it might be related to migrate2rocky script.

It might be, but without more information on what the actual cause is, or a way to reproduce it, I honestly can't really do much.  If you get more info to that regard, then please go ahead and reopen it and let me know.

Thanks for your help!


Actions

Applied mkpr on .github/workflows/update_readme_api.yml
cat .github/workflows/update_readme_api.yml

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

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

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
114

Relevant Lines:
198

💛  - Coveralls


No working support email

The email<EMAIL_ADDRESS>is not found. What is the correct e-mail address?
[Enter feedback here]

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

ID: c2cf3a3c-5fd5-2f90-51b8-20cee671b67e
Version Independent ID: cfb76736-2e5c-7277-9f00-8bbc1fb6786b
Content: Tutorial: Azure Active Directory integration with Clarity
Content Source: articles/active-directory/saas-apps/cappm-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@jotafabio
Thanks for your feedback! We will investigate and update as appropriate.

@v-hagamp and @v-rant Can you please get the right support alias for this app?

@jotafabio , We are updating the document with right contact.
#please-close


Ctrl+C in zsh shell leads to a staying extra empty line in prompt on macOS

I created a new user, installed minimal rust and wrote this little program:
testtest@MacBook ~ % cd rpass
testtest@MacBook rpass % cat src/main.rs
fn main() {
    println!("Hello, world!");
    rpassword::read_password().unwrap();
}
testtest@MacBook rpass %
testtest@MacBook rpass % cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.00s
     Running `target/debug/rpass`
Hello, world!

testtest@MacBook rpass %

testtest@MacBook rpass %

Between the first command and the next there is no empty line. Afther the "Hello, world!" print, I pressed Ctrl+C. When I then pressed enter there is an empty line between the two prompt lines.
I tested zsh 5.7 and 5.8 (via brew) on macOS Catalina, both Terminal.app and iTerm2.app.
On the other hand it's not really problematic to fix it, just open a new tab.

Hello @nmlt, thanks for reporting ! :+1:  I do not currently have time to look into this because it seems non-critical, so I'm going to close the issue. Feel free to open a PR with a fix and a test case if this bothers you.

@nmlt Actually, I might think this is problematic. Currently rpassword does not handle signals. But I'm working on some updates in this repo: https://github.com/conradkleinespel/duck. It makes use of the Drop trait to restore the terminal, which should be more reliable.
I'm not 100% sure that this repo is usable from the outside yet, but you could try using rpassword like this:
[dependencies]
rpassword = { git = "https://github.com/conradkleinespel/duck.git" }

I'll try tu publish an updated version within a few weeks (want to test a bit more first).

Using rpassword from your mono repo worked fine for me, but the problem persisted.
You're absolutely right that it is not really a very pressing problem and I have no idea what could cause this. I just found it a curious problem.
Something I forgot to mention: it doesn't happen on bash on macOS (v3.2.57(1)) and also not on linux zsh version 5.0.2

Good to know that the monorepo works, thanks a lot for testing! :+1:
Back to this bug, I'm really not sure what could be causing it and unfortunately I don't have access to a Mac. If you want to make a PR with a test case I'll be happy to review it, for now I'm going to close this issue.


Update annotation_pipeline.nf

Hello Bkm ! I fixed file extention names between .ffn and .fna which were originally inverted

It looks good to me. Thanks for the fix !

This allowed me to fix it.


Typo in Docs.

Language: German
Link: https://www.electronjs.org/docs/tutorial/development-environment#setting-up-macos
Word: "stäter" to "später"

Hey @Assimilationstheorie, the non-English translations for our documentation are available on CrowdIn. I've fixed the typo over there, so they should be available on the next pull from CrowdIn.


Remote view does't work with exported multi level dictionary

Godot version
v3.5.beta1.mono.official [b9b23d222]
System information
Debian 11
Issue description
I have several exports like this one :
[Export]
private Dictionary debug_game_data = new Dictionary();

Some have other nested Dictionary
When I try to inspect the nested ones the editor don't allow me to expand them.
I work in C#
Steps to reproduce
Export a multilevel Dictionary and try to inspect it in remote tab.
Minimal reproduction project
NA . Its a simple thing that can be done in any C#  project without impact to any existing code :)

Duplicate of https://github.com/godotengine/godot/issues/25375.

Sorry ,
I missed it :)