I cannot make it work on GPU for training

Description of the issue
I cannot run any experiment on GPU.
I have tried both with a Tesla P4, a P100 and a GTX 1060. I can only make it work using CPU only.
I have tried many configs with setting useActiveGpu to True or False, trialGpuNumber to 1, gpuIndices: '0'. However it always couldn't complete a single architecture training.
I have tried both outside and inside a Docker container.
Configuration

Experiment config: nni/examples/trials/mnist-pytorch/config.yml

Outside a Docker container
Environment

NNI version: 3.0
Training service: local
Client OS: Debian 10
Python version: 3.10.13
PyTorch/TensorFlow version: 2.3.0+cu121
Is conda/virtualenv/venv used?: yes

Log message
nnimanager.log
[2024-05-03 10:54:56] WARNING (pythonScript) Python command [nni.tools.nni_manager_scripts.collect_gpu_info] has stderr: Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/conda/lib/python3.10/site-packages/nni/tools/nni_manager_scripts/collect_gpu_info.py", line 174, in <module>
    main()
  File "/opt/conda/lib/python3.10/site-packages/nni/tools/nni_manager_scripts/collect_gpu_info.py", line 34, in main
    print(json.dumps(data), flush=True)
  File "/opt/conda/lib/python3.10/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/opt/conda/lib/python3.10/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/opt/conda/lib/python3.10/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/opt/conda/lib/python3.10/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable

