Customer billing is now managed by differtent tenant and it is affecting when he sets the Azure Context in Azure CLI and causing errors in his code

Describe the bug
Customer appears to have a service principal identity. His expectation is that it is available from one resource group on one subscription, but it appears to be accessible from other resource groups. The potential for that is normal.
We are noticing duplicate spn-id while login with service principal with dc01 subscription and here is output.  Here with this exaple we are trying to connect with DC01 subscription for one of spn, but for some reason it shows both DC's dc01 and DC60.
Related command
az login --service-principal --username a5c14060-5a0f-4b00-81be-84a60da6dc4b --password xxxxxx-xxxxxx~xxxxxxxxx~xxxxxxxxx --tenant xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
[
{
'cloudName': 'AzureCloud',
'homeTenantId': '69b863e3-480a-4ee9-8bd0-20a8adb6909b',
'id': '89fe98e7-0242-4608-a261-f61fc59990c5',
'isDefault': false,
'managedByTenants': [],
'name': 'sap-hcm-dc60-toronto',
'state': 'Enabled',
'tenantId': '69b863e3-480a-4ee9-8bd0-20a8adb6909b',
'user': {
'name': 'fa0047d6-acea-43de-99fd-8a9a7d1c6d03',
'type': 'servicePrincipal'
}
},
{
'cloudName': 'AzureCloud',
'homeTenantId': '69b863e3-480a-4ee9-8bd0-20a8adb6909b',
'id': '75691fc5-c37a-4e8c-a15a-8c965ca7cd4a',
'isDefault': true,
'managedByTenants': [
{
'tenantId': '2f4a9838-26b7-47ee-be60-ccc1fdec5953'
}
],
'name': 'sap-hcm-dc01-washington',
'state': 'Enabled',
'tenantId': '69b863e3-480a-4ee9-8bd0-20a8adb6909b',
'user': {
'name': 'fa0047d6-acea-43de-99fd-8a9a7d1c6d03',
'type': 'servicePrincipal'
}
}
]
Errors

Issue script & Debug output

Expected behavior
This started occurring Friday 5/31
He has an app IDa5c14060-5a0f-4b00-81be-84a60da6dc4b that has default Azure Context of Subscription 75691fc5-c37a-4e8c-a15a-8c965ca7cd4a
ASC shows it is owned by tenant 	69b863e3-480a-4ee9-8bd0-20a8adb6909b, but managed by tenant 2f4a9838-26b7-47ee-be60-ccc1fdec5953
As far as I can tell it was always set up this way, but now the managing tenant appears to be disrupting the context of the subscription and causing errors.
Need this corrected so the managing tenant does not affect the context.
The context of the app ID always shows as the correct tenant.
Expect this to be exacalayed to ASMS PG.
This is not a CSP, but is managed by EA,
Environment Summary

Additional context
No response

Thank you for opening this issue, we will look into it.

Customer appears to have a service principal identity. His expectation is that it is available from one resource group on one subscription, but it appears to be accessible from other resource groups.

Service principal doesn't belong to a resource group or subscription. Service principal is an AAD object. You can assign RBAC role assignments to it and access ARM resources with it.

We are noticing duplicate spn-id while login with service principal with dc01 subscription and here is output. Here with this exaple we are trying to connect with DC01 subscription for one of spn, but for some reason it shows both DC's dc01 and DC60.

Azure CLI is simply an HTTP client calling Subscriptions - List REST API to retrieve subscriptions the service principal 89fe98e7-0242-4608-a261-f61fc59990c5 has access to. If the customer feels sap-hcm-dc60-toronto shouldn't be listed, you may contact ARM customer support team and instruct the customer to remove service principal 89fe98e7-0242-4608-a261-f61fc59990c5's role assignments on sap-hcm-dc60-toronto.

As far as I can tell it was always set up this way, but now the managing tenant appears to be disrupting the context of the subscription and causing errors.

I am not an expert of subscription management, but from my understanding, customer can remove the management permission for tenant 2f4a9838-26b7-47ee-be60-ccc1fdec5953 to avoid unexpected disruption. But again, this is out of the scope of Azure CLI as a client tool.
Thanks for your understanding.


pretrained_word_embeddings.py source code parameter issue

I am working on the pretrained_word_embeddings.py,
here is the link:  https://github.com/fchollet/keras/blob/master/examples/pretrained_word_embeddings.py
for this part:
sequence_input = Input(shape=(MAX_SEQUENCE_LENGTH,), dtype='int32')
embedded_sequences = embedding_layer(sequence_input)
x = Conv1D(128, 5, activation='relu')(embedded_sequences)
x = MaxPooling1D(5)(x)
x = Conv1D(128, 5, activation='relu')(x)
x = MaxPooling1D(5)(x)
x = Conv1D(128, 5, activation='relu')(x)
x = MaxPooling1D(35)(x)
x = Flatten()(x)
x = Dense(128, activation='relu')(x)
I think the parameter for last MaxPooling1D  (line 136) should be 5 not 35.

I'm not in a position to judge but is there any particular reason you think this? Consistency with the entries for 5 elsewhere?
Note, there is a comment in the associated blog post for the code ( here ) which suggests that it's quite possibly intentional, as it says "# global max pooling"

Also, I meant to add: it does seem to work pretty well with 35 (for me at least, running with TF backend on CPU)
If it were broken, I could understand thinking it might be a mistake :smile:


gRPC 1.48.1

Hi, @yamashi I noticed that you've added a new version to grpc in xmake-repo. It seems compilation encountered some problems in msvc 2019. Can you figure out the problem?

it need higher winsdk and gcc now.
https://github.com/xmake-io/xmake-repo/pull/1912


Get developer environment set up

@nkshaw23 I can't assign this to you until you are added to the repo

Follow instructions in the readme to get your environment set up. (we suggest using VS Code)
Make suggestions to update the README if applicable (maybe make a branch/pull request)

Note: there is a "For developers" section in the README of my other project, which might be good to look at.

I seem to be setup on personal machine. Running into trouble when trying to access the FTP but assume this is a permissions thing. A couple of points to note on getting setup (not sure if worth adding to the readme).

I cant use powershell as a terminal in vs code. I am using cmd.
In order to create the conda virtual environment I had to do the following steps - the original error I received was that the HTTP connection failed when trying to collect the package metadata.
#225  is looking at this, but had to remove gptables from requirements to run.

Setup complete - adding thoughts for future users through this ticket #230


Added an 'Open JSON file... ⌘O' MenuBar item

This allows users to open a file using ⌘O/CTRL+O to open a file from a user's file directory, it replaces the whole editor view, which I feel is appropriate and expected behaviour.
There's no extra non-Node or non-Electron modules, and a lot less CodeMirror wrangling than I had anticipated.

Awesome, thank you! Great catch with brace_style: expand.


[Dev][Release] Verification script fails detecting CUDA

Describe the bug, including details regarding any error messages, version, and platform.
For some reason, the verification script tells me no CUDA devices were found:
$ TEST_DEFAULT=0 TEST_SOURCE=1 dev/release/verify-release-candidate.sh 13.0.0 3

===========
Detect CUDA
===========
No devices found.

Yet there are:
$ nvidia-smi --list-gpus
GPU 0: NVIDIA GeForce GT 1030 (UUID: GPU-7ff8f92b-7bbd-c481-cff3-61792e4542ad)

Component(s)
Developer Tools, Release

Do you have nvcc?

No, it's not installed.


Adding features to move the "glue" toward a corset implementation

This is an evolving list of the required features to move the glue implementation into go-corset. The target is to be able to write the whole zk-EVM system in that language.
Support for projection queries
A projection query between sets (columnsA,filterA) and (columnsB,filterB) asserts whether the columnsA filtered by filterA is the same as columnsB filtered by filterB, preserving the order. The constraint (improperly named query) can be enforced by the prover using a custom probabilistic wizard sub-protocol. The role of corset would be to only pass it down the compilation layers and provide it to the prover, similar to what is done for lookups.
Example
FilterA = (1,0,0,1,1), ColumnA := (aO,a1,a2,a3,a4)
FilterB := (0,0,1,0,0,0,0,0,1,1), ColumnB :=(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9)

Here,

* ColumnA being filtered by FilterA = (a0,a3,a4)
* ColumnB being filtered by FilterB  = (b2,b8,b9)

The projection query checks if a0 = b2, a3 = b8, a4 = b9

Note that the query imposes that:

the number of 1 in the filters are equal
the order of filtered elements is preserved

Generating a column via a projection query
As "projection query" denotes a constraint between two couples of columns (CA, FA) (CB, FB). In practice, we will want to use to generate columns as follows:

FilterAndStack(CA, FA) -> (CB, FB)

From a pair of columns, generates a column CB containing all the values of CA at rows matching FA=1, stacked in the same order. Depending on the context, we will want to stack them either at the bottom or at the top of CB. FB is generated by stacking the relevant number of 1s either at the top of at the end of the column.

ImportFromCol(CA, FA, FB) -> CB

Generate CB so that it satisfies the constraints and so that FB=0 => CB=0 (for the unfiltered values). Similar to filter and stack but allows the caller to control the positions of the "projected" values.
AdHoc queries for the precompiles
Many predicates of the EVM involve operations that we do not write in corset at the moment. For instance,
isEcRecover(address, signature, msgHash)

These are handled by Plonk circuits and we should expect no action from corset aside passing down the constraint. The Plonk circuits take as input a pair of columns (Data, Filter) and works over that.
Columns generated by an expression involving several columns
I am sure this overlaps with other existing issues here, so I'll just phrase what we expect. The idea is that we would like to declare and assign columns as corset expressions. In this context, the rows of the generated column or columns can be generated in parallel: meaning the expression is of the form A, B = f(C, D) and A cannot be the operands of B.
It would cover the following "basic" features

Arithmetic expressions
Limbs/BIts/Bytes decompositions/recomposition

But also more custom things

MiMC compression function (to be replaced by Poseidon2 when we switch to smaller fields)
Keccakf compression functions
Other precompiles functions:  (ECPair, ECMul, ECAdd, Keccakf, Secp, ...)

Columns generated by an expression involving itself
The difference with the above point is that here, the generation is sequential and can be of the form a[i+1] = f(a[i], b[i+1]). In term of constraint generation, this should not make a big difference with the non-sequential part but this drastically changes the evaluation.

