Parallel Task Evaluation

The current Evaluator is sequential: tasks are evaluated one by one in a linear topological order.
Because we have the dependency graph between tasks, it should be straightforward to implement a parallel evaluator that evaluates tasks N-ways parallel. This would not require any change to the user-code implementing tasks and targets.
Open questions include how such a parallel evaluator will fit into the existing codebase (we probably want to keep the sequential evaluator around as an option indefinitely) and how to make sense of the interleaved log-spam from the parallel-executing tasks (we could provide a T.ctx().println method that will prefix the stdout with the name of the target being evaluated, and ask task writers to use that)

What is the priority on this? Currently mill is unusable for bigger projects because of at least 4x compile time increase compared to sbt.

@francisdb Honestly as stated earlier, you would probably need to replace mill's Task with something else, I recommend Monix only because its got the most sensible out of the box defaults (i.e. its optimized for both CPU and IO bound tasks by using a batching mechanism). Future is by default optimized for IO bound tasks where as tasks such as Scalaz8/Cats IO are optimized by default for CPU bound tasks.
Its not a trivial task, of course you can probably modify Mill's own Task with all of the required functionality, but you would probably be recreating yet another Task type (although there are merits to this, i.e. not bringing in large dependencies like Cats or Scalaz)

Mill's task is a free-applicative and it should be possible to do this without touching the mill.Task type at all; all the core changes for parallelism should take place in the Evaluator.
Whether the new "ParallelEvaluator" uses Future or Monix or Scalaz or Cats for it's parallelization logic is an internal implementation detail. If we need to tag our mill.Tasks with some metadata to allow a ParallelEvaluator to schedule more effectively, we can easily do so without invasively replacing the core type.

Okay, I will try and use Monix Task as the underlying execution engine without changing mill.Task, theoretically it should be fine but I guess we will find out

@mdedetrich I think put a stream/action/queue layer before the execution layer is more approachable. By leaving it before the underlying effect system. Then we could make the slow path more explicit, and give us more space for more optimization like fusing multiply action as a single batch operation to the same target(folder), which would help for the disk/SSD.
In my code, not a building system, we have AST -> AST with Task -> Interpreter ->Reactive-Stream based execution.

@mdedetrich So I think there is no need to change the mill.Task, it's okay and carries metadata, Scalaz or Monix or another layer with ReactiveStream implement is both ok.I more like the last one. Once we lift the actions, we could do batching and fusing multi single-actions to the same data source as a batch operation(both read or write).

Has anybody started to implement this?

As I already implemented parallel execution of tasks in SBuild, I will look into it. Can't promise anything, I have to get familiar with the code base first.

I created PR #480 implementing parallel task evaluation, but to my surprise, nobody tested/commented on it.

@lefou not surprising to me at all; the evaluator code is relatively gnarly, and sufficiently well encapsulated that nobody would learn about it just from using Mill. Even I myself am somewhat rusty, and probably will have to re-learn large portions of the logic to properly review it. I unfortunately don't have time to help iterate on it with you, and improving Mill's performance via parallelism isn't currently a requirement for any of my own work.
If you'd like to push it forward, once you're happy with it and it's in a somewhat merge-able state (no conflicts, tests passing) I can put in the time to give it a proper review. I understand that it's a non-trivial amount of work, but that's probably unavoidable given the invasive nature of this change, the fundamentally complex domain we're working in (this isn't just some CRUD web app), and the desire to maintain rough compatibility with all the surrounding code in the Mill repo (external code isn't likely to be affected).

I guess, what I'm missing is, that at least someone tried to build something with that branch. The code review itself is only the finish afterwards. The point is, rebasing that branch is very cumbersome, at least with the (unwritten, inferred by me) no-merge-commit rule. And some part of me hesitates to squash everything into one commit. The motivation to update the branch is currently extrinsic.

I don't have any issues with merges or squashes; I typically merge master into branches and then squash the entire PR into a single commit when merging the branch into master. If rebasing is too much of a hassle, feel free to not.

What's the status of this

@nafg #480 Is an implementation of it and ready for testing. More details are in the PR, too.

Hi all, let me give you an update of the situation.
My PR #480 is now in a state that it works very well for all projects that I'm aware of. I'm currently polishing it a bit before we merge it into the master branch, so that you can start to consume it. You can also expect a new tagged release very soon.
The journey isn't over, though. Parallelism is still experimental and must be enabled manually with --jobs n, where n is the thread count.The implementation also needs some refactoring. And we probably want more polishing, e.g. how the clean task and the all task should behave. Any feedback is much appreciated.

Closed via #480.

You can grab it as mill 0.6.1-120-8d6b23.


Add contract code fees

Contract code resource breakdown was added in CAP-0054. Pull in these new fields for contract code ledgers

From the CAP, it also looks like there were fields added to the ConfigSettings ledger entry. Is that true? Do you think they're worth adding to config_settings?

There were no config_setting changes. It was additional fields to ContractCostType which isn't used in config_settings

There were no config_setting changes. It was additional fields to ContractCostType which isn't used in config_settings

Ah, I saw Stellar-contract-config-setting.x and assumed it was saved on config_settings. I see this is just the enum


Broken in production

So this is probably something I have done/bad configuration but when running my app in production the map does not load. If I drag on the map I get the following errors:
Uncaught TypeError: Cannot read property 'x' of undefined
    at Mv (common.js:155)
    at _.Ev._.k.kj (common.js:214)
    at Object.trigger (js:111)
    at Oy (map.js:20)
    at _.Wv.<anonymous> (map.js:19)
    at Object.trigger (js:111)
    at _.Wv._.k.sm (common.js:223)
    at Object.trigger (js:111)
    at kq.<anonymous> (common.js:136)
    at Object.trigger (js:111)

Everything works as expected in development mode.
Any ideas?

Looks like it was caused by lodash-webpack-plugin

For anyone else that ended up here, setting collections: true in lodash-webpack-plugin will get it working again without pulling in all of lodash.
new LodashModuleReplacementPlugin({
  collections: true
})

Thats good to know! Thanks


Appears that DEMO Conference Site is down

TTP/1.1 401 Unauthorized
content-length: 143
content-type: application/json
Hey guys
I am unable to successfully test GetSpeakers API ---get this response
vary: Origin
{
"error": "Provided credentials are not valid or tenant is not available.BackendStatusCode=503 RequestFailureReason=Service Unavailable"
}

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

ID: 76ca8cff-348b-5595-1c3a-f319d606f82e
Version Independent ID: 5930a3f8-45f7-e782-f917-0235601f873b
Content: Import and publish your first API in Azure API Management
Content Source: articles/api-management/import-and-publish.md
Service: api-management
GitHub Login: @mikebudzynski
Microsoft Alias: apimpm

Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @asbailey https://conferenceapi.azurewebsites.net/?format=json appears to be up and running,.
We will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

@mikeurnun seems to be down again 29/10/2024 see this link here:
https://learn.microsoft.com/en-au/answers/questions/2103846/unable-to-access-conference-api-in-azure-api-manag


feat(code conduct): insert new CODE_OF_CONDUCT.md file

PR Title

The purpose of this Pull Request is to fix #https://github.com/jsvigneshkanna/tailwind_ui_components/issues/29
Description
insert new CODE_OF_CONDUCT file to describe the code of conduct
How you solved
A new file was created with a description of the code of conduct based on community conducts.
Checklist

[V] I have Made this contribution as per the CONTRIBUTING guide in this repo
[V ] I have tested in local Environment.
[V] I have made the fix as per issue converstaion
[V] I have starred the repository ⭐

Hey @jsvigneshkanna
I made this PR with the new file for continuous code, could you take a look, please!

Hi @ferrorenan ,
The file changes look good, will merge the code
Also dont forget to star this repo and watch for future issues and features as we are growing in faster pace for tailwind components


Cleanup viewer

Remove toolbar (module and html prerendering)
Always readonly

Hi @martin-fleck-at, @ivy-lli has already done the Viewer task ;)


Implement or derive Default for Span

Prior to the release of codespan 0.4.0, the codespan::Span type used to derive Default. I personally found this quite handy when hacking on ASTs where I did not care about the span information, and I could conveniently specify  Default::default() everywhere a Span was expected without having to import it.
In particular, I also happen to find the Default implementation handy when writing macros that construct ASTs, since they eliminate the need to depend on codespan and import the type. So if a downstream crate were to import the macro, it would not require the user to depend on codespan, or for the crate author to re-export codespan::Span for the macro to use.
Are there any technical reasons to not derive Default on Span? If there aren't, it would be a nice touch in the ergonomics department.

Does Span::intitial() solve your problem? I've not really been a fan of Default because it doesn't really offer any suggestion of what the semantics of this default value should be in relation to anything else, so I tend to avoid it in favour of more descriptive method names with dedicated documentation.

Alternatively I have been wondering if I should make codespan's numbers non-zero by default in order to allow people to use Options for span information without wasting byte space. That way you could use None for things that have no real location information. Just an idea though.

Span::initial() does precisely what I am looking for, yes, and I have been using it since the 0.4.0 update. However, consider an AST crate that depends on codespan, and there is some downstream user who wishes to manually construct an unspanned AST.
It would be quite convenient for users who don't care about the span information to simply specify Default::default() in areas expecting a Span and not have to pull in codespan as a dependency needlessly. Similarly, public macros for constructing unspanned ASTs now require the user to either depend on codespan themselves, or the AST crate can re-export codespan for the macro to consume but with #[doc(hidden)].

Anyway, I've published the changes!

Thanks for the quick response, @brendanzab! Much appreciated.


Add parent to CaptureViewElement.

In order to do so, the "WrappedAccessibility" interface needed to
be introduced.
Test: Compile

Thanks for the review. I changed them to WrappedAccessibility and made them the first argument.


