One tikv panic at tikv_util/src/lib.rs:465 when do scale in

Bug Report

What version of TiKV are you using?

[2022/02/15 18:32:08.038 +00:00] [INFO] [lib.rs:80] ["Welcome to TiKV"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Release Version:   5.4.0-alpha"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Edition:           Community"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Git Commit Hash:   4e2af0426c13657c6eeb69bffc7b9847f2f61b47"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Git Commit Branch: heads/refs/tags/v5.5.0-nightly"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["UTC Build Time:    Unknown (env var does not exist when building)"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Rust Version:      rustc 1.59.0-nightly (cfa4ac66c 2022-01-06)"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Enable Features:   jemalloc mem-profiling portable sse test-engines-rocksdb cloud-aws cloud-gcp cloud-azure"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Profile:           dist_release"]
What operating system and CPU are you using?

Steps to reproduce

run oltp testcase oltp_fun_005, hit it when scale in tikvs from 5 to 4.
What did you expect?
What did happened?
[2022/02/15 18:32:04.682 +00:00] [FATAL] [lib.rs:466] ["called Option::unwrap() on a None value"] [backtrace="   0: tikv_util::set_panic_hook::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/lib.rs:465:18\n   1: std::panicking::rust_panic_with_hook\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/panicking.rs:610:17\n   2: std::panicking::begin_panic_handler::{{closure}}\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/panicking.rs:500:13\n   3: std::sys_common::backtrace::__rust_end_short_backtrace\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/sys_common/backtrace.rs:139:18\n   4: rust_begin_unwind\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/panicking.rs:498:5\n   5: core::panicking::panic_fmt\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/core/src/panicking.rs:107:14\n   6: core::panicking::panic\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/core/src/panicking.rs:48:5\n   7: raftstore::store::peer_storage::PeerStorage<EK,ER>::term\n   8: <raftstore::store::peer_storage::PeerStorage<EK,ER> as raft::storage::Storage>::term\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore/src/store/peer_storage.rs:724:9\n      raft::raft_log::RaftLog::term\n             at rust/git/checkouts/raft-rs-42b8049ef2e3af07/2a3d7b6/src/raft_log.rs:131:18\n   9: raft::raft::RaftCore::maybe_send_append\n             at rust/git/checkouts/raft-rs-42b8049ef2e3af07/2a3d7b6/src/raft.rs:809:24\n  10: raft::raft::RaftCore::send_append\n             at rust/git/checkouts/raft-rs-42b8049ef2e3af07/2a3d7b6/src/raft.rs:760:9\n      raft::raft::Raft::send_append\n             at rust/git/checkouts/raft-rs-42b8049ef2e3af07/2a3d7b6/src/raft.rs:873:9\n      raft::raw_node::RawNode::on_entries_fetched\n             at rust/git/checkouts/raft-rs-42b8049ef2e3af07/2a3d7b6/src/raw_node.rs:430:21\n      raftstore::store::fsm::peer::PeerFsmDelegate<EK,ER,T>::on_significant_msg\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore/src/store/fsm/peer.rs:1198:17\n      raftstore::store::fsm::peer::PeerFsmDelegate<EK,ER,T>::handle_msgs\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore/src/store/fsm/peer.rs:639:49\n  11: <raftstore::store::fsm::store::RaftPoller<EK,ER,T> as batch_system::batch::PollHandler<raftstore::store::fsm::peer::PeerFsm<EK,ER>,raftstore::store::fsm::store::StoreFsm>>::handle_normal\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore/src/store/fsm/store.rs:789:9\n  12: batch_system::batch::Poller<N,C,Handler>::poll\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/batch-system/src/batch.rs:406:27\n  13: batch_system::batch::BatchSystem<N,C>::start_poller::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/batch-system/src/batch.rs:572:17\n      std::sys_common::backtrace::__rust_begin_short_backtrace\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/sys_common/backtrace.rs:123:18\n  14: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/thread/mod.rs:477:17\n      <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/core/src/panic/unwind_safe.rs:271:9\n      std::panicking::try::do_call\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/panicking.rs:406:40\n      std::panicking::try\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/panicking.rs:370:19\n      std::panic::catch_unwind\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/panic.rs:133:14\n      std::thread::Builder::spawn_unchecked::{{closure}}\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/thread/mod.rs:476:30\n      core::ops::function::FnOnce::call_once{{vtable.shim}}\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/core/src/ops/function.rs:227:5\n  15: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/alloc/src/boxed.rs:1854:9\n      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/alloc/src/boxed.rs:1854:9\n      std::sys::unix::thread::Thread::new::thread_start\n             at rustc/cfa4ac66c194046f631ce076c75516ecfdeb77ee/library/std/src/sys/unix/thread.rs:108:17\n  16: \n  17: clone\n"] [location=/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore/src/store/peer_storage.rs:1076] [thread_name=raftstore-7-1]
[2022/02/15 18:32:08.038 +00:00] [INFO] [lib.rs:80] ["Welcome to TiKV"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Release Version:   5.4.0-alpha"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Edition:           Community"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Git Commit Hash:   4e2af0426c13657c6eeb69bffc7b9847f2f61b47"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Git Commit Branch: heads/refs/tags/v5.5.0-nightly"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["UTC Build Time:    Unknown (env var does not exist when building)"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Rust Version:      rustc 1.59.0-nightly (cfa4ac66c 2022-01-06)"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Enable Features:   jemalloc mem-profiling portable sse test-engines-rocksdb cloud-aws cloud-gcp cloud-azure"]
[2022/02/15 18:32:08.039 +00:00] [INFO] [lib.rs:85] ["Profile:           dist_release"]
Logs can be get from minio by testbed: endless-oltp-tps-632686-1-336/tc-tikv-0

/type bug
/severity critical
/assign Connor1996


Added Go(lang) to default languages.

Go's popularity is growing, thus the language should be supported by default.
http://www.tiobe.com/tiobe-index/

Travis CI build failed, because I did not submit to the contributor license agreement. Have done it now.

Thanks for the contribution @amller

Thanks from my side for merging


Add return annotation for filter_dir interface

Thought this might help future devs more easily discover the joy of the filter_dir interface you showed me in #154. :)

Ah thank you!


Broadcast session and room changes from sync worker (no encryption yet)

Broadcast session and room-level sync changes from worker to main thread(s).
Encrypted rooms are not yet implemented, that will be addressed in the next PR.
Summary of changes

Introduce a SendQueuePool which allows us to listen to newly-generated events across all rooms. These events are then propagated to the worker. Since "pending events" are handled as part of the sync process, the worker needs to be aware of them so that the sync properly removes them as pending.
Serialize and deserialize sync changes on the worker and in the main thread, respectively.

Screen recordings
https://user-images.githubusercontent.com/550401/230424526-5b856f44-e0b3-4509-90b7-064c7baa407a.mov
https://user-images.githubusercontent.com/550401/230432635-9014a18c-bc88-4ac6-91e9-35061252f81a.mov

I accidentally merged https://github.com/Automattic/hydrogen-web/pull/15 to the wrong branch, this PR is the same as that one but targetting master.


docs(tutorial/5 - Filtering Repeaters): html5 standards

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

What does "html5 standards" mean in the commit message? Can you clarify?

Having a slash there is perfectly fine HTML5.


Standardise block identifier to filename

This is easier to understand than the previous path system and also allows for a flexible file hierarchy.

Merging first so that I can write some decent documentation.


".vscode/settings.json" inside a workspace folder will render the editor inoperable

VSCode Version: Code - Insiders 1.16.0-insider  b9ac10234f86f145fdbcf066758934e0857d7592, 2017-08-25T05:24:57.523Z
OS Version: Windows 10
Reproduces without extensions: Yes (note: extensions' .vscode/*.json doesn't seem to be affected)

Steps to reproduce:

Place (an empty is enough) .vscode/settings.json file under a workspace folder,
Open the workspace,
Every file will now display "Place your folder settings here to overwrite those from the Workspace Settings." and merge some of the parsed .json contents with the editor, thus rendering the editor pretty much inoperable as it breaks e.g. syntax hilighting.

In my case, the .vscode/settings.json was a leftover file from an older version. Don't think it should break the VSCode anyway? A day older or so build was working just fine, so this is likely due to some very recent change. Tried with and without extensions.

Duplicate of #33130


Address bot mistakes/incorrect information

Please provide us with the following information:

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

Minimal steps to reproduce

Bot gets wrong answers literally all the time. Trying to find a way to log these and correct mistakes it often makes.

Any log messages given by the failure

n/a

Expected/desired behavior

I would like to request a feature, or just ask if there's an easy way to do this. I need this bot to provide correct information to my company. It often gets answers wrong. When it gets an answer wrong, I'd like for the bot to learn from its mistakes and get smarter over time. I was thinking maybe creating a log of frequent incorrect answers and feeding that to the bot in its initial query, or in the data folder? I have not had much success with this so far.

Another way I could see this being solved would be having a place to input keywords and the destination of the correct information. So, if it often references the wrong doc when I ask about "vacation policy" for example, if I could manually map to where or what the correct answer is, that would be another way to solve incorrect responses.
The success of this bot depends on the reliability of the it to provide correct info. I believe it needs a way to correct itself and learn from its mistakes, it is very frustrating when it continues to be wrong and there is no way to correct it. Any thoughts? Need this bot to be reliable for my company, and currently it is missing the mark. I have already viewed all the documentation on improving answer quality.
OS and Version?

Windows 11 Pro

azd version?

azd version 1.9.3 (commit e1624330dcc7dde440ecc1eda06aac40e68aa0a3)

Versions

n/a

Mention any other details that might be useful

Thanks! We'll be in touch soon.

I see that you read the doc on improving answer quality already. Have you identified if the incorrect answers are due to the retrieval step or the LLM step?
If they are due to the retrieval step, then you may want to try out different chunking strategies or try a content chunking strategy like concatenating the document title to each chunk. You can also try increasing the retrieval count and/or setting a minimum reranker score. Have you tried running evaluations with https://github.com/Azure-Samples/ai-rag-chat-evaluator to see if any parameters increase answer quality for you?
You can also try changing to a more powerful model like gpt-4. That won't help with the retrieval step, but that could help if the problem is that the model isn't distinguishing well between helpful results and irrelevant results in the sources.

As for whether you can teach the bot: I would first start off with taking those examples that it does poorly on, and add them to an evaluation data set. Then you can run evaluations with different parameters and see whether you can improve results.
There's only so much context that you can fit into the prompt, so I'm not sure it'd work to include stuff in the system prompt like "vacation policy is in doc X". Perhaps it would if your number of documents is small enough.
The way to actually teach these models is fine-tuning, which you can certainly try, but the expense may not be worth it. There's a technique called RAFT from Berkeley which is designed for improving results for RAG applications. The retrieval still needs to be good, however.

It's with retrieval. I believe it's because there are some documents with overlapping content. For example, another one that the bot often gets wrong is confusing the "Company credit card" doc with the "Business card" doc.
How can I concatenate the document title to each chunk? Is there documentation on this? Or how else could I address the bot getting confused in retrieval with overlapping content? Already added metadata to these PDFs but that isn't seeming to help.
I don't know how complicated this would be (I'm just a novice IT intern college student), but ideally, I'd be able to tell the bot if the user says certain keywords like "company card" don't even bother going to the semantic search ranker thing, just skip that step, I'll tell you the exact file to reference and then you can take that info, send to LLM and complete process. This might be something I have to figure out on my own, but please let me know if you think there's a way that could work.
Thank you for the responses and helpful information, it is much appreciated.

@pamelafox Waiting to hear back on this, let me know thank you!

To concatenate the title to each chunk, you would modify the code here:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/e8fd8190151f9af6e8b38670c5ddd84a0e793fae/app/backend/prepdocslib/searchmanager.py#L211
Specifically, instead of "content": section.split_page.text, you would set that content field to something like "Document title: {title}\n Document chunk: {section.split_page.text}"
If you wanted it included in the vector embedding, you'd pass that string to the embeddings as well:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/e8fd8190151f9af6e8b38670c5ddd84a0e793fae/app/backend/prepdocslib/searchmanager.py#L237
As for skipping a search directly and going directly to that file, check out this blog post where I describe one way to do that:
https://blog.pamelafox.org/2024/03/rag-techniques-using-function-calling.html


Optimized query and added browser-based tests

Awesome! However it still looks like the distributable file has a lot of overhead in terms of all the webpack stuff, I saw that Dexie doesn't use webpack (not sure why I even needed it) and the compiled files have multiple versions for different environments, what do you think the best way to achieve a similar result with the plugin would be? I think we should provide a node and web (minified) versions in the dist folder. Does that make sense to you? :)

Sure. I use rollupjs in place of webpack. Much smaller footprint. There's a babel alternative called Buble from the author of rollupjs that is simpler and produces less code. I think we could give it a try and produce dist versions similar to those of Dexie.Syncable.

PS...  aren't you going to merge the PR ?

haha, yeah, sorry I was just looking into the distribution, but I think we're good to go for now :) Thanks for the awesome work!


Add buttons to GUI to open relevant sections of the System Settings preferences panel [ENHANCEMENT]

Add button to open System Settings - Accessibility API
The installation intructions for granting permissions requires that the app needs Accessibility permissions to work properly.
Suggestion to simplify access to the correct setting in System Settings by adding a button/control on the GUI to run a bash command to open System Settings on the correct panel.
On macOS Ventura (and I think Monterrey too) the command is:
open "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility"

Add button to open System Settings - Xcode Source Editor Extension
The installation intructions for enabling the extension requires that the Copilot is added as an Xcode extension.
Suggestion to simplify access to the correct setting in System Settings by adding a button/control on the GUI to run a bash command to open System Settings on the correct panel.
On macOS Ventura the command is:
open "x-apple.systempreferences:com.apple.ExtensionsPreferences"

NOTE:  I don't have a macOS Monterrey install, these steps should be checked & verified.
On macOS Monterrey, access to the Extensions preference panel is not supported by URLScheme, may need to use AppleScript instead:
tell application "System Preferences"
	activate
	set the current pane to pane id "com.apple.preferences.extensions"
end tell

or using bash
osascript -e 'tell Application "System Preferences"' -e 'activate' -e 'set the current pane to pane id "com.apple.preferences.extensions"' -e 'end tell'

List of methods for opening System Settings obtained from bvanpeski - SystemPreferences

why I can not see copilot for xcode in extensions? mac os 12.6

@intitni

@dustturtle Please do not reply to a random issue with your own question. Please check #42 to see if it can solve your problem.

Released in 0.16.0


Tensorflow 2.0 SavedModel format with GPU acceleration slowdown

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): tensorflow==2.0.0-rc1 (2.0.0rc0-gpu-py3 docker image)
Python version: 3.5.0
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: -
GPU model and memory: TeslaV100

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
I have a SavedModel trained with Tensorflow 2.0 which I use to make an inference as follows:
 model= tf.saved_model.load(export_dir = 'path/to/savedmodel/1')
 infer = model.signatures[tf.saved_model.DEFAULT_SERVING_SIGNATURE_DEF_KEY]
 outputs = infer(img_tensor)

The model predicts fast on a CPU but when using a GPU device, it scales linearly and GPU does not offer any advantage. When logging the device placement, I see that GPU is used.
To compare, I have the same model trained in Tensorflow 1.13 saved in frozen graph format. I use the model as follows:

   graph = load_graph('path/to/graph.pb')
   labels = load_labels('path/to/labels.txt')

    input_name = 'import/Placeholder'
    output_name = 'import/final_result'

    input_operation = graph.get_operation_by_name(input_name)
    output_operation = graph.get_operation_by_name(output_name)

    # initialize a tensorflow session
    with tf.compat.v1.Session(graph=graph) as sess:
        results = sess.run(
            output_operation.outputs[0],
            {input_operation.outputs[0]: img_array})

        sess.close()

def load_graph(model_file):
    graph = tf.Graph()
    graph_def = tf.compat.v1.GraphDef()

    with open(model_file, "rb") as file:
        graph_def.ParseFromString(file.read())

    with graph.as_default():
        tf.import_graph_def(graph_def)

    return graph

The timing of this model on GPU in the same environment is much faster than SavedModel format. I think this is a performance issue.
Here are the timing details:
TF2.0 SavedModel
Batch of 64 images CPU: 23 seconds
Batch of 64 images GPU: 14 seconds
TF13.0 Frozen Graph:
Batch of 64 images CPU: 25 seconds
Batch of 64 images GPU: 5 seconds
Describe the expected behavior
My expected behaviour is that Tensorflow 2.0 version with SavedModel would use GPU acceleration. Maybe I am missing on how to import the SavedModel in python. Please let me know what could be the route cause of it.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

In order to expedite the trouble-shooting process, please provide a minimal standalone code and necessary files to reproduce the issue reported here in our environment.

@SlavaKeshkov
Any updates on this issue please.Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

@SlavaKeshkov ，
Has your problem been solved? Do you know how to use GPU to speed up savedmodel(TF2.0) inference？


Fix and add tests for statblock that fails to import

Wych-harpies (8): Init +3; Atk talons +1 melee (1 point); AC 12; HD 2d8; hp 15, 6, 12, 9, 10, 7, 15, 9; MV flight 30'; Act 1d20; SP snatch and grab; SV Fort +1, Ref +2, Will +2;

So this is failing because there is no alignment on the end.  Works fine with the alignment on the end.  Given the trailing semi-colon, it seems like it might have been missed in the copy/paste?

Works if original statblock is pasted in in its entirety.


Top and bottom layers not selectable by path point annotator library

I notice that in the path annotator library, as well as in the example script shown here (see below):
https://napari-threedee.github.io/generated/gallery/library/path_annotator_library
The top and bottom layers are not selectable via alt-click
import napari
import numpy as np
from skimage import data

from napari_threedee.annotators import PathAnnotator
from napari_threedee.data_models import N3dPaths, N3dPath

CREATE_LAYER_FROM_EXISTING_DATA = True

# create napari viewer
viewer = napari.Viewer(ndisplay=3)

# generate image data
blobs = data.binary_blobs(length=64, volume_fraction=0.1, n_dim=4).astype(float)

# add image layer to viewer (rendering as a plane)
image_layer = viewer.add_image(
    blobs,
    name='orange plane',
    rendering='average',
    colormap='bop orange',
    blending='translucent',
    opacity=0.5,
    depiction='plane',
    plane={
        'position': (32, 32, 32),
        'normal': (1, 0, 0),
        'thickness': 10,
    }
)

# optionally create an n3d compatible points layer from existing data
if CREATE_LAYER_FROM_EXISTING_DATA is True:
    path = N3dPath(data=np.random.uniform(low=8, high=56, size=(10, 3)))
    points_layer = N3dPaths(data=[path]).as_layer()  # list of N3dPath
else:
    points_layer = None

# create the path annotator
annotator = PathAnnotator(
    viewer=viewer,
    image_layer=image_layer,
    points_layer=points_layer,
    enabled=True,
)

# run napari
viewer.axes.visible = True
viewer.axes.labels = False
viewer.camera.angles = (-15, 25, -30)
viewer.camera.zoom *= 0.5
napari.run()

hey @fg1215 - what exactly do you mean by this, that the layers in the layer list are not selectable or that you can not add a point to the slice if the slice is at the top/bottom?
If the latter: I've reproduced and will submit a PR with a solution :)

Closed by #140 . Please feel free to re-open if the issue persists.


Cannot start nuxt:  tailwindConfig.content.push is not a function

Using the installation notes, just adding @nuxthq/ui and removing @nuxtjs/color-mode and @nuxtjs/tailwindcss results in the following error when starting up:
Cannot start nuxt:  tailwindConfig.content.push is not a function
at node_modules/@nuxt/content/dist/module.mjs:477:30
at node_modules/hookable/dist/index.mjs:48:66
at Object.run (node_modules/hookable/dist/index.mjs:41:43)
at node_modules/hookable/dist/index.mjs:48:56
at async setup (node_modules/@nuxtjs/tailwindcss/dist/module.mjs:250:5)
at async normalizedModule (node_modules/@nuxtjs/tailwindcss/node_modules/@nuxt/kit/dist/index.mjs:2137:17)
at async installModule (node_modules/@nuxthq/ui/node_modules/@nuxt/kit/dist/index.mjs:2409:95)
at async setup (node_modules/@nuxthq/ui/dist/module.mjs:312:5)
at async normalizedModule (node_modules/@nuxthq/ui/node_modules/@nuxt/kit/dist/index.mjs:2140:17)
at async installModule (node_modules/nuxt/node_modules/@nuxt/kit/dist/index.mjs:440:95)

Hello @iamgmd,
Are you using by any chance @nuxt/content and which version?

Hi @benjamincanac
Yes,
"@nuxt/content": "2.5.1"

Upgrading to the latest 2.7.0 should fix the issue.

Can this issue be closed?

I am having this issue with nuxt 3.6.5 and nuxt ui 2.7.0. I do not have the content module intalled.
WARN  warn - The purge/content options have changed in Tailwind CSS v3.0.                                                                                14:49:31
WARN  warn - Update your configuration file to eliminate this warning.                                                                                14:49:31
WARN  warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources                                                                                14:49:31
ℹ Using Tailwind CSS from ~/assets/css/tailwind.css                                                                                nuxt:tailwindcss 14:49:31
ERROR  Cannot start nuxt:  (tailwindConfig.content || []).map is not a function

Hmm, looks like similar to #494. I wonder if it's not a problem with pnpm. It's hard to reproduce.


Support for conda environment

I use conda base as the default python interpreter and have pytorch installed in dedicated envs incase of conflicts. Is there any way I can select the interperter?

How about the solution that adds a custom config option to select a python interpreter? I can be supported in the next version if needed.

It is fine as a workaround.

pythonPath has been supported to customize in v0.0.5 now. 🎉


Remove projects as the REST API for these is no longer available

The projects (classic) REST API has been removed so this should also be removed from here.

This would be a great PR for any new contributor to this repo or a new Go developer.
All contributions are greatly appreciated!
Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work.
Also feel free to perform a code review on any PR that has the label "NeedsReview" - we appreciate those contributions too!
Please check out our CONTRIBUTING.md guide to get started. (In particular, please remember to go generate ./... and don't use force-push to your PRs.)
Thank you!

@gmlewis I think this issue requires attention from one of the maintainers as projects are integrated across more than just the projects service. I attempted a quick removal and came across a lot of issues to resolve, I suspect that there is more broken functionality that just the project service erroring.

@stevehipwell - when you have time, a code review of #3380 would be greatly appreciated.


sitemap index

How to create "sitemap index" by using this package or any of meteor package..??

Hey, no, this package doesn't do sitemap indexes.  However, you can call sitemaps.add() as many times as you want (with different filenames), and it will automatically add these to your robots.txt file dynamically via the robots-txt package.

This would definitely be an improvement to this further very useful package. +1


cleanup olivias searches

ref https://github.com/ff14-advanced-market-search/saddlebag-with-pockets/pull/146#discussion_r1038638245
Olivia gave me 11 new searches and naming is hard especially when theres alot of manual copying and pasting on my part
also separating it out now into the following sections in the future or new tabs may be good: Saddlebag Searches, Olivias Low Cost Investment, Olivias Medium Cost Investment, and Olivias High Cost Investment

I think it might be worth refactoring how we do the queries, then people can make custom ones and share them as url links:
saddlebag.com/queries/full-scan?homeServerId=2&roi=50 ...
This will enable us to read these on the form page, and people can search that way.
We might need to refactor the redux store to instead store the last 10 searches or something so people can still see their previous searches.
This will also make it easier for people to share around links and customise their own search results.
We can make a 'copylink to clipboard' button to make it easier for users.


Add dependencies to README

Had a couple dependencies that I needed to install on my Lubuntu 16.04 machine to get this to build. These should be added to the README.

Closed by #2


Remove platform-specific targets

This helps remove unneeded code and complexity. The library can simply be referenced as a net6 or net7 library without a platform-specific target. There is currently no downside to this.
In the future, if there were ever a desire to add platform-specific handlers or configurations, then it could always be added back at that time.
This also updates the README to explain that it works on all MAUI platforms

I realize that this suggests that I am imposing an extra support burden on the project, but in my opinion we don't need to test on Tizen or MacCatalyst. Rather, if there is anything broken on those platforms which is not also broken on Windows or Android, then it is a bug in MAUI itself because we aren't even using any platform-specific code at all anyways. So everything should work on all MAUI platforms.


Touchpad/Trackpad scrolling IE10+ and Edge

Right now you can't scroll with your touchpad/trackpad on a element that
has the perfect scrollbar in IE10+ and Edge.
By using the property '-ms-overflow-style' (Supported in IE10+ and Edge)
too hide the overflow instead of the default 'overflow' property, you
keep the scrolling with touchpad/trackpad functionality.

Thank you very much! Can anybody please test this out?

I can test on my IE10/11 VM.
Don't have Edge.
Sent from my iPhone

On 15 Oct 2015, at 04:16, Jun<EMAIL_ADDRESS>wrote:
Thank you very much! Can anybody please test this out?
—
Reply to this email directly or view it on GitHub.

This appears to have fixed our scrolling issues with IE11 on Surface tablets. Thanks!

@noraesae This change didn't seem to make it into 0.6.9 (bower). Try to run bower install perfect-scrollbar and search for touch-action: (which was one of the things this pull request added) in the downloaded code.
TL;DR: Touch scrolling still doesn't work in Edge in 0.6.9

It seems that this commit is the culprit:
https://github.com/noraesae/perfect-scrollbar/commit/3e76ce9d3ed291941f600f9121a2f59b857235a3

True! Sorry for the mistake. Will fix now.

Splendid! Now it works

:+1:


Add domain knust.edu.gh for Kwame Nkrumah University of Science and T…

@Gideon-Nobbs7 I am sorry, the domain st.knust.edu.gh is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Collapsing Navigation (nav.navbar)

Is the navigation meant to collapse when viewed on a mobile device? Resizing the browser when viewing /demos/components.html#slide=8 (the navigation slide), the menu stacks rather than collapses. Not sure if this is intentional, or whether the navbar was intended to function like a mobile menu.
Otherwise, really enjoying your work!

Hi vibrantj, collapsing will be added in future versions.Thanks! :)


Write rules to construct headers for jpeg-turbo using existing templates.

Fixes #6442
Test build:
http://ci.tensorflow.org/view/Experimental/job/exp-win-bzl/8/console
Had to use a few hacks to get this fully working.
Bazel did not allow me to add a dict type with a selector.
It even did not let me use a selector in expand_template's substitutions field.
So I expanded the selector in genrule to accomodate simd/nosimd differences.
I think I can also get rid of my expand_template.bzl , and use expand_header_template in llvm.bzl.
But I am not sure how nice cross 3p usage. Maybe I can create a folder third_party/skylark and pull the skylark rules we are defining to that folder. Or simply third_party/common.bzl
Please let me know which looks nicer.

All regular tests seem to have passed.
In windows, build has succeeded, but due to prolonged red build, some test failures are there.

Done, now the expand template macro is under third_party:common.bzl
PTAL.

All changes done.
Pending test results to merge.


Getting GC Error on Performance and Load testing with Rest-Assured.

Hi,
I have tried to use Rest-Assured for component and functional testing of our SOA Services. Its working good. When I try to do performance testing for specific API. ( Made multiple threads to make http requests using Rest-Assured. RequestSpecificationObject.post(....). But getting GC Error after 5 mins of execution.
failed: GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOf(Arrays.java:3332)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
at java.lang.StringBuilder.append(StringBuilder.java:136)
at org.codehaus.groovy.runtime.StringGroovyMethods.plus(StringGroovyMethods.java:2358)
at org.codehaus.groovy.runtime.dgm$1122.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at io.restassured.internal.RequestSpecificationImpl.defineRequestContentType(RequestSpecificationImpl.groovy:1510)
at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810)
at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:58)
When I gone through the thread - https://groups.google.com/forum/#!topic/rest-assured/-GNquxD2Zes it is specified that its not thread safe.
Please clarify is Rest-Assured thread safe and suitable for performance testing ?

