[Plugins] api-docs is missing oauth2-redirect.html

Expected Behavior

Using API-docs with an openapi spec file that includes OAuth 2.0 Authorization Code flow, one should be able to "Authorize" in swagger-ui in order to "Try it out."
Current Behavior

404 error for http://localhost:3000/oauth2-redirect.html?code=<code>&state=<state>
Possible Solution

Add a static oauth2-redirect.html.
Apparently swagger-ui implements this but swagger-ui-react doesn't. See Limitations at https://github.com/swagger-api/swagger-ui/tree/master/flavors/swagger-ui-react. I don't quite understand why that would be.
Steps to Reproduce

I don't have a public way to reproduce this but see this OAS schema doc which demonstrates an OAuth 2.0 Authorization Code flow.
When I run this with my OAuth2 service, all the redirects work for the login up to the final redirect back to
/oauth2-redirect.html which there's no route for.
Context

Unable to use the "Try it out" functionality when using OAuth 2.0 Authorization Code flow.
Screen shots:
Swagger UI:

Clicked Authorize and filled in client credentials, selected scopes. etc:

(Shibboleth/CAS redirects not shown.)
OAuth 2.0 scope approvals:

Mic drop!

Your Environment

@backstage/plugin-api-docs: 0.4.6
NodeJS Version (v12): v14.15.4
Operating System and Version (e.g. Ubuntu 14.04): MacOS Catalina 10.15.7 (19H524)
Browser Information: Chrome 88.0.4324.182 (Official Build) (x86_64)

Oh, this is an interesting use case. I guess we won't be able to provide that file under that location form the plugin, but you should be able to place the file in packages/app/public.

Oh, this is an interesting use case. I guess we won't be able to provide that file under that location form the plugin, but you should be able to place the file in packages/app/public.

I believe that will require some configuration in swagger-ui is all.

OK, so this seems really easy with no need to change the swagger-ui redirect_url location.  Just copy oauth2-redirect.html into packages/app/public.
I'll try to figure out a PR for this...

If you create a PR, can you document it in the README of the api-docs plugin too?

And make sure (by html comments or whatnot) that the file clearly explains its purpose for future unknowing readers

Hmm, I'm not sure why swagger-ui-react is missing oauth2-redirect.html. See https://github.com/swagger-api/swagger-ui/issues/5384
I'm loathe to copy the file into the plugins/api-docs/dist as that doesn't feel right....
@Fox32 I would appreciate some guidance on how to add a postinstall script to package.json (or whatever the correct mechanism is) to copy the static content to packages/app/public.
Or do I have to add it to packages/create-app/templates/default-app/packages/app/public/, effectively decoupling it from the plugin?

Not sure if I would make it full automated. Isn't if sufficient to tell the user in the README to copy the file from the repository into the packages/app/public/ folder if he wants to use that feature?
I think api-docs is part of the default-app, so adding it there would be an option too.

I could always do that, but, as a user of this plugin, I would find it to be really nice if it "just worked" out of the box. If upstream swagger-ui-react had oauth2-redirect.html include in dist/ would it get installed anywhere useful by default? Or would it still need to get copied to packages/app/public? I'm a newbie when it comes to npm/yarn package management.
I guess just having it as part of the default create-app, even though decoupled from the plugin, would be better than requiring someone to follow steps in a README.
What do you think @freben?

I don't think that it's possible to fix that upstream. Coping the file to that location has to be done in Backstage, as it is quite specific to the repository setup. If you want to automate it, I guess a post install hook might be useful, but I'm not an expert there.
Including it in the default create-app would make sense, as the api-docs plugin is installed by default.


CKAN 2.10 compatability

Adds comparability with CKAN 2.10

This PR had no conflicts at the time of review, but now has conflicts to be resolved. Is there any specific reason it wasn't merged at the time with the positive review it had?

Is there any specific reason it wasn't merged at the time with the positive review it had?

I can only speak for myself and say I'm pretty sure I didn't have write access at the time.
It should be possible to create a new branch within this repo, pull in the Keitaro changes, and fix the conflict.

I'll get onto this, sorry i did not see this before i started to incorporate qld-gov-au 2.10 work (still wip)

This PR had no conflicts at the time of review, but now has conflicts to be resolved. Is there any specific reason it wasn't merged at the time with the positive review it had?
Same goes here. I don't have access

Hi @blagojabozinovski ,
I've tried to correct your branch based off where this was forked from v2.0.0. Sadly you have 38 failing tests
https://github.com/ckan/ckanext-validation/actions/runs/12367164030
only additions were cicd and test updates to latest pytest which do pass in 2.9.

commit 7a0a12ec5a1aff85be278819106d32856c4a40fa (HEAD -> keitaronic/ckan-2.10-test, origin/keitaronic/ckan-2.10-test)
Author: william dutton<EMAIL_ADDRESS>Date:   Tue Dec 17 15:47:05 2024 +1000
fix: tests need to now be 'Pytest 5' compatible

commit da28f22af6be70d5f2eede7f0a9e19cec812cdad
Author: william dutton<EMAIL_ADDRESS>Date:   Tue Dec 17 15:39:01 2024 +1000
enable 2.9 and 2.10 cicd testing on keitaronic base branch

reviewing what you changed:
https://github.com/ckan/ckanext-validation/compare/v2.0.0...keitaroinc:ckanext-validation:ckan-2.10
You went by pushing back the split that ckan 2.10 on dataset/resource creates/updates back onto its original function name and it does seem its not fully functional.

    def after_dataset_create(self, context, data_dict):
        self.after_create(context, data_dict)

    def before_resource_update(self, context, current_resource, updated_resource):
        self.before_update(context, current_resource, updated_resource)

    def after_dataset_update(self, context, data_dict):
        self.after_update(context, data_dict)