[2024-05-03 10:54:56] INFO (ShutdownManager) Initiate shutdown: training service initialize failed
[2024-05-03 10:54:56] ERROR (GpuInfoCollector) Failed to collect GPU info, collector output:
[2024-05-03 10:54:56] ERROR (TrainingServiceCompat) Training srevice initialize failed: Error: TaskScheduler: Failed to collect GPU info
    at TaskScheduler.init (/opt/conda/lib/python3.10/site-packages/nni_node/common/trial_keeper/task_scheduler/scheduler.js:16:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async TaskSchedulerClient.start (/opt/conda/lib/python3.10/site-packages/nni_node/common/trial_keeper/task_scheduler_client.js:20:13)
    at async Promise.all (index 0)
    at async TrialKeeper.start (/opt/conda/lib/python3.10/site-packages/nni_node/common/trial_keeper/keeper.js:48:9)
    at async LocalTrainingServiceV3.start (/opt/conda/lib/python3.10/site-packages/nni_node/training_service/local_v3/local.js:28:9)
    at async V3asV1.start (/opt/conda/lib/python3.10/site-packages/nni_node/training_service/v3/compat.js:235:29

There, the GPU's infos cannot be retreived.
experiment.log
[2024-05-03 13:52:31] INFO (nni.experiment) Starting web server...
[2024-05-03 13:52:32] INFO (nni.experiment) Setting up...
[2024-05-03 13:52:33] INFO (nni.experiment) Web portal URLs: http://<IP_ADDRESS>:8081 http://<IP_ADDRESS>:8081 http://<IP_ADDRESS>:8081
[2024-05-03 13:53:03] INFO (nni.experiment) Stopping experiment, please wait...
[2024-05-03 13:53:03] INFO (nni.experiment) Saving experiment checkpoint...
[2024-05-03 13:53:03] INFO (nni.experiment) Stopping NNI manager, if any...
[2024-05-03 13:53:23] ERROR (nni.experiment) HTTPConnectionPool(host='localhost', port=8081): Read timed out. (read timeout=20)
Traceback (most recent call last):
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/connectionpool.py", line 537, in _make_request
    response = conn.getresponse()
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/connection.py", line 466, in getresponse
    httplib_response = super().getresponse()
  File "/opt/conda/envs/nni/lib/python3.9/http/client.py", line 1377, in getresponse
    response.begin()
  File "/opt/conda/envs/nni/lib/python3.9/http/client.py", line 320, in begin
    version, status, reason = self._read_status()
  File "/opt/conda/envs/nni/lib/python3.9/http/client.py", line 281, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/opt/conda/envs/nni/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/util/retry.py", line 470, in increment
    raise reraise(type(error), error, _stacktrace)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/util/util.py", line 39, in reraise
    raise value
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/connectionpool.py", line 539, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/urllib3/connectionpool.py", line 370, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=8081): Read timed out. (read timeout=20)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/nni/experiment/experiment.py", line 171, in _stop_nni_manager
    rest.delete(self.port, '/experiment', self.url_prefix)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/nni/experiment/rest.py", line 52, in delete
    request('delete', port, api, prefix=prefix)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/nni/experiment/rest.py", line 31, in request
    resp = requests.request(method, url, timeout=timeout)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/opt/conda/envs/nni/lib/python3.9/site-packages/requests/adapters.py", line 532, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8081): Read timed out. (read timeout=20)
[2024-05-03 13:53:23] WARNING (nni.experiment) Cannot gracefully stop experiment, killing NNI process...

There is a timeout since data cannot be retreived.
Inside a Docker container
Dockerfile
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

# RUN python3 -m pip install nni-${NNI_RELEASE}-py3-none-manylinux1_x86_64.whl
# RUN rm nni-${NNI_RELEASE}-py3-none-manylinux1_x86_64.whl

ENV PATH=/root/.local/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/bin:/usr/bin:/usr/sbin

WORKDIR /root

RUN pip install nni
RUN git clone https://github.com/microsoft/nni.git

RUN apt-get -y update
RUN apt-get -y install nano

Log message
nnimanager.log
root@1b02414e6d3e:~/nni-experiments/_latest/log# cat nnimanager.log
[2024-05-03 14:46:11] DEBUG (WsChannelServer.tuner) Start listening tuner/:channel
[2024-05-03 14:46:11] INFO (main) Start NNI manager
[2024-05-03 14:46:11] INFO (RestServer) Starting REST server at port 8080, URL prefix: "/"
[2024-05-03 14:46:11] INFO (RestServer) REST server started.
[2024-05-03 14:46:11] DEBUG (SqlDB) Database directory: /root/nni-experiments/o21hdgqs/db
[2024-05-03 14:46:11] INFO (NNIDataStore) Datastore initialization done
[2024-05-03 14:46:11] DEBUG (main) start() returned.
[2024-05-03 14:46:12] DEBUG (NNIRestHandler) GET: /check-status: body: {}
[2024-05-03 14:46:12] DEBUG (NNIRestHandler) POST: /experiment: body: {
  experimentType: 'hpo',
  searchSpaceFile: '/root/nni/examples/trials/mnist-pytorch/search_space.json',
  searchSpace: {
    batch_size: { _type: 'choice', _value: [Array] },
    hidden_size: { _type: 'choice', _value: [Array] },
    lr: { _type: 'choice', _value: [Array] },
    momentum: { _type: 'uniform', _value: [Array] }
  },
  trialCommand: 'python3 mnist.py',
  trialCodeDirectory: '/root/nni/examples/trials/mnist-pytorch',
  trialConcurrency: 1,
  trialGpuNumber: 1,
  useAnnotation: false,
  debug: false,
  logLevel: 'info',
  experimentWorkingDirectory: '/root/nni-experiments',
  tuner: { name: 'TPE', classArgs: { optimize_mode: 'maximize' } },
  trainingService: {
    platform: 'local',
    trialCommand: 'python3 mnist.py',
    trialCodeDirectory: '/root/nni/examples/trials/mnist-pytorch',
    trialGpuNumber: 1,
    debug: false,
    useActiveGpu: true,
    maxTrialNumberPerGpu: 1,
    reuseMode: false
  }
}
[2024-05-03 14:46:12] INFO (NNIManager) Starting experiment: o21hdgqs
[2024-05-03 14:46:12] INFO (NNIManager) Setup training service...
[2024-05-03 14:46:12] DEBUG (LocalV3.local) Training sevice config: {
  platform: 'local',
  trialCommand: 'python3 mnist.py',
  trialCodeDirectory: '/root/nni/examples/trials/mnist-pytorch',
  trialGpuNumber: 1,
  debug: false,
  useActiveGpu: true,
  maxTrialNumberPerGpu: 1,
  reuseMode: false
}
[2024-05-03 14:46:12] INFO (NNIManager) Setup tuner...
[2024-05-03 14:46:12] DEBUG (NNIManager) dispatcher command: /usr/bin/python3,-m,nni,--exp_params,eyJleHBlcmltZW50VHlwZSI6ImhwbyIsInNlYXJjaFNwYWNlRmlsZSI6Ii9yb290L25uaS9leGFtcGxlcy90cmlhbHMvbW5pc3QtcHl0b3JjaC9zZWFyY2hfc3BhY2UuanNvbiIsInRyaWFsQ29tbWFuZCI6InB5dGhvbjMgbW5pc3QucHkiLCJ0cmlhbENvZGVEaXJlY3RvcnkiOiIvcm9vdC9ubmkvZXhhbXBsZXMvdHJpYWxzL21uaXN0LXB5dG9yY2giLCJ0cmlhbENvbmN1cnJlbmN5IjoxLCJ0cmlhbEdwdU51bWJlciI6MSwidXNlQW5ub3RhdGlvbiI6ZmFsc2UsImRlYnVnIjpmYWxzZSwibG9nTGV2ZWwiOiJpbmZvIiwiZXhwZXJpbWVudFdvcmtpbmdEaXJlY3RvcnkiOiIvcm9vdC9ubmktZXhwZXJpbWVudHMiLCJ0dW5lciI6eyJuYW1lIjoiVFBFIiwiY2xhc3NBcmdzIjp7Im9wdGltaXplX21vZGUiOiJtYXhpbWl6ZSJ9fSwidHJhaW5pbmdTZXJ2aWNlIjp7InBsYXRmb3JtIjoibG9jYWwiLCJ0cmlhbENvbW1hbmQiOiJweXRob24zIG1uaXN0LnB5IiwidHJpYWxDb2RlRGlyZWN0b3J5IjoiL3Jvb3Qvbm5pL2V4YW1wbGVzL3RyaWFscy9tbmlzdC1weXRvcmNoIiwidHJpYWxHcHVOdW1iZXIiOjEsImRlYnVnIjpmYWxzZSwidXNlQWN0aXZlR3B1Ijp0cnVlLCJtYXhUcmlhbE51bWJlclBlckdwdSI6MSwicmV1c2VNb2RlIjpmYWxzZX19
[2024-05-03 14:46:12] INFO (NNIManager) Change NNIManager status from: INITIALIZED to: RUNNING
[2024-05-03 14:46:12] DEBUG (tuner_command_channel) Waiting connection...
[2024-05-03 14:46:12] DEBUG (NNIRestHandler) GET: /check-status: body: {}
[2024-05-03 14:46:13] DEBUG (WsChannelServer.tuner) Incoming connection __default__
[2024-05-03 14:46:13] DEBUG (WsChannel.__default__) Epoch 0 start
[2024-05-03 14:46:13] INFO (NNIManager) Add event listeners
[2024-05-03 14:46:13] DEBUG (NNIManager) Send tuner command: INITIALIZE: [object Object]
[2024-05-03 14:46:13] INFO (LocalV3.local) Start
[2024-05-03 14:46:13] INFO (NNIManager) NNIManager received command from dispatcher: ID,
[2024-05-03 14:46:13] INFO (NNIManager) NNIManager received command from dispatcher: TR, {"parameter_id": 0, "parameter_source": "algorithm", "parameters": {"batch_size": 32, "hidden_size": 128, "lr": 0.001, "momentum": 0.47523697672790355}, "parameter_index": 0}
[2024-05-03 14:46:14] INFO (NNIManager) submitTrialJob: form: {
  sequenceId: 0,
  hyperParameters: {
    value: '{"parameter_id": 0, "parameter_source": "algorithm", "parameters": {"batch_size": 32, "hidden_size": 128, "lr": 0.001, "momentum": 0.47523697672790355}, "parameter_index": 0}',
    index: 0
  },
  placementConstraint: { type: 'None', gpus: [] }
}
[2024-05-03 14:46:15] INFO (GpuInfoCollector) Forced update: {
  gpuNumber: 1,
  driverVersion: '550.54.15',
  cudaVersion: 12040,
  gpus: [
    {
      index: 0,
      model: 'Tesla T4',
      cudaCores: 2560,
      gpuMemory:<PHONE_NUMBER>0,
      freeGpuMemory:<PHONE_NUMBER>2,
      gpuCoreUtilization: 0,
      gpuMemoryUtilization: 0
    }
  ],
  processes: [],
  success: true
}
[2024-05-03 14:46:17] INFO (LocalV3.local) Register directory trial_code = /root/nni/examples/trials/mnist-pytorch

experiment.log
root@1b02414e6d3e:~/nni-experiments/_latest/log# cat experiment.log
[2024-05-03 14:46:11] INFO (nni.experiment) Creating experiment, Experiment ID: o21hdgqs
[2024-05-03 14:46:11] INFO (nni.experiment) Starting web server...
[2024-05-03 14:46:12] INFO (nni.experiment) Setting up...
[2024-05-03 14:46:12] INFO (nni.experiment) Web portal URLs: http://<IP_ADDRESS>:8080 http://<IP_ADDRESS>:8080
[2024-05-03 14:46:42] INFO (nni.experiment) Stopping experiment, please wait...
[2024-05-03 14:46:42] INFO (nni.experiment) Saving experiment checkpoint...
[2024-05-03 14:46:42] INFO (nni.experiment) Stopping NNI manager, if any...

When I'm using CPU only:
I obtain what I want using the GPU, the WebUI, the experiments trials, and so on...
root@6dcd2267cf44:~# nnictl create --config nni/examples/trials/mnist-pytorch/config.yml --foreground --debug
[2024-05-03 14:37:54] Creating experiment, Experiment ID: tcq192jf
[2024-05-03 14:37:54] Starting web server...
[2024-05-03 14:37:55] DEBUG (WsChannelServer.tuner) Start listening tuner/:channel
[2024-05-03 14:37:55] INFO (main) Start NNI manager
[2024-05-03 14:37:55] INFO (RestServer) Starting REST server at port 8080, URL prefix: "/"
[2024-05-03 14:37:55] INFO (RestServer) REST server started.
[2024-05-03 14:37:55] DEBUG (SqlDB) Database directory: /root/nni-experiments/tcq192jf/db
[2024-05-03 14:37:55] INFO (NNIDataStore) Datastore initialization done
[2024-05-03 14:37:55] DEBUG (main) start() returned.
[2024-05-03 14:37:55] DEBUG (NNIRestHandler) GET: /check-status: body: {}
[2024-05-03 14:37:55] Setting up...
[2024-05-03 14:37:55] DEBUG (NNIRestHandler) POST: /experiment: body: {
  experimentType: 'hpo',
  searchSpaceFile: '/root/nni/examples/trials/mnist-pytorch/search_space.json',
  searchSpace: {
    batch_size: { _type: 'choice', _value: [Array] },
    hidden_size: { _type: 'choice', _value: [Array] },
    lr: { _type: 'choice', _value: [Array] },
    momentum: { _type: 'uniform', _value: [Array] }
  },
  trialCommand: 'python3 mnist.py',
  trialCodeDirectory: '/root/nni/examples/trials/mnist-pytorch',
  trialConcurrency: 1,
  trialGpuNumber: 0,
  useAnnotation: false,
  debug: false,
  logLevel: 'info',
  experimentWorkingDirectory: '/root/nni-experiments',
  tuner: { name: 'TPE', classArgs: { optimize_mode: 'maximize' } },
  trainingService: {
    platform: 'local',
    trialCommand: 'python3 mnist.py',
    trialCodeDirectory: '/root/nni/examples/trials/mnist-pytorch',
    trialGpuNumber: 0,
    debug: false,
    maxTrialNumberPerGpu: 1,
    reuseMode: false
  }
}
[2024-05-03 14:37:55] INFO (NNIManager) Starting experiment: tcq192jf
[2024-05-03 14:37:55] INFO (NNIManager) Setup training service...
[2024-05-03 14:37:55] DEBUG (LocalV3.local) Training sevice config: {
  platform: 'local',
  trialCommand: 'python3 mnist.py',
  trialCodeDirectory: '/root/nni/examples/trials/mnist-pytorch',
  trialGpuNumber: 0,
  debug: false,
  maxTrialNumberPerGpu: 1,
  reuseMode: false
}
[2024-05-03 14:37:55] INFO (NNIManager) Setup tuner...
[2024-05-03 14:37:55] DEBUG (NNIManager) dispatcher command: /usr/bin/python3,-m,nni,--exp_params,eyJleHBlcmltZW50VHlwZSI6ImhwbyIsInNlYXJjaFNwYWNlRmlsZSI6Ii9yb290L25uaS9leGFtcGxlcy90cmlhbHMvbW5pc3QtcHl0b3JjaC9zZWFyY2hfc3BhY2UuanNvbiIsInRyaWFsQ29tbWFuZCI6InB5dGhvbjMgbW5pc3QucHkiLCJ0cmlhbENvZGVEaXJlY3RvcnkiOiIvcm9vdC9ubmkvZXhhbXBsZXMvdHJpYWxzL21uaXN0LXB5dG9yY2giLCJ0cmlhbENvbmN1cnJlbmN5IjoxLCJ0cmlhbEdwdU51bWJlciI6MCwidXNlQW5ub3RhdGlvbiI6ZmFsc2UsImRlYnVnIjpmYWxzZSwibG9nTGV2ZWwiOiJpbmZvIiwiZXhwZXJpbWVudFdvcmtpbmdEaXJlY3RvcnkiOiIvcm9vdC9ubmktZXhwZXJpbWVudHMiLCJ0dW5lciI6eyJuYW1lIjoiVFBFIiwiY2xhc3NBcmdzIjp7Im9wdGltaXplX21vZGUiOiJtYXhpbWl6ZSJ9fSwidHJhaW5pbmdTZXJ2aWNlIjp7InBsYXRmb3JtIjoibG9jYWwiLCJ0cmlhbENvbW1hbmQiOiJweXRob24zIG1uaXN0LnB5IiwidHJpYWxDb2RlRGlyZWN0b3J5IjoiL3Jvb3Qvbm5pL2V4YW1wbGVzL3RyaWFscy9tbmlzdC1weXRvcmNoIiwidHJpYWxHcHVOdW1iZXIiOjAsImRlYnVnIjpmYWxzZSwibWF4VHJpYWxOdW1iZXJQZXJHcHUiOjEsInJldXNlTW9kZSI6ZmFsc2V9fQ==
[2024-05-03 14:37:55] INFO (NNIManager) Change NNIManager status from: INITIALIZED to: RUNNING
[2024-05-03 14:37:55] DEBUG (tuner_command_channel) Waiting connection...
[2024-05-03 14:37:55] Web portal URLs: http://<IP_ADDRESS>:8080 http://<IP_ADDRESS>:8080
[2024-05-03 14:37:55] DEBUG (NNIRestHandler) GET: /check-status: body: {}
[2024-05-03 14:37:57] DEBUG (WsChannelServer.tuner) Incoming connection __default__
[2024-05-03 14:37:57] DEBUG (WsChannel.__default__) Epoch 0 start
[2024-05-03 14:37:57] INFO (NNIManager) Add event listeners
[2024-05-03 14:37:57] DEBUG (NNIManager) Send tuner command: INITIALIZE: [object Object]
[2024-05-03 14:37:57] INFO (LocalV3.local) Start
[2024-05-03 14:37:57] INFO (NNIManager) NNIManager received command from dispatcher: ID,
[2024-05-03 14:37:57] INFO (NNIManager) NNIManager received command from dispatcher: TR, {"parameter_id": 0, "parameter_source": "algorithm", "parameters": {"batch_size": 128, "hidden_size": 1024, "lr": 0.001, "momentum": 0.6039114358987745}, "parameter_index": 0}
[2024-05-03 14:37:57] INFO (NNIManager) submitTrialJob: form: {
  sequenceId: 0,
  hyperParameters: {
    value: '{"parameter_id": 0, "parameter_source": "algorithm", "parameters": {"batch_size": 128, "hidden_size": 1024, "lr": 0.001, "momentum": 0.6039114358987745}, "parameter_index": 0}',
    index: 0
  },
  placementConstraint: { type: 'None', gpus: [] }
}
[2024-05-03 14:37:58] INFO (LocalV3.local) Register directory trial_code = /root/nni/examples/trials/mnist-pytorch
[2024-05-03 14:37:58] INFO (LocalV3.local) Created trial wcvTY
[2024-05-03 14:38:00] INFO (LocalV3.local) Trial parameter: wcvTY {"parameter_id": 0, "parameter_source": "algorithm", "parameters": {"batch_size": 128, "hidden_size": 1024, "lr": 0.001, "momentum": 0.6039114358987745}, "parameter_index": 0}
[2024-05-03 14:38:05] DEBUG (NNIRestHandler) GET: /check-status: body: {}
...

How to reproduce it?
If from a Docker container:
docker build -t "nas-experiment" .
nvidia-docker run -it -p 8081:8081 nas-101-experiment

Then in both cases:

I would both outside and inside a Docker container modify the file from /nni/example/trials/mnist-pytorch/config.yml in order to set the process on GPU.
Then I would run the following command so I could see the logs in direct.

nnictl create --config /nni/example/trials/mnist-pytorch/config.yml --port 8081 --debug --foreground

As a result, the WebUI wouldn't start due to a timeout trying to retrive data, since the experiment won't load on GPU.
Notes

I very available to answer and get helped on the subject as I currently work on NAS.
I'm going to see what is ArchAI and how it differs from nii util I can use GPU for training there.
I'm using GCP Instances to do this search

I made it using a devcontainer with version 2.7 of nni
Dockerfile
FROM msranni/nni:v2.7

RUN pip install matplotlib tensorflow_datasets dill

Still having problems with version 3.0

I have somewhat similar issue.
authorName: default
experimentName: hyperparam searching
trialConcurrency: 1
trainingServicePlatform: local
useAnnotation: false
searchSpacePath: searching_space.json
tuner:
  builtinTunerName: Random
  classArgs:
    optimize_mode: minmize
trial:
  command: python train.py
  codeDir: .

when i work in this fashion, the code runs on CPU. But when I run the code as follow:
authorName: default
experimentName: hyperparam searching
trialConcurrency: 1
trainingServicePlatform: local
useAnnotation: false
searchSpacePath: searching_space.json
tuner:
  builtinTunerName: Random
  classArgs:
    optimize_mode: minmize
trial:
  command: python train.py
  codeDir: .
  gpuNum: 1
localConfig:
  useActiveGpu: true
  maxTrialNumPerGpu: 1
  gpuIndices: 0

It creates 800+ python files and the link doesn't open anymore. It either crashes my PC (because of those multiple files) or the link will have Running 0. Why?

I am having the same problem as Rajesh90123.


Material.Avalonia.DataGrid fails to compile with AoT

Usage Information
2.1.10 / 11.1.0 / Windows 11
Description
When compiling Material.Avalonia.DataGrid for Android using the standard Avalonia cross-platform template, it fails to compile and throws the error
1>Microsoft.Android.Sdk.ILLink.targets(106,5): Error MSB4096 : The item "Material.Avalonia.DataGrid" in item list "TrimmerRootAssembly" does not define a value for metadata "RootMode".  In order to use this metadata, either qualify it by specifying %(TrimmerRootAssembly.RootMode), or ensure that all items in this list define a value for this metadata.

Doing
   <ItemGroup>
     <TrimmerRootAssembly Include="Material.Avalonia.DataGrid" RootMode="All" />
   </ItemGroup>

Solves nothing, nor does
   <ItemGroup>
     <TrimmerRootAssembly Update="@(TrimmerRootAssembly)" RootMode="Library" />
   </ItemGroup>

That will just make Avalonia fail to compile instead.
Reproduction Steps

Create a new app using cross-platform avalonia template
Install Material.Avalonia.DataGrid
Compile Android in release
You should now get the error during compilation

Expected Behavior

Create a new app using cross-platform avalonia template
Install Material.Avalonia.DataGrid
Compile Android in release
It should successfully compile

Actual Behavior
You should get the error during compilation in Release mode for Android
1>Microsoft.Android.Sdk.ILLink.targets(106,5): Error MSB4096 : The item "Material.Avalonia.DataGrid" in item list "TrimmerRootAssembly" does not define a value for metadata "RootMode".  In order to use this metadata, either qualify it by specifying %(TrimmerRootAssembly.RootMode), or ensure that all items in this list define a value for this metadata.

Regression?
No response
Known Workarounds
No response
Anything else?
No response
Could you help with a pull-request?
No
Is there an existing issue for this?

[X] I have searched the existing issues

Hmm, interesting. I'll take a look.


Added user-not flag

Check for processes NOT owned by user
e.g.
# /etc/sensu/plugins/processes/check-procs.rb -p "/var/lib/dmcm/etc" -U root -C 0
CheckProcs OK: Found 6 matching processes; cmd //var/lib/dmcm/etc/; not user root

# ps axwwo user,command | grep '/var/lib/dmcm/etc'
dmcmsvc  /usr/lib/jvm/java-7
-Dfile.encoding=UTF-8 -Duser.timezone=UTC -Djava.net.preferIPv4Stack=true ...  -Ddcm.configurationSource.localURL=file:///var/lib/dmcm/etc/dcm-config-local.yaml
...[ 6 more similar processes ] ...

Not certain what the failures noted in the CI build have to do with my changes... the changes were minor and the build details aren't pinpointing this commit
See the run:
# ruby --version
ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-linux]

