[BENCHMARKS] Added a parser to the benchmark framework to collect fuse file access patterns

Added a parser to the benchmark framework to collect fuse file access patterns.
This can be enabled by first adding log_fuse_operations = true to the soci_config.toml found within the benchmark framework to enable file access info collection. You can then add the optional flag -parseFileAccessPatterns or -parseFileAccessPatterns=true to the start of the make benchmarks  target and this will enable the parsing and logging of access patterns. This will run once for each image in the test set and output the results into a directory .../performanceTest/output/file_access_logs wherein there will be a parsed log file for each image. Each log will be named <image name>_access_patterns.
The parsed file access logs for an image will look like:
{
 "ImageName": "Rabbitmq",
 "containerStartTime": "2022-12-08T18:01:47.723749763Z",
 "TotalOperationCounts": {
  "Getattr": 6036,
  "Getxattr": 12671,
  "Listxattr": 4,
  "Open": 1943,
  "Read": 1443,
  "ReadLink": 428,
  "Readdir": 4872
 },
 "operations": [
     ...
     {
      "operation": "Getattr",
      "path": "usr/lib/x86_64-linux-gnu/libc-2.31.so",
      "firstAccessTimeAfterStart": "317.842289ms",
      "count": 8
    },
  ...
  ]
}

The parser will collect every unique fuse operation (a specific operation on a specific path) and note the amount of times that the fuse operation was called. It will also log the the amount of time after the the container start event in which the operation was invoked. The log file will be sorted by firstAccessTimeAfterStart with the first fuse operation at the top of log. The total count for each fuse operation will also be logged.
Note: make sure the soci grpc server was started with --log-level debug set.
Note: It is worth noting that there will be negative values for firstAccessTimeAfterStart for the first few fuse operations. This is because there are still fuse operations happening before the invocation of task.Start.
Signed-off-by: Yasin Turan<EMAIL_ADDRESS>Issue #, if available:
Description of changes:
Testing performed:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can you run make add-ltag to add header to the new file you are introducing?

Can you add an example of fileAccessLogs in the PR description?

At the highest level I would have interest in this tool not being so tightly coupled to the benchmarker, this tool can have value as a standalone piece.  The use case I imagine would be a customer turning on the file-access-pattern logs and then using the parser as a standalone.

At the highest level I would have interest in this tool not being so tightly coupled to the benchmarker, this tool can have value as a standalone piece. The use case I imagine would be a customer turning on the file-access-pattern logs and then using the parser as a standalone.

Since we need to collect the file access pattern data and the tool seem to do the job, can we agree on making file_access.go an independent parametrized unit within the benchmarking framework for now and do the job collecting the file access pattern information?
As the second iteration, the parser can be taken out of benchmarking framework and we can either write separate tool if needed.

LGTM.

Just a couple non-blocking nits. I'm fine to merge as is and we can always address those in a follow up.


Introduce includes field to Ballerina.toml

Equivalent to https://github.com/ballerina-platform/ballerina-lang/pull/36670
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/36429, https://github.com/ballerina-platform/ballerina-spec/issues/988

The changes are already merged to master, 2201.2.x. Hence closing the PR.

@gayaldassanayake For your future reference: When you close a PR that already has stable label in it, please remove the stale label from the PR. Then it won't get added to the [Stale PR] Ballerina Stale PR Details mail in the future.


Failed to load API definition - /api/docs

On /api/docs endpoint i get this html error.
Python version: 3.11.3
Django version: 4.2.2
Django-Ninja version: 0.22.1
Django-Ninja-Extra 0.18.9
With previous version  everthing works fine.
(Django-Ninja version: 0.21.x, Django-Ninja-Extra 0.18.8)
Failed to load API definition.
Errors
Fetch error
Internal Server Error /api/openapi.json

The above problem is fixed, please update your package to support the latest django-ninja.
Thnak you.

Hello @eadwinCode ,
one more note  your django-ninja-jwt = "5.25" doens't work as well,   "5.2.2" is OK

@jankrnavek can you be more specific to what you mean by doesn't work?

Poetry update output:
(mabb-py3.11) PS C:\git\mabb> poetry update
Updating dependencies
Resolving dependencies...

Package operations: 0 installs, 1 update, 3 removals

  • Removing dnspython (2.3.0)
  • Removing email-validator (2.0.0.post2)
  • Removing ninja-schema (0.13.0)
  • Updating django-ninja-jwt (5.2.2 -> 5.2.5)

Writing lock file

Errors in log after restarting Gunicorn:
Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 890, in _resolve_lookup
    current = getattr(current, bit)
              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 896, in _resolve_lookup
    current = current[int(bit)]
                      ^^^^^^^^
ValueError: invalid literal for int() with base 10: 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 903, in _resolve_lookup
    raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [JSON_ENCODER] in <ninja_jwt.settings.NinjaJWTUserDefinedSettingsMapper object at 0x7f3f39f94ad0>
Exception while resolving variable 'JSON_ENCODER' in template 'unknown'.
Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/ninja/schema.py", line 54, in __getitem__
    item = getattr(self._obj, key)
           ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 880, in _resolve_lookup
    current = current[bit]
              ~~~~~~~^^^^^
TypeError: 'NinjaJWTUserDefinedSettingsMapper' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 890, in _resolve_lookup
    current = getattr(current, bit)
              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 896, in _resolve_lookup
    current = current[int(bit)]
                      ^^^^^^^^
ValueError: invalid literal for int() with base 10: 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 903, in _resolve_lookup
    raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [JSON_ENCODER] in <ninja_jwt.settings.NinjaJWTUserDefinedSettingsMapper object at 0x7f3f39f950d0>
Exception while resolving variable 'JSON_ENCODER' in template 'unknown'.
Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/ninja/schema.py", line 54, in __getitem__
    item = getattr(self._obj, key)
           ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 880, in _resolve_lookup
    current = current[bit]
              ~~~~~~~^^^^^
TypeError: 'NinjaJWTUserDefinedSettingsMapper' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 890, in _resolve_lookup
    current = getattr(current, bit)
              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 896, in _resolve_lookup
    current = current[int(bit)]
                      ^^^^^^^^
ValueError: invalid literal for int() with base 10: 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 903, in _resolve_lookup
    raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [JSON_ENCODER] in <ninja_jwt.settings.NinjaJWTUserDefinedSettingsMapper object at 0x7f3f39f950d0>
Exception while resolving variable 'JSON_ENCODER' in template 'unknown'.
Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/ninja/schema.py", line 54, in __getitem__
    item = getattr(self._obj, key)
           ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 880, in _resolve_lookup
    current = current[bit]
              ~~~~~~~^^^^^
TypeError: 'NinjaJWTUserDefinedSettingsMapper' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 890, in _resolve_lookup
    current = getattr(current, bit)
              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 896, in _resolve_lookup
    current = current[int(bit)]
                      ^^^^^^^^
ValueError: invalid literal for int() with base 10: 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 903, in _resolve_lookup
    raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [JSON_ENCODER] in <ninja_jwt.settings.NinjaJWTUserDefinedSettingsMapper object at 0x7f3f39f90250>
Exception while resolving variable 'JSON_ENCODER' in template 'unknown'.
Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/ninja/schema.py", line 54, in __getitem__
    item = getattr(self._obj, key)
           ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 880, in _resolve_lookup
    current = current[bit]
              ~~~~~~~^^^^^
TypeError: 'NinjaJWTUserDefinedSettingsMapper' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 890, in _resolve_lookup
    current = getattr(current, bit)
              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 896, in _resolve_lookup
    current = current[int(bit)]
                      ^^^^^^^^
ValueError: invalid literal for int() with base 10: 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 903, in _resolve_lookup
    raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [JSON_ENCODER] in <ninja_jwt.settings.NinjaJWTUserDefinedSettingsMapper object at 0x7f3f39f90250>
Exception while resolving variable 'JSON_ENCODER' in template 'unknown'.
Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/ninja/schema.py", line 54, in __getitem__
    item = getattr(self._obj, key)
           ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 880, in _resolve_lookup
    current = current[bit]
              ~~~~~~~^^^^^
TypeError: 'NinjaJWTUserDefinedSettingsMapper' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 890, in _resolve_lookup
    current = getattr(current, bit)
              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 896, in _resolve_lookup
    current = current[int(bit)]
                      ^^^^^^^^
ValueError: invalid literal for int() with base 10: 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 903, in _resolve_lookup
    raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [JSON_ENCODER] in <ninja_jwt.settings.NinjaJWTUserDefinedSettingsMapper object at 0x7f3f39f90250>
Exception while resolving variable 'JSON_ENCODER' in template 'unknown'.
Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/ninja/schema.py", line 54, in __getitem__
    item = getattr(self._obj, key)
           ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 880, in _resolve_lookup
    current = current[bit]
              ~~~~~~~^^^^^
TypeError: 'NinjaJWTUserDefinedSettingsMapper' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 890, in _resolve_lookup
    current = getattr(current, bit)
              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NinjaJWTUserDefinedSettingsMapper' object has no attribute 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 896, in _resolve_lookup
    current = current[int(bit)]
                      ^^^^^^^^