I'll try and work on the qld-gov-au fork which has 2.10 working with passing tests into upstream.
the biggest issue i'm needing to work through is logic resource_create,  resource_update,  being changed to package_patch, resource_show, and its logic placed elsewhere since the original validation was 'hacking' the core functions  :'(
Code below:

@t.chained_action
def resource_create(up_func, context, data_dict):
    '''Appends a new resource to a datasets list of resources.

    This is duplicate of the CKAN core resource_create action, with just the
    addition of a synchronous data validation step.

    This is of course not ideal but it's the only way right now to hook
    reliably into the creation process without overcomplicating things.
    Hopefully future versions of CKAN will incorporate more flexible hook
    points that will allow a better approach.

    '''

    if settings.get_create_mode_from_config() != 'sync':
        return up_func(context, data_dict)

    model = context['model']

    package_id = t.get_or_bust(data_dict, 'package_id')
    if not data_dict.get('url'):
        data_dict['url'] = ''

    pkg_dict = t.get_action('package_show')(
        dict(context, return_type='dict'),
        {'id': package_id})

    t.check_access('resource_create', context, data_dict)

    for plugin in plugins.PluginImplementations(plugins.IResourceController):
        plugin.before_create(context, data_dict)

    if 'resources' not in pkg_dict:
        pkg_dict['resources'] = []

    upload = uploader.get_resource_uploader(data_dict)

    if 'mimetype' not in data_dict:
        if hasattr(upload, 'mimetype'):
            data_dict['mimetype'] = upload.mimetype

    if 'size' not in data_dict:
        if hasattr(upload, 'filesize'):
            data_dict['size'] = upload.filesize

    pkg_dict['resources'].append(data_dict)

    try:
        context['defer_commit'] = True
        context['use_cache'] = False
        t.get_action('package_update')(context, pkg_dict)
        context.pop('defer_commit')
    except t.ValidationError as e:
        try:
            raise t.ValidationError(e.error_dict['resources'][-1])
        except (KeyError, IndexError):
            raise t.ValidationError(e.error_dict)

    # Get out resource_id resource from model as it will not appear in
    # package_show until after commit
    resource_id = context['package'].resources[-1].id
    upload.upload(resource_id,
                  uploader.get_max_resource_size())

    # Custom code starts

    run_validation = True

    for plugin in plugins.PluginImplementations(IDataValidation):
        if not plugin.can_validate(context, data_dict):
            log.debug('Skipping validation for resource {}'.format(resource_id))
            run_validation = False

    if run_validation:
        is_local_upload = (
            hasattr(upload, 'filename')
            and upload.filename is not None
            and isinstance(upload, uploader.ResourceUpload))
        _run_sync_validation(
            resource_id, local_upload=is_local_upload, new_resource=True)

    # Custom code ends

    model.repo.commit()

    #  Run package show again to get out actual last_resource
    updated_pkg_dict = t.get_action('package_show')(
        context, {'id': package_id})
    resource = updated_pkg_dict['resources'][-1]

    #  Add the default views to the new resource
    t.get_action('resource_create_default_resource_views')(
        {'model': context['model'],
         'user': context['user'],
         'ignore_auth': True
         },
        {'resource': resource,
         'package': updated_pkg_dict
         })

    for plugin in plugins.PluginImplementations(plugins.IResourceController):
        plugin.after_create(context, resource)

    return resource

@t.chained_action
def resource_update(up_func, context, data_dict):
    '''Update a resource.

    This is duplicate of the CKAN core resource_update action, with just the
    addition of a synchronous data validation step.

    This is of course not ideal but it's the only way right now to hook
    reliably into the creation process without overcomplicating things.
    Hopefully future versions of CKAN will incorporate more flexible hook
    points that will allow a better approach.

    '''

    if settings.get_update_mode_from_config() != 'sync':
        return up_func(context, data_dict)

    model = context['model']
    id = t.get_or_bust(data_dict, "id")

    if not data_dict.get('url'):
        data_dict['url'] = ''

    resource = model.Resource.get(id)
    context["resource"] = resource
    old_resource_format = resource.format

    if not resource:
        log.debug('Could not find resource %s', id)
        raise t.ObjectNotFound(t._('Resource was not found.'))

    t.check_access('resource_update', context, data_dict)
    del context["resource"]

    package_id = resource.package.id
    pkg_dict = t.get_action('package_show')(dict(context, return_type='dict'),
                                            {'id': package_id})

    for n, p in enumerate(pkg_dict['resources']):
        if p['id'] == id:
            break
    else:
        log.error('Could not find resource %s after all', id)
        raise t.ObjectNotFound(t._('Resource was not found.'))

    # Persist the datastore_active extra if already present and not provided
    if ('datastore_active' in resource.extras
            and 'datastore_active' not in data_dict):
        data_dict['datastore_active'] = resource.extras['datastore_active']

    for plugin in plugins.PluginImplementations(plugins.IResourceController):
        plugin.before_update(context, pkg_dict['resources'][n], data_dict)

    upload = uploader.get_resource_uploader(data_dict)

    if 'mimetype' not in data_dict:
        if hasattr(upload, 'mimetype'):
            data_dict['mimetype'] = upload.mimetype

    if 'size' not in data_dict and 'url_type' in data_dict:
        if hasattr(upload, 'filesize'):
            data_dict['size'] = upload.filesize

    pkg_dict['resources'][n] = data_dict

    try:
        context['defer_commit'] = True
        context['use_cache'] = False
        updated_pkg_dict = t.get_action('package_update')(context, pkg_dict)
        context.pop('defer_commit')
    except t.ValidationError as e:
        try:
            raise t.ValidationError(e.error_dict['resources'][-1])
        except (KeyError, IndexError):
            raise t.ValidationError(e.error_dict)

    upload.upload(id, uploader.get_max_resource_size())

    # Custom code starts

    run_validation = True
    for plugin in plugins.PluginImplementations(IDataValidation):
        if not plugin.can_validate(context, data_dict):
            log.debug('Skipping validation for resource {}'.format(id))
            run_validation = False

    if run_validation:
        run_validation = not data_dict.pop('_skip_next_validation', None)

    if run_validation:
        is_local_upload = (
            hasattr(upload, 'filename')
            and upload.filename is not None
            and isinstance(upload, uploader.ResourceUpload))
        _run_sync_validation(
            id, local_upload=is_local_upload, new_resource=False)

    # Custom code ends

    model.repo.commit()

    resource = t.get_action('resource_show')(context, {'id': id})

    if old_resource_format != resource['format']:
        t.get_action('resource_create_default_resource_views')(
            {'model': context['model'], 'user': context['user'],
             'ignore_auth': True},
            {'package': updated_pkg_dict,
             'resource': resource})

    for plugin in plugins.PluginImplementations(plugins.IResourceController):
        plugin.after_update(context, resource)

    return resource

@tk.chained_action
def package_patch(original_action, context, data_dict):
    ''' Detect whether resources have been replaced, and if not,
    place a flag in the context accordingly if save flag is not set

    Note: controllers add default context where save is in request params
        'save': 'save' in request.params
    '''
    if 'save' not in context and 'resources' not in data_dict:
        context['save'] = True
    original_action(context, data_dict)

@tk.side_effect_free
@tk.chained_action
def resource_show(next_func, context, data_dict):
    """Throws away _success_validation flag, that we are using to prevent
    multiple validations of resource in different interface methods
    """
    if context.get('ignore_auth'):
        return next_func(context, data_dict)

    data_dict = next_func(context, data_dict)

    data_dict.pop('_success_validation', None)
    return data_dict


Fix Typo

@lrakai : Thanks for your contribution! The author, @vhorne, has been notified to review your proposed change.

#sign-off


Clone repository failed in "04-exercise-enrich-cognitive-custom-classes.md".

fatal: repository 'https://github.com/MicrosoftLearning/mslearn-doc-intelligence/' not found

this should be fixed now


[ON HOLD][TA3789] feat(jiva): add version api

This commit adds the version api in both replica and controller.
This can be verified via following:
$ curl -X GET http://<IP_ADDRESS>:9501/v1/version/details
{
  "version": "add-snapshot-api-ci-e06474a",
  "actions": {},
  "builddate": "2018-10-29,12:55:46+00:00",
  "commitid": "e06474a",
  "id": "details",
  "links": {
    "self": "http://<IP_ADDRESS>:9501/v1/versions/details"
  },
  "type": "version"
}

Signed-off-by: Utkarsh Mani Tripathi<EMAIL_ADDRESS>

can we piggyback with information on v1/replicas or v1/volumes GET API?

Closing this as of now, will reopen if requirement comes in


Get max width property of scrollable area.

I am not able to get the width property on the scrollable area.
I have made paging controls, to allow user interactions for scrolling, and I need to get the max width of the area, so I stop the scrolling action. Any suggestions?

Sorry for the delay in the response...
What's the layout of your DOM?
I ask because you could always query the DOM itself for the width depending on your layout hierarchy

Thanks for the tip, this is a jQuery way, but it has some issues. The content of the scroll area is dynamic, and driven by another component. So when a length of the scrolling area is different, jQuery still has the original value. Would there be an Ember tied way that updates the jQuery values on change / action trigger?
Current code:
// component-name.js
  actions: {
    next() {
      let current = this.get('scrollToX');
      let scrollWidth = this.$(".tse-scroll-content").outerWidth();
      let maxBoundsOffset = '0';

      if (current <= (scrollWidth - maxBoundsOffset)) {
        this.setProperties({
          scrollToX: (current + 250),
        });
      }
    },
    prev() {
      let current = this.get('scrollToX');
      let minBoundsOffset = '100';

      if (current >= minBoundsOffset) {
        this.setProperties({
          scrollToX: (current - 250),
        });
      }
    }
  }
});

The content of the scroll area is dynamic, and driven by another component

@bmx269 I think you may be able to leverage the didRender method in that ^ component, to notify it's parents (via an action) that the width is out of date. <= I'm assuming the width changes based on some attributes passed into said component. Obviously this would be prettier in a wrapping component so you don't have random layout related logic in a functional component, but I'm not really sure right now how we would generalize this concept within the current design of ember-scrollable
Maybe it's something we might be able to leverage the Radar when we integrate vertical collection?


TdApi.getMe

The answer comes in TdApi.UpdateUser. Next, find the appropriate type of user.
UserType -> [userTypeDeleted,  userTypeBot, userTypeRegular, userTypeUnknown].
Super! userTypeRegular is what you need, but it was expected that inside will be userTypeMe.
Is there any alternative mechanism? (to make it work)

@levlam Looks like it works here TdApi.User

Result of the TdApi.GetMe request has type TdApi.User and can be received in a callback passed as second argument to Client.Send. There is no need to process updates to get the response.

For example, after successful authorization, my_id option is returned to TdApi.UpdateOption.
You can then call TdApi.GetUser with current user id from the my_id option.
Go to the TdApi.UpdateUser handler. Perhaps you will not find the appropriate type for distribution in the visual part of the application. This point can be implemented on the client before calling TdApi.GetUser (eg: flag, hybrid callback).


Don't try to recreate good existing ALBs on controller startup

Every time the controller starts up, it looks like it attempts to go through the create process for each ingress resource, rather than simply evaluating current state. When coupled with issue #33, this makes it very difficult to tell what's net-new vs existing on startup, among other things.

I've noticed this snippit during startup:
I0720 04:18:17.894570       1 log.go:48] [ALB-INGRESS] [controller] [INFO]: Build up list of existing ingresses
I0720 04:18:18.023542       1 log.go:48] [ALB-INGRESS] [controller] [INFO]: Assembled 0 ingresses from existing AWS resources

I have a half-dozen ALBs already, so something about the existing ingress code is not seeing them

@danopia do you have a - in the value of the CLUSTER_NAME environment variable? I was experiencing the same issue and looking at the code I noticed this line here:
https://github.com/coreos/alb-ingress-controller/blob/master/awsutil/elbv2.go#L216
that fails if the value of "CLUSTER_NAME" have a - in it, because the split will return more than two elements

Yea, I do, I just found the same line while looking at something else and came here to report.
The split seems unnecessary though, it's only checking for the clusterName prefix, but HasPrefix already checked for prefix+"-"