Projection
Notes on projection.  Let 'A' be a data column, F a binary "filter" column and A' the projection of A with respect to F.  There are two aspects of projection:

(Projection Constraint).  This is a primitive constraint form which checks that A' is indeed a true projection (see below for more on this).
(Projection Computation). This is an assignment which computes a projection from a given data column and filter.  There are different ways this can be done, but we can assume e.g. all selected elements are placed (stacked) first, etc.


Wishlist controller

For the whole i18n review, this is my part of job, done there : https://github.com/PrestaShop/blockwishlist/pull/35, not related to this PR
Also there are some dummy datas that are not yet linked to the back (product images, links..) I couldn't invent these :p

Entities are now available with PS 1.7.6. Even if we consider this is not done during this PR, ObjectModels should be migrated as entities before releasing this module.

Entities are now available with PS 1.7.6. Even if we consider this is not done during this PR, ObjectModels should be migrated as entities before releasing this module.

As @Quetzacoalt91 said, you should use entities and repositories

In order to improve the readability of the code and its future maintenance, you should put the code of your 'hooks' in blockwishlist.php in separate classes.
Example :
https://github.com/apacios/ps_googleanalytics/blob/feature/refacto/ps_googleanalytics.php#L85
https://github.com/apacios/ps_googleanalytics/tree/feature/refacto/classes/Hook

Would it be possible to think about it on the merge of new-module branch into dev ? or before on another PR ? So I can work on the backend connection with the front-end

@NeOMakinG Would merging this PR on the branch new-module is enough for you?

Yes it is exactly what I'm waiting for 😃


fixnereids and pipeline config  changed by fuzzy in non-pipeline env.

Proposed changes
Issue Number: close #xxx

In non-pipeline environment, enable_nereids_planner and enable_pipeline must not changed by fuzzy.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


F, d fitting

This provides the fitting backend for the WLC fitting. This backend allows global fitting of multiple datasets simultaneously, keeping some parameters the same between datasets, while varying others. It also includes several WLC models that are typically used in literature. Where possible, models were provided in analytical form.
To improve performance, model Jacobians are provided and propagated for composite and inverted models. For the inverse models where the inverse is not available as an analytical function, the inversion was performed using least_squares (again using the analytical jacobian if supplied). In addition, sparse matrices are used to speed everything up. Tests were added for each of the models as well as the complete fitting infrastructure.
Documentation (a tutorial and three examples) is available on readthedocs (private for now):
https://lumicks-pylake.readthedocs.io/en/fdfit_history/
I would highly recommend going through the tutorial before reading the code to get some idea of the different use cases that we have to support.
An attempt was made to keep the API relatively simple. For example:
M = (force_model('DNA', 'WLC') + force_model('DNA', 'offset')).invert()
M.load_data(d, f)
M.load_data(d, f, DNA_Lp="DNA_Lp2")  # Creates a new independent parameter DNA_Lp2 for the second dataset, all others are shared.
F = FitObject(M)

F.fit()
plt.figure()
F.plot_data()
F.plot_model()

Out of scope (for now), but which would be nice to have in the future:

API/Interface straight from fdcurve into load_data.
Additional / better data slicing options.

This an impressive tool and overall is amazing already. I was able to fit multiple curves easily and in very little time. This is my feedback, is not really a code review but I hope it could be useful.

Thanks a lot for using it from a user point of view. I really appreciate it. Lots of good points in here.

subtract_offset throws an error (I believe the documentation is not correct) odijk = pylake.inverted_odijk("DNA").subtract_offset("d_offset")
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call last)
 <ipython-input-39-8d90f6071f4c> in <module>
 ----> 1 odijk_with_offset = pylake.inverted_odijk("DNA").subtract_offset("d_offset")

 AttributeError: 'Model' object has no attribute 'subtract_offset'

Correct. I have added a commit that fixes this.

parameter_names should be parameters_name in my opinion

Why? Parameter_names is English, whereas parameters_name is not. I'd sooner expect the former personally. I don't have a strong preference, so I don't mind changing it, but I'm just curious what gives a preference for the former.

if I invert the model with an force_offset it becomes effectively a distance_offset, but keeps the name, could this create some confusion?

I don't think it changes to be honest. In (M1+force_offset).invert(), offset is still a force offset. M1.invert() + distance_offset is a distance offset however. I do agree that it is somewhat confusing having a single 'offset' though. I've made explicit force_offset and distance_offset models now, so that users have to be explicit and end up with more readable compositions. There is also validation of compatibility of dependent and independent variable now (added in the last PRs), which means that you can't add incompatible models anymore.

Probably out of scope of this PR but before the official release I would be nice to implementing loading fd curve items:
this would be nice:
 fd3 = file.fdcurves['3']
 data3 = odijk_fwd.load_data(fd3)
 data3 = odijk_fwd.load_data(fd3.d,fd3.f,name='3')

instead the current form is a bit verbose IMO:
 data3 = odijk_fwd.load_data(fd3.distance2.data,fd3.f.data,name='3')

Definitely. I would say that this is probably a good one to combine with the better slicing functionalities, since then we have to really think about how to slice fds in the first place. This will become a big issue when doing things with many breaks/refolds, like the AdK data.

print(model) or help(model) could print the equation and the parameters with units and defaults.

Great idea. Done. You now get a little model overview, optionally formatted in a table and latex equation if you're in a jupyter notebook.

Which data is dependent vs indipendent in the fit is error-prone, having load_force and load_distance and then do the right thing based on whether the model is direct or inverse would be nice.

I agree that this is a point of difficulty. I'd suggest a different solution since I think splitting loading over two different calls is more error prone (you can end up loading incompatible sets) than having it in a single one.
I suggest changing the data loading to a named function instead. We can force named arguments directly and match them with the dependent and independent variable.
In the last PRs I have derived Fd versions of the models from the base models, but which have a customized load_data that takes an f and d, and selects the appropriate one for the independent and dependent variables.
So all calls will be:
model.load_data(f=force, d=distance, name=name, parameter changes)
And they will always look the same, independent of whether it is a forward or backward model. The model will figure out which is dependent and independent. I also force use of keywords, meaning that you always have to invoke the f= and d=, to prevent mistakes.

Some models are much slower, this should be somehow more intuitive, for example
 (pylake.odijk("DNA") + pylake.offset("f")).invert()

is much slower (at least 30x in my case) than
  pylake.inverted_odijk("DNA").subtract_offset("f_offset")

but there is no hint for the user.

