Rmove UseIsolatedEnv from system.Command

This struct attribute is only ever set to true by the bosh-cli, and the value if this use case is in question, see:

https://github.com/cloudfoundry/bosh-cli/issues/660
https://github.com/cloudfoundry/bosh-cli/pull/663
https://github.com/cloudfoundry/bosh-cli/pull/673

In addition the UseIsolatedEnv capability can be wholely handled within the bosh-cli codebase itself without the need for this featuer in bosh-utils.

Deleting because the branch protection will stay 🚫 forever, even though the merge target is no longer master

See: https://github.com/cloudfoundry/bosh-utils/pull/110


tests: Fix pytest scenarios for boot with mcumgr.

Clear buffer before restarting DUT. This is to avoid using lines from previous initial boot, when verifying if upgrade was done as expected in test.
To test one can use (generate hardware map first):
./zephyr/scripts/twister -vv -T zephyr/tests/boot/with_mcumgr --west-flash --hardware-map ~/tmp/hardware_map.yml --device-testing  --enable-slow -s tests/boot/with_mcumgr/boot.with_mcumgr.test_upgrade
to filter one pytest scenario, just add:
--pytest-args='-k test_upgrade_signature[no_key]'

@nordicjm Hey! Care to review this MCUmgr related PR?


Addressing issues with public GitHub

Closes #15
Closes $16

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

:tada: This PR is included in version 0.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fetch size parameter disscuss.

Hi,Erdem
As far as I know，when fetchSize > 1, but sql is 1, logminer will not be able to capture this redo sql due to DB fetch size.
But, when fetchSize = 1, the number of SQL is particularly high，Connector captures very slowly. Is there any way to solve this problem？ Like Kafka produce's configuration:"batch.size" and "linger.ms" .
Thanks.

yes, you are right

Hi, is there any solution for this ?

Hi,
It can be possible , but it requires development of course . I am planning some details to achieve this.
Thanks.

Is there any general direction?
In my test, if DBMS_logmnr.start_logmnr start with endScn, I could capture all the SQL in this range.

What do yo mean by general direction ?

"I am planning some details to achieve this.",  Could you tell me in what way you intend to solve this problem? Overridden some of the oralce JDBC implementation methods? ：）

Not actually. I am planning to add some timer which controls specified duration and propagates data which are not sent to Kafka topic within JDBC fetch process.
Thanks.

Got it ,thanks

Get it ,thanks, Look forward to your next update～～～

Any update?

Not actually. I am planning to add some timer which controls specified duration and propagates data which are not sent to Kafka topic within JDBC fetch process. Thanks.

Any update about it? I found the performance is not good to fetch the data one by one


Performance issue

your admob checks in every frame that if the ad is in the screen view which cost too much performence in android(Dont know about ios).
it almost giving a 60 fps app to hardly 20 fps.
please fix it...

I got the same issue in Android.

HI @anuragsoni300, Thanks for filing the issue, please share the output of flutter doctor -v,In order for this issue to be actionable please provide more details

Is the performance issue with a specific ad or all the ads
what platform are you facing the issue on?
what version of the google_mobile_ads plugin is this issue for.
And also share a minimal reproducible code  sample with the exact steps to reproduce the issue

Please provide the requested information, it helps to better investigate the issue.
Thanks

`[✓] Flutter (Channel stable, 2.2.3, on Linux, locale en_US.UTF-8)
• Flutter version 2.2.3 at /home/maddog/flutter
• Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /usr/lib/Android
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /usr/lib/Android
• ANDROID_SDK_ROOT = /usr/lib/Android
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1-b10)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] VS Code (version 1.58.2)
• VS Code at /usr/share/code
• Flutter extension version 3.24.0
`
Issue is with all ads.
Android platform.
version - 0.13.2+1
One thing is Native Admob Flutter works fine with the same code.

I got the same issue in Android.

just use Native Admob flutter. Its Works fine.

This issue is reproducible the interstitial ad and the rewarded ad roughly run around 20 fps, This issue was verified on the latest stable channel with google_mobile_ads: ^0.13.2+1 on Xiaomi K20 pro (Api 30).

This issue was verified against the official code sample

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-arm, locale en-GB)
    • Flutter version 2.2.3 at /Users/mahesh/Documents/flutter
    • Framework revision f4abaa0735 (4 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.58.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile)     • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro Max (mobile) • 6A434744-B348-4FB3-AB10-131292174456 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.4 20F71 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 92.0.4515.107

• No issues found!

Same, showing banner ad completely ruins the app experience by making everything 3 times slower...

Same, showing banner ad completely ruins the app experience by making everything 3 times slower...

@anuragsoni300 this issue should remain open until this library is fixed.

issue is still not fixed ...

HI @anuragsoni300, Thanks for filing the issue, please share the output of flutter doctor -v,In order for this issue to be actionable please provide more details

Is the performance issue with a specific ad or all the ads
what platform are you facing the issue on?
what version of the google_mobile_ads plugin is this issue for.
And also share a minimal reproducible code  sample with the exact steps to reproduce the issue

Please provide the requested information, it helps to better investigate the issue.
Thanks

issue still there ...:((


New WAFv2 rule (in go) causes CPU to spike and doesn't run

Hello!

Vote on this issue by adding a 👍 reaction
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details

When trying to create a new wafv2.rulegroup in Go, the CPU shoots up to nearly max and won't even show a preview.
❯ go version
go version go1.17.5 darwin/amd64

Steps to reproduce

The following code causes this issue to happen:
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/wafv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wafv2.NewRuleGroup(ctx, "rule-group", &wafv2.RuleGroupArgs{
			Capacity: pulumi.Int(713),
			Scope:    pulumi.String("REGIONAL"),
			VisibilityConfig: &wafv2.RuleGroupVisibilityConfigArgs{
				CloudwatchMetricsEnabled: pulumi.Bool(true),
				MetricName:               pulumi.String("waf-rules"),
				SampledRequestsEnabled:   pulumi.Bool(true),
			},
		})

		if err != nil {
			return err
		}

		return nil
	})
}

a similar program in typescript doesn't have the same outcome (the preview shows and and the resource is created):
import * as aws from "@pulumi/aws";

const rule = new aws.wafv2.RuleGroup("rule-group", {
    capacity: 70,
    scope: "REGIONAL",
    visibilityConfig: {
        cloudwatchMetricsEnabled: true,
        metricName: "test-metric",
        sampledRequestsEnabled: true
    }
})

Expected:  New rule group is created
Actual: new rule group fails to be created and the program just hangs. It doesn't even show a preview

Output from verbose debugger: out.txt

Also getting the same issue with Go Version 1.16.12. Just takes all memory and freezes. This is causing an issue building a production system.

Is there a chance this could be looked at? Causing me a headache for a production build.

