[Feature] worker cluster shouldn't share same kubeconfig with pivot cluster

Warden should only have the basic authority for updating and watch resource's change in pivot. Otherwise owner of warden cluster could operate the pivot cluster. It has a security risky of kubecube

Yes，we noticed that warden had too much authority than it need. We should lower the permissions before dispatch the kubeconfig to member cluster


import moment

Closes #1253

@apinf/developers, please review and merge it ASAP.
Otherwise, it will affect nightly tomorrow.


Black screen after spamming 'use photo' in image_picker

Steps to reproduce

Open camera from the image_picker library
Take a picture
Spam te 'Use Photo' button

This does happen about 50% of the time
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.4 19E287, locale en-NL)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.49.1)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Hi @brunodelsing
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.4 19E287, locale en-NL)
    • Flutter version 1.20.4 at /Users/userke/Developer/flutter
    • Framework revision fba99f6cf9 (8 days ago), 2020-09-14 15:32:52 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/userke/Library/Android/sdk
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.1)
    • VS Code at /Users/userke/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.14.1

[!] Connected device
    • Error: Kantoor is not connected. Xcode will continue when Kantoor is connected. (code -13)
    • Error: iPhone van Kevin is not connected. Xcode will continue when iPhone van Kevin is connected. (code -13)

! Doctor found issues in 2 categories.

flutter run —verbose
Output
Code sample
void _openCamera(BuildContext cntxt) async {
    try {
      final pickedFile = await picker.getImage(source: ImageSource.camera);
      if (this.mounted) {
        setState(() {
          imageFile = File(pickedFile.path);
        });
      }
      Navigator.of(context).pop();
    } on PlatformException catch (e) {
      Navigator.of(context).pop();
      if (e.code == 'photo_access_denied') {
        Snacky.error(context,
            ‘Something wen’t wrong, no access to camera.’);
      } else {
        Snacky.error(
            context, ‘Something wen’t wrong.’);
      }
    } catch (e) {
      Navigator.of(context).pop();
      Snacky.error(
          context, ’Something wen’t wrong.’);
    }
  }

Hi @brunodelsing
I need a complete sample code that I can just copy/paste into a main.dart file and run it.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


unit tests

chore(folders): moves fastify test server to integration folder
chore(npm): adds test command and jest packages
test(config): adds config file for ts-jest
test(sample): adds a simple sample test for testing if jest works
ci(workflows): adds test command to be run on workflows

 Unit tests in fastify dynamodb caching package


Docs: demo 'global' lib exclusion.

Add an example of how to exclude a transitive dependency for all dependencies in a sequence.
As I've just learned at http://stackoverflow.com/a/25748761/935239 and thought would be helpful in the reference documentation.

Is this well placed in the reference documentation or should it remain on SO?
Note that I didn't build this locally, but used the GitHub editor; but that's what Travis-CI is for, no? :-)

Hi @jotomo,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.typesafe.com/contribute/cla

CLA signed. Travis build failed with an unrelated error (dpkg failed to install a package ...).

sbt 0.13.8 will have excludeDependencies, which I think should be the way to exclude things going forward. See sbt/sbt#1748.

Cool, excludeDependencies is much cleaner. Thanks @eed3si9n !


Update active-directory-how-to-find-tenant.md

Remove dead wood

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

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

@ajburnle
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

#sign-off


Client bundle always falls back to Iconify API