ValueError: invalid literal for int() with base 10: 'JSON_ENCODER'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/webhosting/mabb/env/lib/python3.11/site-packages/django/template/base.py", line 903, in _resolve_lookup
    raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [JSON_ENCODER] in <ninja_jwt.settings.NinjaJWTUserDefinedSettingsMapper object at 0x7f3f39f90250>

I will look into this... Can you also share your settings for NINJA_JWT ?

@jankrnavek Whats your pydantic version?

C:\git\mabb> poetry show pydantic
 name         : pydantic
 version      : 1.10.9
 description  : Data validation and settings management using python type hints

dependencies
 - email-validator >=1.0.3
 - typing-extensions >=4.2.0

required by
 - django-ninja >=1.6,<2.0.0
 - ninja-schema *

@jankrnavek I have tried to reproduce this error but its seems like its something specific to your project. Also I am a bit confused as to why a template VariableDoesNotExist exception is related to ninja_jwt settings.
NinjaJWTUserDefinedSettingsMapper is used in loading ninja_jwt settings with pydantic yet I don't see any errors from pydantic.

Can you check in your project to see if your are using USER_SETTINGS from ninja_jwt anywhere? I am guessing your project is interacting with ninja_jwt USER_SETTINGS variable which is a NinjaJWTUserDefinedSettingsMapper object

No thats not the problem.


Add an experimental binder transport API for pre-finding Java class

Due to limitation of JVM, when user want to create binder channel in
threads created in unmanaged native code, they will need to call this
new API first to make sure Java helper classes can correctly be found.
Unused code in jni_utils.cc are also cleaned up in this commit

cc @littlecvr


Setting authentication?

We have components that expect to be passed the current authenticated user. As an engine, it seems like Lookbook doesn't care about the app's ApplicationController, so the current_user is not available. Is there a way to provide lookbook preview classes with the user that is currently signed-in to the main app?

Hey @mepatterson. So Lookbook doesn't actually have its own preview controller, it just reuses the ViewComponent preview controller to render the components. You can determine which controller to use via the ViewComponent config - for example:
config.view_component.preview_controller = "MyPreviewController"

This controller should extend the base ViewComponentsController that VC provides - the Lookbook demo app has an example of this.
Hope that helps! If you have any issues getting it working just let me know.

Yeah so I tried exactly that. I created a new controller that inherits from the view component controller and added a before_action where I was going to set up the auth. It worked if I visited the default VC preview url, but when visiting lookbook it seemed to ignore that new controller. Any ideas what I was doing wrong?

Ah ok - if it works when using the VC preview url then that sounds like a bug, not something you are doing wrong. It should be no different.
I'll investigate as soon as I have a chance and update you once it's fixed. Thanks for the report 👍

Hi again @mepatterson. I believe I've tracked down the bug and have included a fix in the latest beta release, v0.7.2.beta.4.
Could you give that a try whenever you have a chance and let me know if it resolves your problem?

Great, I'll close this for now then - will hopefully get the 'proper' release out later this week 👍


⚠ Homepage has degraded performance

In 34abb15, Homepage (https://h-edu.cz) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage performance has improved in 4369bcb.


Store download via HTTP API - How to authenticate?

Hi,
I'm trying to implement a simple remote backup/restore solution and my idea was to target the exposed APIs.

According to https://github.com/zwave-js/zwave-js-ui/blob/master/app.ts#L1353 there should be an API to download the backup archive.
Similarly, I can use https://github.com/zwave-js/zwave-js-ui/blob/master/app.ts#L1368 with setting the parameter restore to restore an archive.

Are my findings correct so far?

Now, I tried to work with authentication, and can successfully retrieve a token by running curl -X POST https://.../api/authenticate -H "Content-Type: application/json" -d '{ "username": "user", "password": "password" }'.
However, I entirely fail to call any of the APIs.
According to https://github.com/zwave-js/zwave-js-ui/blob/master/app.ts#LL725C27-L725C41 I assume that setting a header like Authorization: Bearer <token> or x-access-token: Bearer <token> should work.
My curl requests look like this: curl https://.../api/settings -H "Authorization: Bearer <token-from-authenticate-request>" -H "Accept: application/json" (Note: I also tried using x-access-token, or any other API endpoint without success.)
I always receive {"success":false,"message":"General Error","code":3}

Could you point me to what I am missing here, or how I can achieve this?

@muhlba91 Could you check logs to see the reason of the general error?

@robertsLando sure, but unfortunately this doesn't tell a lot - i also wasn't able to find any env var allowing debug logging or similar.
2023-06-08 08:42:56.724 INFO APP: GET /api/settings 200 10.213 ms - 52
2023-06-08 08:42:57.730 ERROR APP: Unhandled Rejection, reason: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

Do you have any proxy in the middle or else? I never faced this issue, did you also tried doing it with nodejs/python just to see if it works there?

There's a traefik in between which is handling SSL termination. However, I don't believe this should have an effect since the UI works without any issues, and all other applications handled by it as well.

I tried the same with the Python requests module - no luck either.
Logs with the Python try:
2023-06-13 06:23:44.416 INFO APP: User admin logged in successfully from X.X.X.X
2023-06-13 06:23:44.425 INFO APP: POST /api/authenticate 200 220.670 ms - 221
2023-06-13 06:23:44.460 INFO APP: GET /api/settings 200 1.608 ms - 52

Python code:
import requests

url = 'https://domain.com/api'
auth = { 'username': 'admin', 'password': 'XXXX' }

token = requests.post(url + '/authenticate', json = auth, headers = { 'Content-Type': 'application/json' }).json()['user']['token']
print(token)

settings = requests.get(url + '/settings', headers = { 'Accept': 'application/json', 'Authentication': 'Bearer ' + token })
print(settings.json())

Output:
<JWT TOKEN>
{'success': False, 'message': 'General Error', 'code': 3}

I did a test using insomnia and it works:

@robertsLando i have raised the PR #3140 which fixes this issue. could you please have a look, and provide feedback?

The fix looks good to me, I dunno why I never faced that issue BTW


ctrl modifier in console proxy won't turn off

ISSUE TYPE

Bug Report

COMPONENT NAME

console proxy

CLOUDSTACK VERSION

4.16-snapshot/main

CONFIGURATION

nested environment on vmware
MS: centos7
Hyp: vmware7.0
OS / ENVIRONMENT

SUMMARY

after starting a command that lasts (i.e. ping google), on sending ctrl-c, the keyboard is no longer accessible. turning of the ctrl modifier in the browser window does not seem to work as typing ls clears the screen (as if ctrl-l is pressed)
STEPS TO REPRODUCE

EXPECTED RESULTS

next command can be entered

ACTUAL RESULTS

no input is/seems to  accepted anymore.

@DaanHoogland I could not reproduce the issue, tested on user VMs setting deploy-as-is on/off and succeded in all scenarios:

@DaanHoogland is this still an issue or can be closed?

closing


Current dependency on Google-Mobile-Ads-SDK 7.68.0 break pod installation

The react-native-ad-manager depends on Google-Mobile-Ads-SDK 7.68.0 which depends on GoogleAppMeasurement (~> 7.0) as a dependency that fails during pod install. Also I tried both pod update and pod repo update. Here, I provided some screenshots for reference. Thanks!

I am currently upgrading the SDK on this branch: https://github.com/simpleTechs/react-native-ad-manager, however it does not provide Facebook integration but I made it work with firebase :)

Fixed in this PR: https://github.com/NZME/react-native-ad-manager/pull/35


deregister service id and check id

Is this code really like this? when change 'get' to 'put' ,it works...
            def deregister(self, service_id):
                """
                Used to remove a service from the local agent. The agent will
                take care of deregistering the service with the Catalog. If
                there is an associated check, that is also deregistered.
                """
                # return self.agent.http.get(
                #     CB.bool(), '/v1/agent/service/deregister/%s' % service_id)

                return self.agent.http.put(
                    CB.bool(), '/v1/agent/service/deregister/%s' % service_id)

/sig python

See PR #174

I don't know when the above PR will be accepted, so if you need a workaround you can do something like this:
from consul import Consul
from consul.base import CB
class MyAgentService(Consul.Agent.Service):
def deregister(self, service_id):
return self.agent.http.put(CB.bool(), '/v1/agent/service/deregister/%s' % service_id)
consul = Consul(host=host, port=port)
consul.agent.service = MyAgentService(consul)
This will override the "bad" deregister method and use put instead of get.

ok, thanks ,i'll close this issue


State needs to be a lot smarter

The current implementation is just too slow. This is probably because it creates a lot of independent allocations which just cause a lot of overhead.
Currently it mutates a lot of state which allows us to create a single state, but means that a lot of data is cloned and lots of allocations need to happen.
One idea that was initially considered is just adding every entry that was read to a single vec and perform operations on that, but that would mean that you would need to iterate over most if not all items if you want to perform some lookup or action.
Maybe a hybrid method would work where everything is added to a single vec, but state is kept through references to the vec? This would require a lot of references and probably some unsafe code.

So, it seems the issue lies in these lines of code

It's very likely because of the mem take and it needing to loop over 100's of items items every for every single other item (O(n^2) baby!). One fix could be to make it so you need to manually activate the cleanup of the left-overs.


ldap extension for php 7.4.x

Describe the feature

Are there any plans of adding php-ldap to extensions?
Underlying issue

Installed<EMAIL_ADDRESS>through brew, but cannot find the ldap-extension
Describe alternatives

Additional context

Are you willing to submit a PR?

@guescinr
ldap is compiled statically in the php binaries in the brew formula, so it is not required to be installed separately.
https://github.com/shivammathur/homebrew-php/blob/master/Formula/php%407.4.rb#L173
Please run php -m to check if the extension is loading on your end.


rtx global shell local

#711

@jdxcode  for 3, I never used nushell and xnosh, can you help?
and also 4 is a little tough hard for me.

This fails with rtx shell -vhy and other niche scenarios.
Try this instead (zsh/bash):
   case "$command" in
   deactivate|shell)