Correct. But it is quite clearly described in the docs and there are two examples in the docs which state the difference.
The difficulty is that without adding a lot of infrastructure (where you actually start traversing the dependency graph to see if it's a single forward model), it is not easy to detect legitimate and illegitimate uses of the forward WLC model. Sometimes you have to use the slow version, for example when you have two WLC models added; because no analytic inverse exists for that.

Tooling for selecting distance and force value ranges for the fit would be nice.

Yes, I fully agree, but I would argue that this ties in the with the slicing thing.

It is not clear how to fix fit parameters values

F.parameters["DNA_Lc"].vary = False
I will add an explicit remark in the docs and the docstring for parameters.

Why? Parameter_names is English, whereas parameters_name is not. I'd sooner expect the former personally. I don't have a strong preference, so I don't mind changing it, but I'm just curious what gives a preference for the former.

It's just a minor comment, you don't need to change it, it's just that parameter_names sounds like a parameter has multiple names, but maybe it's just me. Don't worry about it.

On the topic of API.
I feel like this:
data1 = odijk_with_offsets.load_data(f=f1, d=d1, name="Control")
data2 = odijk_with_offsets.load_data(f=f2, d=d2, name="RecA", DNA_Lc="DNA_Lc_RecA")

odijk_fit = pylake.Fit(odijk_with_offsets)
...plot(odijk_fit[data1], ...)

Could be nicer as:
odijk_with_offsets.add_dataset("Control", f1, d1)
odijk_with_offsets.add_dataset("RecA", f2, d2, params={"DNA_Lc": "DNA_Lc_RecA"})

odijk_fit = pylake.Fit(odijk_with_offsets)
...plot(odijk_fit["Control"], ...)

Why I think this would be nicer:

load_data sounds like the data is coming from somewhere and not like it's going to be added to the model. More specifically, when we talk about pylake and loading data, we talk about loading data from a file. So it would be good not to make this ambiguous. As for the concrete naming, I suggested add_dataset but I think that any variation on set or add would be good. Even just plain add without the _dataset part would be fine.

data1 and name="Control" are essentially two different ways of assigning a name to the same dataset. If you add the requirement that name is unique, then you can use it as a key and there's no need for users to keep track of it in two ways. And then, since it's required and very meaningful, let's put it up at the front.

Mixing in parameter associations with **kwargs can easily result in issues down the road: you may want to add a new argument to the function that conflicts with one of the model parameter names. It's not likely, but as a general rule, I don't think it's nice to mix these two things since one set if very define and the other open-ended.

Other random questions:

If I read the code correctly, doing model1 + model2 returns a model without any data. Is this correct? I'm just wondering how manageable that is. And also, users might wonder what's the difference between pylake.Fit(model1, model2, model3) vs pylake.Fit(model1 + model2 + model3).

On the topic of API.
I feel like this:
data1 = odijk_with_offsets.load_data(f=f1, d=d1, name="Control")
data2 = odijk_with_offsets.load_data(f=f2, d=d2, name="RecA", DNA_Lc="DNA_Lc_RecA")

odijk_fit = pylake.Fit(odijk_with_offsets)
...plot(odijk_fit[data1], ...)

Could be nicer as:
odijk_with_offsets.add_dataset("Control", f1, d1)
odijk_with_offsets.add_dataset("RecA", f2, d2, params={"DNA_Lc": "DNA_Lc_RecA"})

odijk_fit = pylake.Fit(odijk_with_offsets)
...plot(odijk_fit["Control"], ...)

Why I think this would be nicer:

load_data sounds like the data is coming from somewhere and not like it's going to be added to the model. More specifically, when we talk about pylake and loading data, we talk about loading data from a file. So it would be good not to make this ambiguous. As for the concrete naming, I suggested add_dataset but I think that any variation on set or add would be good. Even just plain add without the _dataset part would be fine.
data1 and name="Control" are essentially two different ways of assigning a name to the same dataset. If you add the requirement that name is unique, then you can use it as a key and there's no need for users to keep track of it in two ways. And then, since it's required and very meaningful, let's put it up at the front.
Mixing in parameter associations with **kwargs can easily result in issues down the road: you may want to add a new argument to the function that conflicts with one of the model parameter names. It's not likely, but as a general rule, I don't think it's nice to mix these two things since one set if very define and the other open-ended.

Other random questions:

If I read the code correctly, doing model1 + model2 returns a model without any data. Is this correct? I'm just wondering how manageable that is. And also, users might wonder what's the difference between pylake.Fit(model1, model2, model3) vs pylake.Fit(model1 + model2 + model3).

I really like the suggested API changes, but there are a few issues with it. I've renamed load_data to add_data, no issues there. Made the name first argument and changed out keyworded arguments with params, also yes, I agree it is better to just clearly define it as a parameter.
The one that's tricky and makes me doubt is the slicing by the string of the dataset name rather than the handle. It's a fairly big change.

This would force us to put add_dataset in Fit, with a first parameter that refers to the the model we're adding things to, which I have mixed feelings about, because it complicates the more common use case for the more advanced one.

Dataset name uniqueness cannot be known at the time of constructing the model. It also means that you can't have some very common names in two models. I could see two models having a dataset named "Control" for instance.
One benefit to add_data in Fit would be that it would also kill the option of having the composite model where both models had data loaded.
What I don't like about this, is that it makes it non-obvious that add_data would be adding data to a model that was passed to Fit and that if I'd add that model to another Fit, I would have the data added to the earlier Fit already added to it.

This point is more minor, but as you already pointed out, it would require the data name to be unique. I think this will potentially cause some confusion when people start adding data in loops as they will have to start either string concatenating or using f-strings.

Another alternative would be to just pass the fit to the model, with the data name and have the model query the fit. That is:
odijk_model.plot("Control", odijk_fit)

I find this a very tricky decision to make to be honest.

One benefit to add_data in Fit would be that it would also kill the option of having the composite model where both models had data loaded.
What I don't like about this, is that it makes it non-obvious that add_data would be adding data to a model that was passed to Fit and that if I'd add that model to another Fit, I would have the data added to the earlier Fit already added to it.

I like the idea of adding data to Fit instead of Model. If I understood your second point, I think that's also solved by making Model immutable. So Fit would store data associated to a Model instead of having Fit store Models which store Data. Something like this:
model1 = ...
model2 = ...

fit = pl.Fit(model1, model2)
fit[model1].add_dataset("Control", f1, d1)
fit[model1].add_dataset("RecA", f2, d2, params={"DNA_Lc": "DNA_Lc_RecA"})

And the simpler single-model case could be:
model = ...
fit = pl.Fit(model)
fit.add_dataset("Control", f1, d1)
fit.add_dataset("RecA", f2, d2, params={"DNA_Lc": "DNA_Lc_RecA"})

Here:
class Fit:
    def __init__(self, *models):
        self.models = {id(m): m for m in models}
        self.data = {id(m): Datasets() for m in models}

    def __getitem__(self, model):
        return self.data[id(model)]

    def add_dataset(...):
        """Convenience when len(self.models) == 1"""

Let me know if you think this is making the API too contrived. The main thing I'd like to avoid is having both the model and fit object be mutable. Especially given that the compatibility of the models is in conflict with the data mutability.

It can be done, but it's a big architectural change that worries me a little considering the timeline of things.

fit[model1].add_dataset("Control", f1, d1)
fit[model1].add_dataset("RecA", f2, d2, params={"DNA_Lc": "DNA_Lc_RecA"})

While I do like what this API looks like, I see complications in fit[model1] returning a Dataset. To be able to add a new set of data, I need to know the model. This is because I think that validating that the transformation the user is making is valid is critical. Invalid parameter transformations can lead to subtle mistakes that may not be detected otherwise. Of course, I could still throw at a later stage when the user tries to fit, but I imagine deferring the exception of an invalid parameter transform in a dataset that was added until the model is being built (essentially when the fitting is going to happen) is going to be kind of a nuisance. You'd be adding ten datasets and the only at the fitting stage suddenly discover that the first one had a mistake somewhere, and now you have to start over.
That leaves me with two options, either I put a reference to Model in Dataset, which is possible, but it smells and raises the question of whether data shouldn't be in the model in the first place. Or the call becomes:
fit.add_data(model_ref, "Dataset name", ...)
And have fit handle passing the model. It does mean more call arguments though, and no nice convenience function for small models.

Changes:

New API implemented.
Examples have been moved to this new API.
Tutorial has been moved to this new API.
Some coverage gaps filled.

Docs file structure comments:

Try to name the .rst files so that they are related to the page title. Right now you have Twistable Worm-Like-Chain Fitting in a file called fd_fitting_basic. Something like twlc_fitting might be a better name. These names end up in the URL so it can be confusing if there is a mismatch.
fd_fitting_advanced seems to be in the file structure but it's not in the toctree so it's not rendered in the HTML. Is this intentional?

This PR is superseded by https://github.com/lumicks/pylake/pull/33 with a cleaned-up git history.


EXC_BAD_ACCESS new in 0.9.5

Hello,
first of all you made a very good job.
But unfortunately the new version of libjre_emul.a contains a critical new runtime bug (iOS app crashes with EXC_BAD_ACCESS).
Java code:
List[] two_lists_in_an_array = { new ArrayList<Double>(), new ArrayList<Double>() };
int size0 = two_lists_in_an_array[0].size();   <- New crash in 0.9.5, works correct in 0.9.4!
I know it is not the best code, but it works in Java/Android without problems.
The generated code for this line is equal in 0.9.4 and 0.9.5.
Best regards
zetti68

This is a duplicate of Issue 440.

To get a quick fix, clone this project, then run "make dist" in its top directory to create a new distribution bundle.


chore: publish v2.0.0-dev.0

Also includes a small change to melos.yaml to copy the proper version number long with dev suffix to each version.dart file.

I think the postgrest builder and supabase package config changes should be documented. So how to migrate to v2.

@Vinzent03 Yeah, there are a lot of documentations to be done. I will have them by the time this comes out of developer preview.

The reason behind a dev version is that some people can already try and test the new version. But without documentation on how to migrate, less people will take that effort.
I think at least the new count and config API should be easy visible in the changelog.
I also think it's standard to do that migration guide for dev version as well.

@Vinzent03 This v2 is a relatively minor upgrade from v1. Most of the APIs are the same, and those that have changed have changed in an intuitive way with enough comment documentation. Early adaptors that want to try out v2 developer preview should be fine with it. This developer preview still has possibilities of changing, so I will document the final result.


"File name too long"

I often get "file name too long" exception in spark notebook (inside docker).
<console>:116: error: File name too long
This can happen on some encrypted or legacy file systems.  Please see SI-3623 for more details.
class $iw extends Serializable {
      ^
<console>:118: error: File name too long
This can happen on some encrypted or legacy file systems.  Please see SI-3623 for more details.
class $iw extends Serializable {

I have to check: mayb it is spark issue...

could you please provide more details on this?

do you see it on docker only? spark-shell? which versions?
what is needed to do to reproduce it?

try Long Path Tool program,very recommended in such case

Hi everyone!
I've run into the same problem today. After several runs of the provided Spark-101 notebook it complains like the following:
<console>:111: error: File name too long
This can happen on some encrypted or legacy file systems.  Please see SI-3623 for more details.
class $iw extends Serializable {
      ^

After restarting the kernel it works for next several attempts.
I suspect it might be the case of some of conundrums related to osxfs implementation in Docker. But this is just a wild guess.
Here is the list of SW used:
MacOS: 10.13.3
Docker CE Version: 18.02.0-ce-mac53 (22617)
Spark Notebook Version: http://spark-notebook.io/dl/docker/0.7.0/2.11/2.1.0/2.7.3/true/true

The issue (in my case) could be reproduced by simply executing the very first cell with imports for 5-6 times in a row.
Hope this may help.

though I'm afraid that's issue of scala shell... hopefully it'll be solved in future versions.
meanwhile restarting kernel would do...
also as a hack you may try making /tmp unencrypted, and/or running spark notebook from non-encrypted directory (didn't try):

For people interested in a workaround, if you have a directory that is not encrypted, say /tmp, you can put target <<= baseDirectory { file("/tmp/sbt/") / _.toString } in ~/.sbt/0.13/global.sbt and move all the target output to that directory.
https://issues.scala-lang.org/browse/SI-3623

This can be solved by adding to compilerArgs: "-Xmax-classfile-name", "200"


Reintroduce the assume base file path

This was removed, but feel it should be added back in.
IF $plugin_life_cycle->plugin_base_file( __FILE__ ) is not called, the place where the module is added should be assumed to be the main entry point.
We already do this with the App instance, so not an issue doing it here.
Mainly this is because,
->module(
   Plugin_Life_Cycle::class,
   fn( Plugin_Life_Cycle $plugin_life_cycle ) => $plugin_life_cycle->plugin_base_file( __FILE__ )
)

is very verbose

Thanks @hibernius


Multiple edits before closing the window?

Description of the new feature / enhancement
Keep the rename window open after I make a change!  Often, I will want to make multiple changes to a file's name before I'm finished with it.  All you'd have to do is add an "Ok" button.
Scenario when this would be used?
File names that require multiple different changes, ie-
the.file.name.s02e08.1080p.web.h264-cakes.mkv
First, I'll want to change all of the periods to dashes, just because that's what I prefer:
the-file-name-s02e08-1080p-web-h264-cakes.mkv
Then, I'll want to remove some garbage:
the-file-name-s02e08.mkv
Then, I'll want to capitalize some things:
The-File-Name-S02E08.mkv
Add some parenthesis:
The-File-Name-(S02E08).mkv
In it's current state, I'd have to open smartrename 4 separate times to do this!
Supporting information
No response

Hi @m-cole
Are you talking about PowerRename?
This is the expected behavior when using the "Apply" button.

/needinfo

I don't know what version as I cannot find an 'About' link or button
anywhere.
[image: image.png]
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
03/01/24,
07:57:33 AM
On Fri, Mar 1, 2024 at 7:27 AM Jay @.***> wrote:

What version are you using?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/31639#issuecomment-1973299972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2ZGVCYNDJL5ZAQVLJREUBLYWCF47AVCNFSM6AAAAABEANGJF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTGI4TSOJXGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Version number is on the General page of PowerToys settings. Or in a tooltip when you give the icon in the tray.

Please update to PowerToys v0.79 and try again. This fix was implemented in v0.49. /needinfo


Change font

Hi
Arabic font Cairo (current font), doesn't provide full Arabic characters set
I suggest Vazirmatn font, since it supports Arabic, Arabic Presentation Forms-B, and Persian.
https://fonts.google.com/specimen/Vazirmatn
I tested light 300, it's so simple so nice very readable.
Thanks.

Not only that it's more readable but also it's a correct font, complete, with Forms-B all included, which is an important Unicode range.

Open Font License.
Looks good to me.
@fabricecaruso is it ok to you : https://github.com/batocera-linux/batocera-emulationstation/pull/1435

it's just beautiful, really nice ! :smiley: :heart:

PR was merged last year, will close this issue soon unless there is some objection.


Fix Verilator VCD to properly close generated .vcd file without an explicit call to destroy_model()

I think this was fixed around 024c9fff5f549d54dbd191285ccccada5004cb94


How to prevent collision with road

To import external vehicle dynamics to Carla, I get the current vehicle location/orientation from Carla and send it to the external vehicle dynamics model. Then, the new location/orientation from the vehicle dynamics model is used to set the new location/orientation in Carla. As a test I tried to make the vehicle move in a straight line:
world.player.spawn_point.location.x += (0.1 * math.cos(world.player.spawn_point.rotation.yaw / 180 * math.pi))
world.player.spawn_point.location.y += (0.1 * math.sin(world.player.spawn_point.rotation.yaw / 180 * math.pi))
world.player.spawn_point.location.z = 0.0
world.player.set_transform(world.player.spawn_point)
even though vehicle elevation (z) is set at 0, the vehicle flies or gets underground, which causes a “collision with road” event. I assume z just reports the car elevation and needs to be adjusted by road surface elevation. I tried to use map topology and geolocation but they both show the road elevation as 0, even on ramps.
for segment in  world.map.get_topology():
wp1, wp2 = segment[0], segment[1]
l1, l2 = wp1.transform.location, wp2.transform.location
geo1 = world.map.transform_to_geolocation(l1)
geo2 = world.map.transform_to_geolocation(l2)
print(f"map info {l1}{l2}")
print(f"geo info {geo1}{geo2}")
Therefore, using the topology and geolocation did not resolve the issue. How can I get the road surface elevation to prevent the vehicle from flying or colliding with the road?
I’m using Carla 0.9.5
Best regards,

Hi, have you solved the problem, I meet the same one. Thank you very much

+1

+1


authentication

If you have a question,  please open a new topic in Horizon's Help forum:
https://discuss.horizon.io/c/get-help
If you're suggesting a feature but aren't sure how it might be implemented, we have a more free-form discussion forum for features:
https://discuss.horizon.io/c/features
If you're reporting a bug please include the following:

Server version
Client version

Sorry, created by mistake.


Can't move editor above console

Describe the bug
If for some reason the file tab is moved to the side there doesn't seem to be an easy way to move it back above the console. I can also move an opened file tab to the workspace panel on the left or to the problems/console tabs on the bottom.
To Reproduce
Steps to reproduce the behavior:

Open XSK
Move file/Welcome tab to the right
See that the panel above is gone
Try to move it back

Expected behavior
Editor panel can be moved independent of the remaining views and should not be possible to move tabs across panels.
Screenshots

The editor should be dropped at the top section:

Alternatevely the Themes -> Reset functionality could be used:

Dragging and dropping the editor to the very top of the screen (as in the first screenshot) should solve the issue, isn’t it?

https://user-images.githubusercontent.com/4910295/138152414-3ae3d3b0-27bc-4240-a24c-cec815836b2b.mov
I failed to explain the exact issue - it's possible to move it, but if you for some reason decided to mess with the Welcome tab or move all tabs somewhere else it's difficult to return them to the proper place. Probably just restricting tabs to their designated panel would be the most straight forward and easy to understand solution. It's a really with low prio and a nice to have in terms of usability.


k3s kubectl logs return empty logs

ctr run directly got right stdout logs
sudo k3s ctr image import --all-platforms target/wasm32-wasi/debug/img.tar #img.tar is build from cd crates/wasi-demo-app && cargo build && cargo build --features oci-v1-tar && cd ../../
sudo k3s ctr run --rm --runtime=io.containerd.wasmtime.v1 ghcr.io/containerd/runwasi/wasi-demo-app:latest wasi-demo-app #need containerd-shim-wasmtime-v1 avaibled by running make && make install

but when I run it with kubectl, I got empty pod logs
sudo k3s kubectl apply -f wasm.yml # need configure containerd with configure file like below
sudo k3s kubectl get pods
sudo k3s kubectl logs wasi-demo-xxx

the wasm.yml is:
---
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
  name: wasmtime
handler: wasmtime
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: wasi-demo
  labels:
    app: wasi-demo
spec:
  replicas: 1
  selector:
    matchLabels:
      app: wasi-demo
  template:
    metadata:
      labels:
        app: wasi-demo
    spec:
      runtimeClassName: wasmtime
      containers:
      - name: demo
        image: ghcr.io/containerd/runwasi/wasi-demo-app:latest
        imagePullPolicy: Never

/var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl is:
version = 2

[plugins."io.containerd.internal.v1.opt"]
  path = "/var/lib/rancher/k3s/agent/containerd"
[plugins."io.containerd.grpc.v1.cri"]
  stream_server_address = "<IP_ADDRESS>"
  stream_server_port = "10010"
  enable_selinux = false
  enable_unprivileged_ports = true
  enable_unprivileged_icmp = true
  sandbox_image = "rancher/mirrored-pause:3.6"

[plugins."io.containerd.grpc.v1.cri".containerd]
  snapshotter = "overlayfs"
  disable_snapshot_annotations = true

[plugins."io.containerd.grpc.v1.cri".cni]
  bin_dir = "/var/lib/rancher/k3s/data/7c994f47fd344e1637da337b92c51433c255b387d207b30b3e0262779457afe4/bin"
  conf_dir = "/var/lib/rancher/k3s/agent/etc/cni/net.d"

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.wasmedge]
  runtime_type = "io.containerd.wasmedge.v1"

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.wasmtime]
  runtime_type = "io.containerd.wasmtime.v1"

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
  runtime_type = "io.containerd.runc.v2"

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
  SystemdCgroup = true

containerd shims are in /usr/local/bin

Hey!
Could you please try cloning the repo to your local, and then run make test/k8s/deploy?
This will build the wasmtime shim binary, create a kind cluster and apply test/k8s/deploy.yaml into k8s.
When you do kubectl logs <pod-name, you will see the following:

Hey!
Could you please try cloning the repo to your local, and then run make test/k8s/deploy?
This will build the wasmtime shim binary, create a kind cluster and apply test/k8s/deploy.yaml into k8s.
When you do kubectl logs <pod-name, you will see the following:

kind works, It seems like some missing configure or bug of k3s cause this.

Hey!
Could you please try cloning the repo to your local, and then run make test/k8s/deploy?
This will build the wasmtime shim binary, create a kind cluster and apply test/k8s/deploy.yaml into k8s.
When you do kubectl logs <pod-name, you will see the following:

kind works, It seems like some missing configure or bug of k3s cause this.

It's a proxy problem as k3s issue 6119 said.
add NO_PROXY=<IP_ADDRESS>/16 to /etc/systemd/system/k3s.service.env and restart k3s. everything works.


Licence Headers missing in JS projects

See https://www.npmjs.com/package/gulp-header-license for example. License file can be found in DP main repository

As I can see we already have license header in dolphin-platform-js project source code. We can add license header to Polymer and Angular source code.
Do we really need license header for minified js files?

I don't know if we need them for minified files. @aalmiray @netopyr maybe you have an idea?

AFAIK license headers are never required, only recommended.

Done.


Fixes #446 Control chat history being added to context for langchain or not

Fixes #446 Control chat history being added to context for langchain or not
Previously LLM/ChatLLM controlled, but only for non-langchain case, and if chose collection never added chat history.
Still OpenAIChat mode doesn't support
CLI mode doesn't support -- CLI mode never supported chat history, but not hard to add.

=========================== short test summary info ============================
FAILED tests/test_manual_test.py::test_chat_context - NotImplementedError: MA...
FAILED tests/test_manual_test.py::test_upload_one_file - NotImplementedError:...
FAILED tests/test_manual_test.py::test_upload_multiple_file - NotImplementedE...
FAILED tests/test_manual_test.py::test_upload_url - NotImplementedError: MANU...
FAILED tests/test_manual_test.py::test_upload_arxiv - NotImplementedError: MA...
FAILED tests/test_manual_test.py::test_upload_pasted_text - NotImplementedErr...
FAILED tests/test_manual_test.py::test_no_db_dirs - NotImplementedError: MANU...
FAILED tests/test_manual_test.py::test_upload_unsupported_file - NotImplement...
FAILED tests/test_manual_test.py::test_upload_to_UserData_and_MyData - NotImp...
FAILED tests/test_manual_test.py::test_chat_control - NotImplementedError: MA...
FAILED tests/test_manual_test.py::test_subset_only - NotImplementedError: MAN...
FAILED tests/test_manual_test.py::test_add_new_doc - NotImplementedError: MAN...
FAILED tests/test_manual_test.py::test_model_lock - NotImplementedError: MANU...
= 13 failed, 219 passed, 240 skipped, 1 xpassed, 23 warnings in 12338.46s (3:25:38) =

Does the CLI have the same functionality as the API?
How might I be able to pass chat_history into the gradio client?

@this has Chat Completion API that I think handles this.

I'm not sure I understand.
I see I can get the chat history from the h2oGPT client, but I would like to be able to just pass in chat history to run_client_chat from this file this way I can support a multi-tenancy structure through a different backend.
Is that possible? Is that what fields like iinput and context are for in get_args()?
Ideally this would be using the Gradio client

Yes, you can maintain chat history yourself like in the gradio client case.


IMockFileDataAccessor duplicates some IFileSystem members

Hi all!
First of all, thank you for providing this awesome library!
I would like to ask you why IMockFileDataAccessor duplicates IFileSystem's methods like "File", "Directory", etc. instead of just extending IFileSystem interface?
I explain: I'm trying to use MockFileSystem together with FakeItEasy, by creating a Fake that wraps a MockFileSystem. However, when I try to configure a specific call that throws an exception (like Directory.Delete), Visual Studio tells me that the call is ambiguous between "IMockFileDataAccessor" and "IFileSystem".
So, every time I need to configure a call for "Directory", I need to cast to the interface to IFileSystem (because my objects expect an IFileSystem to work).
Is there a reason for this?
Best regards!

Those methods/properties might be left over from an earlier version of the library. The FileBase File { get; } property was added to IMockFileDataAccessor only recently (my PR from the other day).
How necessary is IMockFileDataAccessor? Is there a use case for having an alternate implementation? There are no alternate implementations in the library itself that I see.
Could  we just remove that interface and have MockFile, MockDirectory, etc refer directly to their parent MockFileSystem?

I think this would be nice for V6 ;)


[WIP] Fix #1384 camel-mybatis native support

leverage quarkus-mybatis
should enable quarkus.mybatis.xmlconfig.enable=true in application.properties
must use <dataSource type="QUARKUS"> in mybatis xml configuration file
have to use --report-unsupported-elements-at-runtime in the native mode currently and should be removed when https://github.com/quarkiverse/quarkus-mybatis/issues/10 get resolved

This needs a new release of quarkus-mybatis

Thanks @ppalaga for reviewing and I agree to not merge this PR until https://github.com/quarkiverse/quarkus-mybatis/issues/10 get resolved. I just raise it for getting some feedback and make sure the mybatis xml configuration works with camel-mybatis.

@ppalaga I got some progress on https://github.com/quarkiverse/quarkus-mybatis/issues/10 and I think it could be fixed with https://github.com/mybatis/mybatis-3/pull/2284. So I'm waiting for the new mybatis release of 3.5.8 and come back to work with this PR.

quarkus-mybatis 0.0.11 bump mybatis to 3.5.8 and it still needs to bump mybatis version in camel-3.14.x refer to https://github.com/apache/camel/pull/6632

@zhfeng could you please rebase on top recent main to get rid of the ipfs failures?

@ppalaga can we go for merging it since CI looks good ?

@ppalaga can we go for merging it since CI looks good ?

Yes, thank you very much for the contribution!


feat: add Queue.getQueue method to get access to the BullMQ Queue object

Closes: https://github.com/RomainLanz/adonis-bull-queue/issues/25

It's similar but definitely not a duplicate.


Soot + Mod Creature Incompatability

Game crashed seemingly without reason, game states this mod had issue with the wither witch from EnderZoo from what I can tell. The crash log.
Edit: I tried going right back into the world after posting this, it crashed again immediately as expected but this time a creature from Grimoire of Gaia was the one. Crash log 2 electric boogaloo

i no longer use OpenBoolean2Object hashmap. Update Soot.


[go-gen] Extract auth DAO input to separate variable

Applying the same technique from #312 to the auth service. Extract input into variable so that we can squeeze a hook in the middle

How is this passing without any scala changes?

You should ask the man that wrote it... 😉 It's just read in from file
https://github.com/TempleEight/temple/blob/4c190195d0f4c95833f05087ce9a97d78da47574/src/main/scala/temple/generate/server/go/auth/GoAuthServiceMainGenerator.scala#L34

genius


Show definitions of “Legal Entity” and “Affiliate” only if the Patent Pledge option was used

When you generate a Custom CLA, the definitions of “Legal Entity” and “Affiliate” show up even if they are not used in the text later.
These definitions are part of the Patent Pledge option, but show up also if you choose the Patent License.
This was already fixed for the FLA version, so it might make sense to look at the code that fixed that and apply the logic instead to Patent License vs Patent Pledge.

Should be fixed with 404c7c95f2330a71a7daab8225e2aebb65573dcc (not live yet as of this writing)

@step21, do let me know when it is live. I can currently still replicate this issue.

Try it now. Sorry for the delay. Btw, I added a neat little feature that gives latest version as short git hash, just to be sure what is running. It could be fooled probably as it uses a separate file that is updated on git pull by a post merge hook, but for knowing what version is live it should be fine.

Seems to work now, thanks :+1:


Telegram Bot Interface

Resolves #47 #54

Just tested according to instructions provided in a private message (included private bot auth key) it appears that it's working!

Also side note but I tried pushing a minor change to your fork and permissions were denied. Not sure if thats a custom setting on your end, but I didn't have issues doing exactly that with contributors on the Ubiquity Dollar repo.

Just tested according to instructions provided in a private message (included private bot auth key) it appears that it's working!

Also side note but I tried pushing a minor change to your fork and permissions were denied. Not sure if thats a custom setting on your end, but I didn't have issues doing exactly that with contributors on the Ubiquity Dollar repo.

I did push this PR with edit permission (if I remember correctly),
not exactly sure why GH refused your changes.


Making a Toilet object actually produces xml that makes a Van

Somehow I got the special id's wrong here

Fixed in https://github.com/ultrako/LevelXML/commit/ab41beebdc904f1c8d2aa690d7991c7b7be0485d
but I forgot to increment the library's version since it's been a while, so fix will actually be included in the next version


latch~ is freezing pd

howdy, I'm testing latch~ from the latest release candidate of Purr Data, and it kills it, but if I open the same binary in Pd, it also freezes it, since other objects work fine, I think it is a bug in latch.c

Just tested the latch~ help file on Pd vanilla 0.47.1. No problems. If an external works properly in Pd vanilla, but not in Purr Data, may I suggest that you contact the Purr Data developers. If you have an example patch that crashes vanilla Pd with latch~, I will be happy to look at it.

well, like I said in another issue, I can't get the externals you provide here (64 bits) to work in  Pd vanilla 0.47.1 64 bits... this in Mac OS
but since Purr Data is 64 bits in Mac OS, I can test those externals in 0.47.1 64 bits and they seem to be fine - but then the help file for latch~ crashes Pd in both systems.
now testing the 32 bits externals from https://github.com/ericlyon/lyonpotpourri3.0-32bit I dont have issues in Pd 32 bits (but they dont open in 64 bits)

Looks like the underlying problem is in core Pd.
The s_n member of t_signal is int, but dsp_add fetches all its variadic arguments as t_int.  This trigger innocuous implementation-defined behavior on machines where t_int == int, and a crasher when Pd is built as a 64-bit app on OSX.
The reason this doesn't break every single signal object is a) there apparently have to be enough args to dsp_add that s_n isn't fetched from the register, and b) a lot of signal classes cast back to int instead of t_int as you're doing with [latch~].
If you do
int n = (int)(w[5]);

It cures this particular OSX crasher.  But this should probably be fixed upstream instead.

I already figured that out. Should be updated fairly soon.

Please try this new repository: https://github.com/ericlyon/lyonpotpourri3.0


Im missing tertiary in Palette type definition

https://github.com/mui/material-ui/blob/0eaa8f35db7f5bdc9b324337aa580df4e2d0da5e/packages/mui-material/src/styles/createPalette.d.ts#L81-L99
import { Palette } from '@mui/material/styles'

palette.tertiary throws error not being typed

You do not need any changes https://mui.com/material-ui/customization/theming/#custom-variables try using augmentation for this case. Create file called material-augmentation.d.ts(any name you want)
import { PaletteColorOptions } from '@mui/material';
import { PaletteOptions, PaletteColor } from '@mui/material/styles/createPalette';

declare module '@mui/material/styles/createPalette' {
    interface PaletteOptions {
        tertiary?: PaletteColorOptions;
    }

    interface Palette {
        tertiary: PaletteColor;
    }
}

Include file into typescript global definition.

Ah, its not a supported one :) Its been a while for me using MUI and when i saw the created palette i thought it was a default one :) Thanks @povilass