Found a preexisting ticket: #98
I just write&deployed this patch to one of my clusters:
diff --git a/awsutil/elbv2.go b/awsutil/elbv2.go
index 5e889a0b..28dff4ac 100644
--- a/awsutil/elbv2.go
+++ b/awsutil/elbv2.go
@@ -225,11 +225,7 @@ func (e *ELBV2) DescribeLoadBalancers(clusterName *string) ([]*elbv2.LoadBalance

                for _, loadBalancer := range describeLoadBalancersOutput.LoadBalancers {
                        if strings.HasPrefix(*loadBalancer.LoadBalancerName, *clusterName+"-") {
-                               if s := strings.Split(*loadBalancer.LoadBalancerName, "-"); len(s) == 2 {
-                                       if s[0] == *clusterName {
-                                               loadbalancers = append(loadbalancers, loadBalancer)
-                                       }
-                               }
+                               loadbalancers = append(loadbalancers, loadBalancer)
                        }
                }

Seems to be working fine, picked up my ALBs at startup and only applied changes. Is it that simple?

It is using the - in the name to determine if the ALB is something managed by the cluster. Another option would be to pull back the tags for all ALBs at startup and look for the ClusterName tag.
The current solution is to disallow - in the cluster name.

My cluster name already has a - though. Changing cluster name will make all new ALBs, yes?


[bug] Metamask payment option, network issue

Reference issue: #172
const chainId = this.web3.eth.getChainId() returns the current chain id of the network connected to metamask
typeof chainId === "bigint" // true
typeof this.method.chainId === "number" // true
chainId === this.method.chainId // false
We need to cast chainId to number

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi, but the issue is already fixed on master. Did you try on master? I solved it by pinning web3 to an older version though

Hi, but the issue is already fixed on master. Did you try on master? I solved it by pinning web3 to an older version though

Even on version 1.10 that is being used right now, the issue still persists.

What is version 1.10 :smiley:

What is version 1.10 😃

components/MetamaskButton.vue
line 57 -  src<EMAIL_ADDRESS>This link points to the 1.10 web3 version<EMAIL_ADDRESS>

It works perfectly for me on this version. Could you record a video maybe? And you started admin from master branch?

Closing for lack of activity. If you still have this issue, please let me know


Update to support Rails 5

Tests in rails 5 currently receive this error
DEPRECATION WARNING: ActionDispatch::IntegrationTest HTTP request methods will accept only
the following keyword arguments in future Rails versions:
params, headers, env, xhr, as

Examples:

get '/profile',
  params: { id: 1 },
  headers: { 'X-Extra-Header' => '123' },
  env: { 'action_dispatch.custom' => 'custom' },
  xhr: true,
  as: :json
 (called from matches? at /home/vagrant/.rvm/gems/ruby-2.3.1/bundler/gems/apivore-275e799ea72c/lib/apivore/validator.rb:21)

Naming the params and headers arguments fixes this.

@rdejuana thanks for submitting this PR. Once https://github.com/westfieldlabs/apivore/pull/99 is merged to support the actionpack dependency for both rails 4 and 5. We'll re-run the build and evaluate this PR.
As far as I can tell, this will introduce a breaking change for rails <5. We'll need to address this in a backward compatible manner. In any case, we'll keep you posted.

FWIW I'm upgrading to Rails 5, noticed https://github.com/thoughtbot/shoulda-matchers/pull/989/files#diff-f46c5b61347eb8f9749762252d06fb52R29 as a way to make the change in a backwards-compatible fashion.

The shim approach that thoughtbot uses seems pretty sensible. @rdejuana @amcaplan any interest in updating/submitting a PR to address this?

I'd be very interested!  My specs currently have a wall of deprecations, and I'd be delighted to submit a PR and get this fixed.  I'll try to work this out over the next few days.
Also, any thoughts on testing?  I suspect it's unnecessary because different Travis builds use different versions of Ruby and, hence, different ActionPack versions, so if all the Travis builds pass, we know it works with both Rails 4 and 5.  Is that a fair assessment?  (Obviously pending seeing the actual work!)

Awesome! Thanks @amcaplan. Look forward to reviewing it.
As far as tests, I think it's worth adding unit tests for the shim implementations. The integration should be covered in some of the specs we have.

closing this in favor of https://github.com/westfieldlabs/apivore/pull/102


The "Recent Repo Builds" does not reflect the reality

Hello,
looking at quay.io/repository/podman/stable, I see:

Recent Repo Builds
2 year ago triggered by push to Github repository

but inspecting the image shows me something different:
$ podman image inspect quay.io/podman/stable:latest | jq -r '.[0].Created'
2023-04-10T18:21:36.224634337Z

Is this expected?


d435 generating "gridded" depth data with python script

dear real sense support,
we are encountering the same problem which have been posed in issue 2202. There are many grid generated in the depth image.
#2202
it seems like that the problem have been solved with  version 2.15.
However ,when we follow the instruction and install the latest version sdk, it seems like that the problem is still existing with the python

Hi @diu7
I think the issue here is pip install hasn't been updated. We will address it in upcoming days.
In the meantime, if you build the python wrapper from source it should solve the issue for now.

@dorodnic  Thanks！！I use the second method which you said and it was work

PiPy repo updated: pypi.org/project/pyrealsense2


Add support for readonly/disabled text fields

see issue #3 .
When used with a text field that is either readonly or disabled, hide the ResetButton.

Thanks, merged as a part of the Maven update.


sidecar.istio.io/componentLogLevel annotation doesn't seem to work

Bug Description
I have a gateway defined in an istiooperator where I'm trying to use the sidecar.istio.io/componentLogLevel annotation to set component log levels for the proxy
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  name: istio-1-11-5-gateway
spec:
  profile: empty
  revision: 1-11-5
  components:
    ingressGateways:
      - name: private-ingressgateway
        namespace: foo
        enabled: true
        k8s:
          podAnnotations:
            sidecar.istio.io/componentLogLevel: connection:trace,conn_handler:trace,envoy_bug:trace,filter:trace,http:trace,http2:trace,pool:trace,router:trace
            proxy.istio.io/config: |
              discoveryAddress: istiod-1-11-5.istio-system.svc:15012

the annotation is properly applied to the pod but when I check the components I notice that they aren't set to trace like I expected
$ k exec private-ingressgateway-5495bf98b4-6cc4k -- curl -s -X POST http://localhost:15000/logging
active loggers:
  admin: warning
  aws: warning
  assert: warning
  backtrace: warning
  cache_filter: warning
  client: warning
  config: warning
  connection: warning
  conn_handler: warning
  decompression: warning
  dubbo: warning
  envoy_bug: warning
  ext_authz: warning
  rocketmq: warning
  file: warning
  filter: warning
  forward_proxy: warning
  grpc: warning
  hc: warning
  health_checker: warning
  http: warning
  http2: warning
  hystrix: warning
  init: warning
  io: warning
  jwt: warning
  kafka: warning
  lua: warning
  main: warning
  matcher: warning
  misc: error
  mongo: warning
  quic: warning
  quic_stream: warning
  pool: warning
  rbac: warning
  redis: warning
  router: warning
  runtime: warning
  stats: warning
  secret: warning
  tap: warning
  testing: warning
  thrift: warning
  tracing: warning
  upstream: warning
  udp: warning
  wasm: warning

Version
$ istioctl version
client version: 1.10.6
istiod version: 1.10.6
istiod version: 1.10.6
istiod version: 1.11.5
istiod version: 1.11.5
data plane version: 1.10.6 (6 proxies), 1.11.5 (24 proxies)

$ kubectl version --short
Client Version: v1.20.7
Server Version: v1.20.7-eks-d88609

Additional Information
No response

This annotation only works on sidecars or gateways installed following the docs on this page: https://istio.io/latest/docs/setup/additional-setup/gateway/

hmm ok thanks, so we do use istioctl install -f with this istiooperator to install it. the only major difference I see in the example in that doc is this section of that gateway istiooperator
...
spec:
  ...
  values:
    gateways:
      istio-ingressgateway:
        # Enable gateway injection
        injectionTemplate: gateway

is missing that section what's causing this to not work?

Yes
On Thu, Jan 27, 2022 at 12:02 PM Chris Kim @.***> wrote:

hmm ok thanks, so we do use istioctl install -f with this istiooperator
to install it. the only major difference I see in the example in that doc
is this section of that gateway istiooperator
...
spec:
...
values:
gateways:
istio-ingressgateway:
# Enable gateway injection
injectionTemplate: gateway
is missing that section what's causing this to not work?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/37046#issuecomment-1023591232, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXP6NX7QYMMC35Y5ZVDUYGQEJANCNFSM5M6MDRHQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

thanks that fixed it! im running into a different issue though with a different gateway when setting that. we have a second one configured like this
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  name: istio-1-11-5-istio-ingressgateway # REQUIRED
spec:
  profile: empty # REQUIRED
  revision: 1-11-5
  values:
    gateways:
      istio-ingressgateway:
        injectionTemplate: gateway
  components:
    ingressGateways:
    - name: istio-ingressgateway
      enabled: true
      k8s:
        serviceAnnotations:
          service.beta.kubernetes.io/aws-load-balancer-internal: <IP_ADDRESS>/0
          service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'
          service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled: 'true'
          service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout: '30'
          service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '600'
          service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled: 'true'

but the pod that comes up is encountering an imagepullbackoff error. it seems like the image: auto isn't being replaced when this istiooperator is istioctl install'd. the other gateway didn't have an issue though

Maybe you have istio-injection=disabled label on istio-system namespace?
On Thu, Jan 27, 2022 at 1:27 PM Chris Kim @.***> wrote:

thanks that fixed it! im running into a different issue though with a
different gateway when setting that. we have a second one configured like
this
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
name: istio-1-11-5-istio-ingressgateway # REQUIRED
spec:
profile: empty # REQUIRED
revision: 1-11-5
values:
gateways:
istio-ingressgateway:
injectionTemplate: gateway
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
k8s:
serviceAnnotations:
service.beta.kubernetes.io/aws-load-balancer-internal: <IP_ADDRESS>/0
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'
service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled: 'true'
service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout: '30'
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '600'
service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled: 'true'
but the pod that comes up is encountering an imagepullbackoff error. it
seems like the image: auto isn't being replaced when this istiooperator
is istioctl install'd. the other gateway didn't have an issue though
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/37046#issuecomment-1023653623, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXP2N3KXMCE3YLDJE5LUYG2C3ANCNFSM5M6MDRHQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

yep that seems to be the issue, thanks! i didn't realize that was there


Update README.md

Hi Michael,
i find a small nice typo, and i would like to create a pull request for this change of one char !
Regards,
Christoph :)

Langeweile?
:-)


Move to org + contributors?

Namely looking to start discussion with those who've explicitly expressed interest in the project: @fish2000, @jbcpollak, @mattfysh, @mayank-unbxd , @nkakouros, @norton120, @paulmsander, @talsaiag, @tromech, @wilau2. Others' input is very much welcome as well, though!

(TL;DR at the bottom.)
I neither currently use nor have time for a whole lot of maintenance of Autohook, and would like to make it somewhat of a community project if there's interest. Clearly at least a few people use it, and it's a shame to see it go this neglected.
I made an Autohook org ages ago, on the off chance it took off enough to warrant one. I feel like the right thing to do would be moving the repo there and adding a few people to it. If any of you tagged folks have interest in participating, I'd love to know about that. If you don't feel comfortable discussing that here publicly, please email me. If you know others who might be interested, have them get in touch here or via email.
Other thoughts on the matter are welcome as well. If there's enough immediate interest, we can get started as a group and handle other questions once the repo is moved.
Sorry for the neglect.