Hi,
It is not thread safe, but if you don't rely on default properties in tests it won't be a real issue. Some day it will be thread safe, I hope :)
Any way, it is not design for real perfomance testing, it's main point provide flexible DSL and bring power of Groovy for responses parsing and verification. But Groovy provides overhead in memory usage with all it's meta data, it will take all available memory very fast. And yeah, there is an issue with garbage collecting all that staff.
So, for perfomance testing it would be better to use someting like gatling.


Add manifest.json

The first step of a PWA is manifest.json.
This resolves https://github.com/GlobalDigitalLibraryio/issues/issues/317

Superceded by https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/262


⚠ Mobitopup has degraded performance

In 3ac9930, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 4718 ms

Resolved: Mobitopup performance has improved in abad7e1.


The function requires a feature absent from the GPU

Hey,
just wondering if anybody came across this problem:
terminate called after throwing an instance of 'std::runtime_error'
  what():  ./include/cudarray/nnet/cudnn.hpp:107: The function requires a feature absent from the GPU
Aborted (core dumped)

I've traced it down to be coming from here: https://github.com/andersbll/neural_artistic_style/blob/master/style_network.py#L99
I'm on Ubuntu 14.04 with a fairly dated GeForce GTX 560.. I suppose that's the reason, though a new card is not an option for me at the moment and I am wondering whether it's possible to get rid of that one feature that's absent from the GPU, though I can't tell which one it would be. Do you have more insight into this?
Thanks already,
Marcel