Sprint elee dev

@eleeisb Another issue with this one--the request logging is needed to make sure we have request bodies partially logged in our server console logs. If something's breaking with these, Bill and I can take a look at it, but we do need to keep them.


Refactor

Codecov Report

Merging #467 (17cf8af) into main (d0d2e8c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #467   +/-   ##
=======================================
  Coverage   32.84%   32.84%
=======================================
  Files          76       76
  Lines        2128     2128
=======================================
  Hits          699      699
  Misses       1429     1429

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 d0d2e8c...17cf8af. Read the comment docs.


upgrading package

resolves -  https://github.com/techqueria/website/issues/931

✅ By submitting this PR, I have verified the following

[x] Checked to see if a similar PR has already been opened 🤔
[x] Reviewed the contributing guidelines 🔍
[x] Added my name to the bottom of the list under the Contributors section in the README.md with a link to my personal website or GitHub profile 👥 (Optional)

Can we also update config.toml
url                       = "/submit-resume/"
url                       = "https://jst.me/4e8d"

And add an alias to the resume bank page
aliases:

/submit-your-resume/
/resume-bank/


Sometimes the feed freeze for a second when I'm scrolling it

Hi,
Sometimes the feed freeze for a second when I'm scrolling it
Thanks.

Is this still relevant with the latest 0.15.X builds?