TL;DR
I'd like to:

move repo into Autohook org
add a few fellow contributors
profit

Sounds like a good idea, would love to assist / participate
nice work

Hi Nik,
This sounds like a really good idea.  I'd be glad to help out.  I'm testing one more PR that rolls up all the other work and would love to see that get some exposure.
Sincerely,
Paul Sander

On Aug 1, 2020, at 10:24 PM, Nik Kantar<EMAIL_ADDRESS>wrote:
Namely looking to start discussion with those who've explicitly expressed interest in the project: @fish2000, @jbcpollak, @mattfysh, @mayank-unbxd , @nkakouros, @norton120, @paulmsander, @talsaiag, @tromech, @wilau2. Others' input welcome as well!
(TL;DR at the bottom.)
I neither currently use nor have time for a whole lot of maintenance of Autohook, and would like to make it somewhat of a community project if there's interest. Clearly at least a few people use it, and it's a shame to see it go this neglected.
I made an Autohook org ages ago, on the off chance it took off enough to warrant one. I feel like the right thing to do would be moving the repo there and adding a few people to it. If any of you tagged folks have interest in participating, I'd love to know about that. If you don't feel comfortable discussing that here publicly, please email me. If you know others who might be interested, have them get in touch here or via email.
Other thoughts on the matter are welcome as well. If there's enough immediate interest, we can get started as a group and handle other questions once the repo is moved.
Sorry for the neglect.
TL;DR
I'd like to:
• move repo into Autohook org
• add a few fellow contributors
• profit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi, I like the idea. I think aside from a few of the outstanding PRs (and tracking the new hooks) autohook is pretty stable and can be put largely in maintenance mode. I'd be happy to keep an eye on it, submit patches and review PRs.

I could also put some effort when time allows it.

Sounds like a good idea, thanks! I would also be in to help here.

Hi all!
First of all, thanks for responding!
I've moved the repo to the org, but haven't made any other changes yet. I'd like to give other tagged folks a chance to chime in if they'd like, so a few more days seems appropriate, but at that point I'll try and figure out what future looks like.
Thanks for all your contributions!

@talsaiag @paulmsander @jbcpollak @nkakouros @tromech Congrats, you're now maintainers! 😬
In all seriousness:

I've added you to the org with what I'm reasonably sure are sufficient permissions to merge PRs, etc. Please take a look at the UI and confirm that. I'm new to this.
You've been added to the @Autohook/maintainers team as well. Easy to tag the whole crew in issues and PRs.
I don't really know what the process for collaboration should be. Maybe for now just tag the team on an issue or PR to get some sort of consensus before merging things? An issue discussing the process wouldn't be terrible, actually…

:tada:

Sounds good, we are now able to review and merge PRs
(you first need to accept the invitation)
Thanks

yup, permissions seem to work for me as well. 🎉 👍


Add AzureServiceClientCredentials

The existing interface ServiceClientCredentials has been working fine for most management plane libraries. However, when it comes to Graph RBAC client, the resourceId field sent in the authorization request is different the other management plane libraries. Thus we would have to use a different credentials for Graph, which requires us to use a different RestClient as well.
To fix this, AzureServiceClientCredentials is introduced to extend ServiceClientCredentials. It

is still immutable
requires an AzureEnvironment
matches the request base URL to the entries in AzureEnvironment to figure out where to authenticate and which resourceId to send.

This does not only solve the problem for Graph RBAC, but also supports Azure stack scenarios. Developers can create custom AzureEnvironment instances and the implementation of AzureServiceClientCredentials is able to log into public Active Directory service with on-premise resource IDs.

Is there any chance of also adding one other class that extends ServiceClientCredentials type that works with the Storage API (SAS Tokens), which are retrieved from the Insights API?
This would enable the direct retrieval of Azure VM metrics from Azure Storage Tables using only the RestClient from this library (rather than requiring the whole storage SDK).

Thanks for the feedback @solvingJ  I'll look into it.

Hi @solvingJ  it feels to me that even if we add a credentials class that works with storage - you would still need storage SDK to access the tables. Are you accessing the tables through direct REST calls?

Yes, directly through rest calls and we've made it work now without the storage SDK.
Still, the fact remains that the azure rest client runtime libraries and and authentication libraries together simply can't authenticate to a number of major Azure services.  From a user point of view, it would be better if this package handled authentication/authorization for all Azure services.  There are only a handful of authentication schemes across all the web services, so it seems like a reasonable expectation.

It's added and called AzureTokenCredentials.
For now we have no plan to unify the authentication methods across services since there are just too many different needs and requirements.


embed django-extensions into official django

why do people need to install separately django and django-extensions. If it has +3K stars that means it deserve integration into offictial django framework !!

Thanks @amineparis ! Glad you like Django Extensions and that you find it such a great value.
Django Extensions was always meant for things that are not easily included into Django itself and as a testing ground for inclusion.
Although the later rarely happens I admit. If you take a look at two extensions that might be good candidates to include into Django itself like shell_plus and sqldiff, they both need a lot of work and refactoring before they could make it in. Other commands like runserver_plus are not likely for inclusion since they depend on third party packages.
Django Extensions does not adhere to the same rigor as Django although we still strive for quality and stability. This means we can include (or throw out) things sooner / more easily then Django can. It also means that Django does not have to suffer the burden of maintaining these things.
Lastly a lot of the code is meant for development only. The benefit of separate projects is that people can install Django Extensions in development and leave it out of production in most cases.
So I think there is a place for Django Extensions besides Django.
That said we are always working with Django to make sure Django Extensions is compatible with the latest Django versions and to move extensions into Django itself or if Django maintainers see a need for it move contribs from Django to Django Extensions.


[VS Code] Joining collaboration session: The specified value isn’t a valid Live Share URL. Please check the link provided by the host and try again.

Error:
Joining collaboration session: The specified value isn’t a valid Live Share URL. Please check the link provided by the host and try again.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
1.0.18

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.32.3

platformName
Windows

platformVersion
10.0.17763

Dup of https://github.com/MicrosoftDocs/live-share/issues/1894.


Update the documentation of language-platforms sample usecase for the website

Updated the tutorial of language-platforms sample usecase- https://github.com/konveyor/move2kube/pull/240


Dynamo db Seed data insertion not working when deploying to aws

I have a serverless framework and dynamo db in my local. I am trying to seed data . When i do 'sls offline start', seed data is getting inserted into my local dynamo db. but when i deploy it to aws using 'sls deploy'. i don't see the seed data getting inserted on aws dynamo db.
I am very new to serverless and this is my 1st serverless application and deployment . I am using 'serverless-offline' and 'serverless-dynamo db' .
Below is my configuration on serverless.yml
serverless-offline:
host: <IP_ADDRESS>
  dynamodb:
    start:
      port: 8000
      inMemory: true
      migrate: true
      seed: true
      convertEmptyValues: true
    seed:
      domain:
        sources:
          - table: ${self:custom.test}
            sources: [seed/test.json]

Above configuration is working good for local setup. When i run sls offline start, everything is working fine. But when i do 'sls depoly' . I don't see seed data in dynamo db tables on aws . Also wanted to know where can i see the json seed data file (test.json) on aws server. Does it automatically gets deployed to aws somewhere?

I am not the maintainer of this package, but afaik it only seeds in your offline dynamodb.

I was able to seed my online dynamodb instance with:
sls dynamodb seed --online --region us-east-1


Create retirement log and rename rake task

This PR:

Creates a retirement log

This will provide information on the he steps and current state of the smart answer.

Renames a rake task

This has been done to properly describe what this rake task can achieve

Looks good, thanks for writing this up.

@cbaines thanks for reviewing this


Setting precision=TimeUnit.Seconds in WriteAsync() results in Error

To reproduce:
Use the WriteAsync example from README.MD, change the line with WriteAsync call to:
var response = await influxDbClient.Client.WriteAsync("yourDbName", pointToWrite**, null, TimeUnit.Seconds**);
Error:
InfluxData API responded with status code=BadRequest, response={"error":"unable
to parse 'tests,SensorId=8,SerialNumber=00AF123B SensorState="act",Humidity=43
1i,Temperature=22.1,Resistance=34957i<PHONE_NUMBER>998': time outside range -922337
2036854775806 -<PHONE_NUMBER>854775806"
}

Hi,
would you be able to provide a sample object that you were trying to write to the influxdb?

Hi,
This is the code that generates the error:
`  internal class Program
{
private static readonly InfluxDbClient influxDbClient = new InfluxDbClient("http://osboxes.XXX.global:8086/", "username", "password", InfluxDbVersion.v_1_0_0);
    private static void Main(string[] args)
    {
        RunAsync().Wait();
        Console.ReadLine();
    }

    private static async Task RunAsync()
    {
        var pointToWrite1 = new Point
        {
            Name = "tests", // serie/measurement/table to write into
            Tags = new Dictionary<string, object>
{
    { "SensorId", 8 },
    { "SerialNumber", "00AF123B" }
},
            Fields = new Dictionary<string, object>
{
    { "SensorState", "act" },
    { "Humidity", 431 },
    { "Temperature", 22.1 },
    { "Resistance", 34957 }
},
            Timestamp = DateTime.UtcNow // optional (can be set to any DateTime moment)
        };
        var pointToWrite2 = new Point
        {
            Name = "tests", // serie/measurement/table to write into
            Tags = new Dictionary<string, object>
{
    { "SensorId", 8 },
    { "SerialNumber", "00BF123B" }
},
            Fields = new Dictionary<string, object>
{
    { "SensorState", "act" },
    { "Humidity", 431 },
    { "Temperature", 22.1 },
    { "Resistance", 34957 }
},
            Timestamp = DateTime.UtcNow // optional (can be set to any DateTime moment)
        };

        var pointsToWrite = new List<Point>{ pointToWrite1, pointToWrite2 };

        try
        {
            var writeToInflux = influxDbClient.Client.WriteAsync("telegraf", pointsToWrite, null, TimeUnit.Seconds);

            Console.WriteLine("Started " + DateTime.UtcNow.ToString("hh:mm:ss.fff") + "\nPoints: " + pointsToWrite.Count);

            var response = await writeToInflux;

            Console.WriteLine("\nFinished " + DateTime.UtcNow.ToString("hh:mm:ss.fff") + "\nStatusCode: " +response.StatusCode + "\nSuccess=" + response.Success + "\nBody: " + response.Body + "\n");
        }
        catch (Exception e)
        {
            Console.WriteLine(e.Message);
        }
    }
}

`

