[BUG] Column widths incorrectly calculated based on previous rowData when using autoSize in AgGrid

Description
I'm using AgGrid component with columnSize="autoSize" configuration.
When the data filter value is changed, the grid column widths are calculated based on the previous instead on the latest rowData.
It seems like the DashAgGrid.updateColumnWidths() (and the inner gridApi.autoSizeAllColumns(skipHeader)) are called before the most recent rowData is set.
Expected behavior would be that the column widths are always aligned with the latest rowData.

How to Reproduce
Package version: dash-ag-grid==31.2.0
After running the code below, adjust the range slide filter as it's showed in the screen recoding (video below the code section):
import dash
from dash import dcc, html, Input, Output, callback
import dash_ag_grid as dag
import pandas as pd

# Initialize the Dash app
app = dash.Dash(__name__)

# Sample data
df = pd.DataFrame({
    'Column 1': [1, 2, 3, 4, 5, 6],
    'Column 2': ['A', 'B', 'C', 'VeryLongStringInputCell_VeryLongStringInputCell_VeryLongStringInputCell', 'D', 'E'],
    'Column 3': [10.5, 20.1, 30.2, 40.3, 50.4, 60.5],
})

# Layout
app.layout = html.Div([
    html.H1('Grid Page'),
    html.Div(id="outer_div_grid_id"),
    dcc.RangeSlider(id="filter_column_1_dropdown", min=1, max=6, step=1, value=[1, 6]),
])

@callback(
    Output("outer_div_grid_id", "children"),
    Input("filter_column_1_dropdown", "value"),
)
def update_outer_grid(dropdown_value):
    df_filtered = df[df["Column 1"].between(dropdown_value[0], dropdown_value[1], inclusive="both")]

    return [dag.AgGrid(
        id='grid_id',
        columnDefs=[{'field': col} for col in df.columns],
        columnSize="autoSize",
        rowData=df_filtered.to_dict('records'),
        defaultColDef={'resizable': True},
    )]

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

https://github.com/user-attachments/assets/ffa449c4-4219-42ef-bf0e-a152449b0c58

Hello @petar-qb,
This probably works in a previous version, however, in the AG Grid update between these two versions, the rowData started updating asynchronously. Due to this, it broke selectedRows and also this.
However, it is important to note that in dash, you are not removing the component and causing it to be fresh, you are essentially updating the component, which means the grid is already initialized, therefore triggering the columnSize when updated.
Here is a way to update it with adjusting the id and you get the expected behavior:
import dash
from dash import dcc, html, Input, Output, callback
import dash_ag_grid as dag
import pandas as pd

# Initialize the Dash app
app = dash.Dash(__name__)

# Sample data
df = pd.DataFrame({
    'Column 1': [1, 2, 3, 4, 5, 6],
    'Column 2': ['A', 'B', 'C', 'VeryLongStringInputCell_VeryLongStringInputCell_VeryLongStringInputCell', 'D', 'E'],
    'Column 3': [10.5, 20.1, 30.2, 40.3, 50.4, 60.5],
})

# Layout
app.layout = html.Div([
    html.H1('Grid Page'),
    html.Div(id="outer_div_grid_id"),
    dcc.RangeSlider(id="filter_column_1_dropdown", min=1, max=6, step=1, value=[1, 6]),
])

@callback(
    Output("outer_div_grid_id", "children"),
    Input("filter_column_1_dropdown", "value"),
)
def update_outer_grid(dropdown_value):
    df_filtered = df[df["Column 1"].between(dropdown_value[0], dropdown_value[1], inclusive="both")]

    return [dag.AgGrid(
        id=f'grid_id{dropdown_value}',
        columnDefs=[{'field': col} for col in df.columns],
        columnSize="autoSize",
        rowData=df_filtered.to_dict('records'),
        defaultColDef={'resizable': True},
    )]

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


Remove Alarms/Poll Control non-Matter clusters from Matter devices XML

Problem
matter-devices.xml contains non-Matter Clusters which have been removed in e9960d4a577a ("Remove various non-Matter clusters from Matter XML.")..
Fixes: e9960d4a577a ("Remove various non-Matter clusters from Matter XML.").
Change overview
Removes non-Matter Clusters from matter-devices.xml as well.
Testing
Makes device generation from mattter-devices.xml with our scripts work correctly.

Clearing @bzbarsky-apple 's requested changes since his concerns have been addressed, and he's on vacay.


Add support for NIC changes

Detect network interfaces being enabled
Detect network interfaces being disabled
Detect IPv4 addresses being added
Detect IPv4 addresses being removed


Restricting Rotten Flesh into Leather

Look we all love rotten flesh into leather, but it removes a major challenge, especially in early game.

When do we want it to be a thing we allow, or what resource do we want to tie to it?

Hm. I don't mind rotten flesh to leather via EvilCraft. Obviously, the method using the drying basin needs to go. What other methods of flesh->leather do we have?

Okay, this should no longer be a thing using Integrated Dynamics. We'll have to test it out, though, to be sure.


Fasta crash on nested generic function types

$ echo <<EOF >test.dart

typedef C<A, K> = int Function<B>(A x, K y, B v);
typedef D<K> = C<A, K> Function<A>(int z);

dynamic producer<K>() {
  return <A>(int v1) {
    return <B>(A v2, K v3, B v4) => 0;
  };
}

main() {
  assert(producer<String>() is D<String>);
}
EOF

$ DART_CONFIGURATION=DebugX64 ./pkg/front_end/tool/fasta compile test.dart

Unhandled exception:
NoSuchMethodError: The method 'accept' was called on null.
Receiver: null
Tried calling: accept(Instance of '_InnerTypeSubstitutor')
#0      Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46)
#1      _TypeSubstitutor.visit (package:kernel/type_algebra.dart:389:41)
#2      _InnerTypeSubstitutor.freshTypeParameter (package:kernel/type_algebra.dart:343:19)
#3      MappedListIterable.elementAt (dart:_internal/iterable.dart:413)
#4      ListIterable.toList (dart:_internal/iterable.dart:218)
#5      _TypeSubstitutor.freshTypeParameters (package:kernel/type_algebra.dart:415:47)
#6      _TypeSubstitutor.visitFunctionType (package:kernel/type_algebra.dart:436:32)
#7      FunctionType.accept (package:kernel/ast.dart:4570:34)
#8      _TypeSubstitutor.visit (package:kernel/type_algebra.dart:389:41)
#9      Substitution.substituteType (package:kernel/type_algebra.dart:239:53)
#10     substitute (package:kernel/type_algebra.dart:19:45)
#11     KernelFunctionTypeAliasBuilder.buildTypesWithBuiltArguments (package:front_end/src/fasta/kernel/kernel_function_type_alias_builder.dart:92:12)
#12     KernelFunctionTypeAliasBuilder.buildType (package:front_end/src/fasta/kernel/kernel_function_type_alias_builder.dart:109:12)
#13     KernelNamedTypeBuilder.build (package:front_end/src/fasta/kernel/kernel_named_type_builder.dart:46:20)
#14     KernelFunctionTypeBuilder.build (package:front_end/src/fasta/kernel/kernel_function_type_builder.dart:40:21)
...

cc @sigmundch

https://dart-review.googlesource.com/c/sdk/+/16360

VM support for nested generic function types in the Kernel FE should be ready.

When this issue is resolved, support for nested generic function types in the VM's Kernel FE should be tested further.

Is running the above program in strong mode sufficient testing?

We can't run the program at all through the Kernel FE since Fasta doesn't produce any output.

Once this bug in Fasta has been fixed, what would you consider sufficient testing? The above program?

It would definitely be a good start, although I would like to write some more involved tests as well.
We are severely lacking test coverage for generic methods and functions.

Thank you.
In that case, I suggest you create a separate bug for tracking the test coverage.


The db.query function hangs when mysql is busy

How can we detect this?
For example, I'm inserting over 15,000 rows into my table for testing purposes, I refresh the browser to starting another query, and anything inside my db.query() function doesn't get executed until ALL these inserts are completed? It just hangs.
I'm using innodb as well, switched from MYSIAM. And using pooling as well ~
Any idea? I could atleast check to see if it's busy and give the user a error warning message that we're experiencing high server load.

Code inside your db.query() would be code, I assume, in your callback... in which case it will not get executed until the query is done, yes?

Code inside your db.query() would be code, I assume, in your callback... in which case it will not get executed until the query is done, yes?

Yeah, but I want to detect that somehow so I can tell users that the system is experiencing high load

Sorry, I think I should first try to understand your problem better. You inserting 15000 rows in query Q1 and the db.query() for that query has a callback CB1. CB1 will not be called until all 15000 rows are successfully inserted. While that is going on, you refresh your browser -- i.e., reload the web page? -- and this starts a new query... Q2... and that hangs?

Not really let me try to explain better.
I am just testing the performance with mysql and doing a db.query('INSERT'); with no callback 15000 times.  While this insert is still finishing, (if a user tries to access a function inside of any OTHER db.query) they cannot.  As the db.query function hangs until those 15000 rows are completed.
I'm trying to find a way to detect that so I can tell the user we're experiencing high-load.

Found it
waitForConnections: Determines the pool's action when no connections are available and the limit has been reached. If true, the pool will queue the connection request and call it when one becomes available. If false, the pool will immediately call back with an error. (Default: true)