Timeout return the update instead of rasing an error

Hi, I had no problem using this fantastic plugin until I used client.listen with a timeout. I wanted to send a message asking for something and if he sends back I would send a new message and delete the message that was sent first or edit the message but if it timeout than I would send a message saying that it has timeout and delete the message that I ask or edit the message saying that it has timeout. But since it throws an error the client.listen returns nothing I am being unable to edit nor delete the message that has sent first. Am i missing something or is it just not possiable? Thanks !

Sorry ! I completely forgot abt the listen_message.


ImageAnalysisErrorReason.CONNECTION_FAILURE, Error code: 3

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce
Problem: Tried Image Analysis 4.0 preview Version (https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library-40?tabs=visual-studio%2Clinux&pivots=programming-language-python) and sdk in import azure.ai.vision as sdk doesn't work in Jupyter Notebook on Jupyter Container but it works as a curl command.
Ran the code with an URL and a local image from https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/samples/python/image-analysis/samples.py
Used the right format for endpoint: https://<your-computer-vision-resource-name>.cognitiveservices.azure.com - like described in https://github.com/Azure-Samples/azure-ai-vision-sdk/tree/main/samples/python/image-analysis#troubleshooting
The api key and resource is also valid and works with Version 3.2 and with the following request tool https://eastus.dev.cognitive.microsoft.com/docs/services/unified-vision-apis-public-preview-2023-04-01-preview/operations/61d65934cd35050c20f73ab6/console
Also works on shell with a random picture URL:
curl -H "Host: https://<your-computer-vision-resource-name>.cognitiveservices.azure.com" -H "Ocp-Apim-Subscription-Key: $(pbpaste)" -H "Content-Type: application/json" -d '{"url": "https://www.kinderfunkkolleggeld.de/application/files/5214/4476/9885/Wie_entstehen_Preise.jpg"}' "https://<your-computer-vision-resource-name>.cognitiveservices.azure.com/computervision/imageanalysis:analyze?api-version=2023-02-01-preview&features=read&language=de&gender-neutral-caption=False"

Any log messages given by the failure
With local image as input:
Analysis failed.
   Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE
   Error code: 3
   Error message: Failed with error: HTTPAPI_OPEN_REQUEST_FAILED [0x3 | 2550]
POST https://<your-computer-vision-resource-name>.cognitiveservices.azure.com/computervision/imageanalysis:analyze?api-version=2023-02-01-preview&features=read&language=de

With URL as input:
Analysis failed.
   Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE
   Error code: 3
   Error message: Failed with error: HTTPAPI_OPEN_REQUEST_FAILED [0x3 | 2550]
POST https://<your-computer-vision-resource-name>.cognitiveservices.azure.com/computervision/imageanalysis:analyze?api-version=2023-02-01-preview&features=caption%2Cread&gender-neutral-caption=false&language=de

Expected/desired behavior
For URL:
{"readResult":{"stringIndexType":"TextElements","content":"10 ,- €\n2,50 €\n4,80 €","pages":[{"height":500.0,"width":500.0,"angle":-7.1313,"pageNumber":1,"words":[{"content":"10","boundingBox":[235.0,155.0,266.0,156.0,265.0,192.0,234.0,191.0],"confidence":0.998,"span":{"offset":0,"length":2}},{"content":",-","boundingBox":[273.0,156.0,297.0,156.0,296.0,192.0,272.0,192.0],"confidence":0.994,"span":{"offset":3,"length":2}},{"content":"€","boundingBox":[304.0,156.0,325.0,157.0,325.0,193.0,304.0,192.0],"confidence":0.995,"span":{"offset":6,"length":1}},{"content":"2,50","boundingBox":[89.0,300.0,159.0,291.0,163.0,329.0,94.0,338.0],"confidence":0.991,"span":{"offset":8,"length":4}},{"content":"€","boundingBox":[167.0,290.0,191.0,289.0,196.0,325.0,172.0,328.0],"confidence":0.989,"span":{"offset":13,"length":1}},{"content":"4,80","boundingBox":[307.0,298.0,377.0,287.0,383.0,324.0,313.0,335.0],"confidence":0.991,"span":{"offset":15,"length":4}},{"content":"€","boundingBox":[385.0,286.0,406.0,284.0,412.0,319.0,391.0,322.0],"confidence":0.996,"span":{"offset":20,"length":1}}],"spans":[{"offset":0,"length":21}],"lines":[{"content":"10 ,- €","boundingBox":[233.0,155.0,331.0,157.0,330.0,193.0,233.0,191.0],"spans":[{"offset":0,"length":7}]},{"content":"2,50 €","boundingBox":[88.0,301.0,197.0,289.0,200.0,323.0,93.0,338.0],"spans":[{"offset":8,"length":6}]},{"content":"4,80 €","boundingBox":[307.0,299.0,412.0,284.0,417.0,317.0,311.0,335.0],"spans":[{"offset":15,"length":6}]}]}],"styles":[],"modelVersion":"2022-04-30"},"modelVersion":"2023-02-01-preview","metadata":{"width":500,"height":500}}%

Or result for local images.
OS and Version?
Used a Jupyter Container because the pip azure-ai-vision package  doesn't comply with macOS so far.
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
Versions
Python 3.9.17
azure-ai-vision 0.13.0b1
Mention any other details that might be useful
Already read this issue: https://github.com/Azure-Samples/azure-ai-vision-sdk/issues/40
Created a docker file where the version openssl-1.1.1u was already patched.

Thanks! We'll be in touch soon.

@dargilco we ran jupyter notebook in docker linux mode by setting
export DOCKER_DEFAULT_PLATFORM=linux/amd64
to force docker to emulate a underlying linux platform

on a macOS machine?

@dargilco yes


Movenet conversion

1. OS you are using MacOS
2. OS Architecture e.g. x86_64, armv7l, aarch64, etc
3. Version of OpenVINO e.g. 2021.2.185, etc
4. Version of TensorFlow e.g. v2.4.1, tf-nightly==2.5.0.dev20210128, etc
5. Version of TensorRT e.g. TensorRT6.0 GA, etc
6. Version of TFJS e.g. 1.5.0, etc
7. Version of coremltools e.g. 4.0, etc
8. Version of ONNX e.g. v1.8.0, etc
9. Download URL for ONNX model
10. Download URL for OpenVINO IR (.bin/.xml) model
11. URL of the repository from which the transformed model was taken
12. URL or source code for simple inference testing code
here