Thnx, I'll try to look into this a bit over the weekend.

I got this fixed, it will be deployed with the next nuget in a couple of days. Thanks for the report. Cheers!


Relicense this content under Creative Commons BY-SA 4.0 License

Every few months, a user will ask if they are free to reuse the wonderful branding that was created for Jekyll. The license is presently MIT, which is a bit vague for this kind of content – it is better suited for code. I propose here that we relicense the content under the terms of CC-BY-SA 4.0, or the Attribution-ShareAlike 4.0 license.
Approval required from @cobyism. Anyone else?
/cc @benbalter for a 👍 and whether we need to start asking folks to sign a CLA with a CC license.

Approval required from @cobyism.

All good by me 👍. Let me know if you need something more official for legal purposes.

@parkr is there a reason you chose the copyleft share-alike license? (which is closer to say GPL, than MIT). If I want to make a for-profit Jekyll sticker/shirt/mug, I should be able to, and should require attribution, but should not be required to grant the world a license to that mug/shirt/sticker.

is there a reason you chose the copyleft share-alike license?

@benbalter I wasn't aware there was a Creative Commons-like license which mimics the laissez faire nature of MIT.

@parkr See https://creativecommons.org/choose/. CC-BY (attribution required, same as MIT) is the closest to the MIT, but for non-code. CC-BY-SA (share alike) is copyleft, and is closer to GPL.

@benbalter I guess I like the idea of folks sharing back designs, etc of a mug/shirt/sticker. But I could see that being frustrating for companies, the entities which seem to dislike copyleft more than any other entities in the world. 😉 I'll update it.

@cobyism Would you mind re-confirming that you're cool with this? I removed the ShareAlike provision per @benbalter's recommendation.

@cobyism Would you mind re-confirming that you're cool with this?

👍 Yep, I’m cool with this change.


Testing on iPhone + iPad

[ ] Is palava.tv usable in general?
[ ] Are there WebRTC connection bugs?
[ ] Are there any unpleasant layout bugs?
[ ] Any ideas for improvements on this platform?

Blocked by #38

Also see https://twitter.com/feross/status/1263544033135038464


Qh template defaults

This PR modifies the docker-compose setup so that all the default values are put in the docker-compose.yaml file.  By default the .env file is no longer needed, and it will not be overwritten on new setups, so that developer modifications are sticky.

@rakunkel-ucd / @UcDust I want to move this to dev, so that I can start testing it.  This is a significant update to the development and production setups, and has some fairly big implications, but practically, the big difference for the two of you, is that the ~.env~ file is no longer overwritten on setup, it's only used to store modifications to the standard setup, like the ~GCS_BUCKET~, ~CDL_PROPOGATE~ , etc.  You do have to read the ~docker-compose.yaml~ file to see all the other parameters (like ~FIN_HOST~) I am thinking of moving mount setup  in there as well.


Build wheels with numpy 2.0

Features

Update the pycontrails build system to require numpy 2.0 per the official numpy guidelines. Note that the runtime requirement for pycontrails remains numpy>=1.22.
Update pycontrails for breaking changes introduced in numpy 2.0 (e.g., NEP 50). All changes are backward compatible with numpy>=1.22.

Tests

[x] QC test passes locally (make test)
[x] CI tests pass

Reviewer

Select @ reviewer

Thanks for catching that we need to be ready for numpy 2.0! I'm going to release 0.52.0 on Monday and will include these changes. If netCDF4 gets fixed I'll patch it in too.

As far as a review goes: this looks reasonable to me! I'm running the release workflow on this branch to make sure the wheels build and pass tests (https://github.com/contrailcirrus/pycontrails/actions/runs/9522607588/job/26252488214), and if that succeeds I'm happy merging these changes.

Thanks! I'll merge this PR now, then you can handle the v0.52 release.


Fix the documentation urls of alias related APIs

Description
After this documentation PR is merged, we now have the official documentation for the Create or Update alias API, we need to correct the documentation url in this repo.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

We can skip CHANGELOG but feel free to update that even for small fixes.


relax puppetlabs/concat version dependency up to 5.0.0

@gozer looks like this needs a rebase now. See also some other proposed updates in #108 (not yet merged).

Thanks for the PR, this has been completed in 3c0e3ba44a608f434eb816a5fd1571d8edbad43e


"How to Make a Computer Operating System" book status

Are you going to finish up your book (http://samypesse.gitbooks.io/how-to-create-an-operating-system)? It is really great - exactly what I'm looking for but I can see that only first 8 chapters are readable.

:+1:

Yeah, I have also read the book, it looks great. It would be great and helpful for everyone if you could take out some time and complete the book :)


2.1.0 breaks

Not sure what's going on, but when I upgraded to 2.1.0, I get 404s.  2.0.0 works fine.  I don't have a lot of info, but there's definitely something different about how 2.1.0 works vs 2.0.0, and I didn't see any breaking changes listed anywhere

Hey @testsys-bbordelon, thanks for reporting this. Could you please share some more information to reproduce this please?
.NET version:
Which method of this library are you using?
Your Views setup:

@asos-soundaranbalagan I am facing some problem while publishing in IIS server production like 401 unauthorized. Is there anything to do? After publish, i didn't have views folder, i put that with cshtml file but still not working. Getting 401 for only this Api. It works fine on local.
 [HttpGet("GeneratePdf/{id}")]
    public async Task<IActionResult> GeneratePdf(Guid id){
        var userRecords = await _userSignService.GetByIdAsync(id);
        var userInfo = await _userService.GetByIdAsync(userRecords.UserId);
        var viewbag = new Dictionary<string, object>
        {
            ["FirstName"] = userInfo.FirstName,
            ["LastName"] = userInfo.LastName
        };
        string html = await _razorTemplateEngine.RenderAsync("~/Views/UserSignPdf.cshtml", userRecords, viewbag);
        var rs = new LocalReporting()
                        .KillRunningJsReportProcesses()
                        .UseBinary(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? JsReportBinary.GetBinary() : jsreport.Binary.Linux.JsReportBinary.GetBinary())
                        .Configure(cfg => cfg.DoTrustUserCode().FileSystemStore().BaseUrlAsWorkingDirectory())
                        .AsUtility()
                        .Create();

        var generatedPdf = await rs.RenderAsync(new RenderRequest
        {
            Template = new Template
            {
                Recipe = Recipe.ChromePdf,
                Engine = Engine.None,
                Content = html,
                Chrome = new Chrome
                {
                    MarginTop = "10",
                    MarginBottom = "10",
                    MarginLeft = "50",
                    MarginRight = "50"
                }
            }
        });

        return File(generatedPdf.Content, generatedPdf.Meta.ContentType, $"User {userRecords.UserId}.pdf");
    }

Hey @shanto-ael, the views are compiled to the dll. So you'll no longer see the view files in the output in .NET 6+. 401 seems like an authentication issue rather than the issue with the template. I would suggest you to remove the authentication part and then try again in IIS and see how things are. Only if the library complains about view not being found, then we can look more into the library itself or how you've configured things for the rendering views. Does that makes sense?

Closing this as it looks like a duplicate of https://github.com/soundaranbu/Razor.Templating.Core/issues/80


Fix work with multiple different RLocalCachedMap in the same RTransaction

Work with 2 different RLocalCachedMaps was broken. The root cause:

RTransaction tries to cache locally instances of RedissonTransactionalLocalCachedMaps for origin RLocalCachedMaps.
The origin RLocalCachedMap is used as a key in that local cache.
Keys for the local cache are calculated viaRLocalCachedMap.hashCode() method.
RLocalCachedMap.hashCode method calculates the hash based only on map entries
As a result, different empty RLocalCachedMap were mapped to the same key and the local cache was broken.

The described case is reproduced in PR in the test testPut2Maps.
Proposed solution: use the name of the origin RLocalCachedMap as a key in the local cache.

@mrniko please review

Thanks for suggested changes. I think it's better to replace new HashMap with IdentityHashMap

@mrniko i have made the changes and commited in another PR #5829 since i dont have access to this one and i am waiting for this fix.

Fixed in https://github.com/redisson/redisson/pull/5829


Added 'GriffinMelnick.md' with today's date

You are adding to the wrong repository - I am assuming this is part 3 of todays lab The repository should be
https://github.com/mskmoorthy/Spring2017PullReq


Reject invalid pub in a struct definition

What is wrong?
Currently, an invalid pub appearance is not rejected, e.g.,
pub struct Bar {
    pub x: i32
pub}

How can it be fixed
Tweaking the below code will resolve the issue.
https://github.com/ethereum/fe/blob/1190d93ef644d4e993497bf27ce5a48068c872ba/crates/parser/src/grammar/types.rs#L28-L55

Would like to take a look on it.


Reduce instances where photo is implied

Fixes #198

Merging so we get the updated Travis settings ASAP.


better syntax

Not entirely sure why the test run didn't throw an error and the main one did?
This change clears the warning in my notebook so hopefully a fix?

int(gene_table['start'].iloc[0])

you can, just tested in a notebook! just made those changes

testing: https://batch.hail.populationgenomics.org.au/batches/531186/jobs/1

int(gene_table['start'].iloc[0])

you can, just tested in a notebook! Just made those changes, thank you!