Output from verbose logging (pulumi up --logtostderr -v=9 2> out.txt), from https://www.pulumi.com/docs/troubleshooting/#verbose-logging
I0128 11:30:21.376753   32552 backend.go:414] found username for access token
I0128 11:30:22.580922   32552 util.go:561] errors detecting git metadata: 1 error occurred:
* detecting Git remote URL: could not read origin information: remote not found
I0128 11:30:22.584718   32552 backend.go:414] found username for access token
I0128 11:30:22.818288   32552 ignore.go:44] Explicitly ignoring and discarding error: could not read origin information: remote not found
I0128 11:30:23.058584   32552 backend.go:414] found username for access token
I0128 11:30:23.058584   32552 backend.go:924] Stack production being updated to version 7
I0128 11:30:23.467584   32552 update.go:184] *** Starting Update(preview=true) ***
I0128 11:30:23.468796   32552 plugins.go:76] gatherPluginsFromProgram(): gathering plugins from language host
I0128 11:30:23.478590   32552 plugins.go:628] GetPluginPath(language, go, ): found on $PATH C:\pulumi\bin\pulumi-language-go.exe
I0128 11:30:23.478590   32552 plugin.go:126] Launching plugin 'go' from 'C:\pulumi\bin\pulumi-language-go.exe' with args: -root=C:\Projects\GoAnywhere_11_waf,<IP_ADDRESS>:59320
I0128 11:30:23.718762   32552 langruntime_plugin.go:207] langhost[go].GetPluginInfo() executing
I0128 11:30:23.720483   32552 langruntime_plugin.go:115] langhost[go].GetRequiredPlugins(proj=GoAnywhere_11_waf,pwd=C:\Projects\GoAnywhere_11_waf,program=.) executing
I0128 11:30:24.630371   32552 langruntime_plugin.go:157] langhost[go].GetRequiredPlugins(proj=GoAnywhere_11_waf,pwd=C:\Projects\GoAnywhere_11_waf,program=.) success: #versions=1
I0128 11:30:24.630371   32552 plugins.go:88] gatherPluginsFromProgram(): plugin go  () is required by language host
I0128 11:30:24.630371   32552 plugins.go:88] gatherPluginsFromProgram(): plugin aws 4.21.1 () is required by language host
I0128 11:30:24.630371   32552 plugins.go:100] gatherPluginsFromSnapshot(): gathering plugins from snapshot
I0128 11:30:24.630371   32552 plugins.go:137] ensurePluginsAreInstalled(): beginning
I0128 11:30:24.634484   32552 plugins.go:628] GetPluginPath(language, go, ): found on $PATH C:\pulumi\bin\pulumi-language-go.exe
I0128 11:30:24.634484   32552 plugins.go:142] ensurePluginsAreInstalled(): plugin go  already installed
I0128 11:30:24.657425   32552 plugins.go:668] GetPluginPath(resource, aws, 4.21.1): enabling new plugin behavior
I0128 11:30:24.657425   32552 plugins.go:750] SelectCompatiblePlugin(..., aws): beginning
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-1.31.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-2.13.1: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.0.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.1.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.3.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.5.1: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.7.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.8.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.10.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.11.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.12.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.13.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.14.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.15.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.16.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.18.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:779] SelectCompatiblePlugin(..., aws): best plugin aws-4.21.1: semver match
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.23.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.24.1: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.25.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.29.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.30.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:783] SelectCompatiblePlugin(..., aws): skipping plugin aws-4.33.0: semver mismatch
I0128 11:30:24.657425   32552 plugins.go:792] SelectCompatiblePlugin(..., aws): selecting plugin 'aws-4.21.1': best match
I0128 11:30:24.657425   32552 plugins.go:715] GetPluginPath(resource, aws, 4.21.1): found in cache at C:\Users\gb73800.pulumi\plugins\resource-aws-v4.21.1\pulumi-resource-aws.exe
I0128 11:30:24.657425   32552 plugins.go:142] ensurePluginsAreInstalled(): plugin aws 4.21.1 already installed
I0128 11:30:24.657425   32552 plugins.go:157] ensurePluginsAreInstalled(): completed
I0128 11:30:24.657425   32552 plugins.go:246] computeDefaultProviderPlugins(): considering go
I0128 11:30:24.657425   32552 plugins.go:249] computeDefaultProviderPlugins(): skipping go, not a resource provider
I0128 11:30:24.657425   32552 plugins.go:246] computeDefaultProviderPlugins(): considering aws-4.21.1
I0128 11:30:24.657425   32552 plugins.go:277] computeDefaultProviderPlugins(): plugin aws-4.21.1 selected for package aws (first seen)
I0128 11:30:24.657425   32552 plugins.go:283] computeDefaultProviderPlugins(): summary of default plugins:
I0128 11:30:24.657425   32552 plugins.go:285]   aws             = 4.21.1
I0128 11:30:24.663049   32552 step_generator.go:900] stepGenerator.GeneratePendingDeletes(): scanning previous snapshot for pending deletes
I0128 11:30:24.663049   32552 deployment_executor.go:400] deploymentExecutor.retirePendingDeletes(...): no pending deletions
I0128 11:30:24.663049   32552 langruntime_plugin.go:168] langhost[go].Run(pwd=C:\Projects\GoAnywhere_11_waf,program=.,#args=0,proj=GoAnywhere_11_waf,stack=production,#config=3,dryrun=true) executing
I0128 11:30:24.663049   32552 deployment_executor.go:221] deploymentExecutor.Execute(...): waiting for incoming events
I0128 11:30:24.663049   32552 step_executor.go:326] StepExecutor worker(-2): worker coming online
I0128 11:30:24.663049   32552 step_executor.go:326] StepExecutor worker(-2): worker waiting for incoming chains

The issue here is that the schema is highly nested due to the schema that we are ingesting from the TF provider upstream. We would need to rebuild that part of the schema completely and diverge from the upstream provider - this is a major breaking change and not something we can commit to easily

Interestingly, if you just try to compile the wafv2 pulumiTypes.go file with Go directly, it hangs indefinitely. It's a giant file (678KLOCs!!!), so maybe that's the simple answer, that Go is just going to chug away indefinitely here, but I have to wonder if there's some kind of workaround at the Go level that would allow for a successful compile.
pulumi/pulumi-aws/sdk/go/aws/wafv2$ go build -x ./pulumiTypes.go
λ go build -x ./pulumiTypes.go
WORK=/var/folders/l2/vv4rcyx972x1mml3ltxfw1fm0000gn/T/go-build179084767
mkdir -p $WORK/b001/
cat >$WORK/b001/importcfg << 'EOF' # internal
# import config
packagefile context=/usr/local/go/pkg/darwin_amd64/context.a
packagefile github.com/pulumi/pulumi/sdk/v3/go/pulumi=/Users/joeduffy/Library/Caches/go-build/21/2190a8526d7221b752f863c5d52a104ea904407ec1c4fd424ddb948511c72a44-d
packagefile reflect=/usr/local/go/pkg/darwin_amd64/reflect.a
EOF
cd /Users/joeduffy/dev/code/src/github.com/pulumi/pulumi-aws/sdk/go/aws/wafv2
/usr/local/go/pkg/tool/darwin_amd64/compile -o $WORK/b001/_pkg_.a -trimpath "$WORK/b001=>" -p command-line-arguments -lang=go1.16 -complete -buildid viOndUgGembTsJ1BBtCR/viOndUgGembTsJ1BBtCR -goversion go1.17.4 -D _/Users/joeduffy/dev/code/src/github.com/pulumi/pulumi-aws/sdk/go/aws/wafv2 -importcfg $WORK/b001/importcfg -pack -c=4 ./pulumiTypes.go
... never returns ...

For what it's worth, I ran this for a bit longer, and it did actually return:
real	5m39.656s
user	7m36.562s
sys	3m2.775s

That's just pulumiTypes.go; the entire directory also completes, but takes a bit longer:
real	6m10.177s
user	7m39.509s
sys	3m34.597s


questions on source data

Hi summmeer,
I have one question on dataset of source side. You mentioned in your paper that the source part serves as condition for the target part, and noises will only be imposed on target part. However, I didn't see such conditioning. Besides, how to process source together with the noising target during the forward process; I guess the final zT can be concat(Emd(x),yT). In the reverse process or smapling stage, how will source part be functioning?

Hi,
The $x$ in our code corresponds to $z$ in the paper, and we use mask to impose the partial noise. You can refer to:
https://github.com/Shark-NLP/DiffuSeq/blob/f78945d79de5783a4329695c0adb1e11adde31bf/diffuseq/gaussian_diffusion.py#L400
https://github.com/Shark-NLP/DiffuSeq/blob/f78945d79de5783a4329695c0adb1e11adde31bf/diffuseq/gaussian_diffusion.py#L259


Airport lookup

Removes code preventing look up of airports

Closes #1590

it fixes the airport look up and search


Release v1.5.0

0995b57 Updates swagger spec

Are there any corresponding docs that will need to be updated for the new resource?

This is unstable still so not yet - corresponding docs will be completed as part of moving to v1


CLI chaincode query error

I was able to initialize ledger through CLI, but when it came to query, it gave tls error:
2022-07-15 15:34:40.234 EDT 0001 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 26.046986ms with error: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs remoteaddress=<IP_ADDRESS>:7051

The complete error message is:
2022-07-15 15:44:03.061 EDT 0001 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 12.31142ms with error: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs remoteaddress=<IP_ADDRESS>:7051
2022-07-15 15:44:04.075 EDT 0002 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 1.68616ms with error: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs remoteaddress=<IP_ADDRESS>:7051
2022-07-15 15:44:05.589 EDT 0003 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 1.941113ms with error: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs remoteaddress=<IP_ADDRESS>:7051
Error: error getting endorser client for query: endorser client failed to connect to <IP_ADDRESS>:7051: failed to create new connection: context deadline exceeded

It turns out I didn't set up env var correctly, need to do the following:
export CORE_PEER_TLS_ENABLED=true
export CORE_PEER_LOCALMSPID="Org1MSP"
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
export<EMAIL_ADDRESS>export CORE_PEER_ADDRESS=localhost:7051


Sandstorm Vagrant Package

Good afternoon,
Today I would like to present the Sandstorm, since I met I realized that would be the future. Sandstorm is an open source operating system for personal and private clouds, easy to deploy and manage apps.
And I believe that with community efforts can easily launch the package.
Some interesting links:
Link to the Sanstorm - https://sandstorm.io/
Link to the Sandstorm Vagrant SPK documentation - https://docs.sandstorm.io/en/latest/vagrant-spk/packaging-tutorial/
Some tasks need to be completed to function. As:

Unique Login with Sandstorm ( https://docs.sandstorm.io/en/latest/developing/auth/ )
And some others that we can start to discussion here.

In return Sandstorm offers Ossis which is the Sandstorm hosted on their server, we can use to center the community.
What do you think about?

One thing I don't like about Sandstorm is that it forces users to connect using Sandstorm accounts using Twitter/Facebook/email (or at least it did last time I checked). But if you want to branch Nova or maybe add a nova:sandstorm package to make it run on Sandstorm I don't see why not.


FEAT: Create button component

Created a Button component for reusability and avoiding code repetition

Hi @Nutlope Kindly review


acceptance-test/mocha: Return last async helper from test function

similar to https://github.com/emberjs/ember.js/pull/14701
/cc @rwjblue

released as v0.1.4


excuse me, i use your EFI, but my type-c did not work, can you give me any help, thanks

You may try USBMap on your own, not sure why it does not work for you... Thanks!


Open Lineage Services: Correct error in readme

Signed-off-by: Guy Ackermans<EMAIL_ADDRESS>

Step 5 also needs updating because it shows the command to start an OMAG Server and the description says it starts an OMAG Server Platform.

Thanks for the feedback, rephrased it to OMAG Server


Improve setting description for default interpreter setting

Same issue as this: https://github.com/microsoft/vscode-mypy/issues/144
Improve description of the default value of the setting. When it's set to [] it will use the Python extension's selected interpreter. If it's set to a path, it will use that value as the interpreter. See this PR: https://github.com/microsoft/vscode-mypy/pull/152/files

We are reserving this issue for Grace Hopper's Open Source Day, which will take place on September 22nd, 2023. If you're part of the event and would like to submit a contribution to this issue, please let us know, and we'll be happy to assign it to you.
For other community members who are not participating in the event, we appreciate your interest in contributing! We kindly request that you wait until after September 22nd to work on this issue. If no one from the event has been assigned to it by then, we'll gladly assign it to you. Thank you for your understanding and support!

Can you please assign this to me .I am participating in GHC OSD.

Can you please assign this @luabud  to me.

assigning to @srilasya02 since they commented first, @hyndavi17 feel free to ask @srilasya02 to collaborate or find another issue, thanks!


Static tables

Move table's Blade components to support and document their usage.

An option to make pagination yourself would also be very cool.

@Wulfheart, what do you mean exactly?

@zepfietje I think he means the ability to override the behavior of pagination, maybe similar to 'get Heading' function where we can return a custom component for the header. One use case for custom pagination is infinite scroll, what do you think?

I think that requires more work or a dedicated API to be honest. Not sure if that's what Alex meant though.

Great idea.
I had a use case already.
Thank you for the initiative.
https://github.com/filamentphp/filament/discussions/8497

Any updates on this or How can we help


Variable and class with same name mean you can't view the class in the HTML docs

Not sure if this is a usage problem or a bug.
If I have a class - say Foo - and then I have a variable with the same name, the HTML doc output shows the class but clicking that takes me to the variable definition.
I came across this using node.js - I have a module called Foo, I require the module with a reference variable called Foo, and then want to create an instance of Foo called foo. But this means the doc output is broken so I need to rename my reference to the class.
E.g.:
Foo.js
/**
 * Foo class
 * @constructor
 * @this {Foo}
 */
var Foo = function(){};

app.js
/** Foo class reference */
var Foo = null; // would be a require
/** Foo variable */
var foo = new Foo();

If I do a jsdoc *.js on this, I can't browse to the Foo class via the HTML page

I think the solution is to use a line comment, or a normal block comment (not a JSDoc-style block comment), on var Foo in app.js:
/* Foo class reference */
var Foo = require('./Foo');
/** Foo variable */
var foo = new Foo();

Or, if you need to use a JSDoc-style comment for some reason, you can add an @ignore tag:
/**
 * Foo class reference
 * @ignore
 */
var Foo = require('./Foo');
/** Foo variable */
var foo = new Foo();

You probably don't need a JSDoc-style comment on var foo, either, unless you need it to appear in your documentation for some reason.
I suspect this is more of a usage question than a bug, so if you have follow-up questions, I'd appreciate it if you could send them to the jsdoc-users mailing list. (But if you find bugs or have feature requests, please feel free to file new issues.) Thanks for your understanding!


Tagging secrets

It would be nice if the findings had some extra metadata attached to them such as tags.
Describe the solution you'd like
here is an example rule with the tags attribute:
[[rules]]
description = "PyPI upload token"
id = "pypi-upload-token"
tags = ["registry"]
regex = '''pypi-AgEIcHlwaS5vcmc[A-Za-z0-9\-_]{50,1000}'''
keywords = ["pypi-ageichlwas5vcmc"]

cc @zricethezav
I don't mind taking the effort of tagging the existing rules myself if someone else can develop the Go implementation since I'm a Python guy :)

@eyalatox tags are actually already supported... just not documented in the README >.<
https://github.com/gitleaks/gitleaks/blob/master/config/rule.go#L31-L33


Play Framework 2.5.15 --> Play Framework 2.6.7

Untested.  Can somebody QA this?
@mbryzek  @jlogeart

@sullis merged to master; going to try a canary


Add a notification for when the embedded ansible role is activated

This allows us to bookend the possibly long-running process of configuring and starting embedded ansible on a server.
The first notification will get sent as soon as the worker is started on a server and the other will get sent as soon as the embedded ansible service is up and running.
https://bugzilla.redhat.com/show_bug.cgi?id=1444852

Fine backport details:
$ git log -1
commit 70df9b70b9b5a0787cdefa052394023e1ce6d333
Author: Joe Rafaniello<EMAIL_ADDRESS>Date:   Tue Apr 25 10:48:32 2017 -0400

    Merge pull request #14867 from carbonin/add_notification_for_embedded_ansible_role_start

    Add a notification for when the embedded ansible role is activated
    (cherry picked from commit 7d91d8b7965ae9290d65e97fae9b3b5ebc8b5b76)

    https://bugzilla.redhat.com/show_bug.cgi?id=1458356


add anchor-callback to helm chart

This PR updates helm chart with changes for common-previews reflected in
https://github.com/stellar/kube/pull/1013

Reference Server Preview is available here:https://anchor-ref-pr434.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr434.previews.kube001.services.stellar-ops.com/

Preview Sep CI Validation is currently broken. Erika and I are working on it.

Reference Server Preview is available here:https://anchor-ref-pr434.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr434.previews.kube001.services.stellar-ops.com/


build python package error

Cmd：python setup.py install/develop
Error Info：CMake Error: The source directory "***/.setuptools-cmake-build/temp.linux-x86_64-cpython-37" does not appear to contain CMakeLists.txt.
ENV：Ubuntu 18.04.6 LTS，Python 3.7.2, cmake version: 3.10.2

the minimum cmake version: 3.25
https://github.com/microsoft/onnxruntime-extensions/blob/6ac6fb6fbd4e865ee30b31deb6038074a2651fce/CMakeLists.txt#L5


make vagrant-configured spec_helper work on windows

