Parallel verbose fixes

This PR adds checks to see if verbose is True before printing messages about scattering EntitySets to dask workers or persisting them on the scheduler.  It also upgrades the dask and distributed package versions.

Codecov Report

Merging #282 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #282      +/-   ##
==========================================
+ Coverage   94.44%   94.45%   +<.01%
==========================================
  Files          71       71
  Lines        7704     7698       -6
==========================================
- Hits         7276     7271       -5
+ Misses        428      427       -1

Impacted Files
Coverage Δ

...computational_backends/calculate_feature_matrix.py
96.95% <ø> (-0.08%)
:arrow_down:

featuretools/utils/gen_utils.py
70.58% <0%> (+1.96%)
:arrow_up:

Continue to review full report at Codecov.

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

Looks good to me


[NNBD] Type promotion via flow analysis fails in nested loops

The following code:
int foo(int? arg) {
  arg = 0;
  while (true) {
    while (true) {
      arg++;
    }
  }
}

produces this error:
  error • The method '+' can't be unconditionally invoked because the receiver can be 'null'. • test.dart:5:7 • unchecked_use_of_nullable_value

Despite the fact that arg is always provably non-null by the point the ++ happens.

Yes, this is a known limitation of flow analysis.  We deliberately decided to make the algorithm work in a single pass through the source code (with limited look-ahead to find writes inside loops) rather than iterate to a fixed point.  So when flow analysis reaches the top of the first while loop, it sees that the loop contains a write to arg, but it doesn't yet know the type of the value written to arg.  So it makes the conservative assumption that on any future iteration of the loop, arg might be null.

For better or for worse, NNBD makes flow analysis a really substantial part of the developer experience of the language. In order to write correct code, developers now need to have a mental model of how the analyzer will track nullability. Roughly speaking, the intuitive model is:

Once a variable is unconditionally assigned to a non-nullable type (or assigned in both branches of an if block etc), all references afterwards treat it as non-nullable (until it's assigned to a nullable type again).

Whenever the actual behavior breaks from this model, it causes developer frustration and a need to do elaborate workarounds. It makes the substantial value provided by NNBD feel like a chore rather than a boon. This is particularly true because TypeScript—by far the most popular language with a similar nullability model, and thus a source of user expectations—does handle cases like this as expected. As such, I strongly encourage you to rethink the simplicity of the flow analysis model to allow it to better match developers' intuitive understanding of how it "should" work.


I am having difficulty to run flutter. I tried to change in  build.gradle but still the error.

Error running Gradle:
Exit code 1 from: C:\Users\i_m_t\AndroidStudioProjects\flutter_app\android\gradlew.bat app:properties:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

Where:
Build file 'C:\Users\i_m_t\AndroidStudioProjects\flutter_app\android\app\build.gradle' line: 25

What went wrong:
A problem occurred evaluating project ':app'.

Could not resolve all artifacts for configuration 'classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 8s
Finished with error: Please review your Gradle project setup in the android/ folder.``
C:\Users\i_m_t>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 10.0.17134.345], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[√] Android Studio (version 3.2)
[√] Connected devices (1 available)
• No issues found!
C:\Users\i_m_t>flutter doctor -v
[√] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 10.0.17134.345], locale en-US)
• Flutter version 0.9.4 at C:\flutter
• Framework revision f37c235c32 (5 weeks ago), 2018-09-25 17:45:40 -0400
• Engine revision 74625aed32
• Dart version 2.1.0-dev.5.0.flutter-a2eb050044
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at C:\Users\i_m_t\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Users\i_m_t\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[√] Android Studio (version 3.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 29.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
• No issues found!
buildscript {
repositories {
google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
}

Which gradle did you change?
You need to update your flutter.gradle underneath
flutter/packages/flutter_tools/gradle/flutter.gradle

and change your buildscript as you did.
buildscript {
    repositories {
        google()
        jcenter()
        maven {
            url 'https://dl.google.com/dl/android/maven2'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'
    }
}

Which gradle did you change?
You need to update your flutter.gradle underneath
flutter/packages/flutter_tools/gradle/flutter.gradle

and change your buildscript as you did.
buildscript {
    repositories {
        google()
        jcenter()
        maven {
            url 'https://dl.google.com/dl/android/maven2'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'
    }
}

Thanks bro, i did change that in C:\Users\i_m_t\AndroidStudioProjects\flutter_app\android\build.gradle
now  i realize the change should be in

flutter/packages/flutter_tools/gradle/flutter.gradle

hjgjhbg

Still getting the same error

I can not find the flutter.gradle file.

@bowtiedalien Run flutter doctor to know where is %flutter_root%. For example in my case it's in Flutter version 1.9.1+hotfix.2 at C:\DevTools\flutter.
Thus, the flutter.gradle will be in C:\DevTools\flutter\packages\flutter_tools\gradle\ folder.

i still didnt get any change after i changed my buildscript in the flutter.gradle file


Quoted CSS values get HTML-escaped

Browser Type/Version: Chrome 50.0
Operating System: OS X
Issue Description:
Quoted values in inline

Rendered HTML:

Looking into this I'm really not sure what's happening. The code being injected into the page is fine and not "escaped" but upon rendering it, it looks like React is escaping for some reason. It seems to only be within style tags  as well (I tested it on some other tags). Worse yet, it's not consistent. Occasionally when testing it would start rendering fine with actual quotes and fine randomly jump back.
I'll leave this open, but it seems like a really weird bug with a pretty low impact on the general user. I'm hoping someone can help me out and maybe provide a bit of insight on what's happening.

Workaround:

The linebreak is important.


Using AMD Fluid Motion Frames

Hello ! Thanks a lot for your work.
I like using the new AMD feature on my games, which is basically the Nvidia frame generation but for AMD. It allows me to play at 120fps without a lot of power usage from my GPU.
However, as HunterPie adds an overlay, it breaks the feature for MHW. Even toggling off the overlay doesn't help.
Do you have some knowledge on that kind of feature and are you able to provide a solution ? Thank you

Hey! I'm unfamiliar with AMD Fluid Motion, but WPF (the UI framework used for HunterPie's client) has some issues with frame-related features so it wouldn't surprise me if the issue is within WPF's core itself, which in that case I can't do much about it.


PSS rego issues

List of issues with rule/kubernetes/policies/pss:
baseline vs https://kubernetes.io/docs/concepts/security/pod-security-standards/#baseline

[ ] Missing: rule for windowsOptions.hostProcess
[ ] Missing: baseline rule for seccomp profile: seccompProfile.type must not be explicitly set to Unconfined (but may be undefined)

restricted vs https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted

[x] Bug: #668 volume type csi should be allowed
[ ] Missing: check runAsUser != 0, though there is a general rule that checks runAsUser > 10000
[ ] Extraneous: pss/restricted contains a rule for runAsGroup that is not specified in doc
[ ] Missing: check for explicit seccompProfile type. The doc says that the absence of a seccomp profile type is prohibited, but the rego rule does not deny it
[ ] Missing: check that containers drop ALL capabilities and only add back the NET_BIND_SERVICE capability if needed; there are two rules outside of pss that check for dropped capabilities, but there is no rule verifying that NET_BIND_SERVICE is the only capability added back

Thanks @joebowbeer - I'm looking at sorting this now.


Guzzle abandoned

Hello,
I see omnipay has guzzle being used in composer but it's deprecated are there any plans for it to use guzzlehttp?

It is an FAQ and will be included in the 3.0 release.


[9.0.0-rc.4] angular/devkit: input.match is not a function (caused by raw-loader)

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: 9.0.0-rc2
Description
 I've got this problem in storybook/angular (but it is not a storybook problem, because it uses @angular/devkit webpack configuration)
styles configuration in rc2:
  test: /\.less$/,
  use: [
    { loader: 'raw-loader' },
    { loader: 'postcss-loader', options: [Object] },
    { loader: 'less-loader', options: [Object] }
  ]

in rc4:
  test: /\.less$/,
  use: [
    {
      loader<EMAIL_ADDRESS>    },
    {
      loader: '/Users/nikita.balakirev/Desktop/Projects/ccm_portal/node_modules/postcss-loader/src/index.js',
      options: [Object]
    },
    {
      loader: '/Users/nikita.balakirev/Desktop/Projects/ccm_portal/node_modules/less-loader/dist/cjs.js',
      options: [Object]
    }
  ]

I have "raw-loader": "0.5.1" (which was used in rc2 because of not direct loader import), but in rc4 version of raw-loader forced to 4.0.0 and it causes for me following problem - raw loader loads component.less files as es modules and not as strings (it was expected).
This problem is similar to https://github.com/webpack-contrib/style-loader/issues/123 when some guys needed to call require(component.css).toString() directly. But i think raw-loader should do it automatically instead of returning modules.

🔬 Minimal Reproduction

Sorry, but there is no minimal reproduction.
🔥 Exception or Error

 input.match is not a function

🌍 Your Environment

Angular CLI: 9.0.0-rc.4
Node: 12.13.1
OS: darwin x64

Angular: 9.0.0-rc.4
... cdk, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, upgrade
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.0-rc.4
@angular-devkit/build-angular     0.900.0-rc.4
@angular-devkit/build-optimizer   0.900.0-rc.4
@angular-devkit/build-webpack     0.900.0-rc.4
@angular-devkit/core              9.0.0-rc.4
@angular-devkit/schematics        9.0.0-rc.4
@ngtools/webpack                  9.0.0-rc.4
@schematics/angular               9.0.0-rc.4
@schematics/update                0.900.0-rc.4
rxjs                              6.5.3
typescript                        3.6.4
webpack                           4.40.2

all storybook packages: 5.3.0-beta.12

Anything else relevant?

Hi, this seems related to the fact that storybook doesn't use @ngtools/webpack but ngx-template-loader to inject Angular templates and styles. While @ngtools/webpack supports multiple versions of raw-loader,  ngx-template-loader which is used directly by storybook only supports the older versions.
Storybook, uses parts of the Angular CLI webpack configurations to build an app:
https://github.com/storybookjs/storybook/blob/715a2f59c2277eeeecf15bf008b7a3b17cdc3d01/app/angular/src/server/angular-cli_utils.ts#L3-L6  These config are not designed to be consumed by 3rd parties and their dependencies are tightly coupled to the package versions installed by @angular-devkit/build-angular, To extend the CLI configurations it's recommended to use public API's and create a custom builder that extends the build builder. That being said, when extending a builder we can’t support everyone’s custom loader and it will be up to the library author to make sure that their extended webpack config is compatible with the dependencies of @angular-devkit/build-angular.
I suggest that an issue is filled with storybook and ngx-template-loader.

Thanks for your answer, i will discuss it in the storybook repo.


Update docs on snapshot restore settings

Description of changes:
This commit updates the documentation for the snapshot restore settings in the example elasticsearch configuration file.
From what I have gathered from testing and reading the code I concluded that the docs were out of date. By default normal users can restore snapshot if they have sufficient priviliges which is contrary to what the documentation said before this commit.
Thought that it might be worth an update as to not confuse other people when they are reading the example configuration for elasticsearch security plugin :slightly_smiling_face:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

No comment on this?


Implement getPlatformActivityStats getter & tests

Make a getter that returns
export interface PlatformActivityStatsResult {
  activeUsers: number;
  numberOfTrades: number;
  openInterest: BigNumber;
  marketsCreated: number;
  volume: BigNumber;
  amountStaked: BigNumber;
  disputedMarkets: number;
}

@brianosaurus Can you knock this one out alongside #1802?

@pgebheim How are we defining activeUsers?
DAU, WAU, MAU? Have a choice?

We should define active users by anyone who does any type of transaction. This can include any type of, order placement (adding bid/offer to the book), actual trade, cancel order, order adjustment(which we should have soon),market creation, Reporting, dispute, purchase of participation tokens, or redeem winnings


Response types in 23.0.0 are incorrect.

In the new 23.0.0 file response are defined like "200", but in the previous versions it was like "2xx" i ran into the first issue when creating a realm which returned a 201. Which now fails in the created client as it only accepts 200 request as result.

Thank you for finding that.
I tried generating the openapi definition for the recently released 23.0.1 but it's still a 200 for that particular request. Since the openapi definition is now 100% generated by keycloak itself, it would be prudent to create an issue in their repo as it's out of my control now


Visibility & Color Helper Classes

Is your feature request related to a problem? Please describe.
Missing the ability to hide and show elements on different devices (Desktop / Tablet / Mobile). Missing color based helper classes (Background color / Text Color based off the theme)
Describe the solution you'd like
Similar to other frameworks - "hide-sm" "show-for-lg" "text-primary" "bg-primary" etc
Describe alternatives you've considered
Coding my own
Additional context
Framework is awesome so far, great job!

Agreed: very nice! For spacing and alignment and all that stuff I had success using a Bootstrap 4 utilities-only stylesheet.


MINOR: clarify usage of stateful processor node

In recent PRs, we have been confused about the proper usage of
StatefulProcessorNode (#5731 , #5737 )
This change disambiguates it.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Failure unrelated. (spotbugs couldn't write to some local socket?)
Retest this, please.

Waiting for jenkins to pass.

@vvcephei could you rebase please?

Cherry-picked to 2.1 as well.


Assorted fixes

Based on winpass, so merge that first.
Most prominently split config into fallback- and user-config. The resources files are in general not writable. So implement an override mechanism, where changes in a user config file overrides changes in the fallback config. The MacOS config path detection is still to be done. I'd be grateful if someone with a Mac could fill in the gap in lib/Fez/Util/Config.rakumod:21.
Also I'm not sure if the change in  lib/Fez/CLI.rakumod:27 is valid, as I don't know what that option is for.

I just created three separate PRs. So closing this one in favor of those.


Improve sass functions with defaults params to clean code

I use this logic in the following PR: https://github.com/gabrielaraujof/shadow-science/pull/10. Closing here.


kedge append

Once we implement kedge init we can think of adding support for kedge append which takes data from cmdline and adds it to the file, without someone having to edit file manually.
In @cdrage's own words

One tool that does this well is Nomad with their nomad init: https://www.nomadproject.io/docs/commands/init.html
Although it's just boiler-plate code.
I do like the idea however for using kedge init and passing in variables such as the image, etc. Although this would only work with setting up a basic example.. Although this is expanding on it, perhaps a command called kedge append would be beneficial too (in the future perhaps?). kedge init to deploy the initial file, kedge append to add to it. For example: kedge append -f kedge.yaml --name asdf --image bar/foo --port 80 would add to the current kedge init and create:
name: asdf
containers:
- image: foo/bar
- image: bar/foo
services:
- ports:
  - port: 80
  - port: 81

of if supplied with a different name: kedge append -f kedge.yaml --name nginx --image nginx --port 8080
would append/create:
name: asdf
containers:
- image: foo/bar
- image: bar/foo
services:
- ports:
  - port: 80
  - port: 81
---
name: nginx
containers:
- image: nginx
services:
- ports:
  - port: 8080

Taken from https://github.com/kedgeproject/kedge/issues/215#issuecomment-321571594 more discussion at https://github.com/kedgeproject/kedge/issues/215#issuecomment-321571594
We can only think about this once https://github.com/kedgeproject/kedge/issues/215 is implemented. So right now this is blocked on https://github.com/kedgeproject/kedge/issues/215

Doesn't his kind of go against whole one app per file philosophy?

Doesn't this kind of goes against the whole one app per file philosophy?

True.
TBH, my understanding of kedge append was that it will append to the configuration of the current service.  But then the question is what is the use of kedge apply then?

I'm afraid that I'm getting lost :-(
How this is related to  kedge apply?
You can always do kedge apply on the whole directory. Do you mean that?

What will be the use for this? :( Are we talking about generating YAML files from the command line? How does this lower the barrier to entry?


Possible Unhandled promise rejection

After updating targetSdkVersion = 30 and compileSdkVersion = 30 this lib stopped working for me.
I am getting this warning each time I try to open any file (jpg/pdf ...)
Possible Unhandled Promise Rejction (id: 0)
Error: No app associated with this mime type.
ReactNative - 0.63.3 (even with 0.64.2)
react-native-file-viewer - 2.1.4

same here. I even didn't get the solution from #109 working. Any updates on this since July?

Hi! There is an extra step specifically required for devices targeting Android 11(API level 30)+. I've updated the documentation.


Bug when trying to access "article.taggings" in UserArticles before articles load into component

moving tag down to "Single Article Component" should resolve bug

Believe this bug was handled with update to "Create New Article" api call.


grab cilium-operator, cilium-etcd-operator logs

Now that we are deploying more than just cilium in our standard deployments / YAML files, we need to make sure we are grabbing logs from all cilium containers in the cluster, not just the one running cilium-agent.

cilium-operator logs are gathered now due to #61 being merged. Still need cilium-etcd-operator logs.


support to choose configmap on abtest

What problem does this PR solve?
What is changed and how does it work?
Check List
Tests

Unit test
E2E test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has Go code change
Has CI related scripts change
Has Terraform scripts change

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

Rest LGTM


Trying to get list of repositories from acr fails

az acr repository list --name  -o tsv --username  --password
This command ran for nearly two years without problems and now it shows the following error.
It is part of a Jenkins job and runs on a linux (SLES) agent node.
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az acr repository list
Errors:
'NoneType' object has no attribute '__name__'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 659, in execute
    raise ex
cli/core/commands/__init__.py, ln 722, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
...
cli/core/commands/client_factory.py, ln 74, in get_mgmt_service_client
    **kwargs)
cli/core/commands/client_factory.py, ln 176, in _get_mgmt_service_client
    logger.debug('Getting management service client client_type=%s', client_type.__name__)
AttributeError: 'NoneType' object has no attribute '__name__'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az acr repository list --name {} -o {} --username {} --password {}

Expected Behavior
Environment Summary
Linux-5.14.21-150400.24.55-default-x86_64-with-glibc2.3.4
Python 3.6.15
Installer: PIP

azure-cli 2.17.1 *

Additional Context

Thank you for opening this issue, we will look into it.

RESOLVED: The problem was an old version az which I could'nt upgrade via az upgrade.
I removed everything (package and repo) and installed everything again.
Now i have the azure-cli 2.38.0 and everything works fine.
zypper rm azure-cli
zypper rr azure-cli
zypper addrepo --name 'Azure CLI' --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli
zypper clean
zypper install --from azure-cli azure-cli

@frosch95  Thanks for sharing your resolution here, as it would be helpful for the community members who are facing similar issues.


Develop and Debug with Docker in Visual Studio (netfx)

This is an offshoot of #688.
The docs are conspicuously absent of any .net framework assistance in regards to develop and debugging with docker containers, or how to port existing investments into using docker. A working example that uses .net framework, but does not rely on or include other technologies like EF, netcore, Asp.net's flavor of MVC, etc. would be very useful for many of us who have considered using Docker but just cant figure out how to make the tooling work efficiently.
If it could cover non-web technologies like console apps and other ServiceHost candidates that would be the ideal.
The existing docs also needs a section for when you want to publish the thing you have been debugging to for use somewhere else. Like how to get it from the debugger into a local container registry, (the full steps encompassing checkin into version control, and from there build the image and distribute to a container would be nice).

Added a section to https://docs.microsoft.com/en-us/visualstudio/containers/edit-and-refresh?view=vs-2019 in May, 2019 that covers the basic .NET Framework console app debug scenario - note there is no need to install remote debugging components manually in either VS 2017 or VS 2019.
It doesn't cover a Windows Service scenario, but the Windows Service project template is not one of the supported project types that have Docker support enabled.


@tool annotation added to interactable scripts breaks snap zone if initial object is used

Recently, the tool annotation was added to several scripts, including interactables.
This results in issues if an initial object is added to a snap zone, as the picking up functions are now called in the editor changing both physics layers and freeze state. As a result, when picking up said item in game, once let go it will get stuck at the last held position (due to still being frozen) and cannot be picked up again because the physics layer will stay on 17.
There may be more issues caused by the change, as other scripts may also change variables while in editor.
This is especially annoying if the issue is noticed at a later point, as all affected scenes loaded into the editor until then will have to be either changed back manually or retrieved from git and then merged to apply the intended changes.

Could you check out the branch and see if it fixes your issue.

It seems to have fixed the issue, thank you.
So far this was the only issue I noticed related to the aforementioned change, you may want to confirm the other files changed in that commit don't have similar effects though.


Image resolution of output is different from input

Hello @patrickvonplaten and thanks again for packaging this very handy library!
I have one question regarding the usage and in particular regarding the image resolution management. I noticed the output image created by the pre-processors has a different resolution from the input image. For example when I provide an image with resolution 1024x576 to the MidasDetector(), it outputs an image with resolution 896x512.
I'm guessing the image resolution is managed by one of the arguments detect_resolution=512, image_resolution=512 in the call function but it's not very clear to me how to use them: https://github.com/patrickvonplaten/controlnet_aux/blob/master/src/controlnet_aux/midas/init.py#L39
Would you have a recommendation to preserve the input image resolution please?
Thank you!

I found the solution, the arguments detect_resolution and image_resolution must be provided the the height of the input image. Example:
processor = MidasDetector.from_pretrained(MODEL_PATH_CONTROLNET_PREPROCESSORS)
controlnet_image = processor(
    input_image=init_image,
    a=numpy.pi * 2.0,
    bg_th=0.1,
    depth_and_normal=False,
    detect_resolution=init_image.height,
    image_resolution=init_image.height,
    output_type='pil'
)

I'm reopening this issue because although I've been able to achieve what I want, I do not understand what detect_resolution and image_resolution are meant to be used.
@patrickvonplaten would you mind telling us what they are for please?
Thank you so much for your hard work!


add: type checking

IMPORTANT: Please create an issue before filing a pull request! Changes need to be discussed before proceeding. Please read the contribution guidelines.
Details
This PR add type checking using mypy as stated in issue #77
Closing issues
Fixes issue - #77

@uniqueg Is this good (in right dir)? I still need to narrow it down a little as I have ignored import errors in mypy.ini which I think needs a little more work.

Hey @uniqueg, unfortunately mypy doesn't check that deep, this is in regard to your suggestion to create a validator func. So the other solution would be something like this:
        assert document_stored.wes_endpoint is not None, "No WES endpoint available."
        assert (
            document_stored.wes_endpoint.base_path is not None
        ), "WES endpoint does not have base_path."

        if document_stored.task_id is None:
            raise WesEndpointProblem

Where WesEndpointProblem is
....
class WesEndpointProblem(NotFound):
    """No/few reuirements provided for WES endpoint."""

exceptions={
   ....
    WesEndpointProblem: {
        "message": "No/few reuirements provided for WES endpoint.",
        "code": "500",
    }
}

yeah that mean I gotta do it in two place ie, for document, updated_document and in track_run_progress. Please do tell me if there is better way to do it. PS: Not yet ready for reviews.

Looks fine to me, not too messy :)

Sorry, only saw now that you were not ready for review. Gave you one anyway :laughing:
But it seems to me that you addressed at least most of my previous issues. Please make sure to resolve the corresponding conversations so that we can better keep track of what's still left to do.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
foca 0.12.1 requires pymongo==3.10.1, but you have pymongo 3.13.0 which is incompatible.

I am disabling all error for missing imports, when foca update pymongo to 3.11 we can remove it. This is because
pymongo-stubs is compatible with Python >=3.6 and [PyMongo](https://pypi.org/project/pymongo/) >=3.11,<4.0.

@uniqueg Please review the PR. I have made the requested changes :+1:


[Suggestion] Bump iwyu version to 0.20

Any chance you can release a new bazel_iwyu package with iwyu 0.20? It includes a fix for crashes due to cycles in mappings. This fix allows for use of iwyu with many Boost libraries that happen to have cycles in their includes. Release notes: https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.20
If there is something I can do to help with the release, let me know.

Hi @kyle-figure ,
Support for IWYU 0.20 was merged now. Thanks for your contribution, it inspires me. I made a little adjustment to your original dockerfile as it seems apt llvm repo is not ready for Ubuntu 22.04 at the moment.


Add checks for joinVoiceChannel (and similar functions) instead of silently crashing.

Is your feature request related to a problem? Please describe.
I spent over an hour trying to figure out why some code I updated to v13 wasn't working, and it turns out it was because VoiceState.channelID was removed from discord.js@dev. I had that passed into the channelId option in joinVoiceChannel. There was no error saying that the channel was null, instead my bot would disconnect from Discord and reconnect, and the only error that appears is that it didn't enter ready state in time. To find the error I had to enable debug messages on my Discord client and only then did I see Unknown opcode.. That still wasn't enough for me to figure it out and so I added a console.log to the payload variable defined in the createVoiceConnection function, and only after I saw that did I see that channel_id was undefined.
Describe the ideal solution
Add some sort of error. Like "Expected string for channelId, but got undefined"
Describe alternatives you've considered
An alternative would be to have everyone switch to typescript so this error doesn't go unnoticed, as their ide is going to scream at them and so is the typescript compiler.
Additional context
nothing

It should also check that the channel exists or is accessible to the client; just spent an hour trying to debug this same problem only to find out it was because my bot couldn't access the voice channel I was trying to have it join.

I understand the intentions behind this issue, but I really don't think it's the library's place to validate that it is being used correctly. If you get similar errors in future, I'd recommend debugging the variables that you're passing to the library and making sure they look correct. Also looking at documentation/typings to see what parameters and names are expected.


Add a platform_custom_base_url resource.

Is your feature request related to a problem? Please describe.
Yes, I've just created a artifactory_remote_cargo_repository repository on our Edge node, only for it to fail during the apply step (plan was fine) with the following error:
│ Error: {
│   "errors" : [ {
│     "status" : 400,
│     "message" : "Custom Base URL should be defined prior to creating a Cargo repository"
│   } ]
│ }

Our Edge nodes are completely configured using Terraform providers, so it would be ideal to be able to declare this as a resource too.
Describe the solution you'd like
Make use of the Update Custom URL Base API.
resource "platform_custom_base_url" "this" {
    custom_base_url = "https://mycompany.com:444"
}

resource "artifactory_remote_cargo_repository" "crates" {
    ...
    depends_on = [
        platform_custom_base_url.this
    ]
}

Describe alternatives you've considered
I wanted to use the http provider, however it won't permit the PUT method.
data "http" "custom-base-url" {
  url    = "https://${var.name}/artifactory/api/system/configuration/baseUrl"
  method = "PUT"
  request_headers = {
    "Authorization" = "Bearer ${var.token}"
    "Content-Type"  = "text/plain"
  }
  request_body = "https://mycompany.com:444"
}

In the immediate term I guess I will either do it manually 🤮 or wrap a cURL step to do it.
Additional context
https://registry.terraform.io/providers/jfrog/artifactory/latest/docs/resources/remote_cargo_repository#note

@goodtune Thanks for the suggestion. Unfortunately, currently Artifactory lacks a full set of REST API for custom base URL for support in Terraform. We are aware of this gap and are planning to fill it in the future.
In the meantime, the alternative you suggest using a HTTP provider is sound. There are other non-HashiCorp providers that support PUT method (e.g. https://registry.terraform.io/providers/salrashid123/http-full/latest).


[CLI] Wandb crashes when trying to launch a pytorch-lightning experiment

I get this error:
Problem at: /home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/loggers/wandb.py 193 experiment
Traceback (most recent call last):
  File "/home/user/.conda/lib/python3.9/site-packages/wandb/sdk/wandb_init.py", line 870, in init
    run = wi.init()
  File "/home/user/.conda/lib/python3.9/site-packages/wandb/sdk/wandb_init.py", line 442, in init
    backend.ensure_launched()
  File "/home/user/.conda/lib/python3.9/site-packages/wandb/sdk/backend/backend.py", line 201, in ensure_launched
    self.wandb_process.start()
  File "/home/user/.conda/lib/python3.9/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/home/user/.conda/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/home/user/.conda/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/home/user/.conda/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/home/user/.conda/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
    prep_data = spawn.get_preparation_data(process_obj._name)
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
    _check_not_importing_main()
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
    raise RuntimeError('''
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.
wandb: ERROR Abnormal program exit
Traceback (most recent call last):
  File "/home/user/.conda/lib/python3.9/site-packages/wandb/sdk/wandb_init.py", line 870, in init
    run = wi.init()
  File "/home/user/.conda/lib/python3.9/site-packages/wandb/sdk/wandb_init.py", line 442, in init
    backend.ensure_launched()
  File "/home/user/.conda/lib/python3.9/site-packages/wandb/sdk/backend/backend.py", line 201, in ensure_launched
    self.wandb_process.start()
  File "/home/user/.conda/lib/python3.9/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/home/user/.conda/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/home/user/.conda/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/home/user/.conda/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/home/user/.conda/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
    prep_data = spawn.get_preparation_data(process_obj._name)
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
    _check_not_importing_main()
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
    raise RuntimeError('''
RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
    prepare(preparation_data)
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 234, in prepare
    _fixup_main_from_name(data['init_main_from_name'])
  File "/home/user/.conda/lib/python3.9/multiprocessing/spawn.py", line 258, in _fixup_main_from_name
    main_content = runpy.run_module(mod_name,
  File "/home/user/.conda/lib/python3.9/runpy.py", line 210, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "/home/user/.conda/lib/python3.9/runpy.py", line 97, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/home/user/.conda/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/projects/generally_intelligent/standalone/ballworld/quarantine/zack/simone/train2.py", line 16, in <module>
    trainer.fit(model, dm)
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 552, in fit
    self._run(model)
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 916, in _run
    self._pre_dispatch()
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 945, in _pre_dispatch
    self._log_hyperparams()
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 972, in _log_hyperparams
    self.logger.log_hyperparams(hparams_initial)
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/utilities/distributed.py", line 48, in wrapped_fn
    return fn(*args, **kwargs)
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/loggers/wandb.py", line 210, in log_hyperparams
    self.experiment.config.update(params, allow_val_change=True)
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/loggers/base.py", line 42, in experiment
    return get_experiment() or DummyExperiment()
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/utilities/distributed.py", line 48, in wrapped_fn
    return fn(*args, **kwargs)
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/loggers/base.py", line 40, in get_experiment
    return fn(self)
  File "/home/user/.conda/lib/python3.9/site-packages/pytorch_lightning/loggers/wandb.py", line 193, in experiment
    self._experiment = wandb.init(**self._wandb_init) if wandb.run is None else wandb.run
  File "/home/user/.conda/lib/python3.9/site-packages/wandb/sdk/wandb_init.py", line 908, in init
    six.raise_from(Exception("problem"), error_seen)
  File "<string>", line 3, in raise_from
Exception: problem

when trying to run this code:
from pytorch_lightning.loggers import WandbLogger
import pytorch_lightning as pl
from pl_examples.basic_examples.mnist_datamodule import MNISTDataModule
from pl_examples.basic_examples.simple_image_classifier import LitClassifier

dm = MNISTDataModule(batch_size=32)
model = LitClassifier()

pl_logger = WandbLogger(
    project="zack_simone",
    name="test",
)
pl.seed_everything(1)

trainer = pl.Trainer(max_epochs=2, gpus=1, logger=pl_logger)
trainer.fit(model, dm)

using the current newest versions of wandb (0.12.5) and pytorch lighting ('1.4.9'), on pytorch 1.8.1.

@zplizzi glad to hear it worked!
Thanks for bringing this issue to our attention, we are aware of it in the regular flow and working on a fix.
Are you seeing it with the new service feature as well? The new flow should resolve many of these issues.

Yes, definitely even with wandb.require(experiment="service"), the experiment frequently does not shut down cleanly and I have to manually kill the process with a SIGKILL signal. Of course I'm not certain what's hanging - if it's in wandb or elsewhere. But I believe the final program output before hanging is usually something in wandb-land.

@zplizzi Thank you!
I'm going to open an issue for the shut down issue.
Closing this issue as the original issue is resolved.

Hey @vanpelt, I just wanted to check if special changes in pip install --force git+https://github.com/wandb/pytorch-lightning.git@wandb-service-attach have been merged into the standard version of pytorch-lightning yet? Or if this custom branch is still the recommended way of using wandb + lightning together?

Hi @zplizzi thanks for your inquiry.
We were running some tests and are planning to upstream the branch in the coming days.
For now you should still use the custom branch. We will update it here once it is merged.


clarification needed in alignRequests

https://github.com/raintank/raintank-metric/blob/00411554d80427691246df4aa4290b9d5a782e0b/metric_tank/query_engine.go#L164-L167

isn't maxDataPoints bigger than ptCount so aggNum = ptCount / req.maxPoints should be aggNum = req.maxPoints / ptCount I think.
shouldn't if ptCount%req.maxPoints != 0 { be ptCount%aggNum ?
i don't think aggNum++ guarantees a no-remainder division. in fact by increasing aggNum it's more likely that the aggregation won't be a perfect fit, I think. the previous code didn't do any enforcing for that case I believe, and allowed for consolidation to consolidate however many points remain at the end.

isn't maxDataPoints bigger than ptCount so aggNum = ptCount / req.maxPoints should be aggNum = req.maxPoints / ptCount I think.

No. If we are performing runtimte consolidation it is because ptCount is greater the maxPoints.  If it was the reverse there would be no need to do consolidation.

shouldn't if ptCount%req.maxPoints != 0 { be ptCount%aggNum ?

No.  We are simply checking to see if ptCount/req.MaxPoints had a remainder and if so, we need to increment the result.  This is essentially the same as doing aggNum = ceil(ptCount/req.MaxPoints)

i don't think aggNum++ guarantees a no-remainder division. in fact by increasing aggNum it's more likely that the aggregation won't be a perfect fit, I think. the previous code didn't do any enforcing for that case I believe, and allowed for consolidation to consolidate however many points remain at the end.

??? aggNum is "how many points to consolidate together at runtime"
if ptCount is 15 and maxPoints in 10, then ptCount/maxPoints == 1.  If you just left this as is, then there would be no consolidation as aggNum (the number of points to consolidate together) is 1.  Instead, aggNum needs to be adjusted to 2, so that after consolidation the number of values is less then maxPoints.

No. If we are performing runtimte consolidation it is because ptCount is greater the maxPoints. If it was the reverse there would be no need to do consolidation.

the code has 2 cases where runtimeconsolidation is enabled:

we decided to go to a higher-res archive using the datapointsbelowratio heuristic. here ptCount > maxPoints and i presume this is the case you're referring to.
selected == 0 and we have multiple raw archives, so we set choseninterval to the least common multiple of all rawintervals, to find an interval that works for all series. here ptCount is not neccessarily bigger than maxDataPoints. it can definitely be smaller.  However i realized the code still seems to hold fine in that case (aggNum would be set to 0 and then incremented to 1 due to the remainder) so no problem.

No. We are simply checking to see if ptCount/req.MaxPoints had a remainder and if so, we need to increment the result. This is essentially the same as doing aggNum = ceil(ptCount/req.MaxPoints)

ah, i was confused about what was the goal here.


[T3A2][T15-A4]Liu_Peng

Apply Encapsulation on CommandResult class. (T3A2)
Liu Peng, A0130277L.

Ready for review.


Make API usable with the Go client generator

The API types generated by the kubebuilder tool don't have some of the
things that are needed in order to automatically generate a client using
the Kubernetes code generation tools. In particular they don't have the
+genclient annotation. This patch adds these missing things.

@nimrodshn @jharrington22 please review.

Seems like a reasonable ask, @jharrington22  please review.

LGTM :+1:

Merging!


Change strategy for rebuilding demo site

Notes

I'm having trouble getting the demo Heroku site into a clean state so that I can manually QA #1165 against it
This PR changes the strategy we use to rebuild the demo site from db:schema:load to rake db:migrate; based on the normal flow I use for doing this I think this will be be a more reliable path
Also clean up a few small changes in the rebuild script and one of the migrations

Force-pushed this to the demo app and verified that it fixed the database state errors I was getting.

Merging this in now as a selfie because I have to QA against demo again.


Serialize to json if the value of puppet facts is slice type

If puppet fact value is slice type, also serialize it to json.
Before
[map[DisplayName:Xcode Number_times:0 Path:/Applications/Xcode.app Version:13.2.1]]

After
[{"DisplayName":"Xcode","Number_times":0,"Path":"/Applications/Xcode.app","Version":"13.2.1"}]

Looks Great, we had the same issue. please help merge it if possible. appreciate it @grahamgilbert


Add Japanese translations for Node-RED v1.3

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
I added Japanese translations for Node-RED v1.3.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 67.383% when pulling 9429ea7c641a8d7feb9c86783cda2064b9f2cd95 on kazuhitoyokoi:master-addjpn into 41a0147938e78451756796324456bc26cec90f15 on node-red:master.

@knolleary Thank you!


[Feature] Add a line for scatter chart

What problem does this feature solve?
Is there anyway to achieve a line of scatter chart like below(the orange line)?

What does the proposed API look like?
I don't know whether if markLine or markArea  can do this

You need more than one series to achieve this effect, Maybe this example will be useful: https://echarts.apache.org/examples/zh/editor.html?c=line-step

@li942475402 thx for the idea! I found markLine can do the same by setting data coord


Merlot TOS

Reviving Github-- woo!
Please review Merlot's policies: http://info.merlot.org/merlothelp/index.htm#policies_and_practices.htm
Specifically considering the following:

that it says CC BY 4.0 is default for user created bookmark collections and course e-portfolios
that it allows for upload of third party CC licensed content
that it accounts for upload of individual resources under all six of the CC licenses
that it accounts for a new tool that will allow direct creation of resources on platform itself and publishing under CC licenses

Notes and summary in the engagement doc. We should discuss.


Opens in /usr/bin

I installed this via yay (yay -S lite) and when ever i launch it it opens on the /usr/bin directory instead of where i open it

you might have to run lite .

yeah that fixed it thanks (sorry for the late reply)

Related issue with the reason to open in EXEDIR by default: #153

Related issue with the reason to open in EXEDIR by default: #153


Add --no-version-check flag

In many cases we don't need to perform an update check every time, so I added the --no-version-check flag to allow users to skip the version check.

Can this be merged please?


Has anyone figured out how to 'get the x-instagram-gis' value?

From the code, I know that x-instagram-gis is generated by 'rhx_gis' and 'variables'。Here, I want to know why 'rhx_gis' and 'variables' ? Does anyone have a document about the process of generating 'x-instagram-gis'?
Thanks !!

try this:
https://stackoverflow.com/questions/49786980/how-to-perform-unauthenticated-instagram-web-scraping-in-response-to-recent-priv


connectHierarchicalMenu should implement showMore

The option is available on react-instantsearch it should work like the menu or refinementList.

The behavior should be clarified :)

That was fixed in #3151.


Bug: Solve the Bug of NewsLetter Section Button and redesign the newsletter section

Hii This is Suraj Kushwaha
I am a gssoc Contributor
Solve the Bug : Newsletter section Button and Redesign the Newsletter Section according to the Page
Before -

After -

Please review it and merge into the project

Please, try to mention the issue you are resolving with pull request. it makes easier for us to work with and leaves good impression also. : )


feat(layout-footer): use current year as default in copyright

Use the current year as default value in the copyright of the footer instead of a fixed value (2018).
There is no need to override it by default.
Fixes #601

It must be overridable. We already had demands about fixed year in the footer.


GaussianNoiseModel: avoid calling DblNormal with invalid standard deviation

🦟 Bug fix
Fixes #395
Summary
The fix checks for zero standard deviation before sampling the normal distribution. If the standard deviation is zero, the mean is set directly. I've fixed both cases as mentioned in #395, as I think a crash is undesirable for both cases, but perhaps a warning should be emitted in Load() if the state standard deviation is zero.
Checklist

[X] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[X] codecheck passed (See contributing)
[X] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

changes look good to me.
@scpeters, Perhaps we should add a check in gz::math::Rand::DblNormal to make sure standard deviations are greater than 0? As pointed out in https://stackoverflow.com/a/9186515:
explicit normal_distribution(RealType mean = 0.0, RealType stddev = 1.0);
Requires: 0 < stddev.


Make zip an IEnumerator instead of an IEnumerable

Does this fix a specific test?

There are some tests for zip under test_iter which are now passing with this change.


MudCombobox tweaks

-Removed version node in global.json so the solution compiles
-Added ESC keypress to close Combobox in Editmode
-Improved Task usage

Going to fix some bugs first.


Dynamics 365 API Limit using Batch

Limit Docs
Each user will be allowed up to 60,000 API requests, per organization instance, within five minute sliding interval.
Does this effectively bring the limit to 6,000,000 using batch, since 100 requests can be bundled into a single API call. Or does each call in batch count towards the 60,000 limit?

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

ID: b27f2e4f-ecc8-c826-4cce-4cc589ebd4b7
Version Independent ID: b83aa965-1607-0535-1d9c-15691bd6c47f
Content: Execute batch operations using the Web API (Developer Guide for Dynamics 365 Customer Engagement)
Content Source: ce/developer/webapi/execute-batch-operations-using-web-api.md
Service: crm-online
GitHub Login: @JimDaly
Microsoft Alias: jdaly

I find the documentation a bit vague on this subject.  The link to "How is this limit calculated" is no longer valid.
Using ExecuteMultipleRequest, one can only have 2 concurrenct requests pr organization. Does the same apply for the Web API?
If not , is it possible to run 40 concurrent and 4000 batch request within a 5 minute slot?


Feature/unpack cmd

added feature:

adds a new 'loosen' command which can be used as  a building block for a 'repack' functionality.
the repack workflow is documented in the tests/cli.rs > run_loosen_and_repack test

tbd:

when integrating this, more tests and benchmarks could be either added to cli.rs or to the caller.

[ ] add output (number of snapshots loosened)

Integration issue to be fixed here:

2: error: Found argument '--compression-level' which wasn't expected, or isn't valid in this context
2:
2: USAGE:
2:     elfshaker loosen [FLAGS] [OPTIONS]
2:

compression-level option should behave as in other commands


How to use express

How to use this with express?

I've created an example using express here: https://github.com/JSLaTeX/ets/tree/main/examples/express
Let me know if you have any other questions!

thanks


[0.4.4] Can't create a new file in the root folder when there is no empty space in the UI

When the file/folder view is full of files, there is nowhere you can right-click to create a new file.
You can only right-click on a folder to create a new file within that folder, but no way to create one in the root folder.
Thanks,

You're right, I'll add it to all the menus.


[HTML] exports with names differing in case-only resulting in missing documentation on macOS

Deno Version
$ deno --version

deno 1.43.6+53606de (canary, x86_64-apple-darwin)
v8 <IP_ADDRESS>
typescript 5.4.5

Background
I'm working on a package with a significant number of files. Each file exports a runtime function, such as split, and also exports a type-level equivalent, such as Split. All the exported symbols are fully documented, and each module includes a thorough module documentation with examples.
Expected Behavior
I expect both the function and its corresponding type alias to have their respective documentation generated.
Actual Behavior
When I generate the documentation using deno doc, I’m experiencing an issue where not all symbols are properly documented. Specifically, on macOS (which uses a case-insensitive file system), there is a conflict in the generated file names. I assume that deno doc tries to generate both Split.html and split.html. However, only one of these files survives the process due to the case-insensitivity of the file system. The result is that the documentation for one of the symbols is randomly overwritten by the other.
For example, some files end up only documenting the type, while others only document the runtime function. The symbol that ends up being documented is unpredictable and seems to depend on whichever file is generated last, overwriting the previous one.
Here's a quick screenshot that illustrates an indicator of a symbol that's been overwritten:

Additional Observation
Even though the actual files for some symbols are missing, all the symbols still appear in the list of all symbols, as shown in the screenshot below. This inconsistency can be quite confusing when navigating the documentation.

Suggested Solution
While I'm not deeply familiar with the HTML rendering engine's internals, I believe it should be relatively straightforward to implement a mechanism to avoid such conflicts. For example, appending an incrementing numeric value to the end of symbol names that differ only in case could resolve this issue immediately.

Duplicate of #584


Update sap-hana-backup-guide.md

fixed broken link to HANA help documentation "Planning Your Backup and Recovery Strategy"

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

Looks good/verified the link. Thanks @eric-camplin

@eric-camplin - This pull request was opened in the public repository. This content has a private repository. Members of Microsoft content teams should work in private repos, per the Microsoft Docs contributor guide. We've merged this link fix. Would you make future content updates in the private repo? Thank you!


GH-43927: [C++] Make ChunkResolver::ResolveMany output a list of ChunkLocations

Rationale for this change
Better cache locality and it's simpler. Easier to use with a single allocation.
What changes are included in this PR?
Change of the ChunkResolver::ResolveMany() signature.
Are these changes tested?
Yes, by the tests in chunked_array_test.cc
Are there any user-facing changes?
No because ChunkResolver is still in the internal namespace.

GitHub Issue: #43927

Effects on the "array_take" benchmarks for the Few indices cases. The baseline is not main but my re-implementation of "array_take" that uses ResolveMany.


New card design for blockchain account and account from other wallets

2 sets of 5 cards

new design for existing AssociatedAddress cards:

https://www.figma.com/file/gNQ9POVTHhxZQbzRQl6Qks/Altme?node-id=4847%3A14518&t=5QBO3RrRrVEtBKaz-0
The cherry on the cake would be the address position : Two lines or 1 line depending on length. Base line for address display is at the bottom

This new cards are provided by a dapp, we don't have to create them in the wallet.
The new cards are Proof Of Ownership cards (Poo cards):
EthereumPooAddress
TezosPooAddress
PolygonPooAddress
BinancePooAddress
FantomPooAddress
More information about the model here:
https://talao.slack.com/archives/C047YAGGA5U/p1673447169235449
Here is the design:

https://www.figma.com/file/gNQ9POVTHhxZQbzRQl6Qks/Altme?node-id=4874%3A12280&t=5QBO3RrRrVEtBKaz-0
Cherry on the cake : Write address from center Base line

Thierry Thevenet
09:23
You can request tje new Poo credentials on https://talao.co/wallet-link


Fix: First try to get the Admin role by 'slug'. If that fails, try to get it by 'name', as for backwards compatibility

See issue: https://github.com/jeremykenedy/laravel-roles/issues/103

Thank you!


--downlevelIteration should work without es2015.iterator.lib.d.ts

See https://github.com/Microsoft/vscode/pull/68121
@jrieken @mjbvz @RyanCavanaugh

--downlevelIteration depends on the existence of Symbol.iterator for us to typecheck and evaluate properly. We made the same decision for async generators. You could chose to depend on a third-party shim as long as it provides a Symbol.iterator declaration, however we now primarily recommend that such libraries use /// <reference lib="es2015.symbol.wellknown" /> rather than define it themselves.

I don't necessarily remember the context here given that it's been a few months since we discussed it in person. If someone from the VS Code side can refresh my memory that'd be helpful.

Oh, I see the relevant portion here: https://github.com/microsoft/vscode/pull/68121#discussion_r254739037

I guess the question is, is the intended behavior to only work on arrays and error when something doesn't have a Symbol.iterator method? Would that be appropriate?

Our __values, __read, and __spread helpers do not require Symbol.iterator, but use it if it is present. We may have already fixed this, however, as the following compiles without errors currently:
// @target: es5
// @downleveliteration: true
for (const x of [1, 2, 3]) {}
const y = [...[1, 2, 3]];
function f(...args: any[]) {}
f(...y);

Closing as I cannot seem to reproduce this and it doesn't seem like there's any action to take here.


custom info-window content for each marker

Hi,
first of all, great job with this project!
I'd like to have a ng-repeat of markers, and each one with a custom content to be displayed clicking on the marker, is it possible?
like this one: https://developers.google.com/maps/documentation/javascript/examples/infowindow-simple
Thank you very much.

http://ngmap.github.io/drawings.html#/infowindow-simple#infowindow-simple

My god, didn't see it. I'm ot that page since 2 hours. Thank you very much.

There are more features than that page has. Please check out and testapp directory in github.

by the way, it's possible to use rotation on marker?

Yes

Is there  any example in docs page? I really can't find

Hi,
works fine with static names for ids, but when i assign dynamical ids with ng-repeat, i get 'Cannot read property 'apply' of undefined' by clicking on marker. Here's the code. Any suggestion?
    <map center="45.515424,9.088755" zoom="7">
        <marker
                ng-repeat="image in images"
                id="{{image._id}}marker"
                position="{{image.lat}}, {{image.lon}}"
                on-click="showInfoWindow(event, '{{image._id}}info')"
                icon="modules/core/img/marker.png"
                animation="DROP">
        </marker>
        <info-window
                ng-repeat="image in images"
                id="{{image._id}}info" visible-on-marker="{{image._id}}marker">

{{image.name}}

        </info-window>
    </map>

info-window is not for ng-repeat. you should keep one info window and change it dynamically using your scope values. You can find examples in testapp directory.

yeah, got it. Thank you!


[ALLUXIO-2032] GCS mount fix

Addresses: https://alluxio.atlassian.net/browse/ALLUXIO-2032
Prior to this fix, it was not possible GCS folders that were not created through Alluxio.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10477/
Test PASSed.

@jsimsa  Thanks for the fix. Only a minor comment, otherwise LGTM

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10479/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10480/
Test PASSed.

@jsimsa Do you mind opening a ticket for this so we can track it in the release notes?

LGTM

@calvinjia done


Help generating a package for Leanote

I'm unfamiliar with Go development but would like to create a Nix package for leanote.
From what I gather it's a web application using the Revel framework.  Running the application involves installing the revel binary and then executing it, providing it the path to leanote:
revel run github.com/leanote/leanote

In this case, I'm not really sure if go2nix can generate a package for me.  Or perhaps I need to generate two packages, one for revel and one for leanote.  Either way, I'm confused how to create a package that would allow someone to ultimately run the command above (or some wrapped variation of it).
Any help would be greatly appreciated.  Thank you.

Hmm, perhaps I need a postInstall that does this.

You should import revel and leanote with go2nix as two separate packages, and alter buildPhase of leanote to use ${revel.bin}/bin/revel build instead of go build.

Thanks for the suggestion @orivej, I'll give that a try.

Breaking things up into two packages does appear to be the best solution.  Thank you.


Integrate with Start9

website: https://start9.com/latest/

See how to here: https://start9.com/latest/developer-docs/build-package-example/index

This project is unmaintained


nothing work with Atom IDE

I've recently installed new version of git-plus package 7.10.0 on Atom IDE ver 1.23.2
but nothing work. I just have git plus init in my command panel but nothing happened after executing commands.

Same problem. I tried reopening the folder, which didn't help. Not clear to me how to go back to version 7.9.3 on Windows.

This is working for me now with the recent update to 7.10.2 running atom ide ui 0.9.4

Is this still an issue for you all? I haven't seen this problem while using atom ide.

after<EMAIL_ADDRESS>my default git-plus keybindings was cleared,
now i'm going back to 7.9.3

@patriciussanctus the changelog has a note about that change https://github.com/akonwi/git-plus/blob/master/CHANGELOG.md

i make keymap.cson of old versions
'.platform-darwin':
git-plus default keybinds
'shift-cmd-C': 'git-plus:commit'
'shift-cmd-A s': 'git-plus:status'
'shift-cmd-A q': 'git-plus:add-and-commit-and-push'
'shift-cmd-A a': 'git-plus:add-all-and-commit'
'shift-cmd-A p': 'git-plus:add-all-commit-and-push'
'shift-cmd-A': 'git-plus:add'
'shift-cmd-A c': 'git-plus:add-and-commit'


Update Changelog for 2.0.0 release

Most of the changes have not yet been documented in the changelog.

Fixed by #581


Self-updater is broken somehow

It says it installed the update but it appears it didn't

On linux the install script installs it at ~/.cargo/bin/plotinator3000 but running the self-installer installs it at ~/.cargo/bin/bin/plotinator3000 which is wrong and then it doesn't work


Add rich context to 1st step in form

Bug #404 reveals that the RichTextContext2Formik context provider was not added to the first step in the document edit form. By adding this context, we fix the dependent bugs like the image upload.
Props to @danielfdsilva for figuring it out.

@wrynearson I've tested the other fields that have an image upload and all work correctly.

@wrynearson The image upload worked for all fields including version description (hope no one adds an image there though 😂)


updated vienna (3.1.1)

This has a merge conflict.

Thank you for the contribution. It was merged directly as 69fb82ac9b0eef1bb9373d9ae28eced50a1cc652 to keep commit history cleaner. Your contribution is still credited to you.


What's the reason why you're faster than ws?

https://github.com/websockets/ws
They claim to be the fastest RFC-6455 WebSocket implementation for Node.js ...
... so would be good to have neutral explanations and facts.

I don't want to start a flame, but I did raise this exact question a couple of months ago and I was blocked, censored and name-called. So I have stopped caring what others think. If you are questioning my benchmarks I can assure you that there exists no universe in which ws is faster than µWS.

@alexhultman Understand. Do not want to ignite a flame war. I am just neutral here and questioning the facts. Because I really need super-fast web sockets for my www.videomail.io app where in average over 400 Deaf people communicate every day in Sign Language.
So yes, you say you can assure that µWS is faster than ws. Do you have more facts and details on those measurements?

I have published all my benchmarks under benchmarks folder. Feel free to validate them.

@alexhultman Will do. Can you outline for now here, why yours is faster than theirs? What are you doing differently than ws? What's the trick?

I did a reddit post in the C++ subredit you can read all the questions there.

Link?

You can google it, you will find it.

In any case, if you are considering ws or µWS then it doesn't really matter what you chose. We both implement the same interface and you can easily swap whenever you want. You should never listen to what others tell you, always do your own benchmarkings. In the end, it is your product that needs to be benchmarked, not one particular library.

I just ran a benchmark for you:
[alexhultman@localhost benchmarks]$ ./bench2 10000 3000
Echo performance: 235.058 echoes/ms
Echo performance: 225.932 echoes/ms
Echo performance: 211.675 echoes/ms
Echo performance: 213.163 echoes/ms
Echo performance: 213.626 echoes/ms
Echo performance: 213.816 echoes/ms
Echo performance: 212.596 echoes/ms
Echo performance: 211.237 echoes/ms
Echo performance: 210.845 echoes/ms
Echo performance: 210.351 echoes/ms
Echo performance: 208.914 echoes/ms
Echo performance: 208.239 echoes/ms
Echo performance: 208.052 echoes/ms
Echo performance: 207.963 echoes/ms
Echo performance: 207.285 echoes/ms
Echo performance: 206.92 echoes/ms
Echo performance: 206.856 echoes/ms
Echo performance: 206.891 echoes/ms
Echo performance: 207.027 echoes/ms
Echo performance: 207.123 echoes/ms
Echo performance: 206.666 echoes/ms
Echo performance: 206.542 echoes/ms
Echo performance: 206.737 echoes/ms
Echo performance: 206.933 echoes/ms
Echo performance: 207.087 echoes/ms
Echo performance: 207.42 echoes/ms
Echo performance: 207.529 echoes/ms
Echo performance: 207.522 echoes/ms
Echo performance: 207.518 echoes/ms
Echo performance: 207.549 echoes/ms
Echo performance: 207.592 echoes/ms
Echo performance: 207.6 echoes/ms
Echo performance: 207.632 echoes/ms
Echo performance: 207.804 echoes/ms
Echo performance: 207.94 echoes/ms
Echo performance: 208.163 echoes/ms
Echo performance: 208.186 echoes/ms
Echo performance: 208.29 echoes/ms
Echo performance: 208.498 echoes/ms
Echo performance: 208.568 echoes/ms
Echo performance: 208.767 echoes/ms
Echo performance: 208.849 echoes/ms
Echo performance: 208.87 echoes/ms
Echo performance: 209.027 echoes/ms
Echo performance: 209.071 echoes/ms
Echo performance: 208.913 echoes/ms
Echo performance: 208.874 echoes/ms
Echo performance: 208.858 echoes/ms
Echo performance: 208.826 echoes/ms
Echo performance: 208.752 echoes/ms
Echo performance: 208.808 echoes/ms
Echo performance: 208.794 echoes/ms
Echo performance: 208.826 echoes/ms
Echo performance: 208.809 echoes/ms
Echo performance: 208.727 echoes/ms
Echo performance: 208.602 echoes/ms
Echo performance: 208.598 echoes/ms
Echo performance: 208.524 echoes/ms
Echo performance: 208.535 echoes/ms
Echo performance: 208.461 echoes/ms
Echo performance: 208.378 echoes/ms
Echo performance: 208.369 echoes/ms
Echo performance: 208.349 echoes/ms
Echo performance: 208.234 echoes/ms
Echo performance: 208.17 echoes/ms
Echo performance: 208.132 echoes/ms
Echo performance: 208.028 echoes/ms
Echo performance: 207.914 echoes/ms
Echo performance: 207.92 echoes/ms
Echo performance: 207.873 echoes/ms
Echo performance: 207.905 echoes/ms
Echo performance: 207.935 echoes/ms
^C
[alexhultman@localhost benchmarks]$ ./bench2 10000 3000
Echo performance: 26.8528 echoes/ms
Echo performance: 27.9283 echoes/ms
^C
[alexhultman@localhost benchmarks]$ ./bench2 10000 3000
Echo performance: 29.6068 echoes/ms
Echo performance: 30.9768 echoes/ms
Echo performance: 31.369 echoes/ms
Echo performance: 31.6387 echoes/ms
Echo performance: 31.7748 echoes/ms

This server is identical in code, but run with 1. µWS, 2. ws with binary addons installed, 3. ws without binary addons installed.
Note though that the benchmark is not even enough to stress µWS fully, while ws is at 100% CPU usage. You can see that in this benchmark where I send small messages the overhead of ws's binary addons actually hurt performance, so I wanted to show you how it performed without them. As you can see, the difference is obvious.

The reddit post   @binarykitchen


Enable Region specific Opsworks commands

This change proposal is to address Issue #4. It has been lightly tested (in manual mode). I think for completeness it would still need unittests, but wanted to propose this as a solution before putting more time into the branch.

Hi and sorry that it took so long to get back to you,
When I originally made this project, there was no specific region, so some things will need to be reworked in order to work with multiple regions. I will review your PR and possibly add some basic tests
Thanks


Remove MiqQueue rows containing a class removed in Rails 5.

https://bugzilla.redhat.com/show_bug.cgi?id=1429747
The PostgreSQL::OID::Integer class was removed in:
https://github.com/rails/rails/commit/aafee233fb3b4211ee0bfb1fca776c159bd1067e
It's possible that old Rails 4.2 versions of objects could have been
serialized in the MiqQueue in the args column and we won't be able to
deserialize them with Rails 5+, so we need to remove these rows.
Related: https://github.com/ManageIQ/manageiq/pull/14365

@Fryguy Please review

Also fix the rubocop...otherwise everything looks good :+1:

Thanks, I'll fix this up and create a separate BZ for it.

@Fryguy updated based on your feedback... I also created a different BZ and updated the commit and description. PTAL.  Note, this is euwe/no


are term class filters useful on term pages?

usually the annotation is in a single class?
Even if multiple it seems arbitrary to filter here?
Thoughts?

Yep, "allele type" filter, when we have it, will be relevant on these pages,  evidence too in full view......

Not urgent, but looks quick.

I've hidden the term filter on the term pages.


Expand check:total:natural to more Rule Elements

A suggestion to expand the pre-existing check:total:natural roll options that are only available on AdjustDegreeOfSuccess elements to also apply to other REs, primarily Notes and FlatModifiers.
This would be great automation for abilities that trigger off of rolling a "natural" number, such as a nat 1 (check:total:natural:1).
There is an example of Paizo abilities using natural dice results as well, Ageless Patience, currently handled manually and appearing on all rolls regardless of result.

Maybe I'm wrong, but it feels like this should be doable with AdjustDegreeOfSuccess already without the Note.
{
    "key": "AdjustDegreeOfSuccess",
    "selector": "skill-check",
    "predicate": [
        "ageless-patience",
        "check:total:natural:1",
        { "not": { "lte": ["check:total:delta", -10] } }
    ],
    "adjustment": { "criticalFailure": "to-failure" }
}


Feature: Add palindrome solution

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cc076ba). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master    #18   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      8
  Lines             ?     79
  Branches          ?      9
=======================================
  Hits              ?     79
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/functions/max.ts
100% <100%> (ø)

Continue to review full report at Codecov.

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

Maybe we can change the method name to isPalindrome?

Maybe we can change the method name to isPalindrome?

done

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cc076ba). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master    #18   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      8
  Lines             ?     84
  Branches          ?      9
=======================================
  Hits              ?     84
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/functions/max.ts
100% <100%> (ø)

src/functions/factorial.ts
100% <100%> (ø)

Continue to review full report at Codecov.

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


Release v0.1.1-alpha.21

Hey, I just made a Pull Request!
:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[ ] Screenshots attached (for UI changes)
[ ] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] Regression tests added for bug fixes

@spotify/backstage-core Are you OK with us merging this?

@hooloovooo We're just making sure we get the last changes we need into it. I'll approve once it's ready to go.


CLI options (--entry)

Hey! I really love how easy backpack makes writing scripts and servers :D
One thing that I would like to see is the ability to provide some options when running backpack. I know it is mainly build to run "a project" now, but when writing scripts I sometimes want to run specific files to test them out or bootstrap something quickly.
I suggest adding a --entry <file> option, that would... use a different entry file :D
If this is something you think would be cool (😎) I'd love to make a PR for it!

What about using the main field in package.json?

@benjick sounds like another good option, but isn't really what I am hoping for :-)
Because then you still can't "just run a file" without editing your package.json

Related, I'm going to be testing out backpack with a project that has multiple entry-points, so using package.json is out...

I did this in my backpack.config.js:
module.exports = {
  webpack: (config) => {
    // eslint-disable-next-line no-param-reassign
    config.entry.main = [
      './src/server/index.js',
    ];

    return config;
  },
};

POC: https://github.com/pandada8/backpack
very rough implementation and need improvement
Usage: backpack run xxxx.js -- --extra-options-can-be-pass-to-script

@benjick Your method is feasible, but it cannot support multiple entries.
For example, I have both a server and a client in a project, for some reason.

@yoyo837 You use this for frontend too?

@yoyo837 You should  use Razzle if you have both a client and server

No, just http client and server. Two entries.

Here is how I work with multiple entry-points:
package.json:
"scripts": {
    "backpackEntry1": "cross-env BACKPACK_ENTRY=entry1 backpack dev",
    "backpackEntry2": "cross-env BACKPACK_ENTRY=entry2 backpack dev"
  },

backpack.config.js:
module.exports = {
  webpack: (config, options, webpack) => {
    config.entry.main = './server/entry.js';
    return config;
  }
}

server/entry.js:

const BACKPACK_ENTRY_MAP = {
  entry1: () => {
    require('./entry1')();
  },
  entry2: () => {
    require('./entry2')();
  }
};

const runEntryCommand = () => {
  console.log(process.env.BACKPACK_ENTRY);
  const entry = process.env.BACKPACK_ENTRY;
  const task = BACKPACK_ENTRY_MAP[entry] || BACKPACK_ENTRY_MAP['entry1'];

  task();
}

runEntryCommand();


Bug in deltaEJz? yellows and blues strangly close together

I noticed that for the deltaEJz algorithm, the yellows and blues are strangely close together. E.g., goldenrod is apparently closer to blues like cornflowerblue or royalblue than to peru or khaki? That seems ... unintuitive.
The other color functions seem to agree that the yellows should be much closer to each other than to the blues.
For your convenience, I have created this comparison of color distances between yellows and blues and different distance functions. It works really nicely when copied into one of your incredibly useful notebooks:
let goldenrod = new Color("goldenrod");

let cornflowerblue = new Color("cornflowerblue");
let royalblue = new Color("royalblue");
let slateblue = new Color("slateblue");
let peru = new Color("peru");
let khaki = new Color("khaki");
let darkorange = new Color("darkorange");

goldenrod.deltaEJz(cornflowerblue);
goldenrod.deltaEJz(royalblue);
goldenrod.deltaEJz(slateblue);
goldenrod.deltaEJz(peru);
goldenrod.deltaEJz(khaki);
goldenrod.deltaEJz(darkorange);

goldenrod.deltaE76(cornflowerblue);
goldenrod.deltaE76(royalblue);
goldenrod.deltaE76(slateblue);
goldenrod.deltaE76(peru);
goldenrod.deltaE76(khaki);
goldenrod.deltaE76(darkorange);

goldenrod.deltaE2000(cornflowerblue);
goldenrod.deltaE2000(royalblue);
goldenrod.deltaE2000(slateblue);
goldenrod.deltaE2000(peru);
goldenrod.deltaE2000(khaki);
goldenrod.deltaE2000(darkorange);

goldenrod.deltaECMC(cornflowerblue);
goldenrod.deltaECMC(royalblue);
goldenrod.deltaECMC(slateblue);
goldenrod.deltaECMC(peru);
goldenrod.deltaECMC(khaki);
goldenrod.deltaECMC(darkorange);

goldenrod.deltaEITP(cornflowerblue);
goldenrod.deltaEITP(royalblue);
goldenrod.deltaEITP(slateblue);
goldenrod.deltaEITP(peru);
goldenrod.deltaEITP(khaki);
goldenrod.deltaEITP(darkorange);

However, I really don't have a clue about colors at all, let alone color space and not to mention distance functions in those spaces. So it might very well be that this is the way it is supposed to be for that deltaEJz distance function, in which case I'm very sorry for the noise 😔.

I recently implemented Jzazbz in my own project and personally skipped implementing deltaEJz.
I see nothing wrong with color.js's implementation of detlaEJz. What you are seeing, I saw as well, and I imagine anyone who implements it would see the same. I looked over the spec when implementing it, which you can find here. You can compare the algorithm with Colorjs.io's implementation, but it seems to do everything correctly as far as I can tell. The only difference is maybe some NaN handling logic in the delta function, but none of that would affect the comparisons you are performing.
Personally, I think this is just the way the deltaEJz algorithm works. Or more correctly, how it works with the Jzazbz space.

Thanks for the report, which is here as a notebook.
Firstly, deltaEJz values are incredibly small (so are deltaEITP, but our implementation adds the recommended 720x scaling; and so are deltaEOK). I suggested here that a scaling of 400 would be appropriate for deltaEJz when comparing to other metrics, but that was not an in-depth examination.
But that doesn't explain the strange and apparently non-perceptual differences that you are seeing. Unfortunately deltaEJz is relatively little tested in the literature.

There might be a small error in dH, shouldn't that be Math.sin(dh / 2) in the formula?

Oh, wow...I must have made a very similar mistake. I like to implement directly from the spec and then compare against other implementations. I went over the spec multiple times and not only made the same mistake but couldn't see it after comparing and re-comparing the math 🤦🏻.
So I adjusted color.js to use Math.sin(dh / 2) opposed to Math.sin(dh) , and sure enough, it clears up the issue:
> goldenrod.deltaEJz(peru)
0.037482866533877626
> goldenrod.deltaEJz(cornflowerblue)
0.20345942022978947

Nope, I didn't make the same mistake: https://github.com/facelessuser/coloraide/pull/39/commits/d901c5286a0c28a31956c5953810b87e553daebb#diff-8b70d5b88994afe5d248c27f39727317986e8e92c6472a3a7f62ffc32b621c65R305. Maybe, my eyes just got confused with decimal points and thought the values were off.  I guess I'll have to go back and test my old implementation again.
Regardless, it looks like fixing the things in color.js gives more sane results.

Yeah, I can confirm similar results. My brain must have filtered out the leading zero and thought peru was bigger 🤦🏻 🤦🏻.

I code up a pull for color.js.


Fixed Resource Leak detected by Coverity

CID: 1375399 Variable bb1 going out of scope leaks the storage it points to
Signed-off-by: Noah Metzger<EMAIL_ADDRESS>

and bb0 (after line 490)?

i thought of that too but coverity showed for some reason only bb1 as memory leak. So i decided to first fix this one and see how coverity reacts afterwards.

I'll run a new scan with Coverity by the end of the week. Therefore I suggest to apply this PR even if it is incomplete. It will be interesting to test whether Coverity scan will complain about bb0 in the new run.


npm install 报错

检查网络
按提示检查python版本

不嗨意思，截图截错了，这是上一个报错，已经解决了，现在是这个：

我这边尝试install成功了
1、node版本不能过高，我用的16
2、可以尝试cnpm安装

node16或node18

You can try another open-source and free Puppet  https://github.com/atorber/puppet-bridge, which does not depend on Frida, is very easy to install, and has implemented nearly all the functionalities of puppet-xp, and even more.


理想家二代部分内机添加不成功

HA版本
2024.4.3
集成版本
0.4.2
设备类型及型号
Air Conditioner 22396311 (44204)
使用的App
美的美居
问题详细描述
理想家二代，5台内机。3台内机正常添加，另外两台添加时提示“无法连接到指定设备”，日志显示“认证失败”。确定美居账号密码没问题，用其他版本的ac_lan还会提示用户名密码错误。其中一台最初能添加成功，跟另外一台不能添加的面板互换位置后都无法添加了。
The logs
2024-06-22 17:11:59.004 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to <IP_ADDRESS>:6444
2024-06-22 17:11:59.154 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.154 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.213 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.213 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
2024-06-22 17:11:59.214 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to <IP_ADDRESS>:6444
2024-06-22 17:11:59.225 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.226 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.394 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.394 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
2024-06-22 17:11:59.395 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to <IP_ADDRESS>:6444
2024-06-22 17:11:59.408 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.408 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.560 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.561 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}

这个问题在上一代的版本中也比较严重，一直没有好的解决办法，求解决

Hi, please add the file as attachment and not as part of the comment. Currently is hard to read.
Also, could you consider updating to latest HA version ?

Hi, please add the file as attachment and not as part of the comment. Currently is hard to read.
Also, could you consider updating to latest HA version ?

thanks，I'll update HA first,and upload the new log file.

Hi, please add the file as attachment and not as part of the comment. Currently is hard to read.
Also, could you consider updating to latest HA version ?

here's the log with HA 2024.6.4 & AC_LAN 0.4.2.the same Problem with "Authentication failed"
home-assistant - 副本.log

also the same problem as https://github.com/georgezhao2010/midea_ac_lan/issues/425

Please verify and confirm that you are able to login on the mobile app using the same credentials.

Please verify and confirm that you are able to login on the mobile app using the same credentials.

confirmed，all the devices can be controlled by app with the same username and password.

Please verify and confirm that you are able to login on the mobile app using the same credentials.

confirmed，all the devices can be controlled by app with the same username and password.

Please specify which app you are using.

Please verify and confirm that you are able to login on the mobile app using the same credentials.

confirmed，all the devices can be controlled by app with the same username and password.

Please specify which app you are using.

美的美居 in china

Can you plese try v.0.5.0 and provide new logs?

@leonvvip  请先更新到最新的v0.5.0版本，重新添加设备试试。
建议先根据首页提示，开启midea_ac_lan和midealocal的debug log，然后执行相关操作，并反馈一下结果。
再根据这个结果，对比添加成功和添加失败的设备，实际获取到的硬件以及软件版本信息差异，随后看看是否能够找出解决办法。

@leonvvip 请先更新到最新的v0.5.0版本，重新添加设备试试。 建议先根据首页提示，开启midea_ac_lan和midealocal的debug log，然后执行相关操作，并反馈一下结果。
再根据这个结果，对比添加成功和添加失败的设备，实际获取到的硬件以及软件版本信息差异，随后看看是否能够找出解决办法。
升级0.5.0，问题依旧，日志报错跟之前的版本没有区别，认证失败！
2024-07-10 08:54:37.639 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-07-10 08:54:37.639 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-07-10 08:54:37.750 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-07-10 08:54:37.750 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
home-assistant - 副本 (2).log

0.5.2依然无法添加，报错Can't get available token for this device

0.5.2依然无法添加，报错Can't get available token for this device

目前新版仅仅是解决其他问题，针对这个部分认证失败的问题，尚未找到设备具体差异和对应的准确解决办法，还需要一段时间和问题的汇总，以及后续的解决办法。

0.5.4 should fix your issue

0.5.4 should fix your issue

0.5.4 still doesn't work as 0.5.3

Can you please provide new logs?

Can you please provide new logs?
2024-07-23 00:31:16.717 DEBUG (MainThread) [midealocal.device] [208907213764387] Connecting to <IP_ADDRESS>:6444
2024-07-23 00:31:16.778 DEBUG (MainThread) [midealocal.device] [208907213764387] Connected
2024-07-23 00:31:16.778 DEBUG (MainThread) [midealocal.device] [208907213764387] Handshaking
2024-07-23 00:31:16.849 DEBUG (MainThread) [midealocal.device] [208907213764387] Authentication failed
2024-07-23 00:31:16.849 DEBUG (MainThread) [midealocal.device] [208907213764387] Status update: {'available': False}
home-assistant - 副本 (3).log

由于github当前存在大量同样duplicate的issue，因此先关闭当前issue，统一使用 https://github.com/wuwentao/midea_ac_lan/issues/275 来跟踪和处理，避免大量重复问题的跟踪和处理。
当然，当前issue仍然可以继续更新和发送其他消息

0.5.4 should fix your issue

0.5.4 still doesn't work as 0.5.3

我理想家三代和你一样，一开始书房面板用美的美居搜不到，后来换了好了，结果就这个面板无法获取token，你看下你的美的美居里所有空调是否都有IPV4这一项，我的是除了书房的都有，怀疑是当初没安装好的问题

This is a very old (closed) issue.
If still experiencing a problem with the integration, please open a new one after updating to latest version, 0.6.2, and attach a fresh log.


Display issues when parameter triangleRendering is false

Hi, I having trouble viewing my spine animations when I change triangleRendering to false.
this.game.plugins.add(PhaserSpine.SpinePlugin, {                     debugRendering: false,                     triangleRendering: false                 });
Otherwise, when this parameter has true value all works (with triangles of course).
this.game.plugins.add(PhaserSpine.SpinePlugin, {                     debugRendering: false,                     triangleRendering: true                 });
I'm using 4.0.0-alpha1 version of this api.
Thanks for your attention!

Well, I solved this issue using webGL instead canvas.

Yeah, spine Canvas doesn't support Meshes, except when triangleRendering is set to true, it uses a special/different/experimental way of rendering the Meshes. Those are expected to not work with triangleRendering disabled on canvas

hi, I am looking for the 4.0.0-alpha1 version but unable to find it. Can you guide me on this?


Raw Ore is unobtainable

With the recent change that ores drop ore blocks w/o silk touch, iron, gold and copper ores do not drop Raw Iron, Raw Gold, and Raw Copper respectively. This makes the raw ore items and blocks unobtainable.
Request: Add a method to obtain the raw ore items. Here are some suggestions:

Smelting Iron, Gold, or Copper ore in a furnace gives the raw ore, smelting the raw ore gives ingots. Blast furnaces can process ores directly into ingots.
Mining ores drops items like vanilla for all ores which cannot be sustainably duplicated with Fortune 3 (only Lapis and Deepslate Lapis drop their ore, as they are the only ones which have a expected value above the cost of creation. see note at the bottom)
Dropping an anvil onto a ore block destroys the ore block and drops items as if the block was mined in vanilla without fortune

note:
Quartz and Copper ores have expected drop values close to duplication, but they will not be sustained over time. Quartz can only break even with luck, and it will decay the second you get unlucky. Copper can turn a profit with luck, but at an average of 7.7 per ore block, it will also tend to decay over time.

Forgot about raw ore :( Thanks for pointing this out.
Option 2 is the simplest as only Quartz and Lapis ores are exploitable. (Quartz ore allows Block of Quartz -> Nether Quartz conversion which is usually impossible. This allows Nether Quartz to be obtained from villagers). However this still leaves in the weird non-vanilla mechanic where you can gamble at duping items such as Copper.
Option 1 is okay. Getting Raw blocks would be super expensive, needing 9 blocks of the original mineral to make a block of the Raw mineral even with Fortune. But maybe that's a reasonable price as normally the Raw items are un-farmable.
I like the fact that option 3 adds a new Anvil mechanic, but it might be a little too complicated as it requires a modded feature on a modded feature to make the Raw Ore. It also adds the ability to break (specific) blocks with anvils, which can possibly open up a world of exploits. Where the Anvil lands would be something to figure out, such as when an Anvil is dropped on a pillar of Ore blocks.
Similar to 3, maybe dropping an Anvil on the original block to get the Raw Ore is the way to go. (eg an Anvil dropping on a Block of Gold turns it into a Block of Raw Gold.) This fits the texture where the Raw Blocks look like broken versions of the Mineral's Block, but doesn't really fit the logic that they're unrefined versions of the mineral. This would also have to take into account the many types of Copper blocks and the fact that they can oxidize while you're trying to convert them.
I could also just tweak the drop rates from the ores (except for Nether Quartz Ore), such as making them always drop 9 items or making Fortune not apply. Or I could change the way Ores are created altogether.
Just brainstorming right now.


Move code from Shellfish

We need to import what @Hombre-x developed during GSoC from Shellfish to this project, taking care of renaming the Shellfish object to Catscript and the package structure to reflect the one we usually use in our projects (I'll say let's use org.typelevel.catscript as the base one).

I'll do it! 😸

Thanks @Hombre-x. Please also change the infamous dev/foo package structure I've accidentally added in the initial commit.


Upgrade windows-rs to 0.44

Thanks for the contribution. This will be included in the next release, but won't trigger a release on its own.

FYI, the windows crate dependency has been dropped now altogether, and been replaced with pure FFI bindings, given the very small surface area actually used of it, and is now released as v0.8.5

Ack, better for us so that we don't get the same version desync in the future whenever windows bumps again... but I'm not a fan of open-coding everything that was provided by that crate either.

Hear hear, and this isn't something I decided lightly.
Documenting my reason - % surface area used of a dependency crate was an important factor here. Very low % on a very fat crate means higher build overhead, and noticeably higher probability of (at least security related) upgrades. The most important gating criteria for the above is that the nature of API used has to be a very stable platform API, which I'd verified here.
FWIW, it's the same approach I'm using for macOS, and would've likely moved windows to the same approach eventually. In both cases, the nature of FFI binding is for very selective, and very stable APIs.
Hope that helps in a better understanding the rationale.

I understand the rationale, just dislike the implementation but it's a necessity given how big the windows crate is (even when gated by feature flags it's still at least a ±10MB download, for example).


[Footer] Update copyright year in the site

Describe the bug
Update copyright year in the footer component in the site.
Screenshots

Going a little bit further, should we start offering a default value for the copyright prop? I see that every app that uses our Footer writes the same string, maybe we should start giving it predefined to avoid this common problem of not updating the year.

Update:

[ ] When copyright is not defined or passed by the user, give a preset value "© DXC Technology 2022. All rights reserved.".


MPI libraries maybe located under lib64 or lib32

Searching only under lib and not also lib64 or lib32 can break MPI detection on various systems. This patch also searches under lib64 and lib32.

Signed google CLA

@gunan Could you take a look at this?

added github user name to signed cla

Nagging Assignee @wt-huang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


Add Babel Legacy Decorator plugin to stage 1

https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy

Added in 0.0.5


Param debug scope metadata.

The debugger scopes are created in the non-debug mode as well. Removed the only-debug-mode check for creating debug scope for parameters.

@agarwal-sandeep have a look.

Looks good to me.