+    for arg in "$@"; do
+      if [[ "$arg" == "--help" || "$arg" =~ ^-[a-zA-Z]*h.*$ ]]; then
+        command rtx "$command" "$@"
+        return
+      fi
+    done
     eval "$(command rtx "$command" "$@")"
     ;;

I've never used fish so I don't know what the equivalent syntax would be.

superseded by https://github.com/jdx/rtx/pull/976


TLS 1.3: add 'integrity-only' cipher suites

This WiP PR is for implementing #18343.
The code is (so far) by Yiannis Stavrou of Nozomi Networks of 2019/2020,
recently rebased by me on the current master.
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

The code is (so far) by Yiannis Stavrou of Nozomi Networks of 2019/2020,
recently rebased by me on the current master.

Note that we would need an ICLA and (probably) CCLA.

This PR has the label 'hold: cla required' and is stale: it has not been updated in 30 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 61 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has been closed.  It was waiting for a CLA for 90 days.


streaming audio decoder, enables receiving compressed audio from TTS services

also moved it to an executor, to avoid decoding while blocking async runloop

Thanks for fixing the CI!


[nixos-24.05] tailscale: 1.66.4 -> 1.74.1

This PR backports all recent tailscale updates to stable. As tailscale is connected to an online service we should regularly backport fixes.
Also I want to prove a point that requiring newer go versions and backporting them is a none issue on NixOS.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

3 packages built:

go_1_23
tailscale
trayscale

Tested Locally

Should we also mention that we are bring go1.23 to 24.05 ?

Should we also mention that we are bring go1.23 to 24.05 ?

It is not generally available, just a quick aid to compile tailscale 😅


remove _UNKNOWN

This will remove _UNKNOWN, a sentinel object used in httplib, out of the OldHTTPResponse. All of these variables, except length are initialized in begin so their starting state of None is fine. I can't find anything that is actually touching length in OldHTTPResponse now.

Is there a specific reason behind this change?

Kills that TODO? Unless that is meant to be for the whole class.

Yeah this addresses the project list item "remove _UNKNOWN for v2. Haven't found a way to link to those.

@nateprewitt I don't think there's a way to link project notes to Issues / PRs

https://github.com/shazow/urllib3/projects/1#card-1080206

Thanks @haikuginger!

Current coverage is 95.75% (diff: 100%)

Merging #1072 into v2 will decrease coverage by <.01%

@@                 v2      #1072   diff @@
==========================================
  Files            21         21
  Lines          2167       2166     -1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           2075       2074     -1
  Misses           92         92
  Partials          0          0

Powered by Codecov. Last update e34462c...497e3e0

Yeah, the TL;DR high level overview of why I want changes like this is that I want to reduce the surface area of OldHTTPResponse to make factoring it away easier. If I can more easily see what we don't need, then it is easier to do that.

Looks like we might need a sentinel, unless this is duplicated by our other logic for socket options.

Yeah, I took a deeper dive yesterday and I don't think we can avoid the sentinel here. I added a more specific one for this case.

Unrelated to the code in this PR, but I'd really prefer if people create issues from project cards so that they're reference-able. On top of that, more descriptive commit messages would be wonderful. As it stands "remove _UNKNOWN" tells me nothing more than reading the patch does.

Totally, +1 on that. I'll reword this with an extended commit message. Perhaps a smaller umbrella issue of "simplifying OldHTTPResponse for v2 refactoring" so we're not creating a new ticket for every small removal with the same purpose?

Alright 3.4 needs a quick kick, but this should be set for whenever. Don't feel compelled to review @Lukasa, I'm happy to let this sit until after the holidays  :)

Restarted 3.4 on OSX for you @nateprewitt


VS Code occasionally forgets all of my recently opened documents

VSCode Version: 1.39.2
OS Version: Ubuntu 18.10

Every now and then (maybe once a month), I'll turn on my computer, open up VS Code, and all of my recently opened workspaces will be gone. That is, there's nothing in the "Recent" section of the Welcome page, and nothing under File > Open Recent. This seems to happen at random.

Does this issue occur when all extensions are disabled?: I don't know. I would have to run VS Code without extensions for weeks in order to find out. Running with extensions disabled certainly doesn't bring back

This seems to happen at random.

That will make it hard for us to push a change that results in a fix. Unless you can find steps to reproduce, I will have to close this issue.
We do save this state in a file in the user data dir, and maybe it gets corrupt, e.g. when shutting down the machine while VSCode is running.
Please see if you can find any logged output that could help us find the source of the issue:

run code --verbose from the command line and attach the output
in Code select Help | Toggle Developer Tools and select the Console
attach any output you see in the Console you can find

Thanks!


[v3] Updated migration documentation, added trait for testing migratrations

This supersedes #87 fleshing out the migration documentation to include:

examples of adding normalised FQCN entries for factories
clear up the changes required for $shareByDefault / $sharedByDefault
provide example of handling plugin manager validation exceptions

It includes a trait that can be used when testing migrations to ensure aliases resolve, etc.
Note that tests will fail until #92 is merged

Thanks - I've moved the test trait as requested. I'll do a separate PR against release-2.7 so any tests using it run in both.

Cherry-picked to master for release with 3.0.3.


dask variables do not fit LocalCluster

Here you set the variables for the dask disterbuted
https://github.com/JaneliaSciComp/bigstream/blob/7ca7e7707ce159461821bb0e5de2f02e33d02885/bigstream/application_pipelines.py#L206
but they only fit
janelia_lsf_cluster
and not local_cluster
from dask.distributed import Client, LocalCluster
e.g. ncpus/threads/min_workers are not accepted variable for LocalCluster - https://distributed.dask.org/en/latest/api.html#cluster