@bitcoinuser Can you let us know if this problem is still relevant on the latest builds (0.20.x)?

@bitcoinuser Can you let us know if this problem is still relevant on the latest builds (0.20.x)?

I still reproduce it and I think maybe is related to this hide feature of bottom bar and top bar when scrolling the feed (maybe not implemented correctly). Maybe if you implement it: https://github.com/PrimalHQ/primal-android-app/issues/16 we could know if the problem it's related to this.
Thanks.

I see some differences between X app and Primal with this bottom bar hide and show feature.
As you can see in videos here, the bottom bar in primal hide start to show at the same time we start to scroll the feed. in X app, the bottom bar doesn't show at the same time we start to scroll, it take some more time to show after we start to scroll the feed. Understand?
https://github.com/PrimalHQ/primal-android-app/assets/1178856/dd091c03-3d23-4e0e-be71-e84116bd714a
https://github.com/PrimalHQ/primal-android-app/assets/1178856/c812f382-f917-49d3-88d1-f183a4aa369a

Hey @bitcoinuser,
I think you are referring to the situation when feed sometimes swallows the tap input and doesn't react on scroll gesture. It's not that feed actually freeze, but the scroll events did not reached the list holding the feed. This is because one of the UI components used in Post/Note rendering swallows the scroll events. I have yet to pin-point which exact component is doing this and fix it. So far I was able to narrow it down to that it happens when you scroll on Note attachments (media, link previews, etc). It could be the HorizontalPager thinking you want scroll horizontally or something with Image previews. I'll keep you updated as soon as their are fixes on this topic.
There were also some other issues with feed scrolling and many of them were fixed in the 0.90.X build. Bottom navigation bar animation has been reworked so you could try it out.
Also, I have added an option to disable focus mode (where top and bottom bar hides when you scroll). You can enable/disable focus mode by long-pressing the feed title on the Home tab. The app will give you short haptic feedback when changed. The state is saved only for the app session (it reverts back to true if app gets killed). In the future, we'll add this option to settings and make it persistent.