# /etc/sensu/plugins/processes/check-procs.rb -p "/var/lib/dmcm/etc" -U root -C 0
CheckProcs OK: Found 6 matching processes; cmd //var/lib/dmcm/etc/; not user root

@jimsander  Can you also PR this against the new sensu-plugins-process-checks repo?  Thanks!

sure thing, it was a close call I realize


[Feat.] Default Tag(s) Desktop App

Would it be possible to have the option to add one/many tags to entries by default? The iOS app has something like this already.

We have no plans to add this feature in the near future. The closest functionality to achieve this is to select the previously tracked entry with needed tags from the autocomplete.


Bug ?

Thanks for the job.
When I used this script with a text file, I had as a result a first pass with the "true" result and a second pass with the error "WE COULDN'T CONNECT OR RETRIEVE BANNER"

Hi JinxCH73

Thanks for the job. When I used this script with a text file, I had as a result a first pass with the "true" result and a second pass with the error "WE COULDN'T CONNECT OR RETRIEVE BANNER"

Hi JinxCH73,
The problem is based on timeout, This is the error, you should add more time to the timeout
python3 CVE-2024-6387-Vulnerability-Checker.py -f <filename> -p <ports> -t <timeout>

I dont think so since a host detected safe first and appears in error next...
Apparently, it tries all the specified ports in the args for all hosts in the list file.
eg
[SAFE] -> <IP_ADDRESS>:22-> Running SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.10
[ERROR] -> <IP_ADDRESS>:22222 WE COULDN'T CONNECT OR RETRIEVE BANNER
But maybe this is what is wanted.

Can you share the command used? :)

I made a test using a public IP address (SAFE), in this test, the only port opened is 22222

OK, so it seems to work as designed.

I'll see some possibility to add checks only based on App ( OpenSSH ), If you have both ports opened, should appear in the results.


Arithmatic Equation Solver

Calculator Functions

Contribution Event
GSSOC22
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Fix generation with --no-early-stop

Because the size of unfinalized_scores is equal to current bsz and not initial batch size, we need to index it by unfin_idx instead of sent in is_finished.
Fixes #588.

Is it ready to merge?

Yes, merging it now.


Add support for Android O's Adaptive Icons

I'd love it if you could add Adaptive Icon support to this app; it's very easy to implement, here's the documentation. I could try submitting a pull request with this change, but I'm a web developer, and I've never worked with Android, so I can't guarantee quality.

Didn't even know what adaptive icons were until you submitted this issue, so thank you :)
I think this will be awesome to have, it really doesn't look too complicated at all so definitely something I think we can have!!
https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html#creating_adaptive_icons_in_xml

Closed in #340, thanks a lot for the suggestion!


fix: empty proposals message

Fixes #846
Changes proposed in this pull request:

In NoResults component add props text with default parametr: "noResultsFound"
In NoResults component add optional slot for button
Add createFirstProposal and proposals.createProposal ru/en texts

@AlanNabiev The message should appear only if the space don't have any proposal yet. It should not appear when filtering proposal by status and there is not results, example if you go on GitcoinDAO space and filter by "Core".

@bonustrack fixed done. I add 2 computed: proposalsIs - checks if there is proposal, proposalsText - checks if there is proposal and return text to create the first proposal, else return undefined to be used defautl props in NoResult component. I chose for return undefined because if i chose void string props used void string for rendering. If you have there are suggestions for optimization i can work on this.

@bonustrack i refactored according to your comments

@bonustrack i fixed computed name

@bonustrack I have added your suggestions for improving the functionality

@bonustrack


Fix escaping for Lambda invocation that selects which account to run integration tests in

Issue #, if available: N/A
Description of changes: Same as https://github.com/awslabs/aws-dotnet-messaging/pull/94, I'm still not sure what changed that led to this but fixing it up.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Now the tests are running, but the CI is failing for a different reason. Looks like the version of CDK the Blazor recipe is using is attempting to deploy a Node 14 Lambda which is no longer supported. We'll look at upgrading the CDK dependency in another PR.


Evaluate integration of Saucelabs in order to test cross-browser compatibility on commit

It would be valuable to integrate with Saucelabs in order to test cross-browser compatibility tests on commit.
As the library is using karma as testing framework my suggestion is to start implemeting them using karma-sauce-launcher.
This way it will be possiblle to automatically execute all the unit test on the selection of browsers targetted by the library (all) and know proactively where it is not working.
E.g.: https://github.com/globaleaks/GlobaLeaks

It would be also nice to start tracking the code quality of the project using for example CodeClimate and tracking also the code coverage by means of Coveralls + karma-coveralls
I've implemented the exact integration you need here:
https://github.com/flowjs/flow.js/blob/master/karma.conf.js
An example of the output with all integrated is the following: https://github.com/globaleaks/GlobaLeaks

PRs are welcome.

I know @lgalfaso thanks :) in the meantime i've annotated it if there is someone interested; i will try to do it in the spare time if we confirm that the component is needed for GlobaLeaks.
could you please give me an answer on: https://github.com/lgalfaso/angular-dynamic-locale/issues/93


added explicit support for YLXDD-0033

I flashed my YLXDD-0033 with espHome using the same pinout as the yeelight.light.ceil20 config.
I figured out I'll share it if some people want to flash as well.
Only tested with two YLXDD-0033. but the YLXDD-0030 and YLXDD-0034 use the same pcb. I'm pretty sure it'll work.
On my unit It was required to pull the enable pin to 3.3v I wanted to share it as well.

might be a bit offtopic but how exactly do yeelight model names work? should i expect A2101C550/YLXDD-0016 to work just like it did for you on YLXDD-0034?

Thanks, I'll be getting it soon - if everything works our for me I'll PR explicit support too

@Fienberber I'm trying to flash YLXDD-0034. I've already successfully flashed five other Yeelights before but unfortunately with this one I'm not able to start the serial connection.
The lamp itself works fine and I could set it up normally with the original firmware, so there's no indication for technical issues.
I'm using Sensepeek PCBite to flash instead of soldering which also avoids any potential soldering damage to the board.
Following your instructions I tried the following connection layout (in addition I tried also swapping TX and RX and I also tried connection 3.3V to the original 3.3V pin) :

I hope I understood the instruction "When flashing the YLXDD-00xx series you'll need an external 3.3V power supply and pull the enable (EN) pin to 3.3V." correctly.
Any additional suggestions are highly appreciated, thank you!

After learning a bit more about how the esp32 works I've adjusted my above connection setup a bit:

With this configuration I can see that the ESP32 fires up from how the LEDs on the USB UART act, there's some input and output happening through RX and TX ports but unfortunately I can't access the flash memory esptool like I was able with the other Yeelight/Xiaomi lamps I flashed before.
In some forum discussions I read that one may have to delay the 3.3V on the EN pin by using a resistor. I tried to manually pull the EN pin shortly after firing up the UART but this also didn't help.
Will be very happy if someone with better understanding of ESP32 could help me. Thank you!