Hi again Oren!
Yes this part of the code is very poorly documented. It's just always been a work in progress in my mind so I haven't committed to the engineering and thus haven't documented it sufficiently. Here's an explanation on this particular issue that I wrote out for someone else a few days ago:
There is a very simple solution to this issue - the code isn't bugged or anything - the major problem is that the documentation for the dask cluster aspects of the code is very very incomplete. I'm really sorry if this has caused any frustration or delay. It's simply a matter of time, it's really hard to write code that works and then in some ways even harder (and more time consuming) to describe how it works in plain language.
So the cluster_kwargs that you've used in the past eventually get passed to this function in my little ClusterWrap package: https://github.com/GFleishman/ClusterWrap/blob/0975096acda228e1443f398c715ba1b316a88d41/ClusterWrap/clusters.py#L64. You'll recognize that a lot of the arguments are briefly described in the docstring there. Any argument that goes in cluster_kwargs which is not present in that docstring would be described here instead (since kwargs get passed to the dask_jobqueue.LSFCluster object): https://jobqueue.dask.org/en/latest/generated/dask_jobqueue.LSFCluster.html#dask_jobqueue.LSFCluster
HOWEVER - all of that only applies when you're working on an LSF cluster, like the Janelia cluster. When you're working locally you don't want to use an LSFCluster object you want to use a LocalCluster object. Bigstream works this out for you, but it doesn't (though it should) tell you that you need a different set of parameters to work with a LocalCluster object.
Here is the function that gets called to build the LocalCluster when you're working locally: https://github.com/GFleishman/ClusterWrap/blob/0975096acda228e1443f398c715ba1b316a88d41/ClusterWrap/clusters.py#L237. So you see that function doesn't take many of its own arguments, it's just a very thin wrapper around this object: https://distributed.dask.org/en/stable/api.html#distributed.LocalCluster; so those are the parameters you have to play with locally. You'll need to understand a little bit about how resources are different on a cluster vs. your workstation. Locally you have many less cpu cores to use (maybe 4, 8, 10, or 16 maximum) and far less RAM (typically between 16GB and 256GB depending on what kind of machine you're using). Let's say I had a machine with 8 cpu cores and 32GB memory. I might set up my LocalCluster like this:
cluster_kwargs = {
    'n_workers':3,
    'threads_per_worker':2,
    'memory_limit':'8GB',
}

This would create three different dask workers (allowing three alignments to run in parallel at a time) each worker having 2 threads (allowing for some multithreading within each alignment - speeds up the registrations). Note memory_limit is per worker so we're saying each worker can use 8GB RAM maximum. This configuration uses about 75% of the local machine to do the bigstream job and leaves 25% of the resources untouched to make sure you can still use your browser, Fiji, or whatever else you might be using the same machine for at the time.
Ok - I hope this is still relevant, and a lot of people have been asking for the same information so I really need to get better documentation on this into the package somehow (probably will just copy+paste this explanation on github at least for now).

Let me know if that's sufficient information to consider the issue addressed for now so I can close, otherwise I'm happy to discuss more.

Thanks a lot @GFleishman, might worth adding it to the exmaples, as most ppl will not have acces to LSF cluster and will use it on their desktop (At least for the first time).
This is the change that I've done in my code:
c = {'processes': 20, 'threads_per_worker': 1, 'n_workers': 20}


Moving from Travis to GitHub Actions

Hello 🙂
Over the last few months we've been transferring all our CI from Travis to GitHub Actions (GHA). We've found that GHA are easier to work with, more reliable, and much much faster.
Based on our success with GHA and increasing intermittent failures on Travis, we have now decided to try and remove Travis from Exercism's org altogether and shift everything to GHA. This issue acts as a call to action if your track is still using Travis.
For most CI checks this should be a transposing from Travis' syntax to GHA syntax, and hopefully quite straightforward (see this PR for an example).  However, if you do encounter any issues doing this, please ask on Slack where lots of us now have experience with GHA, or post a comment here and I'll tag relevant people. This would also make a good Hacktoberfest issue for anyone interested in making their first contribution 🙂
If you've already switched this track to GHA, please feel free to close this issue and ignore it.
Thanks!

We are currently using GHA, but some of the old Travis files are still around. I'll see this task to clean them up. Thanks for posting this!


[QUAL-1341] Product Updates June 2024

Most of the work we have been doing during June was internally so I think this is the most valuable information we can share with our customers.

@Claukorze I reverted the commit on main. Can you add it to this PR on the branch?

I still don't see the product updates here.
I'll give a prelimary review based on https://github.com/andela-technology/qualified-docs/commit/7fe11647fcf85d3a003bca8b0dd5934a2f86da98:

"Demo Data - Scoring Inaccurate" we shouldn't alert customers about this until we actually fix the data. Until then, it's a bad look because we're disabling the feature entirely since the data is confusing. Once we fix it this would be good to include.
"Billing Page Displaying Wrong Number of Active Users" is good.
"'See all of the programming languages we support' link is broken" is too trivial to mention.

OK, I did the merge on the web. Here's how to do it:

Then manually resolve the conflict by adding and deleting lines until there's no diff and click commit:


Add support project relative paths

Clear and concise description of the problem
In monorepositories, tests are run inside packages, and vitest+junit takes a path relative to the launch location.
Suggested solution
Аdd the ability to specify project root
Alternative
Rewrite output xml after tests
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Can you elaborate? I have no idea what you want.

Can you elaborate? I have no idea what you want.

My project structure
. root
|
. - apps
|  |
|  . - api
|
. - packages
|  |
|  . - server

This is my test junit report in folder packages/server
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites name="vitest tests" tests="5" failures="0" errors="0" time="7.68">
    <testsuite name="src/server.test.ts" timestamp="2022-12-26T07:20:43.666Z" tests="5" failures="0" errors="0" skipped="0" time="0.014">
        <testcase classname="src/server.test.ts" name="Server > should return response" time="0.009">
        </testcase>
        <testcase classname="src/server.test.ts" name="Server > should return 404 if no corresponding route" time="0.002">
        </testcase>
        <testcase classname="src/server.test.ts" name="Server > should log incoming request" time="0">
        </testcase>
        <testcase classname="src/server.test.ts" name="Server > should pass logger bindings" time="0.001">
        </testcase>
        <testcase classname="src/server.test.ts" name="Server > should log middleware start and finish" time="0.001">
        </testcase>
    </testsuite>
</testsuites>

testcase has the classname attribute with the relative package value src/server.test.ts.
But I want to have an option that records the classname with the relative value of the project packages/server/server.test.ts

Can't you just use root option for this?

Can't you just use root option for this?

No, for different project we use different configs.

Can't you just use root option for this?

No, for different project we use different configs.

And why can't you use the same root in different configs?

I think this is part of #256, so closing the issue in favour of it.


only reproduce 42.94 in miniimagenet

Hi, Thanks for your excellent work!
I only reproduce 42.94 using the default parameters. I guess the reason maybe that the code does not contain the 2nd derivatives. The original authors of MAML using
if FLAGS.stop_grad:                     grads = [tf.stop_gradient(grad) for grad in grads]
Is this the reason for the error?

I guess probably not.
the stop_gradient is for using 1-order derivative approximation. I did not includes it since I only implement the 2nd order version, which should performance better.

Thanks for  your reply!
I achieved 0.4644 with more epochs.
A few more question, I noticed grad = torch.autograd.grad(loss, fast_weights) can be used to calculate the 1nd order gradient and then use fast_weights = list(map(lambda p: p[1] - self.update_lr * p[0], zip(grad, fast_weights))) to calculate the 2nd gradient.
if we only use grad = torch.autograd.grad(loss, fast_weights, create_graph=True), is it can be used to calculate 2nd gradient?

maybe you can add me wechat: dragen1860 . I dnt get your point clearly.


English and Arabic words in one PDF

Link to PDF file (or attach file here):
Configuration:

Web browser and its version: Chrome 57.0.2987.133
Operating system and its version: Windows 7
PDF.js version: 1.8.233
Is an extension: mozilla/pdfjs-dist

Steps to reproduce the problem:

have a correct PDF with both English and Arabic words generated from HTML with Direction=RTL
open in PDF.JS using canvas

What is the expected behavior? (add screenshot) http://image.prntscr.com/image/abd035980a694418b848be2ce2028efa.png
this is a screenshot of PDF in common viewer
What went wrong? (add screenshot)
http://image.prntscr.com/image/bae1072bfba14f21a8c514c41b92de12.png
this is a screenshot of PDF at page using PDFJS
English text is distorted
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Link to PDF file (or attach file here):
https://www.dropbox.com/s/6upv4t1n50913s6/test_application_19042017184451673.pdf?dl=0

Link to PDF file (or attach file here):

Please provide the PDF file here, since it's impossible to help otherwise.

Link to PDF file (or attach file here):
https://www.dropbox.com/s/6upv4t1n50913s6/test_application_19042017184451673.pdf?dl=0

Even though the rendering in PDF.js isn't as smooth as in e.g. Adobe Reader, I cannot reproduce any real errors, compare the screen-shots from Adobe Reader and PDF.js below (taken on Windows 7).
Hence I'm not convinced that it's a font conversion issue, since it seems more likely to be an issue related to font rendering quality on canvas on some platforms (e.g. Windows).

@denislagoda Are you using the latest graphics drivers? Issues like these have come up before and usually upgrading the graphics drivers fixes a lot of issues.

timvandermeij>> This happens on all computers in our team: Windows 7 , 8. 10, MAC (OS X El Capitan). So I would not suspect drivers.
El Capitan screenshot (not the same file but the same report from the same aplication):
https://www.dropbox.com/s/o158k97251j9h9y/^4841A458E6EB3F2BF5FF5B316BBB57AF0099E6706FE07F5139^pimgpsh_fullsize_distr.jpg?dl=0

This is simplified code of our Angular directive that produces this issue
`.directive('pdfPreviewerMono', [
'$window',
'securityService',

function ($window, securityService) {

    return {
        restrict: 'E',
        scope: {
            pdfList: "=" //list of pdf files
        },
        templateUrl: '../common/components/pdfPreviewerMono/pdfPreviewerMono.tpl.html',
        link: function (scope, element, attrs) {

            var PDFJS = $window.PDFJS;
            PDFJS.disableWorker = true;
            var pdfRenderTask;

            var canvasPdfPreviewer = element.find('.pdf-previewer')[0];
            var canvasContext = canvasPdfPreviewer.getContext('2d');

            var tokenData = securityService.getTokenData();
            var config = {};

            if (tokenData) {
                config.httpHeaders = {};
                config.httpHeaders.authorization = tokenData.token_type + ' ' + tokenData.access_token;
            }

            //loading pdf
            scope.getPdfDocumentMono = function (pdfObject) {
                config.url = pdfObject.pdfUrl;
                var pdfLoaderTask = PDFJS.getDocument(config, null, null);
                pdfLoaderTask
                    .then(function (pdfDoc) {
                                scope.$apply(function () {
                                    pdfObject.pdfDocument = pdfDoc;
                                    scope.curentDocument = pdfObject.pdfDocument;
                                    scope.renderPage();
                                });
                        }
                    );
            };

            scope.renderPage = function () {
                    scope.curentDocument.getPage(1)
                        .then(function (page) {
                                var viewport = page.getViewport(1.5);
                                scope.setCanvasDimensions(viewport.width, viewport.height);
                                var renderContext = {
                                    canvasContext: canvasContext,
                                    viewport: viewport
                                };
                                pdfRenderTask = page.render(renderContext);
                        });
            };

            scope.setCanvasDimensions = function (w, h) {
                canvasPdfPreviewer.width = w;
                canvasPdfPreviewer.height =h;
                canvasPdfPreviewer.style.width = Math.floor(w) + 'px';
                canvasPdfPreviewer.style.height = Math.floor(h) + 'px';
                canvasContext.setTransform(1, 0, 0, 1, 0, 0);
            };

            scope.getPdfDocumentMono(scope.pdfList[0]);

        }
    };
}

]);`

Issue is resolved:

Issue is resolved:
Because the whole page was under direction=rtl.
Just changed a container with canvas to direction=ltr

Is worked for me
Thank you for save my time


Deprecation warning: move to df.resampling('h')

<cell-14>:14: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead. /Users/dchassin/github/slacgismo/efinsight/lib/python3.11/site-packages/sg2t/utils/timeseries.py:111: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.   df_resampled = df_aggregated.resample('H').mean()

Moved to sg2t repo


Interface for callable struct

I can't seem to find a syntax that works, is it possible to directly use @required for the callable method of a callable struct?
Currently I'm only able to do it through an intermediate method like this:
using RequiredInterfaces
using Test
const RI = RequiredInterfaces

abstract type A end

(a::A)(x) = call(a, x)

@required A begin
    call(a::A, x)
end

struct B <: A end

call(b::B, x) = 0.0

instead of:
using RequiredInterfaces
using Test
const RI = RequiredInterfaces

abstract type A end

@required A begin
    (a::A)(x)
end

struct B <: A end

(b::B)(x) = 0.0

Good catch! I hadn't thought of that usecase. The macro is actually only choking on this because I just take the first part of the :call expression and naively use that, which doesn't work anymore if that itself is a :: expression as well.
The fix would be to special case this here, explicitly checking whether this is a symbol or an a::A kind of expression:
https://github.com/Seelengrab/RequiredInterfaces.jl/blob/f159df317bd82d1f174c58b48205f8600591947e/src/RequiredInterfaces.jl#L72C15-L72C15
This may have some implications on how this is checked for - RequiredInterfaces.jl currently uses methods internally for its checking, which requires an instance of A (or B) in order to query the callable methods for it.. I'll have to see how this can be accommodated without requiring an instance of B.

This has been implemented in https://github.com/Seelengrab/RequiredInterfaces.jl/commit/6644a95dd5c0f9b8891631ce318c0b2687d58035


Update isPublic() to include allAuthenticatedUsers

Introduced in https://github.com/googleapis/nodejs-storage/pull/708. The method helps developers understand if a given object is publicly accessible.
One case that was not covered in the PR was authenticated access to public objects. IAM has the identifier allAuthenticatedUsers with the following capability(doc):

This is a special identifier that represents anyone who is authenticated with a Google account or a service account. Users who are not authenticated, such as anonymous visitors, are not included.

isPublic() should make a HEAD request using client credentials as well. This effectively requires two separate requests.

Speaking with @jkwlui, this is more of a FR than a bug.
The request was to include allAuthenticatedUsers as well, but the semantic meaning behind this API is to support public data access checks.
I'm closing for now as it requires a design document due to the complex subtleties.


MudDatePicker - Tab focus then click to choose date doesn't update

Bug type
Component
Component name
MudDatePicker
What happened?
If you tab to focus onto a MudDatePicker and then click on the component to open the date select dialog and then choose a date, it does not update the component visually but it does update the binding.
I am unable to recreate this issue in the try.mudblazor.com but I put the code that can be placed inside a Blazor Server project and can be reproduced there.
Expected behavior
The date should update visually after selecting a date.
Reproduction link
https://try.mudblazor.com/snippet/wuGREpYFJkgzqJXa
Reproduction steps

Take the code from reproduction link and put it into a Blazor Server project Index page.
Run the project.
Click on name text box.
Tab to date time picker.
Click on date time picker to select date
Select date
Date will not be updated visually

Relevant log output
No response
Version (bug)
6.2.2
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I am having the same issue.  This seems to happen for any control with a popup.  I think this is very serious issue with most users probably tabbing through a data entry form.

I'm not the best to solve this, but I have narrowed it down to the the following.
<MudInputControl>     <InputContent>         <MudInput<EMAIL_ADDRESS>ReadOnly=true TextUpdateSuppression=false />             </InputContent> </MudInputControl>
If Using a ReadOnly field, and you tab over it, any change to the underlying value will not be updated on the ReadOnly Control. If TextUpdateSuppression is set to False, it updates the value correctly. I would imagine that the problem lies in SetTextAsync.
I hope that someone is able to fix this.

I am currently using MudBlazor version 6.7.0 and the problem still exists.
Are there already solutions to work around this? It would be nice to find a solution for this.
Currently I set tabindex="-1" on the MudDatePicker to disable tab focus, but in other forms it will be necessary to tab through the corresponding input fields.

I am currently using MudBlazor version 6.9.0 and the problem still exists. I use all the tabindex="-1" attribute but this is not a good solution

After fighting this issue for a while, I found that it is related to the 'Editable' parameter being false by default. Once I included the parameter, setting it to true, the picker works as expected.

After fighting this issue for a while, I found that it is related to the 'Editable' parameter being false by default. Once I included the parameter, setting it to true, the picker works as expected.

Well problem still present (6.19.1) and what if we don't wanna editable just selectable?

I solved the issue by setting TextUpdateSuppression to false. I have wrapped all of the inputs and when the property isn't available to change (MudDatePicker), I use attribute splatting through UserAttributes to set it.

Version 6.19.1 problem still present

Version 7.15.0 the problem still exist


Missing types for chrome.runtime.lastError and chrome.runtime.sendMessage

Hi, I'm now migrating an extension to manifest v3 that was previously using @types/chrome, so far I have found 3 issues working with chrome-types:

Not really sure, but I think chrome.runtime.lastError is still a thing in manifest v3 and the types do not reflect its existence
For chrome.runtime.sendMessage there's a missing overload to call it only with a message and the callback, like chrome.runtime.sendMessage(message, cb)
Not sure if it's something intended but the types are missing adding the chrome property to the Window interface, if so, I think there should be some docs to show that

Thanks!

Hi, to add chrome types on your project, you may include it on tsconfig.json's compilerOptions like this
I agree with you on the runtime.sendMessage method missing the overloads.
I think @types/chrome has has them properly typed with Promises
{
  "compilerOptions": {
    "types": ["chrome-types"]
  }
}


Update Composer dependencies (2021-03-08-00-03)

Visual regression test passed!
View the visual regression test report


test error auto3dseg/notebooks/auto3dseg_hello_world.ipynb

[2022-11-24T02:39:19.982Z] Running ./auto3dseg/notebooks/auto3dseg_hello_world.ipynb
[2022-11-24T02:39:19.982Z] Checking PEP8 compliance...
[2022-11-24T02:39:20.908Z] Running notebook...
[2022-11-24T02:39:20.908Z] Before:
[2022-11-24T02:39:20.908Z]     "max_epochs = 2\n",
[2022-11-24T02:39:20.908Z] After:
[2022-11-24T02:39:20.908Z]     "max_epochs = 1\n",
[2022-11-24T02:39:25.067Z] MONAI version: 1.0.0+130.gdd178ea3
[2022-11-24T02:39:25.067Z] Numpy version: 1.22.2
[2022-11-24T02:39:25.067Z] Pytorch version: 1.10.2+cu102
[2022-11-24T02:39:25.067Z] MONAI flags: HAS_EXT = False, USE_COMPILED = False, USE_META_DICT = False
[2022-11-24T02:39:25.067Z] MONAI rev id: dd178ea3bcaadbe6e3da964acc3bb4c027383fbf
[2022-11-24T02:39:25.067Z] MONAI __file__: /home/jenkins/agent/workspace/Monai-notebooks/MONAI/monai/__init__.py
[2022-11-24T02:39:25.067Z]
[2022-11-24T02:39:25.067Z] Optional dependencies:
[2022-11-24T02:39:25.067Z] Pytorch Ignite version: 0.4.10
[2022-11-24T02:39:25.067Z] Nibabel version: 4.0.2
[2022-11-24T02:39:25.067Z] scikit-image version: 0.19.3
[2022-11-24T02:39:25.067Z] Pillow version: 7.0.0
[2022-11-24T02:39:25.067Z] Tensorboard version: 2.11.0
[2022-11-24T02:39:25.067Z] gdown version: 4.5.3
[2022-11-24T02:39:25.067Z] TorchVision version: 0.11.3+cu102
[2022-11-24T02:39:25.067Z] tqdm version: 4.64.1
[2022-11-24T02:39:25.067Z] lmdb version: 1.3.0
[2022-11-24T02:39:25.067Z] psutil version: 5.9.2
[2022-11-24T02:39:25.067Z] pandas version: 1.1.5
[2022-11-24T02:39:25.067Z] einops version: 0.6.0
[2022-11-24T02:39:25.067Z] transformers version: 4.21.3
[2022-11-24T02:39:25.067Z] mlflow version: 2.0.1
[2022-11-24T02:39:25.067Z] pynrrd version: 1.0.0
[2022-11-24T02:39:25.067Z]
[2022-11-24T02:39:25.067Z] For details about installing the optional dependencies, please visit:
[2022-11-24T02:39:25.067Z]     https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies
[2022-11-24T02:39:25.067Z]
[2022-11-24T02:39:25.993Z] /opt/conda/lib/python3.8/site-packages/papermill/iorw.py:153: UserWarning: the file is not specified with any extension : -
[2022-11-24T02:39:25.993Z]   warnings.warn(
[2022-11-24T02:39:51.259Z]
Executing:   0%|          | 0/20 [00:00<?, ?cell/s]
Executing:   5%|▌         | 1/20 [00:01<00:30,  1.60s/cell]
Executing:  15%|█▌        | 3/20 [00:06<00:36,  2.15s/cell]
Executing:  25%|██▌       | 5/20 [00:09<00:29,  1.94s/cell]
Executing:  45%|████▌     | 9/20 [00:10<00:09,  1.18cell/s]
Executing:  55%|█████▌    | 11/20 [00:10<00:06,  1.49cell/s]2022-11-24 02:39:50.821023: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
[2022-11-24T02:39:51.259Z] To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
[2022-11-24T02:39:51.259Z] 2022-11-24 02:39:50.957900: I tensorflow/core/util/port.cc:104] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[2022-11-24T02:39:51.821Z] 2022-11-24 02:39:51.622650: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:39:51.821Z] 2022-11-24 02:39:51.622738: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:39:51.821Z] 2022-11-24 02:39:51.622745: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
[2022-11-24T02:39:53.184Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:39:56.451Z] The default behavior for interpolate/upsample with float scale_factor changed in 1.6.0 to align with other frameworks/libraries, and now uses scale_factor directly, instead of relying on the computed output size. If you wish to restore the old behavior, please set recompute_scale_factor=True. See the documentation of nn.Upsample for details.
[2022-11-24T02:39:56.451Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:40:14.493Z] <function compute_meandice at 0x7fd2c06d00d0>: Function `compute_meandice` has been deprecated since version 1.0.0. use `compute_dice` instead.
[2022-11-24T02:40:14.493Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:40:16.378Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:40:16.378Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:40:22.911Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:40:54.936Z] 2022-11-24 02:40:49.709860: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
[2022-11-24T02:40:54.936Z] To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
[2022-11-24T02:40:54.936Z] 2022-11-24 02:40:49.857869: I tensorflow/core/util/port.cc:104] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[2022-11-24T02:40:54.936Z] 2022-11-24 02:40:50.566805: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:40:54.936Z] 2022-11-24 02:40:50.566890: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:40:54.936Z] 2022-11-24 02:40:50.566898: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
[2022-11-24T02:40:56.824Z] The default behavior for interpolate/upsample with float scale_factor changed in 1.6.0 to align with other frameworks/libraries, and now uses scale_factor directly, instead of relying on the computed output size. If you wish to restore the old behavior, please set recompute_scale_factor=True. See the documentation of nn.Upsample for details.
[2022-11-24T02:40:56.824Z] <function compute_meandice at 0x7feb8f633a60>: Function `compute_meandice` has been deprecated since version 1.0.0. use `compute_dice` instead.
[2022-11-24T02:41:00.985Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:41:00.985Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:41:13.153Z] 2022-11-24 02:41:11.934842: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
[2022-11-24T02:41:13.153Z] To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
[2022-11-24T02:41:13.153Z] 2022-11-24 02:41:12.074795: I tensorflow/core/util/port.cc:104] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[2022-11-24T02:41:13.153Z] 2022-11-24 02:41:12.767170: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:41:13.153Z] 2022-11-24 02:41:12.767249: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:41:13.154Z] 2022-11-24 02:41:12.767257: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
[2022-11-24T02:41:14.518Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:41:16.405Z] <function compute_meandice at 0x7f492bd26c10>: Function `compute_meandice` has been deprecated since version 1.0.0. use `compute_dice` instead.
[2022-11-24T02:41:17.331Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:41:17.331Z] Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
[2022-11-24T02:41:29.493Z] 2022-11-24 02:41:28.419269: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
[2022-11-24T02:41:29.493Z] To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
[2022-11-24T02:41:29.493Z] 2022-11-24 02:41:28.563346: I tensorflow/core/util/port.cc:104] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[2022-11-24T02:41:29.493Z] 2022-11-24 02:41:29.248034: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:41:29.493Z] 2022-11-24 02:41:29.248128: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:41:29.493Z] 2022-11-24 02:41:29.248136: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
[2022-11-24T02:41:32.024Z] <function compute_meandice at 0x7f0bcfd58820>: Function `compute_meandice` has been deprecated since version 1.0.0. use `compute_dice` instead.
[2022-11-24T02:41:44.185Z] 2022-11-24 02:41:43.125331: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
[2022-11-24T02:41:44.185Z] To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
[2022-11-24T02:41:44.185Z] 2022-11-24 02:41:43.264840: I tensorflow/core/util/port.cc:104] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[2022-11-24T02:41:44.185Z] 2022-11-24 02:41:43.942032: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:41:44.185Z] 2022-11-24 02:41:43.942113: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.8/site-packages/torch/lib:/opt/conda/lib/python3.8/site-packages/torch_tensorrt/lib:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
[2022-11-24T02:41:44.185Z] 2022-11-24 02:41:43.942121: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
[2022-11-24T02:41:47.447Z] <function compute_meandice at 0x7f782f2ea940>: Function `compute_meandice` has been deprecated since version 1.0.0. use `compute_dice` instead.
[2022-11-24T02:41:59.534Z]
Executing:  85%|████████▌ | 17/20 [02:30<00:40, 13.39s/cell]
Executing:  95%|█████████▌| 19/20 [02:31<00:10, 10.69s/cell]
Executing:  95%|█████████▌| 19/20 [02:33<00:08,  8.08s/cell]
[2022-11-24T02:41:59.534Z] /opt/conda/lib/python3.8/site-packages/papermill/iorw.py:153: UserWarning: the file is not specified with any extension : -
[2022-11-24T02:41:59.534Z]   warnings.warn(
[2022-11-24T02:41:59.534Z] Traceback (most recent call last):
[2022-11-24T02:41:59.534Z]   File "/opt/conda/bin/papermill", line 8, in <module>
[2022-11-24T02:41:59.534Z]     sys.exit(papermill())
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
[2022-11-24T02:41:59.534Z]     return self.main(*args, **kwargs)
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1055, in main
[2022-11-24T02:41:59.534Z]     rv = self.invoke(ctx)
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
[2022-11-24T02:41:59.534Z]     return ctx.invoke(self.callback, **ctx.params)
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 760, in invoke
[2022-11-24T02:41:59.534Z]     return __callback(*args, **kwargs)
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
[2022-11-24T02:41:59.534Z]     return f(get_current_context(), *args, **kwargs)
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/papermill/cli.py", line 250, in papermill
[2022-11-24T02:41:59.534Z]     execute_notebook(
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/papermill/execute.py", line 128, in execute_notebook
[2022-11-24T02:41:59.534Z]     raise_for_execution_errors(nb, output_path)
[2022-11-24T02:41:59.534Z]   File "/opt/conda/lib/python3.8/site-packages/papermill/execute.py", line 232, in raise_for_execution_errors
[2022-11-24T02:41:59.534Z]     raise error
[2022-11-24T02:41:59.534Z] papermill.exceptions.PapermillExecutionError:
[2022-11-24T02:41:59.534Z] ---------------------------------------------------------------------------
[2022-11-24T02:41:59.534Z] Exception encountered at "In [9]":
[2022-11-24T02:41:59.534Z] ---------------------------------------------------------------------------
[2022-11-24T02:41:59.534Z] IndexError                                Traceback (most recent call last)
[2022-11-24T02:41:59.534Z] Cell In [9], line 14
[2022-11-24T02:41:59.534Z]      12 cbar = plt.colorbar(shrink=0.8)
[2022-11-24T02:41:59.534Z]      13 plt.subplot(2, 2, 3)
[2022-11-24T02:41:59.534Z] ---> 14 plt.imshow(pred[32, :, :, 0])
[2022-11-24T02:41:59.534Z]      15 plt.title('background class prediction')
[2022-11-24T02:41:59.534Z]      16 cbar = plt.colorbar(shrink=0.8)
[2022-11-24T02:41:59.534Z]
[2022-11-24T02:41:59.534Z] IndexError: too many indices for array: array is 3-dimensional, but 4 were indexed

is this introduced by https://github.com/Project-MONAI/MONAI/pull/5562? could you please have a look @mingxin-zheng @myron

I think the issue that predictions are saved properly as 3D images now, and not 4D.
so the plot should be
plt.imshow(pred[32, :, :]==0) instead of plt.imshow(pred[32, :, :, 0])
and
plt.imshow(pred[32, :, :]==1) instead of plt.imshow(pred[32, :, :, 1])
@mingxin-zheng  can you test it please, I don't have an easy way to test at the moment

@wyli @myron Since the output is not default to one-hot encoding, it breaks the imshow lines. My fix should work in either way (1.0.1 and the dev branch).


set common fallback of circuitbreaker in FeignCircuitBreakerInvocationHandler

hello,I want to set common fallback in circuitbreaker when use feign and resiliense4j，not add @fallback in every @FeignClient.
Now I rewrite FeignCircuitBreaker class and FeignCircuitBreakerInvocationHandler class.I want to set in FeignClientsConfiguration by circuitBreakerFeignBuilder()
 @Configuration(proxyBeanMethods = false)
	@ConditionalOnClass(CircuitBreaker.class)
	@ConditionalOnProperty("feign.circuitbreaker.enabled")
	protected static class CircuitBreakerPresentFeignBuilderConfiguration {
		@Bean
		@Scope("prototype")
		@ConditionalOnMissingBean({ Feign.Builder.class, CircuitBreakerFactory.class })
		public Feign.Builder defaultFeignBuilder(Retryer retryer) {
			return Feign.builder().retryer(retryer);
		}

		@Bean
		@Scope("prototype")
		@ConditionalOnMissingBean
		@ConditionalOnBean(CircuitBreakerFactory.class)
		public Feign.Builder circuitBreakerFeignBuilder() {
			return FeignCircuitBreaker.builder();
		}

	}

And my way is
@Configuration
public class FeignConfig {

	@Bean
	@ConditionalOnBean({CircuitBreaker.class, CircuitBreakerFactory.class})
	@Scope("prototype")
	public Feign.Builder circuitBreakerFallbackFeignBuilder() {
		return FeignCircuitBreakerFallback.builder();
	}
}

but it is not work.
Could you give me some suggestion?

Hello @chocolateaya , the only supported way to configure callbacks is the one described in the docs. Alternatively, you could use FeignClientBuilder and its fallback() method, but that is also used to build each client individually.


[CMT-879-1239] fair-launches-decentralized-collaboration-and-fixed-forex - Greek Translation

Description
fair-launches-decentralized-collaboration-and-fixed-forex  Article Greek Translation
This pull request ...
Type of change

[X] Add a new translation

@stathismazarakos please let me know when this is ready to go. Thanks

@qosmonot I closed all comments! Its ready to go!


Releasing for both x86 and x64

Hello,
I am trying to release for both architectures at the same time, however when passing:
sudo yarn run package -- --asar --version=1.4.4 --ia32 --x64
Which, according to electron-builder docs should give me both.
I only get the x64 version.
I would like to avoid, if possible, having to package from a 32bit machine.
Thank you.

It should work with "package-win": "npm run build && build --win --x64 --ia32", because run package -- --ia32 doesn't apply to build.

Try running it with npm.

Try running it with npm.
Same thing. Still only releases the x64 version, on both Windows and Ubuntu.
Even doing npm run package -- --ia32 still releases only x64 version.

Try updating to the latest release. package.js was deprecated a few days ago. We use electron-builder now


Fix crash for Cuda<Data_Type>Tensor mismatches

Modify code to adhere to new data types accepted by CudaCopy methods.

Thanks @mmalhotra !


Cancel running PR checks if new commit is pushed

This saves CI time from being wasted on uninteresting commits.
Fixes #784

Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

[ ] Documentation has been updated to reflect change.
[ ] New code has tests, and affected old tests have been updated.
[x] All tests and CI checks pass.
[x] Ensured the pull request title is descriptive.
[ ] Conda lock files have been updated if dependencies have changed.
[ ] Attributed any Generative AI, such as GitHub Copilot, used in this PR.
[x] Marked the PR as ready to review.

Merging sans review as only affects development, and is a small change then.


Imrpove UI in sidebar

🐛 Bug Report

The > symbol and icons should be in 1 line for better view
To Reproduce
Shrink the sidebar in the desktop view
Expected behaviour
The > symbol and icon should be in one line

Environment

node version: 18
os: Linux

I would like to work on this issue. Can you please assign this to me
@Pranshu1902

@SushanthReddy-49 I am don't have access to assign the issue to anyone. I too want to work on the issue and am waiting for the real repo owners to respone

@Pranshu1902 Ok Cool.

Has anyone fixed this already?

hey if no one fixed it i'd love to work on this

I would like to work on this issue?
Please assigned it to me

has anyone worked on this ? I am new to open source and want to contribute on this !!!
Looking forward to response

i want to try fix this issue, has anyone worked on this? im new to try contribute open source project
Please assigned it to me

Let me give it a try please to work on this

Hey! I work as a professional software developer. Doing much front-end work every day. I have not yet contributed to any open-source projects, but I would gladly give this a try if it's okay :)


[Bug]: Switching branch fails with error : Remote does not have refs/heads/ available for fetch

Is there an existing issue for this?

[X] I have searched the existing issues

Description
https://github.com/appsmithorg/appsmith/assets/80334441/b50c1a5f-1073-4fc4-82b1-ea2d3787b45d
Steps To Reproduce

Go to this app
Create new branch or switch to test/branch01
Observe following error is thrown git status failed. Details: Remote does not have refs/heads/test/branch01 available for fetch.
Note: This is not reproducible always

Public Sample App
https://release.app.appsmith.com/app/test-dp/page1-6491742543745f7d202d4c71/edit?branch=test%252Fbranch01
Environment
Release
Issue video log
No response
Version
Release

From this conversation, this sentry issue looks to be linked. Please triage this and fix it while closing this issue.

Closing this as we were not able to reproduce this. Will open again if there is any occurrence in future.


Intersection Types

Apologies in advance if this is an ignorant question, I am not really very familiar with Rescript, I am trying out using the library via the TypeScript API.
Is there anyway to re-use parts of the schema, which are not themselves fields, eg a group of fields? In my mind this would be analogous to a mix-in or how you might use 'intersection' algebraic types in TypeScript

Could you provide an example using https://github.com/colinhacks/zod. Even if it's not possible with the current API, I can add support for this in the next version.

Are you referring to something like this? https://github.com/colinhacks/zod#intersections

Yes, precisely.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Dmitry Zakharov @.>
Sent: Monday, July 3, 2023 3:56:59 PM
To: DZakh/rescript-struct @.>
Cc: justin0mcateer @.>; Author @.>
Subject: Re: [DZakh/rescript-struct] Intersection Types (Issue #60)
Are you referring to something like this? https://github.com/colinhacks/zod#intersections
—
Reply to this email directly, view it on GitHubhttps://github.com/DZakh/rescript-struct/issues/60#issuecomment-1619143194, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAT4Q7MZOVNOYPWIHWAMEYDXOMWZXANCNFSM6AAAAAAZ4UUWMA.
You are receiving this because you authored the thread.Message ID: @.***>

I'll add it in the V5.1

I've added it as S.merge in the V5.1 release. Let me know if you need anything else. Starting from V5.1 I've decided to make JS/TS API a legit target for rescript-struct.


Migration to python3.8+

Description
This PR is for the Migration of the project from python 2.7 to python 3.8+
Fixes # (issue)
Type of change

Migrate the version of python so that new contributors can contribute hassle freely.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules
[x] I have added all the three reviewers: @vinitshahdeo, @kashish121 & @ishika1727

Hi @vinitshahdeo please the labels for this PR !

@vinitshahdeo can you please review this PR and merge if possible

@vinitshahdeo can you please review this PR and merge if possible ?

@Kashish121 whats the status about this PR ?


Some changes in inner-padding option

Summary:
The diff modifies the padding option and added tests with compile:

For the scaled_mm of shape MxKxN, the current inner_padding option only pads the K dimension. However, if N is not divisible by 16, we also got the error

E       RuntimeError: CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling `cublasLtMatmulAlgoGetHeuristic( ltHandle, computeDesc.descriptor(), Adesc.descriptor(), Bdesc.descriptor(), Cdesc.descriptor(), Ddesc.descriptor(), preference.descriptor(), 1, &heuristicResult, &returnedResult)`

So, modified the pad_inner option to also pad the K dimensions.

The compile of inner-padding only works with the triton PR https://github.com/triton-lang/triton/pull/4222.

Before the triton PR, the inductor code-gen kernel fails at
tmp10 = tl.where(tmp6, tmp8, tmp9)

TypeError: unexpected type fp8e5 and fp8e5

Reviewed By: irobert0126
Differential Revision: D62003827

overall looks great!  Can we have two more things:

update https://github.com/pytorch/ao/blob/main/benchmarks/float8/bench_padding.py and share data on how this PR impacts performance
mark this PR as BC-breaking and add the before and after state to the PR summary

About the test failures:

Some aot_eager tests failed due to:

  E       RecursionError: maximum recursion depth exceeded while calling a Python object

  /opt/conda/envs/venv/lib/python3.9/site-packages/torch/_dynamo/eval_frame.py:309: RecursionError
  _ test_aot_eager[dtype2-True-ScalingType.DYNAMIC-ScalingType.DELAYED-ScalingType.STATIC-True-True] _

From the error traces, it keeps calling for multiple times until exceeded the maximum recursion depth:
/opt/conda/envs/venv/lib/python3.9/site-packages/torch/_dynamo/backends/common.py:51: in _wrapped_bw_compiler
      return disable(disable(bw_compiler)(*args, **kwargs))
  /opt/conda/envs/venv/lib/python3.9/site-packages/torch/_dynamo/eval_frame.py:632: in _fn
      return fn(*args, **kwargs)
  /opt/conda/envs/venv/lib/python3.9/site-packages/torch/_dynamo/backends/common.py:51: in _wrapped_bw_compiler
      return disable(disable(bw_compiler)(*args, **kwargs))
  /opt/conda/envs/venv/lib/python3.9/site-packages/torch/_dynamo/eval_frame.py:632: in _fn
      return fn(*args, **kwargs)
  /opt/conda/envs/venv/lib/python3.9/site-packages/torch/_dynamo/backends/common.py:51: in _wrapped_bw_compiler
      return disable(disable(bw_compiler)(*args, **kwargs))
  /opt/conda/envs/venv/lib/python3.9/site-packages/torch/_dynamo/eval_frame.py:632: in _fn

test_inductor tests failed at

tmp10 = tl.where(tmp6, tmp8, tmp9)

TypeError: unexpected type fp8e5 and fp8e5

It's expected - the compile of inner-padding only works if the triton package contains this PR https://github.com/triton-lang/triton/pull/4222.
cc @vkuzo

It's expected - the compile of inner-padding only works if the triton package contains this PR https://github.com/triton-lang/triton/pull/4222

can you check if that PR is in triton 3.1.0? https://github.com/pytorch/pytorch/blob/main/.ci/docker/triton_version.txt is the current triton version in OSS PyTorch.

@vkuzo , it's not included in triton 3.1. The pr (#4222) shows in the difference between 3.1.x and main: https://github.com/triton-lang/triton/compare/release/3.1.x...main


Make complete packages mockable

Hi there, we have a lot data classes in our project that we have to mock. Instead of making each class mockable it would be handy to make complete packages mockable. Here is a proposal.

The changes did not built successfully. I created a new pull requests #136 with a few additions.
Thank you very much. I will release a new version.

Okay change of plans :)

please squash the commits and start the commit message with 'feat: Make complete...'

Thanks for the review! I am done with the changes. Also added a bit to the docs. Looking forward to the release.


Begin transport module for httplib2 specific pieces.

Towards #554.

This is a good first step but I'm interested in how you'll make this swappable.

@jonparrott Before making swappable, the goal is to just make the boundary explicit (see the plan in #128).

Gotcha. Okay. I'm fine with this. Nathaniel to merge.
On Wed, Jul 20, 2016, 8:00 PM Danny Hermes<EMAIL_ADDRESS>wrote:

@jonparrott https://github.com/jonparrott Before making swappable, the
goal is to just make the boundary explicit (see the plan in #128
https://github.com/google/oauth2client/issues/128).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/oauth2client/pull/559#issuecomment-234143695,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc2tzwYVIbiUojAKca6xdrRrdvJjvks5qXuDTgaJpZM4JRLDv
.

@nathanielmanistaatgoogle PTAL

Looks mostly good.

@nathanielmanistaatgoogle Addressed the comments I could and gave an answer to the one I couldn't about non-public imports

Looks great; merge (with squashed commits) when tests repass.

See #558 about coverage failing. Not my sword to fall on here. Merging.


Deferred actions

defer 22@ // Mark the val to be handled at the end of of the current block

vM3
P5
P8

// Defer activates and the scale gets tempered to 22-tone equal temperament

I feel like this is the cleanest way to keep the meaning of expressions unambiguous while still allowing that meaning to be bent at the top of the source without having to dangle housekeeping at the bottom of the scale. Likely more relevant to movement in time when sources span hundreds of lines of code, but still nice to have in the language before first release.


Update events.html

CSS Board Election has ended.

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

[ ] ♻ Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 👷 Optimization
[ ] 📝 Documentation Update
[ ] 🔖 Release
[ ] 🚩 Other

2. Description

3. Relevant Documents, Websites, & Issue Numbers

4. Mobile & Desktop Screenshots/Recordings

5. Add tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

6. Remarks, notes, or any future suggestions?
7. Add to the documentation(s)?

[ ] 📜 readme
[ ] 📜 contributing.md
[ ] 📓 docs
[ ] 📕 storybook
[ ] 🙅 no documentation needed

8. Are there any post-deployment tasks we need to perform?
9. What gif best describes this PR or how it makes you feel?

Hey Jennifer, thanks for the reminder. On the Collaborate page can we also change the Exec positions to closed and remove the link in the apply button? Thanks in advance


Maria is unable to accept share

Following the flow from https://github.com/pondersource/sciencemesh-nextcloud/issues/62 I can get through the whole invite exchange and Einstein can share a file with Marie. It then shows up in maria2.docker as:
MariaDB [nextcloud]> select * from oc_share_external;
+----+--------+------------+-------------------------+-----------------------------------------------------------+-------------+----------+--------------+----------+-------+------------------------------------------+----------------------------------+----------+
| id | parent | share_type | remote                  | remote_id                                                 | share_token | password | name         | owner    | user  | mountpoint                               | mountpoint_hash                  | accepted |
+----+--------+------------+-------------------------+-----------------------------------------------------------+-------------+----------+--------------+----------+-------+------------------------------------------+----------------------------------+----------+
|  1 |     -1 |       1000 | https://revanc1.docker/ | {"todo":"compile this info from various database tables"} | vOvPDrtDqE  |          | /welcome.txt | einstein | marie | {{TemporaryMountPointName#/welcome.txt}} | 32021e94fecfcd644f9a5666263732f5 |        0 |
+----+--------+------------+-------------------------+-----------------------------------------------------------+-------------+----------+--------------+----------+-------+------------------------------------------+----------------------------------+----------+

Maria keeps being prompted to accept the share.
If I run
update oc_share_external set accepted=1, mountpoint = 'share.txt';

it does get accepted, but this should happen through the button click.

I'm not seeing any error message anywhere

A normal OCM share starts out as:
2 |     -1 |          0 | https://nc1.docker/     | 2                                                         | 291jkHdPqrMkSrT |          | /welcome.txt | einstein | marie | {{TemporaryMountPointName#/welcome.txt}}-1 | 0101be8d4c0f1e5bcd74708254a3dbd1 |        0

and then changes to:
2 |     -1 |          0 | https://nc1.docker/     | 2                                                         | 291jkHdPqrMkSrT |          | /welcome.txt | einstein | marie | /welcome (2).txt | 3c5955c737575cfed3b0534eca80f0ba |        1

when you click to accept it.

This was likely forgotten, accepting shares works across all EFSSs.


More aggressively shut down DFKs in  tests

this PR is to exercise CI with more aggressive shutdown of DFKs during --config local testing.
prior to this PR, there was a lot of tangled overlap in logging, making it unclear exactly which part of which test is hanging and when

merged as part of #2205 - closing without explicit merge


Add csi-hetzner driver for persistent storage

What feature would you like to be added?
I would like to use PersistentVolumes on a Hetzner cluster.
Hetzner has a official csi-driver.
Without the driver the PersistentVolumeClaim stays pending.
What are use cases of the feature?
Running stateful workloads on hetzner with persistent data out of the box.
Would you like to have a PR adding this feature?
If yes, do you have a recommendation where to put this functionality in the code? Inside the Hetzner externalccm code or some dedicated code for csi/storage?

CSI Driver doesn't require any specific changes to control plane and can be installed as normal user-defined-workload, so what's preventing this?

Yes you are right, csi driver as a user-defined-workload is feasible. My idea was to have volume support out of the box for a better user experience. But bloating the default installation with a maybe unused csi driver sounds also out of scope. So I would agree to have the CSI driver as a user-defined-workload.

CSI driver could be an addon (so no new code).


CDPD-30883 Support Data discovery Datahub template on GCP

For feature parity with AWS and Azure, and to complete DH features for CDP on GCP, add data discovery template on GCP

Can one of the admins verify this patch?

add this to application.yml as well and we also need cluster definitions

retest this please

retest this please again

@mdvtlp do you need any help in the integration test ivestigation ?

Thanks if you help @doktoric, but I haven't looked in more detail at what's goning on, because I've been hijacked by other things. Anyway, we need to ask for a retest again. :)

retest this please

@doktoric Now I checked the results and the integration test issue is clear, but can you point me into the right direction with the  swagger-compatibility-test? it says:

Incompatible changes:

cloudbreak:2.55.0-b101
freeipa:2.55.0-b101
environment:2.55.0-b101
datalake:2.55.0-b101
make: *** [swagger-compare] Error 1
Build step 'Conditional steps (multiple)' marked build as failure`

retest please

retest this please


Move runtime-metamodel to its own repository

Feature Request
The runtime-metamodel is currently embedded as module in the GradlePlugins repository, from where it should be relocated to its new home https://github.com/eclipse-edc/runtime-metamodel
Which Areas Would Be Affected?
GradlePlugins, build, release
Why Is the Feature Desired?
break dependency cycle, decouple Gradle plugins from the runtime metamodel
Solution Proposal
move the code, adapt the build

can this be closed?


[DROOLS-1216] exclude commons-logging and use jcl-over-slf4j instead

Part of an ensemble:
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/226
https://github.com/droolsjbpm/drools/pull/815
https://github.com/droolsjbpm/optaplanner/pull/200
https://github.com/droolsjbpm/jbpm/pull/487
https://github.com/droolsjbpm/droolsjbpm-integration/pull/509
https://github.com/droolsjbpm/kie-uberfire-extensions/pull/29
https://github.com/droolsjbpm/guvnor/pull/328
https://github.com/droolsjbpm/drools-wb/pull/209
https://github.com/droolsjbpm/jbpm-designer/pull/302
https://github.com/droolsjbpm/jbpm-console-ng/pull/432
https://github.com/droolsjbpm/kie-wb-distributions/pull/303

+1

+1


Could you please share MTdataset?

It seems that website of beautyGan has disappeared, could you please share the dataset?

I found codalab website shapshot in the Internet Wayback Machine https://web.archive.org/web/20210506181004/http://colalab.org/projects/BeautyGAN
And there were links for the dataset
https://drive.google.com/file/d/18UlvYDL6UGZ2rs0yaDsSzoUlw8KI5ABY/view
https://pan.baidu.com/share/init?surl=DwTj4DvPWZFNNd1RsfA6jg (password 3z1a)
I've already downloaded makeup_dataset.rar from Google Drive and if you need dataset and google drive link is not available, contact me