@bitcoinuser Can we close this one? If you are happy with the feed speed after todays tests?

I think you are referring to the situation when feed sometimes swallows the tap input and doesn't react on scroll gesture.

This is the problem that most irritate me.

I think you are referring to the situation when feed sometimes swallows the tap input and doesn't react on scroll gesture.

This is the problem that most irritate me.

Is this still happening with 0.95.2?


Exporting a translation File

Allows you to export the translation file from one or more languages

I wonder about the interest of this export knowing that the translation of a language can be downloaded from the list of languages ?!

The export of a translation from this page will be present in order to have a page with an import/export.


Azure Storage Explorer Troubleshooting: "unable to retrieve child resources” or “The request action could not be completed

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.20.1
Regression From
No response
Architecture
x64
Storage Explorer Build Number
No response
Platform
All
OS Version
Windows 10
Bug Description
},
"clientRequestId": {
"serializedName": "x-ms-client-request-id",
"type": {
"name": "String"
}
},
"errorCode": {
"serializedName": "x-ms-error-code",
"type": {
"name": "String"
}
}
}
}
},
"StaticWebsite": {
"serializedName": "StaticWebsite",
"type": {
"name": "Composite",
"className": "StaticWebsite",
"modelProperties": {
"enabled": {
"xmlName": "Enabled",
"required": true,
"serializedName": "Enabled",
"type": {
"name": "Boolean"
}
},
"indexDocument": {
"xmlName": "IndexDocument",
"serializedName": "IndexDocument",
"type": {
"name": "String"
}
},
"errorDocument404Path": {
"xmlName": "ErrorDocument404Path",
"serializedName": "ErrorDocument404Path",
"type": {
"name": "String"
}
},
"defaultIndexDocumentPath": {
"xmlName": "DefaultIndexDocumentPath",
"serializedName": "DefaultIndexDocumentPath",
"type": {
"name": "String"
}
}
}
}
},
"StorageError": {
"serializedName": "StorageError",
"type": {
"name": "Composite",
"className": "StorageError",
"modelProperties": {
"message": {
"xmlName": "Message",
"serializedName": "Message",
"type": {
"name": "String"
}
},
"code": {
"xmlName": "Code",
"serializedName": "Code",
"type": {
"name": "String"
}
}
}
}
},
"UserDelegationKey": {
"serializedName": "UserDelegationKey",
"type": {
"name": "Composite",
"className": "UserDelegationKey",
"modelProperties": {
"signedObjectId": {
"xmlName": "SignedOid",
"required": true,
"serializedName": "SignedOid",
"type": {
"name": "String"
}
},
"signedTenantId": {
"xmlName": "SignedTid",
"required": true,
"serializedName": "SignedTid",
"type": {
"name": "String"
}
},
"signedStartsOn": {
"xmlName": "SignedStart",
"required": true,
"serializedName": "SignedStart",
"type": {
"name": "String"
}
},
"signedExpiresOn": {
"xmlName": "SignedExpiry",
"required": true,
"serializedName": "SignedExpiry",
"type": {
"name": "String"
}
},
"signedService": {
"xmlName": "SignedService",
"required": true,
"serializedName": "SignedService",
"type": {
"name": "String"
}
},
"signedVersion": {
"xmlName": "SignedVersion",
"required": true,
"serializedName": "SignedVersion",
"type": {
"name": "String"
}
},
"value": {
"xmlName": "Value",
"required": true,
"serializedName": "Value",
"type": {
"name": "String"
}
}
}
}
}
},
"isXML": true
}
}
}
}
Steps to Reproduce
1.launch storage account
2. expanding blob getting ab error child idem can be retrieved
Actual Experience
1.launch storage account
2. expanding blob getting ab error child idem can be retrieved
Expected Experience
No response
Additional Context
No response

I am facing the exact same issue:

Same error. Please help I need to have this thing working so that I can finish my assignment:

@Takahatamo The error message in your case indicated that you don't have the permission to perform the operation. What were you trying to do and what permissions you have?

Hi ,
I have owner permission on that storage account , Still do I need to assignee any blob level permission e.g storage blob contributor ?
From: jinglouMSFT @.>
Sent: Thursday, September 9, 2021 11:53 PM
To: microsoft/AzureStorageExplorer @.>
Cc: moinshaikh888 @.>; Author @.>
Subject: [External] Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer Troubleshooting: "unable to retrieve child resources” or “The request action could not be completed (#4890)
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.

@Takahatamohttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Takahatamo&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=fvqRIcWJUHDE40gBmgwPgR3AO2gd4uKTkPXjjZMykZM&s=9NCGEFX5vogEwCnI0pOk6p4NEB1m06sAXI1cmhLvMKc&e= The error message in your case indicated that you don't have the permission to perform the operation. What were you trying to do and what permissions you have?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_AzureStorageExplorer_issues_4890-23issuecomment-2D916333740&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=fvqRIcWJUHDE40gBmgwPgR3AO2gd4uKTkPXjjZMykZM&s=vMZoapKkBYx_2huL7NU3p2efWJxScd-o6Sc6izIQi_c&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AVQFNJHV2TV2UBXILORLDWLUBD3PTANCNFSM5DQQCBSQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=fvqRIcWJUHDE40gBmgwPgR3AO2gd4uKTkPXjjZMykZM&s=vs2WQRWGXT9TGSNEoBhUCp2RXzgQHa81Wi4U34Z3aIQ&e=.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=fvqRIcWJUHDE40gBmgwPgR3AO2gd4uKTkPXjjZMykZM&s=q7iwpJMCascYnsyNW-XbZkitSA9EQ9SfiDh0HXwlgvY&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=fvqRIcWJUHDE40gBmgwPgR3AO2gd4uKTkPXjjZMykZM&s=XrcJCTcYMqlx5fw0iC3TArwCyDmDJ3PXMD8KmBoB4jM&e=.

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.

www.accenture.com

@moinshaikh888 how are you accessing your resources? It looks like maybe you attached with a User delegated SAS?
@munish16 for your screenshot, it looks like you're trying to access your emulator. For that, please make sure your emulator is installed and is running. Storage Explorer neither ships with an emulator nor does it start any emulators for you.

Hello I forgot to send that the problem was resolve I just had to remove the resource and fix it up a bit when I set it up

From: Matthew Rayermann @.>
Sent: 10 September 2021 13:34
To: microsoft/AzureStorageExplorer @.>
Cc: Ethan Kyle San Juan-Cheong @.>; Mention @.>
Subject: Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer Troubleshooting: "unable to retrieve child resources” or “The request action could not be completed (#4890)
@moinshaikh888https://github.com/moinshaikh888 how are you accessing your resources? It looks like maybe you attached with a User delegated SAS?
@munish16https://github.com/munish16 for your screenshot, it looks like you're trying to access your emulator. For that, please make sure your emulator is installed and is running. Storage Explorer neither ships with an emulator nor does it start any emulators for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/4890#issuecomment-917085429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARBS4WBRI6NZC66YQSR6QWTUBI6SZANCNFSM5DQQCBSQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi @ Takahatamo
Could you please specify bit more what resources you removed and what steps you followed that will be really helpful and appreciated.
From: Takahatamo @.>
Sent: Friday, September 10, 2021 11:06 PM
To: microsoft/AzureStorageExplorer @.>
Cc: moinshaikh888 @.>; Mention @.>
Subject: [External] Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer Troubleshooting: "unable to retrieve child resources” or “The request action could not be completed (#4890)
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.

Hello I forgot to send that the problem was resolve I just had to remove the resource and fix it up a bit when I set it up

From: Matthew Rayermann @.>
Sent: 10 September 2021 13:34
To: microsoft/AzureStorageExplorer @.>
Cc: Ethan Kyle San Juan-Cheong @.>; Mention @.>
Subject: Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer Troubleshooting: "unable to retrieve child resources” or “The request action could not be completed (#4890)
@moinshaikh888https://github.com/moinshaikh888https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_moinshaikh888-253E&d=DwQFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=rcS0FGlfb4L3wgsaXGjurasZuiZpPCDKJ5hkpJpw6A0&e= how are you accessing your resources? It looks like maybe you attached with a User delegated SAS?
@munish16https://github.com/munish16https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_munish16-253E&d=DwQFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=3BlzB4rFkM59OV7M4-tb3HQkO8SgHaT5UOBRDmLfms4&e= for your screenshot, it looks like you're trying to access your emulator. For that, please make sure your emulator is installed and is running. Storage Explorer neither ships with an emulator nor does it start any emulators for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/4890#issuecomment-917085429https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_AzureStorageExplorer_issues_4890-23issuecomment-2D917085429-253E&d=DwQFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=0a1yIkYDIW5ggAjzqUElYYpPQC2vlBSHcJjPnhD8ao4&e=, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARBS4WBRI6NZC66YQSR6QWTUBI6SZANCNFSM5DQQCBSQhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ARBS4WBRI6NZC66YQSR6QWTUBI6SZANCNFSM5DQQCBSQ-253E&d=DwQFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=cUMWKvdMS4rj_u3RatbTy-GZVUsPSmFv0KcvR3ZFIk0&e=.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675-253E&d=DwQFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=iqhIW7vN7SD-H5-FGqltlrsAIB1_97iFXTGXztqJ7e0&e= or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub-253E&d=DwQFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=tDmvbFezypDb1COsVZwTe7l2D4DWr4QhWuYkYrMo9oo&e=.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_AzureStorageExplorer_issues_4890-23issuecomment-2D917086608&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=2Hx9vB_b6nW-2kgTTPC-qf3sHpyfkSL8PdxESc2FV9w&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AVQFNJH6MLRXRZCZDEIUUATUBI6ZZANCNFSM5DQQCBSQ&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=qyKl7iJQYTox93IqIv__e4MaYVgyeewbyL2V0URhRbQ&e=.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=-Ssi8xBWu77ZIb5Oo1aAAQFewmyEm6KtOcsVj7eOSBU&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=v2LTsQV-rV3CSsHGwOZbd9O-W1-LbsyMw88jWDNKJgg&m=yeyigqBsXLQmazHayWG9k8png6jnczAcqXkAAwdDxlw&s=8f8dyYYNA-Uw1krA-hi0xQz4l-ciGIGEyLU2hmHeL7c&e=.

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.