I used test points instead of connecting directly to ESP32.
To flash it, I had to connect TP3 (GPIO0) with GND (and I think EN with 3V3 but I'm not sure of that)
TX is TP5 (GPIO1) and RX is TP4 (GPIO3)

Thank you so much for your quick and helpful response @p1otr ! I eventually managed to flash the ESP32 using the test points on the backside but I only had success after also switching the UART device and maybe also one of the cables I used was a problem for the serial transfer. So maybe I could also have been successful flashing directly on the ESP32 but I wasn't curious enough to find out.
I connected 3.3V to both the 3.3V pin and the Enable pin at the same time. Fortunately no extra electronic parts were needed regarding the connection to the EN pin.
On my YLXDD-0034 board the test points were labeled as follows:
TP1 = EN
3.3V
GND (there are two GND test points but only one of them actually is connected to the three GND pins on the ESP32!)
TX
RX
IO0
Thank you again, I had spent two nights with this while I had expected this to be a quick exercise after having already done this now several times with other lamps.

Could one of you (@Fienberber @surfaceflinger @helgek) tell me the YAML configuration you are using for your lamp? The mentioned config (yeelight.light.ceil20) above doesn't exist. Is my guess here #86 correct?

I'm referencing this config file from the main branch.
Hope it helps


feat:  Add expression wrapper to ExprBuilder

This will allow previously calcuated Expression objects to be used as function arguments.

Looks great, thanks @EpsilonPrime!


Modernize EF6Tools repo

Modernize EF6Tools repo
Update EntityFramework packages from 6.2.0 to 6.5.1
Remove checked in copy of ef6 code
Enable tests to run in VS
Enable tests to pass in VS2019 and VS2022
In order to accommodate using the official binaries and their public APIs it does cause disabling around 10% of tests, but those 10% were not previously running anyway.

@phil-allen-msft I'd love to review this, but the diff seems to large in the Files Changed tab.
Is it possible to break the diff into smaller chunks? The GitHub browser struggles with loading the diffs in one commit. If the deleted files are a significant part of the diff, could you please separate them into their own commit? This would make it easier to review the rest.

@phil-allen-msft I'd love to review this, but the diff seems too large in the Files Changed tab.
Is it possible to break the diff into smaller chunks? The GitHub browser struggles with loading the diffs in one commit. If the deleted files are a significant part of the diff, could you please separate them into their own commit? This would make it easier to review the rest.

I certainly did the removal in order to find all the uses (and make all those changes), but splitting the commits was quick.


Adds certificate authentication as an optional credential parameter

Resolves #23

Please add a test for it.

I'm uncertain whether the added test is sufficient, so let me know if there's anything you would like me to add.

@Haunfelder thanks for the contribution!


[ci] generate fresh config_auto.cpp at CI side

I think it's good to always have fresh config_auto.cpp at CI side and in consequence in all artifacts.
But we cannot completely remove pre-generated config_auto.cpp from the repo, because we cannot force users, who compiles from sources, to run python code on their machines, right?

@StrikerRUS
I think the config_auto.cpp is generated by developers offline, not the users.
So it is not needed in CI side, what do you think  ?

I suppose, the best way is to generate it at CI side and push generated file back to the Git repo. This will guarantee always fresh config_auto.cpp (even if someone of developers forget to update it after altering config.hpp).
But then Travis will create a new separate commit with generated config_auto.cpp after each normal commit/PR. So we need to make Travis detect modified files and only in case config.h was modified ask it to push back generated config_auto.cpp. However, it seems to be rather complicated... At this moment it's really easier ask to regenerate file manually.

thanks, maybe we can refine it in future.


modelize: advice abstract methods defined (or inherited) in concrete classes

Often, the distracted developer forgot to implement some inherited abstract methods.
This PR add an advice when it detects these cases:

introduction of an abstract method in a concrete class
inheritance of an abstract method in the introduction of a concrete class
introduction of an abstract method in a refinement

Because of refinement, some of these cases can be justified as legitimate: the method is abstract now but will be made concrete by a refinement in a latter module. While these use-cases exists, they do not seems to be that numerous, and I'm note sure they are good practice anyway (even if I'm the author of some of them).
Moreover, there is some other cases that are not yet detected:

redefinition of a method by an abstract one (yes, it is possible, but I'm not sure this is used anyway)
inheritance of an abstract method when a super-class is added by refinement.

I chose advice, that are disabled by default instead of warning, to avoid spamming the current users and give us some time to adapt the policy and/or the existing code.

This is a good idea, but have you tried it on an app.nit prototype before it is bound to a platform? Let's say calculator.nit or contrib/benitlux/src/client/client.nit. I'm a bit worried that it could spam the programmer about abstract methods implemented by platform specific modules.

@xymus I do not know about spam. A fast run on your modules give me a
$ nitpick examples/calculator/ contrib/benitlux/src/client/client.nit  -W
...
Errors: 0. Warnings: 412.
$ nitpick examples/calculator/ contrib/benitlux/src/client/client.nit  -q -w abstract-method
...
Errors: 0. Warnings: 161.

The problem is that among these 161 new warnings I do not know if the method is expected to be implemented by the platform or if the programmer just forgot to implement it. E.g.
../lib/json/static.nit:370,7--22: Warning: Concrete class `static$JsonSequenceRead` does not redefine the abstract method `core::Collection::iterator`. (abstract-method)
	class JsonSequenceRead[E: nullable Jsonable]
../contrib/benitlux/src/client/views/home_views.nit:138,7--18: Warning: Concrete class `home_views$SectionTitle` does not redefine the abstract method `app::View::enabled`. (abstract-method)
	class SectionTitle super Label end
../lib/android/data_store.nit:29,15--34: Warning: Concrete class `data_store$SharedPreferenceView` does not redefine the abstract method `jvm::jvm::Object::to_jvalue`. (abstract-method)
	private class SharedPreferenceView

So I just do not know what is the best policy here.

need more thinking


[Mob-727] - inbox docs

I agree. First lets get the documentation right. We will probably move to another repo with links here.


Update C26432 doc - use default keyword everywhere

The "no warning" example doesn't use the default keyword everywhere it could be.
Other analyzers could complain: https://rules.sonarsource.com/cpp/RSPEC-3490

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

@Thieum
Thanks for the contribution. You raise a good point about mixing user-defined but default-like special member functions and defaulted ones as raising a code smell. However, the change you suggest eliminates one code smell for another one; if all special member functions are explicitly defaulted, then it's better to not define any of them, and let them all be implicitly defaulted.
The warning description specifically says it's okay to mix definition types, so that's why the sample was written as it was. To make the example about adding the missing definitions rather than changing the existing ones, I've taken the liberty of modifying it slightly to do some explicit resource management. If that's okay with you, add your CLA signature, and I'll merge it.

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

@corob-msft Thanks a lot for your explanation! It does make sense, and it's really nice of you to take the time to improve my contribution!


Webpack removes parentheses inside Typescript decorators

Bug report

What is the current behavior?
I have created a repository that you can download and reproduce the issue for yourself:  https://github.com/etiennenoel/webpack-or-ts-loader-parentheses-issue
Here's an explanation:
In file src/greeter.ts, I have the following class and a decorator that accepts an anonymous function:
const test = (condition: any) => {
    return condition;
}

export class Greeter {
    @test((o: { allo: any; target: any; }) => (o.allo && o.target) || (o.allo) )
    name: string;

    constructor(name: string) {
        this.name = name;
    }

    greet(): void {
        console.log(`Hi, ${this.name}!`);
    }
}

If you run npm run build and look in the generated file dist/main.bundle.js, you can see that the parentheses in the condition are removed:
Expecting to see the following parentheses
...
(o.allo && o.target) || (o.allo)
...

Actual result
...
e.allo&&e.target||e.allo
...

I believe it's a bug in webpack or in ts-loader (I'm not sure how to test who's at fault here) since when I run tsc, I obtain the proper output:
...
(o.allo && o.target) || (o.allo);
...

Other relevant information:
webpack version:  5.66.0
Node.js version: 14.15.3
Operating System: MacOS
Additional tools:
I'm also using ts-loader so not such who's precisely at fault.

Hello, terser remove parens around && because && have more precedence than || https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence

yep, this is terser optimization

Oh wow, I guess you learn something everyday. I was totally convinced that this wouldn't work. I'll go and learn more about how operators work in Javascript, thanks for the quick response!


add vaaski/vaaski to Simple but Innovative Ones

What type of PR is this? (check all applicable)

[x] 🚀 Added Name
[ ] ✨ Feature
[ ] ✅ Joined Community
[ ] 🌟 ed the repo
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
Animated SVG in the style of my work-in-progress website that looks crisp on any resolution with a rainy vibe to it.
Add Link of GitHub Profile
https://github.com/vaaski

@abhisheknaiidu please re-review.


Integration data sync complete: clear Sidekiq queues before requeuing…

… things
We need to requeue scheduled publishings after the data sync, so shouldn't
clear the queues after that.

:+1:


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-extensions/serving-writers
/assign knative-extensions/serving-writers
Produced by: knative-extensions/knobots/actions/update-deps

Handled in https://github.com/knative-extensions/net-contour/pull/1019


Add documentation for "learning Perlang"

The Learn section
Right now, the docs at https://perlang.org are all fine and nice, but they lack one obvious thing: there is absolutely no tutorials for "getting started with Perlang". Something like this would be useful:

How to write an "Hello World" program with Perlang.
How to calculate a fibonacci sequence.
How to define a custom function and call it.
How to use the REPL (and exit it).

Basically, describing the 0.1.0 functionality as it stands.
The idea is to use Asciinema for recording this.
Thinking a bit more about it
Maybe the Learn section should be revised a bit. What we have there at the moment is more something like a "quick start", "for the impatient" or whatever. We should consider adding a proper "Learn" page where we go through everything supported in the language as it currently stands. I think this will be good, for even I myself tend to forget what the syntax is when I haven't been working on the code lately. If that's the case for me, how on Earth could I expect anyone else to remember it??

Some tutorials are in place, but I think we should aim a bit higher before considering this close. Ideally, all (or at least a significant amount) of the language elements should be covered by the tutorials.

Maybe this is not required (although it would be nice!) for the 0.1.0 release. Bumping forward to the next milestone.


Create message-kind-specific parse methods and remove circular dependency

Create specific message parsers e.g. Rfq.parse() which will ensure the payload is an RFQ message and can be easily extended to do RFQ-specific validation
Move Message.parse() into Parser.parseMessage() because Message.parse() caused Message to depend on its subclasses, which is a violation of OOP best practices and constitutes a circular dependency.

Codecov Report

Merging #224 (16aabda) into main (bd505a5) will increase coverage by 0.72%.
The diff coverage is 92.04%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #224      +/-   ##
==========================================
+ Coverage   79.39%   80.11%   +0.72%
==========================================
  Files          35       36       +1
  Lines         820      875      +55
  Branches       75       82       +7
==========================================
+ Hits          651      701      +50
- Misses        133      136       +3
- Partials       36       38       +2

Components
Coverage Δ

protocol
88.47% <91.66%> (+0.45%)
:arrow_up:

httpclient
80.82% <100.00%> (ø)


stupidly large files

OK, don't ask why but I need to open a 16GB file to do some editing to and cant find a program that will let me so I thought I would try vscode, it obviously didn't work which is why I'm here so I was wondering if it would be possible (after at least 3 years of it being mentioned in other posts) to it being added in, my computer currently has 48GB of ram so plenty to open it even if it needed double the file size in ram but even when I do give the software the ram I still get an error saying "cant open file is too large(16GB)" if this is unable to be added in (ideally soon) does anyone know of a program that would allow me to open a file this large in a way that I can mess with the code?
the file is a .VNEM and .VMDK file, most other files I have needed to open have done so

Did you try increasing the files.maxMemoryForLargeFilesMB setting?

Thanks for the response, I have increased it to 24GB

@Redtile do you mean you had already done that and you still can't open the file?

Yes I have done that already but I still get an error msg, I can upload a screen shot when I am back at my desk

Our implementation of text buffer doesn't come with no cost, it tries to store minimal information, like line break offsets in the buffer and references between chunks of raw data. For a relatively large amount of lines of data, the metadata stored in the text buffer can be large, sometimes even larger than the file itself. Currently we don't have a sound solution for making the text buffer slim for all cases.

Ok so for a vmdk file at 16GB approx how much memory do I need to dedicate to it? I have a top of the line custom built rig so in theory there shouldnt be an issue

Is it possible that I was able to open a big file with an older version and when I do that it says something like "we can't highlight sintax but at least I open it." and now it just crush? If that is true, what about a fallback mechanism?

Is it possible that I was able to open a big file with an older version and when I do that it says something like "we can't highlight sintax but at least I open it." and now it just crush? If that is true, what about a fallback mechanism?

@jordanmkasla2009 if that's what you see "works in 1.38 but fails in 1.39" then it's a regression which we should fix. Can you help confirm that? We didn't remove what you described.

Is it possible that I was able to open a big file with an older version and when I do that it says something like "we can't highlight sintax but at least I open it." and now it just crush? If that is true, what about a fallback mechanism?

@jordanmkasla2009 if that's what you see "works in 1.38 but fails in 1.39" then it's a regression which we should fix. Can you help confirm that? We didn't remove what you described.

It looked to be just a wrong perception on my side. I tried with some old version and I see the same behavior as described in this issue. Is that buffer ref code centralized somewhere? Looks like they will need to go to disk also.

/duplicate of https://github.com/microsoft/vscode/issues/46723


The Query Entities operation returns the list of entities in a table

Microsoft Azure Storage REST API states https://docs.microsoft.com/en-us/rest/api/storageservices/query-entities#response-body:

The Query Entities operation returns the list of entities in a table as an OData entity set, either in a JSON format or an Atom feed, depending on the Accept header of the request.

This behavior is present in Azure Storage Emulator:
HTTP/1.1 200 OK
Cache-Control: no-cache
Transfer-Encoding: chunked
Content-Type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
Server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 8eefc82a-7169-49d9-9529-4a9c5f5e83c0
x-ms-version: 2018-03-28
X-Content-Type-Options: nosniff
Date: Mon, 03 Dec 2018 13:45:21 GMT

109
{"odata.metadata":"http://<IP_ADDRESS>:10002/devstoreaccount1/$metadata#test","value":[{"odata.etag":"W/\"datetime'2018-12-03T13%3A43%3A09.65Z'\"","PartitionKey":"PartitionKeyForEntity","RowKey":"RowKeyForEntity","Timestamp":"2018-12-03T13:43:09.65Z","Data":"Value"}]}
0

But Azurite returns an entity directly, without wrapping into value collection.

we have now implemented table api support in v3.
We correctly wrap entities.


Audit SEO of examples and documentation with Lighthouse

Let's figure out performance opportunities of the example and the documentation.
See info on Lighthouse: https://developers.google.com/web/tools/lighthouse#devtools.
After running the tools, create new issues based on the findings.

Results:


Fixing missing 'c' in installation guide documentation

Fixed missing 'c' in 'docker-compose'

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Oh and the failing check says you should edit your PR title:

Error: Please format your PR title to match: ^(build|chore|ci|docs|feat|fix|perf|refactor|style|test|other)(\(.+\))?(\!)?:\s.+!


you can add a score and ranking for the promotion

You can add a score and ranking for the promotion like a this product
tabNine

Thanks for your interest.
My next intention is to make it work on personal computers, without needing a GPU. Microsoft actually released a similar code-completer for its vscode editor. I want it to be a code completer that works on many known editors, locally and freely.
But it's free and open-source, so you can fork and add these features you talk about as you want :).


Lack of UK Support

Why does every supported Country have a level of regional support for map areas, other than the UK which is split only by country. A county and / or postcode is a must for Power BI to be competitive in this space with rivals.

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

ID: 6a301928-35b6-2b9d-3bbe-0dc48b237b07
Version Independent ID: 765bad52-68e2-985f-924e-4e7f334b62f0
Content: Use Shape Maps in Power BI Desktop (Preview) - Power BI
Content Source: powerbi-docs/visuals/desktop-shape-map.md
Service: powerbi
GitHub Login: @mihart
Microsoft Alias: mihart

Hi, @AdrianJBW -- Thanks for contacting us! This looks like product feedback,  rather than documentation feedback. You can submit product feedback or feature ideas by going to https://ideas.powerbi.com. You can also engage with the Power BI engineering team by being active in the Power BI Community, found at https://community.powerbi.com.


MRESOLVER-133 unnessary poms downloadings for dependency using versio…

…n range

@michael-o @cstamas @ibabiankou @cannucklehead
This is the draft PR for MRESOLVER-133.
The idea is below as referenced from Ivan's comments in the ticket:

Below loop should iterate over reversed list of versions, it should only try to get artifact descriptor and break as soon as got one successfully.
https://github.com/apache/maven-resolver/blob/master/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/collect/bf/BfDependencyCollector.java#L394

The same changes applied to original DF solution.

A hard NO for now, as this needs more investigating.
First of all, if you add break here, you are changing the semantics of resolver collection (would return "highest version" not "all applicable"). Second, your goal to get "highest version" is already doable w/ resolver and is present in UTs, look at these tests:
https://github.com/apache/maven-resolver/blob/915186d643f37cff9a217a482c62d9b47767c95d/maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/collect/df/DfDependencyCollectorTest.java#L563
https://github.com/apache/maven-resolver/blob/915186d643f37cff9a217a482c62d9b47767c95d/maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/collect/bf/BfDependencyCollectorTest.java#L570
So both UT end up in loop (you'd break) with SINGLE version, due to set HighestVersionFilter. Meaning, Resolver already have the means to achieve this if asked for. OTOH, Maven "as resolver client" does NOT use version filters, but it asks for "all" and then "mediates" based on it's own rules. This is sub-otpimal of course, but this requires more careful research to not break resolver and/or Maven, at least 3.x line.
See these issues for some context please:
https://issues.apache.org/jira/browse/MRESOLVER-164
https://issues.apache.org/jira/browse/MNG-7049
And an experiment done here:
https://github.com/cstamas/maven/commit/99709fd8a715101e5c64ab99c651a468b37f0d15
In short: resolver CAN do this out of the box, but Maven does not USE this feature. OTOH, there are cases in Maven itself, where Maven DOES THIS, see org.apache.maven.repository.internal.DefaultModelResolver#resolveModel(org.apache.maven.model.Dependency) for example, so we need first to figure out why was it done like this (maybe just lack of time to properly finish integration) but it may be something else as well (like "closest wins" strategy).


Check for ColumnExpression in TF adjustment column

ComparisonLevel._tf_adjustment_input_column fetches the value tf_adjustment_column from the level dict, if it exists.
With the changes of #1782 this will usually be a ColumnExpression, but will be a string if for instance we have gone via .as_dict().
As we are feeding into an InputColumn we coerce to a string to construct that, but throw an error if we are using a transformed column (as they are not allowed for tf columns).
This is not necessarily the best way to do this, but these are the (cherry-picked) changes I have implemented for now in testing branch #1714 -  if there is a more sensible flow then happy to ditch that and merge whatever that is into tests branch instead.
I imagine at some point we will be revising some of the logic in ComparisonLevel anyhow.

I'm not sure about this -  I think it exposes an unintended effect of my ColumnExpression PR that should probably be dealt with differently. The thing that alterted me to this is the need to modify the ComparisonLevel method.
Specifically I think it muddies the water between ComparisonLevelCreator and ColumnExpression.  I was surprised to see a ColumnExpression within the ComparisonLevel, because i was expecting that to be 'stripped out' as part of create_level_dict().
My gut is that ColumnExpression should have the same status as ComparisonLevelCreator in that it assists the user in producing a valid ComparisonLevel 'pure' dict (i.e. that's serialisable to json).
That would mean that the create_level_dict() should be turning any ColumnExpression into strings rather than preserving them.  In turn, this would mean we shouldn't need to modify the method on the ColumnExpression
Note that if you attempt to do this, you get an error.  So in some sense there's protection built in against using ColumnExpression for tf adjustments anyway:
from splink.column_expression import ColumnExpression
from splink.comparison_level_library import (
    ExactMatchLevel,
)

cl = ExactMatchLevel(
    ColumnExpression("surname").lower(), term_frequency_adjustments=True
).get_comparison_level("duckdb")

ValueError: The boolean term_frequency_adjustments argument can only be used if the column name has no transforms applied to it such as lower(), substr() etc.

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~/Documents/data_linking/splink_311/try_sandbox.py in <cell line: 0>()
      8 # cl._tf_adjustment_input_column
      9
---> 10 cl = ExactMatchLevel(
     11     ColumnExpression("surname").lower(), term_frequency_adjustments=True
     12 ).get_comparison_level("duckdb")

~/Documents/data_linking/splink_311/splink/comparison_level_library.py in __init__(self, col_name, term_frequency_adjustments)
    156         if term_frequency_adjustments:
    157             if not self.col_expression.is_pure_column_or_column_reference:
--> 158                 raise ValueError(
    159                     "The boolean term_frequency_adjustments argument"
    160                     " can only be used if the column name has no "

ValueError: The boolean term_frequency_adjustments argument can only be used if the column name has no transforms applied to it such as lower(), substr() etc.

What do you think?  It's possible I'm missing something.

thank you!

Closed in favour of #1818.


LFC

Type of issue
Outdated article
Description
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-configure-an-app-to-support-net-framework-4-or-4-5
Content source URL
https://github.com/dotnet/docs/blob/main/docs/framework/migration-guide/how-to-configure-an-app-to-support-net-framework-4-or-4-5.md
Document Version Independent Id
a6f40f48-c59f-2f2e-57ad-c124cd04ecb9
Article author
gewarren

@dh-orko What does LFC stand for? Is the issue just that the article is out of date?


Fix nextPage/prevPage links in the staging API

Currently they're hard-coded to point to api.wellcomecollection.org; might be nice if they could point to api-stage.
(But how to do this so the switchover is seamless?)

At some point this got fixed, and I didn't notice. I think this means it's temporarily wrong when we flip the APIs though, unless I've missed something?

Closed by #2548.


Can not upload to OpenCR

Hello,
First of all thank you for the work you have done and you are doing, Turtlebot3 is a great project.
I am working on the Turtlebot3 waffle and I use Jetson TX2 as a SBC.
We have recently purchased Open Manipulator arm for Turtlebot3.
I followed all the steps from the Emanual wiki to setup the hardware.
I have managed to set up Turtlebot3 and the robot was moving just fine, when I uploaded the turtlebot_core to the board, with OpenCR version 1.1.2.
The problem occured when I updated the version of OpenCR to 1.2.0 using Arduiono IDE to upload from examples turtlebot_with_open_manipulator_core to the board and test the dynamixel arm.
IDE is able to detect the board - dev/ttyACM0 and also I detect the board with libusb command.
When I upload the file I get following error:
Arduino: 1.8.5 (Linux), Board: "OpenCR Board, OpenCR Bootloader"
/home/das-note-2/.arduino15/packages/OpenCR/hardware/OpenCR/1.2.0/libraries/turtlebot3/examples/turtlebot3_with_open_manipulator/turtlebot3_with_open_manipulator_core/turtlebot3_with_open_manipulator_core.ino: In function 'void sendDebuglog()':
turtlebot3_with_open_manipulator_core:764: error: 'class Turtlebot3Sensor' has no member named 'getPushedBumper'
DEBUG_SERIAL.print("Bumper : "); DEBUG_SERIAL.println(sensors.getPushedBumper());
^
exit status 1
'class Turtlebot3Sensor' has no member named 'getPushedBumper'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Next I commented out the following line:
DEBUG_SERIAL.print("Bumper : "); DEBUG_SERIAL.println(sensors.getPushedBumper());
and tried to upload again, and managed to upload to the board.
However, the sample program to bringup the turtlebot3 with the open manipulator did not run, and I decided to rewrite the turtlebot3_core to the board to reset to working settings.
Now I am facing the following error, regardless of OpenCR version and what kind of sample I try to upload to the board, the IDE and the shell show:
cmd_read_board_name fail : 0xF020
I have to note, that there is no a time value next 0xF020 comparing to https://github.com/ROBOTIS-GIT/OpenCR/issues/65
I have checked every connections several times. I can see on the board only the USB and POWER leds are on.
I also tried to to burn the Bootloader and dowload the bootloader, also checked the USB port settings. and followed the wiki provided.
I have tried following OpenCR versions - 1.1.12, 1.1.13, 1.1.15, 1.1.0, 1.2.0
I would like to know whether I am having problems with the hardware or is there smth wrong with my software settings?
Do you have any idea to solve this problem?
Any kind of help or advice will be appreciated!
Thanks in advance,
Husni.

Hello @husikl :)
Sorry for inconvenience.
You can change function name from sensors.getPushedBumper() to sensors.checkPushBumper() in OpenCR versions 1.2.0.
I will be modified that as soon as possible.
Thanks

Hello again.
I have followed your advices and understood how to work around the
cmd_read_board_name fail : 0xF020.
Also by editing the arduino code to sensors.checkPushBumper() I can compile and upload the turtlebot3_with_open_manipulator_core.ino to the board.
However, the problem I am facing right now is, when I try to
roslaunch turtlebot3_bringup turtlebot3_robot.launch
There is no connection established between the board and SMC
~ roslaunch turtlebot3_bringup turtlebot3_core.launch
... logging to /home/das-note-2/.ros/log/1a201e5e-7a9e-11e8-8c78-9c305b264e65/roslaunch-dasnote2-5611.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://localhost:45291/
SUMMARY
PARAMETERS

/rosdistro: kinetic
/rosversion: 1.12.13
/turtlebot3_core/baud: 115200
/turtlebot3_core/port: /dev/ttyACM0

NODES
/
turtlebot3_core (rosserial_python/serial_node.py)
auto-starting new master
process[master]: started with pid [5621]
ROS_MASTER_URI=http://localhost:11311/
setting /run_id to 1a201e5e-7a9e-11e8-8c78-9c305b264e65
process[rosout-1]: started with pid [5634]
started core service [/rosout]
process[turtlebot3_core-2]: started with pid [5639]
[INFO] [1530168010.387487]: ROS Serial Python Node
[INFO] [1530168010.399627]: Connecting to /dev/ttyACM0 at 115200 baud
[ERROR] [1530168037.861336]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
Also if I try to check only serial connectio I get the same error:
~ rosrun rosserial_python serial_node.py _baud:=115200 _port:=/dev/ttyACM0
[INFO] [1530167468.474873]: ROS Serial Python Node
[INFO] [1530167468.485684]: Connecting to /dev/ttyACM0 at 115200 baud
[ERROR] [1530167495.908387]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
I followed this answer https://answers.ros.org/question/235188/unable-to-sync-with-device/
and tried to change the baud rate to 57600 and 1MHz, but I have the same results.
When I upload the turtlebot_core.ino (for turtlebot3 waffle) the serial connection is established and works fine. Also I have managed to test the open_manipulator using Dynamixel Workbench -> when I upload the usb_to_dxl.ino the connection is also established.
From these results, I would like to ask can you confirm the code in turtlebot3_with_openmanipulator_core.ino for serial connection ? Or is there a version of the code for older OpenCR version that currently works and available?

I modified a code and tested it. You can download it below command.
Please let me know how it works
Sorry for inconvenience.
$ export OPENCR_PORT=/dev/ttyACM0
$ export OPENCR_MODEL=burger
$ rm -rf ./opencr_update.tar.bz2
$ wget https://github.com/ROBOTIS-GIT/OpenCR/raw/develop/arduino/opencr_release/shell_update/opencr_update.tar.bz2 && tar -xvf opencr_update.tar.bz2 && cd ./opencr_update && ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr && cd ..

Hi :)
Before you run this, you are supposed to set ID to Dynamixel. Left wheel on TB3 is 1, right wheel on TB3 is 2, joint on manipulator is 3~6 and gripper is 7.
https://github.com/ROBOTIS-GIT/OpenCR/blob/develop/arduino/opencr_arduino/opencr/libraries/turtlebot3/include/open_manipulator/open_manipulator_motor_driver.h#L33
Futhermore, you should set voltage to all Dynamixel before you run it.
We are preparing e-Manual for customer. You can see it near future.
Thanks

Thank you for your reply!
I have set the ID to Dynamixel from 3-6 as you recommended.
Now I can control the open_manipulator using roslaunch open_manipulator_dynamixel_ctrl dynamixel_controller.launch
However, I still don't understand how to bringup the turtlebot3 with open_manipulator together.
In the Emanual you have provided http://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#hardware-setup, section 12.5  you mention 2 steps to bringup the turtlebot3 with arm:

Bringup TurtleBot3 with OpenManipulator.
by launching turtlebot3_robot.launch
Launch open_manipulator_with_tb3_model file.
by launching open_manipulator_with_tb3_model.launch use_gazebo:=false

When I connect the battery to opencr, and follow the steps you have mentioned, there is torque in wheels but no torque on the open_manipulator. I guess there is no node that starts the motors for the arm.
Also the launch files do not contain any nodes referred to open_manipulator. Is that correct?
I have merged the most recent changes from git repo for turtlebot3.
I would like to know which nodes are you using to bringup the TurtleBot3 with OpenManipulator?
And should I add some changes to launch files mentioned above?

Hi :)
turtlebot3_with_open_manipulator.core includes DynamixelSDK to control wheel and joints.
So, you don't need to additional nodes to control Dynamixels. You can control it just send topics through /open_manipulator_with_tb3/goal_joint_position.
If you launch properly, the Dynamixels are moved specific position after you upload core. If not, please check ID and Baudrate(1M)

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.

Hi, I have a similar issue. I commented out the DEBUG_SERIAL.print("Bumper : ") line in the arduino code to allow it to compile and then uploaded it to the OpenCR board. However, the board is no longer recognized  on any serial ports. I get an unrecognized USB device when I plug it into windows and linux just doesn't pick up on anything.

Hello,
I'm also facing a problem with uploading code to OpenCR.
After performing lsusb I found that my board is not in DFU mode.
output is
anway@simpl:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 038: ID 0483:5740 STMicroelectronics STM32F407
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 046d:c31d Logitech, Inc. Media Keyboard K200
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So I have followed the steps in settiup the OpenCR and pusging the boot button and reset button simultaneously I was able to enter in DFU mode.
output is
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 040: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 046d:c31d Logitech, Inc. Media Keyboard K200
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
But now in DFU mode in Arduino IDE tools -> port   /dev/ttyACM0 is not showing
So I tried to upload the firmaware using the Shell Script but I was unable to upload.
I'm attaching the screenshot here.

Then I tried to give permission by chmod 777 /dev/ttyACM0
But it is also giving an error like
chmod: cannot access '/dev/ttyACM0': No such file or directory
But dmesg  is showing the device in ttyACM0
[75702.066990] cdc_acm 1-7:1.0: ttyACM0: USB ACM device
[75862.664973] usb 1-7: USB disconnect, device number 38
[75864.018635] usb 1-7: new full-speed USB device number 39 using xhci_hcd
[75864.168401] usb 1-7: New USB device found, idVendor=0483, idProduct=5740
[75864.168407] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[75864.168412] usb 1-7: Product: OpenCR Virtual ComPort in FS Mode
[75864.168415] usb 1-7: Manufacturer: ROBOTIS
[75864.168419] usb 1-7: SerialNumber: FFFFFFFEFFFF
I want to know whether this a hardware problem or not?? Do I need to change my OpenCR??

Hi, @anwaybose
You must use Firmware Recovery Mode, not DFU mode for downloading firmware.
Please refer to below link.

USB port setting
Firmware Recovery Mode

Hi, @OpusK
Thanks for your suggestion.
I have tried accordingly following the link, but still it is of no use
anway@simpl:~$ sudo opencr_ld /dev/ttyACM0 115200 ./opencrfw.bin 1
sudo: opencr_ld: command not found

@anwaybose,

@OpusK
I tried to eport binary sketch from Arduino IDE after entering into the Firmware Recovery Mode, but it is throwing error
_Board OpenCR (platform OpenCR, package OpenCR) is unknown
Error compiling for board OpenCR Board._

@OpusK
After reinstalling the driver and burning the bootloader, I'm still unable to upload my code. When I tried to do so, it is thrwing an error as follow:

Please confirm whether this is an hardware issue or not??

@OpusK ,
I have tried this

anway@simpl:~$ sudo opencr_ld /dev/ttyACM0 115200 ./opencrfw.bin 1

This command should be run from where the opencr_ld and opencrfw.bin files are located.

But it is also throwing some error as follow:
_anway@simpl:~/Dev/OpenCR/arduino/opencr_arduino/tools/opencr_tools_1.0.0/linux64$ ./opencr_ld /dev/ttyACM0 115200 ./turtlebot3_core.ino.OpenCR.bin 1
opencr_ld ver 1.0.4
opencr_ld_main

file name : ./turtlebot3_core.ino.OpenCR.bin
file size : 177 KB
Open port OK
Clear Buffer Start
Clear Buffer End
cmd_read_board_name fail : 0xF020_

@anwaybose ,

When the boot loader is running, the STATUS LED blinks every 100ms.

This error occurs because the board name can not be read normally. As I mentioned above, when the OpenCR enters Firmware recovery mode, does the STATUS LED blink?

@OpusK
Yes it blinks at a frequency of 100ms

@OpusK,
I am not using any usb hub. I have also checked with changing the usb cable, the problem persists. My usb cables are working fine I have checked them with other devices. Can it be a problem with the micro USB pin attached to the OpenCR?

@anwaybose

Can it be a problem with the micro USB pin attached to the OpenCR?

You said you uploaded the bootloader normally using DFU(USB)?
If so, this is not the problem you mentioned.
Would you like to check that the generic blink example is uploaded instead of turtlebot3_core.ino?

@OpusK

Would you like to check that the generic blink example is uploaded instead of turtlebot3_core.ino?

I have tried to upload it, but in tools -> port nothing is showing, so it failed to upload the code from Arduino IDE.
But I have tried in this way:
_anway@simpl:~/Dev/OpenCR/arduino/opencr_arduino/tools/opencr_tools_1.0.0/linux64$ ./opencr_ld /dev/ttyACM0 115200 ./Blink.ino.OpenCR.bin 1
opencr_ld ver 1.0.4
opencr_ld_main

file name : ./Blink.ino.OpenCR.bin
file size : 37 KB
Open port OK
Clear Buffer Start
Clear Buffer End
Board Name : OpenCR R1.0
Board Ver  : 0x17020800
Board Rev  : 0x00000000

flash_erase : 0 : 0.997000 sec
flash_write : 0 : 0.861000 sec
CRC OK 38E4F0 38E4F0 0.001000 sec
[OK] Download
jump_to_fw
jump finished_
And I'm able to upload the code.
Then waht is the error you think?

I have tried to upload it, but in tools -> port nothing is showing, so it failed to upload the code from Arduino IDE.

Since you have successfully uploaded via the command, this is likely a problem with the Arduino IDE.
Have you tried uploading the turtlebot_core even by command method?

@OpusK,
Yes today I'm able to upload the turtlebot3_core by command method. So what do you suggest? Do I need to reinstall my Arduino IDE?

@anwaybose,
Arduino simply executes the commands you have executed manually for you.
So, I do not know the exact cause...
I suggest you try reinstalling your Arduino IDE to the latest version.

@OpusK ,
Thanks for your suggession.

@anwaybose,
Because it works with the command, it seems difficult to specify the cause. I have tested on various PCs in the company, but unfortunately the same symptoms are not reproducible and I can not debug ...

@OpusK
Thank You.
After re-installing Arduino IDE it is working properly. But now I'm facing a new problem. I have opened a new issue  #361 . Can you help me in resolving this.

I had the same Error with TurtleBot3 and the openCR-Board.

cmd_read_board_name fail : 0xF020

Change USB-PowerCable to an USB-Data and Power-Cable then it works!
With the correct cable, you can use the /dev/ttyACM0-Port.
With the wrong cable you can only see /dev/ttyS4 in the Arduino-IDE and this wasn't working.

I had the same Error with TurtleBot3 and the openCR-Board.

cmd_read_board_name fail : 0xF020

Change USB-PowerCable to an USB-Data and Power-Cable then it works!
With the correct cable, you can use the /dev/ttyACM0-Port.
With the wrong cable you can only see /dev/ttyS4 in the Arduino-IDE and this wasn't working.


Bug: Session being destroyed are not taken into account

Clear the session and start over somehow? Perhaps I can use an intent to restart the service of the specific media player I was using?

Fixed in #37


[Bug]: Error log on start

/mv version -p output
https://j.mp/3mybrze
Server logs
248263e083264d86b49ce2ef14a4d4fe
Server Version
This server is running Purpur version git-Purpur-1395 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: fd158ac on ver/1.17.1)
You are 7 version(s) behind
Previous version: git-Paper-250 (MC: 1.17.1)

