[BUG] Cannot export Gemma/Mistral to ONNX/TensorRT using INT8

System Info
Optimum main branch, commit bb21ae7f7d572805f6ecdea8e0f02dc6014d57e8
Transformers 4.38.1
OnnxRuntime 1.17.1
PyTorch 2.2.1
TensorRT 8.6.1 (nvcr.io/nvidia/tensorrt:23.10-py3) container

Who can help?
@fxmarty
Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction (minimal, reproducible, runnable)
I'm trying to export Gemma/Mistral models from HF to be used in TensorRT in INT8. While the ONNX export completes successfully, I get errors from the TensorRT trtexec conversion about symmetric quantization despite enabling those flags in Optimum.
To reproduce, first export a Gemma model to ONNX with static INT8 quantization:
from optimum.onnxruntime import AutoQuantizationConfig, ORTModelForFeatureExtraction, AutoCalibrationConfig, ORTQuantizer
from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b")
onnx_model = ORTModelForFeatureExtraction.from_pretrained("google/gemma-2b", from_transformers=True)
quantizer = ORTQuantizer.from_pretrained(onnx_model)

from functools import partial
import torch

def preprocess_fn(ex, tokenizer):
    encoded_inputs = tokenizer(ex["func_documentation_string"], return_tensors="pt", padding=True)
    position_ids = torch.clamp(torch.cumsum(encoded_inputs['attention_mask'], dim=-1) - 1, min=0)
    # Convert to appropriate tensor type if using PyTorch
    position_ids_tensor = torch.LongTensor(position_ids)
    encoded_inputs['position_ids'] = position_ids_tensor

    return encoded_inputs

calibration_dataset = quantizer.get_calibration_dataset(
    "code_search_net",
    preprocess_function=partial(preprocess_fn, tokenizer=tokenizer),
    num_samples=3,
    dataset_split="train",
)

qconfig = AutoQuantizationConfig.tensorrt(per_channel=False)

calibration_config = AutoCalibrationConfig.minmax(calibration_dataset)
ranges = quantizer.fit(
    dataset=calibration_dataset,
    calibration_config=calibration_config,
    operators_to_quantize=qconfig.operators_to_quantize,
    use_external_data_format=True,
    batch_size=1,
    force_symmetric_range=True,
)

model_quantized_path = quantizer.quantize(
    save_dir="onnx-tensorrt/",
    calibration_tensors_range=ranges,
    quantization_config=qconfig,
    use_external_data_format=True,
)

Then, inside the nvcr.io/nvidia/tensorrt:23.10-py3 container, we build the TRT engine:
trtexec \
    --onnx=onnx-tensorrt/model_quantized.onnx \
    --saveEngine=model.plan \
    --minShapes=input_ids:1x512,attention_mask:1x512,position_ids:1x512 \
    --optShapes=input_ids:16x512,attention_mask:16x512,position_ids:16x512 \
    --maxShapes=input_ids:32x512,attention_mask:32x512,position_ids:32x512 \
    --verbose \
    --workspace=768000 \
    --int8

which yields the following error:
[02/29/2024-08:06:34] [V] [TRT] Parsing node: /layers.0/self_attn/Add_2_output_0_QuantizeLinear [QuantizeLinear]
[02/29/2024-08:06:34] [V] [TRT] Searching for input: /layers.0/self_attn/Add_2_output_0
[02/29/2024-08:06:34] [V] [TRT] Searching for input: /layers.0/self_attn/Add_2_output_0_scale
[02/29/2024-08:06:34] [V] [TRT] Searching for input: /layers.0/self_attn/Add_2_output_0_zero_point
[02/29/2024-08:06:34] [V] [TRT] /layers.0/self_attn/Add_2_output_0_QuantizeLinear [QuantizeLinear] inputs: [/layers.0/self_attn/Add_2_output_0 -> (-1, 8, -1, -1)[FLOAT]], [/layers.0/self_attn/Add_2_output_0_scale -> ()[FLOAT]], [/layers.0/self_attn/Add_2_output_0_zero_point -> ()[INT8]],
[02/29/2024-08:06:34] [V] [TRT] Registering layer: /layers.0/self_attn/Add_2_output_0_scale for ONNX node: /layers.0/self_attn/Add_2_output_0_scale
[02/29/2024-08:06:34] [E] [TRT] ModelImporter.cpp:771: While parsing node number 2211 [QuantizeLinear -> "/layers.0/self_attn/Add_2_output_0_QuantizeLinear_Output"]:
[02/29/2024-08:06:34] [E] [TRT] ModelImporter.cpp:772: --- Begin node ---
[02/29/2024-08:06:34] [E] [TRT] ModelImporter.cpp:773: input: "/layers.0/self_attn/Add_2_output_0"
input: "/layers.0/self_attn/Add_2_output_0_scale"
input: "/layers.0/self_attn/Add_2_output_0_zero_point"
output: "/layers.0/self_attn/Add_2_output_0_QuantizeLinear_Output"
name: "/layers.0/self_attn/Add_2_output_0_QuantizeLinear"
op_type: "QuantizeLinear"

[02/29/2024-08:06:34] [E] [TRT] ModelImporter.cpp:774: --- End node ---
[02/29/2024-08:06:34] [E] [TRT] ModelImporter.cpp:777: ERROR: builtin_op_importers.cpp:1221 In function QuantDequantLinearHelper:
[6] Assertion failed: shiftIsAllZeros(zeroPoint) && "TensorRT only supports symmetric quantization. The zero point for the QuantizeLinear/DequantizeLinear operator must be all zeros."
[02/29/2024-08:06:34] [E] Failed to parse onnx file
[02/29/2024-08:06:35] [I] Finished parsing network model. Parse time: 15.6036
[02/29/2024-08:06:35] [E] Parsing model failed
[02/29/2024-08:06:35] [E] Failed to create engine from model or file.
[02/29/2024-08:06:35] [E] Engine set up failed
&&&& FAILED TensorRT.trtexec [TensorRT v8601] # trtexec --onnx=onnx-tensorrt/model_quantized.onnx --saveEngine=model.plan --minShapes=input_ids:1x512,attention_mask:1x512,position_ids:1x512 --optShapes=input_ids:16x512,attention_mask:16x512,position_ids:16x512 --maxShapes=input_ids:32x512,attention_mask:32x512,position_ids:32x512 --verbose --workspace=768000 --int8

It seems like the weights aren't symmetric after all. Would appreciate your help @fxmarty! Thanks in advance.
Expected behavior
The weights are symmetric and the TensorRT engine successfully builds with INT8.

Despite using a TensorRT config and force_symmetric_range=True, it seems the weights are still asymmetrical @fxmarty.