I think you are right, the GPU might be too old for cuDNN. You can avoid using cuDNN by setting the environment variable CUDNN_ENABLED to 0 before installation.


Missing BroadcastMessageType enums for FFBCommand, ReplaySearchSessionTime and VideoCapture.  As well as the related FFBCommandModeTypes and VideoCaptureModeTypes.

The iRacing C++ defines.h provides BroadcastMessageType enums for three messages not included in irsdkSharp:
FFBCommand, ReplaySearchSessionTime and VideoCapture.
There are corresponding enums for FFBCommandModeTypes and VideoCaptureModeTypes.

Thanks, looking into this soon


make it searchable

by ports, by dates, etc

This is how searches are done on the front-end:They aren't... What will have to happen is that you do the search on the back-end and there's a search endpoint exposed such as 999.99.99://myApp/seacrh=searchTerm that I send an ajax request to and get a json response of the term. Otherwise the front-end will violate MVC and FLUX patterns. It could be done, I'm just sayin...

Done. Need to change css of search to make red background on result highlighting...


[Gekidou MM-39724] - Teams Websocket Events

Summary
This PR handles the following teams websocket events:

Update Team events
Add Team Event

Ticket Link
https://mattermost.atlassian.net/browse/MM-39724
Testing

Open Mobile Device Simulator && connect to test server
Open MM webapp && connect to same test server
Remove from a Team