Server Version
On start
Steps to reproduce
Start server
Agreements

[X] I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
[X] I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Can you send your server logs... not sure what is 248263e083264d86b49ce2ef14a4d4fe

https://paste.gg/p/anonymous/a9d5ff8568764d23ae70c8c28a1abda0

I dont see any errors in your logs...
maybe  [08:42:10] [Server thread/ERROR]: (org.bukkit.craftbukkit.v1_17_R1.legacy.CraftLegacy:259) Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! But its shouldn't cause an issue and isn't caused by mv anyways.

[08:42:34] [Server thread/WARN]: [Multiverse-Core] "Multiverse-Core v4.3.1-b861" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [dumptruckman, Rigby, fernferret, lithium3141, main--].


feat(log): log whenever an object load returns a stale value

S3 (and possibly others) is eventually consistent when versioning is
enabled.
A stale read is defined as a load that returns an object with an older
lastModifiedTime.
It would be useful to know how often this happens in reality.

I approve


chore: migrate to eslint flat package to support eslint V9

dependbot recently migrated to eslint V9, however, they changed the format of the eslint file, but more importantly, the name of the config file that gets autoloaded.
This PR migrates to the flat package format + use the new file name for config auto-loading.

Nice one. I think the dependabot auto merge should be updated to not merge major updates without being tested first.


