[bug]: 'fromisoformat: argument must be str'

Is there an existing issue for this problem?

[x] I have searched the existing issues

Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
RTX 3060Ti
GPU VRAM
8GB
Version number
v4.2.0a3
Browser
Chrome 124.0.6367.63
Python dependencies
{
"accelerate": "0.29.2",
"compel": "2.0.2",
"cuda": "12.1",
"diffusers": "0.27.2",
"numpy": "1.26.4",
"opencv": "<IP_ADDRESS>",
"onnx": "1.15.0",
"pillow": "10.3.0",
"python": "3.11.7",
"torch": "2.2.2+cu121",
"torchvision": "0.17.2",
"transformers": "4.39.3",
"xformers": null
}
What happened
I tried to generate an image with SDXL. It kinda worked, the first stage was done, and I could see the image generating in that blurred view, but at the moment the refiner model was supposed to do its job, this error showed in console:

Logs XL
100%|██████████████████████████████████████████████████████████████████████████████████| 50/50 [00:29<00:00,  1.72it/s]
[2024-04-29 14:28:05,819]::[InvokeAI]::ERROR --> Problem saving image record and file: fromisoformat: argument must be str
[2024-04-29 14:28:05,877]::[InvokeAI]::ERROR --> Error while invoking session eff91e87-1862-48ec-9aaf-6b009347138a, invocation 1ec9c73e-7a85-410b-94e2-9ced37def828 (l2i):
fromisoformat: argument must be str
[2024-04-29 14:28:05,877]::[InvokeAI]::ERROR --> Traceback (most recent call last):
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\session_processor\session_processor_default.py", line 185, in _process
    outputs = self._invocation.invoke_internal(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\invocations\baseinvocation.py", line 289, in invoke_internal
    return self.invoke(context)
           ^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\invocations\latent.py", line 1087, in invoke
    image_dto = context.images.save(image=image)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\shared\invocation_context.py", line 194, in save
    return self._services.images.create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\images\images_default.py", line 92, in create
    raise e
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\images\images_default.py", line 60, in create
    self.__invoker.services.image_records.save(
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\image_records\image_records_sqlite.py", line 378, in save
    created_at = datetime.fromisoformat(self._cursor.fetchone()[0])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: fromisoformat: argument must be str

[2024-04-29 14:28:05,878]::[InvokeAI]::INFO --> Graph stats: eff91e87-1862-48ec-9aaf-6b009347138a
                          Node   Calls   Seconds  VRAM Used
             sdxl_model_loader       1    0.001s     0.000G
            sdxl_compel_prompt       2    6.029s     1.310G
                       collect       2    0.000s     0.008G
                         noise       1    0.009s     0.008G
               denoise_latents       1   46.350s     5.210G
                 core_metadata       1    0.001s     0.009G
                           l2i       1    4.241s     4.055G
TOTAL GRAPH EXECUTION TIME:  56.630s
TOTAL GRAPH WALL TIME:  56.634s
RAM used by InvokeAI process: 8.52G (+7.843G)
RAM used to load models: 7.98G
VRAM in use: 0.009G
RAM cache statistics:
   Model cache hits: 11
   Model cache misses: 7
   Models cached: 7
   Models cleared from cache: 0
   Cache high water mark: 6.46/7.50G

Then I tried generating a v1.5 image. Again, this worked. The image was generated in the background (in that blurry view), but when it was supposed to be finished, this error was shown:

Logs v1.5
100%|██████████████████████████████████████████████████████████████████████████████████| 50/50 [00:05<00:00,  9.62it/s]
[2024-04-29 14:36:13,991]::[InvokeAI]::ERROR --> Problem saving image record and file: fromisoformat: argument must be str
[2024-04-29 14:36:13,992]::[InvokeAI]::ERROR --> Error while invoking session dc63f541-151a-459a-b62c-aa8142fcd8db, invocation c172485e-229b-4982-acff-23e720249b00 (l2i):
fromisoformat: argument must be str
[2024-04-29 14:36:13,992]::[InvokeAI]::ERROR --> Traceback (most recent call last):
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\session_processor\session_processor_default.py", line 185, in _process
    outputs = self._invocation.invoke_internal(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\invocations\baseinvocation.py", line 289, in invoke_internal
    return self.invoke(context)
           ^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\invocations\latent.py", line 1087, in invoke
    image_dto = context.images.save(image=image)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\shared\invocation_context.py", line 194, in save
    return self._services.images.create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\images\images_default.py", line 92, in create
    raise e
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\images\images_default.py", line 60, in create
    self.__invoker.services.image_records.save(
  File "E:\InvokeAI\App\.venv\Lib\site-packages\invokeai\app\services\image_records\image_records_sqlite.py", line 378, in save
    created_at = datetime.fromisoformat(self._cursor.fetchone()[0])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: fromisoformat: argument must be str

[2024-04-29 14:36:13,993]::[InvokeAI]::INFO --> Graph stats: dc63f541-151a-459a-b62c-aa8142fcd8db
                          Node   Calls   Seconds  VRAM Used
             main_model_loader       1    0.000s     0.009G
                     clip_skip       1    0.000s     0.009G
                        compel       2    0.000s     0.009G
                       collect       2    0.000s     0.009G
                         noise       1    0.004s     0.009G
               denoise_latents       1    5.843s     1.788G
                 core_metadata       1    0.001s     0.009G
                           l2i       1    0.353s     1.241G
TOTAL GRAPH EXECUTION TIME:   6.202s
TOTAL GRAPH WALL TIME:   6.206s
RAM used by InvokeAI process: 2.36G (+0.006G)
RAM used to load models: 1.76G
VRAM in use: 0.009G
RAM cache statistics:
   Model cache hits: 3
   Model cache misses: 0
   Models cached: 9
   Models cleared from cache: 0
   Cache high water mark: 6.92/7.50G

What you expected to happen
I expected an image to be generated
How to reproduce the problem
No response
Additional context
I recently had a few update problems, I maybe installed a wrong dependency, but I'm not sure.
I'd be very thankful if someone could tell me what to do, thank you
Discord username
No response

I recently had a few update problems

Can you please elaborate on what problems you had?
How did you update (specific steps and actions please)?
Does the error persist after restarting the application?

The issue persists after a restart, yes.
I then had the not found issues described in v3.6.3 or so, and I did not want to reinstall the application, because I didn't want to lose all my photos. I used the developer terminal to reinstall invoke via pip (with the correct version). Then I did another update to the recent version, right after the first one. I manually had to merge the old database with the newly generated one, because the updater had issues with that.
I believe it's best if I just reinstall and copy the database, output, models and config folder. Thank you

Ok, the problem is almost certainly bc you edited the db.
We have a robust, well-tested db migration system in place. In fact, we've had zero bug reports related to db migrations or integrity except when users edit the db themselves. You can safely run the latest installer over the older install and the app will migrate data if needed.
However, now that you have made manual changes to the db, I'm not as confident that the migration system will work as it should.
You mention the "updating having issues with the database". The updater doesn't touch the database. The application itself runs db migrations on first launch. Maybe there was some other problem with the updater.
Moving forward, hopefully you have a backup of the db and the invoke-managed directories from before you edited things. Copy that to a new install location. Download and run the latest installer from the releases, selecting this new install location with the copies. That should get things up and running.

Ok, glad you have a backup to work from. If you upload your db backup (before the update), I can examine it to try and understand the issue.

I really don't want to waste your time. I'm glad to still have my images, not in the UI, but at least as files, that's probably enough. And I have already like kinda set up my new environment.
Again I want to thank you, I had very bad experiences in other repos with people, thanks for hearing me out

No worries, happy to help 👍


Local deployment and use in Penpot (early)

Context: I want to be able to test my plugin when having basic knowledge of HTML, CSS and javascript.
Problem: "Load your local plugin" in the readme suggests "In Penpot (early) … Enter the manifest URL: In the Plugin Manager, provide the URL for your local plugin's manifest file. For a local setup, this URL will be: http://localhost:4400/manifest.json." (source)
This might is actually not possible (at least I failed trying this): Your Penpot instance runs in another network than my localhost, so following the instructions probably fails.
Current solution (probably): I would probably need either to depoy my plugin first to a place which can be reached from the web OR run a local instance of penpot on my computer which can access localhost (Probably there are other solutions as well, needing various degrees of skills and acceptance of security risks).
Ideal solutions:
a) Run an easy-to-configure docker instance of penpot locally that I just need to tell the folder where my plugin is located, so I can immediately check it when I do code changes. This might still need some basic docker skills but could probably be documented.
b) Be able to drop a zip with the plugin into the plugin manager to install and try it.
…ideally both would work: b) for prople who do not want to touch docker at all, a) for people with very basic docker skills. Both would be easier than a "proper" deployment.

Hello, @jdittrich  !!
We appreciate your ideas and we'll take them into consideration, but loading your local plugin in early should be possible. As we can't reproduce this issue, can you check again and tell us if there's any error showing up?
Try the following steps:
git clone https://github.com/penpot/penpot-plugin-starter-template.git

cd penpot-plugin-starter-template

npm install

npm run dev

Please confirm that http://localhost:4400/ and http://localhost:4400/manifest.json are both reachable in your browser.
If they are, try to load http://localhost:4400/manifest.json as intended in any file in https://early.penpot.dev/ through the plugin manager.
Does it work? Are there any error showing up in the browser console (f12)?
Thank you!!


MM-25768 Add typings to Cypress custom commands for quick reference via IDE intellisense

Summary
This PR documents Cypress custom commands by declaring types under Cypress namespace. This will help contributors for quick reference via IDE intellisense and to easily find samples, params, etc of each custom command.
Changes include:

adding mattermost-redux for typings of models
moving of command's comments from the function to typings under Cypress namespace.

PR will be submitted in partial per group of models/endpoints.
Ticket Link
Jira ticket - https://mattermost.atlassian.net/browse/MM-25768
Screenshots

@devinbinnie Yeah, it's fine. It's due to the introduction of mattermost-redux.

@devinbinnie Yeah, it's fine. It's due to the introduction of mattermost-redux.

Wow, that's a lot just for mattermost-redux, but what must be, must be.


Fix ineffective error code checks.

I believe that the error code checking in vmaCreateImage is wrong, possibly causing null pointer dereferencing issues, if allocation fails. The checks in this method test the result value against >= 0, which should always evaluate to true, as VK_SUCCESS is defined as 0 and all errors are integers greater than that. This function is the only function that tests results this way.
This PR replaces the checks by explicitly testing against VK_SUCCESS, which I believe is the intended behavior.
For context, I've encountered this issue, as clang-tidy complained about a possible null pointer deref here:
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/blob/05973d8aeb1a4d12f59aadfb86d20decadba82d1/include/vk_mem_alloc.h#L16161-L16188
... which from my understanding can happen if the earlier call to allocator->AllocateMemory fails. In this case, pAllocation will be freed and explicitly set to 0 (for example here). Depending on the exact configuration and provided flags, the code may then attempt to dereference the null pAllocation in one of the three function calls below line 16163.

Thank you for this fix. I merged it.
However, it is not true that res >= 0 will always evaluate to true. Please see the documentation of VkResult https://docs.vulkan.org/spec/latest/chapters/fundamentals.html#fundamentals-returncodes Error codes have negative values, VK_SUCCESS is zero, and positive values are reserved for other special-purpose but non-error results like VK_INCOMPLETE.

Thanks! Yes, you're right - I guess I've somehow assumed they are unsigned. But I still think that discarding everything that's not VK_SUCCESS is the intended behavior and it should fix the clang-tidy complaints. 🙂


Failed to start server: rename file encounter error: Resource busy

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
2.7.0
Minimal reproduce step
Kubernetes manifest:
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: kvrocks
  namespace: ns-svc
spec:
  selector:
    matchLabels:
      run: kvrocks
  serviceName: "kvrocks"
  replicas: 1
  template:
    metadata:
      labels:
        run: kvrocks
    spec:
      containers:
        - name: kvrocks
          image: apache/kvrocks:2.7.0
          volumeMounts:
            - name: kvrocks
              mountPath: /data
            - name: kvrocks-config
              mountPath: /var/lib/kvrocks/kvrocks.conf
              subPath: kvrocks.conf
          ports:
            - containerPort: 6379
          resources:
            requests:
              cpu: 1
              memory: 2Gi
            limits:
              memory: 2Gi
      volumes:
        - name: kvrocks
          persistentVolumeClaim:
            claimName: kvrocks
        - name: kvrocks-config
          secret:
            secretName: kvrocks-config

What did you expect to see?
Something like this (here running 2.5.0):
WARNING: 'repl-namespace-enabled' at line 62 is not a valid configuration key.
WARNING: 'json-max-nesting-depth' at line 318 is not a valid configuration key.
WARNING: 'json-storage-format' at line 325 is not a valid configuration key.
WARNING: 'rocksdb.block_cache_size' at line 565 is not a valid configuration key.
I20240305 11:56:15.776150     1 main.cc:328] kvrocks version 2.5.0
I20240305 11:56:15.910107     1 storage.cc:322] [storage] Success to load the data from disk: 45 ms
I20240305 11:56:15.911934     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.911958     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912247     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912269     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912484     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912501     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912691     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912716     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912907     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.912925     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.913108     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.913156     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.913347     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.913365     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.913568     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.913585     1 worker.cc:72] [worker] Listening on: <IP_ADDRESS>:6379
I20240305 11:56:15.913951     1 worker.cc:519] [worker] Thread #139894731045680 started
I20240305 11:56:15.914000     1 worker.cc:519] [worker] Thread #139894730869552 started
I20240305 11:56:15.914044     1 worker.cc:519] [worker] Thread #139894730693424 started
I20240305 11:56:15.914089     1 worker.cc:519] [worker] Thread #139894730517296 started
I20240305 11:56:15.914139     1 worker.cc:519] [worker] Thread #139894730341168 started
I20240305 11:56:15.914178     1 worker.cc:519] [worker] Thread #139894730165040 started
I20240305 11:56:15.914217     1 worker.cc:519] [worker] Thread #139894729988912 started

What did you see instead?

We are trying to update our KvRocks instances from 2.5.0 to 2.7.0. Unfortunately, we encounter the same error over and over again, even on fresh installs.
I found issues talking about this error where it seems to be about namespaces (we didn't change that in the conf) and/or wrong lock on the conf file and a restart could be fix the problem, it doesn't.
It runs perfectly on 2.5.0. I looked at the Dockerfile and I don't see any major changes that could lead to this error. I also tried to override the entrypoint/command of the container, put the conf file elsewhere and call it with "-c", no chances.
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Hi @kinoute
Thanks for your feedback. The root cause of this issue is the single mount file kvrocks.conf is unable to write, you can have a try at: config rewrite command in 2.5.0 and it should return the same error.
And this start error was introduced in #1776 which would try to rewrite the configuration after loading the namespaces. Maybe we should change this error to a warning when starting the server. But for now, you can workaround this issue by mounting the whole dir where kvrocks.conf exists as /var/lib/kvrocks without the subPath kvrocks.conf

Thanks for the quick answer @git-hulk ! I was able to fix it with your workaround. I needed to create an initContainer for this as mounting a secret as volume is now read-only since Kubernetes 1.9.
For those who are interested, here is a working manifest:
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: kvrocks
  namespace: sahar-svc
spec:
  selector:
    matchLabels:
      run: kvrocks
  serviceName: "kvrocks"
  replicas: 1
  template:
    metadata:
      labels:
        app: kvrocks
        run: kvrocks
    spec:
      initContainers:
        - name: copy-kvrocks-conf
          image: busybox
          command: ["sh", "-c", "cp /tmp/kvrocks.conf /var/lib/kvrocks/"]
          volumeMounts:
            - name: kvrocks-config
              mountPath: /tmp/kvrocks.conf
              subPath: kvrocks.conf
            - name: kvrocks-folder
              mountPath: /var/lib/kvrocks
      containers:
        - name: kvrocks
          image: apache/kvrocks:2.7.0
          volumeMounts:
            - name: kvrocks-folder
              mountPath: /var/lib/kvrocks
            - name: kvrocks
              mountPath: /data
          ports:
            - containerPort: 6379
          resources:
            requests:
              cpu: 1
              memory: 2Gi
            limits:
              memory: 2Gi
      volumes:
        - name: kvrocks-folder
          emptyDir: {}
        - name: kvrocks
          persistentVolumeClaim:
            claimName: kvrocks
        - name: kvrocks-config
          secret:
            secretName: kvrocks-config

@kinoute Thanks for your sharing. I would refer them here if other folks also suffer from this issue.


logger: fix lifetime issue of AccessLogConfig in tls callback.

Signed-off-by: Takeshi Yoneda<EMAIL_ADDRESS>Commit Message: This commit fixes the lifetime issue of Http/TcpAccessLogConfig owned by HttpGrpcAccessLog and TcpGrpcAccessLog loggers. These logger objects may have died before the thread local callback for initializing thread local access loggers is actually executed in each thread. In the previous implementation, the callback only captures the reference to the AccessLogConfig object owned by HttpGrpcAccessLog/TcpGrpcAccessLog which might not outlive, and therefore potentially this causes the invalid memory access and crashes the Envoy in any thread. This happens especially when an xDS resource is NACKed.
Related Issues: https://github.com/envoyproxy/envoy/issues/18066
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

/assign-from @envoyproxy/first-pass-reviewers

Is it possible to have a test around this?

oh yeah will do!

https://github.com/mathetake/envoy/commit/56518192734e16b276c512e01c8e0ba3fc1039c9 added

/assign-from @envoyproxy/maintainers
for non-tetrands review

/assign-from @envoyproxy/envoy-maintainers


bugfix - check item array

@yann300 The only reason you could have seen a warning: new Buffer is deprecated in newer node. The problem with Buffer.from is that it was only introduced in node 5.1.
Rolled that change back. We should address it separately.

(node:3474) DeprecationWarning: Using Buffer without new will soon stop working. Use new Buffer(), or preferably Buffer.from(), Buffer.allocUnsafe() or Buffer.alloc() instead


how to make transparent� windows?

how to make transparent windows?

For pure transparency, you can set windows > transparent in tauri.conf.json to true
If you want some cool features like the blur or vibrancy effect, try using this -> window-vibrancy

For pure transparency, you can set windows > transparent in tauri.conf.json to true
If you want some cool features like the blur or vibrancy effect, try using this -> window-vibrancy

i not need .json file ，i want use api .

Rust: https://docs.rs/tauri/latest/tauri/window/struct.WindowBuilder.html#method.transparent
JS: https://tauri.app/v1/api/js/window/#transparent


Empty Predictions after finetuning

I managed to adapt my dataset in a tf csv object format and perform the finetuning. Now I wanted to see some qualitative results running inference and plotting bboxes. I'm using the same code as the webcam inference example but im getting:
tf.Tensor([], shape=(0, 4), dtype=float32)
tf.Tensor([], shape=(0,), dtype=int64)
tf.Tensor([], shape=(0,), dtype=float32)

as output of the get_model_inference function. Any idea ?

have not worked on webcam but for images below code is working
from detr_tf.inference import get_model_inference, numpy_bbox_to_image
import matplotlib.pyplot as plt
import numpy as np
for valid_images, target_bbox, target_class in dataset:
m_outputs = detr(valid_images, training=False)
predicted_bbox, predicted_labels, predicted_scores = get_model_inference(m_outputs, config.background_class, bbox_format="xy_center")

result = numpy_bbox_to_image(
    np.array(valid_images[0]),
    np.array(predicted_bbox),
    np.array(predicted_labels),
    scores=np.array(predicted_scores),
    class_name=CLASS_NAMES,
    config=config
)
plt.imshow(result)
plt.show()
break


Bump to v2.4.5

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Waiting for https://github.com/conda-forge/libusb1-feedstock/pull/3

Waiting for https://github.com/conda-forge/iosbackup-feedstock/pull/2


Study inclusion request

Hello,
I'd like to request the addition of the following study on Parkinson's Disease:
Paper link: https://doi.org/10.1093/brain/awaa201
BioProject: PRJNA433459

Thanks for your request, I added it to the list of datasets to process.
We are making a major update of the package and we are not able to add new datasets in the short time, but we'll do when possible

Thanks for your request, I added it to the list of datasets to process.
We are making a major update of the package and we are not able to add new datasets in the short time, but we'll do when possible


Migrate to GitLab?

Just a thought, if you migrate to GitLab, you can take advantage of their shared runners to have access to GNU/Linux (containers), Windows/MSVC19 and MacOS
It's what I've done for OpenMW and it's worked well for us. No need to work without 3party CIs like Travis or AppVeyor and gets us coverage across all sorts of platforms and toolchains.
--
Greetings by the way, it's awesome that you've taken worldengine and CPPed it. :) Great work!
At this rate, I might bring back the idea of integrating worldengine inside of OpenMW-CS to provide some heightmap tools along with gdal. Would work better than having to create a python plugin system...