www.accenture.com

@moinshaikh888 Reading through your error detail, I noticed that the url looks weird "https://wabcf.blob.blob.core.windows.net/?include=metadata&comp=list" since it has two .blob. in the endpoint. Could you double check the url/endpoint you used to connect to your resource and see if there is a typo there?

I am facing the exact same issue:

I have managed to solve this issue please check your network configuration , also confirm that its normal storage account or ADLS v2 storage account accordingly i will share steps and CMD commands.

@moinshaikh888 Reading through your error detail, I noticed that the url looks weird "https://wabcf.blob.blob.core.windows.net/?include=metadata&comp=list" since it has two .blob. in the endpoint. Could you double check the url/endpoint you used to connect to your resource and see if there is a typo there?

Hi Thanks for your reply it was typo error here, i have solved tis issue by modifying network setting in Azure.


dog_stats_api doesn't encode pipe char

| is used by the statsd protocol to delimit the fields, so if you use it in a tag, you'll lose whatever's after the pipe

Closing and reopening on  datadogpy repo.


a function Column.inputDisabled that incorporate generated and immutable annotation

provide a function Column.getInputDisabled(context) that takes the context as a parameter and depending on the context, return InputDisabled value based on generated and immutable annotation.
Potential return values:

true : do not allow user input
false : allow user input
{message:"the message to show in place of the column value"} : do not allow user input and the message should be shown in-place of the column value.

Rules for setting the value:

When the context is create

if the column is generated, then inputDisabled={message:"automatically generated by the server"}

when the context is update

if the column is generated, then inputDisabled=true
if the column is immutable, then inputDisabled=true

informatics-isi-edu/chaise#432 depends on this function.

PR #237 has been merged; closing now.


executableDir = "" does not work in Windows start script

I am using Gradle 5.6.1
With the following settings
application {
    executableDir = ""
}

The unix start script works fine, but the windows start script contains
set JAVA_HOME="%~dp0.." and subsequently fails with this error:
ERROR: The directory "C:\Users\plusik\mzmine2\build\MZmine-2.50-win\.." does not contain a valid Java runtime for your platform.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

despite java.exe being present in the bin directory.
This issue was reported previously as #4675 and supposedly fixed with commit https://github.com/gradle/gradle/commit/e8a1ce60c89899228e03b97adbf4ceddb049f4de, however it seems only the unix script was actually fixed, not the windows script.

This issue still present in version 6.0.1

Still present in version 6.6
As a workaround with empty executableDir:
application {
    executableDir = ""
}

Add:
tasks.withType<CreateStartScripts> {
    doLast {
        windowsScript.writeText(windowsScript.readText()
                .replace("set JAVA_HOME=\"%~dp0..\"", "set JAVA_HOME=\"%~dp0\""))
    }
}

This is the .gradle.kts version based on https://github.com/beryx/badass-runtime-plugin/issues/67#issuecomment-672348355

I don't see set JAVA_HOME="%~dp0.." in the Gradle start script. It doesn't make sense there because there is no bundled JVM in the application built by Gradle's application plugin. I suppose the issue is specific to the badass-runtime-plugin because this plugin actually bundles Java runtime into the application and it is reasonable to set up JAVA_HOME this way. The badass-runtime-plugin is a third-party plugin so the issue cannot be fixed in the core Gradle (and it seems to be fixed in the plugin already)
I might be missing something so please provide a reproducer if you think the issue is in the Gradle core plugins.


HTML2Markdown

HTML mails posted to mattermost appear as HTML source code.
HTML mails with tables posted to mattermost end up as html source code.
When stripping HTML, the table becomes just a long line of text.
Could there be an option to convert HTML mails to markdown
When I copy/paste the email body manually from the mail to mattermost, the web app converts the HTML to markdown. Would a similar behavior be possible for mail2most?
Thumbs up for mail2most
I really like your piece of code to send mails to mattermost and it works fine with most of the emails, but we get some HTML mails which would look much better when converted to markdown so the content does make more sense for the users.

@pittermann49 thank you for your issue. You are right thats an issue. Ill take a look into this.

it seems that this is not trival due to the fact that most of the html2markdown librarys are not able to correctly parse tables so this will take some more effort

@pittermann49 here is a version containing Mattermost.ConvertToMarkdown option. If set to true a html2markdown parser will parse the body and post the markdown. Im not fully happy with this solution since for your table example its only working for simple tables without having a specific <thead> structure since this will not be parsed correctly. But give it a try if it works for you.
linux-386.tar.gz
linux-amd64.tar.gz
linux-arm.tar.gz
linux-arm64.tar.gz
windows-386.tar.gz
windows-amd64.tar.gz

i added this in a v1.9.0 pre release

its in a pre-release and available for users for issues with the Markdown conversion please open new issues.


Style tweak of playbooks

put long on-line shell scripts to files
replace sudo yum install -y -q with cleaner ansible yum moduleyum: name=xxx

sudo:yes

replace long shell: sed -i "xxxxx" xxxx with straightforward replace module:replace: >

   dest=xxx

   regexp=xxxx

   replace=xxxx

@calvinjia I put some long one-liner in shell module using && and \ to bash scripts in files.
but keep some really short one-liner.
also, the semantic of yum and replace module is so clean and straightforward, so I use them when appropriate.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/3185/
Test PASSed.

@uronce-cc thanks for the follow up PR
+1 LGTM


python3Packages.tldextract: enable tests

Motivation for this change
Enable tests
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 117787 at f7c2db87 run on aarch64-linux 1

1 package skipped due to time constraints:

qutebrowser

6 packages built successfully:

lexicon
python38Packages.asyncwhois
python38Packages.tldextract
python39Packages.asyncwhois
python39Packages.tldextract
sewer


istiod-remote chart should not rely on global.yaml

Task for https://github.com/istio/istio/issues/25184
Find all occurrences of .Values.global in istio-discovery chart
rg -o -e ".Values.global(\.\w+)*" | awk -F\: '{print $2}' | sort -u
Take values from global.yaml into values.yaml
[ ] Configuration Infrastructure
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@jacob-delgado maybe I'm missing the purpose of your PR, could you elaborate on what prob it solves?
Note the istiod-remote is used when you don't run istiod on the cluster but points to an istiod outside of the cluster (that runs istiod-remote)

cc @linsun The purpose of the PR (and other ones similar to it) are to remove the dependency on global.yaml which lives outside of any chart. When users install istio using helm they must pass in -f global.yaml. The goal of the work I'm doing is to create independence for all charts. Users will still need to pass in arguments to customize istio, but on an as needed basis for each chart.
Reasonable defaults for people using the helm charts will have to be a work in progress done for 1.8. Installing and getting it up and running is the first stage. I will mention this in the environments meeting this week.

It is worth noting that I did not change any values brought over from global.yaml over. It is possible, and even likely, that the values may not make sense or be reasonable.

@jacob-delgado thanks, I'll defer to @costinm and others on this.  I just feel it is odd as some of these global params I don't ever expect users to configure them.

Agreed @linsun, but the charts as they are written today depend on them. I didn't just copy global.yaml over, but went value by value (with the aid of grep).

Given the breadth of this. I'm not going to try and do this for 1.7. Will try and do this in a future release.


old catalog not found

There used to be a catalog at http://dev.worldpossible.org/cgi/json_api_v1.pl. This has gone missing quite recently. Will it be coming back?

It's called json_api_v2.pl now

I am aware of the v2 catalog. If the old catalog has been discontinued, would it be possible to have some of its fields added to the new catalog since both are built from the same database? Internet in a Box uses the catalog to display a list of OER2Go modules that the user can download, and fields such as description tell the user more than just the title does. Type shows the user what additional software might be required, such as kiwix. Adding back some of the old fields would be much appreciated.
Here is one entry in both the v2 and v1 catalogs for comparison:
en-afristory": {
"logofilename": "af.png",
"is_hidden": "No",
"file_count": "523",
"moddir": "en-afristory",
"title": "African Storybook Project",
"ksize": "182000",
"module_id": "99",
"lang": "en",
"version": "v2.1"
},
"en-afristory": {
"age_range": "children,young adult",
"category": "educational,entertainment",
"description": "A collection of illustrated children's stories from many African cultures. Includes stories in English and a new graphical UI.",
"file_count": "523",
"index_mod_sample_url": null,
"is_hidden": "No",
"ksize": "182000",
"lang": "en",
"logo_url": null,
"moddir": "en-afristory",
"module_id": "99",
"prereq_id": null,
"prereq_note": "",
"rating": "2.0",
"rsync_url": "rsync://dev.worldpossible.org/rachelmods/en-afristory",
"source_url": "http://www.africanstorybook.org/",
"title": "African Storybook Project",
"type": "html",
"version": "v2.1",
"zip_ftp_url": "ftp://dev.worldpossible.org/zipped-modules/en-afristory.zip",
"zip_http_url": "http://dev.worldpossible.org/zipped-modules/en-afristory.zip"
},
For Internet in a Box the most important of the previously included fields are type and description. followed by source_url. If category is still maintained it would be nice to have that too. The download fields such as rsync_url, zip_ftp_url, and zip_http_url are nice to have, but they can be calculated.

Closed this topic by accident. The file was getting spam connections, but I've added the v1 back.

Closed this topic by accident. The v1 file was getting spam connections, but I've added it back.

This is fantastic news.
Huge Thanks @JamesKainer.
(If a v3 is ever necessary, please do preserve metadata wherever possible!)


refactor: ios native module for apn react native sample app

Related to https://github.com/customerio/issues/issues/8965
Includes:

ios folder with podfile and other required files
covers ios native module for the app
this a huge PR as compared to other PRs because this has all ios related files. Creating ios PRs in chunks could have resulted in code break