hahah or not :( https://batch.hail.populationgenomics.org.au/batches/531186/jobs/1

@MattWellie i don't understand what is different

Odd..
start = int(gene_table['start'].iloc[0]) - cis_window_size
index 0 can only be out of range if the table has no rows?

Odd..
start = int(gene_table['start'].iloc[0]) - cis_window_size
index 0 can only be out of range if the table has no rows?

yup well spotted! The gene is not in the file for some unclear reason 🤦♀ thank you!


Find way to make sure record that once were public, but now are withdrawn / concept / .... is reflected in the OAI

Enhancement
Find way to make sure record that once were public, but now are withdrawn / concept / .... is reflected in the OAI
Helps our third party consumers:

GISMO
UGI
... others

@mietcls Additionally, the OAI-PMH spec is quite explicit about the status of a record.
http://www.openarchives.org/OAI/openarchivesprotocol.html#Record
http://www.openarchives.org/OAI/openarchivesprotocol.html#DeletedRecords

an optional status attribute with a value of deleted indicates the withdrawal of availability of the specified metadata format for the item, dependent on the repository support for deletions.

If we want to adhere to the OAI-PMH spec, there isn't really room for additional values like "withdrawn" or "concept" or "draft".

@netsensei I don't mean to make that exact translation, but we do need to find a way to deal with it and to communicate about it to our stakeholders in a meaningful way. TBD

Tracked in #1099


Azure agent with windows2019 configuration fails paket restore

Description
Paket fails to use credentials management on Azure build node with windows2019 configuration
Repro steps
Azure DevOps agent has been provisioned with windows2019
Using this tasks in the pipeline:
Task         : Paket Credential Manager
Description  : Creates a credential manager for Paket to access internal NuGet feeds.
Version      : 0.2.5
Author       : Matthias Dittrich
Help         : This task allows you to consume NuGet packages hosted in your own private feed by providing a credential manager.
==============================================================================
Task         : Paket Restore
Description  : Restores your Paket dependencies.
Version      : 0.4.5
Author       : Isaac Abraham
Help         : This task restores your dependencies from the paket.dependencies file located in your repository.

Expected behavior
Restoring of packages works normally
Actual behavior
Restore fails with
Standard Error: It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
  - The following frameworks were found:
      3.1.4 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      3.1.6 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      3.1.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      3.1.22 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      3.1.23 at [C:\hostedtoolcache\windows\dotnet\shared\Microsoft.NETCore.App]
      5.0.4 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      5.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      5.0.14 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.0.0&arch=x64&rid=win10-x64
   at Paket.CredentialProviders.callProvider(String provider, CredentialProviderParameters args)
   at Paket.CredentialProviders.action@1-1(Boolean isRetry, String provider, String source, String key, CredentialProviderParameters args, Unit _arg1)
   at Paket.CredentialProviders.handleProvider(Boolean isRetry, String provider, String source)
   at Paket.CredentialProviders.GetAuthenticationDirect@199.Invoke(String provider)
   at Paket.CredentialProviders.GetAuthenticationProvider@206-1.Invoke(Boolean isRetry)
   at Microsoft.FSharp.Collections.SeqModule.TryPick[T,TResult](FSharpFunc`2 chooser, IEnumerable`1 source)
   at Paket.NetUtils.resolveAuth@487-1.Invoke(Unit unitVar)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)
--- End of stack trace from previous location where exception was thrown ---

/cc @matthid


[BUG]: Enabling experiments makes text formatting in Discord disappear

Describe the bug | BUG描述
When I enable the plugin, even though I don't make any changes to the experiments, Discord's text formatting disappears.
With the plugin activated:

With the plugin deactivated:

Version | 版本
1.4.0
Code of Conduct | 行為守則

[X] I have confirmed that what I have BUG Report has not been reported. | 我已確認我所回報的BUG並沒有被回報過

We did not find this problem after checking.
Please confirm whether you have enabled the Experiments function that caused this problem.
CHECK VIDEO:
https://imgur.com/nRW8847

There are no experiments activated, and no other plugins activated either. I just enable the plugin, and when I change guilds, the formatting is no longer there.

what did you mean "change guild" ?

By "changing guild" I mean changing servers. But that's exactly what you showed in the video. I don't know what is causing this problem. Reinstalling BetterDiscord does not resolve the issue. And there are no other plugins or experiments activated, so I don't think the problem is being caused by some third party. I just enable the experiments plugin, and the formatting disappears. If only there were other people with this problem, or some way to diagnose it.

I can't reproduce this issue
This issue has been marked as unknown.
If anyone has the same problem, please reply here
Remember:

This plugin is only maintained and developed for the stable version of Discord(Can be used on PTB or Canary, but versions other than the stable version are not maintained or developed)

I have the same problem. And it's not just formatting. It's also the new notification experiment and more. It seems like the plugin stops never features from working / appearing.

This bug appears to have been resolved in the latest BetterDiscord update, 1.10.0.
@SteffoSpieler, can you confirm this too?

yeah, seems to work again. At least for now.

This seems to be an issue on Discord's side. This plugin uses native Discord functions to enable experiments and doesn't change anything else such as ability to use formatting or new features.


production ready dataset

prepare a production ready data set

latest data from v1
mail enabled
bootstrap user script (superadmin, 5 regional admins)

Memberlist:  should show functions like "Stafelleiter MK16, Vereinesadmin TVXX,..."  check with Volk data after prod seed.
Verify user ACL cloning from memberships...


Prettier support needed

Is your feature request related to a problem? Please describe.
I need to use prettier to format my front end code
Describe the solution you'd like
I need to install prettier automatically
Describe potential alternatives you've considered
No response
Additional context
No response

Hello! Prettier does not have an LSP server. I have however continuously been doing some work towards enabling installing more things than just LSP servers, refer to https://github.com/williamboman/nvim-lsp-installer/issues/95 for updates on that!

Wow, thank you !


Add support for portals, and transparent proxy object

What Changed
Add a means of leveraging portals to render JSON trees in another node.
Also introduces a proxy node type that is a transparent marker that can be used in the JSON tree. It's not included in any final rendered output, but enables traversal of the JSON tree via refs

📦 Published PR as canary version: 1.1.0--canary.3.65.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Codecov Report

Merging #3 (1a5dad0) into main (5f9161e) will decrease coverage by 0.49%.
The diff coverage is 64.91%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   69.07%   68.58%   -0.50%
==========================================
  Files           4        4
  Lines         152      191      +39
  Branches       20       28       +8
==========================================
+ Hits          105      131      +26
- Misses         35       42       +7
- Partials       12       18       +6

Impacted Files
Coverage Δ

src/host-config.ts
54.25% <60.00%> (+4.95%)
:arrow_up:

src/json.ts
78.20% <62.50%> (-4.88%)
:arrow_down:

src/render.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fixed opening changelog on extension update

This approach opens the changelog only on extension update, and not on browser update (which occurs very frequently for canary/dev branches of said browsers). I wrote a brief explanation of the issue and fix here
Implements following issues : #50 .
Reworked and properly fixed after an initial patch in 1.9.1 that disabled opening the changelog at all

Ah, I just saw that you're not sure whether to fix the feature or get rid of it completely- I'll leave this PR, but just close it if you don't want the feature anymore.

Hi. Yea, I've decided to abandon the feature because I thought it will be too annoying even if it won't appear every time on extension reloading (I still hate AdBlock because of this). But now I've thought that I can just add an option to disable it. So, I've tweaked the code you've added. Also, I've made it to appear only if version is updated as well, since reloading the extension still makes it appear every time. Is it ok?

You're right. Well, it's your call - you can accept the PR as is, but I have another idea if you want :
When the extension is updated, we could display a badge next to the "options" icon, and highlight the "changelog" menu item in there, to indicate to users that it was updated, and guide them to the changelog.
That approach does not add another setting, and does not force them to check the changelog, while still making them aware there was an update and guiding them to the news.
So, yeah, your choice ! I'm fine with this PR being closed if you prefer another approach 🙂  !

I dunno. Your approach seems to be a better design solution. But I'm personally hate those apps which use these badges because they require you to open the page to make it disappear. Super annoying to me

I dunno. Your approach seems to be a better design solution. But I'm personally hate those apps which use these badges because they require you to open the page to make it disappear. Super annoying to me

You're right ! Maybe just opening the options menu should make it disappear ?
I'm personally fine with both, so if you hate the badges thingys let's just use your approach with a setting !

Yea, sure, that will do

@AmineI here it is. What do you think?

That will create a merge conflict with #48 as I also had to introduce a "UpdateBadgeCounter" function, I'll be sure to resolve it as soon as this is merged.


Reproduce the result on okvqa

Hi, I use the scripts LAVIS/run_scripts/blip/train/train_okvqa.sh to finetune blip on okvqa. However, the result in epoch 7 is only 45.12, which has a large gap between the result 55.4 you proposed. Are there any hyperparameter that need to modify in LAVIS/lavis/projects/blip/train/okvqa_ft.yaml ?
It would be highly appreciated if you could give some help.

Hi @YHWmz ,
The 55.4 result is obtained by initializing from VQAv2 checkpoint. Can you confirm you are loading this checkpoint?
Thanks.

Hi @YHWmz ,
The 55.4 result is obtained by initializing from VQAv2 checkpoint. Can you confirm you are loading this checkpoint?
If directly tuned on OKVQA from pretraiend checkpoint, ~45 is expected.
Thanks.

Thanks for your replay.
I find that the model initializing from 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth' in LAVIS/lavis/models/base_model.py line 101.
I am not sure whether the ‘model_base_vqa_capfilt_large.pth’ is VQAv2 checkpoint？By the way, I didn't change the code in LAVIS but just run the script LAVIS/run_scripts/blip/train/train_okvqa.sh

I also try to run LAVIS/run_scripts/blip/train/train_aokvqa.sh and the model is also initializing from 'model_base_vqa_capfilt_large.pth'. Then I find the result is ~50, which also lower than 56.2 in Benchmark.