Webapp - remove youself from a Team
Mobile - observe team removed from team sidebar

Add yourself to a Team

Webapp - add yourself to a team or create a new one
Mobile - observe team added to team sidebar

Update a Team

Webapp - update a team (Examples: change name, add picture)
Mobile - observer update occures

Checklist

[ ] Added or updated unit tests (required for all new features)

Device Information
This PR was tested on:

android emulator

Screenshots

Release Note

@jfrerich where are we on this PR? also needs conflict resolution

@jfrerich where are we on this PR? also needs conflict resolution

https://github.com/mattermost/mattermost-mobile/pull/5858/commits/a5cf3be571ef8dd1ae373021b6912ebe09131b65 batches the WatermelonDB operations that Daniel brought up.  I'm looking at the corner case now.


Add a download button

It will be good idea to implement a function to download the current paste and other to download all the pastes that are in the LocalStorage. Regards.

i also would like to have a download button.

For the current paste we can do it with a data:url on a href and we can even choose the name with the download attribute.
See https://github.com/spiral-project/formbuilder/blob/2002aaad0b91cc10e910cc8a4732ed35a3a25e77/src/js/components/FormEditor/FormHeader.js#L37 as an example.
For the multiple paste download, I don't think it is a feature we really need. (I would rather click on download on each)
But if we really want it, we can do an async.map on all the URL and build some sort of tar on client side, then build the data:url.

See https://gist.github.com/kig/408333 for tar on client side.

At least it would be great to have the download button for the current url. In the current state it is not useable for a newbie. Imagine I sent a file to my little sister, I would have to explain to her to copy paste all the funny caracters and save them in a file with the correct extension. Now imagine I sent her a pdf or a sound file and she opens the link on her smartphone! How would she be able to save it properly?

@juanito003 Yes please feel free to start a PR I will help you.

Sure. But let me first learn Python 3.

@juanito003 : I like the "download this paste" feature, and would welcome a PR. Please insert the dl link after the " Copy paste | Get short url | Email this" links.
However, how do you plan on choosing the file name automatically ?
Indeed, 0bin does not target file sharing right now. You are not supposed to upload mp3 or pdf, although it may now work for some small files. But it's more of a side effect, as the UI is terrible at this.
The idea that we could make it a project allowing sharing file is interesting, but should be debated and in another ticket.

Done in V1.0.0


docker: 27.4.0 -> 27.4.1

Closes https://github.com/NixOS/nixpkgs/issues/366516.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-reviewd workflow started

Extra args: -p docker -p nixosTests.docker
Free space: true
Who asked: lucasew

TARGETS

x86_64-linux: true
x86_64-darwin: false
aarch64-darwin: false

Status and logs: https://github.com/nixosbrasil/nixpkgs-reviewd/actions/runs/12450053894

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366621

x86_64-linux

:white_check_mark: 1 test built:

nixosTests.docker

:white_check_mark: 1 package built:

docker

nixpkgs-review https://github.com/lucasew/nixcfg/actions/runs/12566003035


Don't ignore completionEscape option when using autocompleteMenu

Hi, I noticed that when autocompleteMenu is true, the completionEscape parameter is ignored when using the TAB key to complete. This happens because autocomplete_menu.js doesn't correctly pass this option down to the complete(...) function
Here we get the completionEscape setting and then pass it to the terminal's complete(...) function, as in this example. This fixes the issue and lets us use the completionEscape option with autocompleteMenu

Sounds good! Can also rename the branch, but fixing build makes sense if easy

I think that I've fixed the issue, can you rebase with the devel branch?

Coverage: 81.947% (+0.003%) from 81.944% when pulling a7ed99f6d5c0daec457206dc04528b5bd42b708d on jpaye:autocomplete-menu-completionescape-bug into cf6746e547c59f574fe1f1b02b39d0e23ad2b2c4 on jcubic:devel.


Uniqueness of array of array

Hello,
Imagine that we have and array in lazy [ [1,2,3,4], [4,5,6,7], [1,2,3,4], [9,9,9,9] ] .uniq() -->
will return [ [1,2,3,4], [4,5,6,7], [9,9,9,9] ]
How can we get this... I have flat array and I have used chunk(4) function to make it chunked and need to check uniqueness...
Thanks,
Baris.

It is quite hacky but I threw this together:
var lazy = require('lazy.js');

var bigArray = [ [1,2,3,4], [4,5,6,7], [1,2,3,4], [9,9,9,9] ];

var merged = lazy(bigArray)
              .map(function (innerArray) {
                return lazy(innerArray).join();
              })
              .toArray();
// [ '1,2,3,4', '4,5,6,7', '1,2,3,4', '9,9,9,9' ]

var unique = lazy(merged).uniq().toArray();
// [ '1,2,3,4', '4,5,6,7', '9,9,9,9' ]

var uniqueBigArray = lazy(unique)
                  .map(function (joinedArray){
                    return joinedArray.split(',');
                  })
                  .toArray();
// [ [ '1', '2', '3', '4' ],  [ '4', '5', '6', '7' ], [ '9', '9', '9', '9' ] ]

and here is a minimized version:
lazy(bigArray)
  .map(function (innerArray) {
    return lazy(innerArray).join();
  })
  .uniq()
  .map(function (joinedArray){
    return joinedArray.split(',');
  })
  .toArray();

@smyrick Note that uniq actually accepts a keyFn argument, which means you don't need your surrounding map calls to "encode" and then "decode" the arrays:
lazy(bigArray)
  .uniq(function(arr) { return arr.join(); })
  .toArray();
// [ [ 1, 2, 3, 4 ],
//   [ 4, 5, 6, 7 ],
//   [ 9, 9, 9, 9 ] ]

@dtao Thanks for posting. I just started looking into Lazy.js this week, so I have been spending some time reading the docs but you can get any better help than from the author himself. Keep up the good work!


kie-remote-client: 'better' fix for parallel builds

@mswiderski this what we were talking about yesterday. The same is on 6.2.x already.

Huh.. how did this end up being provided in the first place?!?!?

@mrietvel I did that some time ago :)

+1

Ah. :) +1


Would be nice to have less boilerplate/indents when using VGuard with a single route

I think I understand the benefits of allowing multiple routes for a shared guard, but the current approach seems to hurt readability quite a bit when your use cases are simpler.
For example:
VGuard(
  beforeEnter: (_) async {
    getModel().currentPage = HomePage.path;
    getModel().currentId = navKey.currentState!.pathParameters["id"];
  },
  stackedRoutes: [
    VWidget(
      aliases: [HomePage.path],
      path: HomePage.path + "/:id",
      widget: HomePage(),
    ),
  ],
),

Would be grokked more easily as:
VGuardSingle(
  path: HomePage.path + "/:id",
  aliases: [HomePage.path],
  beforeEnter: (_) async {
    getModel().currentPage = HomePage.path;
    getModel().currentId = navKey.currentState!.pathParameters["id"];
  },
  widget: HomePage(),
),

Not only is it 4 lines shorter, and saves 1 indentation level. But it allows you to put the path first, which helps the eye follow the code.

Hi,
I understand the concern but I would rather follow flutter principle "prefer composition over I heritance".
Ideally I would like to allow you to extends a VRouteElement (as Flutter does) to allow you to easily create a custom VRouteElement.

This wouldn't require inheritence, just a wrapper that composes VGuard + VWidget.
Certainly we could do this ourselves, I just thought it might be some nice sugar for the framework, especially considering 1:1 guard:route is probably a fairly common use case.

This is fairly common but I would have to do:

One for VPage
One for VWidget
One for VNesterPage
One for VNester

This is where the Flutter approach is very powerful, no redondances in the framework so no many things to learn but infinite possibilities for devs

I kinda like how separated it is right now - a wrapper that composes VGuard

VWidget could work, but I think it also might add confusion

No problem it's great to have more inputs. Also this has already been discussed [here] (https://github.com/lulupointu/vrouter/issues/13) and I think this turned out pretty well, I am always open to more opinions.