The default "vagrant auto-configured" spec_helper does not work when run from a Windows host in ruby 1.9.3 or 2.0.0.
It looks like ruby was keeping a lock on the config tempfile so the system call to vagrant ssh-config couldn't pipe out to it. Or the system call was keeping a handle on it too long for Net::SSH to read the output back in again. It was unclear. Either way, running rake spec gave me:
C:\src\serverspec> rake spec
c:/Ruby193/bin/ruby.exe -I'c:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/lib' c:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.1.7/exe/rspec --pattern 'spec/serverspec/*_spec.rb'
The process cannot access the file because it is being used by another process.
c:/Ruby193/lib/ruby/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `initialize': getaddrinfo: No such host is known.  (SocketError)

And when I looked at options, nothing had been populated from the config file.
Writing out to it directly from the Ruby and ensuring we've finished with and closed the file before trying to read back in from it seems to do the trick and works cross-platform.

Thanks.

Released as v2.8.1.

Released as v2.8.2.


Search index completely empty

The search index for http://nodemcu.readthedocs.org/ appears to be completely empty. No matter what I search there are zero results. Examples: https://readthedocs.org/projects/nodemcu/search/?q=NodeMCU , https://readthedocs.org//search/?q=ESP8266&check_keywords=yes&area=default&project=nodemcu&version=dev&type=file
I didn't see anywhere that I'd have to configure the search feature(s). Hence, I couldn't possibly have misconfigured anything, could I?

Not sure what the state of Mkdocs search is, there are a few tickets open about it. Sphinx + Markdown will give you full search results, if there isn't anything tying you to mkdocs. Closing this here as there are a few tickets open already on issues with mkdocs and search.

Gee, what's wrong with me and GitHub search? I did query your open issues for search before I submitted this but only now when I looked for Mkdocs search did I see the relevant ones. Adding here for the sake of completeness: #1088 (primary), #1487 (a dup IMO), #1633.
The last one is particularly interesting because it affects an MkDocs project for which RTD search DOES work. Any idea why?

Sphinx + Markdown will give you full search results, if there isn't anything tying you to mkdocs.

For what it's worth: CommonMark, at least in its current state, is a no-go for me.

Ah yes, those are some of the ones I was referring to, but too rushed to link to :)
We haven't had time to revisit search and Mkdocs in a while, I do know of cases where it is working though. There seems to be a number of cases where, I assume, we're not loading the index correctly.

If it works for some Mkdocs projects but not for others there's nothing I can do, right?

@marcelstoer just curious, any reason CommonMark isn't an option for you? I have been considering using it too, as an alternative to MkDocs. Since CommonMark integrates with Sphinx I though it could be quite useful: http://blog.readthedocs.com/adding-markdown-support/

any reason CommonMark isn't an option for you?

Sure, since this issue is already closed anyway we might as well stroll into off-topic territory here. I don't claim to be intimately familiar with CommonMark but I did spend a few hours "analyzing" the project before I decided to go with MkDocs.
While I generally welcome markdown standardization efforts CommonMark just progresses painstakingly slow IMO. I appreciated the team is trying to get everything right the first time but this also means there's endless discussion about every tiny detail. For now all they cared about were the markdown basics. To me CommonMark is no good if it doesn't incorporate markdown features or "extensions" that became de-facto standards over the years right from the start.
The most obvious example of this is the missing table support, see http://talk.commonmark.org/t/tables-in-pure-markdown/81. Every half-decent markdown flavor out there has some syntax to represent tables. And they're not sooo different from each other. Table-support is essential if you are going to use markdown to document your project. Who in his right mind is arguing you should resort to HTML tables just because you use CommonMark.

I see thanks a bunch for the info!

@marcelstoer I was considering this use case this morning, I've raised the question on rtfd/recommonmark#3
I share your frustration with the development speed of the CommonMark spec. I don't use Markdown, but as other authors prefer it, I'd really like to support Markdown better with Sphinx. CommonMark is definitely holding us back there some.

I absolutely wanted to use RTD for my project, most of your stuff is great, but I also wanted to use markdown. The use of both those technologies were "non-negotiable" if you will. So I had to choose the lesser evil: CommonMark or MkDocs. The RTD-MkDocs-integration has its own fair share of shortcomings[1] (no PDF export, no HTML export, broken site search, broken fly-out menu links, broken 'Edit on GitHub' links, "under maintained" RTD theme for MkDocs) but I still opted for MkDocs.
[1] even though we're on the RTD issues list here I don't mean to say or imply the rugged integration be primarily RTDs fault.

I'd like to have an option of using another markdown parser. CommonMark doesn't support tables.


Missing 3rd party LICENSE (github.com/ugorji/go)

Bundled Godeps/_workspace/src/github.com/ugorji/go lost its original LICENSE file which is a violation of license. Please make sure that licensing information is preserved for all bundled 3rd party components. Thanks.

@onlyjob We use Godeps to manage dependency and the problem is in the process of solving now. You could track the issue https://github.com/tools/godep/issues/245 for more details.

Thanks. However it is your responsibility to comply with license (and common sense) requirements by preserving licensing information disregarding which tools are used. I recommend to keep this issue open until it is resolved, this way or another.
Also I suppose the obvious way to fix it would be to pull root directory (ugorji/go instead of ugorji/go/codec) and update paths.

@onlyjob Sorry. You are absolutely right. We should keep this open and fix the license issue as soon as possible.

Thank you.

@jonboulle @philips @eyakubovich @gyuho
Any idea how to solve this one? The simplest way is to just copy in license file. Or we have to patch godep. (I think there is an issue for godep long time ago)

Great https://github.com/tools/godep/commit/dcbe29c7a18887497b4857e64665d25be43f7c7e this is merged. I will just update godep and push in licenses

Thanks!


Tests have long been disabled and probably don't work any more

Due to Github's timeout with no commits, the tests here haven't run for 7 months and are likely incompatible with current DDEV.
Are you still interested in maintaining this?
If so, please consider

Updating the tests.yml file to https://github.com/ddev/ddev-addon-template/blob/main/.github/workflows/tests.yml so that it doesn't time out any more.
Getting the tests (or the add-on) working again.

If not, please consider removing the ddev-get label and probably update the README to say that it's no longer maintained. Or find another maintainer?
Thanks!
-Randy

@rfay thanks for the guidance yes, still interested will make the updates tomorrow morning.

Thanks!


problem between pose form colmap sparse point cloud  and pose in the dataset

hi，I am doing some work on point cloud acceleration nerf. But I find  the pose generated by colmap is different from the pose provided by the dataset. So observing the point cloud under the pose provided in the dataset, the image projection seen is not consistent with the dataset.  How did you solve this problem？

Hi, each run of COLMAP would give different 3D points and poses. We also pre-process the poses in our dataset. It wouldn't work if the point cloud is viewed under the poses given by a different COLMAP run.


Some comments for discussion

Title
Rather than just "QuantEcon", maybe more descriptive "QuantEcon.py: A community based Python library for quantitative economics" or something would be better?
The current version refers to the submodules (game_theory, markov, and others) as "major modules". I thought these were put into submodules just for maintenance reasons, and we didn't mean the top level routines were "minor"?
As future projects, only projects from game theory are mentioned. To have a good balance, it would be better to have a few more from other fields?
References that are not referred to in the text should not be listed.

Thanks @oyamad

Rather than just "QuantEcon", maybe more descriptive "QuantEcon.py: A community based Python library for quantitative economics" or something would be better?

Sounds good to me.

References that are not referred to in the text should not be listed.

@jstac also mentioned this and needs to be fixed. @HumphreyYang and I will look into it.

Many thanks @Smit-create,
I have looked over the updated references. It looks great to me. I will add in some more at places like Tauchen's method.


Build fails with LUAU_BUILD_CLI OFF in 0.618

I'm using luau in my game using CPM - wrapper around CMake's FetchContent.
CPMAddPackage(
    NAME Luau
    GIT_TAG 0.617
    GITHUB_REPOSITORY luau-lang/luau
    OPTIONS
    "LUAU_BUILD_CLI OFF"
    "LUAU_BUILD_TESTS OFF"
    "LUAU_BUILD_WEB OFF"
)

When I updated luau to 0.618 it gets me error:
CMake Error at build/release/_deps/luau-src/CMakeLists.txt:26 (add_library):
  No SOURCES given to target: Luau.CLI.lib

When I set option LUAU_BUILD_CLI to ON - it compiles successful.
Is LUAU_BUILD_CLI still valid after 0.617?

Encountering the same issue with version 0.618 , also using CPM
[cmake] CMake Error at .cache/cpm/luau/5a36f1405dd4de49bd1dfe272cad26d52096480f/CMakeLists.txt:26 (add_library):
[cmake]   No SOURCES given to target: Luau.CLI.lib

Should be fixed!


[Figma] Update Select to match insight report

Description
Update Select component in Figma to reflect insight report
Technical Details

Update component name to match insight report
Update component description to match insight report
Update component variants to match insight report

Acceptance Criteria

Component name matches insight report
Component description matches insight report
Component variants match insight report

Duplicate https://github.com/MetaMask/metamask-extension#workspaces/design-system-61e8a2ae77c3a60012e5003c/issues/zh/58


Erode / dilate preliminary implementation.

Fixes #1719.
Initial attempt to add erode/dilate functionality. It works, but for some reason the morph dilate/erode functionality of libvips (https://jcupitt.github.io/libvips/API/current/libvips-morphology.html#vips-morph) seems to invert the image. While there is a reference to that behaviour in the documentation, I'd like someone to shed some light on that.
Open to any suggestions of course.

Coverage decreased (-0.4%) to 97.002% when pulling 213399f3936a6e0002c1151ac3a600ba8363e3b0 on WRidder:master into cfa4f7d45c0dc4c098bb6e4a665720ee373af830 on lovell:master.

Thank you very much for this PR. I expect to be able to take a closer look at it next week.

@lovell Did you manage to have a look already?

@WRidder you missed a comma in package.json.

@rustyguts Thanks!

Any update on this @lovell? If you want help with a review, I'm happy to help! Would love to have this merged in.

Thanks for you comments! I'll have a look at your suggestions asap :)

If you hadn't noticed, there's been an internal migration to N-API hence the conflicts. As always, happy to keep PRs open for as long as required.

This PR has drifted a bit and there haven't been any updates in 18 months so I'm going to close it for now. Please feel free to re-open with updates or, for anyone else reading this, submit a new PR with this feature.
Thanks again Wilbert for taking the time to work on this PR and improving sharp.


When scaffolding a data view in VS, I get duplicated key error for DOTNET_SKIP_FIRST_TIME_EXPERIENCE

From @twsouthwick (via @piotrpMSFT and @srivatsn) at https://github.com/aspnet/Tooling/issues/1008 (via dotnet/cli#5887 and dotnet/roslyn-project-system#1668)
Steps to reproduce

Set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 as an environment variable
Launch VS (I'm using 15.0.26228.0)
Create an ASP.NET Core application
In project view, right click Controllers ->Add->New Scaffolded Item and then select MVC Controller - Empty
Fill in name

Expected  behavior

New controller should be generated

Actual behavior

Get an error:

For searching, the text is:
Error

There was an error running the selected code generator: 'Item has already been added. Key in dictionary: 'DOTNET_SKIP_FIRST_TIME_EXPERIENCE' Key being added: 'DOTNET_SKIP_FIRST_TIME_EXPERIENCE''

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0)

Product Information:
 Version:            1.0.0
 Commit SHA-1 hash:  e53429feb4

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\1.0.0

C:\Program Files (x86)\Microsoft Visual Studio\2017\Internal>

This should be fixed already.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_f5fg7bgofy/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_f5fg7bgofy/clone/recipe/meta.yaml:22: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_f5fg7bgofy/clone/recipe/meta.yaml:46: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_f5fg7bgofy/clone/recipe/meta.yaml:46: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_f5fg7bgofy/clone/recipe/meta.yaml:46: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_f5fg7bgofy/clone/recipe/meta.yaml:46: missing_description: The recipe is missing a description
Errors were found


add migration state management improvement

adding a bug fix to help prevent a race condition where a new migration started in the background can be lost/deleted while the migrations list is refreshing.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27232

Relevant Lines:
59278

💛  - Coveralls


Rename package configv2 to config

The old config format is no longer needed and as planned
we are renaming configv2 to be simply "config".

Codecov Report

Merging #135 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #135   +/-   ##
=======================================
  Coverage   69.78%   69.78%
=======================================
  Files         101      101
  Lines        6391     6391
=======================================
  Hits         4460     4460
  Misses       1696     1696
  Partials      235      235

Impacted Files
Coverage Δ

exporter/prometheusexporter/factory.go
87.87% <ø> (ø)
:arrow_up:

cmd/occollector/app/builder/exporters_builder.go
92.64% <ø> (ø)
:arrow_up:

receiver/factory.go
100% <ø> (ø)
:arrow_up:

cmd/occollector/app/builder/receivers_builder.go
85.18% <ø> (ø)
:arrow_up:

receiver/zipkinreceiver/factory.go
100% <ø> (ø)
:arrow_up:

internal/collector/processor/queued/factory.go
100% <ø> (ø)
:arrow_up:

config/test_helpers.go
50% <ø> (ø)

processor/addattributesprocessor/factory.go
100% <ø> (ø)
:arrow_up:

receiver/jaegerreceiver/factory.go
100% <ø> (ø)
:arrow_up:

receiver/prometheusreceiver/factory.go
77.5% <ø> (ø)
:arrow_up:

... and 13 more

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 d659119...167d8ac. Read the comment docs.


fix(v2): ignore style imports in excerpt

Motivation
Ignoring style imports when generating excerpt, since this use case was not considered previously.
I noticed that the Infima website is importing a style file, and as a result, the meta description is incorrect.
I also increased the precision of the regex to only consider whitespace characters when checking import/export declarations.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tests.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

LGTM 👍


Chall-Architect chall.toml files give absolute path instead of relative path in windows

When using chall-architect on Windows, chall.toml's files key returns absolute path, instead of relative path.
Expected:
files = ["dist/chall.exe"]

Result:
files = ["C:\\Users\\[...]\\dist\\chall.exe"]

Fixed in 3f2d146


Track bindings in scope

[x] value, function declaration bindings
[x] declaration argument list bindings
[x] variant bindings
[x] let declaration, destructuring bindings
[x] let declaration argument list bindings
[x] lambda argument list bindings
[x] case argument bindings
[x] reset local bindings on declaration visit
[x] remove local ranges after patterns on expression exit visit
[x] tests for all mentioned binding kinds

Nice to have the import shadowing edge cases covered

Now we should be all set.
I'll try to keep commits more on the "do one obvious thing" side now.
In my mind, a code style change didn't seem to require a separate commit. However, keeping in mind that others review commit by commit, separating makes more sense yeah.


modify --model-s3-uri to include /{model_node_name}/

Issue #, if available:
https://github.com/aws-samples/aws-panorama-samples/issues/87
Description of changes:
In the car_tracker_tutorial.ipynb sample notebook, the below cell is failed with S3 404 error.
!cd ./car_tracker_app && panorama-cli add-raw-model \
    --model-asset-name {model_asset_name} \
    --model-s3-uri s3://{S3_BUCKET}/{app_name}/{ML_MODEL_FNAME}.tar.gz \
    --descriptor-path {model_descriptor_path}  \
    --packages-path {model_package_path}

The cause is --model-s3-uri is the wrong path, which does not contain {model_node_name}.

Fail : --model-s3-uri s3://{S3_BUCKET}/{app_name}/{ML_MODEL_FNAME}.tar.gz
Success : --model-s3-uri s3://{S3_BUCKET}/{app_name}/{model_node_name}/{ML_MODEL_FNAME}.tar.gz

SageMaker Compilation job's output is specified as s3://{S3_BUCKET}/{app_name}/{model_node_name}/, so the path should contain /{model_node_name}/ prefix.
I modified its --model-s3-uri  to include  /{model_node_name}/ prefix.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for your PR. Confirmed the issue & fix. Approving & Merging.


update a note descibing how to maintain go version

@peng225

Will this modification be done in another PR?

I believe this is addressed by #161


Replace obsoleted model DynamicPipe by alternatives via conversion script

Reported by dietmarw on 30 Mar 2012 16:23 UTC
In 94503d718fbfad342c73857fc864bf696daaed68 the changelog says:
New dynamic pipe models added: PipeOnePhaseHT, PipeTwoPhaseHT and PipeHydraulic.
which is fine but
DynamicPipe has been moved to Pipes.Obsolete.DynamicPipe.
This is a non-backward compatible change since user's models might use this component.
Please put a copy of the DynamicPipe model back, let it extend from Modelica.Icons.ObsoleteModel and add a note in the description string and documentation that points out which model to use in the future.
Once this is done we can schedule this ticket to the next milestone with a conversion script where the obsoleted model then can finally be removed and references replaced via conversion script.

Migrated-From: https://trac.modelica.org/Modelica/ticket/722

Modified by dietmarw on 30 Mar 2012 16:23 UTC

Comment by dietmarw on 31 Mar 2012 23:46 UTC
Non-backward compatible change reverted in fce2c6ffe5c39efea4a33779a3474d5fd479d87c. Rescheduling this ticket to the next milestone with conversion script (presumably [milestone:MSL4.0]).

Comment by rfranke on 19 Dec 2012 10:19 UTC
The DynamicPipe model has been been declared up-to-date again. The docu of this generic model was updated, motivating the use of more specialized models. The new models PipeOnePhaseHT and PipeTwoPhaseHT are additions to the library.
PipeHydraulic has been removed, because:

docu said: "PipeHydraulic ... is identical to this DynamicPipe, but the heat transfer model and thermal port have been removed." -- does this justify an incompatible change, in particular when considering that the heatPorts are conditionally off per default?
actually the heatPorts have not been removed, but replaced by real inputs, which is unphysical
the name PipeHydraulic is not nice -- think of pneumatic or air conditioning applications, would you suggest PipeHydraulic for ducts in RoomCO2WithControl?
DynamicPipe has references and applications

Last but not least: searching for PipeHydraulic on this site, there finds no entry besides the SVN change notice and this ticket reminding on the need for a conversion script.
Let's continue to work towards simpler, specialized models like PipeOnePhaseHT and PipeTwoPhaseHT.

Changelog removed by rfranke on 19 Dec 2012 10:19 UTC

Comment by dietmarw on 19 Dec 2012 10:31 UTC
FIXED in<PHONE_NUMBER>0664a66fc84c5c721209aa83e77202


Update install instructs

We're not installing kai in the python virtual environment.
Some things work despite that because we're doing tricks like this:
https://github.com/konveyor-ecosystem/kai/blob/main/example/run_demo.py#L13
But I recently had problems trying to run commands in @fabianvf's PR.
-e is just editable. It creates  env/lib/python3.12/site-packages/kai.egg-link that points to the dev directory so that if you update code or change branches it takes effect without going through a dance to reinstall.


Questions about details

Hi @Aria-K-Alethia thank you for the amazing work. May I ask several questions:

What is the model size for small-enc in Table 3?
What is the receptive field of the encoder in terms of second?
For w/o LSTM, what if you increase the dilation or kernel size of each conv layer to enlarge the receptive field to a reasonable level (such as 200 ms)? I guess if the receptive field is large enough, the model w/o LSTM may perform similarly to the one with LSTM, as shown in some speech enhancement models (UNet vs CRN). Maybe the receptive field rather than temporal dependent matters?

Hi,
Thank you for being interested in our work.

About 80M
The receptive field can be considered as infinite, as the LSTM is used.
In the w/o LSTM setting the receptive field of CNN is not increased, and we didn't conduct a formal exp to verify your assumption. But I think it is possible.

Hi @Aria-K-Alethia thank you for the reply. One follow-up question to point 2 is: what is the receptive field before the RNN layer.

You can compute it by yourself :smiley:


EdgeIndicator's line to span whole plot width instead of to the right only?

Is this possible? Right now it seems that horizontal dashed line drawn at current last chart point spans always to the right of it. Doesn't seem to be an option to span it to the left or to both sides. And since edgeAt="left" is a valid option to place EdgeIndicator's value tag on the left of the chart - it makes sense to have an option to draw dashed line to the left of it as well.

Solved by using PriceCoordinate instead and updating it with latest price on each render().
<PriceCoordinate
						    at="left"
						    orient="left"
						    price={state.dataset.data.last().close}
						    displayFormat={format(".6f")}
						    arrowWidth={7}
						    lineStroke={currentPriceColor}
						    lineOpacity={.75}
						    strokeDasharray="Dash"
						    fill={currentPriceColor}
						  />


[WIP]Fix Dask-ML CI

This PR fixes CI

[ ] Fix Linting
[x] Fix Docs Build

Error Details :
This code (see link)   in dask-ml   calls dask.compute  with scheduler="single-threaded"  .
This  causes failures in  dask-ml docs  builds due to it raising the below warning  UserWarning: Running on a single-machine scheduler when a distributed client is active might lead to unexpected results  and thus is blocking the CI
Fix Details:
Remove the dask.compute call  as we dont really need to compute it right away
Todo:

[ ] Address the test_train_test_split_dask_dataframe_rng test that popped up

Closing in favor of https://github.com/dask/dask-ml/pull/929 .


gopages: exclude folders from index

In my repository I'm (1) vendoring my dependencies in /vendor and (2) vendoring various tools such as code generators in /tools/vendor. These all end up in the index when running gopages (though no files are generated in dist/pkg, so they end up with a 404). It would be nice if the folders could be excluded somehow, e.g. via a command-line argument.

Hmm that's an interesting one. Perhaps this kind of filtering is done internally to normal godoc with the package list (go list ./...).
I'm open to a PR with a test to reproduce and a bug fix. (If no one picks it up for a while, I may give it a try.)


Add TorVersion

Add ability to run kmp-process and retrieve the version via --version argument.

Actually, I believe that it'd be better to have a separate TorCli class which will run the tor process with the non startup cli commands (--hash-password, --version, etc.)


render policies

Related issue
N/A
Proposed Changes
Render sample policies
Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

/cherry-pick release-1-13-0


SpendingKey fields should not be public

This struct is leaking abstractions. Let's make the fields private.

SpendingKey is an enum.
pub enum SpendingKey {
    /// a key from [generation_address]
    Generation(generation_address::GenerationSpendingKey),

    /// a [symmetric_key]
    Symmetric(symmetric_key::SymmetricKey),
}

I think you must mean GenerationSpendingKey and GenerationReceivingAddress, both of which presently have pub fields.
I agree they should be private.


Write shortest possible code: python how to read yaml file (python)

Please write shortest code example for this question:
python how to read yaml file in python
How to do it:

Go to python codes
Create new file (named in underscore case, should contain key words from title) with md extension (markdown file).
Propose new file with following content (please use all three blocks if possible - title, code itself and explanations list):

# python how to read yaml file

```python
code part1 part2 part3 ...
```

- part1 - explain code part 1
- part2 - explain code part 2
- ...

More advanced template for examples and linked solutions. More docs here.

How to read yaml file


[webview_flutter][CookieManager] Provide a way to fetch cookies

I have an app that fetches cookies when user login to a forum using webview, which I store locally and use it for authentication later on. I would like to know if you could bring this over to this plugin? Thanks!

Cookies are just headers, you can read them from responses and pass them with requests.
Some frameworks provide special support for handling cookies. Dart does not out-of-the box.
There might be packages on pub.dartlang.org that make that easier.


Added OR statement to Get-PowerCLIVersion check

With version <IP_ADDRESS>04913 of Get-PowerCLIVersion command, the values returned is "VMware PowerCLI 6.5 Release 1 build 4624819" instead of "VMWare vSphere PowerCLI (.*) build ([0-9]+" compatible version. Added an OR statement so it will work for my version without breaking it for others. I am open to a better way of handling this.

Please submit PRs to the dev branch

Resolved conflict
Changed branch from main to dev


Mysql database is not recreated with --build --force-recreate

Info:

Docker version ($ docker --version): Docker version 17.05.0-ce, build 89658be
Laradock commit ($ git rev-parse HEAD): 38fb49bccc5124dfa26b92b809ea6efbd6307eba
System info (Mac, PC, Linux): Linux
System info disto/version: Ubuntu 16.04

Issue:

Database is not recreated with the command:
docker-compose up --build --force-recreate mysql

In my .env file:
MYSQL_VERSION=5.6
MYSQL_DATABASE=mydb
MYSQL_USER=myuser
MYSQL_PASSWORD=myuser123
MYSQL_PORT=3310
MYSQL_ROOT_PASSWORD=root
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d

Expected behavior:

The container recreated from scratch and database recreated

Reproduce:

Start Laradock, rename the database (MYSQL_DATABASE), and recreate the mysql container.

How to docker-compose up --force-recreate without reusing previous volumes -
https://github.com/docker/compose/issues/2127

I think there is an issue with any of the 5.x versions. I consistently get the following when using any version other than 8.0:
> docker-compose up -d mysql

...

> docker-compose ps
      Name                   Command             State    Ports
---------------------------------------------------------------
laradock_mysql_1   docker-entrypoint.sh mysqld   Exit 1

Might this be your case: https://github.com/docker/compose/issues/4273#issuecomment-324054392?

I'm using Docker version 18.06.1-ce, build e68fc7a and I can use the following command to recreate anonymous volumes:
docker-compose up -d --build --force-recreate --renew-anon-volumes db

It seems the flag --renew-anon-volumes was recently added

I'm using Docker version 18.06.1-ce, build e68fc7a and I can use the following command to recreate anonymous volumes:
docker-compose up -d --build --force-recreate --renew-anon-volumes db

It seems the flag --renew-anon-volumes was recently added and it works to recreate volumes created in the Dockerfile of the image.

--renew-anon-volumes works like charm.
As far as I know, db service will run the .sql file in the docker-entrypoint-initdb.d folder for the first time we "docker-compose up" because the volume is not existed. From the second time, we need to use the option --renew-anon-volumes to force db service to re-run the files in docker-entrypoint-initdb.d folder


Docker provider produced inconsistent final plan

Describe the bug
The docker image build step fails to finish when it is run for the first time, resulting in the error below:
Error: Provider produced inconsistent final plan

When expanding the plan for module.malka.docker_registry_image.custom to
include new values learned so far during apply, provider
"registry.terraform.io/kreuzwerker/docker" produced an invalid new value for
.build[0].context: was
cty.StringVal("/Users/miere/Development/Miere/malka/example:fcbca0916114d4357b534b96b00c2dd26e94c9cbec04376fca46a20b6e79dc6c"),
but now
cty.StringVal("/Users/miere/Development/Miere/malka/example:e6b6db7505741dd9796a55df80800376b80c53a78327b99301da794256a7c374").

This is a bug in the provider, which should be reported in the provider's own
issue tracker.

To Reproduce

Do whatever modification in the configuration file so the Docker build step is triggered.
I can be reproduced when run for the first time as well.

Expected behaviour
It is expected the docker build process to work without any issues.
Runtime (please complete the following information):

OS version: Mac OSX 11.2.3
Rust version: 1.50.0
Terraform version: 0.13.6

As a temporary workaround, one can just try again and it will work as expected.


Tutorial Chapter 5 DepthFighting has no documentation.

Originally reported by: Syaiful Nizam Yahya (Bitbucket: syaifulnizamyahya, GitHub: syaifulnizamyahya)

I cant find any info about this tutorial at Arcsynthesis website. Also, the website is down.
https://bitbucket.org/alfonse/gltut/src/1d1479cc7027f1e32c5adff748f3b296f1931d84/Tut 05 Objects in Depth/DepthFighting.cpp?at=default

Bitbucket: https://bitbucket.org/alfonse/gltut/issue/123

duplicate of #5


AggJoiner raises exceptions when trying to join multiple tables at once

Describe the bug
I am unable to use the AggJoiner to execute a join over multiple tables at the same time with different keys.
Given one main table and two aux tables (see example), error checking on the main_key variable prevents me from providing the proper keys.
If I use a list of strings:
main_key = ["key_1", "key_2"]

Then this is interpreted as joining over multiple keys on one table.
If I use a list of list of strings,
main_key = [["key_1"], ["key_2"]]

then the function check_missing_columns in _agg_joiner.py raises an exception because lists are unhashable.
Steps/Code to Reproduce
Setup
import polars as pl
from skrub import AggJoiner

main_table = pl.DataFrame(
    {
        "key_1": [1,2,3,4],
        "key_2": [10,20,30,40],
        }
)
aux_table_1 = pl.DataFrame(
    {
        "key_1": [3,4],
        "key_2": [30,40],
        }
)
aux_table_2 = pl.DataFrame(
    {
        "key_1": [1,2],
        "key_2": [10,20],
        }
)

join_tables = [aux_table_1, aux_table_2]
join_keys = [["key_1"], ["key_1"]]

First exception
main_keys_1 = [["key_1"], ["key_1"]]
aggjoiner = AggJoiner(
    aux_table=join_tables,
    aux_key=join_keys,
    main_key=main_keys_1,
)
joined_table = aggjoiner.fit_transform(main_table)

Second exception
main_keys_2 = ["key_1", "key_1"]
aggjoiner = AggJoiner(
    aux_table=join_tables,
    aux_key=join_keys,
    main_key=main_keys_2,
)
joined_table = aggjoiner.fit_transform(main_table)

Expected Results
Main table should be joined with aux_table_1 and aux_table_2.
Actual Results
Traceback for exception 1:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
File /Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:9
      [2](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:2) aggjoiner = AggJoiner(
      [3](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:3)     aux_table=join_tables,
      [4](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:4)     aux_key=join_keys,
      [5](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:5)     # TODO: write this properly
      [6](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:6)     main_key=main_keys,
      [7](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:7) )
      [8](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:8) # execute join between X and the candidates
----> [9](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:9) joined_table = aggjoiner.fit_transform(main_table)

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:140, in _wrap_method_output.<locals>.wrapped(self, X, *args, **kwargs)
    [138](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:138) @wraps(f)
    [139](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:139) def wrapped(self, X, *args, **kwargs):
--> [140](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:140)     data_to_wrap = f(self, X, *args, **kwargs)
    [141](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:141)     if isinstance(data_to_wrap, tuple):
    [142](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:142)         # only wrap the first output for cross decomposition
    [143](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:143)         return (
    [144](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:144)             _wrap_data_with_container(method, data_to_wrap[0], X, self),
    [145](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:145)             *data_to_wrap[1:],
    [146](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:146)         )

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:878, in TransformerMixin.fit_transform(self, X, y, **fit_params)
    [874](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:874) # non-optimized default implementation; override when a better
    [875](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:875) # method is possible for a given clustering algorithm
    [876](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:876) if y is None:
    [877](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:877)     # fit method of arity 1 (unsupervised transformation)
--> [878](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:878)     return self.fit(X, **fit_params).transform(X)
    [879](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:879) else:
    [880](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:880)     # fit method of arity 2 (supervised transformation)
    [881](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:881)     return self.fit(X, y, **fit_params).transform(X)

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:196, in AggJoiner.fit(self, X, y)
    [178](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:178) def fit(self, X, y=None):
    [179](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:179)     """Aggregate auxiliary tables based on the main keys.
    [180](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:180)
    [181](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:181)     Parameters
   (...)
    [194](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:194)         Fitted :class:`AggJoiner` instance (self).
    [195](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:195)     """
--> [196](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:196)     self.check_input(X)
    [197](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:197)     skrub_px, _ = get_df_namespace(*self.aux_table_)
    [199](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:199)     num_operations, categ_operations = split_num_categ_operations(self.operation_)

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:272, in AggJoiner.check_input(self, X)
    [270](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:270) # Check main_key
    [271](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:271) error_msg = f"main_key={self.main_key_!r} are not in {X.columns=!r}."
--> [272](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:272) check_missing_columns(X, self.main_key_, error_msg=error_msg)
    [274](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:274) # Check length of table and aux_key
    [275](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:275) if not isinstance(self.aux_table, (list, tuple)):

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:67, in check_missing_columns(X, columns, error_msg)
     [52](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:52) def check_missing_columns(
     [53](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:53)     X,
...
---> [67](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:67)     missing_cols = set(columns) - set(X.columns)
     [68](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:68)     if len(missing_cols) > 0:
     [69](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:69)         raise ValueError(error_msg)

TypeError: unhashable type: 'list'

Traceback for exception 2:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
File /Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:7
      [1](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:1) # %%
      [2](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:2) aggjoiner = AggJoiner(
      [3](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:3)     aux_table=join_tables,
      [4](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:4)     aux_key=join_keys,
      [5](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:5)     main_key=main_keys_2,
      [6](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:6) )
----> [7](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/bug_skrub.py:7) joined_table = aggjoiner.fit_transform(main_table)

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:140, in _wrap_method_output.<locals>.wrapped(self, X, *args, **kwargs)
    [138](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:138) @wraps(f)
    [139](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:139) def wrapped(self, X, *args, **kwargs):
--> [140](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:140)     data_to_wrap = f(self, X, *args, **kwargs)
    [141](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:141)     if isinstance(data_to_wrap, tuple):
    [142](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:142)         # only wrap the first output for cross decomposition
    [143](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:143)         return (
    [144](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:144)             _wrap_data_with_container(method, data_to_wrap[0], X, self),
    [145](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:145)             *data_to_wrap[1:],
    [146](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/utils/_set_output.py:146)         )

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:878, in TransformerMixin.fit_transform(self, X, y, **fit_params)
    [874](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:874) # non-optimized default implementation; override when a better
    [875](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:875) # method is possible for a given clustering algorithm
    [876](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:876) if y is None:
    [877](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:877)     # fit method of arity 1 (unsupervised transformation)
--> [878](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:878)     return self.fit(X, **fit_params).transform(X)
    [879](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:879) else:
    [880](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:880)     # fit method of arity 2 (supervised transformation)
    [881](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/sklearn/base.py:881)     return self.fit(X, y, **fit_params).transform(X)

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:196, in AggJoiner.fit(self, X, y)
    [178](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:178) def fit(self, X, y=None):
    [179](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:179)     """Aggregate auxiliary tables based on the main keys.
    [180](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:180)
    [181](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:181)     Parameters
   (...)
    [194](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:194)         Fitted :class:`AggJoiner` instance (self).
    [195](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:195)     """
--> [196](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:196)     self.check_input(X)
    [197](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:197)     skrub_px, _ = get_df_namespace(*self.aux_table_)
    [199](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:199)     num_operations, categ_operations = split_num_categ_operations(self.operation_)

File ~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:335, in AggJoiner.check_input(self, X)
    [332](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:332)     check_missing_columns(table, cols, error_msg=error_msg)
    [334](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:334)     if len(aux_key) != len(self.main_key_):
--> [335](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:335)         raise ValueError(
    [336](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:336)             "The number of keys to join must match, got "
    [337](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:337)             f"main_key={self.main_key_!r} and "
    [338](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:338)             f"{aux_key=!r} for the table at index {idx}."
    [339](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:339)         )
    [341](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:341) self.aux_table_ = tables
    [343](https://file+.vscode-resource.vscode-cdn.net/Users/rcap/Projects/benchmark-join-suggestions/~/opt/anaconda3/envs/bench/lib/python3.10/site-packages/skrub/_agg_joiner.py:343) # Check tables and list of cols match

ValueError: The number of keys to join must match, got main_key=['key_1', 'key_1'] and aux_key=['key_1'] for the table at index 0.

Versions
System:
    python: 3.10.0 | packaged by conda-forge | (default, Nov 20 2021, 02:43:39) [Clang 11.1.0 ]
executable: /Users/rcap/opt/anaconda3/envs/bench/bin/python
   machine: macOS-14.5-x86_64-i386-64bit

Python dependencies:
      sklearn: 1.2.2
          pip: 24.0
   setuptools: 70.0.0
        numpy: 1.24.3
        scipy: 1.12.0
       Cython: None
       pandas: 1.5.3
   matplotlib: 3.7.1
       joblib: 1.4.2
threadpoolctl: 3.5.0

Built with OpenMP: True

threadpoolctl info:
       user_api: blas
   internal_api: openblas
    num_threads: 8
         prefix: libopenblas
       filepath: /Users/rcap/opt/anaconda3/envs/bench/lib/libopenblasp-r0.3.27.dylib
        version: 0.3.27
threading_layer: openmp
   architecture: Nehalem

       user_api: openmp
   internal_api: openmp
    num_threads: 8
         prefix: libomp
       filepath: /Users/rcap/opt/anaconda3/envs/bench/lib/libomp.dylib
        version: None
0.1.1

Is this a case where the MultiAggJoiner is the right object? cc @TheooJ
If so, we should clarify the docstring of AggJoiner, and raise a clean error when it is given multiple tables, pointing to the MultiAggJoiner

I get this error:
TypeError: 'aux_table' must be a dataframe or the string 'X', got <class 'list'>. If you have more than one 'aux_table', use the MultiAggJoiner instead.

I was working from the version available on pip, so that's why the error message was not clear. Switching to the MultiAggJoiner from the main branch fixed the issue.

Yes, the AggJoiner available on PyPI is not the same as the one on the main branch -- but we made sure to include a useful message for that particular case. It'll be available for the next release !
Btw @rcap107 we should have a chat if you have a wishlist for the (Multi)AggJoiner !


Add new variables supported by CBR FScloud module

Below support needs to be added for CBR prewired rules, recently added in CBR module version v1.28.0-
allow_vpcs_to_iam_groups
allow_vpcs_to_iam_access_management

Available in release https://github.com/terraform-ibm-modules/terraform-ibm-cbr/releases/tag/v1.28.0, closing this.


bug in login function

i m sorry if i created this issue at wrong place, but i  reported this on hackerone also but they closed before further investigation.
the issue is about login function while browser configured with burpsuite.
when i am going to login with correct credentials it show error[invalid pass and username], but if you try that  in another browser with this credentials you will get logged in. i just want to check with you that this is a bug? or just happning with me.
i also attached poc link also.
https://drive.google.com/file/d/1HOyEgoJwkq2hi4tWksjSwhd_CMeZwxlK/view?usp=sharing

Hi! For security reports reddit's security.txt has the info on where to go and it sounds like you went to the right place. For general login issues, please check out reddithelp.com. I'm going to close this out as this issue tracker is just for baseplate.py itself.


After publication by the customer in IIS does not write logs

Hi! Thanks for reporting this bug!
Please keep / fill in the relevant info from this template so that we can help you as best as possible.
For .NET Core users, please check the platform support: https://github.com/NLog/NLog/wiki/platform-support
NLog version: 4.7.5
Platform: net5.0 /Blazor Server
Current NLog config (xml or C#, if relevant)
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="false"
      internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">

  <!-- optional, add some variables
  https://github.com/nlog/NLog/wiki/Configuration-file#variables
  -->
  <variable name="myvar" value="myvalue"/>

  <!--
  See https://github.com/nlog/nlog/wiki/Configuration-file
  for information on customizing logging rules and outputs.
   -->
  <targets>

    <!--
    add your targets here
    See https://github.com/nlog/NLog/wiki/Targets for possible targets.
    See https://github.com/nlog/NLog/wiki/Layout-Renderers for the possible layout renderers.
    -->

    <target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
            layout="${longdate} ${uppercase:${level}} ${message}" />
  </targets>

  <rules>
    <!-- add your logging rules here -->

    <logger name="*" minlevel="Debug" writeTo="f" />
  </rules>
</nlog>

What is the current result?
After publishing the solution in my VS in IIS, the "logs" directory with the log file is created. But I cannot achieve the same result in the customer's VS.
CopyToOutputDirectory: Always
IIS_IUSRS permissions: full control
Can you help us by writing an unit test?
no

Sounds like NLog is working, and it is an environment issues. Think StackOverflow is a better place for diagnosing environment-issue.
You can try and enable the internal-logger from from code, and redirect the output to a location that is now to known:

https://github.com/NLog/NLog/wiki/Internal-Logging#enabling-internal-logging-programmatically
https://github.com/NLog/NLog/wiki/Logging-troubleshooting

Sounds like NLog is working, and it is an environment issues. Think StackOverflow is a better place for diagnosing environment-issue.
You can try and enable the internal-logger from from code, and redirect the output to a location that is now to known:

https://github.com/NLog/NLog/wiki/Internal-Logging#enabling-internal-logging-programmatically
https://github.com/NLog/NLog/wiki/Logging-troubleshooting


Question: What will happen if I start the service without stopping the previous instance?

Do I need to do the following in case the service is already running to avoid having 2 instance of the service?
-> Stop Service
-> Configure settings
-> Start Service

Does the following step killing the previous instance of the service?
-> Configure settings
-> Start Service

There is only single instance of service running.

Will configuration change on restarting the service without stopping the service?


[WIP] [BREEZE-590] DenseTensor Implementation

#590
The idea of this patch is to implement a DenseTensor, as the title suggests. It is still a work in progress; however, I decided to raise a PR anyways to elicit comments. I am still very new to Breeze and could do with some guidance, and a thorough review from someone with experience in the codebase.
The primary design choice I made is to choose TensorN over Tensor3, Tensor4 etc. This does give away static type safety, but brings in flexibility in choosing dimensions of the Tensor.
I have in mind the following checklist to complete this patch in the current form:

[ ] Implement UFuncs
[ ] Improve the iterator performance (by adding a cache, probably?)
[ ] Exhaustive tests

Please feel free to suggest more items to add to the checklist. Thank you.

Thank you for reviewing the PR, @dlwh . I hope to make the relevant changes, according to the review comments, sometime this week.


value set 'http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state' is empty or could not be expanded

Is your feature request related to a problem? Please describe.
In the US Core IG, they have a ValueSet for US Postal Service states:  http://hl7.org/fhir/us/core/STU4/ValueSet-us-core-usps-state.json.html
Unfortunately, the codesystem they pull from isn't defined in FHIR:
  "compose" : {
    "include" : [
      {
        "system" : "https://www.usps.com/"
      }
    ]
  }

Our current validation will therefor result in the following warning:
    {
        "severity": "warning",
        "code": "incomplete",
        "expression": ["Patient.address[0].state"],
        "details": {"text": "Membership check was not performed: value set 'http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state' is empty or could not be expanded"}
    }

Describe the solution you'd like
An expanded version of this valueset available in the registry so that we can use it to validate
Describe alternatives you've considered
document how to use the remote term service provider for this codesystem
Acceptance Criteria

GIVEN [a precondition]
AND [another precondition]
WHEN [test step]
AND [test step]
THEN [verification step]
AND [verification step]

Additional context

consider looking to package a set of pre-expanded valuesets because there are other valuesets like 'http://hl7.org/fhir/us/core/STU4/ValueSet-us-core-condition-code.html' that are even more complicated to expand (requires SNOMED CT support)

Verified that this now does not issue any warning if you use a valid USPS Code for the state


libssl triggers SIGILL on sparc64

libssl1.1:sparc64       1.1.0g-2  (Debian GNU/Linux, sid)

During initialization, OpenSSL tries to determine the hardware capabilites and directly issues certain instructions. These cause SIGILL to be thrown (which openssl per se handles, but it still ptracers by default which does not seem too nice). Is there no other way that does not involve relying on signals, like using getauxval(AT_HWCAP) on Linux instead?
Program received signal SIGILL, Illegal instruction.
0xffff80010166a124 in _sparcv9_fmadd_probe () at ../crypto/sparccpuid.S:330
330     ../crypto/sparccpuid.S: No such file or directory.
(gdb) disas
Dump of assembler code for function _sparcv9_fmadd_probe:
   0xffff80010166a118 <+0>:     impdep1  108, %g0, %g0, %g0
   0xffff80010166a11c <+4>:     impdep1  108, %g2, %g2, %g2
   0xffff80010166a120 <+8>:     retl
=> 0xffff80010166a124 <+12>:    impdep2  34, %g0, %g0, %g0
End of assembler dump.
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0xffff80010166a134 in _sparcv9_vis3_probe () at ../crypto/sparccpuid.S:346
346     in ../crypto/sparccpuid.S
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0xffff80010166a140 in _sparcv9_fjaesx_probe () at ../crypto/sparccpuid.S:354
354     in ../crypto/sparccpuid.S
(gdb)
Continuing.
<runs ok afterwards>

See https://www.openssl.org/docs/faq.html#PROG15 for workarounds if you find it counterproductive. As for getauxval(AT_HWCAP), is it expressive enough already? I mean it was really limited last time I checked. In sense that it didn't answer all the questions. And this also means that there is a "timing" factor. I mean if you happen to run on system that provides the interface, but not all relevant values, you'll be missing capabilities. BTW, I don't find no getauxval on Debian 7.8. [Just in case, no, I have no control over machine in question and can't follow various update-this-n-that...

In the essence, what I'm trying to say is that it's not really a coincidence that getauxval(AT_HWCAP) is not used on SPARC. So I'm closing this, but if more concrete suggestion is presented, i.e. not in form of general why-not question, but more detailed this-is-what-one-can-do, then it will be considered.


Add Double Buffering for Live Metrics Document.

Added a double buffering system to enable writing to one buffer while simultaneously reading from another. Added the DocumentBuffer class for managing document ingress, along with the DoubleBuffer class to implement the double-buffering mechanism, allowing for concurrent writes to one buffer while the other is being read.
Usage

To add documents: WriteDocument(DocumentIngress document)
To flip buffers and process documents: FlipDocumentBuffers()

Impact

Performance: Double buffering minimizes lock contention, leading to improved throughput and lower latency in high-concurrency environments.
Reliability: Separates the concerns of writing and reading, reducing the complexity of synchronization.
Maintainability: Encapsulates buffering logic within two clear methods, promoting cleaner code.

API change check
API changes are not detected in this pull request.


Need a demo

may be you can create (and support to the latest release of your plug-in) a public demo, it is really pleasant to see a perfect Google Lighthouse score using a very basic free hosting.... link
My try
Git

Hello,
I really like the idea and appreciate your contribution.
In the documentation, I mainly focused on the technique without ever really highlighting the performance or the interest of using this extension.
Actually, I'm working on vite.js support. I've made good progress and it should be done soon. After that, I'll add a demo with lighthouse results to the documentation.
Thanks @kostyfisik !

I'm glad you found this extension useful.
About Vite.js support, the quasar ssg generate command is successfully implemented (locally on my computer, no pushed commits yet).
SSG + PWA is already supported, and it will for Quasar app using Vite.js too. You just need to enable it by setting ssr.pwa to true in your Quasar config file.
The tricky part now is the quasar ssg dev command with Vite.js support.
SSG is simple for production. The extension pre-render the HTML code for each page and write it to the corresponding "index.html" file. But when it comes to local development with hot reloading, it becomes "weird" to write html to a file when a page is requested by the browser.
Actually Quasar SSR mode with the dev command might do the trick, but I want the developer experience to be as close to the production version as possible without sacrificing too much speed for local development.
The quasar ssg dev command should handle all SSG edge cases before the developer runs into any issues after the production version is deployed.

@kostyfisik ,
I just released a new version supporting Vite.js, if you want to try it and give me some feedbacks that would be awesome.

@freddy38510 LG2M, thank you! I'll check if we can use it in production... it looks pretty promising to improve our web-service...