read_fwf does not take into account skiprows when inferring column width

read_fwf can automatically detect column widths, but that does not seem to take into account rows to be skipped (parameter skiprows).
So, if the file contains text before the data, column detection fails. It could be solved by using only the actual data lines (and header) to infer column widths.
I worked around that issue by opening the text file, calling readline as many times as necessary (= skiprows), and then calling read_fwf on that buffer (with skiprows=0)

can you post a copy-pastable example which repros this?

Here is a minimal example:
import pandas as pd

with open('testfwf.txt', 'w') as f:
    f.write("Text contained in the file header\n")
    f.write("\n")
    f.write("DataCol1   DataCol2\n")
    f.write("     0.0        1.0\n")
    f.write("   101.6      956.1\n")

skiprows = 2

print("Using the read_fwf function simply:")
df = pd.read_fwf('testfwf.txt', skiprows = skiprows)
print(list(df))

print("Manually skipping the text lines before using read_fwf:")
with open('testfwf.txt', 'r') as f:
    for i in range(skiprows):
        f.readline()
    df = pd.read_fwf(f, encoding="utf8")
    print(list(df))

It gives the following result:
Using the read_fwf function simply:
['DataCol1   DataCol2', 'Unnamed: 1', 'Unnamed: 2']
Manually skipping the text lines before using read_fwf:
['DataCol1', 'DataCol2']

I'm using Python 3.4.3 and pandas 0.16.2

ok, looks like a bug. pull-requests are welcome to fix!


Add container image attestation verification support

Purpose

Adds support for verification if GitHub attestations of container images referenced in the deployment template. This helps tie the image back to a commit and the workflow from which the container image was built.
Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

TODO: Logic to showcase policy verification is pending.

Will you be adding az confcom here?

Refers to: scripts/contract/confirm-deployment-artefacts.ps1:63 in 2266073. [](commit_id =<PHONE_NUMBER>0efb744ed5a51874a4b73f14dff79d, deletion_comment = False)

TODO: Logic to showcase policy verification is pending.

The plan was to add it in, but we found an issue where our ARM template has images named mcr.microsoft..., but the policy is generated with the base ACR name instead.
Will pick that change up subsequently once we have identified a fix for it

In reply to:<PHONE_NUMBER>

Refers to: scripts/contract/confirm-deployment-artefacts.ps1:63 in 2266073. [](commit_id =<PHONE_NUMBER>0efb744ed5a51874a4b73f14dff79d, deletion_comment = False)

TODO: Logic to showcase policy verification is pending.

:cry:

In reply to:<PHONE_NUMBER>

Refers to: scripts/contract/confirm-deployment-artefacts.ps1:63 in 2266073. [](commit_id =<PHONE_NUMBER>0efb744ed5a51874a4b73f14dff79d, deletion_comment = False)


Deprecate courses endpoints

closes #1084

Coverage decreased (-0.02%) to 82.321% when pulling 333c610b05c5f61dbc188e056afcdb2dee10064d on 1084-courses into 567d9d76d4b060f85b44e0e79eb2c4d4559972e6 on alma.


Add a seed (at least to the initial recommendations)

Possibly just seed numpy.random and sklearn's seed arguments.


Unexpected behaviour after update from Webpack1 to Webpack2

Problem description
Some unexpected behaviour after update from Webpack1 to Webpack2. On the test I have two checkboxes linked with Redux State. One of them is given by Table from 'material-ui' components and the other is a normal Checkbox. Also i have a FloatingActionButton to clear the selection if something gone wrong.
In Webpack1: It updates correctly both checkboxes. and clear successfully.
In Webpack2: The selected prop doesn't update after changes or after clear selected but the normal checkbox does it correctly.
Link to minimally-working code that reproduces the issue
The test from WebpackBin doesn't work because it seems to use Webpack1, but if you use the exactly same code with Webpack2 you will see the problems.
WEBPACKBIN: http://www.webpackbin.com/N1rni6QDz
Versions

Material-UI: v0.16.7
React: v15.4.2
Browser: Chrome v56.0.2924.67

I don't fully understand your problem, your button to toggle the selection of the checkboxes don't work?

I linked the selected prop from TableRow to a rodux state and only html5 checkbox has the correct behaviour. It selects and deselect after clicked on it and be cleared with the button.

@THernandez03: the code you provided is a little confusing, it seems like the HTML checkbox is not using your global state at all.
On handleCheckboxChange() function the index is always undefined, you should also provide that same function to <Table /> with the onRowSelection prop so it changes the redux state on a row selection as well.
Try to refactor your code for it to become a little more legible, maybe that's why you are a little lost.

@lucasbento I didn't understand why you say the index is undefined, i'm very sure is not. In this link i edited the test to console.log the index and it has correct value http://www.webpackbin.com/41W7vTavM
The reason to not to use onRowSelection is because i need to know which is the current selected row index, not all the selected rows.
onRowSelection: Gives me as argument an array of all selected rows
onCellClick: Gives me as argument the current row, column and the Event of the clicked element

@THernandez03: sorry about that, I was using bin.log (webpackbin's console.log) which wasn't showing the index, it indeed seems to be working fine.
I think we have a bug on <TableRows />'s selected, I added a small setInterval() to change the prop value every N seconds, hoverable works fine but selected does not.
One workaround that you can do now (if you really need to use the table's checkbox) is to simulate a click on the row that you wish to select.

@THernandez03: Since your issue was about experiencing an error with webpack 2 that wasn't happening on webpack 1, are you sure that it's working on it?

No, i'm not sure of that... it was my mistake... maybe it happen even in webpack1
To solve temporarily in my app, I just disable automatic checkbox from Table, and generate a custom column with Checkbox component.

We have been porting the component on the v1-beta branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.
Still, we will accept PR fixes until v1-beta takes over the master branch.


Undo filter doesn't work

Text pops up saying "You undid your last filter", but it doesnt actually change anything

The entire filtering system is janky, if we overhaul it, and do it in a clean way we have a lot of potential.

#36 addresses this. Undo filter functionality is not relevant to current project iteration.


"Variable rnn/basic_rnn_cell/kernel already exists, disallowed." error while defining dynamic_rnn

I was writing a simple code to define an RNN and the code goes thus:
n_steps = 28
n_inputs = 28
n_neurons = 150
n_outputs = 10
n_epochs = 100
batch_sz = 150
l_rate = 0.001

X0 = tf.placeholder(tf.float32, [None, n_steps, n_inputs])
Y0 = tf.placeholder(tf.int32, [None])
init_state = tf.zeros([n_steps, n_inputs])

basic_r_cell = rnn.BasicRNNCell(num_units = n_neurons)
ouputs, states = tf.nn.dynamic_rnn(basic_r_cell, X0, initial_state = init_state)

logits = layers.fully_connected(states, n_outputs, activation_fn = None)

Executing the above code gave the below error with traceback:
> ---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-67-05674d7f7864> in <module>()
     16
     17 basic_r_cell = rnn.BasicRNNCell(num_units = n_neurons)
---> 18 ouputs, states = tf.nn.dynamic_rnn(basic_r_cell, X0, initial_state = init_state)
     19
     20 logits = layers.fully_connected(states, n_outputs, activation_fn = None)

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn.py in dynamic_rnn(cell, inputs, sequence_length, initial_state, dtype, parallel_iterations, swap_memory, time_major, scope)
    572         swap_memory=swap_memory,
    573         sequence_length=sequence_length,
--> 574         dtype=dtype)
    575
    576     # Outputs of _dynamic_rnn_loop are always shaped [time, batch, depth].

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn.py in _dynamic_rnn_loop(cell, inputs, initial_state, parallel_iterations, swap_memory, sequence_length, dtype)
    735       loop_vars=(time, output_ta, state),
    736       parallel_iterations=parallel_iterations,
--> 737       swap_memory=swap_memory)
    738
    739   # Unpack final output if not using output tuples.

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\control_flow_ops.py in while_loop(cond, body, loop_vars, shape_invariants, parallel_iterations, back_prop, swap_memory, name)
   2768     context = WhileContext(parallel_iterations, back_prop, swap_memory, name)
   2769     ops.add_to_collection(ops.GraphKeys.WHILE_CONTEXT, context)
-> 2770     result = context.BuildLoop(cond, body, loop_vars, shape_invariants)
   2771     return result
   2772

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\control_flow_ops.py in BuildLoop(self, pred, body, loop_vars, shape_invariants)
   2597       self.Enter()
   2598       original_body_result, exit_vars = self._BuildLoop(
-> 2599           pred, body, original_loop_vars, loop_vars, shape_invariants)
   2600     finally:
   2601       self.Exit()

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\control_flow_ops.py in _BuildLoop(self, pred, body, original_loop_vars, loop_vars, shape_invariants)
   2547         structure=original_loop_vars,
   2548         flat_sequence=vars_for_body_with_tensor_arrays)
-> 2549     body_result = body(*packed_vars_for_body)
   2550     if not nest.is_sequence(body_result):
   2551       body_result = [body_result]

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn.py in _time_step(time, output_ta_t, state)
    720           skip_conditionals=True)
    721     else:
--> 722       (output, new_state) = call_cell()
    723
    724     # Pack state if using state tuples

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn.py in <lambda>()
    706
    707     input_t = nest.pack_sequence_as(structure=inputs, flat_sequence=input_t)
--> 708     call_cell = lambda: cell(input_t, state)
    709
    710     if sequence_length is not None:

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn_cell_impl.py in __call__(self, inputs, state, scope)
    178       with vs.variable_scope(vs.get_variable_scope(),
    179                              custom_getter=self._rnn_get_variable):
