Trying to look for errorCode for type AuthError but EventMessage is using EventError

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[x]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[x]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Framework

[x] Angular
[ ] React
[ ] Other

Description
When trying to see if i'm getting certain type of error, I'm getting this issue:
Property 'errorCode' does not exist on type 'EventError'.
Property 'errorCode' does not exist on type 'Error'.
Error Message

MSAL Configuration
// Provide configuration values here.
// For Azure B2C issues, please include your policies.

Reproduction steps
// Provide relevant code snippets here.
this.msalBroadcastService.msalSubject$
            .pipe(
                tap((msg: EventMessage) => msg),
                takeUntil(this._destroying$)
            )
            .subscribe((result: EventMessage) => {
                if (result.eventType === EventType.LOGIN_SUCCESS) {
                    ...
                } else if (result.eventType === EventType.ACQUIRE_TOKEN_SUCCESS) {
                    ...
                } else if (result.eventType === EventType.LOGIN_FAILURE) {
                    if (result.error.errorCode === 'user_cancelled' || (result.error.errorCode === 'consent_required' && this.router.url === '/login')) {
                        ...
                    }
                } else if (result.eventType === EventType.ACQUIRE_TOKEN_FAILURE) {
                    ...
                }
                if (environment.name !== 'prod') {
                    ...
                }
            });

// For Azure B2C issues, please include your policies.
Expected behavior
In nested if statement for login failure, it should also look at AuthError. I believe this is defined in EventError already but for some reason is not finding it.
Identity Provider

[X] Azure AD
[ ] Azure B2C Basic Policy
[ ] Azure B2C Custom Policy
[ ] ADFS
[ ] Other

Browsers/Environment

[X] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari
[ ] IE
[ ] Other (Please add browser name here)

Regression

[ ] Did this behavior work before?
Version:

Security

[ ] Is this issue security related?

Source

[ ] Internal (Microsoft)
[ ] Customer request