Thanks for responding to my suggestions, @ami-aman. I see some suggestions have not been responded to. GitHub is hiding them for me so maybe they are being hidden for you, too?

Thanks Levi. I have addressed all suggestions on this PR now.


[stable/redis-ha] narrower config checksums to only restart components if needed

Is this a new chart
No.
What this PR does / why we need it:
In the current master, if you have haproxy enabled, both haproxy and redis/sentinel will be restarted during Helm release upgrades if anything in either component's configuration changed. So e.g. haproxy is restarted even if you only modify Redis's memory limit settings, and Redis is restarted even if you only change haproxy's timeout settings. This is because the checksum annotations in both components are computed over the entire configuration configmap, so any configuration change anywhere will restart everything.
This PR moves the config files into separate template definitions and adapts the checksum computations in both haproxy and redis so the checksum only changes if something was changed in the config files that the respective service actually uses.
@ssalaues @DandyDeveloper
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

Everything looks okay, and I can easily see the value. Another PR just merged so you will have to bump the version once again and I'll approve.

Rebased & version bumped.

/lgtm


Possibly undefined even after if check

TypeScript Version:  2.3.4
Code
interface IGuildCustomize {
    /**
     * Welcome message
     */
    welcome_msg?:string;
    /**
     * Channel for welcome message
     */
    welcome_msg_channel:string;
}

let cz = JSON.parse(guildRow.customize) as IGuildCustomize;
if (cz["welcome_msg"] && cz["welcome_msg_channel"]) {
   let channel = msg.guild.channels.get(cz["welcome_msg_channel"]);
   if (!channel || channel.type !== "text") {
    return;
   }
   (channel as TextChannel).send(cz["welcome_msg"].replace("{usermention}", `<@${msg.author.id}>`).replace("{username}", escapeDiscordMarkdown(msg.author.username)));
}

Expected behavior: No errors
Actual behavior: Errors that value possibly can be undefined after if check

Works fine this way:

Looks like a duplicate of #10530.

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


OS Property does not distinguish between Mobile Browser vs Webview Browser

Hi,
When inspecting the OS property for web events, it appears that Amplitude is treating Chrome/Safari Webviews as the same OS as the normal Chrome/Safari Browsers.
Would it be possible to consider mobile webview browsers separately from the standard mobile browsers? This is because certain interactions/rendering/session management behave differently between webviews and mobile browsers and we need to be able measure our conversion rate on standard browsers versus in-app webviews.
I did a quick test and it seems that we are able to distinguish between mobile browsers and webviews using the user agent: https://faisalman.github.io/ua-parser-js/
Thanks for your help,
Henry

We're synced up with the latest version of ua-parser.


Update Timeline

Pull Request Test Coverage Report for Build 2054
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 91.139%

Totals

Change from base Build 2053:
0.0%

Covered Lines:
3600

Relevant Lines:
3950

💛  - Coveralls

Pull Request Test Coverage Report for Build 2079
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 91.118%

Totals

Change from base Build 2078:
0.0%

Covered Lines:
3601

Relevant Lines:
3952

💛  - Coveralls


[Documentation] Missing the GCP ServiceAccount documentation for Python

I found this missing part:
https://www.pulumi.com/docs/reference/pkg/python/pulumi_gcp/serviceaccount/
This is a broken link found in the docs, here: https://www.pulumi.com/docs/reference/pkg/gcp/serviceaccount/
In reality the listing here: https://www.pulumi.com/docs/reference/pkg/gcp/
should show 'service_account' and the target should be:
https://www.pulumi.com/docs/reference/pkg/python/pulumi_gcp/service_account/

We’ve previously fixed this for Node.js docs and Reference docs - but looks like we need to also fix for Python.
https://github.com/pulumi/docs/issues/2837

This should no longer be an issue once https://github.com/pulumi/docs/issues/4071 is complete.

This should no longer be an issue once https://github.com/pulumi/docs/issues/4071 is complete.


What are AVS drivers?

The instructions to install GNU/Linux contain the warning below:
https://github.com/chrultrabook/docs/blob/448ff37c1aa7e023fd9151f576d14d0a801ff1c8/docs/installing-linux.md?plain=1#L44
Unfortunately, I do not know what AVS is. The term is also mentioned in the FAQ, but from there it sounds like it’s a Windows driver?

Can I get AVS or SOF drivers for free?

Only the Linux drivers are free.

No, it's not a Windows driver. Windows drivers are based on Linux, that's why you usually see Linux getting support first, followed by Windows support.
It's a new kernelspace driver introduced by Intel's engineers, currently supporting SKL, KBL and APL.
We've been working with Intel's engineers on it for about a year. It's the only way to get properly working audio on Skylake and KabyLake platforms.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/intel/avs
The reason why we can't modify the firmware is that Management Engine checks signature of DSP firmware we're trying to load. In case of ApolloLake for instance, we cannot load community-signed firmware. DSP FW has to be signed with Intel keys, otherwise it will fail to load.

Thank you. From the Linux Kconfig file:
config SND_SOC_INTEL_AVS
	tristate "Intel AVS driver"
	depends on X86 || COMPILE_TEST
	depends on PCI
	depends on COMMON_CLK
	select SND_SOC_ACPI if ACPI
	select SND_SOC_TOPOLOGY
	select SND_SOC_HDA
	select SND_SOC_COMPRESS if DEBUG_FS
	select SND_HDA_EXT_CORE
	select SND_HDA_DSP_LOADER
	select SND_INTEL_DSP_CONFIG
	select WANT_DEV_COREDUMP
	help
	  Enable support for Intel(R) cAVS 1.5 platforms with DSP
	  capabilities. This includes Skylake, Kabylake, Amberlake and
	  Apollolake.

Luckily, Alder Lake does not seem to be “affected”.

No, CometLake, TigerLake and AlderLake uses Sound Open Firmware. Same for GeminiLake and to some point ApolloLake (although with issues).
I have KOHAKU and ELDRID here, both using MAX98357A, working perfectly. In fact, we've tested those platforms with thermal cameras, oscilloscope and volume meter to fine-tune it on mainline.

I have a RABBID (Apollolake) with its EOL approaching this summer, was thinking of linuxing it then -  hoping the sd card detection can be fixed by then.


Duplicate records creation for scheduled Metadata DLRS record

Hi @afawcett
Observed that after creating DLRS metadata record of scheduled type, a duplicate record in Lookup Rollup Summary with N/A values gets generated as follows :

Could you confirm the working of scheduled DLRS?

@Shraddha-Ingale this can be ignored, If you are using Manage Rollup Summaries tab and not any other to manage rollups you can totally ignore anything on the Lookup Rollup Summaries tab. In a future release I will remove the need for these funny records that distract and worry users.


Open in new tab when Ctrl-key is pressed

Don't prevent the default browser behaviour when clicking on a -tag with the ctrl-key pressed, so the link will open in a new tab.

7.1.2 released containing your fix. Thanks.


Update wayland-window to support xdg_shell

This upgrades the wayland-window dependency to support the xdg_shell wayland protocol, which is largely recognized as the way forward for wayland apps (thanks to @mitchmindtree for helping implementing that).
As a result, winit has a slightly different behavior, depending on which of wl_shell or xdg_shell is used, and I don't see any reasonable way to fix that, however I believe it's relatively minor.

If using wl_shell (the legacy protocol), winit will blank the window at creation. This is necessary because otherwise the window don't exist in wayland while it has not yet been drawn, and the events loop gets stuck receiving nothing.
if using xdg_shell, we cannot blank it at this point of time (the protocol forbids doing it this early). However, the events loop cannot get stuck. This means that the window are not displayed as long as no drawing occurs, which in practice should not be an issue as most usages will draw right away, and try to use an empty window.

However, the winit examples don't draw in the window. This means that running these examples in wayland will most of the time don't display a window... (systems without xdg_shell are basically non-existent).
Now, trying to schedule a blanking slightly later in the process would be the solution, but I'm afraid it would interfere with downstream drawing initialization (glutin or vulkano), and would require adding a consequent boilerplate for something relatively minor.
Opinions on this are welcome.

I guess this is not taking any review because it's purely wayland-specific and I'm the only one used to this part of the code?
Anyway, I'd like to have your input regarding the behavior differences as described in the previous message, @tomaka ?

@vberger ahh I was meaning to review/test this but forgot, I'll have a look now.

I guess the behavior change is fine, but we may want to add a println in the examples to tell people why they may not see a window.

Good point, I'll update the examples accordingly.

Is this message ok?

I saw some discussion on IRC about appveyor being down. I'll just ignore it for today.


Reduce version code

Codecov Report

Merging #3 (a366e18) into main (38fec30) will increase coverage by 10.66%.
The diff coverage is 100.00%.

:exclamation: Current head a366e18 differs from pull request most recent head 12333c3. Consider uploading reports for the commit 12333c3 to get more accurate results

@@             Coverage Diff              @@
##             main        #3       +/-   ##
============================================
+ Coverage   89.33%   100.00%   +10.66%
============================================
  Files           3         3
  Lines          75        65       -10
  Branches       11         9        -2
============================================
- Hits           67        65        -2
+ Misses          7         0        -7
+ Partials        1         0        -1

Impacted Files
Coverage Δ

src/curies/__init__.py
100.00% <100.00%> (ø)

src/curies/version.py
100.00% <100.00%> (+50.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.


remove support radius from equation

Dear Developers,
Following the equations, we (Fernando Zorilla and I)  found the computation of the surface tension for the Akinci2013 is not correct. The support radius should not be present in the summed up accel term.
When comparing the results in zero gravity and no boundaries, the fluid should converge to a spherical blob, which is the case after the adjustment.
Please check, to improve the code.
Here a result compare screenshot at T ~= 5:

and the test scene file:
NoGrav.zip

Thanks for finding this bug.


Differentiate symbols mentioned as the first phrase of a comment string

Copied from https://github.com/helix-editor/helix/issues/5909
In Go, the standard idiom is to begin docstrings with the name of the symbol being described, like so:
// foo performs an action
func foo() {
    fmt.Println("bar")
}

// Bar is a struct
type Bar struct {
    baz int
}

I propose that, similar to Goland from Jetbrains, the first term of a Go docstring be differentiated.

Can be done with queries

There is also the interface of go, ts can't recognize it, how to use the query, ,