@michaelroyzen I can reproduce the issue. Could you inspect your model with netron to inspect the node /layers.0/self_attn/Add_2_output_0_QuantizeLinear?
Trying on a dummy model (https://huggingface.co/fxmarty/tiny-random-GemmaForCausalLM), it appears that at least one node is not quantized properly, but others are fine:

I'm not sure whether this is due to using a dummy model, a very small dataset or a bug in ORT.

Can you try:
qconfig.operators_to_quantize = ['Conv', 'ConvTranspose', 'Gemm', 'Clip', 'Relu', 'Reshape', 'Transpose', 'Squeeze', 'Unsqueeze', 'Resize', 'MaxPool', 'AveragePool', 'MatMul', 'Split', 'Gather', 'Where', 'InstanceNormalization', 'LayerNormalization']

(or a subset of that - simply removing "Softmax")
Also maybe useful to you: https://github.com/huggingface/optimum/blob/bb21ae7f7d572805f6ecdea8e0f02dc6014d57e8/examples/onnxruntime/quantization/text-classification/run_glue.py#L467-L476
After that all quantization nodes are symmetric, but you may get an other error:
[02/29/2024-09:52:02] [V] [TRT] logits_DequantizeLinear [DequantizeLinear] inputs: [logits_QuantizeLinear_Output -> (-1, -1, 256000)[FLOAT]], [logits_scale -> ()[FLOAT]], [logits_zero_point -> ()[INT8]],
[02/29/2024-09:52:02] [V] [TRT] Registering tensor: logits_349 for ONNX tensor: logits
[02/29/2024-09:52:02] [V] [TRT] logits_DequantizeLinear [DequantizeLinear] outputs: [logits -> (-1, -1, 256000)[FLOAT]],
[02/29/2024-09:52:02] [V] [TRT] Marking logits_349 as output: logits
[02/29/2024-09:52:02] [I] Finished parsing network model. Parse time: 0.0642945
[02/29/2024-09:52:02] [I] FP32 and INT8 precisions have been specified - more performance might be enabled by additionally specifying --fp16 or --best
[02/29/2024-09:52:02] [W] [TRT] Calibrator won't be used in explicit precision mode. Use quantization aware training to generate network with Quantize/Dequantize nodes.
[02/29/2024-09:52:02] [E] Error[4]: [graphShapeAnalyzer.cpp::analyzeShapes::2013] Error Code 4: Miscellaneous (IElementWiseLayer /model/And: broadcast dimensions must be conformable)
[02/29/2024-09:52:02] [E] Engine could not be created from network
[02/29/2024-09:52:02] [E] Building engine failed
[02/29/2024-09:52:02] [E] Failed to create engine from model or file.
[02/29/2024-09:52:02] [E] Engine set up failed
&&&& FAILED TensorRT.trtexec [TensorRT v8601] # trtexec --onnx=model_quantized.onnx --saveEngine=model.plan --minShapes=input_ids:1x512,attention_mask:1x512,position_ids:1x512 --optShapes=input_ids:16x512,attention_mask:16x512,position_ids:16x512 --maxShapes=input_ids:32x512,attention_mask:32x512,position_ids:32x512 --verbose --int8

Same error on nvcr.io/nvidia/tensorrt:24.01-py3. Sounds like a bug in TRT.

We do use TRT-LLM for generation, but our goal here is to use Mistral/Gemma for embeddings. TRT-LLM only returns logits, not the last hidden states pre-projection.

@michaelroyzen were you able to confirm that the issue is fixed ? as reported in https://github.com/NVIDIA/TensorRT/issues/3688

Can't confirm yet as TensorRT 10.0 has not been released yet. @IlyasMoutawwakil

Closing as it is a TRT bug.

@michaelroyzen Hi. Is your static quantized model working normally? I tried quantizing MiniCPM model using similar approach, however it just generate some garbage.

hi @michaelroyzen why do you use ORTQuantizer? cant you just quantize the model using trtexec?


Java client library

Similar to #657, it would be nice to have an official client library for Java/Kotlin.

In my company we use Scala. Having a Java client would be a great boon!

Focus on this issue


Document how to use an existing Airflow installation to orchestrate Meltano

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2118
Originally created by @DouweM on 2020-06-29 15:17:07

Or Barda asked on Slack:

Hi guys, is there a way to use already running AirFlow in Meltano as the orchestrator?

I responded:

Absolutely! Using Meltano's "built-in"  Airflow orchestrator really just means installing it into a Meltano-managed Python venv inside .meltano, and invoking it through meltano invoke so that some default Meltano-compatible configuration can be dynamically applied at invocation time: https://gitlab.com/meltano/meltano/blob/master/src/meltano/core/bundle/discovery.yml#L840-855
That config points Airflow to $MELTANO_PROJECT_ROOT/orchestrate/dags to look for dags, which is where you'll find https://gitlab.com/meltano/files-airflow/-/blob/master/bundle/orchestrate/dags/meltano.py (since meltano add orchestrator airflow also addd the Airflow file bundle from that repo).
That DAG should work with any Airflow installation as long as the MELTANO_PROJECT_ROOT env var is set to point at the Meltano project directory, and as long as Meltano itself is installed and meltano install has been run inside the project.
That setup assumes you'll use meltano schedule to schedule your meltano elt pipelines, since it iterates over the result of meltano schedule list --format=json to create DAGs for each, but you can also create your own DAGs for any pipeline you fancy using BashOperator + meltano elt, or DockerOperator + docker run <your project image> elt ...  (see https://meltano.com/#containerization)

View 4 previous comments from the original issue on GitLab

@rickiesmooth That's right, otherwise meltano elt/meltano run will fail.


Add operator: Sequence

This operator does not yet exist in ONNX, but should be add: https://stat.ethz.ch/R-manual/R-devel/library/base/html/seq.html.

As this operator does not exist, we should first add it to the ONNX specification. Please add the request here: https://github.com/onnx/onnx/issues/1646


fix(share): order proof nodes by depth before returning

Overview
Fix the order of inclusion proof nodes returned by GetSharesByNamespace to be possible incorrect.
Checklist

[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #1545 (ead4e2d) into main (0ab5df6) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1545      +/-   ##
==========================================
+ Coverage   55.06%   55.09%   +0.02%
==========================================
  Files         211      211
  Lines       12953    12967      +14
==========================================
+ Hits         7133     7144      +11
- Misses       5093     5095       +2
- Partials      727      728       +1

Impacted Files
Coverage Δ

share/ipld/get.go
92.14% <100.00%> (-0.04%)
:arrow_down:

share/ipld/proof.go
100.00% <100.00%> (ø)

header/core/listener.go
52.83% <0.00%> (-5.67%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Updated the version of Porting-Lib

:| This is third time but no problem I'll be happy if you replied anything to me.
Porting Lib version: from 2.1.627 to 2.1.706
and updated the plugin.json, update.json

We don't need help changing the API version, we can do that ourselves. A proper way of contributing is adding new features or fixing bugs, not bumping the version number.

Ok. Thanks for the reply..

We don't need help changing the API version, we can do that ourselves. A proper way of contributing is adding new features or fixing bugs, not bumping the version number.

Yup. You're right but there's a catch, I AM NOOB in Java and FreeMarker ;(
The thing I did was my best to you. Thanks.. if you not liked that, sorry 😶.


No module named 'rotnet'

Iam getting an error calling tools/train.py
" No module named 'rotnet'"
How to include?

You should set project path being root, like README.md said

Many thanks, i'll try.
iam newby in Python 🥳👈🏼

Ok, i tried it, but how to pass this Path right?

Many Thanks!

Ok, i tried it, but how to pass this Path right?
Many Thanks!

Not recommend to train in command-line window. You can download WSL to use linux


Continuously check policies and reconcile

Problem
When selinuxd would be running on a host directly, there is the possibility of someone changing the policies out-of-band.
For instance it's possible for someone to uninstall a policy without selinuxd knowing.
Proposal
Let's make selinuxd constantly check for policies to make sure that the system is in the state that the /etc/selinux.d directory mandates.
Use cases

As a system administrator, I want to make sure that the policies installed in /etc/selinux.d are indeed the policies that are installed and available on the system.

So...the goal of this project seems offhand similar to https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay.d/05core/usr/lib/systemd/system/coreos-update-ca-trust.service
Does this project need to actually be anything beyond a systemd unit file that has something like ConditionDirectoryNotEmpty=/etc/selinux/modules and  ExecStart=semodule -B ?
Why would we need a new daemon for this?
Longer term I'd really like to go more in the direction of https://github.com/ostreedev/ostree/issues/2220 which "lifecycle binds" /etc and /usr so that changes to /etc also participate in the ostree transaction system.  This would mean (specifically for SELinux policies) that e.g. you'd be able to transactionally swap between different configs, e.g. any change to the config could be rebooted into and rolled back.  And nothing stops us from integrating with rpm-ostree apply-live to live apply a subset of changes, which would actually update the running kernel's policy (but note if something went wrong, a reboot would clear it!).

@cgwalters thanks for taking the time to comment. My responses go inline:

So...the goal of this project seems offhand similar to https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay.d/05core/usr/lib/systemd/system/coreos-update-ca-trust.service

The main issue with that unit is that it only works on boot, which is not very useful if you are dynamically scheduling workloads on a host which need their own SELinux policies.

Does this project need to actually be anything beyond a systemd unit file that has something like ConditionDirectoryNotEmpty=/etc/selinux/modules and ExecStart=semodule -B ?

Right, the problem with this is that you lose any concept or error reporting and status for your policies

Why would we need a new daemon for this?

I'm all for simplification and wouldn't have liked to write a daemon from scratch, and go through the process of evangelizing it and trying to get it adopted. But the main thing is that with the standard tooling it's not trivial to cover our main use-case:

We'd like to be able to get SELinux policies dynamically installed alongside the workloads that get scheduled on a host.

Not a one-time installation of a lot of policies (like it's usually done), but instead, alongside a workload. Then, once we have a mechanism to schedule the policies to hosts and ensure workloads are able to take them into use. Once you're able to install policies with your workload, naturally, one needs to know the state of the installed policies. This is something else that selinuxd provides: It's able to tell you if the policy was installed, or not, and if there's any issues or syntax errors in your policy. Which is a way nicer user-experience when developing a policy.
The main target or user for this daemon really is the Security Profiles Operator, for which we're trying we're trying to get adoption in OpenShift via the following enhancement proposal. While we could just run this in a container or integrate it directly to the SPO, we thought this might be useful in the host as well, and hence the proposal to include it in Fedora CoreOS.
Finally, I'd like to add metrics natively to the daemon, which would be easier than writing a custom scraper... I had forgotten to write an issue in this project though...

Longer term I'd really like to go more in the direction of ostreedev/ostree#2220 which "lifecycle binds" /etc and /usr so that changes to /etc also participate in the ostree transaction system. This would mean (specifically for SELinux policies) that e.g. you'd be able to transactionally swap between different configs, e.g. any change to the config could be rebooted into and rolled back.

This is ideal for system policy, but is not very useful and even gives a very bad user experience for workload policies. If you're trying to secure a workload, but any time you install a policy you need to wait for a whole cluster reboot, you're not only gonna view installing policies and cumbersome, but also you're gonna view it as an availability issue.

And nothing stops us from integrating with rpm-ostree apply-live to live apply a subset of changes, which would actually update the running kernel's policy (but note if something went wrong, a reboot would clear it!).

I didn't know about this! I'd like to see it being taken into use at some point :smile:
One last note: This specific bug is about constantly reconciling the policies in case someone removed a policy via semodule without selinuxd knowing.


Allow env mapping for secrets

This was previously not possible.
This is a non breaking way of fixing #99.
Other ways would introduce breaking changes to variable names.
Additional features:

allow to rename secret keys in env variables (see https://github.com/cruise-automation/daytona/issues/99#issuecomment-1492390145)
allow to store selected secret keys as env variables and in a file

Example:
DAYTONA_SECRET_DESTINATION_CHAOS_DB=/Users/jonny.langefeld/data/repos/daytona/secrets.json \
K8S_AUTH=true \
K8S_AUTH_MOUNT=kubernetes-gcp-paas-dev-us-west1 \
SECRET_ENV=true \
VAULT_AUTH_ROLE=junogen-chaos-demo-0922 \
VAULT_SECRET_CHAOS_DB=secret-paas/project/jonny-1-click/dev/us-central1/crossplane/cruise-spanner-db/jonnys-spanner \
VAULT_VALUE_KEY_CHAOS_DB_SPANNERDATABASE=SPANNER_DATABASE_ID \
VAULT_VALUE_KEY_CHAOS_DB_SPANNERINSTANCE=SPANNER_INSTANCE_ID \
daytona -entrypoint -- printenv | grep SPANNER
{"level":"info","applicationName":"daytona","version":"","time":"2023-04-04T15:10:36-07:00","message":"Starting..."}
{"level":"info","applicationName":"daytona","time":"2023-04-04T15:10:36-07:00","message":"Attempting to automatically infer some k8s configuration data"}
{"level":"info","applicationName":"daytona","time":"2023-04-04T15:10:36-07:00","message":"Checking for an existing, valid vault token"}
{"level":"info","applicationName":"daytona","time":"2023-04-04T15:10:36-07:00","message":"Couldn't use VAULT_TOKEN, attempting file token instead: no pre-existing client token detected"}
{"level":"info","applicationName":"daytona","tokenPath":"/Users/jonny.langefeld/.vault-token","time":"2023-04-04T15:10:37-07:00","message":"Found an existing token at token path, setting as client token"}
{"level":"info","applicationName":"daytona","time":"2023-04-04T15:10:37-07:00","message":"Starting secret fetch"}
{"level":"debug","applicationName":"daytona","time":"2023-04-04T15:10:37-07:00","message":"reading secret path for VAULT_SECRET_CHAOS_DB=secret-paas/project/jonny-1-click/dev/us-central1/crossplane/cruise-spanner-db/jonnys-spanner"}
{"level":"debug","applicationName":"daytona","secret_count":5,"time":"2023-04-04T15:10:37-07:00","message":"finished reading paths for VAULT_SECRET_CHAOS_DB=secret-paas/project/jonny-1-click/dev/us-central1/crossplane/cruise-spanner-db/jonnys-spanner"}
{"level":"info","applicationName":"daytona","var":"JONNYS-SPANNER_SPANNER_PROJECT_ID","time":"2023-04-04T15:10:37-07:00","message":"Set env var"}
{"level":"info","applicationName":"daytona","var":"JONNYS-SPANNER_KEY.JSON","time":"2023-04-04T15:10:37-07:00","message":"Set env var"}
{"level":"info","applicationName":"daytona","var":"JONNYS-SPANNER_METADATA:SECRET.CROSSPLANE.IO/OWNER-UID","time":"2023-04-04T15:10:37-07:00","message":"Set env var"}
{"level":"info","applicationName":"daytona","var":"JONNYS-SPANNER_SPANNER_DATABASE_ID","time":"2023-04-04T15:10:37-07:00","message":"Set env var"}
{"level":"info","applicationName":"daytona","var":"JONNYS-SPANNER_SPANNER_INSTANCE_ID","time":"2023-04-04T15:10:37-07:00","message":"Set env var"}
{"level":"info","applicationName":"daytona","count":5,"outputDestination":"/Users/jonny.langefeld/data/repos/daytona/secrets.json","time":"2023-04-04T15:10:37-07:00","message":"Wrote secret"}
{"level":"info","applicationName":"daytona","args":["printenv"],"time":"2023-04-04T15:10:37-07:00","message":"Will exec"}
VAULT_VALUE_KEY_CHAOS_DB_SPANNERDATABASE=SPANNER_DATABASE_ID
VAULT_VALUE_KEY_CHAOS_DB_SPANNERINSTANCE=SPANNER_INSTANCE_ID
jonnys-spanner_SPANNER_PROJECT_ID=ca-persistent-systems-dev-qh38
jonnys-spanner_SPANNER_DATABASE_ID=jonnys-spanner
jonnys-spanner_SPANNER_INSTANCE_ID=test-persistent-systems-vmtv6-6bb89

Can we please limit this to the problem described in #99 and attempt to solve vault key re-mapping in a separate PR? We may want to add this capability to an upcoming 2.0.0 release. Thank you!


Pregunta

Hola como se importa la libreria?
hi how import he library?

`import { isValidNif } from "nif-dni-nie-cif-validation".
I'll set an example in the readme later.

A new section is added to the readme explaining how to import the package and use it: https://github.com/josegoval/nif-dni-nie-cif-validation/blob/main/README.md#example-usage
Ask anything else if you need it.
Thanks for the report.


Page load delayed styling and positioning

This is not the kind of issue I can demonstrate with a js-fiddle.
When the page loads, there are 1-5 seconds where elements are stacked weird. It depends on the framework, but it happened with React-Bootstrap also; now it's React-Slick. You can see it now on my website if you will navigate to brandonarnold.com.
Any thoughts about what would cause this delay?
It is clearly a delay of the styling being related to my DOM content. Here's how the CDN is linked in my HTML head tags:
<link href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css" rel="stylesheet" />

Here is how I import the component:
import Slider from 'react-slick';

Settings for Slider:
    this.slSettings = {
      dots: true,
      infinite: false,
      speed: 500,
      autoplay: false,
      arrows: false,
      slidesToShow: 1,
      slidesToScroll: 1
    };

Render snippet of React component:
<Slider {...this.slSettings}>
  {this.chessGameSections} // a list of <div>...</div> elements
</Slider>

I'm pretty sure it's because the CSS is being downloaded on page load instead of being rendered inline by Webpack. So far I have been able to copy the above CSS files into my project but have been unsuccessful in getting them to be downloaded before the other content.

Nope. It has nothing to do with download times of CSS or fonts. I now have all my custom fonts disabled, and I have slick.css and slick-theme.css being generated inline in  in the  of my HTML document. The startup delay persists.

Is is because you are doing server side rendering.
I will try to fix

@akiran Maybe I can help. I just cloned from master however and when I run gulp server it fails. Apparently it is trying to process the JSX files as node javascript and fails to parse the HTML tags. How is it running on your system and not mine? Why'd you change the filenames from JSX to JS?
The following is the first error on the SimpleSlider.js file, but there is a similar error for all JSX files:
Module parse failed: C:\projects\bacom\node_modules\react-slick\examples\SimpleSlider.js Unexpected token (14:6)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (14:6)
    at Parser.pp$4.raise (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:2221:15)
    at Parser.pp.unexpected (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:603:10)
    at Parser.pp$3.parseExprAtom (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1822:12)
    at Parser.pp$3.parseExprSubscripts (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1715:21)
    at Parser.pp$3.parseMaybeUnary (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1692:19)
    at Parser.pp$3.parseExprOps (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1637:21)
    at Parser.pp$3.parseMaybeConditional (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1620:21)
    at Parser.pp$3.parseMaybeAssign (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1597:21)
    at Parser.pp$3.parseParenAndDistinguishExpression (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1861:32)
    at Parser.pp$3.parseExprAtom (C:\projects\bacom\node_modules\react-slick\node_modules\webpack\node_modules\acorn\dist\acorn.js:1796:19)
 @ ./docs/demos.jsx 13:20-55

Facing the same issue. Initially all the divisions are stacked one over the other and after a lag of 5-6 sec, the slider works with all the styles applied.
Any updates regarding this?

The issue was there in ssr. A fix has been implemented to use temporary styling until js kicks in with componentDidMount. The fix is still in dev mode, will be released soon.

When will this be fixed?


Linking soundcloud in shabad search can be a better way

It's in roadmap

shall i work on it?

Sure!

I like this idea: https://github.com/bogas04/SikhJS/issues/19#issuecomment-255571410

#83 can help us create those anchor tags


shell_exec + "Cannot connect to the Docker daemon. Is the docker daemon running on this host?"

Hello,
I can't run docker via shell_exec php.
Docker runs in terminal command line, but not working via php shell_exec
shell_exec('whoami') shows "admin"
User "admin" is added to the docker group (docker runs in command line of user 'admin')
There's problem only in running docker in php script.
Can anyone help?

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

How is docker running? Via docker-machine?
Most likely you need to setup the env vars correctly for the shell.
Closing since this isn't really an issue.


Fix Node affinity example pod

The provided example does not match API.

nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution is expected to be an array of PreferredSchedulingTerm.
nodeSelectorTerms is the type for the key preference.

Reference:
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#nodeaffinity-v1-core
Not sure if it needs to be updated for other languages.

Maybe related to https://github.com/kubernetes/website/pull/34967

nvm this preferredDuringSchedulingIgnoredDuringExecution is a list and requiredDuringSchedulingIgnoredDuringExecution is not.


FileSystem should support fileKey(...)

https://github.com/christian-schlichtherle/truevfs/blob/90690d7718f3f190721e28d8675e178dd5698a56/truevfs-access/src/main/java/net/java/truevfs/access/TFileSystem.java#L508
So traversing via walkFileTree(...) and walk(...) will be possible

API specification of clear sad that it should return an object that uniquely identifies the given file, or null.
It is clear bug with FsNodeAttributes.fileKey() that throw exception.
BasicFileAttributes.fileKey()

Could you please accept pool request and made a new build with critical bug fix.
Thanks.


Email Adapter - Cannot read property 'create' of undefined "CreateVerificationTokenError"

Question 💬
Hey,
when using only email provider, I get the following error after submitting an email on the signin page:
[next-auth][error][adapter_error_createVerificationToken]
https://next-auth.js.org/errors#adapter_error_createverificationtoken Cannot read property 'create' of undefined {
  message: "Cannot read property 'create' of undefined",
  stack: "TypeError: Cannot read property 'create' of undefined\n" +
    '    at createVerificationToken (*/node_modules/@next-auth/prisma-adapter/dist/index.js:34:64)\n' +
    '    at Object.acc.<computed> [as createVerificationToken] (*/.next/server/pages/_app.js:1177:22)\n' +
    '    at email (*/.next/server/pages/api/auth/[...nextauth].js:1572:17)\n' +
    '    at async Object.signin (*/.next/server/pages/api/auth/[...nextauth].js:3284:7)\n' +
    '    at async NextAuthHandler (*/.next/server/pages/api/auth/[...nextauth].js:946:18)\n' +
    '    at async */.next/server/pages/api/auth/[...nextauth].js:995:32\n' +
    '    at async Object.apiResolver (*/node_modules/next/dist/server/api-utils.js:101:9)\n' +
    '    at async DevServer.handleApiRequest (*/node_modules/next/dist/server/next-server.js:770:9)\n' +
    '    at async Object.fn (*/node_modules/next/dist/server/next-server.js:661:37)\n' +
    '    at async Router.execute (*/node_modules/next/dist/server/router.js:205:32)',
  name: 'TypeError'
}

I've tried several [...nextauth].js configs (basic ones like this, also what I used to use before v4). Would greatly appreciate any help!
next-auth version: "next-auth": "4.0.0-beta.2",
adapter version: "@next-auth/prisma-adapter": "^0.5.2-next.5",
How to reproduce ☕
This is my [...nextauth].js file:
import prisma from '../../../lib/prisma'

export default NextAuth({
  adapter: PrismaAdapter(prisma),
  providers: [
    EmailProvider({
      server: {
        host: process.env.EMAIL_SERVER_HOST,
        port: Number(process.env.EMAIL_SERVER_PORT),
        auth: {
          user: process.env.EMAIL_SERVER_USER,
          pass: process.env.EMAIL_SERVER_PASSWORD
        }
      },
      from: process.env.EMAIL_FROM
    }),
  ],
})

Contributing 🙌🏽
No, I am afraid I cannot help regarding this

Could you show how prisma looks like that you import like this?:
import prisma from '../../../lib/prisma'

Hey 👋
It's simply imported so the prisma db connection gets reused when possible.

// PrismaClient is attached to the `global` object in development to prevent
// exhausting your database connection limit.
//
// Learn more:
// https://pris.ly/d/help/next-js-best-practices

declare global {
  namespace NodeJS {
    interface Global {
      prisma: any;
    }
  }
}

let prisma: PrismaClient

if (process.env.NODE_ENV === 'production') {
  prisma = new PrismaClient()
} else {
  if (!global.prisma) {
    global.prisma = new PrismaClient()
  }
  prisma = global.prisma
}
export default prisma```

The error you are showing suggests that prisma.verificationToken is undefined, which I think can happen if you forgot to run prisma generate. Can this be the case?

I don't think so, prisma client is definitely generated. I tried this in production with "postinstall": "prisma generate" set in package.json as well.

so if you log out prisma.verificationToken, it's never undefined? I don't see any other reasons for this to fail

Managed to fix it, was related to the database schema not being correct. Thank you for your quick replies, great work on v4!

awesome, and thanks!

I am having same problem after updating to version 4.0.0-beta.4 .
For example, google OAuth works perfectly fine, but email doesn't, it throws the same error.
I updated schema according to documentation for v4, didn't find any inconsistencies there.
@fefe-x can you explain what you fixed in your schema?


[Doc Feature][Link unfurling withoutapp]

Docs Build status updates of commit b164ca0:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:warning:Warning
View
Details

msteams-platform/tabs/tabs-link-unfurling.md
:warning:Warning
View
Details

msteams-platform/whats-new.md
:warning:Warning
View
Details

msteams-platform/messaging-extensions/design/messaging-extension-design.md
:warning:Warning
View
Details

msteams-platform/sbs-botbuilder-linkunfurling.yml
:warning:Warning
View
Details

msteams-platform/get-started/glossary.md
:warning:Warning
View
Details

msteams-platform/messaging-extensions/how-to/enable-SSO-auth-me.md
:warning:Warning
View
Details

msteams-platform/resources/create-messaging-extension-using-appstudio.md
:warning:Warning
View
Details

msteams-platform/messaging-extensions/how-to/link-unfurling-withoutappmd
:white_check_mark:Succeeded

msteams-platform/TOC.yml

Line 287, Column 11: [Warning: file-not-found - See documentation] Invalid file link: 'messaging-extensions/how-to/link-unfurling.md'.

msteams-platform/tabs/tabs-link-unfurling.md

Line 153, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '~/messaging-extensions/how-to/link-unfurling.md'.

msteams-platform/whats-new.md

Line 216, Column 56: [Warning: file-not-found - See documentation] Invalid file link: 'messaging-extensions/how-to/link-unfurling.md'.

msteams-platform/messaging-extensions/design/messaging-extension-design.md

Line 147, Column 120: [Warning: file-not-found - See documentation] Invalid file link: '../../messaging-extensions/how-to/link-unfurling.md'.

msteams-platform/sbs-botbuilder-linkunfurling.yml

Line 10, Column 21: [Warning: file-not-found - See documentation] Invalid file link: 'messaging-extensions/how-to/link-unfurling.md'.

msteams-platform/get-started/glossary.md

Line 105, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../messaging-extensions/how-to/link-unfurling.md'.

msteams-platform/messaging-extensions/how-to/enable-SSO-auth-me.md

Line 119, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'link-unfurling.md'.

msteams-platform/resources/create-messaging-extension-using-appstudio.md

Line 62, Column 105: [Warning: file-not-found - See documentation] Invalid file link: '~/messaging-extensions/how-to/link-unfurling.md'.
Line 243, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '~/messaging-extensions/how-to/link-unfurling.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix compilation errors caused by ssl on MacOS

Bug report: #769
Related issue: #328 #360 #666 #723 #726
According to the instruction
given by incubator-brpc, openssl seems to be an optional lib but it is required
on all platforms, despite that openssl may be installed by default and no need
to install manually.
However, openssl is not trusted by Apple due to heartbleed,
if we need to get openssl support, we need to install it manually.
We can compile/install leveldb, gflags, openssl, openssl, protobuf on mac by
simply using the package manager called brew as suggested by the brpc
installation instruction, or install by hand with autotools + libtool + pkg-config
from source code published on github (or somewhere).
brew does a lot for users, however, users usually don't know what's under
the hood and the pkg installation path may differ for different users, which
may make compilation fail.
e.g fails to link openssl when we build brpc on mac
Linking libbrpc.dylib
Linking protoc-gen-mcpack
Copying to output/include
Undefined symbols for architecture x86_64:
  "_BN_get_rfc2409_prime_1024", referenced from:
      brpc::SSLDHInit() in ssl_helper.o
      brpc::policy::DHWrapper::do_initialize() in dh.o
  "_BN_get_rfc3526_prime_2048", referenced from:
      brpc::SSLDHInit() in ssl_helper.o
  "_BN_get_rfc3526_prime_4096", referenced from:
      brpc::SSLDHInit() in ssl_helper.o
  "_BN_get_rfc3526_prime_8192", referenced from:

To fix that, we should treat libopenssl as a normal, not default, library
needed by brpc, just the same as leveldb or gflags.
--- a/config_brpc.sh
+++ b/config_brpc.sh
@@ -136,6 +136,9 @@ find_dir_of_header_or_die() {
     $ECHO $dir
 }

+# User specified path of lib openssl, if not given it's empty
+OPENSSL_LIB=$(find_dir_of_lib ssl)
+
 # Inconvenient to check these headers in baidu-internal
 #PTHREAD_HDR=$(find_dir_of_header_or_die pthread.h)
 OPENSSL_HDR=$(find_dir_of_header_or_die openssl/ssl.h)
@@ -233,7 +236,7 @@ PROTOBUF_HDR=$(find_dir_of_header_or_die google/protobuf/message.h)
 LEVELDB_HDR=$(find_dir_of_header_or_die leveldb/db.h)

 HDRS=$($ECHO "$GFLAGS_HDR\n$PROTOBUF_HDR\n$LEVELDB_HDR\n$OPENSSL_HDR" | sort | uniq)
-LIBS=$($ECHO "$GFLAGS_LIB\n$PROTOBUF_LIB\n$LEVELDB_LIB\n$SNAPPY_LIB" | sort | uniq)
+LIBS=$($ECHO "$GFLAGS_LIB\n$PROTOBUF_LIB\n$LEVELDB_LIB\n$OPENSSL_LIB\n$SNAPPY_LIB" | sort | uniq)

With this patch,
users can specify libopenssl when run  config_brpc.sh with option
--libs="... ${path_to_libopenssl} ...", in which path_to_libopenssl may be
one of /usr/local/lib, /usr/local/opt/lib,
/users/gavin/installed-from-src/openssl/lib and etc.
If you failed to compile due to openssl, try to change the above lib path.
I think it's the purpose of option --libs. The original config_brpc.sh
treats openssl as a default library instead of a normal library, that may be not
correct.
The above patch should fix all the following issues or pull request:

MacOS安装make报错 #328
macos 10.12.6 make出错 #360
Mac下链接生成动态库失败 #666
mac 10.13.6 编译出错 #726
fix build scripts under mac os env and add building section for README #723

(There may be more issues which I didn't find.)
This is an example of compilation error caused by openssl when we build brpc,
we can do the same to resolve other compilation error related to libs, including
version issues of libs.

Thanks for the patch and detailed explanations :)

works like this:
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL -DCMAKE_INCLUDE_PATH="../../third_part_openssl/include/;../../third_part_gflags/include/;../../third_part_protobuf/include/;../../third_part_leveldb/include/" -DCMAKE_LIBRARY_PATH="../../third_part_openssl/lib/;../../third_part_gflags/lib/;../../third_part_protobuf/lib/;../../third_part_leveldb/lib64/" .


Update hooks.rst (#6160)

This proposed documentation update is in regard to Issue #6160

Thanks @Jean-Zombie! Merged in 9baf6ce62a7ccd175853e71f0c28ec6cc3730550.


Mouse scroll speed is different based on the place the mouse pointer points to

Description
If you scroll a mouse wheel AND mouse pointer is hovered over the code - it scrolls very slowly: notice the line number after one scroll-event (this is incorrect scroll speed).
If you scroll over the place where number of rows are shown - it scrolls 3 lines of code (this is correct scroll speed).
I didn't check all other places for scrolling, hope you will.
I need 3 lines when scrolling in all the applicatoins (it seems to be default or set by Windows settings, I am not sure).
But when it scrolls slower it is difficult to navigate through long listings of code.
I also noticed the same behaviour in sql editor where queries are usually written but I failed to figure out the certains steps (not always reproducible - most of time it works correctly, and it seems to be it is not based on location of mouse pointer).
It scrolls on one tab slowly and on another new tab with the same copy-pasted code - correctly.
Only closing the tab and opening it again helps.
Please also check sql editor for this issue.
DBeaver Version
Community Edition <IP_ADDRESS>407222322
Operating System
Windows 10
Database and driver
No response
Steps to reproduce
set option:
Preferences -> Editors -> Text editors -> show line numbers = true
Open code of any long function/procedure and scroll mouse hovering over different places:
https://github.com/user-attachments/assets/b848c13f-5c7f-4a86-8a93-b902908dfd2a
Additional context
No response

Thank you for the report!

Notes for myself: when will be fixed - remove WheelUp/WheelDown handlers in ahk.

This bug periodically happens in the SQL editor as well. I can't say how exactly to reproduce it, as it is not always happening. But when it happens, mouse-overing over the left editor area (the narrow "collapse/expand query" UI) helps to scroll faster (3 lines per mouse-wheel-tick). Closing and re-opening the editor fixes the problem for some time.
DBeaver Version: <IP_ADDRESS>408181605


fix the problem that it dont display map images on CN clients

issue #44
the issue is caused by the Sheet, as the cn client only has one ClientLanguage so it cannot use "DataManager.Excel.GetSheet(Language.English)"
I add an if to the place using the ClientLanguage as the condition.

Some expression error:
It's not "cn client only has one language".
It's "PlaceName Sheet from cn client doesn't has other languages"
So when using 'GetSheet(Language.English)' it will return with a null.


Practice: Build Superheroes app:  Android Basics with Compose

The list item height specification of 72.dp should apply to the Row content height (excluding padding), i.e., as marked (with padding) it should be 72 + 2*16 = 104.dp.

Correct! I support this change.

@ppjanka @jayeshmann
We are setting minHeight to 72dp.
Look into the documentation for further information: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints#minHeight()
https://github.com/google-developer-training/basic-android-kotlin-compose-training-superheroes/blob/64cb06ff8e04568f012602b9f07fa7a644bdcb96/app/src/main/java/com/example/superheroes/HeroesScreen.kt#LL118C25-L118C34


(Re-)Start or Resume GCode from a certain point in the Code

Hi,
I realy love grblHAL and this sender. One thing I am regularly missing is the possibility to start, restart or resume a milling job from a certain point in the code. This would be very helpful after certain errors, crashes, broken cutters, or just to continue a job the next day...
For now I help myself by deleting parts of the gcode file in a text editor, but this is quite laborious. So maybe this could be a feature for a future release of IoSender?
Kind regards
Paul

Probably should be a discussion topic.  It has been brought up before.  The problem is you need to keep the "preamble" that sets up the job (turn on the spindle, set workspace, etc) and there is no standard for that.  It's pretty easy for a person to see in the GCode, not so easy to automatically determine.  You can edit the loaded GCode file from ioSender. Though, that also updates the original file.  Save-as doesn't change the loaded GCode so you you would edit, save-as something else and then load that.  Maybe have an edit-and-load without changing the original GCode?

For a lot of people (like me), leaving out the "preamble" might not be an issue. For me, i have to start/set the spindle manually, as well as workspaces.
So for me, a behaviour like "start from line" (as UGS does it) would be completely sufficent.
But I also found, that the way, bCNC does it, is very interesting. There, you can activate/deactivate single lines in your code, so you could leave the preamble as it is, then deacivate some lines and finaly let it do the rest of the job.

bCNC also has buttons for things like "activate/deactivate all", "invert selection" and some more options. Very helpful, but of course a lot of work to integrate this into IOSender code and user interface...

One possible solution would be to run the gcode until the desired line in a non-move mode, extract the machine state (MPos, coordinate system, g90/91, spindle rpm and such) from the simulated "history". After that, make a safe move to the required position (z up, x y subsequently), turn on the spindle and approach in negative z.
This might be problematic with cutters that cannot plunge, but I guess one would probably resume cutting in an already cut toolpath just right before the previous run stopped.
I used LinuxCNC in the past and always wanted this feature, because I too had to manually delete parts of code when something went wrong. That's ok for simple parts. When it happens while carving a 3D guitar top in expensive wood with a rather complex toolpath that follows the outline, it get's scary :D let's say, there is a reason I mentioned g90 and 91 in the beginning..

One possible solution would be to run the gcode until the desired line in a non-move mode, extract the machine state (MPos, coordinate system, g90/91, spindle rpm and such) from the simulated "history".
Sounds like a good idea to me, but ...
After that, make a safe move to the required position (z up, x y subsequently), turn on the spindle and approach in negative z.
... this will probably work for the most machines, but on the other hand we never really know, what X,Y,Z is on a certain machine and if Z-up -> go-to-X&Y -> Z-down is the right order to do it. Especially, if we are talking about machines with more than 3 Axis.

Yes, that is of course true. However, I guess most people use a 3 axis machine were at least the x axis is pretty standard. In any case, it is advisable to jog close to the restart location.
But keep in mind, that gcode commands only tell the parser where to go next, not where to start. If you restart e.g. at the wrong layer in a typical 2.5D job, there are certainly many things that can go wrong even when doing it manually.
Obviously, restarting automatically is not for everyone and should be done with great caution. But that is also true for manual restarts. Having the parser state correctly set is a great benefit in my opinion and helps for both approaches. The only difference would be if you approach the starting location manually or automatically. This could be selected by the user?
I see two possible attempts for implementation: 1) send the gcode to the controller in check mode until the restart line, disable check mode and continue cutting.
2) strip all move commands at runtime from the gcode until the restart line and send all parser related commands, then continue with the code.
Option 2 has the benefit of being independent from the controller firmware because it's all done in the sender.

I guess most people use a 3 axis machine were at least the z axis orientation is pretty standard.

I am one of these 4-axis guys ;)

In any case, it is advisable to jog close to the restart location.

True. I usually try to find a startig point where Z is above my stock. And when I am working with the 4th axis, I also have to be aware of the right rotation to start with.

Option 2 has the benefit of being independent from the controller firmware because it's all done in the sender.

I definitly see this as a task for the sender not the controller.
Anyway... I think the discussion shows, that there is a need for such a feature and it would be a real benefit. Unfortunately my C# skills are far from being able to try implementing it myself. So I think we kindly have to ask Terjeio (or someone else in the community?): Could you consider this for a future release?

I definitely see this as a task for the sender not the controller.

Totally agree.
For a first step, I like the idea of being able to select a range of GCode and have it be skipped over.  Pretty much what I do manually if a job has crashed and I want to save it. That will require the user to have a decent level of understanding of GCode as well as the CAM SW. Definitely not a beginner feature.
Anything more clever may be really hard to get right. Maybe break a job up into a set of sequences that are separated by rapids? That is clearly imperfect but may help manual selection of the preamble and new start point.

Here is a list of modal states that has to be restored?
The sender has an embedded emulator that could be used to determine the current state at any given block/line. This could make a restart feature easier to add...

To start playing with this function it will be enough to specify start and stop point before program run.
Also it's need precise logging of execution progress - now, if execution stopped you only see current program string in status bar and this information completely disappeared if you click any button.


setup-node is overwriting my .npmrc that I'm setting via docker secrets.

I just need setup-node to not try and do certain things, like all of the stuff with .npmrc that it does without any request or input from me. If I set flags for the registry, or the scope, then sure, it should go ahead and try and set those. But I'm running a self-hosted runner and I've already standardized a build workflow that utilizes best practices so that devs don't have to interface with secrets via repo settings and the workflow yaml.
I'm injecting .npmrc on my own, but setup-node blanks it out.

Hello @wallentx, just a gentle ping.

Hello @wallentx . I'm going to close the issue, because we can not reproduce it from our side. Please provide us with steps to reproduce the issue for further investigation.


EDU-164 Create UI language selection dialog

Closes https://educandu.atlassian.net/browse/EDU-164

Looks super nice!

Looks super nice!

Thankyou!


API "set_ca_path" to set custom CA path.

An api to set custom path.

        m_handles.push(h);

Consider the case that handler is released after set_curl_ca_path, which means when h is pushed back in to m_handles, the CURLOPT_CAPATH is not set for h.

Refers to: include/http/libcurl_http_client.h:278 in dedd281. [](commit_id = dedd2815415ea009b9cc64890bbb6d794706724e, deletion_comment = False)

    void release_handle(CURL *h)

Thanks for the quick update. There still has an issue here if handler is get before set_curl_ca_path. When h gets released, h will be pushed back to the queue without setting curl ca path.
There is possible three solution there:

Make CA path as an initialization parameter of blob_client, so user can't set ca path after initialization.
Add logic curl_easy_setopt in release hadler or get handler.
Change std::queue<CURL *> to std::queue<Handler *> while Handler is a complex class we define which has CURL object and other values as members. Other members may has the info that whether Handler h is already set to current ca path. Please notice that user may call set_curl_ca_path multiple times.

Refers to: include/http/libcurl_http_client.h:279 in 340ce1a. [](commit_id = 340ce1aab8b616f5a23221a8088c4e75775bf430, deletion_comment = False)


feat: support toggling 'whole file' annotations

The toggle action now cycles through 'none' (no annotations), 'line' (annotations only for selected lines) and 'file' (annotations for all lines).
I tried to make this as backwards compatible as possible, but the first toggle for existing users may be a bit awkward.

Is this the best UX? I wonder what is more common:

Switching between one-line vs all-lines
Switching between on and off (any decorations or no decorations)

If (2) is common, and (1) is rather rare, we should decouple the settings, keep (2) as the sole function of the toggle and allow switching (1) through a command in the command palette and/or through the altAction of the button. We also can explain the alt action in the tooltip.
I'm personally leaning towards that, thoughts @sourcegraph/web @AlicjaSuska ?

I really like this change of cycling through 3 states. I think it's relatively easy to learn. After the first use, there should be no problem imo.
I think that your solution @felixfbecker is ok as well but it may be way harder to discover. I would go with @tjkandala 's change 👍

@tjkandala there is a bug: when the extension is 'off' is shouldn't be highlighted anymore. Shown at the end of the video:
https://www.loom.com/share/e650ef2d8dcf422a83aae74707138e50

@tjkandala there is a bug: when the extension is 'off' is shouldn't be highlighted anymore. Shown at the end of the video:

Thanks for spotting this, I think it's because I kept references to the old settings in an attempt to be backwards compatible, but that is a lot more trouble than it's worth. I'll simplify the settings and this should go away

@tjkandala just make sure that the visual pressed state stays correct even for users who were users of git blame before and that it defaults to "line" (on). I think it's fine to ignore any old setting.

@tjkandala checking in - are you working on the fix for the problem @AlicjaSuska pointed out?

Update: "onboarding" users with deprecated settings more gracefully now. Update configuration based on deprecated settings when the new setting, git.blame.decorations, is not set.


simplefs: better support for moves

Moves within a TLF are now just a cheap Rename.
Moves between TLFs now work recursively.

Issue: KBFS-3853

A better view for the recursive copy refactor: https://github.com/keybase/client/pull/15980/files?w=1


MA and NJ - Resubmit failed messages

https://github.com/CDCgov/prime-reportstream/issues/2252
Based on the updates contained in the PR above, we might need to resubmit failed messages flagged to us by MA and NJ in the last two weeks. Assigning this to Jorge for now, but if he does not have access to Azure, please work with @jbiskie to retrieve failed records and resubmit to effected states and receivers.
A/C:
Ticket is considered done when failed messages have been delivered to effected states, and feedback from them confirm they have no pending issues related to said messages.

duplicate of 2526. Closed.


ISPN-12598 Log warning when switching to initial server list

The fix is already done, this just changes the debug message to a warning as suggested in https://github.com/infinispan/infinispan/pull/9474#discussion_r684257049

Thanks @danberindei


Chat: context cell improvements

On a context-less chat request, we show a "none fetched" indicator in the ContextCell, along with a "Resend with current repository context" button:

Clicking "Resend with current repository context" causes the repository chip to be added and the request resent:

The "Resend with current repository context" also appears when context is at-mentioned but there is no repo chip:

This PR also removes the "Edit context" button (which previously caused the fetched context items to be moved to the input), because this was broken and not actually fetching context.
Test plan
Test in local dev the scenarios in the screenshots above.

@taiyab happy to consider proposals to improve UX, but this is better than what we have in prod today, so I will merge.

@thenamankumar @beyang Yea, all good. This is objectively better than existing. We'll bring another iteration to this soon if need be.


Questions about your data

First of all, thank you for your contribution.I sent an email to you before and also downloaded your data set. I wanted to see your original data image, so I wrote a program to open your NPY data, but the image I got was all black, and the print also displayed 0 for the mdarray.What is the matter, please?
Also, if I want to train my own data set, is there anything I should pay attention to when creating it?

Hello, many thanks for your questions!  Sorry for the late reply.
1)
1.1) Please note that the images saved in .npy are normalized.
1.2) Some 2D slices would have no LABELS if those slices do not cover any organs. But I assume all IMAGE slices should have values.
1.3) Could you please kindly print like np.sum(image) to see if the data are all 0.