@shinkhouse Can you cast result.error to AuthError or check that result.error is an instance of AuthError? EventError is defined as AuthError | Error | null so you'll need to validate that result.error is of the correct type before accessing specific properties on it.
You could do something like this:
else if (result.eventType === EventType.LOGIN_FAILURE) {
    if (result.error instanceof AuthError && (result.error.errorCode === 'user_cancelled' || (result.error.errorCode === 'consent_required' && this.router.url === '/login'))) {
        ...
    }

@tnorling Yes, that was a great idea. That did the trick. Thank you for your assistance.


Working on Safari Browser

@Volcomix Thank you for nice work . I have a question "Whether this web app is supported on the Safari Browser?" . I have tested on the safari browser but it is not working . Thank you

Hey @NaeemKhan333, thanks for asking 😄
This app relies on webgl2 which needs to be enabled in Safari "Experimental Features" developer menu starting from v10.1 (https://caniuse.com/webgl2). SIMD is not supported though.

@Volcomix Thank you for reply , if I change webgl2 to webgl will it support the safari browser or not.

The GLSL shaders are not compatible with webgl so it won't work. Maybe could you just fallback to the canvas implementation on safari rather than loading the webgl2 pipeline by default: https://github.com/Volcomix/virtual-background/blob/8530c56ce419618a3679ca379e76bfd1518a35f5/src/App.tsx#L35
We could detect this case the same way we detect unsupported SIMD, by trying to create a webgl2 context and by disabling the webl2 options if it is not available (plus fallback to canvas).

Thank you

Did anyone succeed in running the playground (https://volcomix.github.io/virtual-background) on iPhone iOS 15.1 / 14.8 / 14.7/ etc?
What is the recommended implementation for cases where WEBGL2 isn't available?

The GLSL shaders are not compatible with webgl so it won't work. Maybe could you just fallback to the canvas implementation on safari rather than loading the webgl2 pipeline by default:
https://github.com/Volcomix/virtual-background/blob/8530c56ce419618a3679ca379e76bfd1518a35f5/src/App.tsx#L35
We could detect this case the same way we detect unsupported SIMD, by trying to create a webgl2 context and by disabling the webl2 options if it is not available (plus fallback to canvas).


Nvidia SDK integration and support

Hello, when is the integration and support of the various Nvidia SDKs with installation of these? Would not be this logical point within the framework of your partnership with this one, thank you

@daklinux can you explain in more detail what you are looking for? Is this something you are looking for in an extension ?


enhancement request: Could we treat errors/warnings as a set as opposed to a list?

Currently when I run fontmake on NotoSerifDisplay-RomanMM.glyphs
I get the following
==== building src/NotoSerifDisplay-RomanMM.glyphs ====
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment" (('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394', -40)),
removing pair from latter rule
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment" (('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394', -40)),
removing pair from latter rule
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment" (('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394', -40)),
removing pair from latter rule
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment" (('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394', -40)),
removing pair from latter rule
They are just multiple occurrences of the same single issue:
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment" (('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394', -40)),
removing pair from latter rule
I do not see the warnings or messages associated with the lines of text, therefore I'd prefer to see a single warning as opposed to warning repeated 4 time.
Could we treat errors/warnings as a set as opposed to a list?

That's weird indeed.
On Thu, May 19, 2016 at 11:08 AM, Marek Jeziorek<EMAIL_ADDRESS>wrote:

Currently when I run fontmake on NotoSerifDisplay-RomanMM.glyphs
I get the following
==== building src/NotoSerifDisplay-RomanMM.glyphs ====
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment"
(('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394',
-40)),
removing pair from latter rule
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment"
(('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394',
-40)),
removing pair from latter rule
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment"
(('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394',
-40)),
removing pair from latter rule
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment"
(('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394',
-40)),
removing pair from latter rule
They are just multiple occurrences of the same single issue:
WARNING: Duplicate kerning rules found for glyph pair "Tau, increment"
(('public.kern1.T', 'increment', -50) and ('Tau', 'public.kern2.uni0394',
-40)),
removing pair from latter rule
I do not see the warnings or messages associated with the lines of text,
therefore I'd prefer to see a single warning as opposed to warning repeated
4 time.
Could we treat errors/warnings as a set as opposed to a list?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/googlei18n/fontmake/issues/79

--
behdad
http://behdad.org/

I think the actual issue here is that the warning is given for multiple masters in the source file, but the master is not included in the warning. So I'd suggest just including the master as a fix.


The exception and exceptions fields in RescueNode are confusing a bit

RescueNode represents a rescue section and has exception and exceptions fields for optional exception classes
and optional exception variable:
...
rescue <exceptions> => <exception>

These names look a bit confusing - it might be not obvious for someone what exactly they mean and it will be helpful to make them more precise.
Not sure if there are common used terms for these things. I could propose the following alternatives only:
exceptions:

exception classes (but it might be not only classes but some expression, e.g. *exceptions_array)
exceptions list
rescued exceptions
expected exceptions

exception:

exception variable (but it might be also constant or method call (a.foo or a[:foo]))
just "assignable" as far as semantic is to assign exception to the provided name

Declaration of the RescueNode node:
  - name: RescueNode
    child_nodes:
      - name: keyword_loc
        type: location
      - name: exceptions
        type: node[]
      - name: operator_loc
        type: location?
      - name: exception
        type: node?
      - name: statements
        type: node?
        kind: StatementsNode
      - name: consequent
        type: node?
        kind: RescueNode

I don't like assignable because we don't use that anywhere else in the tree and it feels much more specific to implementations. I'm not particularly a fan of variable since it could be a constant, which feels weird.
What do you think of value or rescued?

Maybe captured_exception/rescued_exception?
value seems too generic to me and unclear it's not the statements then (because that's the value of the RescueNode if no exception).

I like reference a lot as its own thing. What do folks thing about that?


Handle only one session at a time per multisig

Save a entity with the current session being created PER NETWORK. When someone attempts to login with the multisig.


Update Rust Nightly Version

Fix a new Rust Nightly version

Auto-generated PR

Pull Request Test Coverage Report for Build 567380940

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.383%

Totals

Change from base Build 561478012:
0.0%

Covered Lines:
13508

Relevant Lines:
16598

💛  - Coveralls


Not work with Unicode

😍
你好
高い

Unicode seems not work. :)

It was made intentionally. AFAIK, there's no support for Unicode matching in JavaScript. But a plugin exists: https://xregexp.com/plugins/
I'd suggest to fork the repo and modify tagFormat regex for your needs.

thank you!


Cannot create or update property/namedvalues for api management

Package Name: azure-arm-apimanagement
Package Version: ^5.1.0
Operating system: Window
[x ] nodejs

version:  6.8.0

Describe the bug
trying to create property/namedvalue throws,
Error "mapper.constraints[constraintType].split is not a function" occurred in serializing the payload - {
"displayName": "foo",
"value": "bar",
"secret": true
}.
To Reproduce
Steps to reproduce the behavior:

create a property/namedvalue using with payload
{
"displayName": "foo",
"value": "bar",
"secret": true
}.

Expected behavior
Same as portal behavior. Should create a property/namedvalue
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
this is what seems to cause it
https://github.com/Azure/azure-sdk-for-node/blob/e1887b81ee4f1b0d540d6b63c84c542829036edd/lib/services/apimanagement/lib/models/propertyContract.js#L104
at line
https://github.com/Azure/azure-sdk-for-node/blob/master/runtime/ms-rest/lib/serialization.js#L160

looks very similar to https://github.com/Azure/azure-sdk-for-js/issues/3718

@amarzavery this looks like bug in sdk

@anganti - What is the name of the operation that you are trying to use?

@anganti - What is the name of the operation that you are trying to use?

client.property.createOrUpdate
https://github.com/microsoft/vscode-apimanagement/blob/ec192c24cf6d40129bee6ca9e121a47b24eaeae8/src/explorer/NamedValuesTreeItem.ts#L61

Fixed in 2.5.1 - https://www.npmjs.com/package/ms-rest/v/2.5.1


Update latest info on caching in .NET

Why:
Version 3.2 of the setup-dotnet action introduced more concise syntax for caching, people should know about it. Added a note with relevant links.
Closes:
https://github.com/github/docs/issues/32098
What's being changed (if available, include any code snippets, screenshots, or gifs):
Just added a second note to point to the documentation that shows the new, more concise syntax.
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@dgor82 Thanks so much for opening a PR! I'll get this triaged for review ✨


Externalize config properties

Hello ,
It would be great if you can provide a way to configure Latitude & Longitude properties from an input msg.payload.
Thank you for your help,

There's no way to realize this. Pull request is welcome!


[release-1.17] Fix bug report include option not working as expected

This is an automated cherry-pick of #45842

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test lint

unit-tests-arm64_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test lint

unit-tests-arm64_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test unit-tests-arm64

gencheck_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test lint

unit-tests-arm64_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test unit-tests-arm64

gencheck_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test gencheck

unit-tests_istio_release-1.17
24719be9a056b107360e11a6fe13383eb83674ca
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Replaced by https://github.com/istio/istio/pull/45880


Add readonly mode

In this PR:

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

Issues reference:

https://github.com/ducktors/turborepo-remote-cache/issues/
https://github.com/ducktors/turborepo-remote-cache/issues/

Checklist:

[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

[ ] Have you lint your code with pnpm lint locally prior to submission?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran build with pnpm build of your changes locally?
[ ] Have you successfully ran tests with pnpm test of your changes locally?
[ ] Have you commit using Conventional Commits?

@maschwenk Could you follow the conventional commits? Thanks!

@maschwenk Could you follow the conventional commits? Thanks!

@matteovivona Totally, was just putting this here as a placeholder as I wasn't sure if this was an idea y'all would be on board with at all

@matteovivona would you accept this PR more or less as-is? (after adding testings and conventional commits, obviously)
I opted to not mount the route at all because I want to make sure it 404s instead of 500s or 200s. I believe Turborepo will retry on 500s and 200 ACKing feels kinda wrong.
Worth noting I'm also working with Turborepo to implement this at the Client level, but they have some concerns about how to make that functionality coherent with all the other flags they have

https://github.com/vercel/turbo/pull/6326

@fox1t agreed. The server-side implementation use-case seems a little more fringey.


mediafileupload has no attribute '_fd'

Environment details

OS: Ubuntu 18.04
Python version: 3.7.4
pip version: 19.2.3
google-api-python-client version: current

Steps to reproduce

Add simple file upload from example to quickstart example from https://developers.google.com/drive/api/v3/quickstart/python
After running console shows error: attributeerror 'mediafileupload' object has no attribute '_fd'

Hi @Stormwaker,
I'm unable to replicate the error. It looks like you are using this sample showing simple uploads.
Could you try again with the code below?
from __future__ import print_function
import pickle
import os.path
from googleapiclient.discovery import build
from googleapiclient.http import MediaFileUpload
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request

# If modifying these scopes, delete the file token.pickle.
SCOPES = ['https://www.googleapis.com/auth/drive']

def main():
    creds = None
    # The file token.pickle stores the user's access and refresh tokens, and is
    # created automatically when the authorization flow completes for the first
    # time.
    if os.path.exists('token.pickle'):
        with open('token.pickle', 'rb') as token:
            creds = pickle.load(token)
    # If there are no (valid) credentials available, let the user log in.
    if not creds or not creds.valid:
        if creds and creds.expired and creds.refresh_token:
            creds.refresh(Request())
        else:
            flow = InstalledAppFlow.from_client_secrets_file(
                'credentials.json', SCOPES)
            creds = flow.run_local_server(port=0)
        # Save the credentials for the next run
        with open('token.pickle', 'wb') as token:
            pickle.dump(creds, token)

    service = build('drive', 'v3', credentials=creds)

    file_metadata = {'name': 'photo.jpg'}
    media = MediaFileUpload('files/photo.jpg',
                            mimetype='image/jpeg')
    file = service.files().create(body=file_metadata,
                                        media_body=media,
                                        fields='id').execute()
    print ('File ID: %s' % file.get('id'))

if __name__ == '__main__':
    main()

I've noticed that there was a typo in the path to photo I wanted to upload. So I think that the error might be coming from exception handling. Full error reads:
Traceback (most recent call last):
  File "/home/maccutkiewicz/anaconda3/lib/python3.7/site-packages/googleapiclient/http.py", line 567, in __del__
    self._fd.close()
AttributeError: 'MediaFileUpload' object has no attribute '_fd'```

:+1: I'm able to replicate it if I misspell the filename.

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 578, in del
self._fd.close()
AttributeError: 'MediaFileUpload' object has no attribute '_fd'
I got the same error while executing MediaFileUpload() but It's fine to work in the windows machine. Anyone here can please help me. Thanks

When I use the right directory and file address, it doesn't give me this error. My directory path starts with /Users//<folder_name>/<file_name>

@NikhilTank35
media = MediaFileUpload('files/photo.jpg',
                            mimetype='image/jpeg')

Make sure that files/photo.jpeg is a valid path. I was getting the same error, realized that I have no file at files/photo.jpeg in my repo.


Add int128 support for json

resolves #12953
My goal for this pr wasn't to do any groundbreaking changes, but just add int128 on top of the current code base. Although I would understand if json number support would need more groundbreaking code than just adding some on top of.
With that said this code can still make some current code break. Even if I have tried to minimize that of occurring.

That one that "Linux CI / x86_64-gnu-test (1.2.2) (pull_request) Failing after 1m" dont seems to have anything to do with the code changes in this pr, can some one confirm that?

I don't think this change can be introduced like this because it's a breaking change. We probably need a compile time flag to enable this behavior, as opt in.

I agree to a point, sure this will be breaking and I am a little bit unsure how to implement int128 support to make it not breaking changes. At the same time crystal should be able to parse int128


Can you make the title and description property type to be a widget, so it could be more customizable?

It would be nice if I could fully customizable the title and description with custom widget

I'll fix this issue and add more properties and animations in the next version.


⚠ Bofrost.at has degraded performance

In 162d500, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1839 ms

Resolved: Bofrost.at performance has improved in bad57bb after 20 minutes.


Clarify plugin/example/pubspec.yaml

The pubspec.yaml in the example app for a plugin is not meant to be used for publishing - that is, you wouldn't ordinarily publish your example app to pub by itself.  This clarifies that by removing the version number and specifying publish_to: 'none'.
/cc @efortuna

Thank you, @dnfield !


[core] Link Netlify in the danger comment

It might be simpler than having to click on the Netlify status to find the preview URL. For the community, it might even make the difference between trying the preview out and not knowing it exists.
An alternative would be to enable this comment back (easy):

https://github.com/netlify/open-api/pull/394#issuecomment-1233209606. However, for maintainers that aren't using emails to manage their GitHub notifications, this would create even more noise than mui-bot already creates (with the email you can create a filter to delete the mui-bot & Netlify comment notification). Netlify's native comment also uses more vertical space.

I'm merging, I expect this to be a noncontroversial change. We can always revert if it causes trouble.


publish<EMAIL_ADDRESS>

Requested by: @buenaflor
Merge target: feat/android-replay
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave a comment containing #retract under this issue to retract the release (original issuer only).
Targets

[ ] pub-dev
[ ] github
[ ] registry

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

@vaind @buenaflor
STDOUT: dart:

STDERR:dart: Running with `skip-validation`. No client-side validation is done.
dart: Pub does not support publishing packages with non-resolving symlink: `/tmp/craft-pub-dev-RiJS2F/flutter/android/gradlew.bat` => `../example/android/gradlew.bat`.
dart:

  STDOUT: dart:

  STDERR:dart: Running with `skip-validation`. No client-side validation is done.
  dart: Pub does not support publishing packages with non-resolving symlink: `/tmp/craft-pub-dev-RiJS2F/flutter/android/gradlew.bat` => `../example/android/gradlew.bat`.
  dart:

  at fBe (/usr/local/bin/craft:357:15695)
  at f (/usr/local/bin/craft:361:467)
  at ChildProcess.<anonymous> (/usr/local/bin/craft:361:762)
  at ChildProcess.emit (node:events:519:28)
  at ChildProcess.emit (node:domain:488:12)
  at ChildProcess._handle.onexit (node:internal/child_process:294:12)

I'll have a look

Oh but not for https://pub.dev/packages/sentry_flutter/changelog ?

oh yeah, looks like it.
we might have to trigger another release with 8.6.0-alpha.2 since this will always fail now I think because a published version already exists for sentry

#retract


[test] Don't merge, test enable_decimal256

Proposed changes
Issue Number: close #xxx

run p0

run p0

run buildall

run p0


enhance: remove build.info, replace with build info in APKBUILD

the APKBUILD file in tar ball is still outdate.

0.5.48 solved the following problems to remove build.info file:

fix stefanzweifel/git-auto-commit-action push bug.
add a directory when creating tar archive

unsolved problem:

softprops/action-gh-release can't change source tarball.


Transform a feature before aggregating it

Hello everyone
Is it possible to transform (using the sql or spark transform) a data before aggregating it?
example, I want to aggregate using the max operator, but my numerical field is actually a string that I must cast to integer first.
What I'm doing right now is casting the value on the query and aggregating it on the featureSet but I'd like, if possible, to keep the queries as simple as possible.
Or like, I have a column that is one of 10 possible words and I want to use a case statement to transform it into a number and then aggregate using max.
Thanks =D

Hii @diogo-lucena-wildlife :smiley_cat:
The transformations that can be applied at Source are called pre_processing and you can find them here.
In your case, you can follow the logic you are doing in the Source query, or you can just CAST the query and use CASE as a filter expression in the aggregate feature. The filter expression you can find here.
If you need some transformation that we don't support at the moment, feel free to open an Issue or contribute to Butterfree :wink:


Analytics Events are not Published When Analytics is Enabled

Describe the issue:

When the Analytics is enabled and login activities are performed the analytics dashboards are still empty. There is no sign of evens are published from IS.
How to reproduce:

Enable Analytics according to the official doc
Perform login activities
Access the Analytics dashboard/portal app

The portal should be empty.
Expected behavior:

The portal should be populated with logins and session statistics.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 5.11.0
OS: Mac
Database: H2
Userstore: LDAP

Optional Fields
Related issues:

Suggested labels:

Further analysis revealed that the event publishers in the repository/conf/identity/identity-event.properties file are not enabled when the deployment.toml file is updated according to the doc. After updating the default values from the config template, the events are published to the analytics worker.
repository/conf/identity/identity-event.properties
< analyticsSessionDataPublisher.enable=false
---
> analyticsSessionDataPublisher.enable=true
< analyticsLoginDataPublisher.enable=false
---
> analyticsLoginDataPublisher.enable=true

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Remove directories from etcd if no longer present

This should be optional and turned off by default.

Closed by 9c393c391d2447e8362bcce2dde342fb41501d1a.


OAuthException issue

Getting this response
{
"error_type": "OAuthException",
"code": 400,
"error_message": "Invalid scope: []"
}

After trying to login.
Reported by @akshayF12

@akshayF12 do you have an example ? I created this sandbox if you can reproduce it with it. (I don't have an instagram account anymore :( )

@akshayF12 I released a new version 3.0.0 but it doesn't contain the render function anymore after moving to React Hooks. Can you test it and let me know

@Amraneze Hello thanks for the replied i have tested new version got  authentication code successfully generated but only for tester user which we have added on basic Instagram setting on Facebook dev,  when we generated  for new user got  "error message": "Invalid scope: []" don't know why this happened any solutions for this???

@akshayF12  which scope are you adding to the props of the component ? or are you using just the default one which is user_profile ?

@Amraneze scope i am using is user_media,user_profile

@Amraneze scope i am using is user_media,user_profile

I will try to test with those scopes and I will let you know.

@Amraneze any updates on this, can we pass user_media in the scope now?

Hi @brawll, I will try to add this feature during this weekend

@brawll I pushed a new commit which contains:

Allowing to pass the scope in props
Make demo to run smoothly with the command yarn demo

Let me know if that fixes the issue for you.

PS: I updated also the sandbox with the latest version 3.0.4 if you want to test in live

@brawll there was a bug with Instagram API url. I fixed in the version 3.0.5. If it's ok for you, I can close this issue ?

Yeah, man you were a great help things worked mostly fine for me even at version 3.0.4
Thanks for the quick response & fixing.🙏


Add ability to diff to images

Show a table containing the labels, highlight if they are different
If both images have the same source repo, but a different sha, provide a link to github to show the difference between commits.

inspect diff should cover most of what i need for now


Add new x64 backend as lucetc option, and add to CI runs.

The new x86-64 backend in Cranelift is now able to run all Lucet tests,
and has shown better performance (compile-time and run-time) than the
current backend. This PR adds a Cargo feature to lucetc to build with
the new backend, and modifies the Makefile and CircleCI config to run
tests with the new backend as well, in order to ensure that it continues
to work.

This seems to have fixed the CircleCI yaml issue; but the force-push caused review comment(s) from @pchickey to become inaccessible it seems (sorry!).

The new jobs aren't building with the feature flag in test-full; refactoring things a bit in the Makefile to make this happen.
Question: how reasonable would it be to run at least some of the tests on Rust nightly? I think we may need -Zpackage-features to specify a particular crate's features (lucetc/new-x64-backend) while testing all crates, unless someone else knows a better way!

Tests on new backend regressed due to bytecodealliance/wasmtime#2463, I think, in the stack-limit check code.

I'm fine with running additional tests on nightly, but if there is a way to get new-backend testing on stable, that is preferable, since that is how it will eventually be deployed.


🛡 Investigate IAM Identity Center with Lake Formation + tags for access management

User Story
As a Data Platform user
I want to use one identity to access data resources
So that accessing and requesting access to data and using analytical applications is simplified
Value / Purpose
We need the availability of IAM Identity Centre being integrated with EntraID with groups to allow and test tagged based access
IAM Identity Center along with identity propagation and Lake Formation tags should give the Data Platform Service area a unified way to grant access to AWS services including S3, Athena, QuickSight and Glue Catalogue.

Allow the use of our users main identity to access data resources
Manage access to AWS services, without creating multiple IAM roles
Row and column LF-Tags based permissions to remove sensitive information without the need to e.g. duplicate etc
Query datasets across accounts with Lake Formation
Dynamically Manage permissions based on users EntraID group membership
Simplified auditing with CloudTrail
Allow Data Owners to control access to their assets in conjunction with #3843
Single Entra app registration and certificate to manage access for our applications and services and other teams also ✨

Useful Contacts
RichB, Julia
Hypothesis
If we use AWS IDAM Identity Centre and Lake Formation
Then we can simplify access management for Data Platform services
Proposal
Can IAM Identity Center can be the centre of Data Platform services?

Create a MVP lake formation tag strategy, get feedback from DE. Whats the smallest number needed see here for example
demonstrate SSO user with QuickSight to S3 bucket access using LM-Tags with identity propagation
Use Lake Formation tags to control access to folders within S3 buckets and test fine-grained access policies based on tags.
Use tags for RLS and CLS
Test cross account access and think about how this could allow direct owner to consumer (this links into #3843 ) with sso

Additional Information

AWS re:Invent 2023 - Simplify and improve access control for your AWS analytics services (SEC245)
Why use LF-Tags
Lake formation tags best practices and from aws
IAM Identity Center integration limitations

Definition of Done

[ ] Create ADR on using AWS Identity Centre for accessing platform, data and services
[ ] Create ADR on using lake formation tags

Slack thread of initial discussions with the team https://mojdt.slack.com/archives/C04M8224WCV/p1713364819258839
Summary of my initial thoughts:

Lake formation feels more like a solution for managing access to data-engineering databases, but may not work for the "data warehouses" functionality that CP offers.

"AWS Lake Formation is for use cases where you need to manage access for tabular data (e.g., Glue tables), where you might want to enforce row- and column-level access."

Also unsure if this would be compatible with our current tooling offering (Rstudio/Jupyter/Vscode) as the docs for the hybrid workflow state:

"using an integrated service such as Amazon Athena, AWS Glue, Amazon EMR, or Amazon Redshift Spectrum"

S3 Access grants may be a way of managing access to S3 "data warehouses" rather than managing users IAM roles.

Some thoughts/discussion on Identity Centre with the team in https://mojdt.slack.com/archives/C04M8224WCV/p1713537790475079

Closing as per https://mojdt.slack.com/archives/C04M8224WCV/p1714549958985199?thread_ts=1714549071.413819&cid=C04M8224WCV


A.0_RHOBTB2_direct.json no results from ARAX

Json here
https://arax.ncats.io/?r=e30aa77e-741f-4e97-81d9-d8c76942a729
ARAX response PK https://arax.ncats.io/?r=29397

Hello @vgardner-renci we will be working this issue in RTX Issue 1698.


Derive current version from git tags.

Discussed in https://github.com/callowayproject/bump-my-version/discussions/211

Originally posted by jpavlav July 12, 2024
Hello!
First off, just want to say, thanks for forking the project and keeping it going. I've used the previous incarnations and 👍. Previously, I've used this tool only for python projects. Right now, I'm trying to use this tool to create a github action that is somewhat generic for bumping versions.
I thought this would be a cinch, since there is support for detecting the version from a git tag. It would prevent us from having our users include a configuration file in their repo with the version in it. However, I find that it, in the absence of the current_version in a config file, the tool bottoms out despite being able to detect the tagged version. Am I just missing some option here? Or is this intentional?
Examples:
bump-my-version bump --current-version 0.4.0 --dry-run minor
KeyError: "Key 'current_version' not found at 'tool.bumpversion'"

Does current_version really need to be present in the config file if the user is specifying the version? Further, does it really need to be present if there is a tagged version available? I see that it detects that:
bump-my-version bump --current-version 1.0.0 --dry-run
  Specified version (1.0.0) does not match last tagged version (0.4.0)

I just wanted to ask about this before I raised an issue. I'd be unopposed to making a contribution to make this possible, but I want to make sure that I'm not stepping outside of the bounds of what is intended. Thanks!

Thank you for the quick turnaround on this! This is really helpful.


Make timeout a configurable option

A default 10 second timeout was added in https://github.com/steelbrain/atom-linter/commit/8096e6bfc5576567044259ea3f1610140129cc7e that kills the linter process if it takes longer than 10 seconds to run.
The problem is, some large elm files take a lot longer than 10 seconds to lint. This option lets the user set a custom timeout to enable the linting of large files.
Fixes #147.

@MethodGrab, thanks for the PR!  The linter timeout is in milliseconds so we should either multiply the timeout setting by 1000 (and make it a float) or use milliseconds.  My vote is with the former :smiley:

Ah yes, so it is!
I prefer the former also, I've pushed a fix.

Thanks, @MethodGrab!


Thanks and suggestion for function keys > 12

First of all, thanks for your efforts in developing these devices.  I built a USB converter and everything went quite well.
I do have a suggestion / wish-list item:  Why not map Shift + Fn to F(n+10)?  That's somewhat common in both the Windows and Linux ecosystems.  Rather than move to the bottom right for, e.g. F17 one could just do Shift+F7.  Is there a technical reason that would prevent this from working?

That would be somewhat tricky.  Keep in mind that this is basically a scan code translator.  So when you press F7 it sends the keycode for that; when you press a shift key it sends the keycode for shift.  The converter doesn't care about the shift state when it generates the keycodes; the host driver is responsible for that aspect.
While it may be that shifted function keys have no standard meaning in typical DEC products, there certainly isn't anything that prevents that from being done, at least not in systems where that processing is in software (like the DEC Pro).

Ah - ok.  I definitely see your point.  Didn't realize the converter held no state!  But as you say that is definitely the safest and most compatible approach.

It does have some state, because it has to send "all up" when the last of the up/down keys is released, rather than the keycode for that key.  But other than that the coding of the keys does not depend on shift or other modifier state.


ADD @fracto/vue-credit-card

@Orkuncakilkaya Could you update this PR if it is relevant. In any case, let me know if something is necessary.
Checklist

[ ]  git: link not to repository
[ ]  git: broken PR
[x]  git: no conflicts resolved
[ ]  time: not updated for more than 6 months
[ ]  category: not in its category
[ ]  lists: not the last on the list
[ ]  docs: no documentation
[ ]  docs: non-english documentation
[ ]  project: dead project
[ ]  project: does not accept donat
[ ]  site: no link to the site
[ ]  site: site with errors
[ ]  site: not actively using vuejs
[ ]  site: not original

more about CONTRIBUTING

Conflicts resolved

@Orkuncakilkaya Could you update this PR if it is relevant. In any case, let me know if something is necessary.
Checklist

[ ]  git: link not to repository
[ ]  git: broken PR
[ ]  git: no conflicts resolved
[ ]  time: not updated for more than 6 months
[ ]  category: not in its category
[x]  lists: not the last on the list
[ ]  docs: no documentation
[ ]  docs: non-english documentation
[ ]  project: dead project
[ ]  project: does not accept donat
[ ]  site: no link to the site
[ ]  site: site with errors
[ ]  site: not actively using vuejs
[ ]  site: not original

more about CONTRIBUTING

Checked!


Fields not injected

I have this class in one file
class Theme : NSObject {
    var colorA = UIColor.blue

    var colorB : UIColor {
        return UIColor.blue
    }

    var colorC : UIColor = {
        print("!")
        return UIColor.blue
    }()

    var colorD : UIColor

    lazy var colorE : UIColor = {
        print("!")
        return UIColor.blue
    }()

    lazy var colorF = UIColor.blue

    override init() {
        colorD = UIColor.blue
        super.init()
    }
}

and in another:
class ViewController: UIViewController {
    func injected() {
        let theme = Theme()
        print("A", theme.colorA)
        print("B", theme.colorB)
        print("C", theme.colorC)
        print("D", theme.colorD)
        print("E", theme.colorE)
        print("F", theme.colorF)
    }
}

Changing color from blue to something else, and injecting, seems to affect only B, E, and F variables. I wonder why? C and D are especially strange, because methods that set them are called.

Treatment of vars in Swift is asking a lot of injection particularly for Swift. Best stick to changes to the implementation of methods which is what it is designed for.


upgrade_to_latest_ex_phone_number

Bumped the dependencies to latest versions
I added dependency on ecto 2 or 3 - previous entry was downloading ecto 2.2 when testing locally.
Tested with customer service tests.

Checks have passed but were not reported:
https://app.circleci.com/pipelines/github/surgeventures/ecto-phone-number/49/workflows/0b6875c7-cf0c-47af-9f24-2f7d7c70de84/jobs/100
https://app.circleci.com/pipelines/github/surgeventures/ecto-phone-number/49/workflows/0b6875c7-cf0c-47af-9f24-2f7d7c70de84/jobs/99
Will merge manually.


Secrets: using vault backend shows "Error in request, code : 400"

Rancher Versions:
Server: 1.4.0-rc7
Docker Version:
1.12
OS and where are the hosts located? (cloud, bare metal, etc):
ubuntu 16.04
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
cattle
Steps to Reproduce:

start vault with address <IP_ADDRESS>:8200
mount transit backend
vault mount transit
create rancher encryption key
vault write -f transit/keys/rancher
create policy.hcl file

path "transit/random/rancher" {
  capabilities = ["sudo"]
}

path "transit/hmac/rancher" {
  capabilities = ["sudo"]
}

path "transit/encrypt/rancher" {
  capabilities = ["sudo"]
}

path "transit/decrypt/rancher" {
  capabilities = ["sudo"]
}

path "transit/verify/rancher" {
  capabilities = ["sudo"]
}

create rancher policy
vault token-create -display-name="rancher-token" -policy="rancher-policy"
start rancher server with the vault backend
docker run -d --restart=unless-stopped -p 8080:8080 -e VAULT_ADDR=http://x.x.x.x:8200 -e VAULT_TOKEN="xxxxxxxxxxxxxx" rancher/server:v1.4.0-rc7
change the advanced settings for rancher to use vault instead of localkey
create a secret

Results:
The creation hung for a while and i got the following error in rancher server:

time="2017-02-02T13:15:43Z" level=error msg="Error in request, code : 400: Issue encrypting with rancher key"
2017-02-02 13:15:43,802 ERROR [:] [] [] [] [qtp5592464-124 ] [i.c.p.iaas.api.manager.SecretManager] Failed to secret java.io.IOException: Failed to encrypt secret :Bad Request
    at io.cattle.platform.framework.secret.SecretsServiceImpl$1.handleResponse(SecretsServiceImpl.java:57) ~[cattle-framework-encryption-0.5.0-SNAPSHOT.jar:na]
    at io.cattle.platform.framework.secret.SecretsServiceImpl$1.handleResponse(SecretsServiceImpl.java:52) ~[cattle-framework-encryption-0.5.0-SNAPSHOT.jar:na]
    at org.apache.http.client.fluent.Response.handleResponse(Response.java:85) ~[fluent-hc-4.3.1.jar:4.3.1]
    at io.cattle.platform.framework.secret.SecretsServiceImpl.encrypt(SecretsServiceImpl.java:50) ~[cattle-framework-encryption-0.5.0-SNAPSHOT.jar:na]
    at io.cattle.platform.iaas.api.manager.SecretManager.createAndScheduleObject(SecretManager.java:42) ~[cattle-iaas-api-logic-0.5.0-SNAPSHOT.jar:na]
    at io.cattle.platform.api.resource.AbstractObjectResourceManager.doCreate(AbstractObjectResourceManager.java:98) [cattle-framework-api-0.5.0-SNAPSHOT.jar:na]
    at io.cattle.platform.api.resource.AbstractObjectResourceManager.createInternal(AbstractObjectResourceManager.java:89) [cattle-framework-api-0.5.0-SNAPSHOT.jar:na]
    at io.github.ibuildthecloud.gdapi.request.resource.impl.AbstractBaseResourceManager.create(AbstractBaseResourceManager.java:115) [cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
    at io.github.ibuildthecloud.gdapi.request.resource.AbstractResourceManagerFilter.create(AbstractResourceManagerFilter.java:43) [cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
    at io.cattle.platform.iaas.api.filter.secret.SecretValidationFilter.create(SecretValidationFilter.java:22) [cattle-iaas-api-logic-0.5.0-SNAPSHOT.jar:na]
    at io.github.ibuildthecloud.gdapi.request.resource.impl.FilteredResourceManager.create(FilteredResourceManager.java:56) [cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
    at io.github.ibuildthecloud.gdapi.request.handler.ResourceManagerRequestHandler.generate(ResourceManagerRequestHandler.java:40) [cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na]
    ....

The policy needed to be updated to:
path "transit/random/*" {
capabilities = ["create", "update"]
}
path "transit/hmac/rancher/*" {
capabilities = ["create", "update"]
}
path "transit/encrypt/rancher" {
capabilities = ["create", "update"]
}
path "transit/decrypt/rancher" {
capabilities = ["create", "update"]
}
path "transit/verify/rancher/*" {
capabilities = ["create", "update", "read"]
}
path "transit/keys/*" {
capabilities = ["deny"]
}
path "sys/*" {
capabilities = ["deny"]
}

path "transit/random/*" {
  capabilities = ["create", "update"]
}

path "transit/hmac/*" {
  capabilities = ["create", "update"]
}

path "transit/encrypt/rancher" {
  capabilities = ["create", "update"]
}

path "transit/decrypt/rancher" {
  capabilities = ["create", "update"]
}

path "transit/verify/rancher/*" {
  capabilities = ["create", "update", "read"]
}

path "transit/keys/*" {
  capabilities = ["deny"]
}

path "sys/*" {
  capabilities = ["deny"]
}

@cloudnautique Rancher v1.4.0-rc8, i was able to create secrets using the latest policy in the last comment:
path "transit/random/*" {
  capabilities = ["create", "update"]
}

path "transit/hmac/*" {
  capabilities = ["create", "update"]
}

path "transit/encrypt/rancher" {
  capabilities = ["create", "update"]
}

path "transit/decrypt/rancher" {
  capabilities = ["create", "update"]
}

path "transit/verify/rancher/*" {
  capabilities = ["create", "update", "read"]
}

path "transit/keys/*" {
  capabilities = ["deny"]
}

path "sys/*" {
  capabilities = ["deny"]
}

My god, I lost half a day due to this typo:
# diff rancher.hcl rancher.hcl.new                                    17-02-19 - 15:58:59
5c5
< path "transit/hmac/rancher/*" {
---
> path "transit/hmac/*" {

time="2017-02-19T14:45:36Z" level=error msg="Error making API request.\n\nURL: PUT http://x.x.x.x:8200/v1/transit/hmac/rancher\nCode: 403. Errors:\n\n* permission denied"

@cloudnautique Could you please update the documentation accordingly https://docs.rancher.com/rancher/v1.4/en/cattle/secrets/
Many thanks 👍


Decouple function repository and DSL from IoC container for use anywhere

Description
!!!NOTE!!! Please ignore most file changes as they're all changing instance method to static method call on DSL. The only change matters is in FunctionRepository which becomes a singleton after this.
Problem Statement
The performance issue is improved in https://github.com/opensearch-project/sql/issues/944, this PR is focused on the functionality and our own DSL language adoption problem.
Currently, FunctionRepository is managed by Spring container and inject to class who needs it. DSL depends on the function repository to resolve function signature as well. This causes the function repository or DSL instance passed around and leads to "ugly" code as below:
  private final DSL dsl = new ExpressionConfig().dsl(new ExpressionConfig().functionRepository());

  dsl.equal(
    DSL.ref("integer_value", INTEGER),
    DSL.literal(integerValue(1)))),

Besides, the bigger problem is it blocks high level physical operator from building custom logic on top of the expression system. For example, the new WindowAssigner needs to calculate the lower bound of a window as below. The current coupling with Spring container make it hard to implement:
  // Assign a numeric or datetime window to the value according to its type
  Window assignWindow(ExprValue value) {
    ...
    ExprValue lowerBound = rounding.round(value);
    ExprValue windowSize = ...
    ExprValue upperBound =
      lowerBound.isNumber()
        ? DSL.add(lowerBound, windowNumberSize)
        : DSL.adddate(lowerBound, windowIntervalSize)
  }

Solution
After double check, make FunctionRepository singleton as well as DSL. This makes both can be reused anywhere.
TODO

May need to move storage engine function register code elsewhere, because it is supposed to be a static list for each storage engine. Added TODO comment for now.

Further Thoughts

Will this impact storage engine register its own function in future? <= Probably not.
Should basic arithmetic operation built-in ExprValue? ex. val1.add(val2) rather than DSL.add(val1, val2).valueOf(null) <= Not sure. Maybe we should.

Issues Resolved
https://github.com/opensearch-project/sql/issues/944
Check List

[ ] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[x] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

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.

Codecov Report

Merging #1085 (b771edc) into 2.x (cdb30ee) will decrease coverage by 35.51%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##                2.x    #1085       +/-   ##
=============================================
- Coverage     98.28%   62.76%   -35.52%
=============================================
  Files           344       10      -334
  Lines          8560      658     -7902
  Branches        544      119      -425
=============================================
- Hits           8413      413     -8000
- Misses          142      192       +50
- Partials          5       53       +48

Flag
Coverage Δ

query-workbench
62.76% <ø> (?)

sql-engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...rg/opensearch/sql/analysis/ExpressionAnalyzer.java

...c/main/java/org/opensearch/sql/expression/DSL.java

...expression/function/BuiltinFunctionRepository.java

...ch/sql/planner/optimizer/LogicalPlanOptimizer.java

...l/planner/optimizer/rule/MergeFilterAndFilter.java

...h/sql/opensearch/data/type/OpenSearchDataType.java

...ql/opensearch/monitor/OpenSearchMemoryHealthy.java

...ava/org/opensearch/sql/utils/SystemIndexUtils.java

...ilter/lucene/relevance/MatchPhrasePrefixQuery.java

...ming/windowing/assigner/SlidingWindowAssigner.java

... and 343 more

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

@Yury-Fridlyand Please confirm if the previous issues you mentioned in the old PR are gone. Will try to merge this today to unblock others. Thanks!


Code cleanup

IntelliJ suggestions and basic updates

The PR is closed because it will take a long time to test all the changes, so it hanging in Drafts for months is not good.


Update Composer dependencies (2020-05-31-00-11)

Visual regression test passed!
View the visual regression test report


textfield does not working as expected in PDF

Im trying to change the TextField value direct in PDF file, when change it and click out the value change back to the old one.
im using this code from \acroform\standard.spec.js
var doc = jsPDF()
doc.text(10, 145, 'TextField:')
var textField = new TextField()
textField.Rect = [50, 140, 30, 10]
textField.multiline = true
textField.V = 'The quick brown fox ate the lazy mouse The quick brown fox ate the lazy mouse The quick brown fox ate the lazy mouse'//
textField.T = 'TestTextBox'
// textField.Q = 2; // Text-Alignment
doc.addField(textField)
step to reproduce:

Create pdf with Textfield
Download the PDF
change the Textfield value
Click out of the TextField (any where in the PDF)
the old value appear again

thanks

I think you have to use DV for default value
and not V

Thank you, i changed it to textField.DV = "" but this did not work.

Ok found the error it. It is an error with the Appearance Stream. Have to code a solution

i'm experiencing a similar (but not equal) issue:

@shadirok If you want a temporary fix, I just set the textField.DA = null; before adding it to the document. That seemed to work for me in the meantime, at least.

I used the DA = null solution by @DrSharky and set DA for alle elements to null. Seems that it got fixed.

how I show Textfiled value in the center? any one know


Support for open_basedir containing more then one paths set

Currently, if you open_basedir contains more then one path, for example:
open_basedir="/var/www:/php/tmp_cache"

consraints included in CheckSoapWsdlCacheDir and CheckUploadTmpDir are not passing at:
	if ($openBasedir === false) {
		$this->setDescription('The open_basedir did not resolve to a valid directory');
		$this->fail();
		return false;
	}

due to realpath usage, which returns false for coma separated paths:
    $openBasedir = realpath($openBasedir);

The idea is to split $openBasedir by PATH_SEPARATOR into an array of $openBasedirPaths and to check each one of them against included rules.
The question is, how should I treat it. If one of paths === false, then should entire test fails? Or maybe all of them should be equal false?
What do you think about it? I can prepare tommorow appropriate patch.

Sorry for the delay responding here - I'm of the "fail fast" mentality. I think that if even one of the paths is invalid the entire test should fail. The error message should be updated in the case of multiple directories, however, to tell the user which one failed.

Ok. When I'll be back from holidays, I'll take care of it.  Thanks for
response and shearing your work!
Cheers!
śr., 5 sie 2015, 03:30 Chris Cornutt użytkownik<EMAIL_ADDRESS>napisał:

Sorry for the delay responding here - I'm of the "fail fast" mentality. I
think that if even one of the paths is invalid the entire test should fail.
The error message should be updated in the case of multiple directories,
however, to tell the user which one failed.
—
Reply to this email directly or view it on GitHub
https://github.com/psecio/iniscan/issues/89#issuecomment-127813037.

Hey @mgrajcarek, any update on this? Someone else mentioned it would be a nice feature to have too.

Hi @enygma.
Sorry for a delay. I was little bit busy after vacations and it slipped my mind.
I will start working on it from this evening.


Add project.lock.json to gitignore file

Reacting to lock file feature in all repos.

Done in all repos on CI.


support tuple of int as dict keys ?

support tuple of int as dict keys ?
Perhaps I'm not using pythran correctly I describe the issue here:
http://stackoverflow.com/questions/35240168/pythran-export-dict-with-tuples-as-key

I answered on stackoverflow, but basically, it seems to me the issue is not related to the tuple of int dict, which works fine.

#529 improves the error reporting in your case!

The tuples of int for dict work very well, I fix it with a dedicated ccomplie.py for pythran functions.


cmd/go: cannot write to /dev/null anymore

I'm not sure it should be considered a regression, but here it is, just in case:
with go version go1.4.2 linux/amd64:
% go build -x -o /dev/null ./bar.go
WORK=/tmp/go-build940372956
mkdir -p $WORK/command-line-arguments/_obj/
mkdir -p /dev/
cd /home/mpl/src/camlistore.org
/home/mpl/go1.4/pkg/tool/linux_amd64/6g -o $WORK/command-line-arguments.a -trimpath $WORK -p command-line-arguments -complete -D _/home/mpl/src/camlistore.org -I $WORK -pack ./bar.go
cd .
/home/mpl/go1.4/pkg/tool/linux_amd64/6l -o /dev/null -L $WORK -extld=gcc $WORK/command-line-arguments.a

whereas with go version go1.5 linux/amd64:
% go build -x -o /dev/null ./bar.go
WORK=/tmp/go-build128307931
mkdir -p $WORK/command-line-arguments/_obj/
mkdir -p $WORK/command-line-arguments/_obj/exe/
cd /home/mpl/src/camlistore.org
/home/mpl/go1.5/pkg/tool/linux_amd64/compile -o $WORK/command-line-arguments.a -trimpath $WORK -p main -complete -buildid c4b06a82929758039f6ab20686e934c659cc642a -D _/home/mpl/src/camlistore.org -I $WORK -pack ./bar.go
cd .
/home/mpl/go1.5/pkg/tool/linux_amd64/link -o $WORK/command-line-arguments/_obj/exe/a.out -L $WORK -extld=gcc -buildmode=exe -buildid=c4b06a82929758039f6ab20686e934c659cc642a $WORK/command-line-arguments.a
mkdir -p /dev/
cp $WORK/command-line-arguments/_obj/exe/a.out /dev/null
go install command-line-arguments: build output "/dev/null" already exists and is not an object file

It should be noted that before 1.4.2, it didn't work, either. See #4851 for reference.

@dominikh I see, thanks.

@dominikh FWIW, setting build works with all go versions from 1.3 through 1.4.3; doesn't work with 1.5 & 1.5.1 (not tested with earlier versions).

@ianlancetaylor It appears that https://github.com/golang/go/commit/85b333dbf8a367bfd4f6d946c92096d21c61111f should have set the force parameter to true in builder's install function (https://github.com/golang/go/blob/master/src/cmd/go/build.go#L1556)


Maximaxing the host weigh

First of all, not a GO coder. I have been reading the hostweight.go, and I understand some functions.  However, as I have already said, I am not a Go coder.
So, my question is, what file/fuction is the first one called to have the server weigh. And I can read from there.

hostweight.go contains a bunch of values that get multiplied together to produce the host weight. In that sense, none of them are 'first', when a host gets added they all get called and mixed together.
I'm not sure if this answers your question.


Ability to "publish cloudrun" with no user input

If you attempt to deploy a new version of a cloudrun deployment, the script currently pauses and asks for user input for the service name like this:
Service name: (sf-trees):  USER INPUT REQUIRED HERE
Deploying container to Cloud Run service [sf-trees] in project [datasette-222320] region [us-central1]
✓ Deploying... Done.
  ✓ Creating Revision...
  ✓ Routing traffic...
  ✓ Setting IAM Policy...

This is incompatible with running under CI.

From https://cloud.google.com/sdk/gcloud/reference/beta/run/deploy it looks like the service can be provided as an optional positional argument. How about datasette publish cloudrun ... --service=sf-trees

Updated docs now live at https://datasette.readthedocs.io/en/latest/publish.html#publishing-to-google-cloud-run


Fulltext-Search

ACs:
Search works in Google-style (space == "AND")
Quick-Simple-Fulltext search is provided on a per-MeetingSeries scope and searches "everything" of this meeting series
Detail-Search has own route with own search mask
Detail-Search can be limited to decisions, open/closed action items, info blocks, time-intervalls

This is realized by the #58 feature


[WIP/TESTING] ci: Shift verify examples to github workflow

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

i will test this in my repo for now


Create page for PI to change accounts on active project

Project shouldn't change status but the change is logged and the new accounts immediately take over.

done in #232


LNbitswith Clinghtning wallet error - pylightning

Hello,
I am trying to install LNbits with c-lightning and I am getting an error and no idea how to make it work.0
I've installed LNBits and was able to see the first "fake-empty" wallet....
http://localhost:5000/.
Then started to reconfigure the .env file in order to make c-lightning the source of funds.... and I've got the error message the pylightning was needed, I installed it but still asking for it....
So, I've made something wrong as it is not working.... If you could check the code and see if it gives light????
Thank you
These are the messages on the terminal screen
nicolas@HP655:~/lnbits$ pip install pylightning==<IP_ADDRESS>
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Requirement already satisfied: pylightning==<IP_ADDRESS> in /home/nicolas/.local/lib/python3.8/site-packages (<IP_ADDRESS>)
nicolas@HP655:~/lnbits$ ./venv/bin/hypercorn -k trio --bind <IP_ADDRESS>:5000 'lnbits.app:create_app()'
Traceback (most recent call last):
File "./venv/bin/hypercorn", line 8, in
sys.exit(main())
File "/home/nicolas/lnbits/venv/lib/python3.8/site-packages/hypercorn/main.py", line 267, in main
run(config)
File "/home/nicolas/lnbits/venv/lib/python3.8/site-packages/hypercorn/run.py", line 34, in run
worker_func(config)
File "/home/nicolas/lnbits/venv/lib/python3.8/site-packages/hypercorn/trio/run.py", line 113, in trio_worker
app = load_application(config.application_path)
File "/home/nicolas/lnbits/venv/lib/python3.8/site-packages/hypercorn/utils.py", line 110, in load_application
module = import_module(import_name)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/nicolas/lnbits/lnbits/app.py", line 11, in
from .commands import db_migrate, handle_assets
File "/home/nicolas/lnbits/lnbits/commands.py", line 8, in
from .db import SQLITE, POSTGRES, COCKROACH
File "/home/nicolas/lnbits/lnbits/db.py", line 11, in
from .settings import LNBITS_DATA_FOLDER, LNBITS_DATABASE_URL
File "/home/nicolas/lnbits/lnbits/settings.py", line 46, in
WALLET = wallet_class()
File "/home/nicolas/lnbits/lnbits/wallets/clightning.py", line 26, in init
raise ImportError(
ImportError: The pylightning library must be installed to use CLightningWallet.
nicolas@HP655:~/lnbits$

use ./venv/bin/pip3 install pylightning


sks-keyservers.net is not maintained anymore, need to update install instruction

The problem
sks-keyservers.net is not maintained anymore, need to update install instruction.
Expected
https://github.com/krallin/tini#signed-binaries section is up-to-date by using another keyserver.
Actual
$ gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7
gpg: keyserver receive failed: No name

The above command always fails.
This is because this service is not maintained anymore, see https://sks-keyservers.net/ about this announcement.

this note in the readme is a potential workaround, have not tried it.

NOTE: If you are using Docker 1.13 or greater, Tini is included in Docker itself. This includes all versions of Docker CE. To enable Tini, just pass the --init flag to docker run.

also stated in the docker docs.
https://docs.docker.com/engine/reference/run/#specify-an-init-process

You can switch to Ubuntu's keyserver hkp://keyserver.ubuntu.com:80 which currently works.

Should work fine under Docker however if you're building for other situations, say Kubernetes, having it in the container is required.

this note in the readme is a potential workaround, have not tried it.

NOTE: If you are using Docker 1.13 or greater, Tini is included in Docker itself. This includes all versions of Docker CE. To enable Tini, just pass the --init flag to docker run.

also stated in the docker docs.
https://docs.docker.com/engine/reference/run/#specify-an-init-process

https://github.com/krallin/tini/pull/188 will fix this. Do also note that you can also make this work offline by downloading the key for this fingerprint and importing it locally (i.e. without a server)


Decide on build artifacts per npm package

Library Affected:
All
Browser & Platform:
All
Users have asked for us to consider including minified builds in our npm packages (#31). It might be nice to make a call on this so we can consistently apply it across the subprojects.
Fwiw, popular libraries like Lodash include both unminified and minified versions in their npm package.

+1 .js and .min.js
Would also be something the CDN sites could reference.

The built bundles are now minified.
One thing I need to ensure is that we work via:

[ ] importScripts() or

With Jeff's build work I think we can close this now.


ci(test.yml): implementation of test workflow

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add fzf support to fish-shell integration

Closes #107.
Notes

Added doc section corresponding to this feature
Added command line option to support it
Removed conditional wrapper in src/shell/setup.fish since the recommended installation method includes the check for fw being accessible on the $PATH (not to mention the fact that the setup code is accessed by running the binary in the first place).

Merged. Thanks! :+1:
I don't use the fish shell so I merge those changes untested.


Load More

Issue Type: Bug
after attaching azure storage accounts the "load more" function has stopped working. this is preventing us from seeing all the files contained within the blobs.
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:15:52.058Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

This looks like it might be an issue with the Azure Storage extension found here: https://github.com/microsoft/vscode-azurestorage
Can you open an issue over there and that team will be able to help you?

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!


Update vendor-api spec to add declined to application status

Context
The declined status was previously remove in error.
This PR adds it back.
Changes proposed in this pull request
Add declined status back in open-api spec.
Guidance to review
Link to Trello card
1267 - Update tech docs to include state declined
Link to PR on Tech Docs Repo
https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training-tech-docs/pull/109
Env vars

I'll have a look into this 👍

The Declined status is still included in the the main repos vedor-api spec file, but has been removed from the open-api spec file in the tech docs repo.
I will close this PR and keep the PR at
https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training-tech-docs/pull/109


Refactorization

remove redundant score method
refactor ball class, board class and cube drawing method (cube class) to be more readable
refactor index.js initial save onclick method

All game function is maintained, all unit tests are still passing.

I made most of the changes that you've suggested here 👍 and pushed them up to this PR, but we should discuss changes before merging this branch.


refactor: OPTIC-931: Remove Stale Feature Flag - ff_back_1614_rejecte…

PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[ ] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[ ] Backend (Database)
[ ] Backend (API)
[x] Frontend

Describe the reason for change
Removing an stale ff_flag that is already stale for more than a month.
What does this fix?
Clean code

@yyassi-heartexI had the same question. I believe it was created here as well, just in case it will be used and it never did.


Page does not reflect the true appearance of our current Azure DevOps site

This help page is overloaded with so many information as Azure contains. Beside this it is incomplete by missing how to complete a task or how to distinguish between open tasks and closed tasks. The title changes from an exclamation mark icon to a checkmark icon but this is incorporated into the title and not properly filtered nor sorted. None of this is mentioned in the help pages.
[Enter feedback here]

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

ID: a197bf55-89c7-682d-bb1c-e82bec732349
Version Independent ID: 5aa2afac-cb82-3f72-643c-25a0173cce98
Content: Understand how to use work items to track user stories & more - Azure Boards
Content Source: docs/boards/work-items/about-work-items.md
Service: azure-devops-boards
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@Isaac2k1 -- Isaac, thank you for your feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@KathrynEE -- Kathryn, please look into this issue.

@Isaac2k1 - I've completely revised the article to focus on the information you enter into the work item form. See About work items and work item types in Azure Boards. Please review and create new feedback if you continue to see issues.
Closing this issue as complete.


[PhpConfigPrinter] Support bind + arguments on resource node

This makes sure that YAML config like:
services:
  App\:
    resource: '../src/*'
    arguments:
      $environment: '%kernel.environment%'
    bind:
      $debug: '%kernel.debug%'

will be properly converted to PHP config like:
    $services->load('App\\', __DIR__ . '/../src/*')
        ->arg('$environment', '%kernel.environment%')
        ->bind('$debug', '%kernel.debug%');

Before this change, it would convert it to this:
    $services->load('App\\', __DIR__ . '/../src/*');

Resulting in lots of breaks.

Thanks!
Could you extract a new test test instead of prolonging existing one? Shorted test fixture are easier to debug in the future. Ideally there should be one feature-use case per fixture.

@TomasVotruba I moved it to the file that tests resource.

Tests are green now ✅

Thank you :clap:


Feature Suggestion: Creating your own preferred return order upon inspection

I was in the process of trying to modify which dungeons the mod would return upon inspection. I was able to easily change which dungeons it returned but not the order. I'll attach my specific settings here:

The order it seemed to consistently return was Bahaar>DAH>FA>AQ>DAN. I inspected multiple people multiple times and that was the order every time, even when someone wouldn't have valid runs for one of the categories.
I had asked in the Toolbox discord if anyone knew how to fix it and Caali said I had done basically all I could and that it was probably either Moongourd's response times or the mod's processing time. They also gave this suggestion:

"it should be a simple fix, instead of printing all stuff as soon as it's computed he can just return the resulting data from the async function and await the entire list he's currently forEach()ing. smth like await Promise.all(continentsToCheck.map(x => analyzeChar(...)), and then print it afterwards in proper order"

Thank you, I really appreciate this mod a ton. Was really disappointed that the last in-line inspector mod broke with the new moongourd but this one is way better.

done


Enable custom k8s resource exclusions

Jira: https://issues.redhat.com/browse/MIG-273
Corresponding mig-operator PR: https://github.com/konveyor/mig-operator/pull/379

This will need an operator PR for the CRD change.

https://github.com/konveyor/mig-operator/pull/379/files

@jmontleon Should we put the migplan CRD change into that operator PR or should we create a separate one? This is to add MigPlan.Status.ExcludedResources.

@jmontleon CRD change is in https://github.com/konveyor/mig-controller/pull/588
This PR should work without error without 379, since the only thing it depends on from that PR is the env var, and if it's not set, we don't add any exclusions.

We'll need to cherry-pick this PR to release-1.2.4 once it merges.

@jortel FYI, I'm going to have to add something to this tomorrow. In addition to merging the MigPlan excludes list with the velero excludes list, I also need to subtract the MigPlan excludes list from the velero Includes list. If persistentvolumes is on both the excludes and includes list, velero complains (for obvious reasons). It should be pretty straightforward to fix this, though.

\test


Adding a render hook to Hugo generation

Based on this comment
This will make MD cross reference links work in both Github and Hugo rendered page.
And Images showing in both.
Note the link at the bottom
Before:

After:

Note the image:

@CsatariGergely

/assign @CsatariGergely

/assign @liamfallon
/assign @tliron
Please review this and get this merged.
Without this our links are broken in the docs site.

Thanks @lapentad and @CsatariGergely .
/approve
@radoslawc after we merge this, can we move the 2.0.0 tag to this commit.
/assign @radoslawc

/approve


how to set singlechildscrollview only allow one finger scrolling?

how to set singlechildscrollview only allow one finger scrolling?
I am using the InteractiveViewer to pinch zoom image. I create it inside SingleChildScrollView but when user use 2 finger to pinch zoom image. it very difficult to zoom because sometime page is Scrollable. so I want to solve this problem

Hi @isomizer
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Best way of getting the version from vcs in editable install falling back to metadata for regular install

I would like to achieve something similar to how versioneer works such that I get the version number from git describe if I am in an editable install using imporlib_metadata.version if not
Currently I ended up doing something like this:
from importlib.metadata import version
from importlib.resources import files

def get_package_version(package_name: str) -> str:
    maybe_package_root = files(package_name).parent
    if maybe_package_root / "pyproject.toml").exists():
        import versioningit
        __version__ = versioningit.get_version(project_dir=maybe_package_root)
    else:
        __version__ = version(package_name)
    return __version__

So my questions are

Is there a better way of doing this that I have overlooked. https://github.com/jwodder/versioningit/issues/3 could be one
way of solving this since I could put the editable install flow into a file and let the custom cmd_class overwrite it when generating a package.
If not is there any interest in putting a cleaner version of this into versioningit (would need to handle different source layouts at least)

(Disclaimer: I rarely ever use editable installs.)
I'm not clear on what problem you're trying to solve here.  If I test out python setup.py develop/pip install -e . on a versioningit-enabled project that does __version__ = importlib.metadata.version("project-name"), I can retrieve the project's version from its __version__, though it becomes out of date once a commit is made unless the project is re-installed.  Is the problem the need to keep re-installing?  That would still be an issue with #3.

Yes keeping to reinstall is a deal breaker for the particular workflow that I have in mind since an editable install may change to point to a different branch have new commits etc without a reinstall (at least for pure python projects which is all I am concerned with here)
IMHO it would have been great if pep 660 defined a more consistent way of keeping the metadata of an editable install up to date but it unfortunatly does not so metadata of an editable pacage for now is just the version that was installed.
My idea with #3 was that one could potentially have a file that contained something like:
version = versioningit.get_version(project_dir=package_root)
and let that be over written by
version == thetagedversio
or
version = importlib.metadata.version("projectname")
When a package is generated. That is largely how versionner works (the _version.py file contains significantly more code but thats just an artefact of the way they vendor code rather than making it a library)

@jenshnielsen Your interest in #3 has motivated me to finally get around to implementing it.  See #18 for the PR (and commit 1398b18 for the documentation) and let me know if that meets your needs.

Thanks I will have a look as soon as possible

OK, I'm taking no news as good news and merging.

I am interested in the same functionality (install in editable mode, make changes to the installed code, get the fresh version without re-installing). I do not see how generating a file at build/setup/install time would help (consider a workflow where you install something in editable mode once and then never again, using only git pull to upgrade, then importlib would report 0.0.1 while, due to years of git pull, you actually have the latest version 23.42.69).
I tinkered with versioningit.get_version(config={},project_dir=os.path.basename(__file__)) (in Python >= 3.7 where __file__ should be absolute), which seems to work, except when the package is installed in a different repository (that might happen with git clone x; cd x; python -m venv venv; venv/bin/activate; pip install y, then y would probably get the version of x instead of y, so something more is needed to handle that case).

@jwodder Sorry I have been fully ocupied with other stuff I will give this a test now.
@provtemp The idea is that you have something like
__version__ = versioningit.get_version(config={},project_dir=os.path.basename(__file__))

In a file in your package and then upon generation of an sdist or a bdist that file gets overwritten with
__version__ = "x.y.z"

where x.y.z is the version that you are generating an sdist/bdist for

@jwodder Finally had a chance to test this out and it works great. As far as I am concerned this issue can be closed


Entry point file wont resolve. Throws error cannot resolve 'file' or 'directory'

Hi,
I gave a shot at webpack today using gulp. Here is my task
gulpWebpack = require('gulp-webpack');
gulp = require('gulp'),
gulp.task('webpack', function() {
  return gulp.src('src/components/app.js')
    .pipe(gulpWebpack({}, webpack))
    .pipe(gulp.dest('./public/assets/js/'));
});

The app.js exists. But it throws the following error
ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory' /Users/nikhildev/Code/greatphotos/web/src/components/app.js in /Users/nikhildev/Code/greatphotos/web

I tried the CLI version and get the same error. Any idea what I might be doing wrong?
Thanks

webpack --display-error-details

@sokra Please excuse my stupidity. Commenting out unnecessary stuff in package.json is what was breaking it.


Error messages for feedforward networks with method CROWN

I am trying to compute_bounds on some feedforward networks and getting an error. Here is a minimal failing example:
import torch
import torch.nn as nn
from auto_LiRPA import BoundedModule, BoundedTensor, PerturbationLpNorm

# Set up inputs
x = torch.ones(2)
ptb_input = BoundedTensor(x, PerturbationLpNorm(eps=0.1))

# The model
model = nn.Sequential(
  nn.Linear(2, 10),
  nn.ReLU(),
  nn.Linear(10, 10),
  nn.ReLU(),
  nn.Linear(10, 2)
)
model = BoundedModule(model, x)

#
lb, ub = model.compute_bounds(x=(ptb_input,), method="IBP") # This works

lb, ub = model.compute_bounds(x=(ptb_input,), method="CROWN") # This does not

Which gets the output:
Traceback (most recent call last):
  File "/home/antonxue/stuff/test/autolirpa/hello.py", line 22, in <module>
    lb, ub = model.compute_bounds(x=(ptb_input,), method="CROWN") # This does not
  File "/home/antonxue/foo/miniconda3/envs/jl/lib/python3.9/site-packages/auto_LiRPA/bound_general.py", line 1334, in compute_bounds
    num_channel = node.output_shape[-3]
IndexError: tuple index out of range

Why is this the case, and what should I do differently?

Hi @AntonXue , it's recommended to have a batch dimension for input tensor. If you change the input into:
x = torch.ones(1, 2) # 1 stands for batch size

it works for me.

This works! Thank you very much for the help :)


IP sources and malware type

Hi,
Thank you for creating this repo so that other developers can use it and take advantage of an open source blocklist. I have a few questions -

I know it mentions there are 30+ feeds that you connect to. Is there any spec on what those feeds cover? and how many updates or new ips do you plug in from those every day or in the frequency you update it at?
What malware types are covered? My use case specifically needs to cover bot mitigation cases like web scraping bad bots and content abuse bots over the net. Are those cases covered?

Thanks in advance.

List are literary these: https://github.com/stamparm/maltrail/tree/master/trails/feeds. Based on those python script scraping script names you can easily deduce what each of those have as a source
These lists are more for "inbound" traffic blocking than for "outbound" traffic blocking. Thus, if you are watching for "malware" blacklist of IPs I believe that you are at the wrong place. Even though there are IPs also for known C&Cs included here, majority of those are pretty much static, without using some fresh list of C&C IPs
"web scraping bad bots" and "content abuse bots" are mostly covered with these lists. I believe that you've mixed the "malware" with "bot" terminology

Hi,
One more question - the list when updated periodically, is it generated as
a totally separate list from the previous list or is generated as an
override list that overrides the previous list values?
Thanks.
On Tue, Nov 10, 2020 at 1:50 PM Miroslav Stampar<EMAIL_ADDRESS>wrote:

List are literary these:
https://github.com/stamparm/maltrail/tree/master/trails/feeds. Based
on those python script scraping script names you can easily deduce what
each of those have as a source
These lists are more for "inbound" traffic blocking than for
"outbound" traffic blocking. Thus, if you are watching for "malware"
blacklist of IPs I believe that you are at the wrong place. Even though
there are IPs also for known C&Cs included here, majority of those are
pretty much static, without using some fresh list of C&C IPs
"web scraping bad bots" and "content abuse bots" are mostly covered
with these lists. I believe that you've mixed the "malware" with "bot"
terminology

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stamparm/ipsum/issues/10#issuecomment-724987988, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIV3SIC23S7LLTTQHDUJBETSPGYTXANCNFSM4TRA3KHA
.

--
*Keval Jayesh Lakhani | *Engineering |<PHONE_NUMBER> |<EMAIL_ADDRESS>

@kevallakhani it is done from scratch every time. This means that if IP disappears from all retrieved blacklists, it will disappear from ipsum too

Got it.
Thanks for answering my questions. Do you also sometimes include any good
search engine bots in the list like google, yahoo, bing, etc? just curious
about that.
On Wed, Nov 18, 2020 at 12:50 AM Miroslav Stampar<EMAIL_ADDRESS>wrote:

@kevallakhani https://github.com/kevallakhani it is done from scratch
every time. This means that if IP disappears from all retrieved blacklists,
it will disappear from ipsum too
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stamparm/ipsum/issues/10#issuecomment-729531650, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIV3SIBFEQSQHPN6J4TATFDSQODHBANCNFSM4TRA3KHA
.

--
*Keval Jayesh Lakhani | *Engineering |<PHONE_NUMBER> |<EMAIL_ADDRESS>


MathQuill to MathJS converted by TeX math parser

Can any one solve my issue? I have used MathQuill now I want to take the output from mathquill and pass it to mathjs but I am getting ireference error.
This is the error Uncaught ReferenceError: exports is not defined  When I opened details of this error I got error in Object.defineProperty(exports, "__esModule", { value: true });   For this I am using cdn which is https://cdn.jsdelivr.net/npm/tex-math-parser. Let me know if some knows the solutions. Thanks

Hi! Can you share a code sample of what is giving you this error?

@davidtranhq I have solved my problem thanks. It worked for me when I installed it but CDN didn't worked for me.


Release 4.15 compatibility

Manually taken and applied from https://github.com/red-hat-storage/odf-console/pull/1409

Before:

After:

@SanjalKatiyar Please review

/bugzilla refresh

/hold

/hold cancel


Improve UI of MUXControlsTestApp

Description

This PR aims to improve the visuals and code of the MUXControlsTestApp
Motivation and Context

Even though designed for tests, having devs use the MUXControlsTestApp should not be impossible or unpleasant due to unreadable text and other UI (and code) that is not optimal to use.
How Has This Been Tested?

Started app. Tests should not be affected by this.
Screenshots (if appropriate):

Additional comments:

NavigationView: "BlankPage" is unused. Should we remove it?
ButtonInteractionPage and SliderInteractionPage are (at least for me) not visible in the MUXControlsTestApp. Are they expected to not be viewable?
Pivot: The CommandBar on the test page does nothing, can it be removed?
ScrollBar: The test page seems to have nothing rendered visible.
ProgressBar: Since we now have the NumberBox, should we switch away from the "Set ... Value" buttons and instead use bindings?
Happy holidays!

Increase and Improve Spacing between control property controls;

Increase Margins on pages and container regions;

Proper separation between example controls and the property forms;

Consistent layout for all test pages (perhaps include template XAML for developers and testers;

Increase and Improve Spacing between control property controls;
Increase Margins on pages and container regions;

This is something I already did on some pages,but not on all. If you find any pages that need improvement, feel free to tell me, and I will take a look 😊

Proper separation between example controls and the property forms;

I agree, however I don't know how you would do that without having pages contain weird layouts e.g. the NavigationView pages, where we use the NavigationView as root of the page. Do you have any ideas for this?

Consistent layout for all test pages (perhaps include template XAML for developers and testers;

Unfortunately, there are rarely any layouts/patterns that are used more than once or twice. This is due the fact that different controls have different ways to test them. So having a consistent layout among all pages might be quite difficult. But if you have an idea feel free to comment them :)

Increase and Improve Spacing between control property controls;
Increase Margins on pages and container regions;

This is something I already did on some pages,but not on all. If you find any pages that need improvement, feel free to tell me, and I will take a look 😊

Proper separation between example controls and the property forms;

I agree, however I don't know how you would do that without having pages contain weird layouts e.g. the NavigationView pages, where we use the NavigationView as root of the page. Do you have any ideas for this?

Consistent layout for all test pages (perhaps include template XAML for developers and testers;

Unfortunately, there are rarely any layouts/patterns that are used more than once or twice. This is due the fact that different controls have different ways to test them. So having a consistent layout among all pages might be quite difficult. But if you have an idea feel free to comment them :)

Its not about making each page the same layout, but the same separation between tests, properties, and the control example itself standing out from each other.

So it becomes obvious what the example is that you should be looking at.
What properties you can adjust.
What actions/tests you can perform

/azp run

/azp run

Its not about making each page the same layout, but the same separation between tests, properties, and the control example itself standing out from each other.

Thats a good point. I will see if what pages that need improvements in that area.
@kaiguo Thanks for starting azure!

/azp run

@chingucoding, there's one more AnimatedVisualPlayerTests.AccessibilityTest failing, could you take a look 😊?

@chingucoding, there's one more AnimatedVisualPlayerTests.AccessibilityTest failing, could you take a look 😊?

Sure :)

@kaiguo , I have reverted my changes for the AnimatedVIsualPlayer. Visual Studio did not want to run the test for the AnimatedVisualPlayer page, so I couldn't investigate the test failing.

@kaiguo Kai Guo FTE , I have reverted my changes for the AnimatedVIsualPlayer. Visual Studio did not want to run the test for the AnimatedVisualPlayer page, so I couldn't investigate the test failing.

I looked at the log, seems like some PropertyChangedEventWaiter timed out, I'm not sure why adding a column would make it time out. Reverting sounds fine to me, I'll re-run the tests.

/azp run

It seemed like that the test that was fixed with #1797 was failing, so I rebased this branch onto master. Hopefully that helps.

Increase and Improve Spacing between control property controls;
Increase Margins on pages and container regions;

This is something I already did on some pages,but not on all. If you find any pages that need improvement, feel free to tell me, and I will take a look 😊

Proper separation between example controls and the property forms;

I agree, however I don't know how you would do that without having pages contain weird layouts e.g. the NavigationView pages, where we use the NavigationView as root of the page. Do you have any ideas for this?

Consistent layout for all test pages (perhaps include template XAML for developers and testers;

Unfortunately, there are rarely any layouts/patterns that are used more than once or twice. This is due the fact that different controls have different ways to test them. So having a consistent layout among all pages might be quite difficult. But if you have an idea feel free to comment them :)

Its not about making each page the same layout, but the same separation between tests, properties, and the control example itself standing out from each other.

So it becomes obvious what the example is that you should be looking at.
What properties you can adjust.
What actions/tests you can perform

I've actually been wishing/hoping for this for a long time.  I think the best example of a good test page whose layout could be the base line is the Scroller's Exercise Scroller API page which @RBrid wrote.  The teaching tip, exercise swipe control api's, and RadioButtons test pages were built with this in mind. Personally I would love if all the pages got updated to look like this.

I've actually been wishing/hoping for this for a long time. I think the best example of a good test page whose layout could be the base line is the Scroller's Exercise Scroller API page which @RBrid wrote. The teaching tip, exercise swipe control api's, and RadioButtons test pages were built with this in mind. Personally I would love if all the pages got updated to look like this.

Agreed, those pages are better to use. I will try to get all pages into this pattern/layout.
However, on some pages I am not sure what to do since they have a lot of controls e.g. the ItemsRepeater overview page. Should I just propose changes there, and you just look if it makes sense? Or would it be better to update the questions at the top of this thread?

ItemsRepeater pages are purely for trying things out. They are not used by interaction tests so you can freely update them. Much of the other pages have interaction tests driving their pages, so you want to make sure atleast the UIA tree does not get changed much or be willing to update the tests as well.

ItemsRepeater pages are purely for trying things out. They are not used by interaction tests so you can freely update them. Much of the other pages have interaction tests driving their pages, so you want to make sure atleast the UIA tree does not get changed much or be willing to update the tests as well.

I see, thank you for the clarification!

Increase and Improve Spacing between control property controls;
Increase Margins on pages and container regions;

This is something I already did on some pages,but not on all. If you find any pages that need improvement, feel free to tell me, and I will take a look 😊

Proper separation between example controls and the property forms;

I agree, however I don't know how you would do that without having pages contain weird layouts e.g. the NavigationView pages, where we use the NavigationView as root of the page. Do you have any ideas for this?

Consistent layout for all test pages (perhaps include template XAML for developers and testers;

Unfortunately, there are rarely any layouts/patterns that are used more than once or twice. This is due the fact that different controls have different ways to test them. So having a consistent layout among all pages might be quite difficult. But if you have an idea feel free to comment them :)

Its not about making each page the same layout, but the same separation between tests, properties, and the control example itself standing out from each other.

So it becomes obvious what the example is that you should be looking at.
What properties you can adjust.
What actions/tests you can perform

Agreed, this is definitely a huge improvement. Thanks for doing this :)

/azp run

Looks like ProgressBar and TextCommandBarFlyoutTests are/were being reported as failing. Was this related to the AutoSuggestBoxTest?
What is the "Work Item" indicated in the log?
Link to Pipeline build:
https://dev.azure.com/ms/microsoft-ui-xaml/_build/results?buildId=56834&view=results

Looks like ProgressBar and TextCommandBarFlyoutTests are/were being reported as failing. Was this related to the AutoSuggestBoxTest?
What is the "Work Item" indicated in the log?
Link to Pipeline build:
https://dev.azure.com/ms/microsoft-ui-xaml/_build/results?buildId=56834&view=results

I think the work item here refers to the helix batch of work that the failing test was a part of. @kmahone is that right?

/azp run

@chingucoding These test failures look like real issue to me, will you be able to take a look?

@chingucoding These test failures look like real issue to me, will you be able to take a look?

Since the tests are not failing on my machine for some reason, I mostly reverted the pages in question as they are usable and having the tests be reliable is most important.

/azp run

/azp run

/azp run

Since the last CI run was successful, I think it is the best to merge this PR now, as a lot of pages have been improved. I have merged the latest commits from master in this branch to resolve potential merge problems.
If the CI build started by @ranjeshj finishes and is successful, I think it is best to merge this PR and make a separate PR for additional improvements.
Regarding latter, should I create an issue for this to collect items not covered by this PR?

Since the last CI run was successful, I think it is the best to merge this PR now, as a lot of pages have been improved. I have merged the latest commits from master in this branch to resolve potential merge problems.
If the CI build started by @ranjeshj finishes and is successful, I think it is best to merge this PR and make a separate PR for additional improvements.
Regarding latter, should I create an issue for this to collect items not covered by this PR?

Sure. We please do a follow up PR if it is getting too painful to merge.

Sure. Please do a follow up PR if it is getting too painful to merge.

If this is something, the WinUI team think is worth investing more time, sure.
Currently I do not have too much time to work further on this, so instead of having to continuously merge master into this PR, it is easier to merge this.


show user reddit error message on login failed

usually either rate limit or wrong pw

No longer an issue now it's using oauth, log in happens in the browser


-Fsy  leads to "error: you cannot perform this operation unless you are root."

When I try $ pacaur -Fys vim, I receive the following message: error: you cannot perform this operation unless you are root. -Fs and -Fy by themselves work perfectly fine.

Thanks for the report. Fixed in 632ed8e99b5de0b3cd77d8ab1773b529d6d39ffa.


V2 content, except testing and CSS

Since I'm already asking people to work on the active v2 content, I'm going to merge this into master. The CSS content is still in the 'in-development' dir, so it works out, in its' current shape.

Hooray!


Add Sponsors Information

In order to add the sponsors we need to do 2 things:

[ ]  Add all the sponsors photos in public/images/sponsors/ as .png.

[ ] Add their info to a sponsors.json file in data/ depending on the plan (exclusive, gold, silver, bronze) that they belongs. The struct goes as follows:

            {
                "image": "accenture",
                "link": "https://www.accenture.com/us-en"
            }

The frontend adapts automatically from here pray

@mariajbp