Thanks for the feedback!  I've never really considered GitLab and various integrations, since GitHub has mostly worked for me, but I'll take a look at it and give it some consideration.
AppVeyor wasn't too bad for Windows and Linux.  I struggled a little bit with MacOS, but most of my issues came down to MacOS version errors during the link phase, with different conan libraries built for different versions.  Trying to recompile everything from source was going to blow my free time and/or space allotment, so another source could help there.
Thanks again!

I can probably help a bit there... work forces me to use a mac, so there we go. 🤷🏼
I totally understand time management, between work, kids and FOSS projects...


add customer incentives refer a friend

@michael-donat can you cut a release from this, or am i able to do it myself?


DEV2-3197 breakdown editor context to dynamic context parts [WIP]

TODO: bump chat version once its released


External dependencies have to be recloned whenever you delete the build folder

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

Minimal steps to reproduce
Follow guide steps here: https://github.com/Azure-Samples/iot-middleware-freertos-samples/tree/main/demos/projects/NXP/mimxrt1060#build-the-image
During the configure step, multiple repositories are cloned into the temporary build directory. There are two disadvantages here:

The repositories need to be recloned every time the build directory is deleted.
Can confuse debugger if files are temporary.

Expected/desired behavior
External repositories to not be stored in temporary build directories, and to be easy to update when needed.

https://github.com/azure-rtos/getting-started/issues/74

Our cmake make sure if you have pre-seeded external dependencies, we will not download it to temporary build folder. To make cmake aware about these dependencies, user should set cmake variables with their path e.g.: FREERTOS_PATH  for freertos.
Check this cmake for the logic.
https://github.com/Azure-Samples/iot-middleware-freertos-samples/blob/130bc92100f2fa35f4aedff7819f8fa195e6dea7/cmake/common/utilities.cmake#L28


Update links for dead regression datasets

Most of the datasets are available via openml.org
cart/friedman-artificial were not, but these are synthetic anyway
The regression diabetes is also not there, but that's a (43x2) dataset anyway
Some of the datasets increased in size as a result, meaning we probably were not pulling in the full size to begin with

Looks good, agree to remove the artificial datasets and diabetes


Coalesce rows

For #88
/wip

@tims done, I think we're good to merge it in

/approve

sorry, sausage fingers :(

/lgtm

boo... @pradithya can you lgtm this?

/lgtm


No == and != operators for Point struct

I think it may be helpful to have the == and != for the Point struct, for comparisons.  Just adding in the following to the Point.cs may help with that, instead of having to compare the x and the y separately each time:
public static bool operator ==(Point lhs, Point rhs) {
    return ((lhs.X == rhs.X) && (lhs.Y == rhs.Y));
}
public static bool operator !=(Point lhs, Point rhs) {
    return ((lhs.X != rhs.X) || (lhs.Y != rhs.Y));
}
public override bool Equals(object obj) {
    return Equals(obj);
}
public override int GetHashCode() {
    return GetHashCode();
}

Absolutely, didn't put enough effort in those structs. Will rework it when i get home!


Set height and width for icons that are not symbols

Set height and width for icons that are not symbols
Symbols do not require height or width but icons without height and width will render at their original size instead of rendering at 16x16.
Fixes https://github.com/jenkinsci/badge-plugin/issues/148
Testing done
Confirmed that before this change, the following icon renders incorrectly as a 48x48 image:
addBadge(icon: '/images/48x48/light-grey.gif', text: 'large icon')

Confirmed that before this change, the following icon renders correctly:
addBadge(icon: 'symbol-star plugin-ionicons-api', text: 'a starred build')

Confirmed that after this change, the following icon renders correctly as a 16x16 image:
addBadge(icon: '/images/48x48/light-grey.gif', text: 'large icon')

Confirmed that after this change, the following icon renders correctly:
addBadge(icon: 'symbol-star plugin-ionicons-api', text: 'a starred build')

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Maybe your proposed changes are not yet submitted?

sorry, I mean my comments

I've replaced indexOf with startsWith so that the code is clearer.  Interactive testing of the failure case shows that the change is behaving as I had expected.
I'd like a review from @strangelookingnerd if time allows.  However, I'd also like to resolve the bug before the end of the week if possible.  My interactive testing of #130 did not detect that regression and I'd like to fix it promptly so that other users are not disturbed by it.

I've replaced indexOf with startsWith so that the code is clearer. Interactive testing of the failure case shows that the change is behaving as I had expected.
I'd like a review from @strangelookingnerd if time allows. However, I'd also like to resolve the bug before the end of the week if possible. My interactive testing of #130 did not detect that regression and I'd like to fix it promptly so that other users are not disturbed by it.

I‘ll have a look at it later today, tomorrow latest.


BufferValue

hi All,
I think this is a feature request but maybe its already there we want to show the BufferValue in our Scrubber but we can not find the event for the buffered amount
Thanks in advance
Regards Sander

On progress event you can get playableDuration value

This issue should be closed. The @Serzhs 's answer is correct.


How to install the Chinese version?

How to install the Chinese version? I don't know how to import the Resources folder under the Translation project, and there is no guidance inside. And why not provide a setting function to facilitate language settings?

Hi!
Only the old version is available in Chinese:
calcpad-setup-zh-x64.exe
calcpad-setup-zh-x64.zip
The new version is not translated yet. @idealkindom was about to do it, but I do not know what is the current progress. Maybe he is too busy. I think it would be great if more people  with Chinese join and help him for this job. I cannot do it, Chinese is a very difficult language and I cannot get anything.

Hi!
Only the old version is available in Chinese:
calcpad-setup-zh-x64.exe calcpad-setup-zh-x64.zip
The new version is not translated yet. @idealkindom was about to do it, but I do not know what is the current progress. Maybe he is too busy. I think it would be great if more people with Chinese join and help him for this job. I cannot do it, Chinese is a very difficult language and I cannot get anything.

Yes, I have been working on it. Hopefully, I will pull the request before Christmas.
Recently, I have been busy on working and baby caring.

@idealkindom Great! Thank you! Whenever you manage.
And also congrats for your baby. I wish health and happiness to all of you.

@idealkindom Great! Thank you! Whenever you manage. And also congrats for your baby. I wish health and happiness to all of you.

Thks a lot and everything goes fine. The Trans work is more than 80% done.

Hi! We are very close to having a Chinese VM 7.1.5 version, thanks to @idealkindom.
Some strings still need translation in resource files. I exported all of them to an excel file:
https://github.com/Proektsoftbg/Calcpad/blob/main/Translation/String tables VM 7.1.5.xlsx
If it is easier to translate there, you can do it and I can import them back.
About help files and Html templates, I added all CSS formatting and other things needed, so I think they are ready.

Hi! We are very close to having a Chinese VM 7.1.5 version, thanks to @idealkindom. Some strings still need translation in resource files. I exported all of them to an excel file: https://github.com/Proektsoftbg/Calcpad/blob/main/Translation/String tables VM 7.1.5.xlsx
If it is easier to translate there, you can do it and I can import them back. About help files and Html templates, I added all CSS formatting and other things needed, so I think they are ready.

I will finish it as soon as possilbe.

Hi! Take your time. There is nothing to hurry for. :) And thank you so much again for your help. You made a really great contribution to this project.

Hi! Take your time. There is nothing to hurry for. :) And thank you so much again for your help. You made a really great contribution to this project.

Hey,you exaggerated my effect.I am just a bug explorer and adviser for ＃input command, but also I benefited from this project a lot.


Add support for Dequantize op via mkldnn for IA backend (codegen + DEX)

Base branch: #1484.
Dequantize from fp32 --> i8/u8

Have addressed all the feedback in #1565. Closing this one since it is based of quantization op branch, which needs some licensing stuff to be resolved. Sorry for the confusion.


Deleting orphaned objects

Is possible to have orphaned objects identified & deleted?

That seems more like a realm-thing. What do you mean by orphaned objects? Will close this issue but feel free to open it if it is something that should be added to ApiModel! :)