Add test for unsupported short config flag

What does this PR try to resolve?
ref https://github.com/rust-lang/cargo/issues/11702
Added unsupported short alias suggestion for --config flag.
How should we test and review this PR?
Check out the unit tests.
Additional information

@bors r+

:pushpin: Commit 2400e42652b2280e053cad8691622e18cc809888 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 2400e42652b2280e053cad8691622e18cc809888 with merge cacebf8cbc65d380b59c303a3fe11b677f8a6150...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing cacebf8cbc65d380b59c303a3fe11b677f8a6150 to master...


[1.11] Bump Mesos to nightly 1.5.x 5ddd164

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/6008868c715733b7d798279e9b39ae3483f7d955...5ddd1641d621c51c561038fa13e15c3333072122
https://github.com/dcos/dcos-mesos-modules/compare/2f1fb59b0c20959c0dbd4f0b98b13cee08b56633...9d5cc18a2065864350c23ad56f1c4caa2ae308c5

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

Closed in lieu of https://github.com/dcos/dcos/pull/3790


Some fixes, some tweaks, some buffs

I'd like to say: I'm still suffering. I beat R&D code and I'm still suffering.


Adds dispose to TextEditingController

Fixes https://github.com/joanpablo/reactive_forms/issues/445

Hi @vicenterusso, thanks for the contribution.
It seems to be an issue with the patch though, can you check what is failing before I can take a look? Thanks in advance.


Added Rocky 8.9 Repos

The Slurm appliance will be supporting Rocky 8.9 for the foreseeable future so would be nice to have these in here even if they aren't in SKC

found a working mirror at https://mirror-nrt.yuki.net.uk/rockylinux/8.9 vault is a bit unreliable when it comes to dependencies so would be good to sync at least one working set

Giving it a go: https://github.com/stackhpc/stackhpc-release-train/actions/runs/12355533875/job/34479375784

Thanks @assumptionsandg for starting a sync

If this is only for Rocky 8.10 now, it might be a good idea to add 8.9 to package-repos-deprecated now it's been synced.

Yes, since we've now synced 8.9 once, please also add it to package-repos-deprecated


Vehicle::CreatePedOnSeat

_ped = World.CreatePed( PedHash.AFMBeach01, _veh.Position.Around( 3F ) );
Function.Call( Hash.SET_PED_INTO_VEHICLE, _ped.Handle, _veh.Handle, -1 );

Added in f5a33be469797de59ea6e492cdbfed71fbbc66bc.


Allow the use of customized report template.

It could be a simple sos configuration key that allows users to report workflow from an alternative template.... Not an urgent feature request though.

Do not see a need for such a feature.


consul

Expected Behavior / New Feature
Actual Behavior / Motivation for New Feature
Steps to Reproduce the Problem

Specifications

Version:
Platform:
Subsystem:

Sorry there is no information with this issue, let me know if you want to reopen it with more information.


[Heap] Performance tweaks