--> 180         return super(RNNCell, self).__call__(inputs, state)
    181
    182   def _rnn_get_variable(self, getter, *args, **kwargs):

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\layers\base.py in __call__(self, inputs, *args, **kwargs)
    439         # Check input assumptions set after layer building, e.g. input shape.
    440         self._assert_input_compatibility(inputs)
--> 441         outputs = self.call(inputs, *args, **kwargs)
    442
    443         # Apply activity regularization.

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn_cell_impl.py in call(self, inputs, state)
    256   def call(self, inputs, state):
    257     """Most basic RNN: output = new_state = act(W * input + U * state + B)."""
--> 258     output = self._activation(_linear([inputs, state], self._num_units, True))
    259     return output, output
    260

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn_cell_impl.py in _linear(args, output_size, bias, bias_initializer, kernel_initializer)
   1015         _WEIGHTS_VARIABLE_NAME, [total_arg_size, output_size],
   1016         dtype=dtype,
-> 1017         initializer=kernel_initializer)
   1018     if len(args) == 1:
   1019       res = math_ops.matmul(args[0], weights)

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\variable_scope.py in get_variable(name, shape, dtype, initializer, regularizer, trainable, collections, caching_device, partitioner, validate_shape, use_resource, custom_getter)
   1063       collections=collections, caching_device=caching_device,
   1064       partitioner=partitioner, validate_shape=validate_shape,