@erkie sorry, should have been clearer.
So a common setup for us is to have a table view display a load of results from the local data store. Then as the user scrolls, network requests are fetched with the pages of results.
The server returns pages of results, but the local store would not update to 'delete' the results which are not returned by the server.

one solution is to not update the table view with results until their returned. but sometimes we have over a 1000 results & it's a nicer user experience for users to be able to scroll quickly through already cached results.

A solution we have used is to pass the currently visible results or entire page size as params of object ids. Then the backend will identify if any no longer exist on the server, returning any deleted objects as 'deleted ids' meta...


docs: add section showing contributors

Description
This adds a contributors section to the readme.

Do you introduce a breaking change?

[ ] Yes
[x] No
[ ] I am unsure (no worries, we'll find out)

Thanks again.

:tada: This PR is included in version 13.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(package<EMAIL_ADDRESS>

Codecov Report

Merging #312 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #312   +/-   ##
=======================================
  Coverage   83.33%   83.33%
=======================================
  Files           1        1
  Lines           6        6
=======================================
  Hits            5        5
  Misses          1        1

Continue to review full report at Codecov.

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

Coverage remained the same at 83.333% when pulling e2db913a84b215b5ca0bfcb2a31bccc3232e104f on template-sync-1 into 7eed8e446be178c7ccd2a39bb08eecc1d6040a5f on master.

:tada: This PR is included in version 1.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add: pika.style

added: pika.style, instantly turns boring screenshots into beautiful images and device mockups
under: Graphics and SVG Illustrations > Device Mocks
I think users would find Pika useful :)

@sw-yx Thanks for merging, Pika is actually absolutely free to use and doesn't even require signup to use the free features, paid plan is optional :)


Different utcOffset() result in firefox and chrome

Describe the bug
moment(new Date(1899, 11, 30, 0, 0, 0)).utcOffset()'s result is different in chrome and firefox
To Reproduce
Steps to reproduce the behavior:

Open browser console and run above js.

Expected behavior
The result should be correct and same in all environment
Desktop (please complete the following information):

OS: windows 10
Browser: firefox, chrome
Version: latest realse

Moment-specific environment
for js:
d = new Date(1899, 11, 30, 0, 0, 0);
[moment(d).utcOffset(),d.toString(),d.toLocaleString(),d.getTimezoneOffset(),Intl.DateTimeFormat().resolvedOptions()];
[new Date().toString(),new Date().toLocaleString(),new Date().toISOString()];

result in chrome:
[
  485,
  "Sat Dec 30 1899 00:00:00 GMT+0805 (中国标准时间)",
  "1899/12/30 上午12:00:00",
  -485,
  {
    "locale": "zh-CN",
    "calendar": "gregory",
    "numberingSystem": "latn",
    "timeZone": "Asia/Shanghai",
    "year": "numeric",
    "month": "numeric",
    "day": "numeric"
  }
]
["Wed May 06 2020 17:44:46 GMT+0800 (中国标准时间)", "2020/5/6 下午5:44:46", "2020-05-06T09:44:46.709Z"]

result in firefox:
[
  486,
  "Sat Dec 30 1899 00:00:00 GMT+0805 (中国标准时间)",
  "1899/12/30 上午12:00:00",
  -485.71666666666664,
  {
    "locale": "zh-Hans-CN",
    "calendar": "gregory",
    "numberingSystem": "latn",
    "timeZone": "Asia/Shanghai",
    "year": "numeric",
    "month": "numeric",
    "day": "numeric"
  }
]
[ "Wed May 06 2020 17:44:03 GMT+0800 (中国标准时间)", "2020/5/6 下午5:44:03", "2020-05-06T09:44:03.036Z" ]

Additional context
The original issue is here: https://github.com/SheetJS/sheetjs/issues/1918
But I think you are professionals of datetime, and momentjs actually has the same issue, so I post issue here.

Thanks for opening this request.
This is not something that Moment.js will fix. It will have to be changed at the browser level.

hello @marwahaha ,
if it should be changed at the browser level.
Why you add round at here:
https://github.com/moment/moment/blob/dca02edaeceda3fcd52b20b51c130631a058a022/src/lib/units/offset.js#L90-L93
I guess you should use floor, becuase floor has the same behaviour as intergral division.

cc @ichernev

@ashsearle any thoughts?

@marwahaha The round() code was already there, but I changed it to round to nearest minute instead of 15-minute intervals
I don't think the issue is round() vs floor(), I think it's due to one browser's native date returning different information to another: nativeDate.getTimezoneOffset() sometimes returns a float in Firefox, but always returns an integer in Chrome.
// 1st Jan 1800 - 1 minute 15 second offset in London:
new Date(1800, 0, 1).getTimezoneOffset(); // 1.25 in Firefox, 1 in Chrome

To fix properly I think you'd have to rewrite the method to avoid using getTimezoneOffset() and do something else: e.g. using some sort of utcOffsetMS implementation.
Changing to more accurate millisecond offsets may have knock on impact in getSetOffset and/or setOffsetToLocal, so you'd have to choose a nice range of test data.
I think this would be a good set of test locations/offsets for 1st Jan 1800 (using data from timeanddate.com):
America/New_York: -4:56:02
Europe/London: +0:01:15
Europe/Berlin: +0:53:28
Europe/Rome: +0:49:56


ARTEMIS-4819 Improve user list output in CLI

Previously it was not so easy to parse artemis user list output. If one would want to do something in a bash script with every user he had to do something like this:
while read -r user; do something with `echo $user | sed 's/^"\(.*\)".*/\1/'`; done < ./artemis user list --url tcp://localhost:61616 --user admin --password pass

This patch splits user and roles with a space and removes quotes around the user. So now one could just do:
while read -r user roles; do something with $user; done < ./artemis user list --url tcp://localhost:61616 --user admin --password pass

I'm not in favor of this change. If you want output that's formatted clearly and in a way that can be parsed by scripts then I recommend the management API. In this can you could invoke the listUser operation on ActiveMQServerControl, e.g. this command:
curl -s -H "Origin: http://localhost" -u myUser:myPass --header "Content-type: application/json" --request POST --data '{"operation": "listUser", "mbean": "org.apache.activemq.artemis:broker=\"<IP_ADDRESS>\"", "type": "exec", "arguments": [""] }' http://localhost:8161/console/jolokia | jq '.value | fromjson'

Might provide output like this:
[
  {
    "username": "myUser1",
    "roles": [
      "myRole1"
    ]
  },
  {
    "username": "myUser2",
    "roles": [
      "myRole2",
      "myRole3"
    ]
  }
]

While I agree that JSON could be suitable for programming languages which natively support it, I don't really think that it is in a spirit of Bash shell scripting. Parsing JSON would involve much more complicated steps, first parsing the output, then somehow storing parsed data in a temporary variable, and only then doing needed actions on users. It also assumes that jq or any other JSON tool is available, which is not necessary true.
Linux already has all the tool it needs for such trivial task and all of them use spaces as parsing markers, does parsing automatically, effectively directly from SDIN.

I don't really think that it is in a spirit of Bash shell scripting.

I'm not heavy into Bash shell scripting so I may not be the best judge of it's "spirit," but the fact that the jq command exists and appears to be popular indicates that lots of folks are dealing with JSON from the shell.

It also assumes that jq or any other JSON tool is available, which is not necessary true.

That's true, but given the popularity of JSON I think that's a relatively safe assumption.

If you are worried that proposed output is not clear or pretty, another way to go could be to add additional flag to output the list without decorations.

My chief concern is that we don't needlessly complicate something that was designed to be very simple. If you want to treat the output of the CLI as an API (i.e. to be used in scripts and other commands) then you can't simply change it between minor versions because you'll break anybody who is already relying on the existing output format. If you want to eventually replace the existing output you must first deprecate it and provide a new flag or command. Then when a new major version is released we can remove the deprecated item. You can see how a small change like this can grow into something much larger. Of course, that's not to mention the subjective evaluation of what is clear or pretty.
Ultimately I think we should encourage folks to use tools the way they were designed to be used. In short, use the management API if you need an API and use the CLI for simple, human tasks. I recently clarified the documentation to this end.

I just had an issue with ./artemis queue stat where some users complained to me about parsing the output. so I added --json
if json is no good for scripting, we could add some other format output for things like that.
We should do it in a way we are consistent throughout the CLI. doing it now in one way here, and on a different way on queue stat makes it confusing.

I don't really think that it is in a spirit of Bash shell scripting.

I'm not heavy into Bash shell scripting so I may not be the best judge of it's "spirit," but the fact that the jq command exists and appears to be popular indicates that lots of folks are dealing with JSON from the shell.

It also assumes that jq or any other JSON tool is available, which is not necessary true.

That's true, but given the popularity of JSON I think that's a relatively safe assumption.

I just checked and jq is not installed in RPM based and DEB based distributions by default. It's true that you can install it on standard VM (assuming you have root access), but it could be complicated to get these tools in let's say Kubernetes Job scripts which usually run on minimal busybox images, or even in Artemis docker images if it is not run with root permissions under Kubernetes.

If you are worried that proposed output is not clear or pretty, another way to go could be to add additional flag to output the list without decorations.

My chief concern is that we don't needlessly complicate something that was designed to be very simple. If you want to treat the output of the CLI as an API (i.e. to be used in scripts and other commands) then you can't simply change it between minor versions because you'll break anybody who is already relying on the existing output format. If you want to eventually replace the existing output you must first deprecate it and provide a new flag or command. Then when a new major version is released we can remove the deprecated item. You can see how a small change like this can grow into something much larger. Of course, that's not to mention the subjective evaluation of what is clear or pretty.
Ultimately I think we should encourage folks to use tools the way they were designed to be used. In short, use the management API if you need an API and use the CLI for simple, human tasks. I recently clarified the documentation to this end.

I completely support that CLI should not be used as API. My own use cases were just a temporary cleanup scripts which I used once or twice on our testing environment.  The pros of the CLI is exactly that - it should be easy to put a one-liner fast for simple tasks without going into data structures, regular expressions and similar stuff. IMHO, my change makes it even easier to do that.
Though I agree that it could break bash script of others which rely on the current output. I'm not sure what is the best way to avoid that though, and I see this has happened in the past couple of times so it won't be unexpected. I can add changes to Version upgrade documentation if that would help.

I just had an issue with ./artemis queue stat where some users complained to me about parsing the output. so I added --json
if json is no good for scripting, we could add some other format output for things like that.
We should do it in a way we are consistent throughout the CLI. doing it now in one way here, and on a different way on queue stat makes it confusing.

I completely support that CLI should consistent. IMHO, my changes brings ./artemis user list output parsable the same way to what we already have in ./artemis address show.

I just checked and jq is not installed in RPM based and DEB based distributions by default.

FWIW, jq is provided by default in Ubuntu starting in 23.10. It's also available as a package in Alpine Linux so it should be relatively easy to install there as well.
That said, it's not clear to me that the availability of jq on the broker's host is particularly important when most use-cases will involve management from a remote machine. In any event, I don't see how getting jq in such environments will be any more difficult than getting ActiveMQ Artemis itself.

Though I agree that it could break bash script of others which rely on the current output. I'm not sure what is the best way to avoid that though...

The best way to avoid that is to not change the output.
Ultimately this change is about a few characters which makes a small difference in how one-line commands are run (per your example). This change is not significant enough to risk breaking existing users or adding the complexity of multiple output formats.
At this point I feel we're in danger of hitting the law of triviality (a.k.a. bike shedding). It's probably best if we move forward with other work.


Add other currencies' faucet in XRP-L testnet

Summary
Add standard currencies in XRP-L testnet for developers to operate their applications efficiently with active offers on the native DeX.
Motivation
Upgrading trading liquidity on buy/sell order books on the native DeX, this will tremendously increase the ease of testing for developers, students, and institutions.
I am fully aware that users can create their own native token on the testnet and exchange from there on, to enhance the experience for the users, we should create standard currencies to allow the ease of testing applications.
Solution
1. Issue currencies using a Ripple owned wallet, here are a few suggested currencies to be added:

US Dollar
Euro
Bitcoin
Ethereum

2. Establish faucets for the respective currencies in xrpl.org (https://xrpl.org/xrp-testnet-faucet.html)
3. Run servers that actively exchange the standard currencies to XRP (vice versa) using different wallets with different trading price

This is probably not the right repo for this, but is an interesting suggestion.
Tagging @intelliot and @mDuo13 for visibility.

Cool idea, and could interact neatly with another idea I had which is kind of the reverse of this. (I was thinking a Testnet bot that goes out of its way to acquire various tokens issued in the Testnet would be neat.) An "arbitrary token faucet" would be probably easier to set up and run than what I had in mind.

Yes this is definitely needed as well as an issuer address for issued currencies as I am working on an app which does all its transactions on the xrp ledger but realized that there does not seem to be any issuer for buy or sending issued currency on the testnet other than to create your own issuer

Closing, Issue does not relate to rippled.


Task Request; New logo NiftyNet Proposal

Hello,
this my logo design for your project. Its free, created on Utopian platform where users are rewarded for contributions to open-source projects. If you like it, spread the good work about the platform.

Merging this into issue #48 as a duplicate


TestEndpointsDeduping flake (regerssion)

https://prow.istio.io/view/gs/istio-prow/logs/unit-tests_istio_postsubmit/1470570742142734336
Can reproduce locally

Regression from 1.12, marking as release blocker

Root cause is fe69479b63ac4e27c8a55955e2f7943309117320, found by git bisect:
good=6aa1f8a274
bad=55d72c192c

cat <<'EOF' > /tmp/bisect.sh
go test -c -race ./pilot/pkg/serviceregistry -o flaker.test || exit 1
p=`pwd`
cd pilot/pkg/serviceregistry
stress -max-runs 1000 -p 64 $p/flaker.test -test.v -test.run ^TestEndpointsDeduping$
EOF

chmod +x /tmp/bisect.sh
git bisect start
git bisect good $good
git bisect bad $bad
git bisect run /tmp/bisect.sh

Sorry i missed it. It does not occur recently https://testgrid.k8s.io/istio_istio_postsubmit#unit-tests_istio_postsubmit

Likely just because of low load during holidays? I can reproduce easily with https://github.com/istio/istio/wiki/Test-Flakes#reproducing-test-flakes

Good, will investigate tomorrow

serviceregistry_test.go:1003: retry.UntilSuccessOrFail: timeout while waiting after 144 attempts, 0/2 successes (last error: wanted [<IP_ADDRESS>:80 <IP_ADDRESS>:80] got [<IP_ADDRESS>:80 <IP_ADDRESS>:80]. All endpoints: map[outbound|80||service.namespace.svc.cluster.local:[<IP_ADDRESS>:80 <IP_ADDRESS>:80] outbound|90||service.namespace.svc.cluster.local:[]])
really weird, i got <IP_ADDRESS>:80

Figured out the cause, ConfigGenTest runs the registries, but some registry, here it is kube-controller has been run before, so it runs twice.
func (f *ConfigGenTest) Run() {
	go f.Registry.Run(f.stop)

I think Steven has a PR for that
On Thu, Dec 30, 2021, 6:50 PM Zhonghu Xu @.***> wrote:

Figured out the cause, ConfigGenTest runs the registries, but some
registry, here it is kube-controller has been run before, so it runs twice.
func (f *ConfigGenTest) Run() {
go f.Registry.Run(f.stop)
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/36503#issuecomment-1003247216, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXJKGK4S7QRVO6747P3UTUK5ZANCNFSM5J7VU54A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

https://prow.istio.io/view/gs/istio-prow/pr-logs/pull/batch/unit-tests_istio/1526230213174759424 still failing?

1.14: 9611 runs so far, 0 failures (100.00% pass rate). 6.520596888s avg, 17.557555219s max, 3.423240211s min
master: 2883 runs so far, 19 failures (99.35% pass rate). 6.024354286s avg, 10.316067891s max, 3.313710611s min

Bisect blames b51fa21636a72f9bf023b53b14231ebd0dcb1f7b


Automated cherry pick of #1902: fix: role assignments list should include matched policies

Cherry pick of #1902 on release/2.10.0.
#1902: fix: role assignments list should include matched policies

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@faf68a0). Click here to learn what that means.
The diff coverage is 2.77%.

@@               Coverage Diff                @@
##             release/2.10.0   #1903   +/-   ##
================================================
  Coverage                  ?   7.64%
================================================
  Files                     ?     410
  Lines                     ?   62960
  Branches                  ?       0
================================================
  Hits                      ?    4813
  Misses                    ?   57736
  Partials                  ?     411

Flag
Coverage Δ

#aFlag
7.64% <2.77%> (?)

Impacted Files
Coverage Δ

pkg/util/rbacutils/rbac.go
74.3% <0%> (ø)

pkg/cloudcommon/policy/policy.go
1.65% <0%> (ø)

pkg/keystone/models/assignments.go
2.04% <0%> (ø)

pkg/cloudcommon/db/opslog.go
2.66% <16.66%> (ø)

Continue to review full report at Codecov.

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

/lgtm
/approve


Fix BigQueryIT test failure

Recent CI tests have been failing due to the following errors.
acceptance.td.BigQueryIT$LoadIT > testLoad STANDARD_ERROR
    com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
        :
        at acceptance.td.GcpUtil.deleteDataset(GcpUtil.java:219)
        at acceptance.td.GcpUtil.cleanupBq(GcpUtil.java:93)
        at acceptance.td.BigQueryIT.cleanupBq(BigQueryIT.java:179)
        :
    com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
    {
      "code" : 400,
      "errors" : [ {
        "domain" : "global",
        "message" : "Dataset td-digdag-test:test_2e2f135b_4d28_40ff_945b_a4e88dbb06f9_load_test is still in use",
        "reason" : "resourceInUse"
      } ],
      "message" : "Dataset td-digdag-test:test_2e2f135b_4d28_40ff_945b_a4e88dbb06f9_load_test is still in use"
    }
        :
        at acceptance.td.GcpUtil.deleteDataset(GcpUtil.java:228)
        at acceptance.td.GcpUtil.cleanupBq(GcpUtil.java:93)
        at acceptance.td.BigQueryIT.cleanupBq(BigQueryIT.java:179)
        :

These errors occur at the cleanup phase of the unit tests. I'm not sure the cause of the first error 404. But as for 400, it's seems like the dataset for testing was still used at the cleanup phase. So, retries of deleting datasets would fix this issue.

Nice!!! 👍


Improve Documentation

Tell us how we can improve the docs and implement.

Hi @ayushsarode I am participating for the first time in Hacktoberfest and I want to contribute to this issue. what have to do and how can I help here to improve the documentation?

Hi @ayushsarode I am participating for the first time in Hacktoberfest and I want to contribute to this issue. what have to do and how can I help here to improve the documentation?

We need your assistance in adding a table of contents and properly structuring it, as well as coming up with ideas for how to improve README.md.


Add to Package Control

This is super useful, and should be included by default in the Goto anything if you ask me. It would be nice if this package would be included in the Package Control repo.
http://wbond.net/sublime_packages/package_control

https://github.com/wbond/package_control_channel/pull/54


removeEntireMention = true broken

I tried with sample:

Write:   "@Steven Zweier and @John Smith"
Remove mention: @Steven Zweier
Check mention list range.
@John Smith mention range is not updated after have delete the first mention

@paulosaure where did you set your breakpoint to check the mentions list? I just tried to replicate the issue by placing the breakpoint at
 _ = delegate?.textView?(textView, shouldChangeTextIn: range, replacementText: text)
When I check the mentions list by hitting space once after deleting the mention I see that the po shows the proper range.

if removeEntireMention == true
then "select All" -> "Cut" does not cut the entire text, but just some random piece of text


Update README.md

Update wiki and mailing list info

@camaraproject/location-insights_codeowners @camaraproject/location-insights_maintainers:
The mailing list https://lists.camaraproject.org/g/sp-location-insights is now available.
Please
a) subscribe to the mailing list
b) approve and merge the PR

@camaraproject/location-insights_codeowners can one of the Codeowners please approve this PR so that it can be merged? The last change was done three weeks ago ...


Update the SupportedRFCs Document to be up to date

I'd welcome feedback on this on other things we want to highlight in this document.
@dbluhm @andrewwhitehead @ianco, do you think these AIP 2.0 comments are still accurate:

RFC
Supported
Notes

0211-route-coordination
:warning:
Only pre-AIP 2.0 version. Must be updated to use did:key for full AIP 2.0 support

0360-use-did-key
:warning:
Creating and resolving did:key DIDs is supported, but not all protocols are updated yet to use did:key. This is a breaking change for AIP 1.0 -> AIP 2.0.

0587-encryption-envelope-v2
:construction:
Support for the DIDComm V2 envelope format is a work in progress, including the PRs (AIP-2 base64url consistency and Small AIP-2 updates)

I think the mediator coordination and did:key issues are now resolved. DIDComm v2 support is still work in progress.

Thanks — I’ll update.


"Fetch timed out" + "Name or service not known" errors

Hello, :-)
i installed pagespeed to my centos cpanel server according to tutorial at https://github.com/pagespeed/cpanel
Then used EasyApache to enable this module.
I then checked my site against page speed online.
Restarted Apache
Then checked my site again and its score was worse than before enabling pagespeed
(i did not modified pagespeed configuration in any way)
mod_pagespeed <IP_ADDRESS>-4448 messages in apache error log:
Fetch timed out: http://mydomain.com/cron.php?rand=1430519604 (connecting to:MYSERVERIPHERE) (1) waiting for 50 ms
URLTOIMAGEHERE (connecting to:images):0: Error status=670002 (Name or service not known) serf_connection_create2
RateController: drop deferred fetch of URLTOIMAGEHERE on shutdown
[0501/223737:WARNING:queued_worker_pool.cc(379)] Adding function to sequence 0x50c1160 after shutdown
ServerContext: 1 leaked_rewrite_drivers on destruction
the first message is there many many times for different images, css
so i temporarily set Pagespeed to Off in /usr/local/apache/conf/pagespeed.conf
Please can You suggest me what to do? What is the cause? Thank you