Yes, I understand the desire to avoid a ton of classes. But should be noted that it's optimizing for simplicity for beginners, and less work for maintainer, but the sacrifice is readability. It's the same kind of reason Container exists, that just combined multiple widgets in 1, its totally not necessary, but it reads better.
Anyways, we can implement ourselves so it's no big deal, thanks for the great package!

I hear you and understand your point of view. I change the package to be more flutter like with the input of several people so I will stay on this spirit for now.
However as you know the Flutter team is currently having experience and non experience people conducting the navigation study using vrouter. I have ask to have as much raw input as possible. If I see that what you are asking come in the research study I might reconcider.
I will keep this issue open for the time being and come to you with my findings.
Anyone having something to say on this might also drop a comment on this issue!

Hey, I don't know if you are still following this but for anyone who might be interesting this is possible in VRouter >= v1.1.1.
You will have to create you own class but this way you can do whatever you want!
Here is a basic example, the trick is to extend VRouteElementBuilder:
class VWidgetGuarded extends VRouteElementBuilder {
  final String? path;
  final Widget widget;
  final Future<void> Function(VRedirector vRedirector)? _beforeEnter;

  VWidgetGuarded({
    required this.path,
    required this.widget,
    Future<void> Function(VRedirector vRedirector)? beforeEnter,
  }) : _beforeEnter = beforeEnter;

  @override
  List<VRouteElement> buildRoutes() => [
        VGuard(
          beforeEnter: _beforeEnter ?? (_) async {},
          stackedRoutes: [
            VWidget(
              path: path,
              widget: widget,
            ),
          ],
        ),
      ];
}

Which can then be used like a regular VRouteElement:
VRouter(
  routes: [
    VWidgetGuarded(
      beforeEnter: (_) async => print('beforeEnter in home!'),
      path: '/home',
      widget: Text('home'),
    ),
  ],
)

You can do even more elegant, since VRouteElementBuilder has a beforeEnter method, you can also override it directly:
class VWidgetGuarded extends VRouteElementBuilder {
  final String? path;
  final Widget widget;
  final Future<void> Function(VRedirector vRedirector)? _beforeEnter;

  VWidgetGuarded({
    required this.path,
    required this.widget,
    Future<void> Function(VRedirector vRedirector)? beforeEnter,
  }) : _beforeEnter = beforeEnter;

  @override
  List<VRouteElement> buildRoutes() => [
        VWidget(
          path: path,
          widget: widget,
        ),
      ];

  @override
  Future<void> beforeEnter(VRedirector vRedirector) async => _beforeEnter?.call(vRedirector);
}

Small project might not use this, but readability is not an issue then.
Bigger project can you this new way of creating VRouteElement extensively to greatly improve the readability, just like we are used to breaking things in different widgets.
I think this is the best middle ground there is between redundancy and readability.

Very nice! Indeed this would be well worth it in a large app if readability of the routing table is important (and it definitely is imo).


chore(deps): bump pyo3 0.20.3 -> 0.21.2

This bumps pyo3 to v0.21, which introduces a new API:

https://pyo3.rs/v0.21.2/migration#from-020-to-021
https://polar.sh/davidhewitt/posts/replacing-pyo3-api-pt1

depends on #147

pyo3 0.22.0 is already out but no need to hurry + depends on https://github.com/apache/arrow-rs/pull/5955 for now


Insulet final touches

@kentquirk please review. This is (mainly) the fix for the bizarre duration on dual-wave boluses that were interrupted before the extended portion was even partially delivered.

LGTM

I know it's already merged...but LGTM too


Remove gem version lock and new template for ubuntu-11.10-server-i386 with ruby 1.9.3p0

Summary:

Remove gem version lock

new template for ubuntu-11.10-server-i386 with ruby 1.9.3p0

I tested the box and it passed all cucumber tests.
PD: Awesome gem, great work!

Hold a sec, there is something broken.

➜  sparkle_share_web git:(feature/new_project) ✗ vagrant up
[default] Importing base box 'ubuntu11.10'...
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] stdin: is not a tty
: stderr
[default] /opt/ruby/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':: stderr
[default]
: stderr
[default] It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
: stderr
[default] /opt/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.2.0/lib/systemu.rb:29: Use RbConfig instead of obsolete and deprecated Config.: stderr
[default]
: stderr
[default] [Sat, 05 Nov 2011 19:47:55 +0000] INFO: *** Chef 0.10.4 ***
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] INFO: Setting the run_list to ["recipe[git]", "recipe[gitolite]", "recipe[rvm]"] from JSON
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] INFO: Run List is [recipe[git], recipe[gitolite], recipe[rvm]]
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] INFO: Run List expands to [git, gitolite, rvm]
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] INFO: Starting Chef Run for ubuntu-11.10-server-i386
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] ERROR: Running exception handlers
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] ERROR: Exception handlers complete
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
: stdout
[default] [Sat, 05 Nov 2011 19:47:57 +0000] FATAL: NameError: uninitialized constant Chef::Recipe::Opscode
: stdout
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chef-solo -c /tmp/vagrant-chef-1/solo.rb -j /tmp/vagrant-chef-1/dna.json

The output of the command prior to failing is outputted below:

[no output]
➜  sparkle_share_web git:(feature/new_project) ✗ vagrant ssh
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic i686)

 * Documentation:  https://help.ubuntu.com/