@inline(__always) has a detrimental effect when used on large functions. Let's not do that.
Speed up invariant checking with COLLECTIONS_INTERNAL_CHECKS (resolves #69)
Replace naked ints with _Node, precalculating levels for each offset (resolves #71)
Rebase heap operations on UMBP instead Array, eliminating unnecessary index validation (resolves #75)
Add some (slightly questionable) effects attributes to heap internals.

Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[X] I've followed the coding style of the rest of the project.
[ ] I've added tests covering all new code paths my change adds to the project (if appropriate).
[ ] I've added benchmarks covering new functionality (if appropriate).
[X] I've verified that my change does not break any existing tests or introduce unexplained benchmark regressions.
[ ] I've updated the documentation if necessary.

@swift-ci test

I'd be interested to see the performance difference here.

Removing @inline(__always) turned out to be a significant regression. 😅This won't land as is.
I'd like to keep an eye on code size though -- always inlining large(ish) functions is generally a bad move. We'll see if followup work can make some of this work better.

The thing I'm worried about is that the sequence-based initializer, insertions, removals are currently all emitted as large monolithic functions, with no code sharing between them.
They aren't terribly large (e.g., the sequence initializer is 1200 bytes on x86_64), but they get duplicated with each specialization, and this can add up.
If we can arrange things so that the bubbleUp/Down function calls remain intact without ruining performance, then that would calm my nerves a bit. :-)

@swift-ci test

Benchmark progression:

cc690696: Original
891eb7a7: _Node
6822d83b: _UnsafeHandle
454da8fb: @inline(__always) → @_effects(releasenone)

@swift-ci test

This gets us to ~parity with std::priority_queue, even slightly beating it on large heaps. We still have a slight disadvantage at small sizes, though. (https://github.com/apple/swift/pull/38867 might help close that gap.)

Cc @AquaGeek
Most of these are dirty tricks that reduce code readability (with the possible exception of _Node), but they are probably worth it for the performance boost.
The addition of the @_effects attributes isn't entirely justified; if we have to take those out, then that will impact insert quite a bit. 🤔

Looks like interesting progress - just one thought, wouldn’t it make sense to use e.g https://github.com/skarupke/heap as the reference for the heap performance rather than the std-prioq?

Seems 891eb7a: _Node is a straight-up win in performance over the original, and the rest speed up some and regress some here and there.

just one thought, wouldn’t it make sense to use e.g https://github.com/skarupke/heap as the reference for the heap performance rather than the std-prioq? (And compare the actual PriorityQueue with the std-prioq).

std::priority_queue implements a heap, closely matching our Heap (although one-sided) -- I think the comparison against it is fair (although these are never really apple-to-apples comparisons). The PriorityQueue concept doesn't directly exist in the STL, although (depending on the internal impl) I expect std::priority_queue with a custom comparator would still serve as a useful baseline for it.
std::priority_queue being one-sided does not make it a bad baseline -- it solves a simpler problem than Heap, but our hypothesis was that min-max heaps will provide matching or better performance anyway.
It would be interesting to see benchmarks against @skarupke's implementation! I'll see if I have time to run some experiments over the weekend. 🤔 We won't add those benchmarks to this repository though.
Another interesting source of data structure implementations would be LLVM's ADT library.
I don't think we need to add an extensive library of reference benchmarks though -- verifying against some plausible baseline is useful during the initial implementation effort, but afterwards I believe we should be primarily comparing potential changes against earlier versions of this package, not against other languages.

One thing that we still need to address is that the code does not currently implement the optimization techniques that make https://github.com/skarupke/heap fast. We need to reorder comparisons in the grandchild min/max search, and use a more clever heapify loop.

The results above were collected on a 5-years old MacBook Pro. M1 results below!
The insert benchmark results are significantly different on M1 -- for insertions on M1, 6822d83 was a significant regression, not an improvement. This may be related to apple/swift#38867, although I expected swift_retain/relase would be less costly on the M1, not more. More analysis is needed.

Versus baselines:

Drive-by comment:
Have you tried using a ContiguousArray for Heap._storage? It may help reduce code size, as regular Array needs to account for potential bridged storage. There may be places where the compiler can’t prove it isn’t bridged.
If you need it as an Array elsewhere, constructing an Array from a ContiguousArray is basically free. It just retains the existing storage, it doesn’t copy.

Oh yeah, that's a good suggestion; OrderedSet does the same. It shouldn't* have an effect on the current benchmarks, as Element is always Int and Array<Int> is statically known to never be verbatim-bridged -- but I expect there would be a benefit for class-keyed heaps.
* Although ContinuousArray sometimes misses some of the optimization love that Array gets, so it could be slower sometimes -- for instance, I forgot to apply apple/swift#38867 to ContiguousArray just now. 🤦

c4282ca7b9ed46a9c4dfcf02e60f41210aea2463 improves popMin/popMax (and the sequence initializer) by reviewing trickleDown and optimizing things:

Replace swapAt with a scheme where we keep a hold in the storage buffer
Slightly shorten min/max dependency chain in primary sink loop

In exchange, we get even less readable code.
M1 benchmarks:

@swift-ci test

OK, I'm happy with where we are now. I think insert could probably be improved if we could maintain a hole in the storage array rather than swapping things in it -- but that would need an append variant of Array.init(uninitializedCapacity:initializingWith:) so that's for later.
Final measurements with a toolchain that includes https://github.com/apple/swift/pull/38867 & https://github.com/apple/swift/pull/38898: (taken on a Mac Pro this time)

@swift-ci test

This seems to have regressed the Windows build: https://dev.azure.com/compnerd/3133d6ab-80a8-4996-ac4f-03df25cd3224/_apis/build/builds/53542/logs/239


Use :exec norm!  before :call mapping in netrw

Fixes #12143.
(actually I'm not sure how to pull request these files, should I contact the plugin maintainer instead?)

ping @cecamp

thanks. Let me include it


Add support for partial arcs

I finally got around to fixing the problem that was noted in #50
This does the exact same thing as the previous PR but doesn't change any defaults and is based off of the newest version of the code.

This looks great, @alarner! I've just tested and verified on iOS. Will test on Android tomorrow 👍


How to get call SID?

@Dinesh-Sowndar  You can retrieve the Call SID from the TwilioVoiceFlutterCall object, which is part of the TwilioVoiceFlutterEvent event listener, using the id property. Please note that the Call SID will be null until the call is in the RINGING state.

@DevCodeSpace It works. Thank you


Campaign Names Disappear From Profile When Activity is Archived

What is happening?
When activity is archived, a user who has reported back for that campaign no longer sees the campaign name associated with their reportback on a their profile.
What should be happening?
The name of the campaign run should show instead on a profile once the campaign activity is archived onto that run.
How can someone replicate it?
Report back for a campaign, create a run for it, and archive activity to the run. Check your user profile's RB section to see the campaign name gone.
Relevant Screenshots:

@namimody I updated the desired behavior slightly. We actually want it to pull in the campaign run name. This is how it was working previously and is probably the easiest dev solution that also works from a UX perspective.
We may have to update campaign run titles to account for this (plus help text possibly?).

@mikefantini that works!
I actually found this issue because I (thought I) saw that the campaign run name was being pulled onto user profiles, but the help text for creating a campaign run titled noted that the title was not user facing. I'll go ahead and make that issue.

closing in favor of #5975


Wording in azure key vault hsm byok scenario

Hi,
I think you could improve some wording in the article:
https://github.com/MicrosoftDocs/azure-docs/blame/master/articles/key-vault/keys/hsm-protected-keys-byok.md#L19

the key will  never leave the HSM boundary

I am fairly sure it does leave the HSM, because that is what I want to do "bringing my own key" to Azure. I would very much doubt the scenario if Azure could use the key I am providing without actually getting the key :) A couple of lines later you are specifying it better and in direct contradiction to your first statement:
https://github.com/MicrosoftDocs/azure-docs/blame/master/articles/key-vault/keys/hsm-protected-keys-byok.md#L38

The target key is encrypted with a KEK, which stays encrypted until it is transferred to the Key Vault HSM. Only the encrypted version of your key leaves the on-premises HSM.

Here you clearly say the key does leave the HSM, but it is securely encrypted in a way that only the target key vault can decrypt it.
Greetings
Klaas

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

ID: c9711233-5045-c39f-f35f-9d382fff1ad0
Version Independent ID: 7d6e24fd-6036-0cfa-4e8d-f451ee440543
Content: How to generate and transfer HSM-protected keys for Azure Key Vault - Azure Key Vault
Content Source: articles/key-vault/keys/hsm-protected-keys-byok.md
Service: key-vault
Sub-service: keys
GitHub Login: @amitbapat
Microsoft Alias: ambapat

@Klaas- Thanks for your feedback! We will investigate and update as appropriate.

Klaas - Thank you very much for your feedback.
If a key is exported such that it is encrypted with another HSM-bound key, and it can only imported successfully in another HSM, we consider that as target key never leaving HSM boundary. This is true for the BYOK process described. Therefore it is correct to say that the key never leaves HSM boundary.

#please-close


unclear advanced features

the advanced folder only contains example for emission maps, the advanced section in the readme has a link to the unity docs for "a list of supported features" but the docs and the keyword to add in the json are kinda unclear. I've tried for quite some time to create a suit with a metallic map and I'm stuck trying keywords.
I even created the material in unity with the lit shader (the one liked) and I was able to obtain the result I'm trying to achieve but then it won't work in game

this is what I added in the json. is there something I'm missing or is the effect unachievable in game?
"_METALLICSPECGLOSSMAP": "KEYWORD",
"_MetallicGlossColorMap" : "White_pijama_metallic.png",
"_Smoothness" : 1.0

You're using the wrong version of Unity. The shader you should be using is HDRP/Lit, not URP/Lit.
If you want to figure it out you'll probably have to rip the materials from the game with Asset Ripper and look at the unserialized asset data, use the same version of Unity with an HDRP setup, and do a lot of experimentation. Unity Explorer can also be used to modify materials at runtime for experimenting.


Wrong scaling parameters

While the agent container expects an agent pool name the scaler configuration required the pool ID. The way how it is now in the document the scaler is not working. This is how it works:
    --scale-rule-metadata "poolID=$(CAP_POOLID)" "targetPipelinesQueueLength=1" \
    --scale-rule-auth "personalAccessToken=azp-token" "organizationURL=organization-url" \
    --secrets "azp-token=$(AZDO-PAT)" "organization-url=$(AZP_URL)"

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

ID: d8c68d33-dd18-9d7d-4078-a81ae750eb34
Version Independent ID: 393f6e78-939e-328f-681a-7306532e26fc
Content: Tutorial: Run GitHub Actions runners and Azure Pipelines agents with Azure Container Apps jobs
Content Source: articles/container-apps/tutorial-ci-cd-runners-jobs.md
Service: container-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@dav1dli Hi, does it work for you with poolID? I'm following the guide, and It doesn't work for me as well, but also doesn't work with the suggestion of using poolID instead.

Don't forget you need a placeholder job.  Later, I figured out the issue was in the organisation URL. It worked for running container job manually, but didn't for scaler. 🤦♂
The same as mentioned here: https://github.com/microsoft/azure-container-apps/issues/31#issuecomment-973665499

Also works for me with poolName

Thanks for your feedback and your contribution to Azure docs.
Feedback for this repository is moving away from GitHub to a system specific to the Microsoft Learn platform. Issues for this repository will soon be disabled, and additional comments from GitHub will no longer be possible. However, we are now tracking and triaging this issue in the new feedback system.
To learn more about our feedback systems, please see Provide feedback for Microsoft Learn content.
#please-close


插件处理管理支持是否必填、默认值配置

Feature Request

现在只支持字段类型配置
A clear and concise description of what the problem is. Ex. I have an issue when [...]
增加是否必填、默认值配置、可考虑在最新预留的扩展字段ext_obj里面添加
A clear and concise description of what you want to happen. Add any considered drawbacks.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context

1


feat: add default_ext

Addresses #252

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.davidaghassi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Can we add a simple test for this?

@Aghassi sorry for the delay on this one, and this will need a rebase now.


Version 5 Artifactory Configuration Documentation Missing

Describe the bug
Trying to update to v5 plugin for kotlin syntax build.gradle.kts.
Here is where the old docs are, and there isn't any info on v5 configuration. Here is an example for v4 kts. None exist for v5
Old ResolverConfig can't be found with v5 plugin. Ex:
import org.jfrog.gradle.plugin.artifactory.dsl.ResolverConfig

allprojects {
    artifactory {
        setContextUrl("https://artifactory.something.zz/artifactory")
        resolve(
            delegateClosureOf<ResolverConfig> {
                repository {
                    setProperty("repoKey", "maven")
                    setProperty("username", System.getenv("UN"))
                    setProperty("password", System.getenv("PW"))
                    setProperty("maven", true)
                }
            },
        )
    }
}

Current behavior
Docs exist for v4, but not v5
Reproduction steps
Look around for documentation for kts format... not really any out there.
Expected behavior
Docs should be released with breaking changes please
Artifactory Gradle plugin version
v5
Operating system type and version
mac
JFrog Artifactory version
No response
Gradle version
No response

Hey @thejeff77,
Thanks for using the Gradle Artifactory plugin. In Major 5, we made some changes. We removed the resolver config. To resolve dependencies from Artifactory, follow the steps in the Gradle documentation.
For more details, check out the full v5 documentation, which includes information about the breaking changes in the readme file of this project.


Add entries for N = 64K to the security tables for LWE

http://homomorphicencryption.org/wp-content/uploads/2018/11/HomomorphicEncryptionStandardv1.1.pdf does not include entries for $N = 2^{16}$ and $N=2^{17}$. We need to run estimation using https://github.com/malb/lattice-estimator and update the tables in OpenFHE.

https://github.com/malb/lattice-estimator  .This is the evaluation tool we used to assess the security strength. When selecting the ring dimension of 65536 and q_bit_length of 2253 as parameters, the security strength was evaluated to be between 60 and 80, which does not meet the requirement of HEStd_128_classic.
 See https://github.com/malb/lattice-estimator/issues/75 for more details. So we will update only the tables for $N=2^16$ for now.


Outstanding Coroutines should not be added while caller is raising events.

here
This is because caller can raise events from within a coroutine. However, it's highly unlikely for the caller to call Tick from within a coroutine. If you agree with it. I can create a unit test for it.

However, it does means that if the caller never ever calls tick function, their coroutines will not be added.

Just created the unit test. Actually this doesn't fix the issue. I will close this issue and open a new one.


Command "az network application-gateway http-listener create" does not work.

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

I have an application gateway and I want to create a http-listener on port 8099.
Command: az network application-gateway http-listener create does not work.
To Reproduce

Run below command from Azure Cloud Shell Bash.
az network application-gateway http-listener create -g infra-validation --gateway-name overlap-test-appgw --name appGatewayHttpListener8099 --frontend-port 8099 --subscription xxx-DEV-01
Expected behavior

Http-listener named appGatewayHttpListener8099 on port 8099 should be created.
Environment summary

Error logs:
BadRequestError: (InvalidResourceReference) Resource /subscriptions/ef9xxx1c9/resourceGroups/infra-validation/providers/Microsoft.Network/applicationGateways/overlap-test-appgw/frontendPorts/8099 referenced by resource /subscriptions/ef9xxxx1c9/resourceGroups/infra-validation/providers/Microsoft.Network/applicationGateways/overlap-test-appgw/httpListeners/appGatewayHttpListener8099 was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.
I use Azure Cloud Shell Bash to run this command. I'm able to create this http-listener on Azure Portal. If I run this command after creating it on Azure portal , I got this Item 'appGatewayHttpListener8099' already exists. Replacing with new values.
Additional context

network

network

I figured it out, to create http-listener on port 8099, I need to create front-end port 8099 first, with this command az network application-gateway frontend-port create . I couldn't find out the docs that mentions this action.

I figured it out, to create http-listener on port 8099, I need to create front-end port 8099 first, with this command az network application-gateway frontend-port create . I couldn't find out the docs that mentions this action.