Could you paste screenshots of PageSpeed Insights for your site, with the PageSpeed module on and off?  I want to see what score components decreased, which should tell us what wasn't working.


simplify header and update homepage

I've updated the homepage with a larger logo, and with a white background for the hero section. This helps reduce the number of colors (which I'll look into standardizing more later).
For the header - I removed the fancy mobile menu and simplified the layout instead. It was a cool feature, but I think the simplicity should make interaction easier. In doing this I also removed the search form. Few sites have this - if it feels necessary, we should probably work on improving general navigation instead. Let me know what you think.

Hi @yomed,  thanks for the improvements! I was worried that the global nav might get larger over time but I think we will be okay. I will be adding the "Blog" link back soon (the first blog posts are almost ready). I do think the search is helpful, but I think we should just put a magnifying glass icon that when clicked on will open a search form. I think there is just enough room to include the "Blog" link and a magnifying glass so I am good with you removing the fancy menu :) I will merge in your changes now.
Thoughts on the search icon?

Ok sure, I can bring search back as an icon. Will probably need to make some adjustments at the smallest sizes (around 320), but I think it should work. I can touch it up and send a new PR tonight if you are merging this one now.

I have published your changes. If you can add a search icon that would be very helpful. I'm going to be working on improving the UI for Try Marko Widgets Online (I'm not liking the separate left and top nav).