jras-MSFT-update-massively-parallel-processing-mpp

Added link for data warehouse units article.

@jrasnick : Thanks for your contribution! The author, @ronortloff, has been notified to review your proposed change.

Looks like a good supporting link addition. Merging the PR.
@jrasnick Thanks.


Colab error

Hi,
I would like to see the effect of the network on a single image. Is this a good use case, even though the work is targeted to a dataset?
Also, In the colab file, at L_inner, indicated below,

for step in range(501):
    # sample a batch of data
    x, t = next(train_iterator)
    x, t = x.to(device), t.to(device)
    x = x.permute(0, 2, 3, 1).reshape(batch_size, -1, n_channels)

# compute the gradients of the inner loss with respect to zeros (gradient origin)
    z = torch.zeros(batch_size, 1, num_latent).to(device).requires_grad_()
    z_rep = z.repeat(1,c.size(1),1)
    g = F(torch.cat((c, z_rep), dim=-1))
    **L_inner = ((g - x)**2).sum(1).mean()**
    z = -torch.autograd.grad(L_inner, [z], create_graph=True, retain_graph=True)[0]

what is t used for? it does not appear to be used in later parts of the file? or maybe I missed it.
`

hi nikky, t is the targets (labels) of the MNIST dataset. We don't use it (although we kept it there just in case anyone wants to try the classifier derivation we show in Eqn 2). The SIREN function F works very well for a single image, to modify this code back to just a simple SIREN, change num_latent=0,  then you can comment out the inner_loss bit, as that's not needed:
z = torch.zeros(batch_size, 1, num_latent).to(device).requires_grad_()
z_rep = z.repeat(1, c.size(1), 1)
g = F(torch.cat((c, z_rep), dim=-1))
L_outer = ((g - x)**2).sum(1).mean()
optim.zero_grad()
L_outer.backward()
optim.step()

then visualise g reshaped back to the image size:
g = torch.clamp(g, 0, 1).permute(0,2,1).reshape(-1, n_channels, img_size, img_size)


New sound stuff, fish hook predicate, missed persistent state uuid fix

Signed-off-by: liach<EMAIL_ADDRESS>

conflicts please.

Wait a sec


Image Icon Missing

I tried installing the font-awesome npm package and importing it.
I'm pretty sure this isn't proper ES6, but I also tried:
 import 'http://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css'
Third, I tried importing the css directly:
import "node_modules/font-awesome/..."
But create-react-app won't let me import outside of the src folder.
Lastly, I tried copy and pasting the font-awesome css file into the src folder and deleting 2 lines where it links out using relative paths. This resulted in a little icon with 3 dots instead of an image icon.
Any ideas about getting this icon?

Include the font file in your html

Thanks, @brijeshb42.
That works in: public/index.html in a create-react-app project.


Include local and global installation instructions in README.md.

This pull request alters the installation section of the readme to include the installation instructions found at emacs-lsp/lsp-php
I found that guide helpful. Hopefully it helps others.

Side question, what is the use case for installing globally?

I haven't done it myself. I included it because it was in emacs-lsp/lsp-php readme. I'll ask the creator of the README and see why he included it.

Hello @LeviHarman did you hear back from emacs-lsp?
I wonder if you can just remove the global installation instructions from this pull-request so it can be merged and create a new pull-request later when the maintainers of the other LSP project answer your question about the usability of having this project globally accessible. I recently got bitten by issue #611 after attempting to have SublimeText + Dockerized (PHP-LSP) and your explanation here was the only thing that got me back on track.
It would be good to have the local installation instructions merged so others can benefit from it.

Would appreciate this getting merged too as current instructions in the readme did not work for me and I wasn't sure why as I don't know composer.
I got this error with default instructions:
`% composer require felixfbecker/language-server
Using version ^5.4 for felixfbecker/language-server
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- felixfbecker/language-server v5.4.2 requires jetbrains/phpstorm-stubs dev-master -> satisfiable by jetbrains/phpstorm-stubs[dev-master] but these conflict with your requirements or minimum-stability.
- felixfbecker/language-server v5.4.1 requires jetbrains/phpstorm-stubs dev-master -> satisfiable by jetbrains/phpstorm-stubs[dev-master] but these conflict with your requirements or minimum-stability.
- felixfbecker/language-server v5.4.0 requires jetbrains/phpstorm-stubs dev-master -> satisfiable by jetbrains/phpstorm-stubs[dev-master] but these conflict with your requirements or minimum-stability.
- Installation request for felixfbecker/language-server ^5.4 -> satisfiable by felixfbecker/language-server[v5.4.0, v5.4.1, v5.4.2].
Installation failed, deleting ./composer.json.
`

Well, to be fair these instructions didn't help either. Still getting same error.
But personally I think installing globally makes sense as this is the kind of package that IMO should be installed globally in user's directory rather than in specific project as it is generally consumed by text editors.

I have found #611 and managed to fix my issue.
Problem for me was that I already had ~/.composer directory so running composer global require felixfbecker/language-server used composer.json from that directory instead of global one from ~/.config/composer/composer.json.


Getting intermediate layer output from predefined keras models

Hi,
So I trained a MobileNet model using my custom 64x64x1 images. Now, I am trying to load the model weights and cut out the last layer from the network, and I keep getting:
AttributeError: 'Tensor' object has no attribute '_keras_shape'
stack trace:
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/network.py", line 93, in init
self._init_graph_network(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/network.py", line 253, in _init_graph_network
input_shapes=[x._keras_shape for x in self.inputs]
here's a snippet of my code:
mobilenet = MobileNet(input_shape=(64, 64, 1,), alpha=1., weights=None, classes=340)
mobilenet.load_weights(weights_path)
mobilenet_hidden_features = Model(inputs=mobilenet.input, outputs=mobilenet.get_layer('global_average_pooling2d').output)
Am I doing something wrong?

[X] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[X] Check that your version of TensorFlow is up-to-date. The installation instructions can be found here.

[X] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Please take a look at https://keras.io/getting-started/faq/#how-can-i-obtain-the-output-of-an-intermediate-layer to know more. Hope this helps. Thanks!


Newbie question: WSL2 / Ubuntu 20.04: "devbox add python310" fails with "Error: Package python310 not found"

@hamidk Did you install Nix?

I did install Nix.
But, when I went to see the Nix install log, I realized that I overlooked to do
" . /home/ahk/.nix-profile/etc/profile.d/nix.sh" to setup the Nix environment. I just did it and now "devbox add pyhthon310" works. Thanks


debugfeature add a new session variable backend blacklist to skip some backend during query

Proposed changes
Sometimes we want to exclude the backend from query list because its network maybe unstable, so that we could make sure that this backend is bad when the query is stable after exclude it.
We need this feature to debug this problem.

run buildall

run buildall


build: fix building with rocksdb

Description

Reopen https://github.com/line/lfb/pull/22, due to the accidental close.

Fixed contrib/get_rocksdb.sh script
Fixed Makefile for automation of building with rocksdb

Motivation and context

How has this been tested?

Screenshots (if appropriate):
Checklist:

[ ] I followed the contributing guidelines.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

I'll reopen


rename_all = "camelCase" fails if fields are already in camelCase

#[derive(Serialize, Deserialize, TS, Clone)]
#[serde(rename_all = "camelCase")]
pub struct CamelCase {
    alreadyCamelCase: u32
}

serde_json would serialize this into
{"alreadyCamelCase":0}

but we generate
interface CamelCase { alreadycamelcase: number, }

This is due to a mistake I made in #184 this line should just be s.push(c)
I will submit a PR to fix it ASAP


Cipher.v: state/key/add_round_key

This uses Vector.t to implement state and key, and it adds a
definition of add_round_key and proves it is its own inverse.

suggestions for using VectorUtils.v appreciated (export vnil?)
Adding nc/nb to context instead of making them dependently typed was causing some issues in my proofs where
it couldn't match 'nc' and 'nc0' with each other.

Thanks! That's a great start! I'll defer to the others to complete this review.

Thanks for putting several of us down as reviewers. I propose that since @jadephilipoom  is leading the space work as soon as she gives GitHib Approval it is fine to merge if that's fine with @cipher1024 and @blaxill
I don't think we have a policy on what to do with PRs with multiple reviewers?

I don't think we have a policy on what to do with PRs with multiple reviewers?

In general - I like multiple reviewers or being included on changes even if I'm not necessarily the one to approve, since reading a lot of code gives you context for what is going on. I expected anyone with access and who was comfortable with my change to approve and merge without necessarily everyone reviewing.

I don't think we have a policy on what to do with PRs with multiple reviewers?

The SWE team has a policy that one review is required before merging, but you can request as many as you like to get feedback. I think we should go with that.

Because BVxor is defined in terms of map, I was suggesting to @smore-lore to use the functorial laws to reduce the proof
to the property that xor on single bits is idempotent. What is your opinion on this approach @jadephilipoom, @blaxill and @satnam6502?

Because BVxor is defined in terms of map, I was suggesting to @smore-lore to use the functorial laws to reduce the proof
to the property that xor on single bits is idempotent. What is your opinion on this approach @jadephilipoom, @blaxill and @satnam6502?

Sure, you could unfold BVxor and see if you can apply the map2_* lemmas?

Adding nc/nb to context instead of making them dependently typed was causing some issues in my proofs where
it couldn't match 'nc' and 'nc0' with each other.

I recommended this change in my review, and am curious where issues popped up. Is it possible that the proof introduced another nc? Proofs that use context variables will end up forall-quantified over those variables, so writing a proof that says forall nc within a section that already declared nc will insert two competing versions of nc and possibly produce the issue you described.
I see that in inverse_add_round_key you do induction on a state, which could cause issues with the nc variable not matching up as well. If that's where you're running into issues, feel free to ignore the suggestion and leave as-is!

Because BVxor is defined in terms of map, I was suggesting to @smore-lore to use the functorial laws to reduce the proof
to the property that xor on single bits is idempotent. What is your opinion on this approach @jadephilipoom, @blaxill and @satnam6502?

I think this is a great approach! And actually, I believe you could now move the proofs that are just about bitvectors to cava/Cava/BitArithmetic.v, the file for generic proofs about bit vectors, so as to minimize complexity in Spec.

re jadephilipoom - this is the error I get when I move nc/nb into a context in inverse_add_round_key when I try to do induction on x. Couldn't figure out why I was introducing another nc0, so this is why I made it dependently typed. It's probably a limitation of my coq knowledge. Perhaps we could change it when/if it becomes more important, unless you want to help out!
Abstracting over the terms "nc" and "x" leads to a term
fun (nc0 : nat) (x0 : t (Bvector nb) nc0) =>
map (fun col : Vector.t bool nb => BVxor nb col k)
  (map (fun col : Vector.t bool nb => BVxor nb col k) x0) = x0
which is ill-typed.
Reason is: Illegal application:
The term "@eq" of type "forall A : Type, A -> A -> Prop"
cannot be applied to the terms
 "state" : "Set"
 "map (fun col : Vector.t bool nb => BVxor nb col k)
    (map (fun col : Vector.t bool nb => BVxor nb col k) x0)" : "t (Vector.t bool nb) nc0"
 "x0" : "t (Bvector nb) nc0"
The 2nd term has type "t (Vector.t bool nb) nc0" which should be coercible to
"state".

I think this is a great approach! And actually, I believe you could now move the proofs that are just about bitvectors to cava/Cava/BitArithmetic.v, the file for generic proofs about bit vectors, so as to mi

These proofs are pretty specific to this operation, and I didn't want to carve out a whole new section there for inverse_xorb. Let me keep them here for now, and if they are needed by something else, we can move them. I'm also worried I may want to change the key types used here after we start looking at the other operations.

re jadephilipoom - this is the error I get when I move nc/nb into a context in inverse_add_round_key when I try to do induction on x. Couldn't figure out why I was introducing another nc0, so this is why I made it dependently typed.

The issue is that the context variable "fixes" the size of the vector, so doing induction doesn't work because the proof doesn't have a notion of a state with any other length. Try putting in cbv [state] in * just before doing induction, so x is seen as Vector.t instead of state?

I think this is ready to merge as discussed (if someone can - I don't have perms). Will talk to Simon about cleaning up these proofs in a separate PR.


Why use different lr for each layer? Not converge problem.

Hi @pkuCactus
I'm just read your paper. Your idea is very interesting and shows a very good performance. However, when I try to use your dataset, I saw you use different learning rates for each layer? Does this improve the performance a lot?
I'm trying to deal with my datasets with diferent edge detection methods. I tried RCF and yours. RCF works find but yours found loss doesn't decrease much and accuracy doesn't improve much, even though I used pre-trained weights and learning rate decease(0.1) on the plateau. I have my own data preprocessed in a slightly different way. When I try RCF, just replace network part with RCF and change the weighted loss function, optimiser. Yours seems more complex: I switch from RCF to BDCN add sigmoid on results,  use RCF loss(cause I think yours and RCF just different on sigmoid location), use different learning rate for each layer. I have inputs of 37272 and labels (1,72,72) batch size originally set 64 for RCF. Now batch size set to 16 iterator size is 1. Since my image is smaller I also tuned the atrous convolution rate from 4 to 3.
My dataset is seismic images.
Do you have any insights that why my model not converge? Really appreciate your help.
Thanks

Hi @anyuzoey
I think this is a great question, please people correct me if I am wrong.
Whenever you are training a deep learning model for edge detection not boundary detection (because I have not evaluated in boundaries) is quite easy (for the model) to train, therefore, there will be overfitting if there is not enough data (actually there is not enough data to train DL models). Hence, a pre-trained model is used (like VGG16 trained on imagenet)... If you do not follow the same LR setting like in HED, CED, RCF, BDCN,  your model won't train to detect edges in a given dataset. In the end, I suppose that actually, we are not doing edge detection with the different learning rate setting, because most of the edge detected by the DL model is erased by the same model's settings.
Cheers,
P.S. Please correct me if I am worng

As @xavysp said, since the training data  is insufficient, the pretrained weight have small lr and new added weights has relatively large lr. You should note that the pretrained model are trained in BGR channel.

Hi @xavysp @pkuCactus
Thank you very much for all your kind reply. Sorry for the late reply. In the beginning, I'm confused by this last sentence of @xavysp's answer

In the end, I suppose that actually, we are not doing edge detection with the different learning rate setting, because most of the edge detected by the DL model is erased by the same model's settings.

But with @pkuCactus's latest answer. Is that means actually different learning rate is for adjusting the pre-trained weights for the small edge detection datasets? Not sure if I understand it right.
I did follow the same learning rate setting, but my dataset may be too sample for this network (no objects like BSDS500, the left side of an edge are the same as the right side) And BGR channel instead of RGB could be one problem.
Thanks

according to your description

the left side of an edge are the same as the right side

i think the problem should be the approach you preprocess the data, you can check it. Or you can use the pretrained model to produce edges on your dataset directly and check the result.

This is the nature of this dataset, as I said it’s seismic data. Left side and right side just have a offset. Same process works when use HED and RCF. Still debugging. But thank you for your speedy reply

Hi @anyuzoey, let's see the image 29030 (a car) from BSDS500-test and the corresponding annotated edge-map, as most of the DL based models use yita, the annotation in the edge level will be deleted. At the end, you will be training for contour or boundary detection. As in the training images, there are annotation for edge, contour and boundary,  our DL based edge detector will have a serious problem to converge (because you are training a model for edge detection with contour and boundary labels). Therefore,  here I am guessing,  you need pre-trained weights and set different LRs. By the way, I totally agree with @pkuCactus.
Cheers

hi @xavysp I agree this could be the problem. Thank you very much for your answer. Help a lot!

Hi @anyuzoey, let's see the image 29030 (a car) from BSDS500-test and the corresponding annotated edge-map, as most of the DL based models use yita, the annotation in the edge level will be deleted. At the end, you will be training for contour or boundary detection. As in the training images, there are annotation for edge, contour and boundary, our DL based edge detector will have a serious problem to converge (because you are training a model for edge detection with contour and boundary labels). Therefore, here I am guessing, you need pre-trained weights and set different LRs. By the way, I totally agree with @pkuCactus.
Cheers

As you say" in the training images, there are annotation for edge, contour and boundary", I want to use the edge detection to assist the stereo matching network. if the network uses  the boundary instead of the edge ,the matching precision will have a great improvement? I don;t know the distinction between the edge and boundary?

Hi @anyuzoey, let's see the image 29030 (a car) from BSDS500-test and the corresponding annotated edge-map, as most of the DL based models use yita, the annotation in the edge level will be deleted. At the end, you will be training for contour or boundary detection. As in the training images, there are annotation for edge, contour and boundary, our DL based edge detector will have a serious problem to converge (because you are training a model for edge detection with contour and boundary labels). Therefore, here I am guessing, you need pre-trained weights and set different LRs. By the way, I totally agree with @pkuCactus.
Cheers

As you say" in the training images, there are annotation for edge, contour and boundary", I want to use the edge detection to assist the stereo matching network. if the network uses the boundary instead of the edge ,the matching precision will have a great improvement? I don;t know the distinction between the edge and boundary?

@xavysp
As you say" in the training images, there are annotation for edge, contour and boundary", I want to use the edge detection to assist the stereo matching network. if the network uses the boundary instead of the edge ,the matching precision will have a great improvement? I don't know the distinction between the edge and boundary?Looking forward to your reply. Thank you.

@xavysp
As you say" in the training images, there are annotation for edge, contour and boundary", I want to use the edge detection to assist the stereo matching network. if the network uses the boundary instead of the edge ,the matching precision will have a great improvement? I don't know the distinction between the edge and boundary?Looking forward to your reply. Thank you.

Hi @caihongzhiyue01, in my opinion, using BSDS dataset for edge or even boundary detection is not a good choice. Theoretically, as it has been trained in the wrong data, it won't give you a great precision matching. Regarding your first question,  I don't know, we should compare the results (from the edge and boundary detection), with respect to edge you could use my work DexiNed and for boundary this repo is great (BDCN), please let me know the results, because what I am telling you is like a hypothesis. Second question:  edge detection is every intensity changes in an image but boundary detection is the intensity changes in an image taking care of the ownership of the object. For example, the boundary detection of a zebra is the edge detected just of the limits of its body; in the edge detection level, the whole edges in the zebra are detected even black-and-white striped coats of its body. We could say that boundary detection of an image is like image segmentation.
Cheers,
Xavier


Clairification around JWT validation would be great

What are the benifits of using JWT validation in the api managment vs doing it in the microservice. Is there any way to know what the ID of the current user is, if you validate pre-authorize? Or should we do the token validation step be done in the service being called if you need to know who the current user is?
for example if you use the authentication/authorization option on an azure app service. It will pass in a header "X-MS-CLIENT-PRINCIPAL-ID" that contains the userID

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

ID: 823eb96f-e5f1-0832-b175-0b31009be92f
Version Independent ID: 330085ae-dcf6-e930-86a8-0e4a60ab1314
Content: Protect an API by using OAuth 2.0 with Azure Active Directory and API Management
Content Source: articles/api-management/api-management-howto-protect-backend-with-aad.md
Service: api-management
GitHub Login: @miaojiang
Microsoft Alias: apimpm

@Ballzer0 Thanks for the feedback! We will review and get back to you on this.

@Ballzer0 I believe the main advantage here is that validation is take care of by APIM and your services wouldn't have to validate themselves.
Also, like you've mentioned, you could extract details from the JWT and put them in custom headers so that your services wouldn't have to query them from the token. You can parse the JWT using a policy expression like this
context.Request.Headers.GetValueOrDefault("Authorization","").AsJwt()

@Ballzer0 Just following up here... Hope my previous comment clears things up.

@Ballzer0 Hope my previous comment clears things up.
Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Create user script to format API sandbox calls for m3api

The API sandbox can show the request parameters in different formats; two (URL query string and JSON) are built-in, but this list is also extensible via the apisandbox.formatRequest JS hook. It would be nice to create a user script, which people can add to their global.js, which generates a snippet of m3api code to make the request.
Here’s a very quickly sketched version:
mw.hook( 'apisandbox.formatRequest' ).add( function ( items, displayParams, rawParams ) {
  items.push( new OO.ui.MenuOptionWidget( {
    label:'m3api',
    data: new mw.widgets.CopyTextLayout( {
      label: 'm3api call',
      copyText: `session.request( ${JSON.stringify( displayParams, null, '\t' )} );`,
      multiline: true,
      textInput: {
        classes: [ 'mw-apisandbox-textInputCode' ],
        autosize: true,
        maxRows: 6,
      },
    } ),
  } ) );
} );

I think this is where we can be much more opinionated than in the main library, by the way. We’ll almost certainly need to do some guessing anyways (the params we get have already had lists turned into appropriately|separated|strings, for instance, which we should to turn back into arrays or sets), and the code should be seen as a starting point for the developer, so we can afford the risk of not always generating fully correct code, if the benefit is that the code is more useful most of the time.
Specifically, I think we should generate code along these lines:
const session = new Session( 'en.wikipedia.org', {
	formatversion: 2,
	// (suggestion) errorformat: 'plaintext',
}, {
	userAgent: 'm3api-ApiSandbox-helper', // change this :)
	warn: console.warn,
} );
const response = request( {
	action: 'query',
	meta: 'siteinfo',
	siprop: set( 'general', 'statistics' ),
} );

We can hard-code a set of params that “usually” go into the constructor as default params for all requests (formatversion, uselang, errorformat, errorlang, …), and also suggest some of them even when they’re not in the actual parameters (errorformat above; I’d probably do this for formatversion and errorformat). This also means that, if the user already has a session constructor call with similar default params, the session.request() call we generate will be more useful to them, since we’re keeping those params out of that call.
Figuring out which params should be arrays or sets will be tricky. The paraminfo API can help us a bit here, by at least telling us which of the params are multi-valued at all, but distinguishing between sets (mergeable) and arrays (don’t merge) will still be tricky. Maybe we’ll just hard-code a list of params appropriate for one type, and default to the other type for everything else, though I’m not even sure what that would be. (Also, the hook handler has to be synchronous, and we don’t have access to the API sandbox code’s copy of the paraminfo, so we’ll probably just have to request it upfront at initialization time.)
If we have the paraminfo, we can also figure out which request should use { method: 'POST' } as the request options. (But that also leads towards #6, which still needs to be done.)

Big thanks to @anomiex for anticipating the usefulness of making the request formats extensible and introducing this hook, by the way :heart:

(Also, the hook handler has to be synchronous, and we don’t have access to the API sandbox code’s copy of the paraminfo, so we’ll probably just have to request it upfront at initialization time.)

Hm, come to think of it… does it have to be synchronous? We have to add some item to the array synchronously, but I don’t think there’s anything stopping us from modifying that item later, asynchronously. The hook gets run as soon as the params have been validated, before the API request itself is even sent, but the user will only see the result once they manually select our custom output format. So we should produce some decent code synchronously, but I don’t think there’s anything stopping us from asynchronously improving it further.

Some work in progress at https://meta.wikimedia.org/wiki/User:Lucas_Werkmeister/m3api-ApiSandbox-helper.js.
Also, as a user script, this code (unlike the rest of the repository contents) has to be non-modern, and it’s surprisingly annoying :D (especially having to use var instead of const)

documented and announced, now needs to be added to the README :)


Export as PDF/A

🚀 The feature
A function in the Document class or something that allows you to save the original document with the OCR to a PDF/A file
Motivation, pitch
There is this notebook, but we have to define our own parser and so on, and that's a lot of code to write and maintain even though we don't know much about it.
Alternatives
No response
Additional context
No response

Link: #869

@frgfm
Advice from your side ? :)

We can give you the PDF where the problems occur, but it takes some time because we have to ask the owners first. We deleted all information, so they should be fine I think

@bennetrr any update ? :)

We recently had to change our pdf rendering dependency

So, doctr is able to export the pdf into a not PDF/A file?

We recently had to change our pdf rendering dependency

So, doctr is able to export the pdf into a not PDF/A file?

As mentioned in the notebook, no, docTR isn't able to do this currently.
However, docTR outputs enough information to recreate a PDF/A from it. Onboarding license & dependency constraints for something that users can easily implement isn't necessarily ideal
But we're quite open to user's feedback & suggestions :) If you have ideas to share, feel free to do so!


HHH-11617 - Statement leak in case of "SQLGrammarException: could not extract ResultSet"

https://hibernate.atlassian.net/browse/HHH-11617

Applied upstream after some small tweaks.


Sketch for RCUArray incident lists

Currently, the incident lists (formerly referred to as neighborList) is not thread-safe to access while being resized, where resizing occurs during addInclusion or makeDistinct (formerly known as removeDuplicateNeighbors). Now, this can be made thread-safe again by borrowing concepts from RCUArray and once #36 is completed. The way to do this is to not privatize the array but instead just use a single-node snapshot. The lifetime of the snapshot can be managed by Interval-Based Reclamation, but resizing can easily append blocks distributed across multiple nodes to make the 1.5D adjacency list idea work for large vertices and hyperedges.

This won't be done until H2D project begins, very likely. However it should actually be possible and definitely will increase the overall usability of CHGL.


Rating color advantage merge into PR #598

Tests fail without showing the failing actual values, which previously I relied upon when changing expected values.

Tests fail without showing the failing actual values, which previously I relied upon when changing expected values.

because the tests are failed to compiled. You have two class GlickoCalculatorTest in the same package.


Exception "type must be string, but is array"

I had to try to find a new currency API because the one I was using most recently (before the one with the list I showed just now) seems to be a deprecated service now.  At first I found one that gets its data from the European Central Bank, but it doesn't support all of world countries.  I found another one that's free and supports all currencies, but this one doesn't have a way to query it for a list of currencies either. I decided to try and make a JSON object representing a list of currencies on my own.  This is the function I did it with:
// Function to create and return currency list as a nlohmann::json object
json get_currency_list()
{
	return { "currencies",
	{ { "AED", "United Arab Emirates Dirham" }, { "AFN", "Afghan Afghani" },
	{ "ALL", "Albanian Lek" }, { "AMD", "Armenian Dram" }, { "ANG", "Netherlands Antillean Guilder" },
	{ "AOA", "Angolan Kwanza" }, { "ARS", "Argentine Peso" }, { "AUD", "Australian Dollar" },
	{ "AWG", "Aruban Florin" }, { "AZN", "Azerbaijani Manat" }, { "BAM", "Bosnia & Herzegovina Convertible Mark" },
	{ "BBD", "Barbadian Dollar" }, { "BDT", "Bangladeshi Taka" }, { "BGN", "Bulgarian Lev" },
	{ "BHD", "Bahraini Dinar" }, { "BIF", "Burundian Franc" }, { "BMD", "Bermudian Dollar" },
	{ "BND", "Brunei Dollar" }, { "BOB", "Bolivian Boliviano" }, { "BRL", "Brazilian Real" },
	{ "BSD", "Bahamian Dollar" }, { "BTN", "Bhutanese Ngultrum" }, { "BWP", "Botswana Pula" },
	{ "BYN", "Belarus Ruble" }, { "BZD", "Belize Dollar" }, { "CAD", "Canadian Dollar" },
	{ "CDF", "Congolese Franc" }, { "CHF", "Swiss Franc" }, { "CLP", "Chilean Peso" },
	{ "CNY", "Chinese Yuan" }, { "COP", "Colombian Peso" }, { "CRC", "Costa Rican Colon" },
	{ "CUC", "Cuban Convertible Peso" }, { "CVE", "Cape Verdean Escudo" }, { "CZK", "Czech Republic Koruna" },
	{ "DJF", "Djiboutian Franc" }, { "DKK", "Danish Krone" }, { "DOP", "Dominican Peso" },
	{ "DZD", "Algerian Dinar" }, { "EGP", "Egyptian Pound" }, { "ERN", "Eritrean Nakfa" },
	{ "ETB", "Ethiopian Birr" }, { "EUR", "Euro" }, { "FJD", "Fiji Dollar" },
	{ "GBP", "British Pound Sterling" }, { "GEL", "Georgian Lari" }, { "GHS", "Ghanaian Cedi" },
	{ "GIP", "Gibraltar Pound" }, { "GMD", "Gambian Dalasi" }, { "GNF", "Guinea Franc" },
	{ "GTQ", "Guatemalan Quetzal" }, { "GYD", "Guyanaese Dollar" }, { "HKD", "Hong Kong Dollar" },
	{ "HNL", "Honduran Lempira" }, { "HRK", "Croatian Kuna" }, { "HTG", "Haiti Gourde" },
	{ "HUF", "Hungarian Forint" }, { "IDR", "Indonesian Rupiah" }, { "ILS", "Israeli Shekel" },
	{ "INR", "Indian Rupee" }, { "IQD", "Iraqi Dinar" }, { "IRR", "Iranian Rial" },
	{ "ISK", "Icelandic Krona" }, { "JMD", "Jamaican Dollar" }, { "JOD", "Jordanian Dinar" },
	{ "JPY", "Japanese Yen" }, { "KES", "Kenyan Shilling" }, { "KGS", "Kyrgystani Som" },
	{ "KHR", "Cambodian Riel" }, { "KMF", "Comorian Franc" }, { "KPW", "North Korean Won" },
	{ "KRW", "South Korean Won" }, { "KWD", "Kuwaiti Dinar" }, { "KYD", "Cayman Islands Dollar" },
	{ "KZT", "Kazakhstan Tenge" }, { "LAK", "Laotian Kip" }, { "LBP", "Lebanese Pound" },
	{ "LKR", "Sri Lankan Rupee" }, { "LRD", "Liberian Dollar" }, { "LSL", "Lesotho Loti" },
	{ "LYD", "Libyan Dinar" }, { "MAD", "Moroccan Dirham" }, { "MDL", "Moldovan Leu" },
	{ "MGA", "Malagasy Ariary" }, { "MKD", "Macedonian Denar" }, { "MMK", "Myanma Kyat" },
	{ "MNT", "Mongolian Tugrik" }, { "MOP", "Macau Pataca" }, { "MRO", "Mauritanian Ouguiya" },
	{ "MUR", "Mauritian Rupee" }, { "MVR", "Maldivian Rufiyaa" }, { "MWK", "Malawi Kwacha" },
	{ "MXN", "Mexican Peso" }, { "MYR", "Malaysian Ringgit" }, { "MZN", "Mozambican Metical" },
	{ "NAD", "Namibian Dollar" }, { "NGN", "Nigerian Naira" }, { "NIO", "Nicaragua Cordoba" },
	{ "NOK", "Norwegian Krone" }, { "NPR", "Nepalese Rupee" }, { "NZD", "New Zealand Dollar" },
	{ "OMR", "Omani Rial" }, { "PAB", "Panamanian Balboa" }, { "PEN", "Peruvian Nuevo Sol" },
	{ "PGK", "Papua New Guinean Kina" }, { "PHP", "Philippine Peso" }, { "PKR", "Pakistani Rupee" },
	{ "PLN", "Polish Zloty" }, { "PYG", "Paraguayan Guarani" }, { "QAR", "Qatari Riyal" },
	{ "RON", "Romanian Leu" }, { "RSD", "Serbian Dinar" }, { "RUB", "Russian Ruble" },
	{ "RWF", "Rwanda Franc" }, { "SAR", "Saudi Riyal" }, { "SBD", "Solomon Islands Dollar" },
	{ "SCR", "Seychellois Rupee" }, { "SDG", "Sudanese Pound" }, { "SEK", "Swedish Krona" },
	{ "SGD", "Singapore Dollar" }, { "SHP", "Saint Helena Pound" }, { "SLL", "Sierra Leonean Leone" },
	{ "SOS", "Somali Shilling" }, { "SRD", "Surinamese Dollar" }, { "SSP", "South Sudanese Pound" },
	{ "STD", "Sao Tome and Principe Dobra" }, { "SYP", "Syrian Pound" }, { "SZL", "Swazi Lilangeni" },
	{ "THB", "Thai Baht" }, { "TJS", "Tajikistan Somoni" }, { "TMT", "Turkmenistani Manat" },
	{ "TND", "Tunisian Dinar" }, { "TOP", "Tonga Paanga" }, { "TRY", "Turkish Lira" },
	{ "TTD", "Trinidad and Tobago Dollar" }, { "TWD", "New Taiwan Dollar" }, { "TZS", "Tanzanian Shilling" },
	{ "UAH", "Ukrainian Hryvnia" }, { "UGX", "Ugandan Shilling" }, { "USD", "United States Dollar" },
	{ "UYU", "Uruguayan Peso" }, { "UZS", "Uzbekistan Som" }, { "VEF", "Venezuelan Bolivar" },
	{ "VND", "Vietnamese Dong" }, { "VUV", "Vanuatu Vatu" }, { "WST", "Samoan Tala" },
	{ "XAF", "Central African CFA franc" }, { "XCD", "East Caribbean Dollar" }, { "XOF", "West African CFA franc" },
	{ "XPF", "CFP Franc" }, { "YER", "Yemeni Rial" }, { "ZAR", "South African Rand" },
	{ "ZMW", "Zambian Kwacha" } }
	};
}

I tried to use the return value of this function here to send the currency list to the JS code on my app's front end:
if (req.target() == "/?q=currency_list")
{
	try
	{
		json currency_list{ get_currency_list() };
		http::response<http::string_body> res{
			std::piecewise_construct,
			std::make_tuple(std::move(std::string(currency_list))),
			std::make_tuple(http::status::ok, req.version()) };
		res.set(http::field::server, BOOST_BEAST_VERSION_STRING);
		res.set(http::field::content_type, "application/json");
		res.content_length(res.body().size());
		res.keep_alive(req.keep_alive());
		return send(std::move(res));
	}
	catch (const json::exception& e)
	{
		std::cerr << "Line 503: Error: " << e.what() << std::endl;
	}
}

But this gave me an error saying:
[json.exception.type_error.302] type must be string, but is array

So how do I fix this error now?  Should I turn my current object into a string representation of the same object (if there's a way for it to retain the keys and values it currently has)?
I'm using Windows 10 Single Language Version 1809 Build 17763.678.  Compiler is the one for VS2017.
Library version 3.6.1.  I don't know if it's a release version or a development branch.

So if I do need to turn into a string representation of the current object, in a way that it'll retain all of the key-value pairs it has now, how do I do it?  Will doing currency_list.get<std::string>() do what I want here?

The braces in
json currency_list{ get_currency_list() };

seem odd. Can you replace this with
json currency_list = get_currency_list();

? Note braces are interpreted as arrays, so:
json j1 = "foo";
json j2 { "foo" };

j1 is a string and j2 is an array containing a string.

I was just trying to use uniform initialization.  Or do you mean braced initialization with this library's objects is always interpreted as initialization for an array?

I was hit by this bug as well. Modern C++ practices for uniform initialization do this:
json jfoo{f};

I was debugging this for quite awhile. This is supposed to be the normal, supported way to initialize variables modern C++ (and every variable in my projects of the last few years is initialized this way). This library does require that you not do this and instead use =.

Related: #2311 #2046

Indeed, it's definitely swimming against the tide to alter how the language standard works. The modern language expects these two statements to have the same effect:
json jfoo{f};

json jfoo = f;

The first of these two is encouraged in recent versions of C++ as it is uniform and safer, especially when using auto and that's why many developers use them. To have them behave differently is fragile.

I agree. But the library is proof that in fact you can implement both syntaxes differently...


Concurrency Control Order Guarantees

With concurrency controls if to is kept at 1 and duration is never hit, what would cause ordering to not be guaranteed?

In that case, and if jobs succeed and aren't retried, the order of execution should be the same as the order of enqueuing, yes!

Thanks


Interface class

Only interfaceUtils.py has changed, the rest is from the auto-documentation branch.

Hi, I merged the changes on dev back into this branch.
I also made the example.py use the interface class so I could actually test it.
I also implemented batching to make sure it works, and without batching it wouldn't make sense to have this feature. I hope this didn't result in duplicate work!

Hi, I merged the changes on dev back into this branch.
I also made the example.py use the interface class so I could actually test it.
I also implemented batching to make sure it works, and without batching it wouldn't make sense to have this feature. I hope this didn't result in duplicate work!

Not to worry, only cost me some nasty conflicts, but other then that a good idea. I used the opportunity to clean up the whole batching interface.
Switching between batching and non-batching is now safe and I adjusted the example.py to reflect that, also including basic instructions on how to use it.
I also added a fill command that I have thoroughly tested and works as anticipated, making the house generator less cluttered, and made the Interface call sendBlocks upon destruction, so even if you don't add any manual sendBlocks it will update. (Assuming a crash hasn't occurred)

I found buffering to make more sense, since the place where the blocks are buffered can be called the buffer.
When using batch (as I started off doing), I realised that I found buffer more convenient and transparent since buffering is a common practice, whereas 'batch' is more used for a repetitive operation on multiple objects.
Personally, I would prefer to stick with 'buffer', but I also respect that it is sensible to use the same terminology as the interface.
I leave the choice up to you
According to PEP 257 "[In a docstring the] First line should end with a period", which means the ** needs to come before the ., otherwise it risks confusing any machine trying to read the docstring.
Question is, should we just do it the way it makes sense to us or be a stickler and conform to the guideline?

I think I agree that buffer is the better word. And I also noticed that in the documentation for the http interface I actually call it 'placing blocks in bulk', not nothing about batches there either.
Ah ok, makes sense 👍


Update stable version in repo from 1.3.0 to 2.4.0

Think about update stable version to 2.4.0
Version: stable=1.3.0 (482 days old) => latest=2.4.0 (15 days old)
Installs: stable=2792 (31.21%), latest=2474 (27.65%), total=8946
Click to edit

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 2.4.0 but in the meantime an update to version 2.5.3 is suggested.
So this issue will be closed and replaced by an updated one.


React-Native support

This tracks investigation and development towards supporting React Native in JS SDK libraries. Work includes

Necessary SDK code changes
Samples and documentation for customer

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Cosmos:0.2598161,Storage:0.17497268,Azure.Core:0.08992475'

@dittmarconsulting thank you for the interests! I am looking into this, currently investigating what's needed to be able to use @azure/app-configuration package in react-native.
Thank you for the pointer to nodejs-mobile-react-native.  Would you mind explaining in more details what the package does and how you use it with @azure/identity?

Hi @jeremymeng,
Sorry for the delay.
I have successfully integrated azure-iot-device-mqtt and azure-iot-device into my RN app by installing nodejs-mobile-react-native.
It creates a NodeJS environment within the RN app including its own node_modules folder and package.json file.
The entry point is the main.js file where I hooked up the iot stuff because it's a node env like that
rn_bridge.channel.on('send-image-data', dataObj => {
  const data = JSON.stringify({
    ...dataObj,
    deviceId: 'iot-nextjs',
  });
  const message = new Message(data);
  mqttClient.sendEvent(message, error => {
    if (error) {
      rn_bridge.channel.post('system-message', `Send error ${error}`);
      return;
    }
    rn_bridge.channel.post('system-message', 'Message sent!');
  });
});

The only downside is the app size that will include the extra size of the node_modules folder but I think that can be managed by removing unused modules and some build tool to convert the packages into one small JS file.
I hope that helps.

Hi @jeremymeng Any update on use of @azure/app-configuration package in react-native.


v1.3.2

Added:

Added the Changelog.md file
GitHub action which uploads browser builds to the Mini Digital CDN
Expanded the test coverage

Fixed:

TrackingID was not set correctly in certain edge cases
Updated dependency packages to fix vulnerability (CVE-2022-25883)

Note: merge blocked until this issue is fixed and dependency updated.


[NL Main] Found unexpected results from context

[crime in nevada] -> [what do you know about san francisco]
-- returns crime in SF

This has been improved in https://github.com/datacommonsorg/website/pull/2358 by not falling-back to SV or place from context if the current utterance includes an SV or place (respectively).
Will wait on watch query logs / responses, to see if we need more fixing here...


SITE: Implement Shipments Dashboard

Query all the shipments stored in database and display them as indicated in mockups:
The table should support pagination and filtering

I opened a separate issue (#231) regarding the filtering.


updated grammar for 2 questions

Checklist:
Summary of changes

Updated grammar and code examples for JS arrow function question  and  nullish coalescing operator.
Screenshots of the updates below

Checklist

[ X] I have read and followed the contribution guidelines.
[ X] I have read through the Code of Conduct and agree to abide by the rules.
[ X] This PR is for one of the available issues and is not a PR for an issue already assigned to someone else.
[ X] My PR title has a short descriptive name so the maintainers can get an idea of what the PR is about.
[ X] I have provided a summary of my changes.

#670  and #671

HI @jgeev !
We will only be reviewing and prioritizing PRs for issues that are free to work on.
Issue No.670, is assignment only.
The first person who replies back to the issue about working on it, will be assigned to that issue.
As for issue No.671, that has already been assigned to the first person who commented on the issue asking to be assigned.
All of the rules for contributing are laid out in the contributing documentation
Please read through that so you know which issues are free to work.
I am going to close this PR but we welcome future contributions on other issues


[BUG] ManagedIdentityCredential does not extract response content when throwing an exception

Describe the bug
Exception when calling the managed service identity server do not contain the response content. But that response content contains useful information information to diagnose the problem.
Expected behavior
The exception thrown should contain the content of the HttpResponse.
For example, performing this call on an Azure App Service with no system assigned managed identity return this response
http://<IP_ADDRESS>:41556/MSI/token/?api-version=2017-09-01&resource=https%3A%2F%2management.azure.net
HttpStatusCode: 400
Content:
{"StatusCode":400,"Message":"No MSI found for specified ClientId/ResourceId.","CorrelationId":"00000000-0000-0000-0000-000000000000"}

Actual behavior (include Exception or Stack Trace)
The exception throw has the following information:
Type: Azure.RequestFailedException
Message: Service request failed.
Status: 400 (Bad Request)

Headers:
Date: Thu, 13 May 2021 21:08:39 GMT
Content-Length: 133

StackTrace:
   at Azure.Identity.ManagedIdentitySource.HandleResponseAsync(Boolean async, TokenRequestContext context, Response response, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentitySource.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityClient.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)

To Reproduce
Execute the following on an Azure App Service without a system assigned managed identity
var credential = new Azure.Identity.ManagedIdentityCredential();
credential.GetToken();

Environment:

Package used: Azure.Identity 1.4.0
Hosting platform: Azure App Service
.NET runtime version

dotnet --info
.NET SDK (reflecting any global.json):
Version:   5.0.201
Commit:    a09bd5c86c

Runtime Environment:
OS Name:     Windows
OS Version:  10.0.14393
OS Platform: Windows
RID:         win10-x86
Base Path:   C:\Program Files (x86)\dotnet\sdk\5.0.201\

Host (useful for support):
 Version: 5.0.4
 Commit:  f27d337295

.NET SDKs installed:
 1.1.14 [C:\Program Files (x86)\dotnet\sdk]
 2.1.518 [C:\Program Files (x86)\dotnet\sdk]
 2.1.521 [C:\Program Files (x86)\dotnet\sdk]
 2.1.522 [C:\Program Files (x86)\dotnet\sdk]
 2.2.109 [C:\Program Files (x86)\dotnet\sdk]
 3.1.111 [C:\Program Files (x86)\dotnet\sdk]
 3.1.112 [C:\Program Files (x86)\dotnet\sdk]
 3.1.113 [C:\Program Files (x86)\dotnet\sdk]
 5.0.201 [C:\Program Files (x86)\dotnet\sdk]

.NET runtimes installed:
 Microsoft.AspNetCore.All 2.1.26 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.All]
 Microsoft.AspNetCore.All 2.2.14 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.All]
 Microsoft.AspNetCore.App 2.1.26 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
 Microsoft.AspNetCore.App 2.2.14 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
 Microsoft.AspNetCore.App 3.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
 Microsoft.AspNetCore.App 3.1.13 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
 Microsoft.AspNetCore.App 5.0.4 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
 Microsoft.NETCore.App 1.0.16 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 1.1.13 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 2.0.9 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 2.1.26 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 2.2.14 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 3.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 3.1.13 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 5.0.4 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]

Thank you for your feedback.  Tagging and routing to the team members best able to assist.

Hi @henriblMSFT - Do you get the additional context needed with logging enabled?

Are you suggesting enabling this:
SecretClientOptions options = new SecretClientOptions()
{
    Diagnostics =
    {
        IsLoggingContentEnabled = true
    }
};

From my brief step through the code the failure content is not extracted at all because there is no override of the ExtractErrorContent method for ClientDiagnostics.
ManagedIdentitySource. HandleResponseAsync
calls
Pipeline.Diagnostics.CreateRequestFailedExceptionAsync
which then calls
ExtractErrorContent
I could not find a speicifc implementation of ClientDiagnostics for Azure.Identity

Here is an example:
var options = new DefaultAzureCredentialOptions{
    Diagnostics  = {
	IsLoggingContentEnabled = true
    }
};

There is no additional information likely because ExtractErrorContent is not overwritten.
var options = new DefaultAzureCredentialOptions
{
    Diagnostics = {
        IsLoggingContentEnabled = true
    }
};

var cred = new DefaultAzureCredential(options);

var context = new TokenRequestContext(new[] { "https://manangement.azure.com/.default" });
try
{
    cred.GetToken(context);
}
catch(Exception ex)
{
    Console.WriteLine("Failed to acquire token: " + ex.ToString());
}

.\msi_failure.exe
Failed to acquire token: Azure.Identity.AuthenticationFailedException: ManagedIdentityCredential authentication failed: Service request failed.
Status: 400 (Bad Request)

Headers:
Date: Tue, 18 May 2021 02:51:12 GMT
Content-Length: 133

 ---> Azure.RequestFailedException: Service request failed.
Status: 400 (Bad Request)

Headers:
Date: Tue, 18 May 2021 02:51:12 GMT
Content-Length: 133

   at Azure.Identity.ManagedIdentitySource.HandleResponseAsync(Boolean async, TokenRequestContext context, Response response, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentitySource.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityClient.AuthenticateAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
   at Azure.Identity.ManagedIdentityCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex)
   at Azure.Identity.ManagedIdentityCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](ValueTask`1 task)
   at Azure.Identity.ManagedIdentityCredential.GetToken(TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
   at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex)
   at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
   at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](ValueTask`1 task)
   at Azure.Identity.DefaultAzureCredential.GetToken(TokenRequestContext requestContext, CancellationToken cancellationToken)

Hi @henriblMSFT - It looks like you didn't add a logger. For example:
// Setup a listener to monitor logged events.
using AzureEventSourceListener listener = AzureEventSourceListener.CreateConsoleLogger();

https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/samples/Diagnostics.md

Enabling content logging does output the content but I think this misses the point of this bug.
A user of the Azure.Identity library shouldn't have to enable diagnostics logging and capture this diagnostics in order to view this message, it should be part of the exception message or exception data.
As I mentioned earlier enabling diagnostic logging in our existing application isn't as simple as flipping a switch, our changes need to go through 2 separate pull request, a listener to pipe the AzureEventSource to application insights has to be added, and a settings to enable this flag on demand has to be created. That's a lot of work for something that could be handled by the framework.
For reference, adding
using AzureEventSourceListener listener = AzureEventSourceListener.CreateConsoleLogger();

produces the following logs
[Informational] Azure-Identity: DefaultAzureCredential.GetToken invoked. Scopes: [ https://manangement.azure.com/.default ] ParentRequestId:
[Informational] Azure-Identity: EnvironmentCredential.GetToken invoked. Scopes: [ https://manangement.azure.com/.default ] ParentRequestId:
[Informational] Azure-Identity: EnvironmentCredential.GetToken was unable to retrieve an access token. Scopes: [ https://manangement.azure.com/.default ] ParentRequestId:  Exception: Azure.Identity.CredentialUnavailableException (0x80131500): EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
[Informational] Azure-Identity: ManagedIdentityCredential.GetToken invoked. Scopes: [ https://manangement.azure.com/.default ] ParentRequestId:
[Informational] Azure-Core: Request [cffd0b24-9524-40ce-9963-c10521513040] GET http://<IP_ADDRESS>:41734/MSI/token/?api-version=REDACTED&resource=REDACTED
secret:REDACTED
x-ms-client-request-id:cffd0b24-9524-40ce-9963-c10521513040
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.4.0,(.NET 5.0.4; Microsoft Windows 10.0.14393)
client assembly: Azure.Identity
[Warning] Azure-Core: Error response [cffd0b24-9524-40ce-9963-c10521513040] 400 Bad Request (00.2s)
Date:Tue, 18 May 2021 15:30:53 GMT
Content-Length:133

[Informational] Azure-Core: Error response [cffd0b24-9524-40ce-9963-c10521513040] content: 7B22537461747573436F6465223A3430302C224D657373616765223A224E6F204D534920666F756E6420666F722073706563696669656420436C69656E7449642F5265736F7572636549642E222C22436F7272656C6174696F6E4964223A2266336339616563302D376661322D343138342D616430662D306336386365356663373438227D
[Informational] Azure-Identity: ManagedIdentityCredential.GetToken was unable to retrieve an access token. Scopes: [ https://manangement.azure.com/.default ] ParentRequestId:

if you then manually decode the Cotent hex you get
{"StatusCode":400,"Message":"No MSI found for specified ClientId/ResourceId.","CorrelationId":"f3c9aec0-7fa2-4184-ad0f-0c68ce5fc748"}

Thanks @henriblMSFT - Thanks for the feedback and for confirming that the logging does expose this error message indirectly. This additional context makes the problem very clear.
I'll take this issue as a feature request to expose that error text more directly.


feature request

Any thought about including BEP20 BSC tokens?

I think BEP20 is compatible with ERC20, so we just need switch to bsc node: --node bsc


Fix: CNanoVDB.c/h for OpenCL

This commit updates a few structs and some of the functionality, such that the memory layout of the C version matches the one from C++ again. This mismatch caused the kernel of the OpenCL implementation of the renderer to fail.
Since the new version uses base + offset instead of a array access based on a childID,
I tried to implement the childIndex calculation based on memory addresses as generic as possible, such that it can be used for OpenGL/GLSL as well.(see e.g. nanovdb_Node##LEVEL##_##SUFFIX##_getChild ).
Although I have to admit, I have no experience with GLSL and, in general, am quite new to the OpenCL/OpenGL world.
I couldn't get the OpenGL backend fully working, as it throws some errors about some implicit casts and similar. Sadly I currently don't have the time to investigate further.

Thank you for the PR!
I was a bit confused because I thought we had fixed the offsets in CNanoVDB, as I use that myself.  But looking closer I realize that this was in the viewer subdirectory.  I didn't realize we had cloned the CNanoVDB header there so when I fixed the offsets in nanovdb/CNanoVDB.h I didn't fix this version.  You should be able to also copy that file over to get a fix.
There currently is directory re-org coming in (PR1171) so we may need to re-do this after that.   But we may do it by just copying the nanovdb/nanovdb/CNanoVDB.h over.


Compilation fail on windows

I try nuxtent on windows, it fail ,so i lookup with mac os

mac os X 10.11.6

node 8.5.0
npm 5.4.2
i can run
vue init nuxt-community/nuxtent-template my-site
no probs here

Windows 10

node 8.6.0
npm 5.3.0
i still got  error on compilation

Module build failed: TypeError: Cannot read property 'Symbol(Symbol.iterator)' of null
at getSection (D:\projects\nuxt\my-site\node_modules\nuxtent\dist\loader.js:19:33)
at Object.module.exports (D:\projects\nuxt\my-site\node_modules\nuxtent\dist\loader.js:114:19)

thanks for your report! i am aware of this issue, and plan to avoid this in the future by having automated windows builds with AppVeyor.
We're waiting for proper access atm.
When the others important issues are fixed, i'll switch to my windows instance to resolve this.

Luckily I got a Windows computer recently so I was able to fix the bumps and get Nuxtent running :) Should be working by next release 👍


Added new game Virtual Pet

PR Description 📜
Virtual Pet is a simple and interactive game where players take care of a virtual pet by feeding, playing, and keeping it healthy. It's a fun way to test your virtual pet care skills!
Fixes #3864

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you  @Antiquely3059 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Hey @Antiquely3059,
You can't work on a closed issue 👀!
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗


type: ASTNode types have incorrect optional properties

There are some properties of ASTNode types declared as optional via adding ? to ``PROPERTY_NAME (PROPERTY_NAME?). However, marking optional in this way results in saying such property having value TYPE | undefined | nullwhile they are in fact of typeTYPE | null` (or correct me if wrong). e.g. https://github.com/federicobond/solidity-parser-antlr/blob/f0ef77034c467c06c383b621aa305093af3a0621/index.d.ts#L201
CC: @Leeleo3x

It is true. Will this introduce any side effect?

I see. Side effect as in? @Leeleo3x


podman stop fails

Seeing this in a recent rawhide (podman-1.3.0-17.dev.gitbf5ffda.fc31.x86_64):
$ sudo podman stop --all
Error: can only stop created, running, or stopped containers. 4ce604a830f62a37ad71eca9b43c78cb2d50d96598e14711032c6d238dd522fb in state configured: container state improper

If this is caused by my containers being created by a previous podman release, may I suggest that your testsuite needs to cover this case: create a container with an older version, and verify that the tested podman can handle it.

Pretty sure this isn't related to the upgrade - we just regressed on how we choose containers for podman stop (probably happened when we migrated to remote).
@baude @jwhonce We're using GetContainersByContext() to retrieve all containers to act on for stop, but we're not filtering the results to only running containers, so we try and stop containers that are only configured.

Potential solution: make stop --all ignore not only ErrCtrStopped but also ErrCtrStateInvalid

#2994 should fix


Experimental/anvil testing

the .yml is not giving errors anymore. we now need to figure out how to get the .avro file into the virtual environment

the .yml is not giving errors anymore. we now need to figure out how to get the .avro file into the virtual environment


Initial commit of the repository mirrorer

See README.md for description.

Comments addressed, thanks team 👍


multi domain instance NLSDownloader absolute url problem

In multi parked on domain website,merged assets use one absolute domain for all requests from all domains and it cause problem.
it caused by serverBaseUrl in NLSDownloader  which is initialized by init()
Example:
we have two domain which load same instance foo.com and foo1.com
the cached merged file used foo1.com for some assets but in others maybe foo.com

the problem fixed with following changes in NLSClientScript:
add into _mergeCss after $absUrl:
$xDomain = $xDomain = parse_url($absUrl)['host'];
replace $name with this
$name .= $xDomain."*/\r\n";
the same for _mergeJs
this is hotfix, and yet don't know if cause problem in workflow or not.but it seems working


Get company when searching user

Hi,
I need to get the company of an user, how I can process ?
I have only that :
(Contact){
id = 30682890
UserDefinedFields = ""
Active = 1
AddressLine = "Parc Techno. des Grillons  60, route de Sartrouville  Bâtiment 6  "
AddressLine1 = ""
AlternatePhone = ""
City = "LE PECQ"
Country = "France"
CreateDate = 2018-06-11 10:18:09.243000+01:00
EMailAddress =<EMAIL_ADDRESS>Extension = ""
FaxNumber = ""
FirstName = "Karin"
AccountID = 701
LastName = "Bignall"
LastActivityDate = 2018-06-11 10:18:09.243000+01:00
LastModifiedDate = 2018-06-11 10:18:10.083000+01:00
MobilePhone = ""
Note = ""
Notification = True
Phone = "0130152840"
RoomNumber = ""
State = ""
Title = "Sales & Administrative Assistant"
ZipCode = "78230 "
AdditionalAddressInformation = ""
ExternalID = ""
CountryID = 77
BulkEmailOptOut = False
SurveyOptOut = False
NamePrefix = 3
FacebookUrl = ""
TwitterUrl = ""
LinkedInUrl = ""
PrimaryContact = True
SolicitationOptOut = False
}

I found it , its AccountID


Disband my team (referral site)

Story
As a team creator
I want a way to disband my team
So that I can start a new one on this key
Acceptance Criteria

[ ] I can disband a team from the team view
[ ] There is a way to confirm I want to disband my team and I understand I need to confirm / reject in my wallet
[ ] When my team has been disbanded, I can see I no longer have a team on the referral site, Console, in my wallet

Tasks

[ ] Explore and sketch
[ ] Team and stakeholder review
[ ] Visual Design
[ ] Team review
[ ] Etc.

Sketch
Additional details / background info

There is no way currently to disband a team so this is blocked .... and we need to deciide if we actually care about that fact.

Not supported, as @JonRay15 said. It could be approximated, poorly.


rc.reload_all causes boots to be stuck when used with ZeroTier

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
I am not entirely sure if this is the correct repository to open this issue at, but after the PR #5136, booting OPNsense with the two new lines of the following, when combined with the ZeroTier plugin, causes the boot to be stuck after the Firewall rules loaded log line.
[...]
passthru('/usr/local/etc/rc.freebsd stop');
passthru('/usr/local/etc/rc.freebsd start');

Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:

Install opnsense-zerotier
Join a network
Reboot?
Get stuck waiting for the heat death of the universe while booting.

Expected behavior
For the boot process to complete without a hiccup.
Describe alternatives you considered
Commenting the two lines of passthru out prevents the boot process from being stuck after the Firewall rules loaded log line.
Screenshots
Relevant log files
Additional context
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 21.7.4 (amd64, OpenSSL).
Intel i7-8559U
Proxmox KVM

Hey this is a pretty old issue but seems to be still not fixed correctly.
Starting the freebsd stuff (it must be a "legit/default" plugin -> udpbroadcastrelay) will freeze the start command.
So changing the output from stdout to stderr will solve the issue of freezing and the output will still be shown:
passthru('/usr/local/etc/rc.freebsd start'); => passthru('/usr/local/etc/rc.freebsd start 1>&2');


Tunable point source angle

Now when you select the point source light the rays spread around for 360°, but it would be nice also to choose a narrower emission angle. I think for example 30° or 120° to simulate a lamp source

Just did a pull request for this. I managed to add the feature by myself. I hope it can help also other people!


InstallGUI throws exception at german windows

Expected Behavior
Install GUI
Current Behavior
Line |
681 |                      Install-JVGui -Force:$Force
|                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Error occurred when setting ACL on [C:\Program Files\Javinizer\1.5.13\Universal]: Exception calling "AddAccessRule" with "1" argument(s): "Some or all identity references could not be translated."
Steps to Reproduce (for bugs)
Your Environment

Module version used:
Operating System and PowerShell version:
changing line 118 in Install-JVGui.ps1
$aclRule = New-Object System.Security.AccessControl.FileSystemAccessRule("everyone", "FullControl", "ContainerInherit,Objectinherit", "none", "Allow")
to
$aclRule = New-Object System.Security.AccessControl.FileSystemAccessRule(([wmi]"Win32_SID.SID='S-1-1-0'").AccountName, "FullControl", "ContainerInherit,Objectinherit", "none", "Allow")

works for me
( PS C:>
([wmi]"Win32_SID.SID='S-1-1-0'").AccountName
Jeder)

Didn't even occur to me that different language windows would have that issue. Thanks for also providing a solution to finding the Everyone user account.
Going to also link this doc here for my reference.


Issue 323

Summary:
This should fix the redeclaration of options when creating a new model with an already defined schema.

Code sample:
There is a live code sample available in /issue_reproduction/323/model.js, please use this as a bar for cirrectness

GitHub linked issue:

#323
Is this ready to be merged into Dynamoose? (select 1):

[ ] Yes
[ ] No

Other:

[ ] I have searched through the GitHub pull requests to ensure this PR has not already been submitted
[ ] I have updated the Dynamoose documentation (if required) given the changes I made
[ ] I have added/updated the Dynamoose test cases (if required) given the changes I made
[ ] I agree that all changes made in this pull request may be distributed and are made available in accordance with the Dynamoose license
[ ] All of my commits and commit messages are detailed, explain what changes were made, and are easy to follow and understand
[ ] I have filled out all fields above

apologies, added unneeded commits here, closing


Can't change order status from admin

Admins cannot change the order status to "shipped" when an order was completed and paid. The bug was introduced in 0.2.0 by #227
@jrief can you provide more reasoning behind https://github.com/divio/django-shop/pull/227/files#L0R55? Wouldn't just setting the order status manually cover your use case?

I agree with @alesdotio on this one.  I don't think that kind of specific behavior should be in the default admin class.  If it really has to be in there, it should at least be moved into its own mixin class so you can still easily subclass the base admin with all the default admin properties but without the state-checking behavior in save_model.
I recently upgraded from an old version of django-shop to the latest pypi version.  Shortly thereafter, my shop administrator came to me complaining that he couldn't mark anything as shipped.  Now, since I prefer to stick with the latest version on pypi, the only correct option I have is to copy and paste the default admin class from the package code and simply delete the save_model method from the class definition.  I could also make a subclass and define a save_model that calls the super method of the parent class, but that's really not a good idea.  This makes me feel like this approach is flawed since you have no proper recourse if you want to change the behavior in save_model on the default admin.

BTW, my fork https://github.com/jrief/django-shop now does it as @alesdotio propoeses.
There are several workflow mixins and a finite state machine which allow state transistions where appropriate, and disallows them where not.
This prevents a shop administrator to change the state from, say "orderd" to "shipping", without having received any payment. The FSM is programmable in the sense, that you now can add various workflow plugin in yours settings.py

Closed. Please check version 0.9.


Reduce latency with asymmetric windows

See also:

Towards GCC-NMF Speech Enhancement for Hearing Assistive Devices: Reducing Latency with Asymmetric Windows
A low delay, variable resolution, perfect reconstruction spectral analysis-synthesis system for speech enhancement
Asymmetric windows in digital signal processing
Asymmetric Windows and Their Application in Frequency Estimation

Changed command line option -w:

-w <A> analysis and synthesis window of the same size A
-w <A>,<B> analysis window of the size A and synthesis window of the size B
A must be greater than than B


make a clear map from option list for age of symptom and diagnosis to the set of CDEs

In the model for Date of Diagnosis, the CDE option "At birth", is typed as postnatal, which reads broader than something you see immediately after or "at birth".
Suggestion for "at birth":  Postpartum which describes the precise moment after birth (there is also Finding during childbirth labor, although this one describes a finding and the CDEs seem to describe a period of time)
In the Date of Symptoms  the options list offered in the model is broader than the CDEs one (which is good semantically but confusing for users trying to match the model with the set of CDEs). Suggestion: Offer these as a possibility (if so, make it clear in the glossary), but keep it close to the CDEs which only seem to care about prenatal/antenatal, at birth/postpartum, unknown/undetermined or a precise date. The clearer the better for the pre-set querying system, no?

Stages have been removed from the model, so its no longer a problem to be represented at those models


feat/legacy_common_play

restore support for Mycroft CommonPlay skills
enable with
{
  "intents": {
    "legacy_cps": true,
    "pipelines": ["...", "ocp_legacy"]
  }
}

continuation of #456 and #420
you got that right, old CommonPlay skills will work for 0.0.8

new docs https://openvoiceos.github.io/ovos-technical-manual/OCP_pipeline/#ocp_legacy-legacy-commonplay


fix(fonts): add fonts to dist

Deploy preview for pf-next ready!
Built with commit e4f92ebe64bf7dba96f53e25fe997d2f25d2a2c1
https://deploy-preview-228--pf-next.netlify.com