Last login: Sat Nov  5 18:40:12 2011 from <IP_ADDRESS>
vagrant@ubuntu-11:~$ chef-solo
/opt/ruby/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/opt/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.2.0/lib/systemu.rb:29: Use RbConfig instead of obsolete and deprecated Config.
[Sat, 05 Nov 2011 19:49:32 +0000] WARN: *****************************************
[Sat, 05 Nov 2011 19:49:32 +0000] WARN: Can not find config file: /etc/chef/solo.rb, using defaults.
[Sat, 05 Nov 2011 19:49:32 +0000] WARN: No such file or directory - /etc/chef/solo.rb
[Sat, 05 Nov 2011 19:49:32 +0000] WARN: *****************************************
[Sat, 05 Nov 2011 19:49:32 +0000] INFO: *** Chef 0.10.4 ***
[Sat, 05 Nov 2011 19:49:33 +0000] INFO: Run List is []
[Sat, 05 Nov 2011 19:49:33 +0000] INFO: Run List expands to []
[Sat, 05 Nov 2011 19:49:33 +0000] INFO: Starting Chef Run for ubuntu-11.10-server-i386
[Sat, 05 Nov 2011 19:49:33 +0000] FATAL: No cookbook found in ["/var/chef/cookbooks", "/var/chef/site-cookbooks"], make sure cookbook_path is set correctly.
[Sat, 05 Nov 2011 19:49:33 +0000] FATAL: No cookbook found in ["/var/chef/cookbooks", "/var/chef/site-cookbooks"], make sure cookbook_path is set correctly.
[Sat, 05 Nov 2011 19:49:33 +0000] ERROR: Running exception handlers
[Sat, 05 Nov 2011 19:49:33 +0000] ERROR: Exception handlers complete
/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/create_path.rb:49:in `mkdir': Permission denied - /var/chef (Errno::EACCES)
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/create_path.rb:49:in `block in create_path'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/create_path.rb:45:in `each_index'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/create_path.rb:45:in `create_path'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/file_cache.rb:204:in `create_cache_path'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/file_cache.rb:53:in `store'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application.rb:134:in `debug_stacktrace'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/solo.rb:210:in `rescue in block in run_application'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/solo.rb:215:in `block in run_application'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `loop'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `run_application'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
	from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-0.10.4/bin/chef-solo:25:in `<top (required)>'
	from /opt/ruby/bin/chef-solo:19:in `load'
	from /opt/ruby/bin/chef-solo:19:in `<main>'
vagrant@ubuntu-11:~$ sudo chef-solo
/opt/ruby/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/opt/ruby/lib/ruby/gems/1.9.1/gems/systemu-2.2.0/lib/systemu.rb:29: Use RbConfig instead of obsolete and deprecated Config.
[Sat, 05 Nov 2011 19:50:32 +0000] WARN: *****************************************
[Sat, 05 Nov 2011 19:50:32 +0000] WARN: Can not find config file: /etc/chef/solo.rb, using defaults.
[Sat, 05 Nov 2011 19:50:32 +0000] WARN: No such file or directory - /etc/chef/solo.rb
[Sat, 05 Nov 2011 19:50:32 +0000] WARN: *****************************************
[Sat, 05 Nov 2011 19:50:32 +0000] INFO: *** Chef 0.10.4 ***
[Sat, 05 Nov 2011 19:50:33 +0000] INFO: Run List is []
[Sat, 05 Nov 2011 19:50:33 +0000] INFO: Run List expands to []
[Sat, 05 Nov 2011 19:50:33 +0000] INFO: Starting Chef Run for ubuntu-11.10-server-i386
[Sat, 05 Nov 2011 19:50:33 +0000] FATAL: No cookbook found in ["/var/chef/cookbooks", "/var/chef/site-cookbooks"], make sure cookbook_path is set correctly.
[Sat, 05 Nov 2011 19:50:33 +0000] FATAL: No cookbook found in ["/var/chef/cookbooks", "/var/chef/site-cookbooks"], make sure cookbook_path is set correctly.
[Sat, 05 Nov 2011 19:50:33 +0000] ERROR: Running exception handlers
[Sat, 05 Nov 2011 19:50:33 +0000] ERROR: Exception handlers complete
[Sat, 05 Nov 2011 19:50:33 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[Sat, 05 Nov 2011 19:50:33 +0000] FATAL: Chef::Exceptions::CookbookNotFound: No cookbook found in ["/var/chef/cookbooks", "/var/chef/site-cookbooks"], make sure cookbook_path is set correctly.

@kylewest  was so kind to provide us with working ubuntu-11.10-server-amd64-ruby-192 version. 1223e605
So I'm closing this pull request. If something isn't working , please feel free to comment.


:rotating_light: setup codecov

https://github.com/tktcorporation/discord-speech-bot/pull/59/checks?check_run_id=3708861956
Sep 25 15:50:38.798  INFO cargo_tarpaulin: Launching test
Sep 25 15:50:38.798  INFO cargo_tarpaulin: running /home/runner/work/discord-speech-bot/discord-speech-bot/target/debug/deps/discord_speech_bot-8d8ddd0aca6fc400
/home/runner/work/discord-speech-bot/discord-speech-bot/target/debug/deps/discord_speech_bot-8d8ddd0aca6fc400: error while loading shared libraries: libopus.so.0: cannot open shared object file: No such file or directory
Error: "Test failed during run"
Error: The process '/usr/share/rust/.cargo/bin/cargo' failed with exit code 1

謎のエラーで落ちる。


fix extra ssh key data

The jenkins build failure is unrelated (e.g. Could not start Jetty server on port 9,998: Address already in use).
LGTM; merging.


No mention of Node.js requirement

In step 7, corresponding to the "step-04" folder, you ask the user to run the commands "npm install" and "node index.js".
At no point in time do you provide a link for the user to install Node.js so that these commands will work. Nor is it mentioned in "Overview" under "What you'll need". It also takes some research to learn that NPM does not need to be installed separately because it is included with Node.js.
Secondly, after the "npm install" command, there is this sentence:

You may get warnings, but if there are errors in red, ask for help!

The user is not in a classroom. There is no teacher to ask for help from.

In step 7 I think you must tell to install Node.js because this is a tutorial and specify to move the downloaded folders to the right place, for example in windows after you run npm install we have a "node_modules" folder and we must copy "socket.io-client" folder to work directory and rename that to "socket.io"

Hi @joshuaptfan — apologies for the delay in responding.

In step 7, corresponding to the "step-04" folder, you ask the user to run the commands "npm install" and "node index.js".
At no point in time do you provide a link for the user to install Node.js so that these commands will work. Nor is it mentioned in "Overview" under "What you'll need". It also takes some research to learn that NPM does not need to be installed separately because it is included with Node.js.

Step 7 has a section at the top explaining how to install Node, with links, and explaining that this enables use to use NPM. Does this make sense?

You may get warnings, but if there are errors in red, ask for help!

The user is not in a classroom. There is no teacher to ask for help from.

Good point — we built this codelab for use at Google events, where there are helpers, but many people will must use it directly from the site. I've updated the explanatory text and will republish soon.


Files & Folders Navigator

To keep up with the project we need a func that READs and stores all Dir & Files. It might be a Map of Maps:
// Output:
map[
   "Dir": [
      "dir1": [
         "dir1Dirs": [
            "dir1DirsD": [],
            "dir1DirsFiles": [],
         ],
         "dir1Files": [],
      ],
      "dir2": [...],
      "dir3": [...],
      "dir4": [...],
      ],
   Files: [
      "a",
      "b",
      "c",
   ],
]

What we need is nested slices (or map) that gets It's folders and append them into the original folders;
Example (pythonic):

slice_of_folders = [
[folderA, [folderAa, [more folders], folderAb, [...]]],
[folderB, [...]],
.
.
.
]

Helpful links:
http://stackoverflow.com/questions/20115327/golang-rename-the-directory-and-partial-file-renaming
https://golang.org/pkg/path/filepath/#Walk

I think #32 is a better approach to this situation, so I'll close this and work on that issue.


Improve Connection between remote client and host is closed error message

import ballerina/io;
import ballerina/http;
import ballerina/lang.runtime;

listener http:Listener serverEP = new(9090, {timeout: 5});

service / on serverEP {

  resource function get hello() returns string {
    runtime:sleep(4);
    runtime:sleep(6);
    io:println("Responding to the request");
    return "hello";
  }
}

When you curl -v "http://localhost:9090/hello" in the backend log error: Connection between remote client and host is closed will be printed.
In a large program it is hard to find where the slowness is coming form.
Can we have more information in the error message such as:
error: Connection between remote client and host is closed (for resource myprog.bal:9)
error: Connection between remote client and host is closed (while executing myprog.bal:11)

(I think this second one may need some runtime API help)
related #2906

Adding related issue: https://github.com/wso2-enterprise/internal-support-ballerina/issues/371


Use a decorator pattern for schema converters

Right now, in order to define a schema converter, we have to mention the version number three times:
def convert_n(engine): ...

register_converter(n, convert_n)

By using a decorator pattern, we can reduce this to once:
@register_converter(version=n)
def _(engine): ...

This change is


feat: allow different options for handling unknown message types

can we use an exported enum instead of raw strings
also it would be useful to have an option for both console error and in-app error
lgtm otherwise

Makes sense. Should I just make in-app-error log to console too?


embassy example app does nothing after being pushed to board using probe-rs

Describe the bug
Running the blinky example from embassy on the STM32F303VCT does not work.
To Reproduce
I test drove the newest probe-rs yesterday using the embassy blinky example on an STM32F3 (STM32F303VCT).  It appeared to flash happily, but then nothing happened (tried another project, button, with the same result).
My efforts:
❯ cargo run --release --bin blinky
    Finished release [optimized + debuginfo] target(s) in 0.11s
     Running `probe-rs run --chip STM32F303ZETx target/thumbv7em-none-eabihf/release/blinky`
     Erasing sectors ✔ [00:00:00] [########################################] 18.00 KiB/18.00 KiB @ 35.40 KiB/s (eta 0s )
 Programming pages   ✔ [00:00:01] [########################################] 17.00 KiB/17.00 KiB @ 14.23 KiB/s (eta 0s )    Finished in 1.728s
Error: An ARM specific error occurred.

Caused by:
    0: The debug probe encountered an error.
    1: An error specific to a probe type occurred
    2: USB
    3: Other error

I realized the default MCU was not the one I have so I changed my embassy-rs/embassy/examples/stm32f3/.cargo/config.toml:
       │ File: .cargo/config.toml
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ [target.'cfg(all(target_arch = "arm", target_os = "none"))']
   2   │ # replace STM32F429ZITx with your chip as listed in `probe-rs chip list`
   3 ~ │ runner = "probe-rs run --chip STM32F303VCTx"
   4   │
   5   │ [build]
   6   │ target = "thumbv7em-none-eabihf"
   7   │
   8   │ [env]
   9   │ DEFMT_LOG = "trace"

▶ cargo run --release --bin blinky
   Compiling embassy-stm32f3-examples v0.1.0 (/Users/Shared/Development/3rd_party/embassy-rs/embassy/examples/stm32f3)
    Finished release [optimized + debuginfo] target(s) in 0.36s
     Running `probe-rs run --chip STM32F303VCTx target/thumbv7em-none-eabihf/release/blinky`
     Erasing sectors ✔ [00:00:00] [########################################] 18.00 KiB/18.00 KiB @ 35.23 KiB/s (eta 0s )
 Programming pages   ✔ [00:00:01] [########################################] 17.00 KiB/17.00 KiB @ 12.85 KiB/s (eta 0s )    Finished in 1.858s
=q^C⏎

Note the random characters on the final line of output--looks similar to a baud rate mismatch.
Regardless, there is no flashing LED on the board.  (I am able to flash blinky apps to the board using OpenOCD.)
I thought I'd try simplifying things and try with cargo-flash since my understanding is it also uses probe-rs:
❯ cargo flash --bin blinky --chip STM32f303VCTx
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
    Flashing /Users/Shared/Development/3rd_party/embassy-rs/embassy/examples/stm32f3/target/thumbv7em-none-eabihf/debug/blinky
        WARN probe_rs::config::target > Using custom sequence for ARMv7 STM32F303VCTx
     Erasing sectors ✔ [00:00:01] [########################################] 62.00 KiB/62.00 KiB @ 51.44 KiB/s (eta 0s )
 Programming pages   ✔ [00:00:03] [########################################] 62.00 KiB/62.00 KiB @ 19.41 KiB/s (eta 0s )    Finished in 4.42s

No messy characters this time as the final line of output, but also still no blinky activity on the board.  I am using the latest probe-rs commit from master as of yesterday morning:
▶ probe-rs --version
probe-rs 0.19.0
git commit: v0.19.0-22-gef5ffaf1

Expected behavior
Expected an LED to be flashing on the board.
Stacktrace
N/A
Desktop (please complete the following information):

macOS Ventura

Additional context
Troubleshooting on Matrix with Noah, Noah suspects the linker script is set for the wrong chip.  I tried flashing the board with probe-rs for this exercise and probe-rs flashed and ran fine.

Additional context here.

The
Caused by:
    0: The debug probe encountered an error.
    1: An error specific to a probe type occurred
    2: USB
    3: Other error

is the interesting part here. Why is the error so weird?

I'm not sure I'd consider it "the interesting part here", given I still can't flash embassy blinky to my board, but given I was configured to the wrong processor, I just assume all bets are off.
Maybe "Are you configured for the correct processor?" should be one of those options?

You can flash - probe-rs is working properly. you just don't build/flash what you need yet =)
But the first error you got should def display something else.

So the flashing itself works. What I am interested in in here is the fact that the error shown is super weird. I took the liberty to adjust the title.


Fix: /servers API invalid responses / OpenAPI schema

Changes

Fixed POST /servers returning an empty response since beta.370+ 4a45de564603021f237cf0b8f953afce945195c4
Fixed GET /servers + /servers/{uuid} returning port as a string instead of integer 059639eb428eaaedf126858a4a51f01f32211ae0

OpenAPI Schema:

Fixed PATCH /servers schema return type 379045c8356c455e70ecc58d90331e44694e0cdb
Added missing uuid parameter to PATCH /servers fead884809cfceb95439a5c7e5c1e9ef4d304a6a
Added missing settings property on Servers model d6441549e8efe0646fff49f6551ac8b4a371e195
Moved delete_unused_* properties from Servers to correct location on ServerSettings bbd7d8b567905195c1070fd1c831cc990b1de9e0

Thank you for the PR!


INT B-18679-Integration (Peer Review Fixes)

B-18679
Original Integration PR
Summary
Adding tests and slight modifications to the UI to address comments made on this task's main PR.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test
Original Testing Instructions

Ensure there are several moves available to view as a QAE/CSR user. At least one PPM and at least one HHG with scheduled pickup and delivery dates.
Login as a QAE/CSR user
Search for moves via any of the three search types
Ensure all four new columns are shown and display accurate data. The date columns should be empty unless there is a scheduled pickup or delivery date.
Ensure sorting and filtering function correctly on all columns that allow it.

New Testing Instructions

Ensure the date pickers that appear when filtering by pickup and delivery dates don't have hidden overflow and don't create a nested scroll bar.

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 15837c90e5df3877f46b6d20aaf4779fd1a74a18


can't refresh available azure  connections because of rate limiting...

Issue Type: Bug
can't refresh available azure connections because of rate limiting...
Azure Data Studio version: azuredatastudio 1.40.1 (3a32679ab590c1023ab4de6f191769e7e127d25b, 2022-11-22T18:30:25.850Z)
OS version: Windows_NT x64 10.0.19045
Restricted Mode: No
Preview Features: Enabled

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-10920X CPU @ 3.50GHz (24 x 3504)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
127.69GB (105.52GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Hi @ssoldatenkov
Does this look similar to: https://github.com/microsoft/azuredatastudio/issues/21453 ?
Please attach logs if its a different issue.

Yes, it is a similar issue as #21453
Attached my log.
1-Azure Accounts.log

Hi @ssoldatenkov
Can you recheck your log setting is set to Verbose? I only see error logs.
In Settings: Azure: Logging Level

@ssoldatenkov how many subscriptions do you have? this is a known issue, if you have multiple subscriptions, for now the work around is to filter subscription before expanding the list.
In the meanwhile, we will also fix it on our end.

@cheenamalhotra I can share more context about the issue when I get back from vacation.

Hi
I have 9 subscriptions. Each with couple sql servers.
Filtering by subscription works as a workaround, thanks.
Here is vebose log, if it helps.
1-Azure Accounts.log

I see there's 1 tenant cd99fef8-... you're not able to authenticate to (you can find its name from logs or Azure Portal)
Using Azure Portal, are you able to authenticate to it (using Switch Directory) and view its resources?

@alanrenmsft yes I'm aware of the throttling issue when fetching azure resources, but here token is not getting acquired so I'm trying to understand why would that happen.

@cheenamalhotra I'm sorry for the confusion. I don't think it is relevant to the issue. Only one tenant is used by me and contains all my subscriptionse21de8eb....
I don't see a possibility to ignore the second tenant. Keeping myself authenticated with is tedious because of security policy that requires entrering second factor code all the time.

If there is no other issue, I'll close this one and we can follow up progress on #21453


Cannot scroll subgrid with mousewheel without scrolling parent grid

If you attempt to scroll in a sub-grid with the mouse wheel it will also (improperly) scroll the parent grid.
You can see the behavior in this plunker: http://plnkr.co/edit/YGlX5XltCzMgZ1fOAO33?p=preview

I'm downgrading this from hi-pri on the basis that I think we're going to release ui-grid with expandable still being beta.  There are a lot of issues still outstanding in expandable and I think we want to focus on getting the core stable first.

This looks like duplicate of #2162.

@jpuri doh, you're right. Closing as a dupe.


Added SystemProperty interface

PR for #199

Coverage remained the same at 86.853% when pulling 26eaca91d0087d2c87b72714f0bb2c7f82a59399 on SherifWaly:#199 into 4a8ef9cab044b8d1010377e611c15c68c6e80934 on opencharles:master.

@amihaiemil Please check this commit. I've added SystemProperty interface with read() method and the other 4 interfaces extending SystemProperty.

Coverage remained the same at 86.853% when pulling fe5559bf86c8434e411417963af1c12cb8cd589b on SherifWaly:#199 into 4a8ef9cab044b8d1010377e611c15c68c6e80934 on opencharles:master.

@rultor merge please

@rultor merge please

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge please

@amihaiemil Done! FYI, the full log is here (took me 1min)


Please add acronym-disambiguation GitHub topic for better discoverability of the project

Thanks @izikeros! Done.


java.lang.RuntimeException: Surface frame wait timed out

Hi friend, recently I got this exception on our reporting platform and it hasn't happened before. I have no idea about what can triggers this exception, have you ever had a similar problem? Over 90 percent of the devices are sumsung Galaxy A12 and A50s.
This is the stack trace:
java.lang.RuntimeException: Surface frame wait timed out at com.linkedin.android.litr.render.VideoRenderInputSurface.awaitNewImage(VideoRenderInputSurface.java:125) at com.linkedin.android.litr.render.GlVideoRenderer.renderFrame(GlVideoRenderer.java:143) at com.linkedin.android.litr.transcoder.VideoTrackTranscoder.resizeDecodedInputFrame(VideoTrackTranscoder.java:230) at com.linkedin.android.litr.transcoder.VideoTrackTranscoder.processNextFrame(VideoTrackTranscoder.java:140) at com.linkedin.android.litr.TransformationJob.processNextFrame(TransformationJob.java:211) at com.linkedin.android.litr.TransformationJob.transform(TransformationJob.java:108) at com.linkedin.android.litr.TransformationJob.run(TransformationJob.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923)

I read the source code and I noticed this wait logic:

Does it trigger the exception after 10 seconds If I canceled the transformationJob before this wait ending?


check spatial reference of sources

 Projektions-Mismatch wird nicht als Fehler erkannt (?)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 22 (63.64%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 85.396%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

operators/src/processing/raster_vector_join/mod.rs
8
11
72.73%

operators/src/processing/point_in_polygon.rs
6
11
54.55%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
30131

Relevant Lines:
35284

💛  - Coveralls

bors merge


fix cropping layer return empty list if crop is higher than data shap…

initialy the PR was in #50612 but the Tensorflow/Keras policy changed. Now is #14958
I do a first try to solve this issue. I think we can do a prototype with Cropping1D and after when everything is perfect, copy the same pattern to Cropping2D, Cropping3D, etc.
Pls, give me your thoughts. @ymodak

This PR must be close because is from Keras Team, not from Tensorflow.
Here is the issue in Keras: https://github.com/keras-team/keras/issues/14958


Use s3 head instead of get to retrieve item metadata

Current S3 implementation uses GetObject operation to retrieve metadata which can be very costly as it downloads the enter object (then discards the body)... we should move that to use Head operation instead.

Fixed in https://github.com/graymeta/stow/pull/180


[CSL-1191] Pure monaddb

Move rocks implementation to db/../DB.Rocks
Move MonadBlocksDB to db/ so that all interfaces are in the same place
Implement pure db based on RWVar X, where X is in-memory datatype holding all mappings as Data.Maps.

@gromakovsky I've fixed what you've asked me to.

Apart from my comments, do we still need MonadBaseControl IO as a subclass of MonadDBRead?

But what about this?

@gromakovsky sadly, yes. This PR wasn't dedicated to remove it and i still have no idea how to do it smoothly.


remove sentry workflow interceptor

even with suggested changes from https://github.com/temporalio/samples-python/pull/46 we are still getting __call__ on threading.Lock restricted warnings - this removes workflow interceptor to prevent those & related issues

Mentioned in Slack, but Sentry is making non-deterministic calls in the sandbox by using thread locks. You can surround the non-deterministic calls with with temporalio.workflow.unsafe.sandbox_unrestricted():.


⚠ DSO-API has degraded performance

In 1d98ab7, DSO-API ($SITE_URL_DSOAPI) experienced degraded performance:

HTTP code: 200
Response time: 20793 ms

Resolved: DSO-API performance has improved in 444fa08 after 6 minutes.


[SPARK-39172][SQL] Remove outer join if all output come from streamed side and buffered side keys exist unique key

What changes were proposed in this pull request?

Improve EliminateOuterJoin that support Remove outer join if all output come from streamed side and buffered side keys exist unique key.
Why are the changes needed?

Improve the optimzation case using the distinct keys framework.
For example:
SELECT t1.* FROM t1 LEFT JOIN (SELECT distinct c1 as c1 FROM t)t2 ON t1.c1 = t2.c1
==>
SELECT t1.* FROM t1

Does this PR introduce any user-facing change?

no, improve performance
How was this patch tested?

add test

cc @cloud-fan @sigmod @wangyum

thanks, merging to master!

thank you @cloud-fan @sigmod for review


How do I programmatically create a marker?

I have tried the below,
this.map.pm.enableDraw('Marker', { snappable: false });
this.map.pm.Draw.Marker._createMarker({ latlng: gps, icon: icon });
this.map.pm.disableDraw('Marker');

but I'm having no luck?  Is it possible?

This is more a question for the leaflet base library. The standard way of adding a marker would be:
var marker = L.marker([51.5, -0.09]).addTo(mymap);


NYC sample notebook feature re-name

Description

To make the feature name more straightforward: f_trip_time_distance --> f_trip_speed.
How was this PR tested?

Notebook pytest
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to clarify your proposed changes.

@xiaoyongzhu do you still have the raw content for the image used in nyc taxi notebook? So we can update the image as well

@blrchen I did update the image that's included in this PR.


Secretly allow --enable-alpha-plugins

After reading through the code of Kustomize and this plugin here, I found it hard to find a reason why the binary plugins hidden behind the --enable-alpha-plugins should be hidden. Any pointers to a rationale would be highly welcomed.
Yet when this didn't work, I built my own fork of this with the following patch:
diff --git a/kustomize/data_source_kustomization.go b/kustomize/data_source_kustomization.go
index 3882b41..e1eed72 100644
--- a/kustomize/data_source_kustomization.go
+++ b/kustomize/data_source_kustomization.go
@@ -131,6 +131,12 @@ func getKustomizeOptions(d *schema.ResourceData) (opts *krusty.Options) {
 			}
 		}

+		if kOpts["enable_alpha_plugins"] != nil {
+			if kOpts["enable_alpha_plugins"].(bool) == true {
+				opts.PluginConfig = types.EnabledPluginConfig(types.BploUseStaticallyLinked)
+			}
+		}
+
 		if kOpts["enable_helm"] != nil {
 			if kOpts["enable_helm"].(bool) == true {
 				opts.PluginConfig = types.EnabledPluginConfig(types.BploUseStaticallyLinked)
diff --git a/kustomize/data_source_kustomization_build.go b/kustomize/data_source_kustomization_build.go
index 3af5318..5cc0a9f 100644
--- a/kustomize/data_source_kustomization_build.go
+++ b/kustomize/data_source_kustomization_build.go
@@ -27,6 +27,10 @@ func dataSourceKustomization() *schema.Resource {
 							Type:     schema.TypeString,
 							Optional: true,
 						},
+						"enable_alpha_plugins": {
+							Type:     schema.TypeBool,
+							Optional: true,
+						},
 						"enable_helm": {
 							Type:     schema.TypeBool,
 							Optional: true,

The output of terraform init right after make build could also be implanted into a third-party repository's lock file, and together with a little correction in versions.tf (where the provider was defined) and manual dropping of the newly generated binary into the 1.0.0 folder even allowed for the custom provider to run.
Until I saw that the code path that I had copied from the enable_helm feature is already available there.
So the secret way to --enable-alpha-plugins is to merely use enable_helm = true, which works fine with KSOPS and also SopsSecretsGenerator.
*g*
This way we can manage Kustomizations from Terraform, and from ArgoCD, which is nice.

somehow addressed this in #220

Indeed, I'll close this issue. Thanks!

Beautiful, thanks to you all!


Avoid reporting a cycle when contextual return type is any, unknown or void

fixes https://github.com/microsoft/TypeScript/issues/56121

@typescript-bot pack this

I mentioned the named functions problems in the comment here. I could fine-tune this further to only skip those when functions are anonymous. The question is - is there any merit in the approach used here at all?

I don't think it's workable. A contextual type is usually an indication that the final result won't be observable, but it's not a guarantee - in generics, nested assignments, and satisfies, there will be a contextual type but the type of the expression can also end up bound to a symbol.
Computing the contextual type can cause also new circularity errors where one wasn't there previously.


Update elasticsearch-rest-client, ... to 8.13.0

About this PR
📦 Updates

org.elasticsearch.client:elasticsearch-rest-client
org.elasticsearch.client:elasticsearch-rest-client-sniffer

from 8.12.2 to 8.13.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.elasticsearch.client" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.elasticsearch.client" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #3039.


chore: bdd-spring-1587205679 to 0.0.1

chore: Promote bdd-spring-1587205679 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


conftest: 0.33.1 -> 0.33.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/conftest/versions.
meta.description for conftest is: "Write tests against structured configuration data"
meta.homepage for conftest is: "https://www.conftest.dev"
meta.changelog for conftest is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.33.2 with grep in /nix/store/xlv9sjg6qs314xfza76h21c4ssc2ki5v-conftest-0.33.2
found 0.33.2 in filename of file in /nix/store/xlv9sjg6qs314xfza76h21c4ssc2ki5v-conftest-0.33.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
conftest

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xlv9sjg6qs314xfza76h21c4ssc2ki5v-conftest-0.33.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xlv9sjg6qs314xfza76h21c4ssc2ki5v-conftest-0.33.2
ls -la /nix/store/xlv9sjg6qs314xfza76h21c4ssc2ki5v-conftest-0.33.2/bin

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

1 package built:

conftest

Maintainer pings
cc @06kellyjac @yurrriq for testing.

Result of nixpkgs-review pr 183213 run on x86_64-linux 1

1 package built:

conftest


deprecation of GitHub GraphQL API timeline

timeline will be removed Use PullRequest.timelineItems instead. Removal on 2019-10-01 UTC

query TimelineEvents($owner: String!, $name: String!, $number: Int!, $last: Int = 100) {
	repository(owner: $owner, name: $name) {
		pullRequest(number: $number) {
			timeline(last: $last) {
				edges {
					node {
						__typename
						...Merged
						...Comment
						...Review
						...Commit
						...AssignedEvent
					}
				}
			}
		}
	}
	rateLimit {
		limit
		cost
		remaining
		resetAt
	}
}

Also

Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.


Difference between Per user MFA and office365 MFA

Reference:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-userstates
Is this per user mfa explained on above doc is nothing but offiice365 MFA ?
Please clarify.
@vipulsparsh, can you please clarify if you have understanding.

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

ID: 4cb129d2-9594-bf0c-5946-982f0ed0d888
Version Independent ID: 6522b038-6853-3552-55c8-f174cf56573d
Content: Enable per-user Multi-Factor Authentication - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-userstates.md
Service: active-directory
Sub-service: authentication
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@MarileeTurscak-MSFT and @MicrosoftGuyJFlo @vipulsparsh,
can any one help me on the above clarification.

They are the same thing. If you are a customer with Office 365 only then this is the MFA method you would use. If you have Conditional Access as part of a license that includes Azure AD Premium you would want to use that instead.
Per-user MFA requires MFA every time your users sign in. It tends to encourage some bad habits like users clicking yes when they get prompts no matter what.

Thanks @AmitavaHazra and @MicrosoftGuyJFlo
Yes, Office 365 allows MFA to be enabled on a per-user basis, enabled or disabled for all users, or for all sign-in events using security defaults. With the Azure AD Premium plan the difference is that you can use conditional access for a more customized MFA experience and apply MFA for particular resources or types of users. https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/howto-conditional-access-policy-all-users-mfa
I'm closing this out but if you have further questions feel free to reach out here or open a thread in Microsoft Q&A and we will gladly continue the discussion.

Thanks everyone for your clarification


Remove hover interactions for mobile

Users close their postings by accident when clicking on the options gear, and then they are unable to re-open them.
Our hover interactions for mobile are a UX bug and they are functionally buggy.

This affects: the 'options' gear in the connection, the conversation, the need. Also, it affects the positive/negative feedback overlay. so, mobile users do not see how to accept a match.


HOPSWORKS-233 and HOPSWORKS-242

Tensorboard
Jupyter Python Kernel - one per ProjectUser.

@tkakantousis  lgtm (lets get this merged)


API and model for loading translations

This adds an API (a PATCH to /admin/rest/translations/{lang}) that can be used to update translations for objects stored in the database. The API will be called by a task in CumulusCI (https://github.com/SFDO-Tooling/CumulusCI/pull/1577) that sends translations received from the localization team in this format:
{
    "context": {
        "slug": {
            "message": "translated text",
            "description": "explanation of how the text is used"
        }
    }
}

context identifies what object the translation is for (might be something like npsp:plan:existing_org)
slug identifies what field on the object the translation is for

The API endpoint stores the translations in a new model called Translation. It then runs update_all_translations which goes though all translatable objects to make sure that their django-parler translation models are up to date.
Saving a new Plan will also trigger an update of its translations.

Closing in favor of #1121


Productive dynamic dns url: [GSI_LOGGER]: The given origin is not allowed for the given client ID.

I looked on several issues already (https://github.com/MomenSherif/react-oauth/issues/98, https://github.com/MomenSherif/react-oauth/issues/79, https://github.com/MomenSherif/react-oauth/issues/52), they talk about to add allowed origins for localhost and localhost port 3000, which already works in my develop environment. According to the productive environment issue, I already have configured the url. Previously I used https://github.com/anthonyjgrove/react-google-login (almost end of life) which still works.

Now I switched to this project and I receive [GSI_LOGGER]: The given origin is not allowed for the given client ID. Origin in the login popup url is origin=http%3A%2F%2Fshopping-list.ddns.net. Dont know if dynamic dns is the problem?
Not sure what you ment with check the props related to subdomain https://github.com/MomenSherif/react-oauth/issues/23.

The problem was anyway that it has to run via https.


Vertical scale Load testing of Gateway in Vistaar Instance

Description
We need to perform vertical scale load testing on the gateway deployed in the Vistaar instance to ensure it can handle increased load and traffic efficiently. This involves testing the gateway's performance under varying load conditions and identifying any potential bottlenecks.
Goals

Simulate high traffic scenarios to test the gateway's performance.
Identify and document any performance bottlenecks.
Ensure the gateway can scale vertically to handle increased load.
Provide recommendations for performance improvements.

Expected Outcome
A comprehensive report detailing the gateway's performance under load, including identified bottlenecks and recommendations for optimization.
Acceptance Criteria

[ ] Load testing scripts and configurations.
[ ] Execution of load tests under different traffic conditions.
[ ] Detailed performance report with metrics and analysis.
[ ] Recommendations for performance improvements.
[ ] Documentation of the load testing process and results.

Mockups / Wireframes
N/A
Product Name
Beckn
Domain
Vistaar
Tech Skills Needed

Vertical scale load testing
Performance testing tools (e.g., JMeter, Locust)
Kubernetes
Networking concepts

Complexity
High
Category
Performance Testing
Sub Category
Load Testing

Current Status: Created Script for Gateway Load Testing on K6 and recorded the below metrics
Metrics