Sounds good. Would you be ok with removing the home link, and rely on the direct/seo traffic + the header logo for that page?

I'm not opposed to removing the "Home" link. I think that makes sense.


Module name conflict.

Hello.
I like Async a lot. I fork it and try to make it support Carthage. When I try to create build targets. Interesting things happened.
The module name 'Async' is causing a could not build Objective-C module 'Async' bug. When I try other names such as SwiftAsync. It works fine.
I'm wondering what is the best choice to support Carthage... What do you think?

See #23 for Carthage support


Add a 'is owner or restrict changes hook'

Only the owner of the document has the ability to modify their document without restriction. Unauthenticated users or users that don't own the document can still make changes but are restricted to using certain properties.

@codingfriend1 awesome PR! Thanks for putting in so much work here!
We're not going to be bringing additional functionality into the legacy branch. We're wrapping up auth docs and are encouraging people to move towards<EMAIL_ADDRESS>and feathers-permission.
However, this could totally be merged into feathers-legacy-authentication-hooks (which can also be used with auth 1.x).
I like what you did by limiting certain properties. I'd like to see if we can incorporate that into feathers-permissions as well.
If you are up for creating a PR to the legacy-hooks repo I'll merge it quickly.
Thanks for taking the time to put this together! 😄

I still feel like feathers-permissions would be overkill if you just want to restrict the authenticated user to editing, removing and listing their records. I ended up writing a very similar hook to this one myself, too.

Closed as this was merged here: https://github.com/feathersjs/feathers-authentication-hooks/pull/2


Fix wrong register

Hi Zscaler,
There was a mistake in the zpa_application_segment_facts.yml playbook, this change should fix it.

A fix was already in progress and has been deployed in the latest v1.1.0 release.
Thank you
Zscaler DevRel


clean() got an unexpected keyword argument 'styles'

Unsurprisingly this looks like its not compatible with Bleach 5.0.0 due to that styles kwarg change.  We've had the the older version of bleach pinned for a while but would it be possible update this library to support Bleach 5.0.0?  I can create a PR with the change if needed (seems fairly straightforward?)

@dsimandl Did this ever get solved?
@ui Are you still maintaining this package? I would be happy to update/maintain it


Add Wizard component to Storybook

Description
Wizard component seems to be used in several locations, including not intuitive places, such like CRU resources editor. Specifically this includes toggling YAML editor handled as a Wizard.
Context
Add component to style guide and add usage cases.

Per @kwwii, we should redesign the wizard component first. Pushing out.

As mentioned, the wizard is used also as toggler for the YAML, so beware of that :)


Missing Rails Generator

Getting the following error:
$ rails generate simple_form:install --boostrap
Could not find generator 'simple_form:install'. Maybe you meant 'integration_test', 'scaffold' or 'active_record:model'
Run 'rails generate --help' for more options.

Using the latest version 3.2.0 with rails 4.2.4 installed with RVM.
$ rails --version
Rails 4.2.4
$ ruby --version
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
$ rvm -v
rvm 1.26.11 (latest) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]

Bundle Install executes successfully:
$ bundle install
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.2
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.4
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri <IP_ADDRESS>
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.4
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.4
Using globalid 0.3.6
Using activejob 4.2.4
Using mime-types 2.6.2
Using mail 2.6.3
Using actionmailer 4.2.4
Using activemodel 4.2.4
Using arel 6.0.3
Using activerecord 4.2.4
Using execjs 2.6.0
Using autoprefixer-rails <IP_ADDRESS>
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using sass 3.4.19
Using bootstrap-sass <IP_ADDRESS>
Using bundler 1.10.6
Using byebug 8.2.0
Using coffee-script-source 1.10.0
Using coffee-script 2.4.1
Using thor 0.19.1
Using railties 4.2.4
Using coffee-rails 4.1.0
Using font-awesome-sass 4.4.0
Using multi_json 1.11.2
Using jbuilder 2.3.2
Using jquery-rails 4.0.5
Using pg 0.18.3
Using sprockets 3.4.0
Using sprockets-rails 2.3.3
Using rails 4.2.4
Using rdoc 4.2.0
Using tilt 2.0.1
Using sass-rails 5.0.4
Using sdoc 0.4.1
Using simple_form 3.2.0
Using spring 1.4.1
Using turbolinks 2.5.3
Using uglifier 2.7.2
Using web-console 2.2.1
Bundle complete! 16 Gemfile dependencies, 57 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

My Gemfile has it included:
gem 'simple_form'
Using it with 'migration' doesn't work as it throws eception:
$ rails generate migration simple_form:install --boostrap
      invoke  active_record