-> 1065       use_resource=use_resource, custom_getter=custom_getter)
   1066 get_variable_or_local_docstring = (
   1067     """%s

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\variable_scope.py in get_variable(self, var_store, name, shape, dtype, initializer, regularizer, reuse, trainable, collections, caching_device, partitioner, validate_shape, use_resource, custom_getter)
    960           collections=collections, caching_device=caching_device,
    961           partitioner=partitioner, validate_shape=validate_shape,
--> 962           use_resource=use_resource, custom_getter=custom_getter)
    963
    964   def _get_partitioned_variable(self,

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\variable_scope.py in get_variable(self, name, shape, dtype, initializer, regularizer, reuse, trainable, collections, caching_device, partitioner, validate_shape, use_resource, custom_getter)
    358           reuse=reuse, trainable=trainable, collections=collections,
    359           caching_device=caching_device, partitioner=partitioner,
--> 360           validate_shape=validate_shape, use_resource=use_resource)
    361     else:
    362       return _true_getter(

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\rnn_cell_impl.py in _rnn_get_variable(self, getter, *args, **kwargs)
    181
    182   def _rnn_get_variable(self, getter, *args, **kwargs):
--> 183     variable = getter(*args, **kwargs)
    184     trainable = (variable in tf_variables.trainable_variables() or
    185                  (isinstance(variable, tf_variables.PartitionedVariable) and

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\variable_scope.py in _true_getter(name, shape, dtype, initializer, regularizer, reuse, trainable, collections, caching_device, partitioner, validate_shape, use_resource)
    350           trainable=trainable, collections=collections,
    351           caching_device=caching_device, validate_shape=validate_shape,
--> 352           use_resource=use_resource)
    353
    354     if custom_getter is not None:

c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\ops\variable_scope.py in _get_single_variable(self, name, shape, dtype, initializer, regularizer, partition_info, reuse, trainable, collections, caching_device, validate_shape, use_resource)
    662                          " Did you mean to set reuse=True in VarScope? "
    663                          "Originally defined at:\n\n%s" % (
--> 664                              name, "".join(traceback.format_list(tb))))
    665       found_var = self._vars[name]
    666       if not shape.is_compatible_with(found_var.get_shape()):

ValueError: Variable rnn/basic_rnn_cell/kernel already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at:

  File "c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\framework\ops.py", line 1269, in __init__
    self._traceback = _extract_stack()
  File "c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\framework\ops.py", line 2506, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "c:\users\antunnug\appdata\local\programs\python\python35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 767, in apply_op
    op_def=op_def)

I apologize but I am having a hard time understanding what the problem is, where the problem is, and what version it affects. Please resubmit and pay attention to the issue template (https://github.com/tensorflow/tensorflow/issues/new) . Please provide all the information it asks. Thank you.

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue? Please update the label and/or status accordingly.

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 226 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!

Use tf.reset_default_graph() on the header file section and re-run the code. Hope it will help.
Every time clear all variables and run . if u are using spyder.


Test model input data

Deterministic

[x] deterministic prods filesystem
[x]  deterministic prods mass
[x] deterministic prodm filesystem: does not produce single cube. Further restriction needed for model level. See issues linked below. Update: constraint operator expanded.
[x] deterministic prodm mass

Ensemble

[ ] ensemble prodm mass
[ ] ensemble prodm filesystem
[ ] ensemble prods mass
[x] ensemble prods filesystem

Issue transferred from https://github.com/MetOffice/CSET-workflow/issues/159.

Pulling data from mass seems to require double quoting. This requires investigation.
Original comment by jfrost-mo


Revert "[MANIFEST] - Adding service account token for OP"

Reverts cds-snc/notification-manifests#2730

No longer needed


chore: update logos to remove wordmark

This PR updates some of the logos to remove the wordmark.

@tayloramurphy Can you use the dbt icon with the trademark symbol? It's in their asset library: https://www.getdbt.com/brand-guidelines/ && https://drive.google.com/drive/folders/1lCP2GbKJud6zk_DZAivP8DV-7PLUYxXV
I couldn't find brand guidelines for Airflow or Metabase so those are probably fine as is. Thanks!


Fix the Pelican

Pelican should:

damage a fish that is inside it, every tick
be damaged by the fish that is inside it, every tick
target fish that enter the area around it, not just directly in front of it
only try to eat a fish if it is not currently trying to eat a fish

I've refactored the pelican to

if it's not currently eating a fish:

test 3 squares around it (Left, Up, Down)

grab the first fish not sharing a square with a tower

deal damage to the fish
take damage from the fish
release the fish after 2 beats

Diarmuid reports the pelican should, but does not: release the captive fish when the pelican dies.

Hayden reports the pelican is spitting fish out in their original square, but the fish should be spit out in the pelican's square.


Organize examples

As our examples grow they becomes a bit harder to navigate. Might be good to think about organizing them better. Maybe a (max 1 layer deep) dir structure, or just more sensible names.
Related, I really like how the Threejs examples can be searched by keyword. Maybe something for our docs? (Technically a separate issue.)

I can think of three categories:

"hello" examples that are minimal, and demonstrate a particular feature.
"demo" more complete examples that are usually pretty.
"validate" examples that produce a stable output that is tested on CI.

My suggestion would be to prefix all examples with either of the three terms. Some names can also be adjusted to include better keywords. Further some current examples should probably be either simplified for a hello-example, or made more pretty/complete for a demo example.


fatal error: gst/gstconfig.h: No such file or directory

Hi!
When following the install instructions in the make step, I get the following error
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0,
                 from /usr/include/gstreamer-1.0/gst/gst.h:35,
                 from /home/matt/jetson-inference/build/x86_64/include/jetson-utils/gstCamera.h:26,
                 from /home/matt/jetson-inference/examples/imagenet-camera/imagenet-camera.cpp:23:
/usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory
compilation terminated.
examples/imagenet-camera/CMakeFiles/imagenet-camera.dir/build.make:62: recipe for target 'examples/imagenet-camera/CMakeFiles/imagenet-camera.dir/imagenet-camera.cpp.o' failed
make[2]: *** [examples/imagenet-camera/CMakeFiles/imagenet-camera.dir/imagenet-camera.cpp.o] Error 1
CMakeFiles/Makefile2:233: recipe for target 'examples/imagenet-camera/CMakeFiles/imagenet-camera.dir/all' failed
make[1]: *** [examples/imagenet-camera/CMakeFiles/imagenet-camera.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

I guess this is the same issue as #198, but I don't know what he means by "manually making a config file".  Also, before I encountered the error fatal error: glibconfig.h: No such file or directory as in #6, which was solved by doing sudo cp /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glibconfig.h.
Cheers,
Matt

Okay so what I did then was google gstconfig.h, found https://github.com/Kurento/gstreamer/blob/master/win32/common/gstconfig.h and created the gstconfig.h file pasting in the content of the file above which made the installation run through.

Segmentation fault
The issue I have:
matt@xps:~/jetson-inference/build(master)$ detectnet-camera
[gstreamer] initialized gstreamer, version <IP_ADDRESS>
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVARGUS, camera 0
[gstreamer] gstCamera pipeline string:
nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera failed to create pipeline
[gstreamer]    (no element "nvarguscamerasrc")
[gstreamer] failed to init gstCamera (GST_SOURCE_NVARGUS, camera 0)
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVCAMERA, camera 0
[gstreamer] gstCamera pipeline string:
nvcamerasrc fpsRange="30.0 30.0" ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera failed to create pipeline
[gstreamer]    (no element "nvcamerasrc")
[gstreamer] failed to init gstCamera (GST_SOURCE_NVCAMERA, camera 0)
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_V4L2, camera 0
[gstreamer] gstCamera pipeline string:
v4l2src device=0 ! video/x-raw, width=(int)1280, height=(int)720, format=YUY2 ! videoconvert ! video/x-raw, format=RGB ! videoconvert !appsink name=mysink
[gstreamer] gstCamera successfully initialized with GST_SOURCE_V4L2, camera 0

detectnet-camera:  successfully initialized camera device
    width:  1280
   height:  720
    depth:  12 (bpp)

detectNet -- loading detection network model from:
          -- model        networks/SSD-Mobilenet-v2/ssd_mobilenet_v2_coco.uff
          -- input_blob   'Input'
          -- output_blob  'NMS'
          -- output_count 'NMS_1'
          -- class_labels networks/SSD-Mobilenet-v2/ssd_coco_labels.txt
          -- threshold    0.500000
          -- batch_size   1

[TRT]   TensorRT version 7.0.0
[TRT]   loading NVIDIA plugins...
[TRT]   Plugin creator registration succeeded - ::GridAnchor_TRT
[TRT]   Plugin creator registration succeeded - ::NMS_TRT
[TRT]   Plugin creator registration succeeded - ::Reorg_TRT
[TRT]   Plugin creator registration succeeded - ::Region_TRT
[TRT]   Plugin creator registration succeeded - ::Clip_TRT
[TRT]   Plugin creator registration succeeded - ::LReLU_TRT
[TRT]   Plugin creator registration succeeded - ::PriorBox_TRT
[TRT]   Plugin creator registration succeeded - ::Normalize_TRT
[TRT]   Plugin creator registration succeeded - ::RPROI_TRT
[TRT]   Plugin creator registration succeeded - ::BatchedNMS_TRT
[TRT]   Could not register plugin creator:  ::FlattenConcat_TRT
[TRT]   Plugin creator registration succeeded - ::CropAndResize
[TRT]   Plugin creator registration succeeded - ::DetectionLayer_TRT
[TRT]   Plugin creator registration succeeded - ::Proposal
[TRT]   Plugin creator registration succeeded - ::ProposalLayer_TRT
[TRT]   Plugin creator registration succeeded - ::PyramidROIAlign_TRT
[TRT]   Plugin creator registration succeeded - ::ResizeNearest_TRT
[TRT]   Plugin creator registration succeeded - ::Split
[TRT]   Plugin creator registration succeeded - ::SpecialSlice_TRT
[TRT]   Plugin creator registration succeeded - ::InstanceNormalization_TRT
[TRT]   completed loading NVIDIA plugins.
[TRT]   detected model format - UFF  (extension '.uff')
[TRT]   desired precision specified for GPU: FASTEST
[TRT]   requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]   CUDA initialization failure with error 804. Please check your CUDA installation:  http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
[TRT]   QueryNativePrecisions() failed to create TensorRT IBuilder instance
[TRT]   selecting fastest native precision for GPU:  FP32
[TRT]   attempting to open engine cache file /usr/local/bin/networks/SSD-Mobilenet-v2/ssd_mobilenet_v2_coco.uff.1.1.GPU.FP32.engine
[TRT]   cache file not found, profiling network model on device GPU
[TRT]   CUDA initialization failure with error 804. Please check your CUDA installation:  http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
Segmentation fault (core dumped)

Some background information:
Graphics card: nVidia GM107M [GeForce GTX 960M]
matt@xps:~/jetson-inference/build(master)$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89

cuDNN: 7.6.5
TensorRT: 7.0


chore: bdd-nh-1585824341 to 0.0.1

chore: Promote bdd-nh-1585824341 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


Auto-update action is broken

At the moment the log output is simply undefined and we don't see PRs for new miniforge versions.

No, this is actually working fine 🙈


update kafka-bench to remove usage of prometheus/common/log

See https://github.com/prometheus/common/pull/306
This go package was removed from the upstream project.

When this is fixed, #119 can be undone.


fix: match edge function error codes to hosted platform

What kind of change does this PR introduce?
Updated error codes / messages returned in functions serve to match to what's returned currently in hosted platform.

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

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 59.627%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.03%

Covered Lines:
6386

Relevant Lines:
10710

💛  - Coveralls


[RHCLOUD-26275] Allow mock data outside development

Add config options to enable a service call to be mocked with large data

/retest


Center actions items (#159517)

Resolves #159517
Before

After

Hovered (composed)

#159518

Alright. It's been quite a while and the layout still needs an adjustment. Please review once again @daviddossett. Thanks.


Add meta-secure-imx layer (refspec: dunfell)

Are we going to use the external layer? I fear that we would have to add a lot of patches to adapt it our filesystem signing, since I our fs layout is quite different.


OMERO.web 5.27.1 release announcement

.

@will-moore I'm all for consistency 🙂, renamed the file.


path names in dataset.json generated in Windows contain \

Hi,
I have run a conversion using mobie_utils on Windows. The resulting dataset.json contains
        "imageData": {
          "ome.zarr": {
            "relativePath": "images\\ome-zarr\\FLM_a1_R.ome.zarr"
          }

which makes the viewer crash.
I remember vaguely that there was a fix at some point.
Any ideas why it is wrong again?

To be more precise. The viewer works when run on Windows.
found something here..
https://github.com/mobie/mobie-utils-python/issues/78
@constantinpape  would it make sense to change the code for generating the source metadata in using / no matter the platform you run it on?
I can look into that if you like.

I would basically modify https://github.com/mobie/mobie-utils-python/blob/b4a7de66f1c849a7e8952731b0d61f93fb7fc8c6/mobie/metadata/source_metadata.py#L166 to write forward slashes and check the validatin and tests that this implies.
Any objections?
I think it makes sense to enable creating cross-platform MoBIE projects also from Windows.

Hi @martinschorb ,
yes that makes sense, no objections from my side.

Fixed by #134


docs: change old documentation links of packages

Description
Changes old firebase.flutter.dev/docs links to new firebase.google.com/docs
of these packages:

cloud_firestore
cloud_firestore_web
cloud_firestore_odm_generator
cloud_functions
cloud_functions_web
firebase_analytics
fiebase_app_check_web
firebase_app_installations_web
firebase_app_installations
firebase_core
firebase_database
firebase_database_web
firebase_dynamic_links
firebase_in_app_messaging
firebase_messaging
firebase_messaging_web
firebase_ml_model_downloader
firebase_performance
firebase_remote_config_web
firebase_storage
firebase_storage_web

Related Issues
closes #11995
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Hi @russellwheatley :)
I removed the lines as you suggested. can you have a look and tell me if there is anything else I have to edit.

Sorry, @ashwinair, a PR has been merged that conflicts with this file packages/cloud_firestore_odm/cloud_firestore_odm_generator/README.md, do you mind resolving the conflict, please? Thanks 🙏

do you mind resolving the conflict, please? Thanks 🙏

@russellwheatley, resolved.


How to add route group prefix?

Hi,
My project have catch all route, like :
Route::get('/{pageSlug}', 'HomeController@index');
But when try use the file manager route /laravel-filemanager my app think it's page not file manager. How i add route group to file manager like /admin/laravel-filemanager ?
If solution is,   \vendor\unisharp\laravel-filemanager\src\routes.php copy to my route file, am i need change anything? (i'm new in laravel )
Or, anybody know how to catch all routes except /laravel-filemanager ?
Thanks in advance

Operating system : Win. 7
Laravel version : 5.4
Package version : 1.8

Hi,
I'm solved with Route::get('/{pageSlug}', 'HomeController@index')->where('pageSlug','^(?!laravel-filemanager).*$')


Implement max_depth check for tiny_parse_with_depth

Currently the variable is just unused.
I don't think it's necessary to change the return type to distinguish from regular parsing failures. TinyParse is intended for code that you expect to parse anyway and you really shouldn't care in which way it failed to parse. If you do want that kind of information, don't use TinyParse.
Open Questions

Do I want separate max_depth limits for state.parsers/.tokens/.nodes?
Do I even need to check all of them or does one of them automatically also limit the others?

Addressed in 3f18e32


[Doc] correct the YAML example for InfluxDB

Issue: this is not YAML, it lists the JSON config in the YAML section

Website: https://pulsar.apache.org/docs/en/io-influxdb-sink/

@sijia-w can you help resolve this doc issue (and correct all affected doc versions if needed)? Thanks


[Maven-Surefire] Surefire runs JUnit tests ignore method filtering in case TestNG in classpath

In case TestNG in project classpath surefire-maven-plugin runs the JUnit tests ignore method name filtering.
There is a sample project to reproduce: https://github.com/baev/surefire-testng-junit-bug
Simply clone it and run mvn clean test -Dtest=MyTest#asdasdasd
There is no test named asdasdasd and there is no TestNG suites or tests. There is only the dependency in classpath.
TestNG 6.9.10
maven-surefire-plugin 2.19.1
See for more details https://issues.apache.org/jira/browse/SUREFIRE-1225?focusedCommentId=15141199&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15141199
Summon @tibor17

Surefire is using the MethodSelector the same for option junit=true|false.
These are our calls. As @baev found out the selector is not applied to JUnit if the option is set to true.
xmlTest.getMethodSelectors().add( selector );
...
testng.setXmlSuites( xmlSuites );
testng.run();

I checked several versions and it looks like only class filter works.

Thanks for the report.
As I understand, XmlMethodSelector only accepts class: https://github.com/cbeust/testng/blob/master/src/main/java/org/testng/xml/XmlMethodSelector.java#L18
But the TestNG CLI is able to filter methods: https://github.com/cbeust/testng/blob/master/src/main/java/org/testng/TestNG.java#L521-L557
@Tibor17
Maybe Surefire can use XmlClass and XmlInclude instead of XmlMethodSelector.
What do you think? If you want, I can try it.

Hi @juherr , thx for fast reply.
I appreciate if you make a try. It's TestNGDirectoryTestSuite class.
The Parameterized is more complex runner, so I tried to test similar scenario
mvn test -Dtest=MyTest2#testWithParameters with pure JUnit test class and two methods but still the bad result : either nothing to run or running both methods.

Well, forget what I said about XmlMethodSelector, I as wrong and I confirm it is a TestNG issue: IMethodSelector (first time I see it :p) is not used by JUnit runners.


When I set the module to node16, why do I need to import .js instead of .ts files? At this time, js has not been generated yet.

🔍 Search Terms
When I set the module to node16, why do I need to import .js instead of .ts files? At this time, js has not been generated yet.
I feel that the logic of typescript is very strange. Why do I need to set the suffix of the imported file to the uncompiled .js file instead of .ts during development? Why not import the *.ts file suffix during development, and then automatically convert it to .js after compilation? I feel that this logic is very self-consistent. Why doesn't typescript adopt this logic?
https://github.com/microsoft/TypeScript/issues/60277
https://github.com/microsoft/TypeScript/issues/40878
https://github.com/microsoft/TypeScript/issues/41887
✅ Viability Checklist

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
When I set the module to node16, why do I need to import .js instead of .ts files? At this time, js has not been generated yet.
📃 Motivating Example
When I set the module to node16, why do I need to import .js instead of .ts files? At this time, js has not been generated yet.
💻 Use Cases
When I set the module to node16, why do I need to import .js instead of .ts files? At this time, js has not been generated yet.

Consider reading https://www.typescriptlang.org/docs/handbook/modules/theory.html

I'm not sure why you're opening the same issue twice; you're just going to get the same answer...

I'm not sure why you're opening the same issue twice; you're just going to get the same answer...

Thanks for your answers
The first time I encountered this problem, I got the answer, but I was confused about the answer, but there was no follow-up. This time I directly expressed my doubts about the answer.
I expect that .ts files can be directly imported into ts and converted to .js after compilation, instead of directly importing .js. I can't understand the reason for doing this and find it strange. I think it is more logical to introduce .ts during development and convert it to .js after compilation.

Consider reading https://www.typescriptlang.org/docs/handbook/modules/theory.html

Importing ungenerated .js in ts is counter-intuitive and even illogical. No matter how unfathomable the reason behind it is, I think it is unreasonable.
I read the document about cjs, cts, mjs, and mts. I can't understand why it can be compatible without extension symbols, but ts can't do it with extension symbols. I believe it can be done.
If the extension symbol ts can be used uniformly, the code before and after compilation can be consistent without modification. I think this is more convenient.

I think it is more logical to introduce .ts during development and convert it to .js after compilation.

TypeScript describes executable code. Code with .ts imports are not executable because the .ts files will not exist after TypeScript emits .js files.
But, see also https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-beta/#path-rewriting-for-relative-paths

TypeScript describes executable code. Code with .ts imports are not executable because the .ts files will not exist after TypeScript emits .js files.
But, see also https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-beta/#path-rewriting-for-relative-paths

Thank you very much for answering my question. I thought that since I am a beginner and I don't have a deep understanding of ts, you may not want to answer. So thank you very much.
Due to your answer, I also want to say more about my inner thoughts. It may not be very friendly. I hope you can forgive me.
I carefully checked the link you sent me, but my English is not very good, but I think I roughly understood it. The relevant problem should be in this part. ts will not rewrite the path.

There is some complexity to be aware of when using these modes though. To be maximally compatible with all these tools, a TypeScript file that’s imported "in-place" must be imported with the appropriate TypeScript extension at runtime. For example, to import a file called foo.ts, we have to write the following in Node’s new experimental support:

Copy
// main.ts

import * as foo from "./foo.ts"; // <- we need foo.ts here, not foo.js
Typically, TypeScript would issue an error if we did this, because it expects us to import the output file. Because some tools do allow .ts imports, TypeScript has supported this import style with an option called --allowImportingTsExtensions for a while now. This works fine, but what happens if we need to actually generate .js files out of these .ts files? This is a requirement for library authors who will need to be able to distribute just .js files, but up until now TypeScript has avoided rewriting any paths.

Then I still want to emphasize my point again. For a beginner user, this problem is a serious bug in the language and a serious program vulnerability, which can directly discourage beginners.
Or let us understand this problem in this way. Don't bind ts and js. ts is just ts, a new programming language, and it has nothing to do with js. If we look at this problem from this perspective, will we still think that these difficulties are justified and do not need to be overcome?
I think the content of the article does not treat the position of ts correctly. It has always viewed this matter as a binding relationship with js, so many problems can be attributed to the association with js
I am using ts, and there are problems when I introduce a ts file. This is a big deal
Of course, we may have different perceptions of the positioning of ts. I think ts should be able to run as a language unrelated to js (at least it looks and should be used like this, so that we can completely stay away from the annoying js). I hope ts can look and run unrelated to js. I think it will become a better ts. If there is any problem, it is because of the association with js. I think its development and design will be restricted, but I also support ts's friendly design that is fully compatible with js. This is good, but it does not make it look related to js. It can only be related to syntax and support the import of .js files. I hope ts can solve these problems in a better way
Of course, I am not ts As the maintainer of , I don't work hard, I just talk here, I just put forward my suggestions as a beginner, hoping to be adopted
After picking so many questions, I sincerely thank all ts developers and senior programming engineers for their hard work. Thank you, we enjoy the fruits of your work, respect

Related questions
https://github.com/microsoft/TypeScript/issues/60288#issuecomment-2428001136

ts is just ts, a new programming language, and it has nothing to do with js.

That is exactly what it is not. See the TypeScript Design Goals.
Or just the headline from the website:

TypeScript is JavaScript with syntax for types.

ts is just ts, a new programming language, and it has nothing to do with js.

That is exactly what it is not. See the TypeScript Design Goals.
Or just the headline from the website:

TypeScript is JavaScript with syntax for types.

What I mean is that ts should give people the feeling that it looks like a brand new language, so that users don't need to care about js
It doesn't mean that its implementation principle has nothing to do with js
What its underlying structure is and what it looks like after compilation should not be of concern to users. I feel that this is the ideal appearance of ts

Actually, anyone should completely ignore this issue, as @alamhubb is actually using issue section as after-sales service.
In his opinion, the TypeScript language is just a product free of charge. Now that it is a product, its developers are in the role of producers and he is in the role of customer, and you should serve him well because “Customer is God”.
That is his logic. Your product is so hard to use! Of course you should immediately fix that whatever the cost!  JUST FIX IT!
Clearly, the root of such logic it not even wrong.
How did I know this is his logic? See this question on ZhiHu. He just cannot understand why you developers can annoy him so much that he went to ask others if he did it right.

Actually, anyone should completely ignore this issue, as @alamhubb is actually using issue section as after-sales service. In his opinion, the TypeScript language is just a product free of charge. Now that it is a product, its developers are in the role of producers and he is in the role of customer, and you should serve him well because “Customer is God”. That is his logic. Your product is so hard to use! Of course you should immediately fix that whatever the cost!  JUST FIX IT! Clearly, the root of such logic it not even wrong.
How did I know this is his logic? See this question on ZhiHu. He just cannot understand why you developers can annoy him so much that he went to ask others if he did it right.

js also has many problems, which are clearly written in the book, but users are still often troubled by these problems. So is this a problem that developers did not do enough homework? I understand that a good product should allow users to walk normally and not hit the south wall. I think my demand is very normal, that is, to introduce ts during ts development and compile it into js. I think this is a very normal way, so I put forward my demand. I don’t think that making reasonable demands is embarrassing for maintainers. Of course, the final decision is not up to me. I just express my opinion. Whether it is accepted or not is not up to me.

js also has many problems, which are clearly written in the book, but users are still often troubled by these problems. So is this a problem that developers did not do enough homework? I understand that a good product should allow users to walk normally and not hit the south wall. I think my demand is very normal, that is, to introduce ts during ts development and compile it into js. I think this is a very normal way, so I put forward my demand. I don’t think that making reasonable demands is embarrassing for maintainers. Of course, the final decision is not up to me. I just express my opinion. Whether it is accepted or not is not up to me.

Open source projects are NOT products. No one owes you usability and convenience. If you want them, use your hands to make them.
You should not “make demands”. You should open feature requests to discuss if you demand is common and necessary to be solved, or try to implement what you want and open a pull request.

js also has many problems, which are clearly written in the book, but users are still often troubled by these problems. So is this a problem that developers did not do enough homework? I understand that a good product should allow users to walk normally and not hit the south wall. I think my demand is very normal, that is, to introduce ts during ts development and compile it into js. I think this is a very normal way, so I put forward my demand. I don’t think that making reasonable demands is embarrassing for maintainers. Of course, the final decision is not up to me. I just express my opinion. Whether it is accepted or not is not up to me.

Open source projects are NOT products. No one owes you usability and convenience. If you want them, use your hands to make them. You should not “make demands”. You should open feature requests to discuss if you demand is common and necessary to be solved, or try to implement what you want and open a pull request.

I am making a request, issues supports this function, you can carefully look at the support list of issues when you create,
The point is whether this is a reasonable need, I think it is, if not why 5.7 should support it
The origin of the problem, because I am the first and second questions, didn't get 5.7 rewriteRelativeImportExtensions answers, but has been unable to solve
I think this is a very reasonable demand, ts should support him, actually 5.7 he did, but did not say, but kept saying some reasons can not be supported
Then I hope I can look at the problem from a different perspective and see if the problem is really unsolvable or evasive
Can you make sure that all the problems you encounter with open source projects, you don't mention issues, but your own pr? Human energy is limited, I am also maintaining my own open source library, but also in my own way to contribute, everyone focus on their own field, I think it is good

This is a reasonable requirement and is already supported in version 5.7. The reason for not supporting it has expired. Just enable rewriteRelativeImportExtensions in version 5.7.

考虑阅读 https://www.typescriptlang.org/docs/handbook/modules/theory.html

在 ts 中导入未生成的 .js 是违反直觉的，甚至是不合逻辑的。无论背后的原因多么深不可测，我认为都是不合理的。
我阅读了有关 cjs、cts、mjs 和 mts 的文档。我不明白为什么它可以在没有扩展符号的情况下兼容，但 ts 不能用扩展符号来做到这一点。我相信这是可以做到的。
如果扩展符号 ts 可以统一使用，则编译前后的代码可以保持一致，无需修改。我觉得这样更方便。

考虑阅读 https://www.typescriptlang.org/docs/handbook/modules/theory.html

在 ts 中导入未生成的 .js 是违反直觉的，甚至是不合逻辑的。无论背后的原因多么深不可测，我认为都是不合理的。
我阅读了有关 cjs、cts、mjs 和 mts 的文档。我不明白为什么它可以在没有扩展符号的情况下兼容，但 ts 不能用扩展符号来做到这一点。我相信这是可以做到的。
如果扩展符号 ts 可以统一使用，则编译前后的代码可以保持一致，无需修改。我觉得这样更方便。

我不确定你为什么两次打开同一个问题;你只会得到同样的答案......

感谢您的回答
第一次遇到这个问题，我得到了答案，但是我对答案感到困惑，但是没有后续。这一次我直接表达了我对答案的疑惑。
我希望.ts文件可以直接导入到 ts 中，编译后转换成 .js，而不是直接导入 .js。我不明白这样做的原因，觉得很奇怪。我认为在开发过程中引入 .ts 并在编译后将其转换为 .js 更合乎逻辑。

t

Consider reading https://www.typescriptlang.org/docs/handbook/modules/theory.html

Importing ungenerated .js in ts is counter-intuitive and even illogical. No matter how unfathomable the reason behind it is, I think it is unreasonable.
I read the document about cjs, cts, mjs, and mts. I can't understand why it can be compatible without extension symbols, but ts can't do it with extension symbols. I believe it can be done.
If the extension symbol ts can be used uniformly, the code before and after compilation can be consistent without modification. I think this is more convenient.

ts 不能执行，也没有导入行为。导入是在编译成 js 后，在 js 中进行的。

Or, if you offer a reward of 1 million US dollars to solve this problem, you need to support importing other ts files in ts. Can it be solved?
So why do you think it can't be solved now?

I believe that @alamhubb 's comments violate the Microsoft Code of Conduct.
As the leader of the project, have you considered correcting or deleting his comments to maintain a positive and inspiring community?
Specifically, his remarks may violate the principle of "making participation in our community a harassment-free experience for everyone," as he attempts to leverage a supposed economic advantage to make demands of the community.
Thank you for your patience. @jakebailey

Based on the discussion about this requirement on Zhihu, the Chinese intranet, I think there are some misunderstandings about the maintainer in this issue. I would like to clarify and apologize again.
After a few days of understanding, I think this issue can be described like this. In fact, I want to propose a requirement, I want ts to support the .ts file imported into the file, and automatically compile it into .js (that is, the function of automatically rewriting the path, but my ability makes me unable to accurately describe this requirement)
I think this is a very important function. TS does not support this function, which is a big blow to beginners. TS has gradually become the infrastructure in the front-end field.
Even though I checked the related issues before and saw that the ts maintainer explicitly rejected this requirement, in 2020, I still thought that this requirement was more important from my perspective, and 4 years have passed, so I raised the issue again.
Due to the subject content and expression of my issues, the TS maintainer was unable to understand my expression correctly (there was a problem with my expression, which was not direct enough)
Since my question asked why, the maintainer gave me the answer about why it is not possible, but what I actually wanted to say was that I hope TS can support this feature, and then the maintainer told me some reasons why it is not possible. But in my opinion, this feature is really important, and it is not a feature that the maintainer cannot implement. After all, the technical level of the maintainers is very excellent in the industry.
The maintainer asked me why I asked the same question twice. I explained it myself and this time directly stated what I expected.
Then I expressed the demand directly this time, and the maintainer understood what I meant, so he posted an article about 5.7 supporting this feature for me, but the maintainer again stated that ts could not be imported into ts, and then I mistakenly thought that the developer sent me another reason why ts could not support this feature, and I found relevant content in the article
Based on my belief that this feature can be implemented, I made some more radical remarks, trying to prove from other levels that this demand is reasonable and achievable, but in fact I did not find that the article already included the content that 5.7 version supports this feature
Because I think a very important demand is not supported by ts yet, and the official team believes that this demand is unreasonable, I went to ask questions in the Zhihu community in China, hoping to get more people's opinions, because my technical level is indeed It is relatively low. I want to know why the official team thinks this requirement is unreasonable. I got some relevant answers in the Zhihu community and posted a link to this issue.
Then most Chinese netizens criticized my inappropriate remarks. The examples of if it is the boss and if there is a 1 million reward are not appropriate. If I change to the perspective of if this requirement cannot be met, the earth will explode next month, whether this requirement can be met, this kind of remarks may appear more friendly and humorous.
Then after a few days of discussion with Chinese netizens, I learned more about the content of this requirement.
If any of my remarks in this issue caused any discomfort to the maintainers of ts, I express my deep apologies. The misunderstanding in this issue is caused by my personal incompetence. I am very sorry.


Both PyYAML and oyaml in requirements

oyaml is billed as a drop-in replacement for PyYAML, but both are listed in the requirements. Would just one suffice? If both are needed, could a note be added to the requirements declaration about why that is?

Excellent. Thanks for the catch.  I've made the changes to Dev.

is oyaml still needed or does pyyaml preserve ordering now that dicts are ordered by default?

oyaml is a single-file library with only 53 lines of code
oyaml is a drop-in replacement for PyYAML, which will load maps into collections.OrderedDict instead of regular dicts

See here:
https://stackoverflow.com/questions/13297744/pyyaml-control-ordering-of-items-called-by-yaml-load
But OrderedDict should no longer be necessary.

In Python 3.7, the items-ordered feature of dict objects was declared an official part of the Python language specification. So, from that point on, developers could rely on dict when they needed a dictionary that keeps its items ordered.

https://realpython.com/python-ordereddict/
As long as we're not supporting python 3.6...

It looks like we're still relying on oyaml, so this is not solved.

Ok, this should now be completed. I removed oyaml in favor of pyyaml per the above reading.


How to bind reduce axis to blocks?

I'm follow the reduction tutoriaal to bind reduce axis to gpu blocks, but it seems like impossible, we can only bind them to thread. Do you have any idea how can we do it in tvm?

Please open a discuss forum issue for support questions at discuss.tvm.ai.


Add support for Async API 3.0

Is your feature request related to a problem? Please describe.
Upgrade linting capabilities by adding support for Async API 3.0, complementing existing support for v2.
Describe alternatives you've considered
Do nothing

There is a real pain to bundle asyncapi v3 specification due to $ref resolution logic in @asyncapi/bundler
The only way today is coding. But anyway using asyncapi libraries, each file's first line is  asyncapi: 3.0.0


feat: Configure ArchiveLabelSelector for Workflow Archive

Checklist:

[ ] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[ ] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".  #3222
[ ] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.
[ ] My organization is added to USERS.md.

I am updating the document in separate PR.


Add list of publicly accessible Zulip servers.

I'm not sure this implementation is the right way to do this; I'd like to do something totally opt-in if we're going to do this.  Let's discuss how to do this right after the 1.7 release.


SpringBoot and Vaadin 13

Hi there, I tried to make use of the project to test some Vaadin 13 with SpringBoot code that I have been working on but failed at the first hurdle.
In the demo t-shirt project for SpringBoot testing which is using Vaadin 10 it used the following code.
final RouteRegistry registry = new Routes().autoDiscoverViews("com.vaadin.tshirtshop").createRegistry();
However for Vaadin 13 there does not appear to be a createRegistry method. I played around a little while trying to figure out how to wire things up but basically didn't get it working.
Any tips on what I need to do, I obviously need to setup the servlet and the context but I think Vaadin 13 has changed a bit under the hood ?
Thanks
Steve
PS: great project by the way, it is really needed.

@swebb99uk maybe this helps
Routes routes = new Routes().autoDiscoverViews("com.vaadin.tshirtshop");
MockVaadin.setup(routes);

Firstly, Great Testing Suite!!
I ran into this problem shortly into my setup. Then what happened is Spring chose the com.vaadin.flow.di.instantiator over the com.vaadin.flow.spring.instantiator and as such my @Autowire - ing in the Layout classes didn't work. After looking into the earlier solutions I added the following to the test setup.
final Routes registry = new Routes().autoDiscoverViews("com.me.test");
    	RouteRegistryInitializer rri = new RouteRegistryInitializer();
    	Set<Class<?>> routes = new HashSet<Class<?>>(registry.getRoutes());
    	rri.onStartup(routes, sctx);
    	RouteRegistry rr = ApplicationRouteRegistry.getInstance(sctx);

        final SpringServlet servlet = new SpringServlet(ctx, true) {
            @Override
            protected VaadinServletService createServletService(DeploymentConfiguration deploymentConfiguration) throws ServiceException {
                final VaadinServletService service = new SpringVaadinServletService(this, deploymentConfiguration, ctx) {
                    @Override
                    protected boolean isAtmosphereAvailable() {
                        return false;
                    }

                    @Override
                    protected RouteRegistry getRouteRegistry() {
                        return rr;
                    }

                    @Override
                    public String getMainDivId(VaadinSession session, VaadinRequest request) {
                        return "ROOT-1";
                    }
                };
                service.init();
                return service;
            }
        };
        MockVaadin.setup(MockedUI::new, servlet);

Worked like a charm afterwards. Not sure what I'll run into next.

Thank you guys for great solution, and I apologise that I haven't posted to this thread. To be honest I don't use spring myself and therefore I wouldn't be of much help anyway :)
Anyway, thank you @HaydenDekker for solving this issue. Closing as fixed, please reopen if there are issues.


Request not clear other notifications

I just created a Twitch Chat mod (https://www.nexusmods.com/derailvalley/mods/1069) that happens to use the same in-game notification system. I noticed that my chat messages were being cleared very quickly, but only when a Job was being looked at/held and displaying your notification.
Are you able to adjust so your notifications to not clear others?

Hi Nightwind. Thanks for raising a compatibility issue with DVDispatcher.
Interaction with the (non-VR) popup notification is implemented in DispatcherHintShower. I see there is clearExisting flag in NotificationManager.ShowNotification() that I don't set so it's true by default, this could be changed I guess. But I think for this to be handled correctly there would need to be a priority system for notification, and I don't see anything related to that in the base game.
I suggest you take DVDispatcher and try to modify it such that it plays more nicely with your notifications and test that. If you're happy with the result I'm happy to discuss a PR or you can reach me on discord.

Thanks for replying. I agree a priority system would be better handled, but I am very amateur to all this and entirely self taught, and almost exclusively with Python. I think the small pull request I made should be all that is needed. It seemed to be working fine when I tested on my setup.
I agree some notification priority system would be handy. It looks like there is a "private int GetIndex(GameObject notification)" in the DV.UIFramework dll, but this is where I start to fail on following the code and if it could be implemented as a priority system. If concerned about priority for now, would you be able to add the "clearExisting: false" flag as a toggle option in the settings for Dispatcher?

Okay, that's sufficient info for me now - you've confirmed that your usecase works with the clearExisting flag set to false. I've merged your pull request.
Thanks for taking part in this.


fix(doc): Replace iconography for position's email status with text label

Positions within a ballot, discuss, or comment within DT may-or-may-not have an email notification associated with them. This is at the discretion of the submitter, and is indicated within DT to viewers of the thread.
Previously, this was indicated via an icon+tooltip on the specific position, using an icon which was less-than-readable (especially on low-DPI/small displays).
This change replaces that iconography with a text pill, while retaining the previous tooltip for additional information.
Closes #3855.

@rjsparks any thoughts on this?

Been needing time to review - meeting startup has been intense.
There are some things to change, but I'll pick them up later.


merging avro-utils project

This PR merges the entire codebase found in hydra-avro-utils into two hydra modules:

avro
sql

This will make project management easier going forward; there is no need for two separate repositories here.

Codecov Report

Merging #7 into master will increase coverage by 1.43%.
The diff coverage is 93%.

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


Update linux-privacy.md

Updated the product installation and uninstallation logs

issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/9461

@JohanFreelancer9 Please copy review

Docs Build status updates of commit c423af5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/linux-privacy.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c423af5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/linux-privacy.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Dansimp Please merge this PR. Thanks

@Dansimp Gentle reminder

Docs Build status updates of commit a630ead:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/linux-privacy.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Deployment of cert-manager and dask-gateway require kubectl apply -f <crd manifests> step when version bumped

Helm charts that include CRDs such as cert-manager and dask-gateway should typically by upgraded by doing kubectl apply -f <crd manifests> before being upgraded.
The "default upgrade procedure" of cert-manager is to do this kubectl apply step manually first, and users of dask-gateway upgrading from 0.9.0 to 2022.4.0 were supposed to do that as well at least for that release, probably in general as well.
For cert-manager, this can be done like in mybinder.org-deploy: https://github.com/jupyterhub/mybinder.org-deploy/blob/2db9dbdc8f51356713219dd2ddf72d0bb36723fb/deploy.py#L221-L253, and the same procedure can be used for dask-gateway.
Action point

[ ] Ensure automation managing dask-gateway includes kubectl apply of CRDs
[x] Ensure automation managing cert-manager includes kubectl apply of CRDs

https://github.com/2i2c-org/infrastructure/pull/1479

I wasn't sure what the manifest URL for dask-gateway was and couldn't find an example in the docs, so I only updated cert-manager for now, but happy to do dask-gateway as well.

@sgibson91 I made a note in the changelog for 2022.4.0 when an update was needed: https://gateway.dask.org/changelog.html#breaking-changes

Feel free to ping me for review @sgibson91!


Blades-in-the-Dark: Updated roll macros and attribute ui

0.0.3 roll macros are working properly now!

Forgot to change the JSON file.


Update user guide for label management

Coverage decreased (-0.1%) to 64.223% when pulling 6c42959be272b23705588182e1c3f79b0abeec1c on ywk253100:180411_doc into 5f1feee9dea79eac33ca0890d5fd855bbad01f58 on vmware:master.


Don't work that DataGrid

.NET MAUI .NET 8
Visual Studio to Mac

dotnet add package Maui.DataGrid --version 25.1.35
dotnet add package Maui.DataGrid --version 4.0.0
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:dg="clr-namespace:Maui.DataGrid;assembly=Maui.DataGrid">

Errors:
Type 'dg:DataGrid' could not be found. Verify that a reference to an assembly is not missing and that all referenced assemblies have been compiled.
Type 'DataGrid' could not be found. Verify that a reference to an assembly is not missing and that all referenced assemblies have been compiled.
My objetive is that:

I tried with CollectionView but CollectionView.Header isn't responsive: https://github.com/dotnet/maui/issues/21179

I found the solution after dozens of tests with CollectionView.
Result here: https://github.com/dotnet/maui/issues/21179


The AdoptedResource CRD does not work for ApplicationAutoscaling Service Controller

Describe the bug
The AdoptedResource CRD does not work for ApplicationAutoscaling Service Controller since the ScalingPolicy and ScalableTarget Describe APIs require more than one field to work.
Steps to reproduce

Create an endpoint in SageMaker and enable applicationAutoscaling using the AWS Console.
Check using awscli to ensure that the ScalingPolicy resource exists aws application-autoscaling describe-scaling-policies --service-namespace SageMaker --region us-west-2.
Update ApplicationAutoscaling to v0.1.1 runtime and latest code-gen. Verify that you have the AdoptedResource CRD.
Now try to adopt the resource into Kubernetes using a spec file as follows -

apiVersion: services.k8s.aws/v1alpha1
kind: AdoptedResource
metadata:
  name: adoptedscalingpolicy
spec:
  aws:
    nameOrID: "endpoint/ep-name/variant/AllTraffic"
  kubernetes:
    group: applicationautoscaling.services.k8s.aws
    kind: ScalingPolicy
    metadata:
      name: adopted_scaling_policy

check that the resource was adopted using kubectl get scalingpolicies.applicationautoscaling.services.k8s.aws

Expected outcome
Resource should have been adopted into k8s
Actual Outcome
The following error in the pod logs -
2021-05-11T10:24:55.574Z	ERROR	controller-runtime.controller	Reconciler error	{"controller": "adoptedresource", "request": "default/adoptedscalingpolicy", "error": "InvalidParameter: 1 validation error(s) found.\n- missing required field, DescribeScalingPoliciesInput.ServiceNamespace.\n"}

Environment
Tested using a Kind Cluster

Kubernetes version: 16.*
Using EKS (yes/no), if so version?:  no
AWS service targeted (S3, RDS, etc.): ApplicationAutoscaling

As per the suggestion above, I have included the additionalKeys map as part of AWSIdentifiers.
Runtime PR: https://github.com/aws-controllers-k8s/runtime/pull/13
Code-Generator PR: https://github.com/aws-controllers-k8s/code-generator/pull/62
An example of it working for this use case:
I put a new scaling policy using the AWS CLI:
aws application-autoscaling put-scaling-policy --policy-name test-policy --service-namespace sagemaker --resource-id endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1 --scalable-dimension sagemaker:variant:DesiredInstanceCount --policy-type TargetTrackingScaling --target-tracking-scaling-policy-configuration file://example-scaling-policy.json

Then attempted to adopt the resulting scaling policy given the return ARN and serviceNamespace additional key:
apiVersion: services.k8s.aws/v1alpha1
kind: AdoptedResource
metadata:
  name: adopt-xgboost-scaling-policy
spec:
  aws:
    arn: arn:aws:autoscaling:us-west-2:<redacted>:scalingPolicy:d908645f-4669-4db7-8c7e716484b67601:resource/sagemaker/endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1:policyName/test-policy
    additionalKeys:
      serviceNamespace: sagemaker
  kubernetes:
    group: applicationautoscaling.services.k8s.aws
    kind: ScalingPolicy

It successfully reproduced the spec:
Name:         adopt-xgboost-scaling-policy
Namespace:    default
Labels:       <none>
Annotations:  services.k8s.aws/adopted: true
API Version:  applicationautoscaling.services.k8s.aws/v1alpha1
Kind:         ScalingPolicy
Metadata:
  Creation Timestamp:  2021-05-12T23:06:14Z
  Finalizers:
    finalizers.applicationautoscaling.services.k8s.aws/ScalingPolicy
  Generation:        1
  Resource Version:  1138911
  Self Link:         /apis/applicationautoscaling.services.k8s.aws/v1alpha1/namespaces/default/scalingpolicies/adopt-xgboost-scaling-policy
  UID:               007b3a31-040d-4e5f-b7fd-449d85ad150e
Spec:
  Policy Name:         test-policy
  Policy Type:         TargetTrackingScaling
  Resource ID:         endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1
  Scalable Dimension:  sagemaker:variant:DesiredInstanceCount
  Service Namespace:   sagemaker
  Target Tracking Scaling Policy Configuration:
    Predefined Metric Specification:
      Predefined Metric Type:  SageMakerVariantInvocationsPerInstance
    Target Value:              70
Status:
  Ack Resource Metadata:
    Owner Account ID:  <redacted>
  Alarms:
    Alarm ARN:   arn:aws:cloudwatch:us-west-2:<redacted>:alarm:TargetTracking-endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1-AlarmHigh-ab739cb9-0ef3-4bd5-8d8e-c2f13dfe8dd5
    Alarm Name:  TargetTracking-endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1-AlarmHigh-ab739cb9-0ef3-4bd5-8d8e-c2f13dfe8dd5
    Alarm ARN:   arn:aws:cloudwatch:us-west-2:<redacted>:alarm:TargetTracking-endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1-AlarmLow-e8f129ef-7b1e-44ed-8ef4-54fe12d3b481
    Alarm Name:  TargetTracking-endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1-AlarmLow-e8f129ef-7b1e-44ed-8ef4-54fe12d3b481
  Conditions:
  Policy ARN:  arn:aws:autoscaling:us-west-2:<redacted>:scalingPolicy:d908645f-4669-4db7-8c7e-716484b67601:resource/sagemaker/endpoint/xgboost-endpoint-znwbi73nyztvdah/variant/variant-1:policyName/test-policy
Events:        <none>


Click or Double Click to Expand or Hide the Sidebar and the Panel

Hi, usually by locating to the side icons and clicking them to expand or hide the side bar, but if click on the blank area,
there be no change.

please considering the following points
1) click the blank area of the side bar to hide or expand it.
2) click the blank area of the status bar to hide or expand the panel.
3) single click the tab bar to show or hide the search box, double click the tab bar to show or hide the comannd box. maybe a ctrl key should be pressed because the default cicking is to new a untitled file.
Thanks!

I think clicking the empty area would need to be behind a keyboard combo otherwise a lot of people would accidentally click on this and dismiss then would be confused as to what happened.


[BUG] Coredump RPi 3B+ v3.1.1

Hi,
For RPI 3B+ platform, we are integrated KVS SDK and we used kvssink plugin to push the live streaming content into AWS KVS service.
Used below pipeline for our validation:
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! video/x-raw,width=640,height=480 ! omxh264enc ! h264parse ! kvssink stream-name="test_camera_stream" storage-size=100 access-key="XXXXXXXXX" secret-key="YYYYYYYYY" aws-region="ZZZZZZZZZ"
With above pipeline we able to view and record RPI streaming content in KVS service with 2.0.2 KVS SDK tagged revision, but with latest 3.1.1/3.2.0 tagged kvs sdk revision we are getting below core-dump issue after seeing single frame in kvs service.
Core-dump:
#0  0x76ce6588 in removeChainedBlock (pAivHeap=pAivHeap@entry=0x72e10, pBlock=pBlock@entry=0x75d005c5)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/heap/src/AivHeap.c:879
#1  0x76ce67ba in aivHeapFree (pHeap=0x72e10, handle=)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/heap/src/AivHeap.c:325
#2  0x76cd41b0 in viewItemRemoved (pContentView=, customData=, pViewItem=0x74c58, currentRemoved=0)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/client/src/Client.c:1621
#3  0x76ce4de0 in contentViewTrimTail (pContentView=0x74b78, itemIndex=)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/view/src/ContentView.c:587
#4  0x76cd82d8 in streamFragmentPersistedAck (pKinesisVideoStream=pKinesisVideoStream@entry=0x4ec10, timestamp=,
pUploadHandleInfo=pUploadHandleInfo@entry=0x2d9b0)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/client/src/Stream.c:2535
#5  0x76cda6fa in streamFragmentAckEvent (pKinesisVideoStream=pKinesisVideoStream@entry=0x4ec10, uploadHandle=,
pFragmentAck=pFragmentAck@entry=0x54d20)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/client/src/StreamEvent.c:875
#6  0x76ce55a4 in processParsedAck (pKinesisVideoStream=0x4ec10)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/client/src/AckParser.c:278
#7  0x76ce587e in parseFragmentAck (pKinesisVideoStream=pKinesisVideoStream@entry=0x4ec10, uploadHandle=,
ackSegment=ackSegment@entry=0x8157c "{"EventType":"PERSISTED","FragmentTimecode":3691104463,"FragmentNumber":"91343852333184962997674104545554217272768984578"}\n\r\n", ackSegmentSize=, ackSegmentSize@entry=123)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/client/src/AckParser.c:239
#8  0x76cd3d5e in kinesisVideoStreamParseFragmentAck (streamHandle=, uploadHandle=,
ackSegment=0x8157c "{"EventType":"PERSISTED","FragmentTimecode":3691104463,"FragmentNumber":"91343852333184962997674104545554217272768984578"}\n\r\n",
ackSegmentSize=123) at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/dependency/libkvspic/kvspic-src/src/client/src/Client.c:1417
#9  0x76ccd5ba in postWriteCallback (pBuffer=, size=, numItems=123, customData=0x7bc50)
at /usr/src/debug/kvs/3.1.1-r0/git/dependency/libkvscproducer/kvscproducer-src/src/source/Response.c:593
#10 0x76a809d8 in ?? () from /usr/lib/libcurl.so.4
Requesting to give your input for this core-dump issue.

@savidha777 ,
Thank you for the coredump. Would you mind attaching the verbose log file as well? Running export AWS_KVS_LOG_LEVEL=1 will generate the logs.

Hi @disa6302
Please find attached 3.1.1.KVS SDK core-dump log file.
kvs_core_dump.txt

@savidha777 ,
I have not been able to reproduce this on Mac. And the stack trace does not seem to make sense either. A few clarifications:

Were there any changes/firmware updates that were done on the Raspberry Pi apart from updating the producer SDK?
Is your device memory aligned? Can you try building with -DALIGNED_MEMORY_MODEL=TRUE flag?

HI @disa6302
Thanks for your support
After enabled this ALIGNED_MEMORY_MODEL flag, we able to view streaming content in AWS service without any issue.

Great. I am resolving this issue now. Feel free to reopen/open a new issue if you have any more questions.


splice from pipe to socket is not allowed ?

Hi all,
I've checked https://github.com/axboe/liburing/blob/master/test/splice.c,
found no "splice from pipe to socket related" test method exists.
I am trying to write a clang splice from pipe to socket demo to explain this.
But first, I tried it under the Python wrapper of liburing,
and got the error -22 (EINVAL, Invalid argument), ref: https://github.com/YoSTEALTH/Liburing/issues/10
So, splice from pipe to socket is not allowed or it is working in progress (still a feature) ?
I think what I need is sort of sendfile in fact.

off_out should set to -1


docs: deprecated --parallel and --max-concurrency in CLI

Related: https://github.com/textlint/textlint/pull/1338

You're right, Thanks!


Add multi-platform system prompts

What does this PR do?
This PR adds multi-platform System Prompts.
This keeps the original SYSTEM_PROMPT and renames it to SYSTEM_PROMPT_MAC.
SYSTEM_PROMPT_WIN_LINUX is added which replaces every Mac-specific key press (command + space and command + l) with the correlating key presses that work on Windows and Linux.
The same changes have been applied to the labeled system prompts.
Upon calling get_system_prompt, the appropriate system prompt is formatted and returned based on the host operating system.
Mandatory Tasks
Both tests in in evaluate.py pass.
Side note: operate isn't capturing summary screenshots.

@michaelhhogue thank you for this PR. You may have noticed that we removed the summary_prompt and now just handle it in the main system_prompt below. Let me know if you think we should add back the summary prompt or if there's a way to incorporate it in this new prompt
4. done - The objective is completed
[{{ "thought": "write a thought here", "operation": "done", "summary": "summary of what was completed" }}]

@joshbickett Yeah I definitely think that removing the summary prompt and just handling it in the system prompt is the better approach.


{Item/Mechanics} Grenade suggestions

For this post you must know the follwoing:
Post #248 where i define shielding
The AoE of 90% of the grenades is only 300-500 units
The Definition of a Grenade:

a single use item that has a very powerful effect, but can effect allies.
a rechargeable item that has an extensive cooldown, but has a very powerful effect and can effect allies.

In any case here are some suggestions by:
@InNOutKing, @TheDeadj, @Kartix, Me, as well as a few ToR devs.
A) Heal bomb: Heal all targets in the AoE for 150 health, then give them 1% regeneration for Health
B) Mana Bomb: Give all heroes in the AoE a Shield for their mana pool
C) Armour Bomb: Give all allies a 500 health shield
D) Standard Grenade: Lob a bomb dealing 333 damage to all targets and destroying obsicals
E) Oracle Grenade: Give vision in a 1500 unit radius to all allied heroes for 5 seconds, during the duration the radius closes in
F) Flash Bang: Blind all enemy heroes giving them a 35% miss chance and all allied heroes a 10% miss chance for 10 seconds, for allies 5 seconds.
G) Wrath Bomb: Give all allies 33% additional damage in all ways
H) Ability bomb: Cast a random spell targeted to all heroes in the AoE, the spell must be owned by a hero participating in the game.

Actually A is weaker mek (early one) B  is making Dusa abbility practicly  useless.  C  sounds like guardian   D sounds not much of good item. E is useless taking in mind that instead of fortify will be button that do basically same thing.  F i dunno, it's just wierd portable techies, everyone will hate you  if you buy it. G i don't see  point of it, it just make teamfights 33% faster.  H is it miracle staff not already accepted?
Ps, i not posting it to hate you,  some of them would work as Acktive abbility for buffs for some items like mek or guardian. But not rly as a stand alone consume items or a new one (they are most of this stuff already in game as items).

A: Healing Mines is a thing.
B: Sounds complicated, to introduce a whole complex mechanic for one item.
C: Same as above.
Either way, I think we aren't doing consumables,

As I said in April, we're not doing consumables.


ArtifactResolver? Rely on Maven component repo?

http://blog.sonatype.com/2011/01/how-to-use-aether-in-maven-plugins/
http://stackoverflow.com/questions/1440224/how-can-i-download-maven-artifacts-within-a-plugin
http://download.eclipse.org/aether/aether-core/0.9.0.M2/apidocs/org/eclipse/aether/impl/ArtifactResolver.html?is-external=true
https://github.com/gleclaire/findbugs-maven-plugin/blob/master/src/main/groovy/org/codehaus/mojo/findbugs/FindBugsMojo.groovy

I don't remember if there was an issue here. Closing for now.


move event handlers into plottables

Add PositionDragged event to PlottableAxLine.
Add Position1Dragged and Position2Dragged events to PlottableAxSpan.
This events simplify binding UI elements to Draggable objects.
Usage example:
var plot = formsPlot.plt.PlotVSpan(...)
plot.Position1Dragged += (sender, arg) => form1.TextBox1.Text = arg.ToString();
plot.Position2Dragged += (sender, arg) => form1.TextBox2.Text = arg.ToString();

Additionaly this PR force fix lag while dragging to master branch from dev/4.1 branch c7636a52e7fb65a663d5227d9c2560966b06edc7

Thanks @StendProg, this definitely makes it easier to write UI code which responds to drag and drop events.
What do you think about adding an EventHandler to the IDraggable interface?

I thinked about this. But it actually different, 1 event for axLine, 2 for axSpans and nothing more.
So i prefered keep it simple. When more draggable classes comes, it would be possible to refactor and generalize that.

@StendProg I'm so happy you made this suggestion! I haven't had have much experience with event handlers, and now that I've worked with this PR I have a much better understanding of them.
It seems I could put event handlers in the plottables (or even in the mouse tracker) rather than handling them in the user control (which I find very ugly):
https://github.com/swharden/ScottPlot/blob/f9d0e4630ecdd48813dbc2275e4cab617c43ce3d/src/ScottPlot.WinForms/FormsPlot.cs#L352-L367
I'll work on this a bit more and merge it in shortly (without modifying the existing control), but I am now adding a redesign of event handling as a goal in version 4.1

I think I simplified the code by not passing data in events.
End users can do something like this:
var vspan = formsPlot1.plt.PlotVSpan(x1, x2, draggable: true);
vspan.DraggedPosition1 += OnDragAction1;
vspan.DraggedPosition2 += OnDragAction2;

This makes it easy to use the same action function for both positions if you want, or use separate functions. Positions (actually all plottable properties) are easy to access from there:
void OnDragAction1(object sender, EventArgs e)
{
    var axSpan = (PlottableAxSpan)sender;
    Console.WriteLine($"Adjusted span position 1 to: {axSpan.position1}");
}

void OnDragAction2(object sender, EventArgs e)
{
    var axSpan = (PlottableAxSpan)sender;
    Console.WriteLine($"Adjusted span position 2 to: {axSpan.position2}");
}

@StendProg what do you think?

I think I simplified the code by not passing data in events.

Passing data is the main porpouse of EventArg in standart EventHandler pattern. Generic version make this look short and simple.
Casting sender to specific class brings unnesessary dependency to user code. There no possible to write single line lambda handler. You need at least 2, this meens additional 2 for {} brackets.
Passing value as arg is the main target of this PR.

@stendprog your points make a lot of sense!
I'd like to take a few days to study this topic in detail, then return to this PR better prepared.
You're probably correct that using arguments is the best way to proceed ... so I will read more about event handling architecture and hopefully come back with a better understanding of how to proceed.
Thanks again for starting this PR! I am excited for the direction this is going

I'm closing this PR because it's too hard to resolve the merge conflict (axis lines and spans are now in 4 files), but I'll track progress toward improving use of events throughout the code base in #266
Thanks for your work here @StendProg! I've been reading a lot about events since you first opened this PR and I look forward to improving how ScottPlot handles events.


Bug Report: validateCloseCode() throws IllegalArgumentException for CLOSE_NO_STATUS_CODE

When the server closes by sending a Close control frame, and there is no body, I received the following exception:
java.lang.IllegalArgumentException: Code 1005 is reserved and may not be used.
at okhttp3.internal.ws.WebSocketProtocol.validateCloseCode(WebSocketProtocol.java:114)
at okhttp3.internal.ws.WebSocketWriter.writeClose(WebSocketWriter.java:101)
at okhttp3.internal.ws.RealWebSocket$2.execute(RealWebSocket.java:190)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

I found this confusing because as stated in https://tools.ietf.org/html/rfc6455#section-5.5.1:
The Close frame MAY contain a body (the "Application data" portion of
the frame) that indicates a reason for closing, such as an endpoint
shutting down, an endpoint having received a frame too large, or an
endpoint having received a frame that does not conform to the format
expected by the endpoint.  If there is a body, the first two bytes of
the body MUST be a 2-byte unsigned integer (in network byte order)
representing a status code with value /code/ defined in Section 7.4.

Furthermore, as stated in https://tools.ietf.org/html/rfc6455#section-7.1.6:
As defined in Sections 5.5.1 and 7.4, a Close control frame may
contain a status code indicating a reason for closure

My understanding is that what my server sent was valid.
Searching 1005, https://tools.ietf.org/html/rfc6455#section-7.4.1 states the following:
1005 is a reserved value and MUST NOT be set as a status code in a
Close control frame by an endpoint.  It is designated for use in
applications expecting a status code to indicate that no status
code was actually present.

I understand OkHttp should validate my server did not send 1005, but I sent nothing. Searching the code https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/internal/ws/WebSocketReader.java#L192-L205 assumes 1005 without checking first I sent nothing. I believe this is contrary to the behaviour outline in https://tools.ietf.org/html/rfc6455#section-7.1.5
If this Close control frame contains no status code, _The WebSocket
Connection Close Code_ is considered to be 1005.

Thus, OkHttp is unfairly assuming my server sent 1005 and crashing with the following code when I didn't.
https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/internal/ws/WebSocketProtocol.java#L105-L118.
I can create a PR fixing this issue. Thank you.

@swankjesse Can I get an update on this issue? Thank you. :)

Can fix.


Some certificates for tls_listener (rustls) testcase are expired.

Expected Behavior
Test should pass.
Actual Behavior
Cargo prints that error:
---- listener::rustls::tests::tls_listener stdout ----
thread 'listener::rustls::tests::tls_listener' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidData, error: InvalidCertificateData("invalid peer certificate: CertExpired") }', poem/src/listener/rustls.rs:455:70
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'listener::rustls::tests::tls_listener' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidData, error: AlertReceived(BadCertificate) }', poem/src/listener/rustls.rs:460:44

Steps to Reproduce the Problem

Run cargo test --features rustls tls_listener.

Specifications

Version: poem 1.3.30
Platform: AMD64, Linux
rust version: 1.61.0

This issue can be reproduced at any system that can handle rustls.

Would you like to help me fix it? 😂

I didn't check origin of these certificates. May be they should be replaced by some self signed certificates. Some instructions how to generate that cert you can find in internet (stack overflow). I checked testcase for feature native-tls - it passed - is ok.

Small hint: You can use -days n option in openssl req to extend time of certificate.

All tests passed. So, I close this issue.


fix(build): add python 3.12 compatibility

Prior to this PR, this project did not support Python 3.12 due to an incompatibility with the version of versioneer used. The project used setup.cfg and versioneer for version management. However, using versioneer is no longer considered best practice.
In this PR, migrate the project to use pyproject.toml for build configuration, leveraging setuptools_scm for automatic versioning. This change aligns with PEP 621 standards and modernizes the project's packaging approach. The pyproject.toml file now contains essential metadata and configuration settings. This ensures that versioning is still managed dynamically based on SCM tags using setuptools_scm, whose GitHub repo "About" description states:

the blessed package to manage your versions by scm tags

Specifically, the setuptools_scm package is endorsed by the Python Packaging Authority (PyPA), which is a working group that maintains many of the relevant projects in the Python packaging ecosystem, including setuptools.

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


PruneCluster with ContextMenu

Hi there,
I have been able to use MarkerCluster with contextmenu but my similar implementation with PruneCluster is not working.  Here is my code:
var marker = new PruneCluster.Marker(coordinates[1],coordinates[0], {
                icon: L.divIcon({
                        className: 'class-name',
                        iconSize: new L.Point(width, height),
                        html: svg
                        }),
                        contextmenu: true,
                        contextmenuItems: [
                            {
                                text: 'Show Information',
                                index: 0,
                                value:"name",
                                callback:function(key,options){
                                    }},
                            {
                                separator: true,
                                index: 1 }
                        ]
            });
            pruneCluster.RegisterMarker(marker);

Any help would put me one step closer to demoing this to my manager.
Thanks,
Brian

@yellowiscool is this now implemented and how can we use this?

@brainheshmat how did you solve it (with a current version of Leaflet, PruneCluster and contextmenu)?


Improvement: Extension icon

Summary
Currently, the extension icon is a preview. Design submissions are welcome to improve it following the benchmark of other official extensions.
Benchmark

Suggestion N.1

Suggestion N.2

@beicause A Fiverr artist designed them. Let me know what you think.


fqdn: Update high-level package docs

I'm not too sure if all of this information should go in the package docs. We don't have a place for developer oriented debugging notes, for example, but a lot of what's in here is also stated in the cilium docs around these policy components.

Coverage decreased (-0.03%) to 46.803% when pulling 3b211874bea10050200b3f6e37bd759a9ad70390 on raybejjani:fqdn-add-docs into 9fbd82092def7ced2d520408435f61d6f6408848 on cilium:master.

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please

test-docs-please


Fix "Template is not defined" error

Without including this package I was receiving the error Template is not defined.
Thanks for the package!

@ozsay added the dependency in angular-with-blaze to solve that problem.
Thank you so much for thinking about that