Are you using the same configurations as in .yaml? Note that OKVQA and AOKVQA dataset sizes are quite small. If you change batch size etc, you may also need to adjust other hparams accordingly to reach the best results.

Oh, I change the bz to 12. Maybe that is the problem.
I'll let you know when I figure it out.
Thank u so much for the help~

Solved.
The problem is the bz.
Thanks for your help again.

Glad to hear.


Implement finalizer support for machine resource

gcp-deployer now support machine/cluster deletion.

This change is

This PR is built on top of https://github.com/kubernetes/kube-deploy/pull/572
Please focus on review the last commit https://github.com/kubernetes/kube-deploy/pull/581/commits/80a3312d50c05f79c76b4057c178be95addd13d9

/lgtm


Reorganize subject headings

Reorganize the placeholder subject headings in the "Foundations" section to be more user-friendly, as discussed at the EWG on 3/4/2021.

Seeking comments on the new subject heading structure. These will hopefully guide us as we develop actual content. Any suggestions?

I'm in"Clyne"d to agree with @clyne ... maybe instead of GitHub (despite it being the de facto standard at present in terms of cloud-hosted git repos), just plain git?
Otherwise, subject headings look great!

I agree that the title "Getting started with the Python community" is sort of unwieldy and not very specific. This emerged from discussion in the EWG as a replacement for the original title "Version control with git and GitHub", which sounded to technical and not "user friendly" enough to many ears.
I think I would vote for "Getting started with GitHub" because it sounds inviting and implies both the community aspect and the technical version control skills.
Sure, GitHub may not last forever as the standard remote host, but I think it's fine for our material to be somewhat opinionated about where to direct our learners. E.g. I was not planning on writing a tutorial on the pros and cons of GitHub vs. BitBucket. We can adapt in the future as things evolve.

Alright, hearing no further comments, I will go ahead and make the change to "Getting started with GitHub".

I'll merge this now so that it's ready to show at the Pythia quarterly meeting this afternoon. I'm sure we will tweak further as content gets built out.


autocomplete event rename

The "change" event is common for inputs, the better way to have special event name for "select" event.

I'm not sure I understand? We are triggering the change event because it is common. The change event is triggered when inputs are changed normally but not through javascript so we are triggering the same event to make it consistent with what you would expect.

Hi, I mean, that "change" event triggers on input change, it's general behavior of text input, so, how I can detect that the "change" event fired by select in dropdown list? May be user have entered text but haven't selected.

We fire change because changing the input text using JavaScript does not fire the change event


Attention converging speed

Hi @bshall,
I have a question about attention layer learning speed. The authors report a faster alignment learning speed by using DCA. Is that also the case observed in your training?

Hi @artificertxj1,
I haven't directly compared against location-sensitive attention, so I can't give you a complete answer, but DCA does seem to learn a good alignment pretty quickly. In my experiments you usually get good alignments by around 2k steps. There's a bit of instability (probably because I can't use batch sizes of 256) but it goes away after a bit more training. Based on some comments I've seen in other Tacotron implementations that seems to be pretty quick.

@bshall How much time in minutes did this take you?

Hi @prattcmp, on my GeForce RTX 2080 I get roughly 1 step per second so you should start seeing alignment from about 30-60 minutes. Obviously training to full convergence (250k steps for the pretrained model) takes much longer. You should be able to get intelligible speech pretty shortly after the alignment is learned though so you can already test out the model at that point.
Just an FYI, I found that the model takes a while to learn to pause at full-stops and commas for the appropriate amount of time. So if you are trying to synthesize speech early in the training it might be useful to add:
tacotron.decoder_cell.prenet.fixed = True

when you load the model. This helps stops the model from pausing indefinitely for some utterances.

Interestingly, I get 2s/it (0.5it/s) on a Tesla V100 at both batch sizes of 64 and 128. GPU utilization is low at ~20-40%. Any idea why?

Hi @prattcmp,
Yeah, the GPU utilization of the model isn't great. The culprit is the decoder cell. Since it's basically a costomized RNN you have to the looping in python and can't take advantage of the fast CUDA RNN implementations.
There are a couple of things you could do to increase GPU utilization if you wanted to experiment. The first is replace these two LSTMCells with torch.nn.LSTM layers and move them out of the loop. The downside is that the torch.nn.LSTM doesn't implement zoneout so you'd have to see if training works well with out it. It seems that it'd be okay based on NVIDIA's implementation of Tacotron 2. They write "We replace zoneout with dropout in the decoder rnn and remove it entirely from the encoder rnn." here.
Similarly, you can move the decoder prenet out of the loop and apply it to the input Mel-spectrograms in parallel. This would increase memory usage a bit but should help with the GPU utilization.


Storefront add to cart redirects to broken offcanvas

Description
If you add a product to the cart (e.g. on product detail page) and the JS Plugin is not ready you are redirected to a offcanvas widget with no styling:

It happens if you are very fast and click on the "add to cart" button before the page is completely loaded or e.g if you have a slow connection (you can try it with the developer console if you enable "Slow 3G"
Possible Solution
Change "redirectTo" value to "frontend.detail.page" in template and only change it via js to "frontend.cart.offcanvas".
This way the product is added to the cart and the page refreshes if the JS Plugin was nit ready
Additional context

Hello,
thank you for creating this issue.
I have opened a ticket on our Issue Tracker for you. See the ticket link: https://issues.shopware.com/issues/NEXT-8627
Please use this ticket to track the state of your issue.


Addtion key setting

Hi, I use " ~ 1 End PageDown"  for my osu mania 4k. But I cannot set ` in the kps counter. Thank you.

Sorry for not replying in time. Fixed in next release.


Add enter user own Youtube API Key option

Add enter user own Youtube API Key option

You can technically clone the repository, put your own API key in, and load the extension to your browser to use – it just won't be through the Chrome Web Store.
Just curious (and looking for more context), why do you want to do so? Are there some issues with the current key for you?

Something extension doesn't load comment (I wait for 10+ mins until the video ends) and kind of this extension facing an API quota limit. So I think this extension might face the same issue too.

I was wondering the same thing.
Is it possible to show some sort of loading indicator to see if the extension is hitting a quota or hanging? I also find it to just be stuck loading for some time, sometimes only showing up after a refresh.

Interesting, I think this might be more of a sync issue where the extension doesn't properly detect the video and doesn't start loading the comments. I've noticed something similar at times since the last update to the codebase -- I'll check it out!

@knightron0  Hi guys can You please explain how to do the process to run the extension with my API, the extension si not working and for what Ive seen it seems a quota limited problem because it only charges some few tiemstamped comments sometimes. I don't have much tehcnical knowledge so would really appreciate if you asssit me briefly how could I use my API. Thank you!.

@NicPalacio if you do want to use your own API key, you would start with this guide:

Sign into Google Cloud Console and select or make a new project.
For the project, enable the YouTube Data v3 API, save and copy the secret key.
Follow the contributing instructions and paste in your key.

@Iz-zzzzz late reply but the sync issue is still happening right?
Does anyone have ideas how to reproduce it?

@knightron0 Not sure how you want to proceed, but to enter own API keys maybe start with something like #16?
I don't know how to get the sync issue.


Log visualize phases

This PR implements a part of  #227 - namely, visualize phases and changes thereof.
I'm no designer, but with this, the current phase and changes thereof are clearly visible.

Checklist

[x] Use a separate branch in your local repo (not master).
[x] Test coverage is 100% (or you have a story for why it's ok).

Note
Nicolo will be away for 2-3 weeks starting July 16th 2018, so expect some delays in getting a response.

oh my - I relied too much on the prepush hook to catch errors. First prop type validation, and now uncovered lines. :-1:

Coverage decreased (-0.3%) to 99.703% when pulling f09073954e0a2e1a662df6f57298f03876d15375 on Stefan-Hanke:log-visualize-phases into 52be2c31a4e854098e41dfdc3458efa92f8a84b9 on google:master.

Hmm, looks like the colors get a bit jarring for longer logs.
I have an alternate proposal in https://github.com/google/boardgame.io/tree/log-phases that looks like the following (turns on the left and phases on the right; it also has the nice property of conveying to the user the fact that turns and phases are orthogonal concepts):

What do you think?

Looks ok to me. I think I'll not spend time with UI stuff anymore...


Migrate to GH Actions

[x] Move from Travis to GH Actions
[x] Create a workflow for publishing
[ ] Document publishing process

Documented publishing in the PR comment #16

FIx implemented


Security check

Security checks, logging, and doctests.

/AzurePipelines run continuous-integration

/AzurePipelines run continuous-integration


Can't pass abortEarly (or other options) down to joi via schema.validate

Hi,
Joi supports abortEarly flag to return only first error that occured when validating the schema. This is by default set to true. This can be passed to joi passed via:
Joi.validate({firstName: 'John', lastName: 'Doe', age: 45}, schema, { abortEarly: false } , function (error, value) {
    error && console.log(error);
});

When using schema.validate() we lose the option to pass in options down to Joi:
schema.validate({firstName: 'John', lastName: 'Doe', age: 45}, function (error, value) {
    error && console.log(error);
});

Without having to add Joi as dependency, is there a away for enjoi to pass options down to joi?

Sorry for taking so long to respond. Will look into this!

You should be able to still call Joi.validate and pass this returned schema and options.

Closing this, since this simply returns the joi schema and if calling validate on schema directly (as opposed to Joi.validate) doesn't support options, it's because Joi does not.


[Feature Request] Allow activity-only workers

Relates to https://github.com/temporalio/sdk-core/issues/224
A user has a need to limit the maximum number of activities targeting a certain resource and they do this by using many task queues. That's fine, but at the moment those workers would also poll (pointlessly) on workflow queues which introduces unnecessary burden. Allow running activity-only workers which do not poll on workflow queues at all.

This already works and is supported in lang by simply not calling core's poll workflow task function.


Generic type is not compatible with rest Array

Flow try
I've narrowed down the code to the following
// The function defines an action creator, it uses generics
// to describe what arguments can be passed to the generated function
function define<A>() {
  return (...args: A) => ({ payload: args });
}

// Define a function that expects 2 numbers
const action = define<[number, number]>();

// Complains
action(1, 2);

I have one function that generates another one, I want to specify which arguments are allowed as arguments for the generated function, but if I use generics then I get the error that a generic is not compatible with Array.

As per mentioned in the doc, you need to explicitly use Array type for rest parameter, so the following is supposed to work.
function define<A>() {
  return (...args: Array<A>) => ({ payload: args });
}

However, it doesn't, the workaround will be:
function define<A>(): ((...args: Array<A>) => Object) {
  return (...args) => ({ payload: args });
}

Flow can't infer generic types inside function bodies


Improve output if run on non-PE file (-a switch)

Improve user feedback if run on non-PE file.
We still extract static strings if run with the -a option, but decoding doesn't work for it.

floss already extracts static strings from non-PE files if -a is provided

implemented in branch, but wondering if automatically extracting strings from unsupported file types might confuse people (make them think the tool is working when its not?).
its inconsistent to sometimes require -a and other times not.
perhaps instead floss should provide a suggestion to the user.

updated branch. now suggests to use -a if not provided, rather than implicitly changing the mode.


Azure Function in python - V2 model - using service_bus_topic_trigger - not documented how to receive only concrete SessionId

Python Azure Function
In a Azure Function, written in Python
using V2 model, as generated by Visual Studio Code
It is not documented how to set the SESSION_ID.
How do I receive only topic messages with a preset SessionId?
import logging
import azure.functions as func
import os

app = func.FunctionApp()

TOPIC_NAME_A = os.environ['Topic']
#CONN_STRING = os.environ['ServiceBusConnection']
SESSION_ID = os.environ['SessionId']

@app.service_bus_topic_trigger(arg_name="azservicebus",
                               topic_name=TOPIC_NAME_A,
                               subscription_name="alfdevapi6subscription",
                               connection="ServiceBusConnection")
def servicebus_trigger(azservicebus: func.ServiceBusMessage):
    logging.warn('Python ServiceBus Queue trigger processed a message: %s',
                azservicebus.get_body().decode('utf-8'))

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

ID: a0ac735e-3c90-8ba4-2d19-55099d03a1e4
Version Independent ID: c3b1b510-641b-2cfb-e414-8d8b068de9e6
Content: Develop Azure Functions by using Visual Studio Code
Content Source: articles/azure-functions/functions-develop-vs-code.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@alfrepo
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

I followed this docu
https://learn.microsoft.com/de-de/azure/azure-functions/functions-develop-vs-code?tabs=node-v4%2Cpython-v2%2Cisolated-process&pivots=programming-language-python
And have generated an azure function in python, which listens to topics, but doesn't have access to session Id.

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


About the official website of Responsive Material Design？

Excuce me,What is the official website of Responsive Material Design？

what do you mean by  official website of Responsive Material Design ？

I want to see the doc of Material

Just google "Google Material Design"

https://www.google.com/design/spec/material-design/introduction.html

Thank you ,but i am in China


Password correct but not working in Phoscon app

Password had not been changed, but is not accepted by Phoscon app.
Password reset does not work and complained that it can only be done within 10 minutes of gateway power up. I have tried both re-starting the container and restarting the docker host. None of those work.
I tried connecting with Hue Essential app on Android. Using user: delight and my password, it is able to connect.
This seem to point to the password being correct, but somehow is rejected. The failed login does not show in the log that I can see in portainer. If there is other log I can provide, please let me know how.

This seems more of an issue for https://github.com/dresden-elektronik/deconz-rest-plugin

This seems more of an issue for https://github.com/dresden-elektronik/deconz-rest-plugin

Thank you. I did not know about that. Their issues lead me to their forum. I have asked the question there and hope to get help on it.
Cheers


calling .toPng on a Group item ?

when calling .toPng on a Group item, which has many Layers inside, it throw an Error
png.js:12 Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0.
    at LazyExecute.toBase64 (http://localhost:3000/static/js/0.chunk.js:17719:27)
    at LazyExecute.toPng (http://localhost:3000/static/js/0.chunk.js:17733:22)
    at Group.toPng (http://localhost:3000/static/js/0.chunk.js:16645:31)
    at <anonymous>:1:54

Is it possible to export Group item to png ?

Export group is not supported.


Update GitHub actions

This could be somehow automated using Dependabot:
Keeping your actions up to date with Dependabot

I appreciate the PR, but this is something that I will do with https://github.com/asottile/all-repos to all my repos, in an automated fashion.

But does it work at all? I mean, actions/setup-python is still stuck at v2 while v3 was released in April and v4 a month ago.

setup-python is at v3 and is working just fine, as can be seen from recent CI runs: https://github.com/hukkin/tomli/actions

My wrong, somehow I got it all mixed up. Indeed, actions/setup-python was changed in May from v2 to v3 by 7e563eed5286b5d46b8290a9f56a86d955b23a9a, after v3 was released in April and before v4 was released in October.


Track cluster status in remote Kyma cluster

Description
Busola has to be enabled to show the status of a Kyma installation in the UI. Busola has only access to Kyma cluster internal resources which implies that the reconciliation status has to be tracked inside of the Kyma cluster.
Goal is to track for each component a config-map which includes the result of the reconciled component:

Name
Version
Reconciliation result
Timestamp of last reconciliation
Label which indicates that the config-map includes a reconciliation summary

AC:

Each component reconciliation trackes the reconciliation result in config-map in the cluster which includes details of the component reconciliation

** Reason**
Enable Busola to show the status of the Kyma cluster.

Would be great to track in here the overal kyma version too, so we don't have to read it from labels

That actually a little issue: the Kyma version is for us just the "default component version". But already today can any object have his own version and overwrite the provided Kyma version. So, saying this cluster runs on "Kyma 2.1" means only , that the components in this cluster are using 2.1 as default-version. But we have alreyd other components in the cluster running which use a different version (e.g. SRE components etc.)


Can't use Files app

Explain the bug
When I open the app, it shows me a blank prompt, and I cannot use Files app.
To reproduce
Just open the app.
Expected behavior
No prompt.
Logfile
debug.log
debug_fulltrust.log
Screenshots

System Information

OS Version: [e.g. Windows 10 21H1 19043.1110]
App version: [<IP_ADDRESS>]

Additional comment

It became fine if I update the app. Thanks.


hey, is there a way to get in touch with you regarding this project?

my contacts are in my bio :)

You can get in touch on the Moralis Discord. https://moralis.io/mage/


Github API rate limits error

When I try to build Milkman project Maven fails at com.github.warmuuh.mvn-jlink plugin with error:
Can't doLoad SDK archive from https://api.github.com/repos/bell-sw/Liberica/releases?per_page=100&page=1 : 403 Forbidden

Github server gives response:
{
  "message": "API rate limit exceeded for XXX.XXX.XXX.XXX. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://developer.github.com/v3/#rate-limiting"
}

Is there any way to provide authentication in plugin configuration to overcome server rate limit?

As I see in github doc, you have 60 downloads per hour as anonymous one, but they limit through IP address and may be it takes part. At present there is not any way in plugin to provide git credentials, I will add such functionality

I have added logging for limit remaining fields in response


Interactive Time Charts

Problem
As a user, I would like to select ranges for my charts, to quickly narrow down on possibly problematic timings for user activity, etc.
Solution
Using the Brush component from recharts. Could look into 'time' scale property for appropriate charts
Additional information
No response
👨👧👦 Contributing

[ ] 🙋♂ Yes, I'd love to make a PR to implement this feature!

Unfortunately the drop and drop feature causes a bit of a hang up when adding additional effects that require a click and a drag. Something to consider in the future.


New Faults: Bunce and Bowin Fault Zones

Faults offshore northern Puerto Rico.  Look like the eastern continuation of the Septentrional Fault on the eastern side of the Mona Rift.  Documented in Grindlay et al. 2005.

Added faults in  14ecc7e


Smoother scrolling in book reader

Description of the new feature / enhancement
A bit more smoother scrolling than now in yomikiru while reading manga / webtoons.
Scenario when this would be used?
While reading comics.
Supporting information
Realm scans - Top Tier Providence

Open the above link.
Extract and open the same in yomikiru. - Chapter 108.zip.
Scroll up and down (slowly or normally).
I feel the scrolling could be a bit more smoother in yomikiru after comparing with the website counterpart.
Please make the scrolling smoother to match with the website counterpart or more.
There is no error in dev tools, I checked it.

Isnt it same as #140.
I will look into it when i have time.

To me its more laggy on website than in yomikiru. Please provide more info.

If the issue is with the scrolling you do with mouse and not the keyboard then I'm afraid I can't do much there.
Though I had thought of better way to scroll with keyboard but don't have time to implement.
If there is issue with mouse scrolling then its probably because of page number or progress updating or just system limitations.
As for #140, i can see it as well but cant say same for the manga reader.


New version: converse.converse version 10.1.5

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run


auto detect transform

Replaces -t sheetify/transform with -t sheetify. Backwards compatible, semver minor.

Codecov Report

Merging #126 into master will decrease coverage by 1.3%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #126      +/-   ##
==========================================
- Coverage   97.22%   95.91%   -1.31%
==========================================
  Files           2        2
  Lines         144      147       +3
==========================================
+ Hits          140      141       +1
- Misses          4        6       +2

Impacted Files
Coverage Δ

index.js
92.42% <33.33%> (-2.82%)
:arrow_down:

Continue to review full report at Codecov.

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

v6.1.0 :tada:


ci: explicit windows version

Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>

https://github.com/actions/virtual-environments/issues/4856