There seems to be a bug that makes no sense to me. The client side init() in loadIcon(name, timeout) goes through successfully and populates the block level dataStorage[""] with icons.
Now comes the weird part: in the next line, there is a call getIcon(name) and as soon as I step into that function, dataStorage becomes
{
  "": {
    prefix1: {
      icons: {}
      ...
    }
}

When next icon gets processed, it is the same story, _initialized is true, dataStorage[""] looks good and has all icons, but as soon as getIcon(name) is executed, dataStorage changes to
{
  "": {
    prefix1: ...,
    prefix2: ...
  }
}

It looks like there are two dataStorages, one in scope of loadIcon and another one in scope of getIcon, but I have no clue how could it be prefilled with partial data...

Ok, I still have no idea what the issue was, but I think that removing node_modules solved it.


[FLINK-6303] Documentation support build in docker on OSX

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Thanks for the PR @mtunique! I actually ran into this today and have a fix in a branch that I will hopefully open a PR for tomorrow.
I had exactly your change, but tweaked it slightly to tolerate being called from sudo.
You could either just wait for me to merge that change, or continue with this PR, but please implement the change as I did in the branch I linked above.

I will follow the branch.

Here's the PR: #3751

@patricklucas I have changed this PR follow #3751. In order to make the PRs clearly, the PR #3751 should just fix the issue FLINK-6330.

@mtunique please manually close this PR since it is subsumed by #3751.


Collapse services.exe on start on v3

In PH2 you had the setting to collapse services.exe on startup of PH; it seems like the option is no longer available on v3.
Are there any plans on re-adding that, because that was a really neat option that cleaned the clutter on startup?

the option is no longer available on v3

It's still there but moved to the Options > Usernotes window

Are there any plans on re-adding that

It'll be moved back to to Options > General with the other checkboxes after I've added support for callouts. It's only on the Usernotes options as a temporary workaround while other stuff was updated.


[BUG] Shortlinks to other Tenants do not work

What is the bug?
When visiting a shortlink URL, the tenant specified in the URL seems to be ignored and it tries to load the shortlink in the current tenant.
This seems related to https://github.com/opensearch-project/security-dashboards-plugin/issues/1012
How can one reproduce the bug?
Steps to reproduce the behavior:

In a cluster with more than one tenant, log into Dashboards
Go to a page such as Discover, then click at the top Share -> Short URL -> Copy link
Navigate to a different Tenant
Open a new tab and paste the copied URL (which has a parameter ?security_tenant=first_tenant_name
Note that the link does not work and the Tenant is not switched.  It attempts to load the goto URL from the 2nd Tenant selected in step 3 instead of the first tenant specified in the URL.  This results in an error

What is the expected behavior?
The URL should work and link to the page in the correct tenant as specified in the URL
What is your host/environment?

OS: Linux / Docker
Version: 2.3.0
Plugins: Security Plugin

Looks like https://github.com/opensearch-project/security-dashboards-plugin/issues/123 may be of interest here

This has been resolved on elastic search version 2.3.0.
The fix was initiated in this PR and tested in version 2.3.0. When switching tenants from a short link, the tenant is now remembered.

I can confirm that this bug still exists in OpenSearch 2.6.0

Thanks @jgough I can retest on 2.6.0 and implement the fix.

To explain how this functionality is currently working:

When a short URL (with parameter for security_tenant) is pasted into a new tab i.e. http://localhost:5601/goto/b9da0172f96bd51ead2ee96afcca2dc2?security_tenant=global
It triggers tenant_resolver.ts found in plugins/security-dashboards-plugin/server/multitenancy/tenant_resolver.ts
tenant_resolver.ts retrieves the tenant from the node backend. At this point, we now have the tenant.
When we come to setting up/rendering the top navigation, we fetch the tenant information again, from the front end this time. In fetchAccountInfoSafe we get the data of the tenant and user. Keep in mind we already have the correct tenant info from step 3. We then fetchCurrentTenant, getting the tenant information again, but from the frontend.
We go on to check if the tenant is in the URL in the function when checking if tenantSpecifiedInUrl()
The getSavedTenant() then fetches the tenant from the localstorage and assigns the value to savedTenant
At this stage, we were overriding the tenant with the value from the localstorage, savedTenant.
Therefore the tenant from the URL is being over wrote with the local storage value

This bug still exists in OpenSearch 2.8.0

This bug still exists in OpenSearch 2.16.0


Generic method to create Strict fields

Feature Request
This is a followup from https://github.com/tiangolo/fastapi/issues/453#issuecomment-523746120
Description
We'd like have a general way to create Strict field classes, e.g. StrictInt, StrictFloat, etc. that do value instance type checking during validation phase.
Rationale
My usecase for this feature is to be able properly support Unions for native types. Today if you have a field coming from JSON data that can be either bool, str, or int, you can't define a model in pydantic that will keep original data field's type.
Here is an example:
class MyModel(BaseModel):
    field: Union[int, bool, str]

The above will:

parse `{"field": "1"} as integer
parse {"field": "foo"} as boolean, since bool "eats" anything (as well as str)

I.e. MyModel(**json.loads('{"field": "foo"}')).json() != '{"field": "foo"}'
Implementation
@dmontagu suggested two approaches to implement this.
Creator function
T = TypeVar("T")

def strict_type(type_: Type[T]) -> Type[T]:
    class StrictType(type_):
        @classmethod
        def __get_validators__(cls) -> Generator[Callable[[Any], T], None, None]:
            yield cls.validate

        @classmethod
        def validate(cls, v: Any) -> T:
            if not isinstance(v, type_):
                raise TypeError(f"Expected instance of {type_}, got {type(v)} instead")
            return v
    return StrictType

StrictInt = strict_type(int)

It works just fine. However mypy does not like dynamic types and prints errors for the above code:
/tmp/foo.py:10: error: Variable "type_" is not valid as a type
/tmp/foo.py:10: error: Invalid base class "type_"
/tmp/foo.py:27: error: Variable "union2.StrictInt" is not valid as a type

Generic class
T = TypeVar("T")

class StrictType(Generic[T]):
    type_: ClassVar[Type[T]]
    def __get_validators__(cls) -> Generator[Callable[[Any], T], None, None]:
        # yield int_validator
        yield cls.validate

    @classmethod
    def validate(cls, v: Any) -> T:
          if not isinstance(v, cls.type_):
              raise TypeError(f"Expected instance of {type_}, got {type(v)} instead")
        return v

class StrictInt(StrictType[int]):
    type_ = int

This version is mypy friendly but is less convenient to the user - requires to create classes in a bit of a magical manner.

I'm happy with StrictInt and StrictFloat and also a generic version. I'm not sure it'll always be acceptable to simply use isinstance(), for instance: isinstance(True, int) == True; we'll need other specific checks for some types. For performance reasons it would therefore be best to have custom types for common types
However I would note the following:

these changes won't be adopted until v1 at the earliest. With v1 "foo" will no longer be eaten by bool which has got stricter, see #617
With v1 you should also be able to use descriminator as per #619 to aid Union validation.

Will you accept PR for explicit implementations for StrictInt and StrictFloat to complement existing Strict* implementations or will it have to wait till v1 as well?

We're working on v1 now. Only bugs are being released until we get v1 out. I will accept a PR for StrictInt and StrictFloat to be included in v1.
descriminator could be a function, it won't need to be a field name, in fact it might always be a function. We need to discuss more how it'll work, but in theory it should be able to accomplish what you want here.

I did a PR that addresses this issue in some respect: https://github.com/samuelcolvin/pydantic/pull/799

Whatever solution is accepted for #1060 may affect this so linking here.

Is there a way to create strict types using Field() object?
For example this is completely what I want but mypy can't parse it correctly and I would avoid using # type: ignore:
class Kek(BaseModel):
    value: conint(strict=True, ge=0, le=10)  # type: ignore

Is it possible to do it using Field or in some other way just to create strict int and avoid # type: ignore comments?
class Kek(BaseModel):
    value: int = Field(..., strict=True, ge=0, le=10)  # doesn't work, just an example/suggestion

If this can help there is a possible solution here https://github.com/samuelcolvin/pydantic/issues/2079#issuecomment-720118099

An alternative view on this: Developers are most likely split into two camps:

Those who want strict parsing everywhere, and
those who don't.

Field-specific ability to enable strict parsing might be useful to some,but  I believe masses would just want to toggle "strictness" on and write:
class Kek(BaseModel):
    f1: str
    f2: bool
    f3: int

Rather than more explicit:
class Kek(BaseModel):
    f1: StrictStr
    f2: StrictBool
    f3: conint(strict=True)  # mypy will nag about this, btw.

Latter looks ugly and kludgy. On a big project, multiply that by 100-1000+ and you have lots of wasted characters (and clarity).

On V2, you can use the Strict metadata. Check how it's done internally:
https://github.com/pydantic/pydantic/blob/f50ae9f282c29e460563829d40d9eeffcf87e479/pydantic/types.py#L82-L92


Broken download links for plugins (using plugin manager within QGIS)

Not sure whether this is right place for this issue, so you may want to categorise as an issue with the application.
Attempting to install plugins from within QGIS fails.
Error: Plugin installation failed: Error transferring https://plugins.qgis.org/plugins/closest_points/version/1.0.1/download/ - server replied: Gateway Timeout
Page URL: https://plugins.qgis.org/plugins/NNJoin/version/3.1.3/download/

Already reported on correct repo : https://github.com/qgis/QGIS-Django/issues/248


Create meltano file extension

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/186
Originally created by @bencodezen on 2018-11-28 16:38:18

Currently we support lookml files, but we should have our own specification as well:

[ ] New specification with the file extension *.ma
[ ] Should be friendly with lookml files
[ ] Consider converting files to our standard

cc @jschatz1 @emilie @mbergeron

View 2 previous comments from the original issue on GitLab


Fix authorization status checker to check the last request before StopIteration

Thank you for contributing to sewer.
Every contribution to sewer is important to us.
You may not know it, but you have just contributed to making the world a more safer and secure place.
What(What have you changed?)
Changed the order of checks.
Why(Why did you change it?)
Found a bug where the last GET response was not evaluated (but logged) before raising a StopIteration exception. Although the last response had a "valid" status, sewer still raised the exception.
This way the while loop does not terminate prematurely before checking the last request's status.

+1 on fixing the problem of throwing away the last result, which this should do.
-1 on the disguised counting loop that doubtless was the cause of this error in the first place.  But that could be a refactoring for another time.

@mmaney are you happy with this PR?
If you are, you please add an approval. You can also go ahead and squash merge


Adding DBNull as serializabe type

We will add serialization support for System.DBNull timed with the next servicing release (2.0.2).

Should we mention that it was added in 2.0.2? e.g. System.DBNull (added in 2.0.2)

It's up to you. Given that it's a patch, customers have a short time to upgrade no?

I added the version info to be explicit :)

@ViktorHofer can we change that to say "available in .NET Core 2,0,2 and later versions"?

Of course :)


Added overloads to GetAWSOptions that allow creating service specific client configs

This implements a solution to https://github.com/aws/aws-sdk-net/issues/1796 where client specific configuration can't be set using the .net core configuration extensions.
Description
The main user facing change is an added overload to GetAWSOptions that takes a generic parameter of the type of aws config you are wanting to use. This allows settings such as ForcePathStyle in a derived class from ClientConfig to be set.
Motivation and Context
This allows greater flexibility in configuring aws clients purely from IConfiguration sources. This resolves  https://github.com/aws/aws-sdk-net/issues/1796
Testing
Testing so far has been done through the unit tests for AWSOption and client configs.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project
[x] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have read the README document
[x] I have added tests to cover my changes
[x] All new and existing tests passed

License

[x] I confirm that this pull request can be released under the Apache 2 license

why this PR is stuck in review since 2021. Pls pull this change its useful feature

I went ahead and resolved the merge conflicts as well.

This was merged in NETCoreSetup v 3.7.7


Config flow could not be loaded

After installing the custom component through HACS I can't configure it. I get this error from Configurations->Integrations.
I'm running core-2021.3.2 and supervisor-2021.03.4

Best regards,

This is due to a breaking change in an upstream library. We are investigating...

Ah, got it. Any way to condigure the integration manually?
Best regards

websocket-client lib needs to be version 0.57.0 and signalrcore lib needs to be 0.8.8. Later versions are not compatible (at least not right now).
We are working on a fix.


fix source code link

Link to source code was wrong.
Description of your changes

Fixes #
Updated source code link.
I have:

[ ] Read and followed Upbound's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

/test-examples


Create Multiple TravisCI builds

Once we introduce 10 min long accessibility testing on the components, we will want to split up the test suites.
https://docs.travis-ci.com/user/speeding-up-the-build/

Closing due to current removal of visual regression tests from library


Api URLs

How I can separately access the API URL, e.g. the first one in order to curl it for example? I don't see that so far.

I'm sorry, that is really outside the scope of this extension. For starters, this API moves calls to the WebSocket. As far as I know, curl doesn't support sending/receiving WebSocket packets. And the API abstracts all the complex logic of sending and receiving including authentication and encryption. I can't help you with that at the moment.


BUG: Testimonial heading not visible in light mode

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hey, @MonalikaPatnaik The heading and buttons of the testimonials section are not visible in light mode. Please assign me this issue. Thank you!
Add ScreenShots

Dark Mode:-

Light Mode:-

What browser are you seeing the problem on?
Chrome
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

adding the heading and next & prev contrls only in light mode is too minor to add a GSSOC tag. You can add animation to this section and make it look more attractive by adding slideshow?

adding the heading and next & prev contrls only in light mode is too minor to add a GSSOC tag. You can add animation to this section and make it look more attractive by adding slideshow?

No, it's already added but due to some bug, it's not visible there!
Well, I can add slideshow. Please assign me this issue.

Hey @sumitkr2000 I am expecting that u are fixing the whole testimonial section including its responsiveness, visibility and colour change in dark/light theme?

Ohh i have to fox that also! I was only adding slideshow as u said. If you want to fix that also i can do it.

Yes pls complete this section in one go, will add level 2 or 3 maybe acc to your work!

@MonalikaPatnaik Okay thanks for clarifying. Working on it.

Hey @MonalikaPatnaik I am working on it and will probably complete it by today. I am traveling that's why it is taking more time.

Yes yes it's okay


Multi-app project by template?

Based on the help for new I expected that rebar would, by default, create a multi-app project.
> rebar3 new help app
app:
	built-in template
	Description: OTP Application
	Variables:
		name="mylib" (Name of the OTP application)
		desc="An OTP application" (Short description of the app)
		date="2015-03-27"
		datetime="2015-03-27T16:41:19+00:00"
		author_name="Brian L. Troutwine"
<EMAIL_ADDRESS>		copyright_year="2015"
		apps_dir="apps" (Directory where applications will be created if needed)

In particular, the apps_dir value there seemed promising. However,
(walden) ~/projects/us/troutwine/robot_utopia
blt> rebar3 new app ru
===> Writing ru/src/ru_app.erl
===> Writing ru/src/ru_sup.erl
===> Writing ru/src/ru.app.src
===> Writing ru/rebar.config
===> Writing ru/.gitignore
===> Writing ru/LICENSE
===> Writing ru/README.md

No such luck. What I expected was a new project structured to be made with an apps/ru OTP directory present and for the next run of new to create a new OTP application in apps/, reusing existing configuration and what not.

Ah, this may be the confusing bit, apps_dir="apps" (Directory where applications will be created if needed)?
What we did is that an app or lib template simply does what you see there and if you use the release it gives you the structure with an apps/ dir.

Ah! When scanning the output of help I saw app first and assumed that'd be the whole show. Even though I scanned the rest of the list, release didn't strike me as what I was looking for.
apps_dir="apps" (Directory where applications will be created if needed)  sort of fed that confusion.
Okay, if I have an existing release-created project, it doesn't seem that rebar3 new app foo will create a new OTP application in the release structure.
(walden) ~/projects/us/troutwine
blt> rebar3 new release robot_utopia
===> Writing robot_utopia/apps/robot_utopia/src/robot_utopia_app.erl
===> Writing robot_utopia/apps/robot_utopia/src/robot_utopia_sup.erl
===> Writing robot_utopia/apps/robot_utopia/src/robot_utopia.app.src
===> Writing robot_utopia/rebar.config
===> Writing robot_utopia/config/sys.config
===> Writing robot_utopia/config/vm.args
===> Writing robot_utopia/.gitignore
===> Writing robot_utopia/LICENSE
===> Writing robot_utopia/README.md

(walden) ~/projects/us/troutwine
blt> cd robot_utopia

(walden) ~/projects/us/troutwine/robot_utopia
blt> ls
LICENSE      README.md    apps         config       rebar.config

(walden-2) ~/projects/us/troutwine/robot_utopia
blt> rebar3 new app ru
===> Writing ru/src/ru_app.erl
===> Writing ru/src/ru_sup.erl
===> Writing ru/src/ru.app.src
===> Writing ru/rebar.config
===> Writing ru/.gitignore
===> Writing ru/LICENSE
===> Writing ru/README.md

I'm confused about what new app does?

It creates a new rebar project that is just a single app. I agree it would be nice if when run under a project it created it under apps, but handling that just wasn't a priority :). So you would have to change to the apps directory and then run new.

yeah, the problem is that the same template for an application can be used both from outside of a project to create it first, and from within a release. Rebar3 templates do not have that context-awareness, so you'd need to cd <appdir>; rebar3 new app ....

Makes sense.


How handle Scientific to numeric 1+E  in csv file

Hi,
I have an csv file it had some numeric field data,
sample data
Rowno Name USD
1 Ranjith -5.59E-05
2 Kani -0.00011316
3 vinu 0.0042846
copy functionality here row number 2 and 3 are inserted, but row number 1 is skipped but csv had -5.59E-05 (-0.00005592) exact value.
My concern is data factory not properly handling scientific to numeric conversion. Let me suggest right solution and your content also not covered how to handle different type of data fields.

Duplicate of #36023

Closing as #36023 is closed


some default values for KeyValue is not working

According to the document, all Windows service recovery action related options (OnFailure*) have default values. However, the OnFailure option must be specified for these default values to take effect.
https://github.com/kardianos/service/blob/becf2eb62b83ed01f5e782cb8da7bb739ded2bb5/service_windows.go#L317
If OnFailure is not set or is set to an empty string, all related options will be ignored, and the recovery action itself will not be configured.

+1 Because of the code above, the actual default behaviour is noaction on failure, while the docs say it would be restart.


Make TestContext.AssertTrue output more useful

If the assertion fails, you don't actually get the values of the functions. Instead, we should probably use something like https://stackoverflow.com/questions/52103182/how-to-get-the-stacktrace-of-a-panic-and-store-as-a-variable to get the stacktrace.

Fixed by #108


Ошибка

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Hi, you can change a directory, or use command dotnet new console -o myApp --force
MadiyarTastanbekov<EMAIL_ADDRESS>于2020年6月28日周日 上午6:29写道：

Problem encountered on
https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your
operating system version, exact error message, code sample, and anything
else that is relevant.
[image: image]
https://user-images.githubusercontent.com/66208532/85933343-d3ea4500-b8f7-11ea-9552-3b382009b282.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/4883, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCSSUOTFM2YJ6TX6BITVNLRYZXFJANCNFSM4OKHEMFA
.

This happens when you already ran the command in that folder, so the dotnet command founds an existing project in that path. You can either use the --force option as @shyboylpf mentioned, or delete the myApp folder and start over.
I'll close this issue for now but let us know if you need more help!


python precision handling

how did you handling precision of python?
i use round()

Yeah, we have not used any precision, but we need to do it.

how did you handling precision of python? i use round()

Precision of python? Could you please explain what you mean?

@tirthbha So our answer has large floating numbers, we need to diminish it for easy understanding. I think the professor has explained it in the class. Am I right @LinxuanHu ?? Please add the precision term in your code too @tirthbha

Built-in round() Function:
This is the most straightforward way. You can use the round() function to round a floating-point number to a specified number of decimal places.
x = 3.14159
rounded_x = round(x, 2)  # Rounding to 2 decimal places
print(rounded_x)  # 3.14

Hey reshna. So in this case we have to round off each value separately. Can't we do this for the whole answer at once by writing the code?

Yeah pooja I was thinking the same. If you know something let me know.

I don't think so, we have to do it independently for each result

From: poojashresthacode @.>
Sent: Wednesday, October 4, 2023 8:44 AM
To: ubsuny/23-Homework3G4 @.>
Cc: Tirth Bhatta @.>; Mention @.>
Subject: Re: [ubsuny/23-Homework3G4] python precision handling (Issue #42)
Sure!
—
Reply to this email directly, view it on GitHubhttps://github.com/ubsuny/23-Homework3G4/issues/42#issuecomment-1746997774, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCH6UV52MVWDPNMYW4FILFTX5VY4TAVCNFSM6AAAAAA5RSWBGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBWHE4TONZXGQ.
You are receiving this because you were mentioned.Message ID: @.***>

Okay


[BUG] Notifier not working with Microsoft Teams (Skipping SendMessage)

Describe the bug
I have BotKube installed on my cluster and am attempting to receive notifications from it using Microsoft Teams. Unfortunately, after a notifier start, no notifications are received for any events or cluster changes. Instead, the following events are recorded in the BotKube pod log:
INFO[2021-08-01T19:28:21Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:28:39Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:28:40Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:28:40Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:28:41Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:29:09Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:29:20Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:29:31Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:30:00Z] Skipping SendMessage since conversation ref not set
INFO[2021-08-01T19:30:10Z] Skipping SendMessage since conversation ref not set

These only occur when the notifier is running. They cease on a notifier stop command and continue on a following notifier start.
In all other ways, communications with BotKube via Teams appear to be functioning properly. Commands (such as the aforementioned notifier start/stop commands), including kubectl commands, are received and executed, and their output displayed as normal.
(The logs also display the following periodic warning:
W0801 19:30:56.180450       1 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
but I don't think that is connected to this issue. But I mention it for the sake of full disclosure.)
To Reproduce
I have no specific reproduction steps to produce this behavior; this is simply what I saw on setting up the cluster in accordance with the instructions at https://www.botkube.io/installation/teams/ . My Helm configuration file read as follows:
logLevel: info

communications:
  teams:
    enabled: true
    appID: '[REDACTED]'
    appPassword: '[REDACTED]'
    notiftype: long

config:
  settings:
    clustername: harmony
    kubectl:
      enabled: true

ingress:
  create: false

nodeSelector:
  kubernetes.io/arch: amd64

The ingress was manually configured as follows, to permit Traefik to be configured to strip out a path element used to get inbound traffic from Teams through our reverse proxy server:
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: strip-botkube
  namespace: infrastructure
spec:
  stripPrefix:
    prefixes:
      - /botkube
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: botkube
  namespace: infrastructure
  labels:
    app: botkube
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: 'websecure'
    traefik.ingress.kubernetes.io/router.tls: 'true'
    traefik.ingress.kubernetes.io/router.middlewares: 'infrastructure-strip-botkube@kubernetescrd'
spec:
  rules:
    - host: entrypoint.harmony.arkane-systems.lan
      http:
        paths:
          - path: /botkube
            pathType: Prefix
            backend:
              service:
                name: botkube
                port:
                  number: 3978

This appears to be functioning successfully for messaging traffic coming from Teams, per the commands functioning properly above.
Expected behavior
The notifications to be delivered as per documentation.
Additional context
Running BotKube v0.12.1 on Kubernetes 1.21.3 (k3s).

Hey @cerebrate, could you please check if notifier is enabled for the teams. You can check that by executing @BotKube notifier status in a channel. To enable notifications, you need to execute @BotKube notifier start as mentioned in the 4th step of https://www.botkube.io/installation/teams#add-botkube-to-a-channel

Hi @cerebrate, I'm closing this issue because of inactivity. Hopefully Prasad's comment resolved your issue 🤞 If not, please reopen it. Cheers!


Flakey builds due to unmirrored envoy_api dep

My project https://github.com/google/iree/ has an integration with TensorFlow and therefore must build parts of TF as part of that integration. As part of our build that does so, we've recently been noticing flakiness fetching the envoy_api http_archive. Now setting aside the fact that it's absolutely terrifying to me that our compiler somehow depends on whatever envoyproxy/data-plane-api is, I think the  proximate cause here is that this dependency only has a source fetching from GitHub, which is not really set up to have the reliability for fetching http_archives like this. Could you please add a mirror as you have for other archives?
https://github.com/grpc/grpc/blob/b516dbfa21c5a2065f8a99a5890316d7da75d238/bazel/grpc_deps.bzl#L311-L319
Here's an example of our build failing:
https://source.cloud.google.com/results/invocations/5fc459b2-6d39-4125-9b48-4932f23957c0

Thanks for pointing this out! This should be fixed with #25710

Awesome, thanks!


OverflowMenu - it should be possible to disable component using a prop, like others components, e.g. Button

Summary
OverflowMenu - it should be possible to disable component using a prop disabled, like in others components, e.g. Button
Justification
We are not able to easily disable component, to prevent possibility to open it when clicked, and changing the appearance.

Thanks @tomkdgun for reporting - While it sounds to make sense theoretically, would you share the concrete use case behind the notion of "disabled overflow menu"? Thanks!

The parent component disables some children base on condition e.g. radio group selection, one of the disabled children component has OverflowMenu with actions assigned.

@IBM/carbon-designers Does the notion of "disabling all components in a region" make sense? Thanks!

Closing the issue just because there is no response from designers, is not the solution.

@tomkdgun so you're wanting to disable the overflow menu from opening at all not just single items inside of the overflow menu?

@tomkdgun so you're wanting to disable the overflow menu from opening at all not just single items inside of the overflow menu?

@aagonzales Yes, similar as button is disabled.

How would the user know what actions are inside the menu then? I'm not sure we want to allow that pattern. I think the user should open the menu and then just see actions/items themselves are disabled.

@aagonzales In our case part of screen(widget) is conditionally disabled (not active). We would like to disable all pointer events, and possibility to focus OverflowMenu button using Tab key.

This sounds like an edge case. Do you have some screen flows to better show your scenario? At the moment I'm inclined to stay this wont be incorporated into the main library, I'm not sure we want to encourage this pattern. Anything could be in a overflow menu and if a user can't open it to see what's in it seems like poor ux choices (in the general scenario of what an overflow menu is meant for).

@aagonzales We already applied workaround for this (custom CSS). You know my point. Do what you think is best.

Closing as we don't think we should encourage this pattern and has a workaround. Anybody please be sure adding thumb-up to the issue description if you believe this should be in Carbon pattern, and add any background as a comment if it's there. Thanks!


Remove asap package

The asap package (and its fork, falcor-asap) have occasionally caused issues with our build pipeline. We're not using the scheduler that relies on this package, so I'm removing it.
I kept the ASAPScheduler in the repository, in case anyone imports that file, but it simply forwards to new TimeoutScheduler(1) now. That scheduler may have slightly different behavior, but it should be similar enough for most use cases. If the asap behavior is desired, a custom scheduler can be provided to Falcor.Model.

Coverage increased (+0.007%) to 92.603% when pulling ec7c59ffdd4fbc49021b8f7000946edf489b8605 on jcranendonk:remove-asap into 66984a89d21277f83b250b0b027cc4205bdcc63f on Netflix:master.


Upstreaming group tests

FWIW, I'd support hosting https://github.com/mensbeam/mime/blob/master/tests/cases/mime-groups.json somewhere on WPT. Perhaps there's some way we can eventually make use of it in browsers.
If you want to do this you should note in the README why there is no browser framework for them.
One thought I had looking at this file is that it might be nicer to have a groups property that takes an array of groups rather have a boolean property per group.

Great. I'll prepare a patch, as well as change the format as you suggest. The current one was easier to work with while I was building out the tests, but I recognize it's not very extensible at the very least.


As a new user, I want to see command instructions so that I can refer to instructions when I forget how to use the App

The help command brings the user to the user guide, creating a static html to display the instructions might be a better option

Issue resolved at #226


miner errors

I used the CPU to run the mining program and the following error occurred. How to deal with it? Thanks
[2023-12-01T13:38:54Z WARN  karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }
[2023-12-01T13:38:54Z WARN  karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }
[2023-12-01T13:38:54Z WARN  karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }
[2023-12-01T13:38:54Z WARN  karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }

Maybe try this branch: https://github.com/karlsen-network/karlsen-miner/pull/3


Allow boolean values in bower.json file created by bower init

Hi!
While using bower init this morning, I noticed that the resulting bower.json file did not include the "private" key I had chosen a value for. It looks like the behavior of mout.lang.isEmpty() was changed in mout v0.10.0 (discussion), and Bower's dependency on mout introduced this bug, preventing bower init from being able to create a complete bower.json.
Interestingly, this buggy(?) behavior is captured in the bower test for init, where the input includes "private", but it is not in the expected output, so forgive me if this behavior is in fact intended :).
Also, I almost never write JavaScript, so please let me know if there are style/other issues to fix.
Thanks for looking!
<3 Ben

:+1:

However I think it is worth noting that it looks like with the new implementation of isEmpty, any numbers would also be considered invalid.

Yeah, I wanted to make the most narrow fix I could. Since the bower.json spec documents the expected types (Object, Array, String, Boolean), we should not have to worry about numbers.

I've added a comment to the new method referencing the allowed types and the documentation.

:+1:

@sheerun looks like you've been doing a lot of integration work on bower—is there anything I should do to get this merged?

I think we should include numbers for forward compatibility

Seems reasonable, thanks @sheerun. Pushed a new commit - I've also changed the logic to explicitly whitelist valid values, so this is easier to read and reason about.

Looks good! Thanks!

Thank you


template_dir() for MacOS

I found this directory under MacOS: /Library/User Template
open "/Library/User Template"

Does MacOS have a template directory like Windows?

Interesting – I think it would make sense to figure out whether the semantics are comparable.
I think on both Linux and Windows they act as a directory that is used to provide additional for "new file" context menus. Is it the same on macOS?

I don't think it's comparable: https://derflounder.wordpress.com/2019/10/14/the-macos-user-template-directories-have-a-new-filesystem-location-on-macos-catalina/
I#ll close this for now, but please feel free to reopen with new information!


INVITE request should include REFER as understood method in Allow header

Similarly to the issue 270, an INVITE request from unregistered UA is missing REFER in Allow header:
INVITE<EMAIL_ADDRESS>SIP/2.0
Via: SIP/2.0/WSS ws.example.com;branch=z9hG4bK3459694
Max-Forwards: 70
To<EMAIL_ADDRESS>From: "username" <sip:anonymous.9fipph@anonymous.invalid>;tag=jqcpja132o
Call-ID: 2gqlte3lmhrjb9t5lvbv
CSeq: 6621 INVITE
Contact: <sip:r794rcbd@ws.example.com;transport=ws;ob>
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY
Content-Type: application/sdp
Supported: outbound
User-Agent: SIP.js/0.7.3
Content-Length: 5277

Again, according to RFC:

All methods, including ACK and CANCEL, understood by the UA MUST be
included in the list of methods in the Allow header field, when
present.

Do you have a message handler for .on( 'refer')? I am not certain, but it may be that the Allow header dynamically adds request types as the handlers are added.

Do you have a message handler for .on( 'refer')?

I do, but it doesn't matter. The client does understand this method, therefore in must be included in Allow header.

the Allow header dynamically adds request types as the handlers are added.

This used to be the case for INVITE and MESSAGE methods, but it led to an incorrect behavior and was changed (see issue 270).


Explainer: what is an UA?

Maybe I'm gifted in stupidity, but what does the abbreviation UA refer to here?
Apart from that I guess, that SW means Service Worker in this context.

User agent, but both that and SW should indeed be spelled out and not abbreviated.

UA Local 136

https://www.google.com/url?sa=t&source=web&rct=j&url=http://ualocal136.org/&ved=0ahUKEwjryoHsoPLSAhUo7oMKHVURANkQFgihATAT&usg=AFQjCNHmSel8ewDCSa7eQqXBnZQQkL7xHQ&sig2=arGlOOJ5VW2VM5Je3MHYyw

Apologies for the spam, unfortunately I don't have the rights to delete comments. Trying to get that fixed. https://discourse.wicg.io/t/admin-rights-in-wicg-repos/2090.
Pseudo-self assigning the abbreviation issue. Will fix.

https://github.com/WICG/BackgroundSync/pull/138 - but it seems I don't have the ability to merge.

Merged!


feat: impl create series func

Fixes #1 and #3
[x] Update codebase starknet version to 2.6.3
[x] Updated Openzeppelin version to v0.12.0
[x] Refactor codebase to be compatible with Starknet 2.6.3
[x] Implement create_series function
[x] Test create_series function

Looks good! Thank you for this. I will need to refactor this code to structure the minting to be within the series data...

Looks good! Thank you for this. I will need to refactor this code to structure the minting to be within the series data...

Thank you ser🫡


Appstudio update test-component-pac-bgtm

Pipelines as Code configuration proposal

Pipelines as Code CI has failed.There was an issue validating the commit: "the webhook secret is not valid: token has expired at Sun, 25 Dec 2022 12:49:14 UTC, err: %!w()"


train special classes

Could you give me some advices on how to train the two hard sem.seg classes: Motorcyclist and Other-ground.In my experiment, They are completely close to 0.
Notice that in the pre-trained model,there also nearly 0 , as follow.

train_update : 0.00010502038594856752
train_loss : 0.35978143828302084
train_acc : 0.9487481341277788
train_iou : 0.7022054133173021
valid_loss : 1.4024676781763712
valid_acc : 0.9072582666167708
valid_iou : 0.6136875937614279
best_train_iou : 0.7011966601875725
best_val_iou : 0.6177246216099593
train_hetero : 0
unlabeled :  0.,
car :  0.9437
bicycle :0.4768
motorcycle : 0.5139
truck : 0.8114
other-vehicle : 0.4819
person : 0.7155
bicyclist : 0.8241
motorcyclist : 0.
road : 0.9459
parking : 0.3692
sidewalk : 0.8166
other-ground : 0.0103
building : 0.8843
fence : 0.5629
vegetation : 0.8482
trunk : 0.6664
terrain : 0.7131
pole : 0.6047
traffic-sign : 0.4711
valid_heteros : 0
But in your paper,the results are much better.(Motorcyclist:19.4 Other-ground:29.1)
Could you share tyour experience?

Hello!
I assume the results you are showing are the mIoU for the validation and done on the projection maps? Not the LiDAR Point Clouds?
The results on the paper are inferred for the test set (and for the entire point cloud), if you want to run for the test set you need to check SemanticKITTI webpage on how to do it (they have a codalab for that).
Best,
Tiago


Enable executing screenshot task without running instrumentation

:pushpin: References

Issue: https://github.com/Karumi/Shot/issues/49

:tophat: What is the goal?
This allows you to integrate remote service such as Firebase Test Lab with screenshot reporting.
How is it being implemented?
We provide a flag to disable instrumentation tests that run as part of screenshot task suite.
shot {
  runInstrumentationTests = false
}

User can now instead provide screenshot data in screenshots/screenshots-default folder and just call executeScreenshotTests.
How can it be tested?

Add fake screenshot data to shots-consumer/app/screenshots/screenshots-default
Disable the runInstrumentationTests flag
Run executeScreenshotTests

@Laimiux @Android-s14 thank you so much for your contribution. The PR code is just perfect. I'd add some documentation about the usage of this new parameter extension as part of the readme, but I'm going to do it by myself while preparing the next library release. Thank you so much for your contribution 👏

I forgot to mention I didn't wait for the CI build to pass because we are using bitrise for this project and something changed on the configuration of the emulator and the build has been broken for a while. Sorry for the inconveniences.


Add boilerplate CRUD APIs for canned_responses

Problem
Users have been asking for canned responses, and the schema is pretty straightforward, so let's start setting it up!
Solution
Set up the db migrations and boilerplate CRUD (create/read/update/delete) methods for a canned_responses table.
For an example of how to do this, you can probably use https://hexdocs.pm/phoenix/Mix.Tasks.Phx.Gen.Json.html (or see https://github.com/papercups-io/papercups/blob/master/docs/examples/add_conversations_api.md for some additional examples of this in action)
The schema should look something like this:

name: required/non-nullable string field that represents the "code" for the canned response

Note that this should be unique per account (i.e. there should not be two canned_response records with the same name within a single account

content: required/non-nullable text field that represents the full message of the response
account_id: required/non-nullable foreign key for accounts

An example record might look like:

name: "pricing"
content: "We have a free tier for X users! For additional pricing options, check out papercups.io/pricing"
account_id: "__SOME_ACCOUNT_UUID__"

Additional context
We can worry about the UI/UX for this later.
Testing
Please include automated tests! (A bunch of these should be autogenerated)
Questions, or need help getting started?
Feel free to ask below, or ping us on Slack :)
(You can also check out our CONTRIBUTING.md)

Hi, is this still unassigned?.
I'd like to work on this one later after my work.

@jeepers3327 I'm starting work on it now, but I don't mind if we both do and your PR is the one that goes in.

@jeepers3327 @a8t I'll assign you both for now :+1: happy to review both PRs and provide feedback 🤓


html character decoding error and a could not open document error

when i run your program and enter "ijiran" i get
[1]Ijiranaide, Nagatoro-San
[2]Please Don't Bully Me, Nagatoro Comic Anthology
there is a "'" instead of an apostrophe.
secondly when i tried to select  "Ijiranaide, Nagatoro-San" i would get "error: could not open document". but, when i opened Jujutsu Kaisen it would work. I really admire your efforts in creating a manga-cli and I would really love to see it improve!!

so to select a manga, you have to write the number

This has something to do with the links of the chapters just like #1

fixed with the lastest commit
git pull
sudo make


refactor(scaling): K8 deployment refactor

Thanks @brianosburn-intel , going to close in favor of #55


import/newline-after-import with exactCount option throws error

It appears that using the rule import/newline-after-import in conjunction with exactCount throws an error:
Value {"count":1,"considerComments":true,"exactCount":true} should NOT have additional properties.

If we remove exactCount then the error goes away.
To replicate issue, access the CodeSandbox link and open the terminal, run npm run eslint
Screenshot for context:

The option exactCount is currently unreleased:
https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md

The option exactCount is currently unreleased: https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md

Good eye @Arkellys 👌

Indeed, everywhere on github, you need to look at docs for a tagged version, not for the default branch.


Edit/Delete buttons need better context for accessibility

Project Card Edit/Delete buttons need to include the context, i.e., that it it is editing/deleting Project
Edit/Delete Subject/Badge should include the Subject/Badge name (they already include the Badge/Subject context at least)

:+1:


not supporting sans serif

I'm trying to create a simple pdf, but i have set my font fallback to sans-serif because of some reasons with naira symbols, so it's throwing an error, any chance i can get a work around?

Hey :) Could you please provide some example of your usage and the concrete error you are getting.
Since the fonts you listed are custom fonts (not a default font that is supported by flutter & the pdf package out of the box; see here, the used fonts need to be registered as explained in the README.


Replace Array.includes with Array.indexOf for node v4 support

Array.prototype.includes is not supported in Node v4.
Fixes #2178

sure! Thank you again @thymikee 🎉


Add favorites option to sidebar

Add favorites option to main app sidebar, on the same level as Notes and Trash.

Add a “favorite” parameter to NoteItem state and interface.
Show filtered view for favorites

I could give it a try!


Add polynomial functions with known Abel solutions

It would be nice to add unit tests for Gaussian functions as mentioned in PR #17 . An example of the implementation could be (but we could do something else too):

add a definition for a general Gausian under analytical.py and its Abel transform (e.g. similarly to abel.analytical.SimStep )
add a benchmark under benchmarks.py  that checks e.g. that the reconstruction should be identical to the original signal up to a scaling factor (excluding origin and  |x | >> sigma)  or some other criteria
finaly add a unit test checking that BASEX implementation passes this benchmark

At some later point, adding  a few other polynomial functions from doi:10.1016/j.sab.2005.11.009 as mentioned by  @DhrubajyotiDas would be great too.

I've coded up the polynomial function checks so it'd be easier to incorporate them into the standard unit tests. It can be found here: https://gist.github.com/DhrubajyotiDas/f8f531ca2cfa3fee6345
Note: The original citation doi:10.1016/j.sab.2005.11.009 has a few typographical errors, which I had to manually correct. In fact Case:4 in that reference is not included in the code I pasted above because I couldn't figure out where the error was.

That is nice!

Just for future reference, at some point, we could also add solutions from the Hansen & Law paper, coded by @stggh is this comment.

@rth I believe the function in this comment "Curve A" is the same as Case 3 in my linked notebook.

@DhrubajyotiDas You are right, sorry, I missed that.


Update autofill to 6.1.1

Task/Issue URL: https://app.asana.com/0/1203674907697561/1203674907697561
Autofill Release: https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/6.1.1
Description
Updates Autofill to version 6.1.1.
Autofill 6.1.1 release notes
What's Changed

Fix types for ID by @GioSensation in https://github.com/duckduckgo/duckduckgo-autofill/pull/239
Email Protection sign-up tooltip by @alistairjcbrown in https://github.com/duckduckgo/duckduckgo-autofill/pull/240
Autofill pixels by @sixers in https://github.com/duckduckgo/duckduckgo-autofill/pull/242
More minor fixes by @GioSensation in https://github.com/duckduckgo/duckduckgo-autofill/pull/244
Fix schema issue in extension repo by @GioSensation in https://github.com/duckduckgo/duckduckgo-autofill/pull/245
Remove form frontend validation by @GioSensation in https://github.com/duckduckgo/duckduckgo-autofill/pull/246

Full Changelog: https://github.com/duckduckgo/duckduckgo-autofill/compare/6.0.0...6.1.1
Steps to test
This release has been tested during autofill development. For smoke test steps see this task.

@jaceklyp Just a ping. We'd like to get this in the next release on all platforms if possible 🙂. Thanks!


Add inheritance of get/set properties.

This patch allows get/set properties (when supported by the browser) to be inherited.
New code and unit-test in class.js.

Punting on this for now because we can't guarantee uniform behavior in all our supported browsers. Might revisit this if we ever drop support for old IEs. Thanks.


Detect insert_all and friends in Rails/SkipsModelValidations

Follows https://github.com/rails/rails/commit/0cb67a6307e0850dae285120e0292b7056c05237 and https://github.com/rails/rails/commit/e6f8bfe1dc2675eedc5fa42eb8ee92504ec11240.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] If this is a new cop, consider making a corresponding update to the Rails Style Guide.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thank you for updating!


[Bug]: RuntimeError: Check 'false' failed at C:\Jenkins\workspace\private-ci\ie\build-windows-vs2019\b\repos\openvino\src\inference\src\core.cpp:117: Failed to allocate<PHONE_NUMBER>2 bytes of memory

Describe the bug
I successfully trained the PatchCore with my own dataset and save the .onnx weight, while it comes an error in the  inference procedure.
Dataset
Other (please specify in the text field below)
Model
PatchCore
Steps to reproduce the behavior
Step1: Train the model: python tools/train.py --config custom_patchcore_v2.yaml
Step2: Inference the model: python tools/inference/openvino_inference.py --config custom_patchcore_2.yaml --weights results/patchcore/Corridors/run/weights/onnx/model.onnx --metadata results/patchcore/Corridors/run/weights/onnx/metadata.json --input image2.jpg --output results/111
OS information
OS information:

OS: [e.g. Windows 10]
Python version: [e.g. 3.8.16]
Anomalib version: [e.g. 0.6.0]
PyTorch version: [e.g. 2.0.1]
use CPU
Any other relevant information: [e.g. I'm using a custom dataset]

Expected behavior
no error comes
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
dataset:
  name: Corridors
  format: folder
  path: ./datasets/Corridors
  normal_dir: normal
  abnormal_dir: null
  mask_dir: null #optional
  category: bottle
  task: classification
  normal_test_dir: null # optional
  extensions: null
  train_batch_size: 1
  eval_batch_size: 1
  inference_batch_size: 1
  num_workers: 8
  image_size: 256 # dimensions to which images are resized (mandatory)
  center_crop: null # dimensions to which images are center-cropped after resizing (optional)
  normalization: imagenet # data distribution to which the images will be normalized: [none, imagenet]
  transform_config:
    train: null
    eval: null
  test_split_mode: none # options: [from_dir, synthetic]
  test_split_ratio: 0.2 # fraction of train images held out testing (usage depends on test_split_mode)
  val_split_mode: synthetic # options: [same_as_test, from_test, synthetic]
  val_split_ratio: 0.5 # fraction of train/test images held out for validation (usage depends on val_split_mode)
  tiling:
    apply: false
    tile_size: 64
    stride: false
    remove_border_count: 0
    use_random_tiling: False
    random_tile_count: 16

model:
  name: patchcore
  backbone: wide_resnet50_2
  pre_trained: true
  layers:
    - layer2
    - layer3
  coreset_sampling_ratio: 0.1
  num_neighbors: 9
  normalization_method: min_max # options: [null, min_max, cdf]

metrics:
  image:
    - F1Score
    - AUROC
  threshold:
    method: adaptive #options: [adaptive, manual]
    manual_image: null

visualization:
  show_images: False # show images on the screen
  save_images: True # save images to the file system
  log_images: True # log images to the available loggers (if any)
  image_save_path: null # path to which images will be saved
  mode: full # options: ["full", "simple"]

project:
  seed: 42
  path: ./results

logging:
  logger: [] # options: [comet, tensorboard, wandb, csv] or combinations.
  log_graph: false # Logs the model graph to respective logger.

optimization:
  export_mode: openvino # options: torch, onnx, openvino

# PL Trainer Args. Don't add extra parameter here.
trainer:
  enable_checkpointing: true
  default_root_dir: null
  gradient_clip_val: 0
  gradient_clip_algorithm: norm
  num_nodes: 1
  devices: 1
  enable_progress_bar: true
  overfit_batches: 0.0
  track_grad_norm: -1
  check_val_every_n_epoch: 2 # Don't validate before extracting features.
  fast_dev_run: false
  accumulate_grad_batches: 1
  max_epochs: 4
  min_epochs: null
  max_steps: -1
  min_steps: null
  max_time: null
  limit_train_batches: 1.0
  limit_val_batches: 1.0
  limit_test_batches: 1.0
  limit_predict_batches: 1.0
  val_check_interval: 1.0 # Don't validate before extracting features.
  log_every_n_steps: 50
  accelerator: auto # <"cpu", "gpu", "tpu", "ipu", "hpu", "auto">
  strategy: null
  sync_batchnorm: false
  precision: 32
  enable_model_summary: true
  num_sanity_val_steps: 0
  profiler: null
  benchmark: false
  deterministic: false
  reload_dataloaders_every_n_epochs: 0
  auto_lr_find: false
  replace_sampler_ddp: true
  detect_anomaly: false
  auto_scale_batch_size: false
  plugins: null
  move_metrics_to_cpu: false
  multiple_trainloader_mode: max_size_cycle

Logs
(Anomalib_py38) E:\anomalib-main>python tools/inference/openvino_inference.py --config custom_patchcore_2.yaml --weights results/patchcore/Corridors/run/weights/openvino/model.onnx --metadata results/patch
core/Corridors/run/weights/openvino/metadata.json --input image2.jpg --output results/111
(Anomalib_py38) E:\anomalib-main>python tools/inference/openvino_inference.py --config custom_patchcore_2.yaml --weights results/patchcore/Corridors/run/weights/openvino/model.onnx --metadata results/patch
core/Corridors/run/weights/openvino/metadata.json --input image2.jpg --output results/111
Traceback (most recent call last):
  File "tools/inference/openvino_inference.py", line 98, in <module>
    infer(args)
  File "tools/inference/openvino_inference.py", line 74, in infer
    inferencer = OpenVINOInferencer(path=args.weights, metadata=args.metadata, device=args.device)
  File "D:\anaconda3\envs\Anomalib_py38\lib\site-packages\anomalib\deploy\inferencers\openvino_inferencer.py", line 49, in __init__
    self.input_blob, self.output_blob, self.model = self.load_model(path)
  File "D:\anaconda3\envs\Anomalib_py38\lib\site-packages\anomalib\deploy\inferencers\openvino_inferencer.py", line 87, in load_model
    compile_model = ie_core.compile_model(model=model, device_name=self.device, config=self.config)
  File "D:\anaconda3\envs\Anomalib_py38\lib\site-packages\openvino\runtime\ie_api.py", line 398, in compile_model
    super().compile_model(model, device_name, {} if config is None else config),
RuntimeError: Check 'false' failed at C:\Jenkins\workspace\private-ci\ie\build-windows-vs2019\b\repos\openvino\src\inference\src\core.cpp:117:
Failed to allocate<PHONE_NUMBER>2 bytes of memory

Code of Conduct

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

This might be a know issue, that is still present I believe, but with workaround possibly available in #967.

Hi @zhanghuayu-seu, as @blaz-r pointed out, this seems to be a duplicate of #967. I'm closing this one, can you please refer to that issue? Thanks!


Remove model translation loading scopes

Translations are now their own polymorphic resource, this is a start on removing the overloaded authorization scopes to load up translated content for certain models.
TODO

[ ] modify the has_many content_association model association to rely only the primary contents (this should probably come in another PR)

Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

Any chance I can get a review on this?

LGTM, on the premise that the code that has already replaced this was properly specced and already reviewed


How to create spiral poses?

Hi, kwea! The precomputed testing spheric poses are written as:
self.poses = create_spheric_poses(1.2, self.poses[:, 1, 3].mean())
self.poses = torch.FloatTensor(self.poses)

How about spiral poses? I wrote like this:
focus_depth = 3.5
radii = np.percentile(np.abs(self.poses[..., 3]), 90, axis=0)
self.poses = create_spiral_poses(radii, focus_depth)
self.poses = torch.FloatTensor(self.poses)
......
rays_o, rays_d = get_rays(dataset.directions.cuda(), dataset.poses[idx].cuda())
near, far = 0, 1
rays_o, rays_d = get_ndc_rays(dataset.img_wh[1], dataset.img_wh[0], dataset.focal_length, 1.0, rays_o, rays_d)
results = render(model, rays_o, rays_d,.....)

But the rendering results are strange, thanks for your help!

I haven't tried spiral pose yet, but I think in this case you don't need get_ndc_rays, just
rays_o, rays_d = get_rays(dataset.directions.cuda(), dataset.poses[idx].cuda())
results = render(model, rays_o, rays_d,.....)

this would work in my opinion. Let me know if it works

Thanks for your reply! I did it as you said, the rendering results (fern) are:
https://user-images.githubusercontent.com/57486569/203036763-cf6dce63-c34a-4a24-89c7-99d690013eb0.mp4
I also tried to use the val poses from validation dataset:
rays_o, rays_d = get_rays(dataset.directions.cuda(), dataset[img_idx]['pose'].cuda())

It works well. Maybe it is an accident with the created poses, I'm checking!

Maybe you need to change focus_depth to a smaller value. I think the video is spiral path, just it's moving too inside the scene, so decrease focus_depth should work

Decreasing focus_depth does not work while it was scaled to 3.0 or 2.5, Maybe I got wrong self.poses,
radii = np.percentile(np.abs(self.poses[..., 3]), 90, axis=0)
self.poses = create_spiral_poses(radii, focus_depth)

No idea how to modify the code, THANKS for your help!

Could you please implement create_spiral_poses method for NGP? It seems directly copying this method in nerf_pl is not work. Grateful for your help!

I simply re-implemented the spiral render path for LLFF datasets. You can view my modifications here. However, the render paths generated by my code are different from the ones in the original NeRF.


Data as interface in outputwriter

What this PR does / why we need it
    Store outputwriter data as 2d array of interfaces

    ... instead of 2d array of strings done prior to this commit.

    AddRow accepts a variatic list of interface{}s, yet immediately converts
    each of them to their golang string representation.

    This change retains these values as interface{}'s instead.
    The idea is to delay any necessary conversion to the point when we are
    actually rendering the values.

    This is particular useful when rendering container values like
    maps/lists in their valid YAML/JSON forms.

Which issue(s) this PR fixes
Fixes #102
Describe testing done for PR
make test

Release note

OutputWriter's JSON/YAML outputs non-string tabular fields correctly

Additional information
Special notes for your reviewer

force merge will linter fix is still getting worked on.


fix: set chalk.level manually to prevent FORCE_COLOR leaks

Summary

Fixes #14391.

The changes are breaking as the checks on e299a06 clearly demonstrate: tests are broken when testing Jest itself.

Not quite sure what exactly I did in 356d99c in order to fix the broken tests. Extra attention from reviewers is required.

The original issue is still not resolved. I might come back to this PR later to add tests and have a look at what else I can improve.


[Feedback] Collect feedback and identify areas for improvement for Falco 0.37 wrt to new rules maturity framework and rules style guide

Motivation
Collect feedback and identify areas for improvement for Falco 0.37 wrt the new rules maturity framework and rules style guide to drive future improvements, as the first version of something new typically has great potential for improvement.
References:

https://falco.org/docs/rules/style-guide/
https://github.com/falcosecurity/rules/blob/main/CONTRIBUTING.md#rules-maturity-framework

@falcosecurity/falco-maintainers @falcosecurity/rules-maintainers

Instead of exe_flags=%evt.arg.flags change to flags=%evt.arg.flags @loresuso called this out.
We keep adding findings and then address them together.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Cross-linking this issue https://github.com/falcosecurity/rules/issues/214

And https://github.com/falcosecurity/rules/issues/213

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Mark as completed. Adopters could open regular issues in the future.


Upgrade instructions for nice new Citus packages

I have not yet tested these instructions. Planning to test like this

For fresh instances of Debian and CentOS with Postgres 9.5

Install postgresql-9.5-citus-5.1
Upgrade to postgresql-9.5-citus-5.2
Upgrade to postgresql-9.6-citus-6.0
Upgrade to Postgres 9.6 (a bit of chicken and egg with the previous item)

Fixes #213

@jasonmp85 I'm attempting to test on Ubuntu and having trouble installing older packages. I want to install Citus 5.1, then upgrade to 5.2 then upgrade to 6.0.
curl https://install.citusdata.com/community/deb.sh | sudo bash
sudo apt-get -y install postgresql-9.5-citus-5.1

# E: Unable to locate package postgresql-9.5-citus-5.1

I see likely packages in https://packagecloud.io/app/citusdata/community/search?q=citus&filter=debs - what do I have to do to install an older version with a new style package?

I don't think we've updated older packages to the new naming scheme. You'll
probably want to use specific version qualifiers (Something like this: sudo
apt-get -y install postgresql-9.5-citus=5.2.1.citus-1)
On Wed, Feb 8, 2017 at 5:01 PM, Joe Nelson<EMAIL_ADDRESS>wrote:

@jasonmp85 https://github.com/jasonmp85 I'm attempting to test on
Ubuntu and having trouble installing older packages. I want to install
Citus 5.1, then upgrade to 5.2 then upgrade to 6.0.
curl https://install.citusdata.com/community/deb.sh | sudo bash
sudo apt-get -y install postgresql-9.5-citus-5.1
E: Unable to locate package postgresql-9.5-citus-5.1
I see likely packages in https://packagecloud.io/app/
citusdata/community/search?q=citus&filter=debs - what do I have to do to
install an older version with a new style package?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/citusdata/citus_docs/pull/276#issuecomment-278514105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACeeCwpVyhxqv5rNalIQ3n7mIkLkgPuNks5ramWGgaJpZM4L7aH4
.

--
Sumedh Pathak
Co-founder and VP Engineering | Citus Data |<PHONE_NUMBER>
Elastically scalable PostgreSQL as a service.
https://www.citusdata.com/blog/2016/10/03/designing-your-saas-database-for-high-scalability/
Learn how CloudFlare handles billions of events in real-time.
https://blog.cloudflare.com/scaling-out-postgresql-for-cloudflare-analytics-using-citusdb/

Ubuntu tests complete.
The 6.1 packages are ready and I tested doing a minor bump from 6.0 -> 6.1. Works great.
Also tested installing from un-named package, dist upgrading to named 6.0 package, doing the major upgrade bump, then doing a database upgrade.
sudo apt-get update
sudo apt-get -y install curl sudo vim

curl https://install.citusdata.com/community/deb.sh | sudo bash
apt-get -y install postgresql-9.5-citus=5.0.1-1

sudo pg_conftool 9.5 main set shared_preload_libraries citus
sudo pg_conftool 9.5 main set listen_addresses '*'

sudo service postgresql restart
sudo -i -u postgres psql -c "CREATE EXTENSION citus;"

sudo apt-get -y dist-upgrade

sudo service postgresql restart
sudo -i -u postgres psql -c "ALTER EXTENSION citus UPDATE;"

# Just to verify
sudo -i -u postgres psql -c "\dx"

# Install postgres 9.6 alongside 9.5
sudo apt-get -y install postgresql-9.6-citus-6.0

sudo -i -u postgres psql
	# run metadata backup script

sudo pg_conftool 9.6 main set shared_preload_libraries citus
sudo pg_conftool 9.6 main set listen_addresses '*'

sudo service postgresql stop

su - postgres
export PATH=$PATH:/usr/lib/postgresql/9.6/bin

export OLD_PG_PATH=/usr/lib/postgresql/9.5
export NEW_PG_PATH=/usr/lib/postgresql/9.6
export OLD_PG_DATA=/var/lib/postgresql/9.5/main
export NEW_PG_DATA=/var/lib/postgresql/9.6/main

pg_upgrade -b $OLD_PG_PATH/bin/ -B $NEW_PG_PATH/bin/ \
           -d $OLD_PG_DATA -D $NEW_PG_DATA \
           -o ' -c config_file=/etc/postgresql/9.5/main/postgresql.conf' \
           -O ' -c config_file=/etc/postgresql/9.6/main/postgresql.conf' \
           --check

pg_upgrade -b $OLD_PG_PATH/bin/ -B $NEW_PG_PATH/bin/ \
           -d $OLD_PG_DATA -D $NEW_PG_DATA \
           -o ' -c config_file=/etc/postgresql/9.5/main/postgresql.conf' \
           -O ' -c config_file=/etc/postgresql/9.6/main/postgresql.conf'

# leave the postgres user
exit

sudo service postgresql start 9.6

sudo -i -u postgres psql -p 5433
	# Run restore script
	# drop temp, restart seqs, register triggers

Note that Ubuntu splits the location of postgres config files from the rest of the database cluster, so pg_upgrade requires the extra ` -o ' -c config_file=...' option. Can probably keep the docs simplified though?

Having trouble testing a major upgrade from 5 to 6 on CentOS 7. I want this to install citus 5, but it installs 6:
curl https://install.citusdata.com/community/rpm.sh | sudo bash

sudo yum -y install https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-3.noarch.rpm
sudo yum -y install citus_95-5.2.2.citus-1.el7.centos.x86_64
sudo /usr/pgsql-9.5/bin/postgresql95-setup initdb
echo "shared_preload_libraries = 'citus'" | sudo tee -a /var/lib/pgsql/9.5/data/postgresql.conf
sudo service postgresql-9.5 restart
sudo -i -u postgres psql -c "CREATE EXTENSION citus;"
sudo -i -u postgres psql -c "\dx"

# still installs citus 6.0-18

Note that Ubuntu splits the location of postgres config files from the rest of the database cluster, so pg_upgrade requires the extra ` -o ' -c config_file=...' option.

Hm… given all of Ubuntu/Debian's nice wrappers, it seems odd that this verbosity is required. Is there not some sort of pg_upgrade wrapper in postgresql-common that'll auto-provide all the Debian paths for you?

Can you try providing an --exclude citus60_96 flag to the yum install command when you want to install any version older than 6.0? I'm assuming your rpmdb knows about the Obsoletes directive on the citus60_96 and it's auto-following to that.
Quoth my email to @fdr from last night:

I tried Obsoletes and am fine with it. You’re right that a blind yum install will not permit downgrading to a version prior to the Obsoletes, though there are two workarounds…

I could limit the Obsoletes so it only applies to 6.0.0, i.e. citus_96-6.0.0 is obsoleted by citus60_96. Since they’re exactly the same code, permitting a downgrade from the latter to the former doesn’t seem that important. I believe limiting the Obsoletes line in this way might still permit installing e.g. 5.2.0 easily, though it’s all sort of silly because this change is to make yum update safer, and it’ll climb the latter past 5.2.0 all the way to 6.0.0 to the new naming scheme anyhow.

If there are really problems, passing --exclude <old_pkg_name> appears to skip the Obsoletes checking:
yum swap citus60_96 citus_96-6.0.0.citus
Package citus_96-6.0.0.citus-1.el7.centos.x86_64 is obsoleted by citus60_96-6.0.1.citus-2.el7.centos.x86_64 which is already installed

yum swap --exclude citus60_96 citus60_96 citus_96-6.0.0.citus
Resolving Dependencies
--> Running transaction check
---> Package citus60_96.x86_64 0:6.0.1.citus-2.el7.centos will be erased
---> Package citus_96.x86_64 0:6.0.0.citus-1.el7.centos will be installed
--> Finished Dependency Resolution

Since the point of introducing the 6.0 thing is mostly to get new users on the latest naming scheme, I’m OK with using Obsoletes. In case I wasn’t clear before, the Obsoletes is only for the citus_96 -> citus60_96 transition, all subsequent packages will NOT have an Obsoletes entry, just the initial citus60_96 package. citus61_96 wouldn’t obsolete anything, it’s a brand new package that just conflicts with other citus_96-Provides-ing packages.

Tested the full upgrade on CentOS 7 successfully as well.

🚢


Update to<EMAIL_ADDRESS>

We are getting warnings when using this action that the set-output commands via standard out have been deprecated.  The release note makes it sound like for actions using actions/core, the only action required is to update to v1.10.0.

The package actions/core was updated to the latest version with https://github.com/ScaCap/action-surefire-report/pull/101. A marketplace release will come shortly.
Thanks for the heads-up and sorry for the delay!


Prune unreachable bootstrap nodes

Also fix a bug affecting gateway connections. Previously, the gateway would try to ping the remote address during the connection protocol. The dial timeout is 2 minutes, so the peer can appear unresponsive for up to 2 minutes before RPCs start succeeding. This seems to confuse muxado, leading to dropped connections. When I scanned the bootstrap list, only pre-v1.0.3 peers were consistently reachable. (The ping was introduced in v1.0.3.) However, it is also clearly possible to successfully connect to (and accept connections from) nodes of any version. So it's unclear what exactly causes the failure.

I've been seeing this NDF a lot more frequently lately:
--- FAIL: TestInitialBlockchainDownloadDoneRules (6.62s)
	synchronize_ibd_test.go:415: threadedInitialBlockchainDownload never finished with 2 synced peers and 1 non-synced peer

probably worth investigating

Was just looking that. I've added it to my notes.

it's seeming not an NDF at this point, might need to be fixed as a part of this PR.


going around the direct modification of mfem vector class

With the suggested changes, we can skip the step of copying vector.{cpp,hpp} to mfem/linalg to build Laghost, and Laghost's test in Laghost/test runs without any problem.
Caveats:

No quantitative benchmark conducted.
It is unknown at this point whether the other methods, Signcopy and Multvv, can be similarly replaced.

FYI, introducing Signcopy and Multvv are for CUDA calculation. There was memory leak when I used gridfunction-wise for loop.


UUID in the Japanese-localized docs is wrong

There is an extra one digit in the UUID in the Japanese-localized docs below. I suggest we remove this.
https://docs.microsoft.com/ja-jp/windows/client-management/mdm/policy-csp-bluetooth#servicesallowedlist-usage-guide

This is the original article.
https://docs.microsoft.com/en-us/windows/client-management/mdm/policy-csp-bluetooth#servicesallowedlist-usage-guide

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: 9596a57e-365e-2809-1f8d-8aebbda5bc36
Version Independent ID: 4a287709-2466-93eb-cc2f-9f7566277abb
Content: Policy CSP - Bluetooth - Windows Client Management
Content Source: windows/client-management/mdm/policy-csp-bluetooth.md
Product: w10
Technology: windows
GitHub Login: @ManikaDhiman
Microsoft Alias: dansimp

@ManikaDhiman , I could not able to edit the Japanese document.

Hi @TinaMcN! Can you please take a look at this issue? Thanks!

@tayasuta thanks for reporting the issue, I sent the article to be human translated which will hopefully fix the problem, it should be completed within a week.

@tayasuta the issue has been fixed.  Please close if it looks ok to you now.  Thanks again for reporting it.
https://docs.microsoft.com/ja-jp/windows/client-management/mdm/policy-csp-bluetooth#servicesallowedlist-usage-guide

@TinaMcN It looks good to me.  I'll close this issue. Thank you!


Improve social card

I don't think the social card is great. I've created one with DALL E which I think works better.
Prompt
Background:
Use a friendly, pastel-colored background to give the card a warm and inviting feel. You could use shades of blue and green to evoke a sense of accessibility and inclusivity.
Title:
At the top display the title "Panel Chat Examples"
Image:
In the center of the card, place a cute chat bubble. Inside the chat bubble, display a friendly chat prompt.
Call to Action (CTA):
Include a button with a contrasting color that stands out. The text on the button/link should say, "Explore Now."
Additional Design Elements:
You can add small, subtle illustrations or icons related to chat or coding around the card to enhance its visual appeal and reinforce the project's theme.
Remember to maintain a clean and uncluttered design, keeping the focus on the chat prompt and the call to action. Once you have this description, you can work with a graphic designer or use a design tool like Canva to create the social media card.

Seems like it's very tall vertically. Should social cards be that tall?

They can be 1:1 or 2:1

Do we need to update / delete scripts/social_card.py?

Do we need to update / delete scripts/social_card.py?

Deleted


Lines vignette

Vignette to demonstrate line testing capabilities in the base package in matplotcheck.
This vignette seems a bit sparse. I left out assert_xydata as it was demonstrrated in the plot_testing_basics vignette, but I could add it in here as a reminder if we wanted to! Also: I could add in x/y lims assertions in this vignette if we wanted to. I wasn't sure how focused we wanted this vignette to be, so I stuck to the basics and I have tests ready to add if we decide we want more!

@lwasser so this vignette is failing due to my use of seaborn to plot the regression line. Seaborn is not part of the CI environment. Do you want me to figure out a way to plot this without seaborn, or would we be able to add it to the environment? I know we've talked about not adding anymore packages to this environment, but thought I'd see what your opinion was. Thanks!

@nkorinek ahhhhh we can add seaborn to our docs envt. i'm not sure if you can do it here.
https://github.com/earthlab/matplotcheck/blob/master/readthedocs.yml
the easiest would be to use something else. is that an option tho? some tools like geopandas do have a yml file just for read the docs.

@nkorinek let's keep this simple. let's add seaborn as a dev-requirements item in the list of tools

For our documentation, we have verbally discussed changes that will be completed by nkorinek, including the addition of more explanation about the object type that is being tested (e.g. a story about what kind of data is being used and what the test is actually looking for) both at the top of the notebook and in the comments, and a new section at the bottom of the vignette for additional options when using a Jupyter Notebook implementation.

@jlpalomino I'm hunting down a few issues on this branch, I'll ping you when they're ironed out

@jlpalomino I fixed the bugs I was seeing. CI is failing due to an unrelated issue and this vignette could use a review now!

@lwasser this vignette has been updated with the changes suggested by @jlpalomino

@jlpalomino fixes are in!

@jlpalomino title changed!

Update: this now relies on #274 to be merged first

@lwasser updated this vignette as per our discussion earlier today. Two important things to note:

I ran into a bug with assert_xydata() that I've never seen before. It was failing two identical numpy arrays saying that there shapes didn't match. One has a shape of (15, 1) while the other had a shape of (15,). So they were the same array, it's just that one was nested inside the other. I fixed this by adding .flatten() to the end of the checks to make all of the data checks one dimensional. This will still fail data that doesn't match in length, but fixes this issue. Hope that's ok!

I know we discussed check-coverage a lot, however, I found an instance where I think the check should be automatic. Not to say we should take the argument out of the users hands, but when you want to check a regression line and a onetoone line at the same time, it causes issues. You can't set the check_coverage to false, as it won't check the coverage of the regression line. However, if you leave it as true than the onetoone line will make the test fail. SO. I think it should be set to `False automatically if the line is a onetoone, but we let users still decide if they want to check coverage on the regression line. Let me know if that makes sense!


[GHSA-mc36-5m36-hjh5] Data races in slock

Updates

Affected products
References

Comments
Fix is been provided check fix commit

Fix Commit : https://github.com/BrokenLamp/slock-rs/commit/719df35f55b6cab4ca2a7f840347a06ecbd8aac6


Track and release 90% of collections with > 500k cells

Tracking table available here.

Document should be finalized the week of Dec 19th as one more iteration of preprint tracking still needs to be performed.


Media Sync Support

Tasks
This issue is a WIP and requires deeper research/investigation/design work.
References

https://github.com/vidstack/player/blob/main/docs/architecture/architecture.md#media-sync

Outdated issue.


FHIR OSS Server deployed successfully but the server didn't work.

The deployment (R4) was successful through the portal, but the server returned the error below in Postman when querying the meta. The same error occurred whether or not the authentication was enabled or disabled.
{
"resourceType": "OperationOutcome",
"id": "e994affb-5221-447f-adb1-e138096f5856",
"issue": [
{
"severity": "fatal",
"code": "exception",
"diagnostics": "There was an error processing your request."
}
]
}

@zxue based on the email with Brendan I'm going to close this as resolved. Let me know if you have other questions!


MultipleKernelRidgeCV deltas shared over all targets?

Is it somehow possible to have the deltas of the model optimized for best fitting all targets when using Multiple-kernel ridge with scikit-learn API?
Meaning that the deltas_ output (or another output) of MultipleKernelRidgeCV would be:
array of shape (n_kernels, 1)         Best log kernel weights for all targets.
instead of
array of shape (n_kernels, n_targets)         Best log kernel weights for each target.
I still have several targets but would be interested in the "shared over all targets" result.
I tried using the parameter local_alpha = False in the solver_params of the MultipleKernelRidgeCV  but I don't find any optimized alpha or delta in the output model (and there is no more best_alphas_ or deltas_ either).
Thank you in advance for your help :)

I agree optimizing a single delta for all targets would be useful.
It is currently not implemented, but I will add it to the todo list.

Actually I just check, and using local_alpha=False does select the same alpha/delta for all targets, as found in model.best_alphas_ and model.detlas_. My previous answer assumed that it only shares alphas and not deltas, but it does share both. (The option is only available with solver="random_search" though.)

there is no more best_alphas_ or deltas_ either

Are you sure you fitted the model the second time?


Add customizability to commons components

Expressing brand is important for many apps, so we can help in this department.

Sheet itself

Background (color, drawable, etc)

Title text

Font
Color
Custom title view?

Lists

Item selector
Divider color
Category headers

Font
Text color

Content rows

Font
Text color

Grids

Item selector

Default to borderless ripple on 5.0+, allow option to force normal square selector for all

Content cells

Font
Text color

Number of columns

The following are possible others, but have explicit specs in the Material Design guidelines:

Sheet elevation
Text sizes
Icon sizes

how do i use? i want between Item and item add divider.


Station for Android

Do you plan to support Android as well?
would be useful and a "nice to have"

Sadly no, for the following reasons reasons:

Station is in maintenance mode, mostly entirely thanks to @viktor44
Current architecture is not compatible with mobile Operationg Systems. It would mean a 95% rewrite of the app to support mobile platforms (which took several years to develop by a team of 4 to 6 people)


Code coverage text summary available?

Was finally able to get the code coverage report working. 🎉
Wondering if there is a way to spit out a coverage percent on the console so I can keep an eye on it?
Took a look at the stuff in the onEnd hook, but didn't see anything useful.

Good question. I will looking into it, Im considering adding one more report like v8-json

Please try version<EMAIL_ADDRESS>one more option onEnd added for coverage
// playwright.config.js
module.exports = {
    reporter: [
        ['list'],
        ['monocart-reporter', {
            name: "My Test Report",
            outputFile: './test-results/report.html',
            coverage: {
                onEnd: (coverageResults) => {
                    console.log(coverageResults.summary);
                }
            }
        }]
    ]
};

pretty print with console-grid
// playwright.config.js
const CG = require('console-grid');
module.exports = {
    reporter: [
        ['list'],
        ['monocart-reporter', {
            name: "My Test Report",
            outputFile: './test-results/report.html',
            coverage: {
                onEnd: (coverageResults) => {
                    const summary = coverageResults.summary;
                    CG({
                        columns: ['name', 'value'],
                        rows: Object.keys(summary).map((k) => [k, summary[k]])
                    });
                }
            }
        }]
    ]
};

┌───────────┬────────┐
│ name      │ value  │
├───────────┼────────┤
│ total     │ 2299   │
│ covered   │ 1796   │
│ uncovered │ 503    │
│ pct       │ 78.12  │
│ status    │ medium │
└───────────┴────────┘

Awesome, thanks for adding this!
I went a little nuts with custom formatting this morning. 🤣
Had to merge the results so I could put them in the same table...but pretty easy with some Promise hijinks.
I did have to reproduce your showTestResults function because there was no way to intercept the data before it got displayed, so maybe if you can think of a way to make that easier? Possibly a 'rows' transformer that gets called before you pass the results to console-grid?
// Can be replaced with Promise.withResolvers when it lands in Node
const logSync = PromiseWithResolvers<CoverageResults>()

const mcOptions: MonocartReporterOptions = {
  name: 'Monocart Test Report',
  outputFile: './test/results/report.html',
  logging: 'off',
  coverage: {
    sourceFilter: sourcePath => sourcePath.search(/^src\/app\/.+\.ts$/) !== -1,
    onEnd: coverageResults => {
      logSync.resolve(coverageResults)
      return Promise.resolve()
    }
  },
  onEnd: async reportData => {
    const coverageResults = await logSync.promise
    showTestResults(reportData, coverageResults)
  }
}

Merging the results is good idea. Please update version to<EMAIL_ADDRESS>Here is the ordering:
1, coverage onEnd
2, test onEnd
3, show test results
Refer to following codes:
import EC from 'eight-colors';
let coverageResults;
export default {

    reporter: [
        ['list'],
        ['monocart-reporter', {
            name: 'My Test Report with Coverage',
            outputFile: 'docs/coverage/index.html',

            // do NOT turn off all logs
            logging: 'info',

            coverage: {
                onEnd: (_coverageResults) => {
                    coverageResults = _coverageResults;
                }
            },

            onEnd: (reportData) => {
                if (coverageResults) {
                    const { pct, status } = coverageResults.summary;
                    let value = `${status} (${pct}%)`;
                    if (status === 'low') {
                        value = EC.red(value);
                    } else if (status === 'medium') {
                        value = EC.yellow(value);
                    }
                    reportData.summary.coverage = {
                        name: 'Coverage',
                        value
                    };
                }

            }
        }]
    ]
};

┌───────────────┬─────────────────────┐
│ ├ Tests       │ 5                   │
│ │ ├ Passed    │ 5 (100.0%)          │
│ │ ├ Flaky     │ 0 (0.0%)            │
│ │ ├ Skipped   │ 0 (0.0%)            │
│ │ └ Failed    │ 0 (0.0%)            │
│ ├ Steps       │ 75                  │
│ ├ Suites      │ 1                   │
│ │ ├ Projects  │ 1                   │
│ │ ├ Files     │ 1                   │
│ │ ├ Describes │ 0                   │
│ │ └ Shards    │ 0                   │
│ ├ Retries     │ 0                   │
│ ├ Errors      │ 0                   │
│ ├ Logs        │ 5                   │
│ ├ Attachments │ 5                   │
│ ├ Artifacts   │ 6                   │
│ ├ Coverage    │ low (35.66%)        │ <==== print in red
│ ├ Playwright  │ v1.40.1             │
│ ├ Date        │ 2023/12/13 10:57:41 │
│ └ Duration    │ 12.9s               │
└───────────────┴─────────────────────┘

Yes that works perfect, thanks!


picking up battery bank do not clear panel connections

Describe the bug
When you pick up battery bank and move it to new location and place it down, all previous solar panels that where connected to battery bank are still connected
To Reproduce

have working ISA system
remove batteries from bank
pick up battery bank
4, place battery bank (in my situation it was 4 map cells away, nowhere near old location)

Expected behavior
when picking up battery bank all connections to solar panels should be cleared.
Screenshots
m/a

Also, when picking up solar panel it seems to de-registered it from power bank, but after placing it back the connect function is somehow broken - timed action is instant but it register to new power bank.

Do you have any mods that affect the ISMoveablesAction perform?

will try to test this in isolated game play latter toda.
re-version, I'm using steam version (https://steamcommunity.com/sharedfiles/filedetails/?id=2623458493) so if it's not the recent one, is there other steam upload I shall use or github is the best to go?

OK, using GitHub version does fix those problems.


add observer on pump deactivated to initialize pump status

This resolves Issue Home View shows "No Pod" or "Signal Loss" despite insulin delivery system removal
#283
Tested Omnipod and Medtronics on Simulator

Merging with two approvals
Great job, @kskandis!

Testing after merge for completeness.
Status

Success for Pods
Success for MDT

Configuration

iPhone SE iOS 17.5.1
Trio dev, commit 9654d70a

Testing

Add Omnipod DASH

Deactivate pod and see No Pod on main screen
Switch to other delivery and see Add pump on screen

Add Medtronic pump, succeeds

Delete Medtronic pump and see Add pump on screen.


Work towards /event page launch 🚀

Designated branch: launch/events-route

[x] We need a button on either side to increment the scroll-offset slightly in its respective direction (https://github.com/EthanThatOneKid/acmcsuf.com/commit/ab993e7c07c12a459a9fbac8f8e7035b5d2dec4e).
[x] We need to make it more mobile-friendly, so let's add some media queries.
[x] Create a drag gesture/interaction to increment the scroll-offset smoothly. (https://github.com/EthanThatOneKid/acmcsuf.com/pull/91/commits/1bf4961b34369e20e8c27f782bf027a283bcb807)
[x] Automatically scroll to event with the URL's fragment (https://github.com/EthanThatOneKid/acmcsuf.com/commit/910f4c172c43b700757534aed37edbed33087866).
[x] Hide the scrollbar (https://github.com/EthanThatOneKid/acmcsuf.com/commit/ab993e7c07c12a459a9fbac8f8e7035b5d2dec4e).
[x] Fade the horizontal edges of the carousel to the background of the site (https://github.com/EthanThatOneKid/acmcsuf.com/commit/ab993e7c07c12a459a9fbac8f8e7035b5d2dec4e).
[x] Eliminate bugs on the /events route.

I accidentally merged the old pull request that we were working on (#91) a bit early. We will continue this effort in a new branch, https://github.com/EthanThatOneKid/acmcsuf.com/tree/launch/events-route.

Closed by PR #104 🍾


Global DS with Ember Data 2.3

The default model unit tests in a new Ember project with Ember Data 2.3...
ember new testproject
ember g model post
ember test

...will fail with...
Promise rejected before it exists: DS is not defined@ 72 ms
Source:
    ReferenceError: DS is not defined at Klass.setupModel (http://localhost:7357/assets/test-support.js:6807:26)

...which points to https://github.com/switchfly/ember-test-helpers/blob/master/lib/ember-test-helpers/test-module-for-model.js#L23
I'm posting it here because this is where the exception points to, but I'm not sure if this issue should be resolved on the Ember Data, Shim or CLI, etc. level.

I think this should be fixed with #138...

Great, thanks!

Also having this issue.

Seems to be resolved in Ember-CLI 2.3 (with ED 2.3.3 and Ember 2.3)