I think this repo is generalized well to other dataset.
2.1) For 3D dataset, you could directly follow the code/setting of this repo. I assume most of the 3D CT scans have the shape (512, 512, Z).
If you want to run many dataset at the same time in one project, there is a interface for dataset configuration (See './train.py' line 58-64.)

2.2) The project also support 2D dataset since the network is a 2D network, and it can have outstanding performance as well if the scenario requires long-range attention like multi-organ.  If you want to train you own 2D dataset, I think you just have to modify the test script and pay attention to the augmentation since current project does not include random crop augmentation / random online scale.
Please let me know if you have specific questions if you start to implement your own dataset. I am willing to share my thoughts.
Thanks!

Hi,many thanks you for your answer.

I used np.sum() to find that the value of the data is not 0. This is my mistake
I have prepared my own 2D single channel bacterial data set with the size of 512*512. What I want to do is binary classification problem. Like your data, I converted the PNG file to NPZ file and modified the train.txt (in list_Synapse) and put them into the correct path.Here's where I changed the code:
1.See './train.py' line 33-------->default=512
2.See './train.py' line 62-------->'num_classes': 2,
3.See './trainer.py' line 36-------->num_workers=1

but i got the error:
(I think the reason is : nn.CrossEntropyLoss(input, target):The number of columns in input and target do not match
But I haven't found out how to change it so far. Could you help me?Thank you very much)

``load_pretrained: grid-size from 14 to 32
Namespace(base_lr=0.01, batch_size=5, dataset='Synapse', deterministic=1, exp='TU_Synapse512', img_size=512, is_pretrain=True, list_dir='./lists/lists_Synapse', max_epochs=50, max_iterations=30000, n_gpu=1, n_skip=3, num_classes=2, root_path='../data/Synapse/train_npz', seed=1234, vit_name='R50-ViT-B_16', vit_patches_size=16)
The length of train set is: 200
40 iterations per epoch. 2000 max iterations
0%|                                          | 0/50 [00:00<?, ?it/s]/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [9,0,0], thread: [256,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [416,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [417,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [288,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [289,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [8,0,0], thread: [64,0,0] Assertion t >= 0 && t < n_classes failed.

首先，感谢您的贡献。我以前向您发送过一封电子邮件，还下载了您的数据集。我想看看你原来的数据图像，所以我写了一个程序来打开你的NPY数据，但我得到的图像是全黑的，打印也显示0为mdarray。请问怎么了？
此外，如果我想训练自己的数据集，在创建数据集时有什么我应该注意的吗？

Hello!  Cound you please send the preprocessed data set that can run the code to my mailbox? Thank you<EMAIL_ADDRESS>

Hello! Cound you please send the preprocessed data set that can run the code to my mailbox? Thank<EMAIL_ADDRESS>

@qdzwss Hello! Cound you please send the preprocessed data set that can run the code to my mailbox? Thank<EMAIL_ADDRESS>

Hi,many thanks you for your answer.

I used np.sum() to find that the value of the data is not 0. This is my mistake
I have prepared my own 2D single channel bacterial data set with the size of 512*512. What I want to do is binary classification problem. Like your data, I converted the PNG file to NPZ file and modified the train.txt (in list_Synapse) and put them into the correct path.Here's where I changed the code:
1.See './train.py' line 33-------->default=512
2.See './train.py' line 62-------->'num_classes': 2,
3.See './trainer.py' line 36-------->num_workers=1

but i got the error:
(I think the reason is : nn.CrossEntropyLoss(input, target):The number of columns in input and target do not match
But I haven't found out how to change it so far. Could you help me?Thank you very much)

``load_pretrained: grid-size from 14 to 32
Namespace(base_lr=0.01, batch_size=5, dataset='Synapse', deterministic=1, exp='TU_Synapse512', img_size=512, is_pretrain=True, list_dir='./lists/lists_Synapse', max_epochs=50, max_iterations=30000, n_gpu=1, n_skip=3, num_classes=2, root_path='../data/Synapse/train_npz', seed=1234, vit_name='R50-ViT-B_16', vit_patches_size=16)
The length of train set is: 200
40 iterations per epoch. 2000 max iterations
0%|                                          | 0/50 [00:00<?, ?it/s]/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [9,0,0], thread: [256,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [416,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [417,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [288,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [289,0,0] Assertion t >= 0 && t < n_classes failed.
/pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:104: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [8,0,0], thread: [64,0,0] Assertion t >= 0 && t < n_classes failed.

hello there, have you solved the problem？

Hello! Cound you please send the preprocessed data set that can run the code to my mailbox? Thank you<EMAIL_ADDRESS>

https://drive.google.com/drive/folders/1ACJEoTp-uqfFJ73qS3eUObQh52nGuzCd?usp=sharing
---Original---
From: @.>
Date: Fri, Aug 13, 2021 16:22 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [Beckschen/TransUNet] Questions about your data (#23)
Hello! Cound you please send the preprocessed data set that can run the code to my mailbox? Thank you! @.***
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

First of all, thank you for your contribution.I sent an email to you before and also downloaded your data set. I wanted to see your original data image, so I wrote a program to open your NPY data, but the image I got was all black, and the print also displayed 0 for the mdarray.What is the matter, please?
Also, if I want to train my own data set, is there anything I should pay attention to when creating it?

Hello, I am sorry to bother you, can you send me the processed data, my email is<EMAIL_ADDRESS>

Could you be so kind to share the processed data? Looking forward to your reply.  My email is<EMAIL_ADDRESS>

Hello! Cound you please send the preprocessed data set that can run the code to my mailbox? Thank you<EMAIL_ADDRESS>
Could you be so kind to share the processed data? Looking forward to your reply. My email is<EMAIL_ADDRESS>

First of all, thank you for your contribution.I sent an email to you before and also downloaded your data set. I wanted to see your original data image, so I wrote a program to open your NPY data, but the image I got was all black, and the print also displayed 0 for the mdarray.What is the matter, please?
Also, if I want to train my own data set, is there anything I should pay attention to when creating it?

Hello, I am sorry to bother you, can you send me the processed data, my email is<EMAIL_ADDRESS>
Could you be so kind to share the processed data? Looking forward to your reply. My email is<EMAIL_ADDRESS>

First of all, thank you for your contribution.I sent an email to you before and also downloaded your data set. I wanted to see your original data image, so I wrote a program to open your NPY data, but the image I got was all black, and the print also displayed 0 for the mdarray.What is the matter, please?
Also, if I want to train my own data set, is there anything I should pay attention to when creating it?

Could you be so kind to share the processed data? Looking forward to your reply. My email is<EMAIL_ADDRESS>


Trailing white-space present after comb

when the "strip-spaces" option is set to true, trailing white space is still present in the resulting css

Yes I do, either way doesn't seem to make a difference

@jsndks, do you still have trouble with this issue? If so, can you share your config and show me the code that fails please?


AngularSvgIcon on Angular 17 with SSR (Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.)

Try to use svg-icon component with the new feature of Angular 17 `` (Non-destructive hydration) abse on npm package "@angular/ssr": "^17.0.3".
By instruction Usage with Angular Universal added loader like in the example but issues are still coming.
After some debugging, I came to the suggestion that the issue could be in the implementation of the function getSvg of SvgHttpLoader.
Did anyone gote the same issue with that?

Sorry my bad


Release notes for 19.2.3

Closes #6349

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/14da42a8caecaf067ea43363870cc3d5f4f1a57c/
Edited pages:

releases/v19.2.3.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/14da42a8caecaf067ea43363870cc3d5f4f1a57c/
Edited pages:

releases/v19.2.3.md


Update README for new Vulture URL

The Bitbucket link now shows "Vulture has moved to GitHub"

Thanks for the heads-up 👍


TRAVIS show build error

Shows the following message when I tried to build my wiki at https://ibnishak.github.io/irreverant-mudblood/#
$:/core/modules/editor/engines/framed.js:35

this.iframeDoc = this.iframeNode.contentWindow.document;

                                              ^

TypeError: Cannot read property 'document' of undefined

at new FramedEngine ($:/core/modules/editor/engines/framed.js:35:48)

at EditTextWidget.render ($:/core/modules/editor/factory.js:60:17)

at $:/core/modules/widgets/widget.js:346:15

at Object.$tw.utils.each (/home/travis/.nvm/versions/node/v7.0.0/lib/node_modules/tiddlywiki/boot/boot.js:69:12)

at EditWidget.Widget.renderChildren ($:/core/modules/widgets/widget.js:345:12)

at EditWidget.render ($:/core/modules/widgets/edit.js:33:7)

at $:/core/modules/widgets/widget.js:346:15

at Object.$tw.utils.each (/home/travis/.nvm/versions/node/v7.0.0/lib/node_modules/tiddlywiki/boot/boot.js:69:12)

at TranscludeWidget.Widget.renderChildren ($:/core/modules/widgets/widget.js:345:12)

at TranscludeWidget.render ($:/core/modules/widgets/transclude.js:33:7)

The command "tiddlywiki ./*wiki --build" exited with 1.

Seems that Travis is trying to emulate some kind of browser engine, which is unnecessary because tiddlywiky works fine under node. I have to investigate the cause because I don't have much expertise with Travis


KAFKA-15865: Remove autocommit completion event

There is no callback associated with autocommit, so I do not think we need this event. This closes KAFKA-15865.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@lucasbru Is the following test failure related:
org.apache.kafka.clients.consumer.internals.EagerConsumerCoordinatorTest.testOutdatedCoordinatorAssignment()

I am asking because I see the follwing log:
[2023-11-23 16:29:05,394] ERROR Asynchronous auto-commit of offsets failed: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing max.poll.interval.ms or by reducing the maximum size of batches returned in poll() with max.poll.records.. Will continue to join group. (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:744)

The test is failing in legacy consumer code, and this PR did not touch legacy consumer code.
The test failure may be related to the CTR refactoring, but not to this particular PR.

Yeah, the test was flaky before in PR builds but not on trunk [1].
Could you at least create a ticket for it?
[1] https://ge.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=kafka&search.timeZoneId=Europe%2FBerlin&tests.container=org.apache.kafka.clients.consumer.internals.EagerConsumerCoordinatorTest&tests.test=testOutdatedCoordinatorAssignment()#

There is already a ticket for this. KAFKA-15900


Where do you set the custom CSS styles for the drop down?

I need to remove the styles listed in the dropdown and update it with four style definitions we use with EasyDNNNews.  Where do I find these style definitions in the drop down?

Check the documentation...
https://github.com/w8tcha/dnnckeditor/wiki/Add-Custom-Styles


step component name consistency

A quick documentation update.
Some of the step components in the examples didn't match up with what was being imported.

Thanks!


Create ttl streaming find + replace URI command

We need to be able to find uris matching a prefix (e.g file:/workspace/out/fdi-industry.csv see example) which are located in an RDF turtle file and be able to replace them the prefix with a canonical value.
i.e. we might want to replace all instances of file:/workspace/out/fdi-industry.csv in a ttl file with a globally accessible URL like http://example.com/code-lists/fdi-industry.
Note that URIs of the form file:/workspace/... are frequently generated when running csv2rdf against CSV-Ws located on-disk, but are of little use to anyone who can't access the local file on-disk.
Acceptance criteria for this task:

[ ] create a CLI command in the PMD project which takes as input:

The ttl file to process
The URI prefix to find
The replacement value for the URI prefix
[ ] It should be possible to pass multiple (URI prefix, replacement) pairs so we can do multiple replacements at the same time.

[ ] The CLI app must not load the whole of the ttl file into memory as these files can often end up being >10GiB. A streaming approach must be taken to the replacements.
[ ] The command must warn about any URIs starting with file:/ that it does not expect to correct/replace.

[ ] It should be possible to disable this functionality by passing some option to the command when running it.

[ ] There should be BDD tests ensuring the behaviour of this command is correct.


how bout a post-css version?

it'd be great to see this as a postcss plugin in addition to an scss mixin as many folks have begun to migrate from sass to postcss

Good idea!
I've created a new repository for the plugin: https://github.com/jamonserrano/postcss-plumber
I am not very familiar with postcss, so please leave feedback on the proposed syntax in this ticket: https://github.com/jamonserrano/postcss-plumber/issues/1

awesome! just saw this. will take a crack at it.


Add basic project.

Add basic project which mainly contains of:

BLE provision lib
BLE provision example
package dependence of protobuf

Thanks!

@floitsch Thanks for your patient guidance.


NextJs Site getting error "Cannot find module 'next/dist\client\components\static-generation-async-storage.external.js'"

Deployed a Nextjs site (the site only contains a single page saying "test").
While browsing to the page (with customDomain) i get an 500-error, looking in cloudwatch i have this error:
ERROR	 ⨯ Error: Cannot find module 'next/dist\client\components\static-generation-async-storage.external.js'
Versions
"sst": "^2.36.8",
"next": "^14.0.3"
Stack
  const site = new NextjsSite(stack, "Site", {
    path: "packages/web",
    customDomain: {
      domainName: "[REDACTED]",
      hostedZone: "[REDACTED]",
    },
  });

Among this i have several other services, like lambdas and queues.
I'd love to help debug more but im very new to SST, CDK or OpenNext. So if you could guide me where to look i could help some more.

oh sure thing will do! thanks


Update default to lukemattomat, add favicon

Codecov Report

Merging #74 (8532b63) into main (f35997d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #74   +/-   ##
=======================================
  Coverage   77.45%   77.45%
=======================================
  Files           4        4
  Lines         204      204
  Branches       30       30
=======================================
  Hits          158      158
  Misses         41       41
  Partials        5        5

Continue to review full report at Codecov.

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


Inactive centers - hide with 0 - bug?

I can see:
Mulačova nemocnice s.r.o. | Plzeň-město | Plzeňský | 0
which should not be there

There are still some reservations, I would leave it there

Ok then


kubectx xxx will sync to all secureCRT session

kubectx xxx will sync to all secureCRT session, Why not isolate between different sessions？

I don't understand what you're saying. Please be more descriptive and elaborate. I don't know what secureCRT even is.
If you have a proposal you need to be more articulate than this. Please respect others' time.

sorry ,what i mean

yeah that's currently expected and by design.
no way to do this easily unless we start a new shell subprocess with its own temp KUBECONFIG file.
#12 explains the same thing.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/433 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

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

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

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


Emergency fix relating to donor perks update

Better than a crude fix inside Admin.lua, you'll agree.
Untested PR but lets be real here it's one line and looks tickity boo.

?:"?????????????????????????:"????????:"?????????????????????????:"???????
OH MY GOD
🚣🏿♂
⛵

🤰🏿🤰🏾🤰🏽🤰🏻🤰___+~12=3

why do you do these things


Openning project with no driver installed, then install, does not clear the error of no driver until specific VI's are reopen.

Bug Report
Opening the project with no drivers installed in your machine will throw an error of "The NI-DMM driver is not installed". The user will then install the driver and would expect that the next time the VI is run the error to go away but it doesn't.
Seems that the type specialization structure is under the Initialize MeasurmentLink Session.vi and the Close MeasurmentLink Session.vi wont get fix until someone opens the vi's.
Repro or Code Sample
1.- Open any of the new examples on a machine with no drivers.  NI-FGEN Standard Function NI-SCOPE Acquire Waveform
2,- Run the example and get the expected error "The NI-xxx driver is not installed"
3.- Install the expected driver
4.- Re-run the example
You will be getting the same error. The workaround is to open the VI's that have a type specialization structure.
Expected Behavior
The error should have been clear.
Current Behavior
It is impossible to remove the error of  "Driver is not installed" until you open the VI's that have a type specialization structure.
Possible Solution
N/A
Context
N/A
Your Environment
No drivers when starting adding them later.
AB#2557116

Another workaround is to force-compile the Measurement Logic.vi hierarchy (ctrl-shift click on the run arrow).


Reload Page and Audit on Load doesn't complete

Chrome Version 39.0.2171.71 (64-bit)
Mac OS X 10.9.5
Loads through all the elements on the page, then the status changes to "Running audit" but nothing happens. It's the same on every webpage I tested.
Nothing is outputted to the console log.

I have this issue too

I'm also seeing this recently.


Load player history

can use datablase /playerInfo to load historical attrs, maybe also correlate with events

I think Player.load_history does this now?

ya