13. Issue Details
I try to convert the Pytorch implementation of Movenet to TFLite with the correct ordering of channels. However, when I try to convert the obtained openvino model to TFLite, there's an error of incorrect input shape. I check your doc: https://github.com/PINTO0309/openvino2tensorflow#6-7-replace-weights-or-constant-values-in-const-op-and-add-transpose-or-reshape-just-before-the-operation-specified-by-layer_id , and still have no clue how to fix the problem. Could you help check it out? Thanks a lot. The following is the log:
ERROR: Cannot reshape a tensor with 48 elements to shape [17,2] (34 elements) for '{{node tf.reshape_4/Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](Placeholder, tf.reshape_4/Reshape/shape)' with input shapes: [48], [2] and with input tensors computed as partial shapes: input[1] = [17,2].
ERROR: model_path  : openvino/movenet_opt.xml
ERROR: weights_path: openvino/movenet_opt.bin
ERROR: layer_id    : 471
ERROR: input_layer0 layer_id=469: KerasTensor(type_spec=TensorSpec(shape=(48,), dtype=tf.float32, name=None), name='tf.__operators__.getitem_1/strided_slice:0', description="created by layer 'tf.__operators__.getitem_1'")
ERROR: input_layer1 layer_id=470: Const(ndarray).shape  (2,)
array([17,  2])
ERROR: The trace log is below.
Traceback (most recent call last):
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper
    return target(*args, **kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/array_ops.py", line 195, in reshape
    result = gen_array_ops.reshape(tensor, shape, name)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/gen_array_ops.py", line 8392, in reshape
    return reshape_eager_fallback(
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/gen_array_ops.py", line 8413, in reshape_eager_fallback
    _attr_T, (tensor,) = _execute.args_to_matching_eager([tensor], ctx, [])
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 273, in args_to_matching_eager
    tensor = ops.convert_to_tensor(
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/profiler/trace.py", line 163, in wrapped
    return func(*args, **kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 1566, in convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 339, in _constant_tensor_conversion_function
    return constant(v, dtype=dtype, name=name)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 264, in constant
    return _constant_impl(value, dtype, shape, name, verify_shape=False,
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 276, in _constant_impl
    return _constant_eager_impl(ctx, value, dtype, shape, verify_shape)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 301, in _constant_eager_impl
    t = convert_to_eager_tensor(value, ctx, dtype)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/constant_op.py", line 98, in convert_to_eager_tensor
    return ops.EagerTensor(value, ctx.device_name, dtype)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/keras_tensor.py", line 254, in __array__
    raise TypeError(
TypeError: Cannot convert a symbolic Keras input/output to a numpy array. This error may indicate that you're trying to pass a symbolic value to a NumPy call, which is not supported. Or, you may be trying to pass Keras symbolic inputs/outputs to a TF API that does not register dispatching, preventing Keras from automatically converting the API call to a lambda layer in the Functional Model.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 1880, in _create_c_op
    c_op = pywrap_tf_session.TF_FinishOperation(op_desc)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot reshape a tensor with 48 elements to shape [17,2] (34 elements) for '{{node tf.reshape_4/Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](Placeholder, tf.reshape_4/Reshape/shape)' with input shapes: [48], [2] and with input tensors computed as partial shapes: input[1] = [17,2].

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mli/opt/anaconda3/bin/openvino2tensorflow", line 2533, in convert
    tf_layers_dict[layer_id] = tf.reshape(op1, shape)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 210, in wrapper
    result = dispatch(wrapper, args, kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 126, in dispatch
    result = dispatcher.handle(op, args, kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 1486, in handle
    return TFOpLambda(op)(*args, **kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 969, in __call__
    return self._functional_construction_call(inputs, args, kwargs,
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1107, in _functional_construction_call
    outputs = self._keras_tensor_symbolic_call(
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 840, in _keras_tensor_symbolic_call
    return self._infer_output_signature(inputs, args, kwargs, input_masks)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 880, in _infer_output_signature
    outputs = call_fn(inputs, *args, **kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 1363, in _call_wrapper
    return self._call_wrapper(*args, **kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 1395, in _call_wrapper
    result = self.function(*args, **kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper
    return target(*args, **kwargs)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/array_ops.py", line 195, in reshape
    result = gen_array_ops.reshape(tensor, shape, name)
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/gen_array_ops.py", line 8397, in reshape
    _, _, _op, _outputs = _op_def_library._apply_op_helper(
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/op_def_library.py", line 748, in _apply_op_helper
    op = g._create_op_internal(op_type_name, inputs, dtypes=None,
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/func_graph.py", line 599, in _create_op_internal
    return super(FuncGraph, self)._create_op_internal(  # pylint: disable=protected-access
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3557, in _create_op_internal
    ret = Operation(
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 2041, in __init__
    self._c_op = _create_c_op(self._graph, node_def, inputs,
  File "/Users/mli/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 1883, in _create_c_op
    raise ValueError(str(e))
ValueError: Cannot reshape a tensor with 48 elements to shape [17,2] (34 elements) for '{{node tf.reshape_4/Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](Placeholder, tf.reshape_4/Reshape/shape)' with input shapes: [48], [2] and with input tensors computed as partial shapes: input[1] = [17,2].

And I attached the corresponding model files here.
openvino.zip
Best wishes,
Min

Also, in Google's official Movenet model, the Conv + RLU6, and Conv +ReLU are fused together. Also the upsampling op: ResizeBilinear is used. Do you have any idea to use these specific ops when we convert the PyTorch model to TFLite? Thanks!

The custom model you have created is quite complex because it contains many layers of Transpose, Reshape, Gather, etc... that are less than 4D after the middle of the model. Therefore, it is not possible to mechanically convert NCHW format to NHWC format programmatically.
If the layer contains less than 4D shape changes, you will need to customize the tool's behavior.

PyTorch MoveNet to tflite
https://drive.google.com/file/d/1z_qxyI9-kBaDYUCoWSbsu56Mw9vvb55k/view?usp=sharing

movenet_opt.xml ... Modified model structure.
replace.json ... A configuration file to let the tool change the parameters of Transpose, Reshape, and other layers.
openvino2tensorflow_special_custom.py ... Special program with some modifications for you. (Additional debug printing and hardcoding of the final layer)
saved_model ... Folder where TensorFlow .pb, saved_model and tflite are saved.

python3 openvino2tensorflow_special_custom.py \
--model_path movenet_opt.xml \
--output_saved_model --output_pb \
--output_no_quant_float32_tflite \
--weight_replacement_config replace.json

I followed through to the final layer to make sure it was converted correctly, but I have not checked to see if the inference works correctly. I was only trying to show you that the conversion would be successful. If the inference results do not meet your expectations, please adjust the resources I have attached here yourself.

Also, in Google's official Movenet model, the Conv + ReLU6, and Conv +ReLU are fused together. Also the upsampling op: ResizeBilinear is used. Do you have any idea to use these specific ops when we convert the PyTorch model to TFLite for better performance?

I have no idea what your concern is. Sorry. :crying_cat_face:

@PINTO0309 Thanks for your quick response! I really appreciate it and will check it later.

I have no idea what your concern is. Sorry. 😿

I thought that the Conv layer and ReLU will not be fused together. It's my fault.

Let me ask you one last question. Why did you implement it in PyTorch and not in TensorFlow? The cost is too high. 😅

Actually, my first step is trying to reimplement the Movenet structure using PyTorch and train it on my own dataset. However,  it turned out that the performance is not that satisfactory. So I decided to reimplement the inference part and try to make it the same as the original one. Indeed the cost is too high as you said.
Min


[SMALLFIX] Disallow flush of empty file

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9390/Failed Tests: 1org.alluxio:alluxio-core-server: 1alluxio.master.file.meta.InodeDirectoryTest.permissionStatusTest
Test FAILed.

@gpang LGTM, is there a good way to unit test this?

@calvinjia I added an integration test for this.

Merged build finished. Test PASSed.

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


Password recovery (#313)

merge with template engine
AccountController tests added
fixed view if user not found by email
added new page with errors
fixed validation
user not need to enter email twice

fixed conflicts


FF-217

added search-test.js and two corresponding JSON context files needed to run the test.

Coverage increased (+1.7%) to 51.03% when pulling c2edea504af57b5c8399a8195b7b656920156d09 on FF-217 into e71fc10fe2a103644ea53dcd16e0f12833b9d2b1 on master.

Coverage decreased (-2.9%) to 46.438% when pulling 2896da927591be6f1a276418b053a0ffa104805f on FF-217 into e71fc10fe2a103644ea53dcd16e0f12833b9d2b1 on master.

Coverage increased (+1.5%) to 50.806% when pulling 0721f2f9000b6e9093cbf34d61a36b616dbb8349 on FF-217 into e71fc10fe2a103644ea53dcd16e0f12833b9d2b1 on master.


mdds: mark broken on darwin

Motivation for this change
#102572
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] 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
[ ] Fits CONTRIBUTING.md.

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

I think you can fix the darwin build with:
--- i/pkgs/development/libraries/mdds/default.nix
+++ w/pkgs/development/libraries/mdds/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, boost }:
+{ stdenv, fetchurl, boost, llvmPackages }:

 stdenv.mkDerivation rec {
   pname = "mdds";
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
     cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
   '';

+  buildInputs = stdenv.lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
+
   checkInputs = [ boost ];

   meta = with stdenv.lib; {


[stdlib] Mark reversed as consuming

Since either the elements go into an array, or the collection is wrapped, it's likely this would be the better choice. We'll see if the benchmarks agree (needs #19613 for any change to show up).

cc @jckarter

@swift-ci please smoke test

@swift-ci please benchmark

What no changes, not even noise? 🤔

I'd guess this gets inlined 100% of the time.

@swift-ci please smoke benchmark

Build comment file:
Performance: -O

TEST
OLD
NEW
DELTA
RATIO

Improvement

CStringLongAscii
3539
3300
-6.8%
1.07x

Performance: -Osize

TEST
OLD
NEW
DELTA
RATIO

Improvement

CStringLongAscii
3537
3288
-7.0%
1.08x

Performance: -Onone

TEST
OLD
NEW
DELTA
RATIO

Regression

ArrayOfPOD
781
860
+10.1%
0.91x (?)

How to read the data
The tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false alarms. Unexpected regressions which are marked with '(?)' are probably noise. If you see regressions which you cannot explain you can try to run the benchmarks again. If regressions still show up, please consult with the performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB


Unable to use the return type Vec<[f64; 2]>

I'm looking to interop with a rust library for decoding polylines. It however returns a type of Vec<[f64; 2]> which seems to be an unsupported conversion.
#[macro_use]
extern crate helix;
extern crate polyline;

ruby! {
    class Polyline {
        def decode_polyline(text: String) -> Vec<[f64; 2]> {
            polyline::decode_polyline(text, 5).unwrap();
        }
    }
}

Which during the build step gives me this
error[E0277]: the trait bound `std::vec::Vec<[f64; 2]>: helix::ToRuby` is not satisfied
  --> src/lib.rs:5:1
   |
5  |   ruby! {
   |  _^ starting here...
6  | |     class Polyline {
7  | |         def decode_polyline(text: String) -> Vec<[f64; 2]> {
8  | |             polyline::decode_polyline(text, 5).unwrap();
9  | |         }
10 | |     }
11 | | }
   | |_^ ...ending here: the trait `helix::ToRuby` is not implemented for `std::vec::Vec<[f64; 2]>`
   |
   = note: required by `helix::ToRuby::to_ruby`
   = note: this error originates in a macro outside of the current crate

According to the documentation the function definition seems correct. However, is there a way to define new coercions or possibly another way to approach this?
Though #46 might be a blocker here as well.

@nathanpalmer I think you're correct that the issue is that we don't have proper conversions for the array. One workaround might be to change the format before you return it. I'm hoping to find some time to allocate to this stuff soon :/

I believe this is now possible since #126. Let me know if that works for you.
By the way, would coercion for tuples be helpful to you here? Curious why you went with Vec<[f64; 2]> as opposed to (f64, f64)


Export as JSON would be very useful

@rkpatel33 notes! Sounds like there are a bunch of requests for different export formats. I'm going to consolidate those under issue #186


Update README.md - Double Title and TOC

#minor#

Approved - but please change this to fix or patch
minor corresponds to feature


[Feature Request] Add linked_list module to collections

We need to implement a doubly linked list which should be cache-friendly and requests fewer heap allocations. Reference: https://en.wikipedia.org/wiki/Unrolled_linked_list

Newbie with high aggression could competent with this!


Bug Report: Input system change makes repeated sustain notes (and possibly jacks) impossible.

I tried Bopeebo on KE 1.5.4, and between the 2nd and 3rd notes, if I hold the 2nd note even close to long enough, the 3rd note immediately registers as early as possible because I was holding the button. On previous versions, this wasn't the case - you could hold the 2nd note fully, quickly release right and press it again. Holding buttons shouldn't register as early tap inputs.

https://user-images.githubusercontent.com/26305836/123495783-f467e080-d5d9-11eb-8951-805e91e42fd2.mp4
fixed in https://github.com/KadeDev/Kade-Engine/commit/002479871540e30b2b7dc05f06a81b7a64c8472a


Running tests modify CLI config settings

Steps taken/Steps to reproduce
Remove   /Users/$user/Library/Preferences/rs.pyrsia-cli/, clean/build Pyrsia, and check the configuration, a default configuration is created:
$ ./pyrsia config -s
Config file path: /Users/$user/Library/Preferences/rs.pyrsia-cli/default-config.toml
host = 'localhost'
port = '7888'
disk_allocated = '5.84 GB'

Modify as needed:
$ ./pyrsia config -e
Enter host:
localhost
Enter port:
7889
Enter disk space to be allocated to pyrsia(Please enter with units ex: 10 GB):
10 GB
Node configuration Saved !!

Verify it:
./pyrsia config -s
Config file path: /Users/$user/Library/Preferences/rs.pyrsia-cli/default-config.toml
host = 'localhost'
port = '7889'
disk_allocated = '10 GB'

Now run tests:
cargo test --workspace

And check the configuration again, it has been changed to the values that are set in cli/handlers.rs::test_valid_config_edit test:
$ ./pyrsia config -s
Config file path: /Users/$user/Library/Preferences/rs.pyrsia-cli/default-config.toml
host = 'some.localhost'
port = '65535'
disk_allocated = '10 GB'

Expected Behavior
configuration remains the same as it was before running tests.
Experienced Instance of the bug
rustc 1.63.0 (4b91a6ea7 2022-08-08)
Mac

Related and fixed in #1279


Secret keys are publicly visible

Hi, your secret keys, email and password is publicly visible on Github, can I submit a PR for removing the same?

Hi Kinshukdua, The secrets file contained the old email & password, they were updated later. Removing the file from the repository slipped from my mind. Thank you for letting me know.

@kushv16 You might be better off rebasing repo if the email and password are important, since people can still go back to previous commits to check out the files.


 We'll try to fix it, but unfortunately Node is a moving target and we can't anticipate breaking changes. The LTS releases will provide increased stability if that's what you're looking for.

@mousetraps i know. With Node.JS is hard to keep in sync, but I leave information here so me, or somebody else, like me, who is interested in the pursuing fixing this issue could have starting information.

Just confirming that I am also seeing this problem.

@kant2002 I was able to reproduce this issue earlier, but I can't anymore - are you still running into it? If so, would you mind providing more detailed repro steps (including Node version / architecture)? Thanks in advance!
@atom0s do you mean your application freezes or VS freezes while debugging?

@mousetraps Hey mousetraps, the debugging environment just dies. I've traced it down to being a nodejs issue. Others are experiencing the same issue as well with their personal projects etc. There is a bug report for it on node's repo here:
https://github.com/nodejs/node/issues/4440
This is not an issue with Nodejstools.

@atom0s gotcha, thanks!
@kant2002 is this the same issue you were running into as well?

@mousetraps As of NodeJS 5.4 everything seems to be working.

For me the problem still persists since the specific problem has not been patched in node yet.

Okay, thanks all! Closing this thread as this appears to be a Node-related issue

This is patched in the newer node builds. v5.6.0 has the fix, and 4.3.1 on LTS has the fix as well.


Merge to SpringBoot3 after spring cloud azure 5.6.0 released

Description
Merge to SpringBoot3 after spring cloud azure 5.6.0 released
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-spring-data-cosmos

/check-enforcer override


Testing issues with redirects on pgs

Using an example _redirect file and testing.
$ cat _redirects
/wow     /index.html     301

If I do a curl against /wow I get a 404.
$ curl -v https://jb-test.pgs.sh/wow

> GET /wow HTTP/2
> Host: jb-test.pgs.sh
> user-agent: curl/7.81.0
> accept: */*

404 not found

If instead I do a curl against //wow, with the extra / I see the redirect happen.
$ curl -v https://jb-test.pgs.sh//wow

> GET //wow HTTP/2
> Host: jb-test.pgs.sh
> user-agent: curl/7.81.0
> accept: */*

< HTTP/2 301

Next test is removing the status code, so the _redirect file is just a from and to:
$ cat _redirects
/wow     /index.html

With the status code removed from the file, the entire site will just give http 502 error, regardless of the query, eg.
$ curl -v https://jb-test.pgs.sh/wow

> GET /wow HTTP/2
> Host: jb-test.pgs.sh
> user-agent: curl/7.81.0
> accept: */*

< HTTP/2 502

If I put a status code back, but instead change the destination to a URL or to just /, I'll only get a 404.
Either of these:
$ cat _redirects
/wow     https://jb-test.pgs.sh     301

$ cat _redirects
/wow     /     301

Result in:
$ curl -v https://jb-test.pgs.sh/wow

> GET /wow HTTP/2
> Host: jb-test.pgs.sh
> user-agent: curl/7.81.0
> accept: */*

404 not found

$ curl -v https://jb-test.pgs.sh//wow

> GET //wow HTTP/2
> Host: jb-test.pgs.sh
> user-agent: curl/7.81.0
> accept: */*

404 not found

Maybe some issues parsing /?
I'm happy to do more testing if it's needed, due to TZ difference I figured might be easier raising here than IRC.

Hi! Thanks the detail report.  I think I have fixed all of these issues, could you try some of them again to confirm?

@neurosnap Thank you!
I've checked and most of the examples are fixed, however when redirecting to a complete URL I still get a 404.
Tested with the below redirect settings.
$ cat _redirects
/wow     https://jb-test.pgs.sh     301

$ cat _redirects
/wow                 https://wow.com

Oops, looks like I missed that use case, should be fixed: https://github.com/picosh/pico/commit/de1beb00f2ffcb4896ceb91856437ff2f1e501d2
Can you try one more time?  Thanks again!

Looks good, testing this one:
$ cat _redirects
/wow       https://wow.com

Just confirming that the expected behavior here is to generate OK as the text with a hyperlink to the redirection URL?
$ curl -v https://jb-test.pgs.sh/wow

> GET /wow HTTP/2
> Host: jb-test.pgs.sh
> user-agent: curl/7.81.0
> accept: */*

< HTTP/2 200

* TLSv1.2 (IN), TLS header, Supplemental data (23):
OK.

With a http code included in the redirect file, it redirects fine and doesn't print the example output with hyperlink.


Unable to upload "infer-out/report.sarif" as it is not valid SARIF - startColumn/startLine must have a minimum value of 1

After running the<EMAIL_ADDRESS>action and trying to upload the report generated to GitHub using the github/codeql-action/upload-sarif@v2 action the following error is displayed:
**Stack trace**

Unable to upload "infer-out/report.sarif" as it is not valid SARIF:
Error details: instance.runs[0].results[1].codeFlows[0].threadFlows[0].locations[2].location.physicalLocation.region.startColumn must have a minimum value of 1
  {
    "property": "instance.runs[0].results[1].codeFlows[0].threadFlows[0].locations[2].location.physicalLocation.region.startColumn",
    "message": "must have a minimum value of 1",
    "schema": {
      "description": "The column number of the first character in the region.",
      "type": "integer",
      "minimum": 1
    },
    "name": "minimum",
    "argument": 1,
    "stack": "instance.runs[0].results[1].codeFlows[0].threadFlows[0].locations[2].location.physicalLocation.region.startColumn must have a minimum value of 1"
  }

This also happens for the following JSON Path: instance.runs.results.locations.physicalLocation.region.startLine, for example.

To bypass this error we have a temporary workaround

run Infer tool using<EMAIL_ADDRESS>action
run a custom step to fix SARIF report
upload the resulting report (from previous step) into GitHub using github/codeql-action/upload-sarif@v2 action.

The custom step enumerated in 2. is just checking if the paths having trouble have a value equal to zero, and if so, overwriting it with 1 and then saving a new report with this overwritten values.
An example of the SARIF report generated with this kind of errors:
{
  "$schema": "http://json.schemastore.org/sarif-2.1.0-rtm.5",
  "version": "2.1.0",
  "runs": [
    {
      "tool": {
        "driver": {
          "name": "Infer",
          "informationUri": "https://github.com/facebook/infer",
          "version": "1.1.0",
          "rules": [
            {
              "id": "PULSE_RESOURCE_LEAK",
              "shortDescription": {
                "text": "Pulse Resource Leak"
              },
              "helpUri": "https://fbinfer.com/docs/next/all-issue-types#pulse_resource_leak"
            }
          ]
        }
      },
      "results": [
        {
          "message": {
            "text": "Resource dynamically allocated by constructor (...) on line 16 is not closed after the last access at line 16, column 15."
          },
          "level": "error",
          "ruleId": "PULSE_RESOURCE_LEAK",
          "codeFlows": [...],
          "locations": [...]
        },
        {
          "message": {
            "text": "Resource dynamically allocated by constructor (...) on line 56 is not closed after the last access at line 16707566, column 0."
          },
          "level": "error",
          "ruleId": "PULSE_RESOURCE_LEAK",
          "codeFlows": [
            {
              "threadFlows": [
                {
                  "locations": [
                    {},
                    {},
                    {
                      "nestingLevel": 0,
                      "location": {
                        "physicalLocation": {
                          "artifactLocation": {
                            "uri": "Something.cs",
                            "uriBaseId": "Something.cs"
                          },
                          "region": {
                            "startLine": 16707566,
                            "startColumn": 0
                          }
                        },
                        "message": {
                          "text": "memory becomes unreachable here"
                        }
                      }
                    }
                  ]
                }
              ]
            }
          ],
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                    "uri": "Something.cs",
                    "uriBaseId": "Something.cs"
                },
                "region": {
                  "startLine": 16707566,
                  "startColumn": 0
                }
              }
            }
          ]
        }
      ]
    }
  ]
}

Hi @mj-dias ,
Thanks for reaching out! This issue happens because SARIF renderer does not support the cases when startColumn or startLine is less than 1. We are composing a fix at Infer backend side. Stay tuned!

Just FYI, For the weird startLine and startColumn numbers, it is a known issue caused by Mono.Cecil.

Thanks for taking a look at this @xi-liu-ds
Since the referenced issue is marked as wontfix, is it acceptable to search and replace for all "startColumn": 0  with "startColumn": 1?
Just wondering if this can potentially create some issues down the road when we actually try to fix the reported findings (i.e. not being able to close the finding in GitHub security)

Thanks for taking a look at this @xi-liu-ds
Since the referenced issue is marked as wontfix, is it acceptable to search and replace for all "startColumn": 0 with "startColumn": 1? Just wondering if this can potentially create some issues down the road when we actually try to fix the reported findings (i.e. not being able to close the finding in GitHub security)

Yes, all you need is to search and replace for all "startColumn": 0 with "startColumn": 1 every time before uploading to GitHub. When you fixed the reported findings in GitHub security, they won't be reported again since Infer won't find this bug anymore.

Thanks for taking a look at this @xi-liu-ds
Since the referenced issue is marked as wontfix, is it acceptable to search and replace for all "startColumn": 0 with "startColumn": 1? Just wondering if this can potentially create some issues down the road when we actually try to fix the reported findings (i.e. not being able to close the finding in GitHub security)

Yes, all you need is to search and replace for all "startColumn": 0 with "startColumn": 1 every time before uploading to GitHub. When you fixed the reported findings in GitHub security, they won't be reported again since Infer won't find this bug anymore.
We are working on a fix to replace all "startLine/startColumn": 0 with "startLine/startColumn": 1 at Infer backend. Stay tuned.

Here is the fix.


feat: automatic installation script.

script will copy .ros-root to ~/.ros-root on the pepper robot
script will set ROS_IP, ROS_MASTER_URI and NAO_IP according
to given options.

@TVerloop thanks!


Bug displaying chart data groups.

Hi there is a bug rendering the scales for the graph.
See this jsFidle http://jsfiddle.net/84jdgcre/
The estimated column should be higher then consumption but, in the grouped variation is NOT!
Some help would be really nice, as It totally brakes the functionality

I think,,,, Consumption(1031) seems to be on top of Estimated(4000).
Estimated(4000) is based on 0, and Consumption(1031) is based on 4000


Repair broken CI

As described in https://github.com/conda-incubator/setup-miniconda/issues/101

I included this in #16, tests are now passing on win and linux again

I included this in #16, tests are now passing on win and linux again

Great news!


[5] Map Service Updates

Adds Unknown Map Detail type
Add ability to explicitly bypass codes (ex. Remote Storage)
Adds MSL codes

Advances: https://github.com/TAMULib/GIFMButtonService/issues/5


[AMBARI-23397] Blueprint deployments for NameNode Federation Fail

What changes were proposed in this pull request?
Implemented minor changes to the Blueprint processing code in order to support HDFS NameNode Federation deployments.  Originally, HDFS NameNode HA deployments could only consist of two NameNodes per cluster, but the new Ambari 2.7.0 support for HDFS NameNode Federation will change that restriction, and now more than two NameNode instances will be supported in a given HDFS deployment in Ambari.
Some configuration processing code was updated to account for this change, and a new unit test was added to verify the change in the BlueprintConfigurationProcessor.
How was this patch tested?
Tested manually against a 3-node vagrant cluster, to ensure that deploying a cluster with three "NAMENODE" components does not cause any deployment error to be returned from the Blueprint deployment code.
Ran the full ambari-server unit test suite, with all Java and Python tests passing.
Deployed an HDFS NameNode HA cluster with Blueprints, using the older model of two NameNode instances in the cluster (Active/Standby), and verified that the HDFS deployment still succeeds with these new changes in place.
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1488/
Test PASSed.


Limitation of the number of model markers / errors

VSCode Version: Version: 1.44.1
Commit: a9f8623ec050e5f0b44cc8ce8204a1455884749f
OS Version: MacOS 10.15.4 (19E287)

Background:
I am working on a webapp using the monaco editor (https://github.com/Microsoft/monaco-editor)
(to indicate errors I use the monaco.editor.setModelMarkers function).
I noticed that there seems to be a limitation of the number of markers that can be shown. Since monaco is part of VSCode I then tried to reproduce the issue in VSCode:
Steps to Reproduce:

Create new file and change filetype to JavaScript
Change the file content to

const x1 =
const x2 =
const x3 =
const x4 =
//...
const x998 =
const x999 =
const x1000 =

JS code to generate this:
[...Array(1000).keys()].map(k => `const x${k + 1} = `).join('\n')

Pastebin: https://pastebin.com/g8NVVgJW
The modelMarkers that indicate the errors stop appearing at line 502:

Does this issue occur when all extensions are disabled?: Yes
Is this intended behaviour or a bug? If it is intended, is there a workaround to show all markers?

This number is currently hard coded here. This is intended behaviour. The idea is that if you have so many errors/warnings in a single file, it doesn't help to render another 1000 errors. This most likely indicates some kind of configuration problem and seeing thousands and thousands of errors is not really helpful, as it is highly unlikely that the errors will be tackled one-by-one, and even if they are, it is very likely they need to be tackled top-bottom.

Thanks for your detailed response.
I agree with the points you made and just wanted to make sure it is intended.


[Event Parameter Request] - Release Transfer Document - Implement IsHandled structure

Describe the request
Within Codeunit 5708 - "Release Transfer Document", Function "Code" and Event "OnRunOnBeforeSetStatusReleased", can you implement "IsHandled" logic to this event so we can force the exit of the standard Releasing logic, in the event the "IsHandled" parameter has been set as true.
The implementation example of such code can be seen below:
local procedure Code()
    var
        TransLine: Record "Transfer Line";
        IsHandled: Boolean;
    begin
        if TransferHeader.Status = TransferHeader.Status::Released then
            exit;

        OnBeforeReleaseTransferDoc(TransferHeader);

        TransferHeader.TestField("Transfer-from Code");
        TransferHeader.TestField("Transfer-to Code");

        IsHandled := false;
        OnBeforeCheckTransferCode(TransferHeader, IsHandled);
        if not IsHandled then
            if TransferHeader."Transfer-from Code" = TransferHeader."Transfer-to Code" then
                Error(Text001, TransferHeader."No.", TransferHeader.FieldCaption("Transfer-from Code"), TransferHeader.FieldCaption("Transfer-to Code"));

        InvtSetup.Get();
        IsHandled := false;
        OnBeforeCheckTransitLocations(TransferHeader, IsHandled);
        if not IsHandled then
            if not TransferHeader."Direct Transfer" then
                TransferHeader.TestField("In-Transit Code")
            else
                if InvtSetup."Direct Transfer Posting" = InvtSetup."Direct Transfer Posting"::"Receipt and Shipment" then begin
                    TransferHeader.VerifyNoOutboundWhseHandlingOnLocation(TransferHeader."Transfer-from Code");
                    TransferHeader.VerifyNoInboundWhseHandlingOnLocation(TransferHeader."Transfer-to Code");
                end;

        TransferHeader.TestField(Status, TransferHeader.Status::Open);

        CheckTransLines(TransLine, TransferHeader);

	IsHandled := false; //<--- NEW CODE
        OnRunOnBeforeSetStatusReleased(TransferHeader);
	if IsHandled then   //<--- NEW CODE
	    exit;			//<--- NEW CODE

        TransferHeader.Validate(Status, TransferHeader.Status::Released);
        TransferHeader.Modify();

        if not (
            TransferHeader."Direct Transfer" and
            (InvtSetup."Direct Transfer Posting" = InvtSetup."Direct Transfer Posting"::"Direct Transfer"))
        then
            WhseTransferRelease.SetCallFromTransferOrder(true);

        WhseTransferRelease.Release(TransferHeader);

        OnAfterReleaseTransferDoc(TransferHeader);
    end;

Additional context
This event is needed to ensure both standard and any bespoke business logic checks can be implemented within the process of Releasing Transfer Documents, but should the results of those checks dictate that the Releasing code needs to be stopped, "IsHandled" logic implemented as provided above would allow this to be the case. The subsequent actions can the be handled by bespoke code afterwards to execute any further processes.
Internal work item: AB#501846

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 16506.


Wear os

Describe the bug
I have HA with soo many entities that in the app for the watch does not load. It is impossible to acces.
In the mobile phone it works allrigth but I can't select the entities I want to see.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
To be able to select the entities I want to see in the phone and in the watch.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

samsing galaxi a22 with android 11.
watch: ticwatch e3 with wear os 2.5

Additional context
Add any other context about the problem here.

+1 There needs to be a way to hide most of the entities. It would be very convenient.


Making code cleaner

Made the example looks cleaner and also to match the styling with the other similar examples.

@icoric : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@icoric Thank you! This does look cleaner. #sign-off


Error when sending a message

Just tried running the app after modifying the local.settings.json and error encountered when submitting a message.

here's the local.settings.json:
{   "IsEncrypted": false,   "Values": {     "AzureWebJobsStorage": "",     "AzureWebJobsDashboard": "",     "FUNCTIONS_WORKER_RUNTIME": "dotnet",     "AzureSignalRConnectionString": "<connection string>"   },   "Host": {     "LocalHttpPort": 7071,     "CORS": "*"   } }
Thank you!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 589dec51-5df3-c655-f76e-e009bfbfbb07
Version Independent ID: 03d392c8-cd6c-bd4a-c2e4-653838f81023
Content: Azure SignalR Service Serverless Quickstart - C#
Content Source: articles/azure-signalr/signalr-quickstart-azure-functions-csharp.md
Service: signalr
GitHub Login: @sffamily
Microsoft Alias: zhshang

@baimars The messages function just tries to send a message to the Azure SignalR service. So the connection string is the only vital component.
I assume you have removed the connection string from the contents of local.settings.json that you've pasted. Could you confirm?

The SignalR output binding just calls the Azure SignalR REST API which seems to be failing / timing out.
Since the /negotiate call didn't give you any errors, I believe the connection string is correct.
Could you try capturing the requests (using something like Wireshark or Fiddler) to debug further? Or you could try to manually make a call to the REST API as well.

@AjayKumar-MSFT
Sorry, as I'm away this weekend.
I was able run the project under aspnet-samples/ChatRoom.
Unfortunately, when I tried running my project I experienced another issue "Two Hubs must not share the same name". I only have one Hub class and it's MVC.
Hope you can help me on this matter too. Thanks

@baimars I hope you got the sample in this doc working as expected now.
This repo is for addressing doc bugs / enhancements. For the issue with the other sample, it would be best if you could open a thread on ASP.NET Forum / Stackoverflow or the samples' github repo.

@PramodValavala-MSFT  Following the sample document, still fails. But the sample project already works, so I think, it's ok for now. Thanks

The SignalR output binding just calls the Azure SignalR REST API which seems to be failing / timing out.
Since the /negotiate call didn't give you any errors, I believe the connection string is correct.
Could you try capturing the requests (using something like Wireshark or Fiddler) to debug further? Or you could try to manually make a call to the REST API as well.

See fiddler and request below

The quickstart was using an older version of the SignalR Service bindings that used ports that were deprecated and removed from the service a few weeks ago, causing these errors. We have since updated the quickstarts with a recent version of the bindings that work properly. Sorry for the inconvenience.


Maybe types don't work with non-tuple(?) arrays

The following causes flow to yield 3 errors related to type incompatibilities between ?string, string and undefined:
/* @flow */

var letters: Array<?string> = [
	'a',
	'b',
	'c',
	'd',
	'e',
	'f',
	'g',
	undefined
];

However, as far as I understand, this should not yield an error because of the maybe type. For instance, removing the undefined from the array and pushing it separately after the variable definition removes the errors.
This also happens with arrays of objects with maybe-type members ({ a: ?string; }).
Note the number of elements in the array. Removing any of the array elements removes the errors. I think this is related to flow handling smaller arrays as tuples (although according to the documentation at http://flowtype.org/docs/arrays.html#_ 8-element arrays should be tuples as well).
I used Flow version 0.2.0.
The precise error messages:
$ flow check
/Users/pkro/Documents/other/flow-test/test.js:3:25,30: ?string
This type is incompatible with
  /Users/pkro/Documents/other/flow-test/test.js:4:6,8: string

/Users/pkro/Documents/other/flow-test/test.js:4:6,8: string
This type is incompatible with
  /Users/pkro/Documents/other/flow-test/test.js:11:6,14: undefined

/Users/pkro/Documents/other/flow-test/test.js:11:6,14: undefined
This type is incompatible with
  /Users/pkro/Documents/other/flow-test/test.js:4:6,8: string

Found 3 errors

So when you have var x : type = value Flow infers the type of value first and then makes sure it's compatible with type. The errors here come from the inference.
I just wrote a longer explanation of what's happening here including some workarounds and future plans on https://github.com/facebook/flow/issues/256


Fix the issue preventing dragging in the 2D editor

Fixes #72385
Fixes https://github.com/godotengine/godot/issues/73466
Fixes https://github.com/godotengine/godot-proposals/issues/6270
Addresses part of https://github.com/godotengine/godot/pull/75703

Thanks!

Cherry-picked for 4.0.3.


Hide Auction results from artwork/artist pages

Auction results have been removed in force and microgravity. It's unclear if we will want them again in the future (our contact with the data provider is almost up and we're looking to replace the data). If we can hide them for now without fully deleting the code that would be 👌 .

We can just remove the code, it will still be in the history of the repo if we ever want it back.

Closed via #1444


Intermittent crash running tests in parallel

https://travis-ci.org/IBM-Swift/Kitura/jobs/503212899
(lldb) thread backtrace all
* thread #1, stop reason = signal SIGSTOP
  * frame #0: 0x00007fff57c35f0a Security`Security::SecCFObject::handle(bool) + 16
    frame #1: 0x00007fff57dff4a6 Security`impExpPkcs12Import + 1944
    frame #2: 0x00007fff57dfdabd Security`SecKeychainItemImport + 893
    frame #3: 0x00007fff57dfdf96 Security`SecPKCS12Import + 288
    frame #4: 0x0000000110189f54 KituraPackageTests`SSLService.prepareContext(self=0x00007f943d403a00) at SSLService.swift:1067
    frame #5: 0x0000000110186f67 KituraPackageTests`SSLService.initialize(asServer=true, self=0x00007f943d403a00) at SSLService.swift:438
    frame #6: 0x000000011018e438 KituraPackageTests`protocol witness for SSLServiceDelegate.initialize(asServer:) in conformance SSLService at <compiler-generated>:0
    frame #7: 0x00000001101afae8 KituraPackageTests`Socket.listen(port=0, maxBacklogSize=100, allowPortReuse=false, node=nil, self=0x00007f943d431e40) at Socket.swift:2172
    frame #8: 0x000000010fef5ca8 KituraPackageTests`HTTPServer.listen(port=0, self=<unavailable>) at HTTPServer.swift:169
    frame #9: 0x000000010ff2b2fd KituraPackageTests`KituraTest.startServer(router=<unavailable>, self=<unavailable>) at KituraTest.swift:135

Looks like SecPKCS12Import() is not thread-safe so we need some locking.

To recreate the issue , I have tried to run the  Kitura tests in parallel on Darwin and could see the below failure
/Library/Developer/Toolchains/swift-4.2.3-RELEASE.xctoolchain/usr/bin/swift test --parallel
Test Case '-[KituraTests.TestCodableRouter testBasicGetArray]' started.
/Users/sakandur/swift-workspace/Kitura/Tests/KituraTests/KituraTest.swift:110: error: -[KituraTests.TestCodableRouter testBasicGetArray] : Asynchronous wait failed: Exceeded timeout of 30 seconds, with unfulfilled expectations: "TestCodableRouter:287[0](ssl:true)", "TestCodableRouter:287[1](ssl:true)", "TestCodableRouter:287[2](ssl:true)".
/Users/sakandur/swift-workspace/Kitura/Tests/KituraTests/KituraTest.swift:111: error: -[KituraTests.TestCodableRouter testBasicGetArray] : XCTAssertNil failed: "Error Domain=com.apple.XCTestErrorDomain Code=0 "(null)"" -
Test Case '-[KituraTests.TestCodableRouter testBasicGetArray]' failed (31.041 seconds).
Test Suite 'TestCodableRouter' failed at 2019-03-21 13:54:37.591.

Raised PR
https://github.com/IBM-Swift/BlueSSLService/pull/74

PR merged


Increased text on luck window

The luck window when clicking on it has larger text, which means the highest PB is obscured

either needs to wrap text, or reduce that lines text, or even that windows text would be fine for me.

Fixed in 0f3fe35b072c, will be in the next release


Support Ubuntu Chisel manifests as an sbom input

In reference to https://github.com/dotnet/dotnet-docker/issues/5973
We (.NET Team) have been working closely with Canonical on Chiseled images:

https://devblogs.microsoft.com/dotnet/announcing-dotnet-chiseled-containers/
https://github.com/dotnet/dotnet-docker/issues/4667
https://discourse.ubuntu.com/t/chisel-manifest-is-supported-in-newly-released-v1-0-0/48944

At present, we use an interim solution to make chiseled images scannable. That has worked well. We've been waiting for the chisel manifest format to land to move to a more permanent solution. However, scanners don't support the chisel manifest. We talked to @cjdcordeiro about this. His vision is that SBOM tools (starting with the MS one) support chisel manifests as an input and we rely on scanners ability to read SBOMs.
Our end to end vision is this:

SBOM tools support chisel manifests as an input
We run the SBOM tool to generate an SBOM for the container images we publish
We attach the SBOM to our container images as an OCI artifact
Scanners can scan our container images by pulling by an image and the associated registry artifact

How does that sound? I'm a bit worried that a registry-based solution might be a breaking change for some users. That's worth discussing.
What's the best path to achieving that?

Thanks for this nice breakdown.
On our side, we'll be:

writing the reference documentation for the Chisel manifests;
defining the shortest path of translation of a Chisel manifest to an SPDX-compliant SBOM;
supporting the adoption of the Chisel manifest in Microsoft's sbom-tool; and
working with 3rd party tools to assess the feasibility of natively supporting scanning of Chiselled containers without SBOMs.


[carry #2153] Correct the variable name

Sorry @Helen-Xie I messed up the other PR when I tried to rebase it and it closed. The rebase was needed to get circleci to pass (apparently it doesn't merge to master before running tests).
Carried from #2153

Current coverage is 51.21% (diff: 62.50%)

Merging #2156 into master will decrease coverage by 10.02%

@@             master      #2156   diff @@
==========================================
  Files           125        125
  Lines         11436      11436
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           7004       5857   -1147
- Misses         3545       4833   +1288
+ Partials        887        746    -141

Powered by Codecov. Last update 954b4e8...c21d8d3

LGTM

That’s OK. @dmcgowan Thanks for your help.


Add Contributing.md

The document should state

the workflow,
the fact this repo uses semantic-release
the fact it uses angular commit messages

cc @ajsharp

Here's a potential first draft of the workflow section:
Development
All changes should be done on a branch and submitted as pull requests. Make sure your changes pass CI before submitting a pull request.

@ajsharp Please create a PR :)

We can use https://github.com/react-dropzone/react-dropzone/blob/master/CONTRIBUTING.md. We should probably make a note about the release part in both repos.


Error: Couldn't parse function with signature

Hello @hot3eed ,
thanks for the great extension. However, I am failing miserably with Interceptor. I am getting this error message:
Error: Couldn't parse function with signature: static APP.CFMKeyChain.get(APP.CFMKeyChain.Items) -> Swift.Optional<Swift.String>
here is the function definition in the decompiler:
int _$s15APP11CFMKeyChainC3getySSSgAC5ItemsOFZ(int arg0) {
I am using the following Frida script:
var dummy = Process.getModuleByName('APP');
var symbols = dummy.enumerateSymbols();
symbols = symbols.filter(s => s.name == '$s15APP11CFMKeyChainC3getySSSgAC5ItemsOFZ');
var target = symbols[0].address;
var Int = Swift.structs.Int;
var String = Swift.structs.String;
var getLoadableStruct = Swift.NativeFunction(target, String , [ Int ]);
Swift.Interceptor.attach(getLoadableStruct.address, {
    onLeave: function(retval) {
            console.log("IN2");
            console.log(JSON.stringify(retval));
            console.log(retval.$class);
        }

I am getting the same output if I put 2 Int:
var dummy = Process.getModuleByName('APP');
var symbols = dummy.enumerateSymbols();
symbols = symbols.filter(s => s.name == '$s15APP11CFMKeyChainC3getySSSgAC5ItemsOFZ');
var target = symbols[0].address;
var Int = Swift.structs.Int;
var getLoadableStruct = Swift.NativeFunction(target, Int , [ Int ]);
Swift.Interceptor.attach(getLoadableStruct.address, {
    onLeave: function(retval) {
            console.log("IN2");
            console.log(JSON.stringify(retval));
            console.log(retval.$class);
        }

Any advice? I am losing my head here :(
thanks

Hi, sorry it's been a long time since I worked on this project. Can you upload the binary or link to it so I can reproduce?

Thanks for the response, @hot3eed . But this application belonged to a customer, so I cannot share it unfortunately :(

Hey, actually I don't need the binary for this specific error. Thanks for reporting, this bug is next in queue to be fixed.

Fantastic. Thank you, @hot3eed !

Hello @hot3eed ,
apologies for this message. But this is so little information available about Frida Swift scripts and examples, it is extremely difficult to do anything, without some developer knowledge.
When you have a moment, could you have a look at the below, please? Any suggestion, pointers, examples, or forum I can ask such question would be greatly appreciated.
I have the following class definition dumped with DSDUMP:
 class APP.RefreshableCredentials : _SwiftObject @rpath/libswiftCore.dylib {
        // Properties
        var networkManager : NetworkManager
        var priveleges : CredentialPriveleges
        var customerAppKeychainAccess : CustomerAppKeychainAccess

        // Swift methods
        0x10004d45c  func RefreshableCredentials.networkManager.getter // getter
        0x10004d49c  func RefreshableCredentials.networkManager.setter // setter
        0x10004d4ec  func RefreshableCredentials.networkManager.modify // modifyCoroutine
        0x10004d620  class func RefreshableCredentials.__allocating_init(networkManager:) // init
        0x10004d70c  func RefreshableCredentials.verifyPincodeHash(pincodeHash:) // method
        0x10004de4c  func RefreshableCredentials.createNewPincode(newPincodeHash:completionHandler:) // method
[...]
 }

Some frida console output:
var RefreshableCredentials = Swift.classes.RefreshableCredentials
RefreshableCredential
{
   "address": "0x102cc3894",
   "name": "APP.RefreshableCredentials.verifyPincodeHash(pincodeHash: Swift.String) -> Swift.Bool",
   "type": "Method"
},
{
   "address": "0x102cc4470",
   "name": "APP.RefreshableCredentials.createNewPincode(newPincodeHash: Swift.String, completionHandler: () -> ()) -> ()",
   "type": "Method"
},
[...]

Could you advise how I can execute 'createNewPincode' or 'verifyPincodeHash' method from Frida interface? Also, how I can intercept the 'verifyPincodeHash' method and read the 'pincodeHash' value?
I don't want to waste your time. I spend many hours trying different approaches, scripts, but nothing worked for me. Other scripts on the internet like "https://codeshare.frida.re/@Numenorean/cryptoswiftsha1/" are extremely manual in translating different types.
thanks a lot for any advice

Hi @0xElessar. For interception, have you tried using the Swift.Interceptor API? Since you have symbols, it can work. (can since the bridge is really experimental quality at the moment).
For executing those APIs ad-hoc, you can also theoretically use the Swift.NativeFunction, and in order to construct the arguments, you can use the new Swift.Struct(type, options) API, where type can be retrieved using Swift.modules.Swift.structs.String in your case of APP.RefreshableCredentials.verifyPincodeHash, you would then have to construct the string manually using raw bytes.
PS: try using the bridge from git since the one bundled with Frida can be lagging behind in releases.

Thank you, @hot3eed . Much appreciated.
I have managed to use frida-trace successfully. Although the new Swift supported frida-trace (https://frida.re/news/2023/11/04/frida-16-1-5-released/ -option '-y') does not work, I am getting the Swift version not supported, but the standard 'module/function' tracing works fine for me:
frida-trace -U APP -i 'APP!*Keychain*'
I also found on the Internet a nice trick to display Swift strings:
[...]
  onEnter(log, args, state) {
    log('$sSS11CryptoSwiftE6sha256SSyF()');
[...]

var toStringAddr = Module.findExportByName("libswiftFoundation.dylib","$sSS10FoundationE19_bridgeToObjectiveCSo8NSStringCyF");
var toStringCall = new NativeFunction(toStringAddr, 'pointer', ['pointer', 'pointer']);

function create_swift_string(ptr1,ptr2)
{
        var str = toStringCall(ptr1,ptr2);
        return ObjC.Object(str);
};

   log(create_swift_string(args[0],args[1])); // displays the string, which will be hashed by SHA256 function
[...]

I wanted to avoid to play with RAW bytes, but it seems it is unavoidable with String creation. Fortunately, I found another Swift method to bypass the authentication by modifying the BOOL value returned from the function. Suprisingly the code I used with Obj-C, worked fine with the Swift function:
 onEnter(log, args, state) {
    log('$s17APP0aB14KeychainC13verifyPincode04withG4HashSbSS_tFZ()');
  },

   onLeave(log, retval, state) {
    log('RETVAL:' + retval.toString());
    retval.replace(0x01)
    log('Modified RETVAL:' + retval.toString());
  }

Thanks a lot for your help, @hot3eed .

Still can't figure out how to get string from retval.
Please help.


Normalize regression test

FYI @MechanicKim

Coverage decreased (-0.2%) to 98.155% when pulling 09ca9bf4a34efbed4cda45847c3b840ca78193d5 on normalize-regression-test into 3a24cafada474599d6e8c3d10148e3f7af30b0c6 on master.


Add missing cluster leader task

This task was added in Mendix 8.13.0.

@hugomendix
Hi Hugo,
I assume that this needs to be added to the refguide8 version of the document as well?

@MarkvanMents Yes, we simply forgot to add this to the documentation when we added this action to the cluster management.

OK - I'll publish this and add the same information for Mx 8.13.0 and above.

See also: https://github.com/mendix/docs/commit/216f603f17c0144b4afa8d77fde1f5bbee20d015


Update dependencies

Update github actions to use node 20 and update lint staged to 15 (only major change is that it requries node 18 now to run)
Only outdated dependency was lint staged: 14 -> 15.0.2 (major change was support dropped for node 16: https://github.com/lint-staged/lint-staged/releases/tag/v15.0.0)

Thanks.


Failing with Ruby 2.4 and later

Looks like this library started failing its own tests starting with Ruby 2.4. Not sure why, I can only speculate that there was a change inruby_xmalloc somewhere.

Replacing ruby_xmalloc and ruby_xfree with malloc and free, respectively, had no effect. I wonder if the encoding checks are different.

Fixed in https://github.com/djberg96/win32-xpath/pull/6.


Use the Styleguide without HTML5 Mode for URLs

I would like to host the resultant styleguide site on gh-pages. This is a static hosting, it does not allow to run or tune server. So it is not possible to teach it to resolve all the URLs to index.html. This is why I would prefer to have the running Angular application in Hashbang Mode. So that the URLs it responds would be not <server>/section/1 but <server>/#section/1.
Can we have an option in generator which switches off current HTML5 Mode for the URLs?

We were thinking about discarding the --output option but I think GitHub Pages is a good reason for keeping it around. We should still probably make the --output flag optional and keep the files in memory unless the user specifically wants to have them on disk. If we are still going to support outputting the files for static hosting we should revisit the singe-page app use case and check what works and what doesn't.

0.3.11 has now possibility to disable HTML5 history API wtih setting disableHtml5Mode.


Wrong order after populating entry output

To reproduce:
Open page demo "Blog entry output"
Select "Edit defaults"
Press "Edit"
Add content block with text "123" after Page Title (drag & drop), so it's in the middle
Do "Setup on Child Pages" for this new block
Clear cache
Check any blog entries
The new block appears in the wrong position (at very bottom)
If you create New blog entry, it's in right position

V 8.1.0

I can confirm this.

This is the standard behavior. Setup on child pages doesn't take another blocks into account; it doesn't know what other blocks you have on the page.

@aembler you don't see this a problem from user perspective? The "Setup on Child Pages" is totally useless in this case. Why would anybody want to add blocks always at bottom?

Once I have, for example, blog with entries. I can't add anything in the middle, and I can't reorder, add missing title or anything. How this can be "standard " ?

What are you trying to do that you are constantly trying to add blocks in the middle of every page of a particular type?
If you need this level of flexibility I suggest using a stack: you can place the stack on the outputs page. Copy that stack out to every page of that type. Then you can add blocks, remove blocks, reorder blocks, etc... into the stack itself. The stack supports version control, and anything you add within the stack can be reordered independently, and the stack will update in realtime with all the pages that have the stack added to it.

What are you trying to do that you are constantly trying to add blocks in the middle of every page of a particular type?
If you need this level of flexibility...

@aembler
actually is not something alien. For example Blog's/news Entries do change in time (with new style tendencies). It's my personal experience developing a Big news website for my Local country. For example, first you have Title at top, than picture, then text. Then you reorganize to picture > title > text, like here https://htmlstream.com/preview/unify-v1.9.8/blog_large_right_sidebar_item1.html. Also, In the start You might have no social networks. And then you have them one day, and according to designs you what to add share icons at top of the page.

If you need this level of flexibility I suggest using a stack:

I will try this and report back. But keep in mind, that in classical case, when people build something like blogs/news, they DO refer to well documented tutorials > https://documentation.concrete5.org/tutorials/setup-a-simple-blog-within-concrete-5-7 and I think they (just like me) assume, that, in time, they CAN reorganize/update those outputs as they want (it sounds just right and logical). And they can't, and if there are already +1000 entries posted, it's kind of a tragedy (a trap, especially if you have some demanding client).

I also have written some abstract solution -> https://github.com/concrete5/concrete5/issues/5376, but nobody has given feedback yet.

@aembler stack DO not allow Composer control, so.. this means the plan isn't working?! I can move stack stuff, but can re-position Composer control against it.

I also CAN'T do lay-outing in Stacks.

@aembler btw I'm working on https://github.com/concrete5/concrete5/issues/5376, and will finish in a week or two.


UHF-9755

UHF-9755

What was done

Install readonly_field_widget if it's not installed (as it's a dependency only for helfi_tpr module).

How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-9755

Run make drush-updb drush-cr drush-cex

How to test

[ ] Check that the read only widget gets enabled and installed
[ ] Check that code follows our standards

Other PRs

https://github.com/City-of-Helsinki/drupal-emergency-site/pull/34

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 14.53%.  Consider uploading reports for the commit 505be16 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #715   +/-   ##
=========================================
  Coverage     14.53%   14.53%
  Complexity      256      256
=========================================
  Files            30       30
  Lines           977      977
=========================================
  Hits            142      142
  Misses          835      835

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


invalid header field value"oci runtime error"

hello,
When i exec "docker run -it xxx  /bin/bash", I get
the next error. Having no idea how to do.
error log:
docker :Error response from daemon :invalid header field value "oci runtime error:container_linux:247:starting container process cause "operation not supported"\n"
by the way,
bash#docker version
Client:
Version:  1.12.5
API version:  1.24
Go version: go1.7
Git commit: 7392c3b-unsupported
Built: Mon Jan 9 21:44:28 2017
OS/Arch: linux/mips64el
thanks

images is created by my self.  Runing normal in docker-1.6 at our plate

Hi, we currently do not have official support for MIPS platforms, so not surprised you are running into issues, and as you see you are running an unsupported commit as well, and you have not provided the information requested in the template. I don't know where you got your Docker from, or what the image you are trying to run is, I am not sure if there are mips64el images available either, so there is very little I can do to help other than guessing. My guess would be you don't have the right options for containers compiled into your kernel; the check-config.sh script in this repo.
As far as I know no one is currently working on mips64 support, although there has been some discussion of mips32 support once the Go port is done. It would be nice if someone wants to work on it though.
I am closing this as there is no mips support, and master will not build on mips at all at present as there is no gccgo support any more, so it needs a real port done. Feel free to continue discussion here though.

Thank you. I git clone docker from github. Built docker,containerd,runc etc.  What's more, i run other orders successfully except "docker run". By the way, Image  is created by making tiny system, and exec "cat xxx.tar|docker import - xxx" .

@justincormack When i run the check-config.sh , the console output is as follow. I guess the reason why "CONFIG_NETFILTER_XT_MATCH_IPVS" is disable .
[bash]$ sh ./contrib/check-config.sh
warning: /proc/config.gz does not exist, searching other paths for kernel config ...
info: reading kernel config from /boot/config-3.10.84-11.fc21.loongson.mips64el ...
Generally Necessary:

cgroup hierarchy: properly mounted [/sys/fs/cgroup]
CONFIG_NAMESPACES: enabled
CONFIG_NET_NS: enabled
CONFIG_PID_NS: enabled
CONFIG_IPC_NS: enabled
CONFIG_UTS_NS: enabled
CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
CONFIG_CGROUPS: enabled
CONFIG_CGROUP_CPUACCT: enabled
CONFIG_CGROUP_DEVICE: enabled
CONFIG_CGROUP_FREEZER: enabled
CONFIG_CGROUP_SCHED: enabled
CONFIG_CPUSETS: enabled
CONFIG_MEMCG: enabled
CONFIG_KEYS: enabled
CONFIG_VETH: enabled (as module)
CONFIG_BRIDGE: enabled (as module)
CONFIG_BRIDGE_NETFILTER: enabled
CONFIG_NF_NAT_IPV4: enabled (as module)
CONFIG_IP_NF_FILTER: enabled (as module)
CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_IPVS: missing
CONFIG_NF_NAT: enabled (as module)
CONFIG_NF_NAT_NEEDED: enabled
CONFIG_POSIX_MQUEUE: enabled

Optional Features:

CONFIG_USER_NS: missing
CONFIG_SECCOMP: enabled
CONFIG_CGROUP_PIDS: missing
CONFIG_MEMCG_SWAP: enabled
CONFIG_MEMCG_SWAP_ENABLED: enabled
CONFIG_MEMCG_KMEM: enabled
CONFIG_RESOURCE_COUNTERS: enabled
CONFIG_BLK_CGROUP: enabled
CONFIG_BLK_DEV_THROTTLING: missing
CONFIG_IOSCHED_CFQ: enabled
CONFIG_CFQ_GROUP_IOSCHED: enabled
CONFIG_CGROUP_PERF: enabled
CONFIG_CGROUP_HUGETLB: missing
CONFIG_NET_CLS_CGROUP: missing
CONFIG_NETPRIO_CGROUP: missing
CONFIG_CFS_BANDWIDTH: enabled
CONFIG_FAIR_GROUP_SCHED: enabled
CONFIG_RT_GROUP_SCHED: enabled
CONFIG_IP_VS: enabled (as module)
CONFIG_IP_VS_NFCT: missing
CONFIG_IP_VS_RR: missing
CONFIG_EXT3_FS: enabled
CONFIG_EXT3_FS_XATTR: enabled
CONFIG_EXT3_FS_POSIX_ACL: enabled
CONFIG_EXT3_FS_SECURITY: enabled
CONFIG_EXT4_FS: enabled
CONFIG_EXT4_FS_POSIX_ACL: enabled
CONFIG_EXT4_FS_SECURITY: enabled
Network Drivers:

"overlay":

CONFIG_VXLAN: missing
Optional (for secure networks):
CONFIG_XFRM_ALGO: enabled
CONFIG_XFRM_USER: enabled

"ipvlan":

CONFIG_IPVLAN: missing

"macvlan":

CONFIG_MACVLAN: enabled (as module)
CONFIG_DUMMY: enabled (as module)

Storage Drivers:

"aufs":

CONFIG_AUFS_FS: missing

"btrfs":

CONFIG_BTRFS_FS: enabled (as module)

"devicemapper":

CONFIG_BLK_DEV_DM: enabled
CONFIG_DM_THIN_PROVISIONING: enabled (as module)

"overlay":

CONFIG_OVERLAY_FS: missing

"zfs":

/dev/zfs: missing
zfs command: missing
zpool command: missing

Limits:

/proc/sys/kernel/keys/root_maxkeys: 200
This should be set to at least 10000, for example set: sysctl -w kernel/keys/root_maxkeys=1000000


Fix all ci-check / integration-ui tests

Detailed description

Describe in detail the issue you're having.

For almost all PRs, the ci-check / integration-ui tests seem to sporadically fail.

Is this a feature request (new component, new icon), a bug, or a general
issue?

Bug

Is this issue related to a specific component?

Unknown

What did you expect to happen? What happened instead? What would you like to
see changed?

Tests all clear successfully

What browser are you working in?

Github Actions

What version of the IBM.com Library are you using?

Latest
Steps to reproduce the issue

See actions logs: https://github.com/carbon-design-system/ibm-dotcom-library/actions?query=workflow%3Aci-check

@RobertaJHahn can you add this as a topic for engineering refinement?


Enable contiguous gradients with Z1+MoE

MoE training with zero stage 1 only works with contiguous gradients=True.

@tjruwase


vsce publish fails

I cannot publish my extension anymore ... despite verfied as a valid publisher.
Don't know what to do ... ?
PS C:\git\xyz> vsce login
Publisher '' is already known
Do you want to overwrite its PAT? [y/N] y
Personal Access Token for publisher '': ****************************************************
The Personal Access Token verification succeeded for the publisher ''.
PS C:\git\xyz> vsce publish
Publishing<EMAIL_ADDRESS>ERROR  Failed request: (401)
PS C:\git\xyz>

not resolved ... finally successfully uploaded it manually.
See https://code.visualstudio.com/api/working-with-extensions/publishing-extension


CLI can download stemcell by URL

It would be nice to have a download version of bosh upload stemcell https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent that lets me cache stemcells locally. I would like to do something like bosh download stemcell https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent or bosh download public stemcell https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent --full.
As an aside, the output of bosh public stemcells is misleading. "To download use bosh download public stemcell <stemcell_name>'. For full url use --full." implies that --fullis allowed inbosh download public stemcell, but it is only allowed in bosh public stemcells`.

We will be removing bosh public stemcells and bosh download stemcell commans in favor of using bosh.io. Any reason why you dont want to use curl or wget?

No, curl or wget are fine. Closing.