~/.rvm/gems/ruby-2.2.3/gems/activerecord-4.2.4/lib/rails/generators/active_record/migration/migration_generator.rb:61:in `validate_file_name!':  (ActiveRecord::IllegalMigrationNameError)

Illegal name for migration file: simple_form:install
    (only lower case letters, numbers, and '_' allowed)

    from ~/.rvm/gems/ruby-2.2.3/gems/activerecord-4.2.4/lib/rails/generators/active_record/migration/migration_generator.rb:10:in `create_migration_file'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:115:in `invoke'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/group.rb:277:in `block in _invoke_for_class_method'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/shell.rb:68:in `with_padding'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/group.rb:266:in `_invoke_for_class_method'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/group.rb:133:in `_invoke_from_option_orm'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
    from ~/.rvm/gems/ruby-2.2.3/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from ~/.rvm/gems/ruby-2.2.3/gems/railties-4.2.4/lib/rails/generators.rb:157:in `invoke'
    from ~/.rvm/gems/ruby-2.2.3/gems/railties-4.2.4/lib/rails/commands/generate.rb:13:in `<top (required)>'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
    from ~/.rvm/gems/ruby-2.2.3/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
    from ~/.rvm/gems/ruby-2.2.3/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:130:in `generate_or_destroy'
    from ~/.rvm/gems/ruby-2.2.3/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:50:in `generate'
    from ~/.rvm/gems/ruby-2.2.3/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from ~/.rvm/gems/ruby-2.2.3/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `block in load'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
    from ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
    from ~/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from ~/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from -e:1:in `<main>'

@Silvery-Corgan rails generate migration simple_form:install --boostrap is not a correct way of calling install generator. The first one you posted (rails generate simple_form:install --boostrap) is correct one. Can you please try to run it with bundle exec rails generate simple_form:install --boostrap?

$ bundle exec rails generate simple_form:install --boostrap
Could not find generator 'simple_form:install'. Maybe you meant 'integration_test', 'scaffold' or 'active_record:model'
Run `rails generate --help` for more options.

@Silvery-Corgan looks like something is wrong with your app.  Can you please provide a sample application that reproduces the error?

Closing it since it's not simple_form's issue.

If you are using spring, try to restart it

I am having the same issue with rails 5.1.4, ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux].
I does not find the generator and spring restart doesn't fix it.
The generators of any other gem like devise/blazer/erd/responders do work without any problem.

@klapperkopp I tested it right now and it is working normally. Could you provide a sample application that reproduces the error?

Hi, I just saw this now. Sorry I couldn't provide that. I don't use simple_forms anymore since that problem.

$ bundle exec rails generate simple_form:install --boostrap
Could not find generator 'simple_form:install'. Maybe you meant 'integration_test', 'scaffold' or 'active_record:model'
Run `rails generate --help` for more options.

Try to stop sprin spring stop
Then run the rails command
And then start spring again spring start

i also have the same issue.
Could not find generator 'simple_form:install'.
Run rails generate --help for more options.
i am ussing rails version <IP_ADDRESS>

@pedroVflight
Thank you the solution, it worked wonders for me, after trying a lot of solutions that didn't work.


adding native_ethernet to portenta H7

Hi,
I used this repo on a Portenta H7, in oder to use native_ethernet i had to replace:
platform_code/arduino/native_ethernet/micro_ros_transport.cpp
#5 #include <NativeEthernetUdp.h> with <EthernetUdp.h>
and
platform_code/arduino/native_ethernet/micro_ros_transport.h
#1 #include <NativeEthernet.h> with #include <EthernetUdp.h>
I would create a pull request, but i don't know how to embed it into the existing system.

Yes please, can you create a PR with those changes?

https://github.com/micro-ROS/micro_ros_platformio/pull/49

Moving to #49


Revert "[hwinfo] create a new port"

Reverts microsoft/vcpkg#35465
https://github.com/microsoft/vcpkg/pull/35465#issuecomment-1870943104

I agree, thanks.


Need for Row Component to enhance row events

How can one add event such as onClick to an entire row? It is possible to enhance a cell through cell component when defining the columns but nothing for the entire row.
If I want to enhance the entire row, I have to do it on each cell to complete the entire row
I created a Cell Renderer that has onClick event for all the cells but the onClick event only works for a part of the cell. I need the onClick event on the row-container or on the cell
I think a cellWrapper or rowWrapper is needed where the entire row-container or cell-container can be enhanced by anyone for any purpose. e.g I might use the table, header, row and cell wrapper to convert my table to bootstrap table by changing the out from <div>  to either <table>, <thead>, <tr> or <td> and also add events on them.

@carlospence yup good find, sorry for the late response. yup that's something that I can definitely look to add in the next release! Thanks for letting me know!

Effectively, we want the ability to add events as needed without bloating the API. Furthermore, I also have to consider the functionality when row expansion is enabled on a table. I'll probably pass the event so that the user can cancel if need be.
this So I think a proposal for this would be as follows:
onRowClick = (e: Event) => void

The plan is to add more event handlers in this manner.

@carlospence This should be addressed in the current release (v0.4.0). See the CHANGELOG for more details.
The next release I'll add a cellContainer prop on the top level for more simplicity

Ok thanks, I will check it out and revert


resource_control: add background task control for txn scheduler

What is changed and how it works?

Issue Number: ref #14900
What's Changed:

- Change background resource limiter to all read request not only the coprocessor requests.
- Add background resource limiter to txn scheduler for write requests.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test

Side effects
Release note
None

/cc @HuSharp

/test

/test


[Issue]: Cannot submit "Not applicable to needs/goals" as team status in Grant Finder

Why is this issue important?
This is a bug in production for a supported user journey.
Current State
When user visits a Grants detail page (here is a random example) and selects "Not applicable to needs/goals" as the Team Status, the Submit button greys out and does not allow submission. All other options for Team Status work correctly.

Expected State
When user visits a Grants detail page (here is a random example) and selects "Not applicable to needs/goals" as the Team Status, the Submit button should allow submission, same as any other status.

Implementation Plan
The problem seems to be related to the :disabled property of the submit button in the "Team Status" component, although it doesn't seem like it should. Observe that in its current state, this evaluation causes the bug to manifest:
:disabled="!selectedInterestedCode"

whereas this evaluation (when tested locally) results in the expected state:
:disabled="selectedInterestedCode === null"

A bit of digging (at least to explain why !selectedInterestedCode, which seems to be valid syntax) would be appreciated here. In particular, the strictness of the === evaluation demonstrated above is a drawback – something that evaluates to true when selectedInterestedCode is any "false-y" value would be preferred. However, the above would be acceptable in absence of a better alternative.
Note the documented behavior of the disabled prop for the b-button component.
Relevant Code Snippets
Usage in the button's disabled prop:
https://github.com/usdigitalresponse/usdr-gost/blob/61e1e9bd1af17977009a4d0e442753b32578b153/packages/client/src/views/GrantDetailsView.vue#L222
Initialization of selectedInterestedCode:
https://github.com/usdigitalresponse/usdr-gost/blob/61e1e9bd1af17977009a4d0e442753b32578b153/packages/client/src/views/GrantDetailsView.vue#L319

Looks great in staging!


Create MissionController2-1.34.ckan

Opening curly brace { is missing.

From looking at the release list of your repo we haven't used netkan in the past because all your releases have been tagged as pre-release. If you're planning on tagging as full releases from here on out, we can use a .netkan file to automatically scrape for new versions to index. ksp version compatibility would be scraped from the .version file, no work would ever need to be performed to keep your mod up to date unless the install instructions changed.

Since I no longer have Kerbal Stuff to host mods I will be releasing on GitHub from now on.  Sorry about the curry bracket.

Pushing this to give our users earlier access to your mod with the caveat that once https://github.com/KSP-CKAN/NetKAN/pull/3690 is merged, some of this metadata will be overwritten by @netkan-bot. See https://github.com/KSP-CKAN/NetKAN/pull/3690 for more info.


Sending too-long message gets cut off without indication

When you send a message above the IRC limit for a single message, it appears to have gone through correctly, but obviously it is cut off for everyone else.
We should either split the message and send as multiple (that's probably the better solution) or at least show the message as cut off. That's the simplest solution, if the IRC limit is a standard (I assume it is)

IRC messages are always lines of characters terminated with a CR-LF
(Carriage Return - Line Feed) pair, and these messages SHALL NOT
exceed 512 characters in length, counting all characters including
the trailing CR-LF. Thus, there are 510 characters maximum allowed
for the command and its parameters.

— RFC 2812, Section 2.3 "Messages"

This is especially important for PRIVMSG/NOTICE commands.
One thing I've seen clients do is wrap outgoing text to ~400 characters (a decently-large buffer of about 100 characters for server overhead and the nickmask+message framing overhead when being send to the target user) and send multiple messages.
The main problem with just showing it as cut off is that it's hard to tell exactly where it will be cut off, thanks to the output message containing nickmasks and other details. Wrapping and sending multiple makes for a better experience when generally chatting.

Yeah, I definitely agree that sending multiple messages is ideal. Was just
throwing all the options I could think of out there.
On Tue, 3 May 2016, 23:37 Daniel Oaks<EMAIL_ADDRESS>wrote:

This is especially important for PRIVMSG/NOTICE commands.
One thing I've seen clients do is wrap outgoing text to ~400 characters (a
decently-large buffer of about 100 characters for server overhead and the
nickmask+message framing overhead when being send to the target user) and
send multiple messages.
The main problem with just showing it as cut off is that it's hard to tell
exactly where it will be cut off, thanks to the output message containing
nickmasks and other details. Wrapping and sending multiple makes for a
better experience when generally chatting.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/thelounge/lounge/issues/295#issuecomment-216685515

This appears to work just fine on master, as irc-fw has built in message splitting.

Yeah, I'll close because it's fixed on master. Will be included in the next release.


Reset Password Language Tags

add specific language tags to de-DE and en-EN (global files)

done.

done.


Permission to use artwork

Hi,
I would like to use the following 2 photos on a github pages website ( located in your images folder ):

fork.png
os-box.png

Is it alright that I use those photos as-is on a webpage? If so, are there any citations you would like me to provide?
Some background info into my project. I am designing a Natural Language Processing package in Python. To showcase how my library is open-source, I would like to use the fork image. In addition, I would like to use the os-box image to demonstrate that my library is multi-platform. The name of the project is regex4dummies if you would like to look at it before giving me permission.
Thanks,
Vale Tolpegin

Hi :wave:
This site has an MIT license so you're free to use the images so long as you note somewhere that they have a MIT license and include the copyright:

Copyright (c) 2015 GitHub Inc.

You can click the link above to read the full contents of the license. Good luck with your project! :pizza:

Thanks for the clarification!


New version: OONI.OONI-Probe version 3.9.5

Checklist for Pull Requests

[X] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?
[X] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 877.)

Previous version: #139248 also had an unattended error even though the installation does works unattended
I dont know why this is a recurring issue/error

This is something of a known issue with our pipelines.

I approved this in error - the Architecture should be changed from x86 to x64:

Sorry, I’ll make a new PR to change the arch.


Feature Request: Markeplace filter for Version 9 compatibility

I looking for version 9 compatible themes or add-on, you currently have have to open each item individually to see if it's version 9 compatible or not. At least I didin't find any other way. A filter criterion for this would be great for customers, - and a motivation for developers to think about upgrading their products.

We should post this to the forums; this is meant just for Concrete CMS. The marketplace search in your site should filter based on just your site's version, which should already take this into account.


Hypervisor implementations are not using the caller context

An example from the aws implementation - https://github.com/confidential-containers/cloud-api-adaptor/blob/staging/pkg/adaptor/hypervisor/aws/service.go#L187

Reopening this to include fixes for ibmcloud and libvirt provider


Feat/new contact page

OP-552
I've used also:  https://abb-vlaanderen.gitbook.io/handleiding-organisatieportaal/ondersteuning/helpdesk

Closing, has been done in #412 (not sure why it has been done twice by two different persons ..?)


Add MAINTAINERS file

to document accountability.
Signed-off-by: Matthias Rampke<EMAIL_ADDRESS>

Cf. also prometheus-community/community#43


A PingFederate UI option for authentication

Currently we use Shibboleth option to configure PingFederate since it has basically the same configuration, but there is no separate option for using PingFederate.
cc @mrajashree

There should be separate auth configs for each system like this that we support so that we don't get burned when it later turns out that there is actually a difference needed in configuration.  If they're 100% the same then they can share the same code behind the scenes.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Be more distribution version independent

This pull request aims to extend list of supported OS versions by using version test. As a result roles can be used with Ubuntu Bionic, Debian Buster (10), etc.
It also drops unnecessary code duplication inside roles

I haven't notice, I'll check your and make PR/my own if it's still needed.
Thanks for your work, both of you.

Thanks you again @noonedeadpunkm I can now merge your PR :)
If you want to make any other, I'll be grateful for you help !


Create sis-fellbach.txt

The school's webpage can be found here https://www.swissinternationalschool.de/en-GB/Standorte/Stuttgart-Fellbach/SchulstufenOrdnerFellbach/Gymnasium  . Thank you for adding the school.

@e-l-i-a-s Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


Add AMD module definition support

Highlight.js rocks. It's the best of its kind!
Could you add an AMD module definition? This would make Highlight.js compatible with all AMD loaders out there.
Here is some info: http://requirejs.org/docs/whyamd.html#dolib

highlight.js is framework agnostic and I want to keep it that way. Any adaptors, bridges, definitions or mods that make it more easily pluggable into other systems are better implemented as side projects. Like for example a fork on github doing such thing for node.js.

While I can understand your point and appreciate Highlight.js all the more for being library agnostic, I think you aren't up to speed as to what JavaScript modules actually are.

For one, it is the future: ECMAScript Harmony modules.
The current AMD API specification is a means to come close to a real JavaScript language module API.

Modular JavaScript on itself is a pattern, not a library. Here's some more info about modular JavaScript and the existing solutions: http://addyosmani.com/writing-modular-js

Looking at all the different language files that are shipped with Highlight.js, I think it would make a perfect fit for following a module pattern.
Of course, it's up to you, but at least I could give you the right information.

OK, I have to admit I was to short in my previous answer, sorry for that! Let me explain my point of view.
Though you're write that I'm not up to speed with different solutions around Javascript modules I can assure you the concept itself is not new to me :-). In fact, some time around version 3 highlight.js was modular and used to load additional language modules on demand. I dropped that design in favor of static linking of all the needed code into a single custom file in order to serve it in one HTTP request. It's simply faster (was then and still is now).
Saying that modules are "the future" doesn't make sense without specifying a subject of this future. It makes total sense for general purpose libraries and for the language itself because they do need some general purpose extension mechanism. As for highlight.js the question is: what problem are we trying to solve?

Highlight works great with RequireJS. I just threw it into a shim in my require.config call:

(language is CoffeeScript)
Thanks, @isagalaev!

Why I cannot use require.js well?
var hljs = require("//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/highlight.min.js");
hljs.initHighlightingOnLoad();

What is wrong? I got this:

@AminHuang The link to the error documentation helps but you can do this:
<script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.22/require.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/highlight.min.js"></script>
<script>
require(['hljs'], function(hljs) {
  hljs.initHighlighting();
})
</script>


”Băgaciu” is listed in the drop-down menu

Description:
"Băgaciu" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Băgaciu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Băgaciu, MUREȘ".


Add --repair-dates option for export

Add option to repair dates on export to make file timestamp match either created date for originals or modified date for edited photos if it doesn't already
If --exiftool, would also repair dates in EXIF data

--touch-file does this, just need to check to see if exif data needs to be updated


Is this repository dead ?

Hi,
I found some bugs in the current Elcodi/Bamboo version, I'll glad to contribute to fix it, but the repository seems to be dead (no activity in the past 2 months).
Is the repository still alive ?

Same problem. I forked the project to fix bugs (https://github.com/fabiolor/bamboo) but no one merges my pull requests. If you want we can do teamwork and fix/evolve elcodi by ourselves...

+1 https://github.com/MWSimple/bamboo
+1 https://github.com/MWSimple/elcodi

Si por el momento agrego a packagist los repo y desarrollamos sobre los mismos, hasta que retomen el proyecto, ojala sea pronto!
If by the time packagist added to the repo and develop on them, until they resume the project, hopefully be soon!

Do you want to add one of our repos to packagist? I tried that but I was not able to do that...

Si los agrego a los 2 y trabajamos sobre ellos hasta que se retome el proyecto master.
If I add 2 and work on them until the master project be resumed.


Seq collections refactor

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

178 of 235 (75.74%)  changed or added relevant lines in 3 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 90.812%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_moltype.py
47
54
87.04%

src/cogent3/core/new_alignment.py
120
170
70.59%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/core/new_moltype.py
1
94.26%

src/cogent3/core/new_sequence.py
4
55.46%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
32180

Relevant Lines:
35436

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

179 of 236 (75.85%)  changed or added relevant lines in 3 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.2%) to 90.809%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_moltype.py
47
54
87.04%

src/cogent3/core/new_alignment.py
121
171
70.76%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/maths/scipy_optimize.py
1
85.57%

src/cogent3/core/new_moltype.py
1
94.26%

src/cogent3/core/new_sequence.py
4
55.46%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
32179

Relevant Lines:
35436

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

184 of 234 (78.63%)  changed or added relevant lines in 3 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 90.933%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_moltype.py
51
52
98.08%

src/cogent3/core/new_alignment.py
122
171
71.35%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/core/new_moltype.py
1
96.28%

src/cogent3/core/new_sequence.py
4
59.46%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
32225

Relevant Lines:
35438

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

184 of 234 (78.63%)  changed or added relevant lines in 3 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.2%) to 90.931%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_moltype.py
51
52
98.08%

src/cogent3/core/new_alignment.py
122
171
71.35%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/core/alignment.py
1
93.76%

src/cogent3/core/new_moltype.py
1
96.28%

src/cogent3/core/new_sequence.py
4
59.46%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
32224

Relevant Lines:
35438

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

188 of 238 (78.99%)  changed or added relevant lines in 3 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 90.94%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_moltype.py
51
52
98.08%

src/cogent3/core/new_alignment.py
126
175
72.0%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/core/new_moltype.py
1
96.28%

src/cogent3/core/new_sequence.py
4
59.46%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
32220

Relevant Lines:
35430

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

194 of 244 (79.51%)  changed or added relevant lines in 3 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 90.936%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_moltype.py
49
50
98.0%

src/cogent3/core/new_alignment.py
134
183
73.22%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/core/alignment.py
1
93.76%

src/cogent3/core/new_sequence.py
4
59.46%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
32216

Relevant Lines:
35427

💛  - Coveralls


User Input not working

In most situations, input doesnt block the pyodide worker, it will finish running and back to ready.
Sometimes (most of nextjs hot reload), the pyodide worker blocks. but no prompt and sendInput doesn't work. The block will never top.
isAwaitingInput is always false.
When blocking, the error log shows as below:

And when using input, the stdout will get polluted as below (python code is input("hello world"), the HTML after hello world might be the HTML source code of this page):

Additionally, every time usePython, there will be an error:

Version: 1.10.5
Env: nextjs (vercel and local)

This issue can occur if there is no service worker registered to handle the input request and is documented here.
Can you please confirm if the service worker has been registered in your app?
Also, you can safely ignore the ModuleNotFound error for pyodide-http.

Is this service worker status normal?
I actually use the usePython inside a PythonProvider, but they are dynamically loaded to avoid SSR as below:
nextjs page:
const PythonProvider = dynamic(
  async () => (await import("react-py")).PythonProvider,
  {
    ssr: false,
  }
);
const PyComponent = dynamic(
  async () => (await import("@/components/py")).PyComponent,
  {
    ssr: false,
  }
);

PyComponent:
import { usePython } from "react-py";

Solved with retrying steps in https://elilambnz.github.io/react-py/docs/introduction/nextjs-usage#service-worker