First pass at supporting RDAP

This is the first pass at doing whois queries via RDAP.
Contact parsing isn't great, but I don't see a lot of contact info out there to parse. There's also some info we're losing from RDAP - maybe a new type to include it.
$ steampipe service start
$ psql postgres://steampipe:xxx@localhost:9193/steampipe
Null display is "(null)".
psql (14.8 (Ubuntu 14.8-0ubuntu<IP_ADDRESS>), server 14.2)
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.
steampipe=> \x on
Expanded display is on.
steampipe=> select * from whois_domain where domain = 'google.com';
-[ RECORD 1 ]--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------
domain                     | google.com
domain_id                  | 2138514_DOMAIN_COM-VRSN
domain_punycode            | GOOGLE.COM
domain_extension           | COM
whois_server               | (null)
status                     | ["clientdeleteprohibited", "clienttransferprohibited", "clientupdateprohibited", "serverdeleteprohibited", "servertransferprohibited", "serverupdateprohibited"]
name_servers               | ["NS1.GOOGLE.COM", "NS2.GOOGLE.COM", "NS3.GOOGLE.COM", "NS4.GOOGLE.COM"]
dns_sec                    | (null)
created_date               | 1997-09-15 04:00:00+00
updated_date               | 2019-09-09 15:39:04+00
expiration_date            | 2028-09-14 04:00:00+00
client_delete_prohibited   | t
client_transfer_prohibited | t
client_update_prohibited   | t
server_delete_prohibited   | t
server_transfer_prohibited | t
server_update_prohibited   | t
registrar                  | {"id": "292", "name": "MarkMonitor Inc.", "email"<EMAIL_ADDRESS>"phone": "tel:+1.2086851750"}
registrant                 | (null)
admin                      | {}
technical                  | (null)
billing                    | (null)
_ctx                       | {"connection_name": "whois"}

steampipe=> select * from whois_domain where domain = 'nda.com';
-[ RECORD 1 ]--------------+---------------------------------------------------------
domain                     | nda.com
domain_id                  | 1197333_DOMAIN_COM-VRSN
domain_punycode            | NDA.COM
domain_extension           | COM
whois_server               | (null)
status                     | ["clienttransferprohibited"]
name_servers               | ["CORTNEY.NS.CLOUDFLARE.COM", "KANYE.NS.CLOUDFLARE.COM"]
dns_sec                    | (null)
created_date               | 1992-04-28 04:00:00+00
updated_date               | 2023-04-22 21:57:05+00
expiration_date            | 2024-04-29 04:00:00+00
client_delete_prohibited   | f
client_transfer_prohibited | t
client_update_prohibited   | f
server_delete_prohibited   | f
server_transfer_prohibited | f
server_update_prohibited   | f
registrar                  | {"id": "48", "name": "eNom, LLC"}
registrant                 | (null)
admin                      | {}
technical                  | (null)
billing                    | (null)
_ctx                       | {"connection_name": "whois"}

BTW, this is a possible resolution to #35.


feat: adds a func environment command

Changes

:gift: Adds func environment to print the current function execution environment as JSON.

See: https://github.com/knative/func/discussions/1676
/kind enhancement
Example output
./func environment
{
  "Version": "v0.0.0",
  "GitRevision": "8a546005",
  "BuildDate": "20230530T212036Z",
  "SpecVersion": "0.35.0",
  "SocatImage": "quay.io/boson/alpine-socat:<IP_ADDRESS>-r1-non-root",
  "TarImage": "quay.io/boson/alpine-socat:<IP_ADDRESS>-r1-non-root",
  "Languages": [
    "go",
    "node",
    "python",
    "quarkus",
    "rust",
    "springboot",
    "typescript"
  ],
  "Templates": {
    "go": [
      "cloudevents",
      "http"
    ],
    "node": [
      "cloudevents",
      "http"
    ],
    "python": [
      "cloudevents",
      "flask",
      "http",
      "wsgi"
    ],
    "quarkus": [
      "cloudevents",
      "http"
    ],
    "rust": [
      "cloudevents",
      "http"
    ],
    "springboot": [
      "cloudevents",
      "http"
    ],
    "typescript": [
      "cloudevents",
      "http"
    ]
  },
  "Environment": [
    "FUNC_REGISTRY=quay.io/lanceball"
  ],
  "Cluster": "https://<IP_ADDRESS>:61315",
  "Defaults": {
    "Builder": "pack",
    "Confirm": false,
    "Language": "",
    "Namespace": "default",
    "Registry": "",
    "Verbose": false
  }
}

Release Note
Adds `func environment` to print the current function execution environment as JSON.

The code style errors are catching the SuggestFor values which are deliberately misspelled.
/override "style / Golang / Lint"

/override "style / suggester / shell"
/override "style / suggester / yaml"
/override "style / suggester / github_actions"

This /lgtm!
/hold for anyone else to perhaps comment, but seems to me this is a great place to start iterating if we think of anything else to add, etc.

it looks good to me. Maybe one very small cosmetic suggestion would be not printing null.. i.e. when no func env var is defined.
Currently it prints
"Environment": null,

what about?
"Environment": [],

but this is cosmetic..

It might be a bit late for this PR (maybe for another).. but what about a -o [json|yaml|human|jsonpath] option?
That would be cool seeing this in other formats (more human readable) following kn, podman, oc` and other cli standards..

@jrangelramos I assumed that would follow in a subsequent PR and have that as a TODO here: https://github.com/knative/func/pull/1761/files#diff-307b508c3eb9b3182cd02cbf3b681ab8f07937ce80be379fdd361bc9c5387d80R154
Seems like it could be a good-first-issue, no?

@jrangelramos @matejvasek thanks for the feedback; I've incorporated it (for additional output formats, I will create an Issue).

/approve
/lgtm

/unhold

@lance you need to override the linter.

/override "style / Golang / Lint

/cherry-pick release-1.10


f3.x86: opt for ttyS0 instead

Seems these new HP machines use this TTY instead
Description
For the f3.medium and f3.large plans, lets use ttyS0 instead
Why is this needed
Not working on ttyS1

var console string

if j.IsARM() {
  console = "ttyAMA0"
  } else {
  switch planSlug() {
    case  "baremetal_hua",
          "d1p.optane.x86",
          "d1f.optane.x86",
          "f3.medium.x86",
          "f3.large.x86":
      console = "ttyS0"
    default:
      console = "ttyS1"
  }```

is the case I had outlined but wasn't able to get working


DOCX files return mime: 'application/zip'

Expected result: application/vnd.openxmlformats-officedocument.wordprocessingml.document

thanks for the issue. will work on the fix asap

released<EMAIL_ADDRESS>

@kev1awlor let me know if it fixed the problem for you

@kev1awlor let me know if it fixed the problem for you

Working 100% ... thanks for the speedy turnaround & thanks for the great package!


Porthole broken in IE 9

It seems that Porthole is broken in IE9 as I am getting the following error on the javascript console:
"No relay set (used as window.postMessage targetOrigin), cannot send cross-domain message"
My same code works fine in Chrome, which is the only other browser I've tested so far.
Interestingly, I am also seeing this log message from Porthole:
"Using legacy browser support"
I am not sure if it's the legacy support causing the problem or not, but when I run the following javascript:
alert((typeof window.postMessage);
I see:
"object"
So IE9 thinks window.postMessage is an object and not a function.
My testing was with IE 9.0.8112.x 64-bit Edition.
I hope this can be fixed soon, as Porthole is a very useful tool, and I'm a big fan of it.
:

I was able to fix my problem (above) by adding this line to the top of the parent (including) file:

When I had the problem, I had no doctype declaration.  I don't know why this fixed the problem (and why it is not needed for Chrome), but it did.


"name" defined for profiles in profiles.json do not matches with tab title

Environment
Windows build number: 18362.175
Windows Terminal version (if applicable): 0.2.1715

Steps to reproduce

Open tabs for PowerShell and CMD
Take a look at Tab Title and compare with name in profiles in profiles.json

Expected behavior

Tab Title should match with name in profiles in profiles.json

Actual behavior

Tab Title is not matching with name in profiles in profiles.json

Screenshot

This is #608. please make sure you search for existing issues before filing a new one


Fix symbol merging of augmentations to pattern ambient modules

Fixes #30752

@typescript-bot perf test this please and thank you

@sandersn the perf test is complaining about this one:
Monaco - node (v8.9.0, x86)  │
────────────┬────────────────────┬────────────────────┬──────────────────┬──────────┬──────────
Emit Time   │    3.01s (± 5.55%) │    3.25s (± 3.03%) │ +0.24s (+ 8.05%) │    2.86s │    3.33s

+8% delta but ±5.55% variance measuring master 🤔 I can ignore this, right?

Practically, yes, because it's a minor change in a component you didn't touch. @rbuckton put together those stats and can say whether that notation means it's technically statistically significant.


Pubsub: ClassNotFoundException org/eclipse/jetty/alpn/ALPN with versions 0.32, 0.35, ..., 0.38

Although I've seen similar issues, they all seem to be closed, I'm still seeing the following error with recent versions of this API.  Related to: https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2740 https://github.com/GoogleCloudPlatform/google-cloud-java/issues/3036
Caused by: java.lang.ClassNotFoundException: org/eclipse/jetty/alpn/ALPN

My test program is doing the following:
ProjectSubscriptionName subName = ProjectSubscriptionName.of("project", "subscriber");
Builder builder = Subscriber.newBuilder(subName, new OurReceiver());
// also tried adding the following
// GoogleCredentials cred=GoogleCredentials.fromStream(new FileInputStream("creds.json"));
// builder.setCredentialsProvider(FixedCredentialsProvider.create(cred));
Subscriber subscriber = builder.build();
subscriber.startAsync().awaitRunning();

Here's my maven pom.xml dependency.  Dependency tree attached:
<dependency>
	<groupId>com.google.cloud</groupId>
	<artifactId>google-cloud-pubsub</artifactId>
	<version>0.38.0-beta</version> <!-- also tried 32, 35, 36, 37 -->
</dependency>

Any idea what I'm doing wrong?  Can I even run this outside of the Google network?  Please excuse the obvious ignorance of this stuff.
dependencies.txt

for me I could solve similar issue using jetty-alpn-agent jar - see my reproducable codebase here - https://github.com/upd-machine/nlu-pipeline/issues/1
wget http://central.maven.org/maven2/org/mortbay/jetty/alpn/jetty-alpn-agent/2.0.7/jetty-alpn-agent-2.0.7.jar

java -jar -javaagent:jetty-alpn-agent-2.0.7.jar nlu-intent-toolkit.jar agent1 "where is porcupine tree playing?" credentials.json

But that is not a prod ready code so i m not sure if that's the best way i will fix it.  This might be helpful - https://github.com/grpc/grpc-java/blob/master/SECURITY.md#tls-with-jdk-jetty-alpnnpn

That didn't seem to work for me.  Neither that nor jetty-alpn-client.  The problem is in io.grpc.netty.JettyTlsUtil which is doing a Class.forName("org.eclipse.jetty.alpn.ALPN", true, null); in the isJettyAlpnConfigured() method.

@j256 I'm glad you figured this out, but this is rather surprising. We should get to the bottom of this.

Actually, all you need is a blank class org.eclipse.jetty.alpn.ALPN to get the package to work.  All it has to do is satisfy the Class.forName() test.

Looks like to get this to run under Java 7 I have to do a:
java -javaagent:/some/path/jetty-alpn-agent-2.0.7.jar ...

Anyone know why this doesn't happen under Java 8?  I've posted this SO question.

ALPN is a red herring of sorts. The ssl layer that's supposed to be used is netty-tcnative-boringssl-static, which should be built into grpc-netty-shaded. If you are facing issues with ssl not being available, it's more likely a platform issue. Could you run google-cloud-compat-checker like @prayagupd suggested?

Hi @j256 I took your Test Subscriber code and tested in my MacOS with java 7/java 8. Its working fine - Here's my testcode for both emitting and consuming events from google pubsub -
https://github.com/duwamish-os/eventstream-skipper-ii.java (run mvn exec:java. It will show you google-cloud logs as well). Please let me know if you have different settings than how I tested.
Dependency jars same as yours;
mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building eventstream-skipper-java 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ eventstream-skipper-java ---
[INFO] com.eventstream.googlepubsub:eventstream-skipper-java:jar:1.0-SNAPSHOT
[INFO] +- com.google.cloud:google-cloud-pubsub:jar:0.39.0-beta:compile
[INFO] |  +- com.google.cloud:google-cloud-core:jar:1.21.0:compile
[INFO] |  |  +- com.google.guava:guava:jar:20.0:compile
[INFO] |  |  +- joda-time:joda-time:jar:2.9.2:compile
[INFO] |  |  +- com.google.http-client:google-http-client:jar:1.23.0:compile
[INFO] |  |  |  \- org.apache.httpcomponents:httpclient:jar:4.0.1:compile
[INFO] |  |  |     +- org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[INFO] |  |  |     +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] |  |  |     \- commons-codec:commons-codec:jar:1.3:compile
[INFO] |  |  +- com.google.code.findbugs:jsr305:jar:3.0.1:compile
[INFO] |  |  +- com.google.api:api-common:jar:1.4.0:compile
[INFO] |  |  +- com.google.api:gax:jar:1.19.0:compile
[INFO] |  |  |  +- org.threeten:threetenbp:jar:1.3.3:compile
[INFO] |  |  |  \- com.google.auth:google-auth-library-oauth2-http:jar:0.9.0:compile
[INFO] |  |  |     \- com.google.http-client:google-http-client-jackson2:jar:1.19.0:compile
[INFO] |  |  |        \- com.fasterxml.jackson.core:jackson-core:jar:2.1.3:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java-util:jar:3.5.1:compile
[INFO] |  |  |  \- com.google.code.gson:gson:jar:2.7:compile
[INFO] |  |  +- com.google.api.grpc:proto-google-common-protos:jar:1.3.0:compile
[INFO] |  |  \- com.google.api.grpc:proto-google-iam-v1:jar:0.4.0:compile
[INFO] |  +- com.google.cloud:google-cloud-core-grpc:jar:1.21.0:compile
[INFO] |  |  +- com.google.auth:google-auth-library-credentials:jar:0.9.0:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:3.5.1:compile
[INFO] |  |  +- io.grpc:grpc-protobuf:jar:1.9.0:compile
[INFO] |  |  |  \- io.grpc:grpc-protobuf-lite:jar:1.9.0:compile
[INFO] |  |  +- io.grpc:grpc-context:jar:1.9.0:compile
[INFO] |  |  \- com.google.api:gax-grpc:jar:1.19.0:compile
[INFO] |  +- com.google.api.grpc:proto-google-cloud-pubsub-v1:jar:0.4.0:compile
[INFO] |  +- com.google.api.grpc:grpc-google-cloud-pubsub-v1:jar:0.4.0:compile
[INFO] |  +- io.grpc:grpc-netty-shaded:jar:1.9.0:compile
[INFO] |  |  \- io.grpc:grpc-core:jar:1.9.0:compile (version selected from constraint [1.9.0,1.9.0])
[INFO] |  |     +- com.google.errorprone:error_prone_annotations:jar:2.1.2:compile
[INFO] |  |     +- com.google.instrumentation:instrumentation-api:jar:0.4.3:compile
[INFO] |  |     +- io.opencensus:opencensus-api:jar:0.10.0:compile
[INFO] |  |     \- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.10.0:compile
[INFO] |  +- io.grpc:grpc-stub:jar:1.9.0:compile
[INFO] |  +- io.grpc:grpc-auth:jar:1.9.0:compile
[INFO] |  \- com.google.auto.value:auto-value:jar:1.4:compile
[INFO] \- com.google.cloud:google-cloud-logging-logback:jar:0.39.0-alpha:compile
[INFO]    +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO]    |  +- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO]    |  \- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO]    \- com.google.cloud:google-cloud-logging:jar:1.21.0:compile
[INFO]       \- com.google.api.grpc:proto-google-cloud-logging-v2:jar:0.4.0:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.335 s
[INFO] Finished at: 2018-03-20T23:13:01-07:00
[INFO] Final Memory: 15M/309M
[INFO] ------------------------------------------------------------------------

platform config is as below
$ mvn exec:java
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Google Cloud Java Compatibility Checker 0.39.0-alpha
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ google-cloud-compat-checker ---
OS details:
  os.detected.name: osx
  os.detected.arch: x86_64
  os.detected.classifier: osx-x86_64
  os.detected.release: null
  os.detected.release.version: null
JVM details:
  Java version: 1.7.0_80
  Java specification version: 1.7
  JVM bit mode: 64
OpenSSL details:
  open ssl is available: false
  ALPN is supported: false
Checking compatibility...
  [PASS] This OS + architecture is supported.
  [PASS] 64-bit JVM is supported.
  [FAIL] Open SSL is NOT available
         Open SSL Unavailability cause:
java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty-tcnative-osx-x86_64, netty-tcnative]
	at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:178)
	at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:403)
	at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:85)
	at com.google.cloud.compatchecker.GoogleCloudCompatChecker.check(GoogleCloudCompatChecker.java:58)
	at com.google.cloud.compatchecker.GoogleCloudCompatChecker.main(GoogleCloudCompatChecker.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
	at java.lang.Thread.run(Thread.java:745)
  [FAIL] Open SSL ALPN is NOT supported
  [WARN] gRPC doesn't work on Google App Engine Standard under Java 1.7
Result: FAIL
  Your environment is not supported by Forked Tomcat Native.
  See http://netty.io/wiki/forked-tomcat-native.html for details.
  This means that you won't be able to use grpc-based APIs, but
  http1-based APIs should still work.

Ok.  Swapping this back in.  Thanks for the help @prayagupd .  I'm getting the following from the compatibility checker which seems to match your's.
google-cloud-compat-checker {localhost}  mvn exec:java
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Google Cloud Java Compatibility Checker 0.40.1-alpha-SNAPSHOT
[INFO] ------------------------------------------------------------------------

```[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ google-cloud-compat-checker ---
OS details:
  os.detected.name: linux
  os.detected.arch: x86_64
  os.detected.classifier: linux-x86_64
  os.detected.release: "rhel"
  os.detected.release.version: 7.3
JVM details:
  Java version: 1.7.0_79
  Java specification version: 1.7
  JVM bit mode: 64
OpenSSL details:
  open ssl is available: false
  ALPN is supported: false
Checking compatibility...
  [PASS] This OS + architecture is supported.
  [PASS] 64-bit JVM is supported.
  [FAIL] Open SSL is NOT available
         Open SSL Unavailability cause:
java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty-tcnative-linux-x86_64, netty-tcnative-linux-x86_64-fedora, netty-tcnative]
        at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:178)
        at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:403)
        at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:85)
        at com.google.cloud.compatchecker.GoogleCloudCompatChecker.check(GoogleCloudCompatChecker.java:58)
        at com.google.cloud.compatchecker.GoogleCloudCompatChecker.main(GoogleCloudCompatChecker.java:47)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
        at java.lang.Thread.run(Thread.java:745)
  [FAIL] Open SSL ALPN is NOT supported
  [WARN] gRPC doesn't work on Google App Engine Standard under Java 1.7
Result: FAIL
  Your environment is not supported by Forked Tomcat Native.
  See http://netty.io/wiki/forked-tomcat-native.html for details.
  This means that you won't be able to use grpc-based APIs, but
  http1-based APIs should still work.

However, when I go to run your program I get similar errors to mine and I'm seeing the following in my logs.
17:18:03.502 [main] DEBUG i.g.n.s.io.netty.handler.ssl.OpenSsl - Failed to load netty-tcnative; OpenSslEngine will be unavailable, unless the application has already loaded the symbols by some other means. See http://netty.io/wiki/forked-tomcat-native.html for more information.
java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_x86_32, netty_tcnative_linux_x86_32_fedora, netty_tcnative_x86_32, netty_tcnative]

I'm running on a:
> uname -a
Linux gwatson-l 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 13 10:46:25 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux

> cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)

Looks like none of the shared libraries load for me.  I see a bunch of log messages like:
17:18:03.492 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'io_grpc_netty_shaded_netty_tcnative_linux_x86_32', trying other loading mechanism.
java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_linux_x86_32 in java.library.path
17:18:03.493 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - io_grpc_netty_shaded_netty_tcnative_linux_x86_32 cannot be loaded from java.libary.path, now trying export to -Dio.netty.native.workdir: /tmp
java.lang.UnsatisfiedLinkError: no io_grpc_netty_shaded_netty_tcnative_linux_x86_32 in java.library.path
17:18:03.494 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'netty_tcnative_linux_x86_32', trying next name...
17:18:03.494 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'io_grpc_netty_shaded_netty_tcnative_linux_x86_32_fedora', trying other loading mechanism.
17:18:03.494 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - io_grpc_netty_shaded_netty_tcnative_linux_x86_32_fedora cannot be loaded from java.libary.path, now trying export to -Dio.netty.native.workdir: /tmp
17:18:03.495 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'netty_tcnative_linux_x86_32_fedora', trying next name...
17:18:03.495 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'io_grpc_netty_shaded_netty_tcnative_x86_32', trying other loading mechanism.
17:18:03.498 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - io_grpc_netty_shaded_netty_tcnative_x86_32 cannot be loaded from java.libary.path, now trying export to -Dio.netty.native.workdir: /tmp
17:18:03.498 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'netty_tcnative_x86_32', trying next name...
17:18:03.498 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'io_grpc_netty_shaded_netty_tcnative', trying other loading mechanism.
17:18:03.499 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - io_grpc_netty_shaded_netty_tcnative cannot be loaded from java.libary.path, now trying export to -Dio.netty.native.workdir: /tmp
17:18:03.499 [main] DEBUG i.g.n.s.i.n.u.i.NativeLibraryLoader - Unable to load the library 'netty_tcnative', trying next name...
17:18:03.502 [main] DEBUG i.g.n.s.io.netty.handler.ssl.OpenSsl - Failed to load netty-tcnative; OpenSslEngine will be unavailable, unless the application has already loaded the symbols by some other means. See http://netty.io/wiki/forked-tomcat-native.html for more information.
17:18:03.503 [main] DEBUG i.g.n.s.io.netty.handler.ssl.OpenSsl - Failed to initialize netty-tcnative; OpenSslEngine will be unavailable. See http://netty.io/wiki/forked-tomcat-native.html for more information.

That's interesting because I'm on a non-fedora 64-bit machine but the messages seem to be trying to load a 32-bit version.  Let me see if I can force that selection.  I've tried the static linked stuff and forcing the native classifier <classifier>linux-x86_64</classifier>.

Oh and @prayagupd , when I run your eventstream, I get: the following exception.  That's similar to mine.  This is with the -javaagent:jetty-alpn-agent-2.0.7.jar argument.
Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Wow, this just came up again.  Related to https://github.com/grpc/grpc-java/issues/3025
What a mess.  So frustrating.

@j256 , the real error that is relevant is "gRPC doesn't work on Google App Engine Standard under Java 1.7". The easiest way to fix this is to upgrade to Java 1.8 on App Engine, which should work fine.

This applies to @prayagupd 's case too.

Moving to Java 7 just isn't possible given my corporate software requirements.

That is very unfortunate - the Java 7 runtime of App Engine will be entirely shut down in January next year (2019): https://cloud.google.com/appengine/docs/deprecations/java7

Noted.

Ok.  I think I've finally figured this out.  We run with a lot of different JREs on our servers supporting various Java variants and I believe this is a 32bit/64bit issue and not a Java7 versus 8 issue.  I'm going to mark this closed but I'll add some details here as I get more details.  Thanks for all of the help.

For the record, I continue to have problems with this on older build boxes running older variants of LibC, mismatched 32-bit and 64-bit JREs, and mismatched JRE versions. It's tricky.  Older servers are especially susceptible to this.


The link "Microsoft Identity Manager" is broken and goes to a 404

The link Microsoft Identity Manager in the documentation is broken and arrives at a 404 page.

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

ID: a68d2671-8e5e-63b2-b5d2-5f58c5b9aa2f
Version Independent ID: 7dd0b7fd-042a-c68f-8979-d5828f1ce2e8
Content: Identity Governance - Azure Active Directory
Content Source: articles/active-directory/governance/identity-governance-overview.md
Service: active-directory
Sub-service: compliance
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

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

Hey @Tiagojaduarte Thanks for your question. The Microsoft Identity Manager link is working now. I am closing this GitHub issue. Thanks! #please-close


HelloEmbeddedEngineering: Added basic content

Contents:

[x] Volatge, Current and basic components.

[x] Embedded engineering principles questions.

[x] Embedded basic C/C++.

[ ] GNU C Compiler (GCC) and Scripting languages questions.

[ ] Advanced embedded engineering questions.

[ ] Advanced C/C++.

[ ] Design patterns and algorithms.

We are going to defer those tasks:

GNU C Compiler (GCC) and Scripting languages questions.
Advanced embedded engineering questions.
Advanced C/C++.
Design patterns and algorithms.

To another PR.....

Going to merge this within 24 hrs if there are no more substantial reviews.


Reorder arguments in quote_token and quote_token_spanned

This PR implements the suggestion in https://github.com/dtolnay/quote/pull/209#pullrequestreview-912775088 to reorder the arguments to these macros, and avoid some parsing of idents during rule matching.
The tests succeed but I'm not familiar with quote's internals, and may have made a mistake, especially on the more complicated rules.
If it's correct, this would result in a small improvement:

Benchmark & Profile
Scenario
% Change
Significance Factor                 ?

ctor-0.1.21 check
incr-unchanged
-3.00%
15.00x

pest_generator-2.1.3 check
incr-unchanged
-2.20%
11.02x

num-derive-0.3.3 check
incr-unchanged
-2.05%
10.25x

ctor-0.1.21 check
full
-1.88%
9.39x

mockall_derive-0.11.0 check
incr-unchanged
-1.82%
9.08x

ctor-0.1.21 check
incr-full
-1.64%
8.21x

scroll_derive-0.11.0 check
incr-unchanged
-1.56%
7.82x

pest_generator-2.1.3 check
full
-1.32%
6.59x

num-derive-0.3.3 check
full
-1.19%
5.97x

futures-macro-0.3.19 check
incr-unchanged
-1.19%
5.97x

pest_generator-2.1.3 check
incr-full
-1.14%
5.70x

num-derive-0.3.3 check
incr-full
-1.09%
5.47x

mockall_derive-0.11.0 check
full
-0.94%
4.72x

scroll_derive-0.11.0 check
full
-0.85%
4.26x

mockall_derive-0.11.0 check
incr-full
-0.78%
3.91x

scroll_derive-0.11.0 check
incr-full
-0.69%
3.44x

futures-macro-0.3.19 check
incr-full
0.05%
0.27x

futures-macro-0.3.19 check
full
-0.04%
0.21x

It looks just how I expected, modulo the missed changes.
I was also going to try putting $tokens last for quote_token_with_context and quote_token_with_context_spanned, to see if that helped as well. (No point doing anything with the higher-up macros like quote_each_token and quote_tokens_with_context because they only have one rule, so there's no need to fail fast.)
I would also put a brief comment above quote_tokens!, something like "$tokens comes at the end so that failing rules will fail as quickly as possible. This helps reduce compile times for crates that use quote! heavily.`

Thanks to the both of you for the review, I'll make the changes asap.

Oh you were super quick, I was completing doing the latest couple changes nick mentioned :)
I'll open another PR in a few minutes.

Testing on the same 6 crates, and in a micro-benchmark: the quote_token_with_context and quote_token_with_context_spanned reorderings don't seem to make much of a difference. The branch is here if anyone is interested, but it's probably no use to open a PR.


Home-Manager Version Mismatch Error with Flakes

With a fresh install of 23.11, adding home-manager as a source pinned at release-23.11, building with home.nix and home.stateVersion = 23.11 produces the following output:
bash-5.2$ nix-on-droid switch --flake .
Building activation package...
trace: warning: You are using

  Home Manager version 24.05 and
  Nixpkgs version 23.11.

Using mismatched versions is likely to cause errors and unexpected
behavior. It is therefore highly recommended to use a release of Home
Manager that corresponds with your chosen release of Nixpkgs.

Please post your flake.nix file in order to allow me to help you debug :)

Sorry about a looong delay! Unfortunately I decided to go back to using Termux for now. I'll close this. Thank you!


Fixed some async methods and added ConfigureAwait(false)

Fixed DynamicApis.FileReadAllTextAsync method so it does not swallow exceptions from the inner task also.

Thanks for the PR!


Travis builds failing after adding AWS creds

In prep for adding SCCache to speed up builds I've added AWS environment variables to TravisCI.  This is apparently causing some tests for the credentials crate to fail.
We should get the tests working again and ensure they aren't dependent on env vars not being set.
Specifically this test fails: https://github.com/rusoto/rusoto/blob/master/rusoto/credential/src/lib.rs#L510 .

It looks like this test is indeed dependent on env vars since it's using the chain provider. There's probably a couple others that use this one too that'll need to be fixed.
Should be easy to swap them out with the exact provider that's being tested here, and luckily this is in a place of the code base were you don't really have to know the inner workings of the credentials crate.
I'd love to see someone take this on, but I'll probably throw something up by the end of the week if no one else does, just cause I'd love to see sccache get out.

Easy local reproduction: in the rusoto/rusoto/credential directory run AWS_ACCESS_KEY_ID=foo2 AWS_SECRET_ACCESS_KEY=bar22 cargo test and see the credential_chain_explicit_profile_provider test fail. 😄


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_55191456-1ee1-488f-be26-daeeaf2abcd8/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_55191456-1ee1-488f-be26-daeeaf2abcd8.git

Docs Build status updates of commit f6bafdb:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/VSC-Service-Account/docs-archive-test-source' (branch: Release_Archive_master_2020-05-29-03-12-33) is not authorized.. It looks like this might be the first time you’ve submitted a pull request to this repo. Before you can run builds in a pull request, you have to enable your GitHub account in Docs by visiting https://opportal-sandbox.azurewebsites.net. After you enable your account, close and then reopen this pull request to start another build.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


done with footer changes#1587

Pull Request Checklist

[x] I have added screenshots and videos to show before and after the working of my code.
[ ] I have ensured that the screen size is set to 100% while making the video.
[x] I have synced the latest fork with my local repository and resolved any conflicts.
[ ] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(issue number) )
[x] I understand that if any the above conditions are not met , my PR will not be MERGED .

@ANSHIKA-26 @hiteashgupta1 do check....

Since i have completed the tasks @ANSHIKA-26
could you avoid a level-2 as you said

@hiteashgupta1 done with changes!!


Provide release steps for Codeflare operator repository

Repository is missing a documentation providing instructions to release a new version.
There is a GitHub workflow for releasing image, but from the readme it is not clear if this is the only action to be done to release this repository or whether there are other actions needed or any external dependency.

There is a new GitHub workflow which should address replaces handling for new releases.

Part of the release is to publish built bundle into community operators catalog - https://github.com/project-codeflare/codeflare-operator/issues/97


Revert leftover of doc changes after commit revert

When I did remove commits we don't need anymore. I had a conflict. I fixed the conflict manually. Then after merging the branches I compared the result with upstream and noticed that I forgot to revert documentation.

+1


[3JH] Live documentation for saas loader page #332

Description
This is a static page that explains how to use the saas page, with screenshots and examples, so that user easily understand what they should do.
Changes include

[ ] Accueil.tsx
[ ] Generated payload.gif

@Loris-Reggiani there is a conflict in Acceuil.tsx. Can you please fix ? Thank you

there are still conflicts


Table Import --- Text wrong ??? And Icon Tooltip ??? | While the Import is running, nothing see on the screen...

Hello,
you know i start the first steps with the VPIN-STUDIO.
I have killed all old tables before and copy fresh new Tables from A-C Inside Tables, Media Folders and so on...
So, then i search how i can first READ ob the Tables Folder.
It was not direct clear for me.
I found this text here on this icon and the Tooltip.
I think, it was wrong !
It means for me "I import the existing Tables (VPX Files into the PinUP Popper.
But i think it must be "Import existing VPX Tables and Mediafiles from PiUP Popper into VPin-Studio"

On the next Screen, the "TABLE IMPORT" are also a missunderstanding Text:
The Tables Folder are not Importet to PinUP POPPER ???
I think, it must be "... importet to VPin-Studio yet.

While the Import is running now (54 tables Import), nothing happens on the screen.
Only a blue turning Mouse.
No screen comes and say IMPORT  12 from 54 is running or something else.
Screebshot not show the turning blue Mouse circle.
But no screen comes.

But i think it must be "Import existing VPX Tables and Mediafiles from PiUP Popper into VPin-Studio"

The media files are not imported. They may be detected "by accident" when the important game has the correct game name.
I will add a hint about that, but renaming the "Game Name" is something that must happen afterwards.

The Tables Folder are not Importet to PinUP POPPER ???
I think, it must be "... importet to VPin-Studio yet.

The Studio only shows the tables that are available in PinUP Popper, so this message is correct.


Validate user-entered JSON in settings

It's easy for users to create invalid JSON in the settings menu. For example, the remote kernels setting should be an Array of objects. If you supply just a single object, like
{
    "name": "remote_name",
    "options": {
        "baseUrl": "http://localhost:8888",
        "token": ""
    }
}

then there's an uncaught error:
Uncaught (in promise) TypeError: this.props.items.slice is not a function
    at SelectListView.computeItems (/home/kyle/github/atom_dev/Hydrogen/node_modules/atom-select-list/src/select-list-view.js:281:44)
    at SelectListView.update (/home/kyle/github/atom_dev/Hydrogen/node_modules/atom-select-list/src/select-list-view.js:174:12)
    at WSKernelPicker.<anonymous> (/home/kyle/.atom/packages/Hydrogen/lib/ws-kernel-picker.js:97:40)
    at Generator.next (<anonymous>)
    at step (/home/kyle/github/atom_dev/Hydrogen/lib/ws-kernel-picker.js:9:273)
    at /home/kyle/github/atom_dev/Hydrogen/lib/ws-kernel-picker.js:9:443
    at new Promise (<anonymous>)
    at WSKernelPicker.<anonymous> (/home/kyle/github/atom_dev/Hydrogen/lib/ws-kernel-picker.js:9:99)
    at Object.connectToWSKernel (/home/kyle/github/atom_dev/Hydrogen/lib/main.js:580:25)
    at HTMLElement.hydrogenConnectToRemoteKernel (/home/kyle/github/atom_dev/Hydrogen/lib/main.js:117:57)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349858)
    at Object.didConfirmSelection (/usr/share/atom/resources/app/static/<embedded>:11:692740)
    at SelectListView.confirmSelection (/usr/share/atom/resources/app/static/<embedded>:11:858030)
    at HTMLDivElement.core:confirm (/usr/share/atom/resources/app/static/<embedded>:11:852909)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349858)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:1230399)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/static/<embedded>:11:1226533)
    at WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/static/<embedded>:11:285037)

it seems that it would be helpful to head off errors like this by validating the schema of input when it changes.
Try Joi

i can fix this can u assign it to me


Add CI for a stable Julia

We should add CI for v1.9 or v1.10, whichever works right now.

that would be 1.10 (and I'm not sure it works yet).

closed by #191


[Favorites] Make gene images show-up in list again.

Fixes #90.
Because of time constraints I decided to fix this the easy way for now and delay a possibly more proper fix to #172.

hah, lovely fix


Cleanup-nextAssociationWithPresentValue

nextAssociationWithPresentValue is the same as nextPresentAssociation

test problem on Pharo12 due to
https://github.com/pharo-project/pharo/issues/15328


Lt.matrix returns the transpose of the list of lists passed to its constructor

Split from gh-108:
>>> import sympy
>>> from galgebra.ga import Ga
>>> base=Ga('b*1|2|3',g=[1]*3,coords=sympy.symbols('x1:4',real=True))
>>> base.lt([
...     [1, -2,  3],
...     [4,  0,  3],
...     [7,  8, -9]
... ]).matrix()
Matrix([
[ 1, 4,  7],
[-2, 0,  8],
[ 3, 3, -9]])

Seems counter-intuitive that the constructor transposes the matrix. Cc @chaowenGUO, since this is very related to gh-104.
Note that this doesn't happen if a matrix is passed directly:
>>> base.lt(sympy.Matrix([
...     [1, -2,  3],
...     [4,  0,  3],
...     [7,  8, -9]
... ])).matrix()
Matrix([
[1, -2,  3],
[4,  0,  3],
[7,  8, -9]])

It looks like this behavior was introduced in 358ca20619b8b2756d75cde4f2df770701615673

Move it to 0.5.0 since it will break backwards-compatibility?

Bumping this again, I haven't used Lt enough to understand it.

We should unify the behavior to the same as when a matrix is passed directly.

Some memories are coming back. The behaviors here have always confused me. Dictionary_to_Matrix() has a call to Transpose() in it. It seems weird to me.

To clearly understand the expected behavior and possibly clean up the implementation, the dependency of this is to add more tests/examples of Lt and lt.py in general, I'll work on that in the next release.

x-ref #208


Release - Add v4 Embeddable Videos

[ ] Video Coverage for webpack 4
[ ] Migration

[ ] Migrating Plugins to V4 Intro

[ ] Defaults

[x] Goodbye CommonsChunkPlugin() Intro - https://www.youtube.com/watch?v=hQBAQh5AFwA

There is no progress on this one for a while, suggest closing it as webpack 5 will land soon. CC @TheLarkInn @skipjack @montogeek

@TheLarkInn What was your plan?


Add two properties into LinkedIntegrationRuntime and update to latest…

… spec
2312
Spec PR: Azure/azure-rest-api-specs#2405

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please add REST spec PR link to the SDK PR
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@shahabhijeet  Changed the PR as your comments.


Tests + fix for groupBy with post-aggregators on complex metrics with the same name

Provides tests reproducing issue #1045.

Fixes #1045 via https://github.com/metamx/druid/commit/60e065db5be152c1f6674322e3e032df16018341

+1

@xvrl : can this be a 0.7.1 fix?

yup, added it to 0.7.1
On Mon, Feb 23, 2015 at 8:53 AM, Charles Allen<EMAIL_ADDRESS>wrote:

@xvrl https://github.com/xvrl : can this be a 0.7.1 fix?
—
Reply to this email directly or view it on GitHub
https://github.com/druid-io/druid/pull/1044#issuecomment-75581837.

Can I propose a simpler fix of just throwing a meaningful exception when agg/postagg match?

@fjy : That is possible, but be aware that the current proposed fix overwrites the prior values with new ones. This means that if someone has complex aggregations and some other post-aggregations, the post aggs will overwrite the aggregators in the results set, this saves on ser/de when sending back to the client.

@cheddar @himanshug @xvrl Any thoughts on this one? In particular with my last set of comments.

I think I agree with @fjy in keeping it simple and just not allowing aggregator and post-aggregator of same names. Semantics are then simpler to understand/explain.
@drcrallen savings on serde, if required, can be attained by fixing #688

@cheddar  / @fjy  / @himanshug / @xvrl
This changes behavior of the query engine and could break existing queries, but now implements the behavior as suggested by @fjy  / @himanshug

LGTM besides the minor comment.

To be clear, the "fix" for the issue is still in the PR, so the underlying logic can support group by queries where the aggregate and post aggregate are named the same but now they simply refuse to.

Coverage decreased (-0.02%) to 52.11% when pulling<PHONE_NUMBER>cf55b0fb64fae4a44bab5cc3040704 on metamx:groupby-postagg-naming-bug into c7ec8ba15b68b171bf7931505e6f95aa8c47d6e4 on druid-io:master.

Modified this a little to also do the same check for aggregators (that aggregator names must be unique)

Coverage increased (+0.01%) to 52.13% when pulling 92de15d6b2fa7ae3a738e8515046bdc68f8a7883 on metamx:groupby-postagg-naming-bug into 9f242ed1ba09ce1f91bf150327fad046c5ce7064 on druid-io:master.

Coverage increased (+0.06%) to 52.18% when pulling e92e664800b4e7d9b37940e1e71c6e30dbd6fb3c on metamx:groupby-postagg-naming-bug into 9f242ed1ba09ce1f91bf150327fad046c5ce7064 on druid-io:master.

Coverage decreased (-0.04%) to 52.08% when pulling f6778651a0bf42525800bc25e7ea31a76376eaf2 on metamx:groupby-postagg-naming-bug into 9f242ed1ba09ce1f91bf150327fad046c5ce7064 on druid-io:master.

Coverage increased (+0.41%) to 52.54% when pulling f6778651a0bf42525800bc25e7ea31a76376eaf2 on metamx:groupby-postagg-naming-bug into 9f242ed1ba09ce1f91bf150327fad046c5ce7064 on druid-io:master.

Coverage decreased (-0.02%) to 52.1% when pulling 1ee7e4898a7b246e71298ca6f5513904e84b7cd1 on metamx:groupby-postagg-naming-bug into 9f242ed1ba09ce1f91bf150327fad046c5ce7064 on druid-io:master.


NUnit not found with Unity 2018.1.0b5 in ZenjectIntegrationTestFixture.cs

ZenjectIntegrationTestFixture.cs as well as ValidateOnlyAttribute.cs reference the NUnit.Framework, which is not found in the latest Version of the Unity 2018.1 beta.
Moving both classes to the Editor Folder of the Zenject plugin solves this problem.

I have the same error on 2018.1. I'm not sure if its just because Unity upped their NUnit version or what?!

I am not seeing this with Unity 2018.1.0b9

I am seeing this with Unity 2018.1.0b9. As @Gravetow mentioned above, moving the classes to the Editor Folder, it works fine.

Oh I see the issue.  NUnit is only included when playmode tests are enabled.  As far as I can tell there isn't a preprocessor define for this so I think I have to zip up the zenject playmode test code and include it as an optional thing

Fixed in version 5.5.0 which should be up in asset store soon


Last steps?

So, I went ahead and created this Skill and it works great through testing. Am I supposed to leave this in development state, just so I can use it? It looks like I need to get it certified and published, however, I have my ID's in the code, so that wouldn't work.
Just wondering where I go after testing. Thanks!

Hi Brianwarehime.
I'm have been struggling with it for a few day and I cant even get the test.
Was there a special way to zip the files., Lambda is giving me a syntaxerror.

@asimfaiz I read the updated directions in https://github.com/jbnunn/Alexa-MyQGarage/pull/7 and that's the only thing I changed (in addition to the original instructions), and got it working. Also, after testing it successfully, I just left it alone, since it worked through the console and on my Alexa, so don't really need to publish it or anything.

ok, ill try it, and yes you don't need to publish it. This is your personal skill

Question please. Did you use notepad to edit the main.py file in order to change your user name and password.

Yea, any text editor should do.

Last question and I wont bother you again
How do I zip them. I only know how to zip using windows explorer. Any special way,
Need help with the following instructions
zip -r lambda-upload.zip main.py requests requests-2.9.1.dist-info

Hah, no worries! :)
If you're on Windows you'll need to do something like this:
"Locate the file or folder that you want to zip.
Press and hold (or right-click) the file or folder, select (or point to) Send to, and then select Compressed (zipped) folder.
A new zipped folder with the same name is created in the same location. To rename it, press and hold (or right-click) the folder, select Rename, and then type the new name."
If you're on a Mac, you can just run that command in the terminal when you're in the folder with all those files.

Thanks I will try it.
What threw me off was;
"specific instructions are needed for creating the zip archive. You
can't just zip up the parent directory"

Hi Brian,
I successfully configured everything and was able speak the command and Alexa responses back "that the door is opened" BUT the door neither closes to opens. I don't see any errors in Lambda Logs
any suggestions

Asimfaiz, did you ever get this issue resolved?  I'm running into the same issue as you.  I'm able to issue the open and close command and Alexa responds to confirm but the garage doesn't actually open or close.

I also don't see any error messages from the logs.  I do see the print messages before the http request is sent.

No the issue didn't resolve and no one responded so I gave up .
Would love to get it working
Sent from my iPhone

On Nov 26, 2016, at 12:29 AM, Marc Bui<EMAIL_ADDRESS>wrote:
I also don't see any error messages from the logs. I do see the print messages before the http request is sent.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @asimfaiz.  Is this still an issue for you?  Maybe adding some messages to the script may help better identify the problem you are facing.


[NEED TO BE TESTED FIRST] - This is made for OrderBookNaiveImpl
It's not yet tested or performent but ready for improvements and the concept is there.
Used ConcurrentHashMap to store Bid/Ask orders for stop loss, since it's synchronized ... can be changed for a better and performent solution.
Collections.synchronizedList to stock range prices (rounded prices).
Why rounding prices?
The goal is to split the ConcurrentHashMap into various one depend on the rounded price, let's take an example better than thousen words:
If the stop price is: 1966$, it will be rounded by 50 which makes it: 2000 - The result will be a key in the ConcurrentHashMap and many new stopLoss orders within that range (1999, 1956, etc.) will be stored as an ArrayList into the value of that key.
Let's suppose we will get stop price: 2001, the new Key to store the stopLoss orders is: 2050 and all the one between 2050 - 2001 will be stored as list into this key.
50 is by default and can be changed as you wish to 100, 200, 500, 1000 etc.
The reason behind this, is to split the Map and quickly find the targetted pricing, it is also open for improvements, imagine you get +1M stop loss orders and be stored on one TreeMap? Each time iterating that big Map will slow down the matching engine, but this way it's fast by need to be studied well. This is a hard coded solution, but there is another way to do it in a separated micro service.
Cancel, Reduce, Move orders operations not yet implemented.

The best way to do it is to manipulate it side by side as exchange-core.
Will probably post another experience in the future.


Deprecation warning with Github Publisher

Hi. I have been using @electron-forge/publisher-github as my publisher but I have started receiving deprecations warnings during publish which I noticed today while the publish happened. Screenshot below.

Looks like the publisher might need to be updated according to the API changes.

Just saw this after I made an issue and a PR
https://github.com/electron-userland/electron-forge/issues/1672
Could someone look this over? Working with octokit is very new to me and I'm not  quite sure how to update the tests to work.

Closing in favor of #1672


Is it possible to make the brackets colorizer the same color of current theme?

It pisses me off the fact that the brackets have those 3 very exclamative colors. I want to find a way to make they the same color of the default brackets of my color theme. Is it possible to do something like this? For example, if the bracket is red, the line should be red too and so on.

    "Gold",
    "Orchid",
    "LightSkyBlue"
]


Revamps the URL command and adds support for custom names for url.

Issue: #520
Signed-off-by: mdas<EMAIL_ADDRESS>This revamps the URL command and adds support for custom names for url. It also adds a component flag to the create command for URL to specify the component. It also changes the behaviour of the odo delete command and now a component flag can be passed to delete the url from or else the current component is used.

@cdrage Done

@kadel Done

@kadel Done

@mik-dass Please just add new commits, instead of squashing everything into one. It will make reviews much easier.


[FormRecognizer] Implemented Document Analysis Client live tests

This PR has been moved from the private .NET repo to the public one. To make the review process easier, the first commit contains the code exactly as it was before the PR was reviewed. The second commit contains the changes made after that.
I think these tests could be more polished, and maybe cover more scenarios, but we at least have coverage parity with what we had in V2.

API changes have been detected in this PR. You can review API changes here

API changes have been detected in this PR. You can review API changes here


recruitment#46: "Effort.attempts never empty"

closes #46

Codecov Report
Base: 94.41% // Head: 94.44% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (9b07746) compared to base (e2392b1).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   94.41%   94.44%   +0.02%
==========================================
  Files           3        3
  Lines         197      198       +1
  Branches       22       22
==========================================
+ Hits          186      187       +1
  Misses          8        8
  Partials        3        3

Impacted Files
Coverage Δ

recruitment/agency/resources.py
91.66% <100.00%> (+0.17%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Redirect User To Fund Search With Empty Cart And Checkout

That cart page is pretty pointless without helping the user get to a fund they want to donate to.
When you go to "/checkout" with an empty cart, you get redirected to the front page with the message "Add some items to your cart and then try checking out."

Both could be improved by redirecting to "/fund-search" and adding a message...but there needs to be some kind of alert/toast/whatever thing where the alerts go. Can be a bar with an "X" to close. Can only appear for three seconds...etc.

I'm not sure what this means anymore.


Rough metal looks too dark, may be losing energy

I've often thought that the full-roughness, full-metal spheres in the MetalRoughSpheres demo looks much darker than the other 3 extremes.  At a SIGGRAPH 2017 course on Physically Based Shading, the last presenters in the group were Christopher Kulla and Alejandro Conty, presenting Revisiting Physically Based Shading at Imageworks [slides] [supplemental].
Pretty early in that slide deck, the authors dig into "Microfacet Energy Compensation" and talk about the problem of rough surfaces losing energy and ways to compensate.
Perhaps we can add some form of energy compensation to this reference shader?

/cc @abwood @moneimne @snagy

This might be related to the BRDF LUT being converted from sRGB to linear, while I suspect it is actually already in linear space, see #64 and #45

Belongs only to previous viewer.


Ruby version not set on first compile

I've set a project up according to the docs here, but when I run rake compile the first time, I get this error:
$ rake compile
cd tmp/x86_64-darwin22/mygem/3.2.1
/Users/me/.rvm/rubies/ruby-3.2.1/bin/ruby -I. -r.rake-compiler-siteconf.rb ../../../../ext/mygem/extconf.rb
cd -
cd tmp/x86_64-darwin22/mygem/3.2.1
/usr/bin/make
generating /Users/me/Code/mygem/target/release/libmygem.dylib (release)

// SNIP ....

error: failed to run custom build command for `mygem v0.1.14 (/Users/me/Code/mygem/ext/mygem)`

Caused by:
  process didn't exit successfully: `/Users/me/Code/mygem/target/release/build/mygem-d7552165fcd432a6/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rb-sys-env-0.1.2/src/ruby_version.rs:128:18
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make: *** [/Users/me/Code/mygem/target/release/libmygem.dylib] Error 101
rake aborted!
Command failed with status (2): [/usr/bin/make...]
/Users/me/.rvm/gems/ruby-3.2.1/gems/rake-compiler-1.2.1/lib/rake/extensiontask.rb:181:in `block (2 levels) in define_compile_tasks'
/Users/me/.rvm/gems/ruby-3.2.1/gems/rake-compiler-1.2.1/lib/rake/extensiontask.rb:180:in `block in define_compile_tasks'
Tasks: TOP => compile => compile:x86_64-darwin22 => compile:mygem:x86_64-darwin22 => copy:mygem:x86_64-darwin22:3.2.1 => tmp/x86_64-darwin22/mygem/3.2.1/mygem.bundle
(See full trace by running task with --trace)

If I instead run this:
$ DEP_RB_MAJOR=3 DEP_RB_MINOR=2 DEP_RB_TEENY=1 rake compile

then it works, and subsequent builds work without needing to set those environment variables as long as I keep the target directory around.
I don't see any docs about setting those env vars, which makes me think I shouldn't have to do this, am I doing something wrong here?

Those env vars are setup by rb-sys-env. It's needed when you want to run cargo test, and generally shouldn't impact rake-compiler-dock builds. Can you point me to the docs you used?
Fixes

In general, the best way to start a new gem is to use bundler now:

$ gem update --system
$ bundle gem --ext=rust mygem

In your particular case, I think adding a build.rs file with the below will fix things:

// build.rs

fn main() -> Result<(), Box<dyn std::error::Error>> {
  let _ = rb_sys_env::activate()?;
  Ok(())
}

I'm trying to convert a rutie project over to use magnus instead, so my gem layout might not be exactly the same, but I tried to get all the pieces into place. I already have the build.rs with those contents, that's where the error is coming from:
Caused by:
  process didn't exit successfully: `/Users/me/Code/was/mygem/target/release/build/mygem-d7552165fcd432a6/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rb-sys-env-0.1.2/src/ruby_version.rs:128:18
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/std/src/panicking.rs:575:5
     1: core::panicking::panic_fmt
               at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/core/src/panicking.rs:64:14
     2: core::panicking::panic
               at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/core/src/panicking.rs:114:5
     3: core::option::Option<T>::unwrap
     4: rb_sys_env::ruby_version::verpart
     5: rb_sys_env::ruby_version::RubyVersion::from_raw_environment
     6: rb_sys_env::rb_env::RbEnv::ruby_version
     7: rb_sys_env::rb_env::RbEnv::print_cargo_rustc_cfg
     8: rb_sys_env::activate
     9: build_script_build::main
    10: core::ops::function::FnOnce::call_once

Do you have rb-sys listed as a dependency in Cargo.toml? That is required for rb-sys-env to work

Yep, that did fix it. I'm curious why, though, since I did have magnus with features = "rb-sys-interop", and that was pulling rb-sys in.

Sorry for the late reply, wrote a response earlier but forgot to click the  green button 😨

Yep, that did fix it. I'm curious why, though, since I did have magnus with features = ["rb-sys-interop"], and that was pulling rb-sys in. Adding rb-sys to the Cargo.toml changed nothing about the Cargo.lock so I guess I'm just surprised it made a difference

Essentially, it comes down to how Cargo propogates configuration via the links manifest key. In order for a crate to receive the DEP_RB_* configuration options needed for rb-sys-env to work in a build.rs, the crate has to have a direct dependency on rb-sys. Hopefully that makes sense


Hotfix registry web portal issue

There is an issue in prod where users cannot review the project details page properly. A hotfix is needed.

**Hotfix updated on the platform-registry-prod silver cluster: Feb 09, 2021


Show how to get the drive item of the AppRoot Folder

I'm trying to enumerate the children of a folder in the special folder AppRoot, but the docs show drive ID listed, but what is the drive ID of the AppRoot? Docs should show real world code examples.

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

ID: 18dfd099-0d73-55e4-56ec-d9129b83aa07
Version Independent ID: 5705a946-2c25-0d04-a297-01ccb21d7284
Content: List the contents of a folder - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/driveitem-list-children.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKelley

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


CUDA build now working (MLDB-1786)

Fixes a few bits and pieces that allow CUDA support to be built for Tensorflow.
It's a no-op in the official build as it requires the WITH_CUDA variable to be set, which isn't by default.
Note that CUDNN isn't currently supported.

+1


Add more texture file extensions by default to QodotMap

This allows importing BMP, EXR, HDR, JPEG, TGA and WebP textures out of the box.
Note that this PR is not tested.
This closes https://github.com/QodotPlugin/qodot-plugin/issues/150.

Looks like it works, though Trenchbroom 2022.1 doesn't support EXR or HDR yet. I think this is a good addition though, especially if EXR/HDR support is coming in a later version. Interesting it still lets you assign these images to brushes in Trenchbroom:


Cherry picks 1.2.0

This is a collection of cherry-picks (with a few fixups) to get the build for the 1.x branch sync'd up with build fixes from master.

Sorry @tstruk, didn't mean to add you as a reviewer to this. All picks come from master which have already been reviewed.


Deterministic manifest address

Summary
When I upload a tar file using the /dirs endpoint twice I get different manifests. It would be nice if there was a way to upload the same file twice and getting back the same reference.

This is intentional behavior, random obfuscation key is generated for each manifest (to prevent some possible attacks, for example Known-plaintext attack).
@zelig can provide much better explanation about this.

this is still annoying. we should be able to set the obfuscation key deterministically

I can imagine having a query parameter on the endpoint where you can pass in the obfuscation key.

@zelig Of course, I am not opposed to this. Support for that is in the manifest library. Only question is how do we want to implement this change.

@zbiljic , what about the suggestion by @agazso ?

@Eknir I do not have any opposing arguments. There are numerous possibilities for solving this, some could be done without user involvement.
However, as I mentioned, I would want comment from @zelig about this, as discussion contradicts his previous comments.
One comment here is that we should create obfuscation key deterministically, which should be possible, and that can be done, I would just like some confirmation about this.

Hi @agazso , I was trying to make a user story out of this, and it actually strikes me that I couldn't find a real reason why a user would want this, apart from "it would be nice to have this". I also believe this myself. Actually, I realized this is due to not understanding why similar content would have a different hash.
Would you agree that this "not understanding" is the real reason? Do you think that this issue can also be solved with a proper reasoning as to why the address of similar content uploaded via the dirs api is different?

Note: I also don't know why this is the case myself. Maybe @zbiljic can enlighten us (I ready up about the known-plaintext attack, but still don't understand)?

Hi @agazso , I was trying to make a user story out of this, and it actually strikes me that I couldn't find a real reason why a user would want this, apart from "it would be nice to have this". I also believe this myself. Actually, I realized this is due to not understanding why similar content would have a different hash.
Would you agree that this "not understanding" is the real reason? Do you think that this issue can also be solved with a proper reasoning as to why the address of similar content uploaded via the dirs api is different?

By design static content stored on swarm is content addressed. That means if I upload a file I get back its content hash as its address. When I upload the same file twice I get back the same hash. Therefore at any time I can verify if the content integrity and has not been tampered with. This makes the system trustless. (With dynamic content (e.g. Single Owner Chunks) the integrity is provided by the signature).
When I upload a directory I would assume the same integrity requirements. I upload a directory twice, I get back the same hash. If I understand correctly the manifest changes each time because there is a random obfuscation key attached to it and the reason for that to protect against certain attacks when the content is encrypted by swarm, similar to a nonce. If this is correct then I think this is not necessary in the case the content is not encrypted by swarm (or it can be constant). In the case of encrypted content, this obfuscation key could be either provided by the user (for example by providing as a query parameter) or returned along with the content hash so that the user can verify the hash on the client side.
There are more practical user-stories I can come up with if you want, but I think this is a fundamental aspect of swarm so it would be good if we had a shared understanding and agreement about this.

the obfuscation should only be used whe the manifest is encrypted.
my earlier comment saying it should be custom configable is silly, sorry.

Documentation:
@significance wants to add a little info box

Documentation:
@significance wants to add a little info box

added a ticket to bee-docs https://github.com/ethersphere/bee-docs/issues/162

@Eknir feel free to close when you get a moment


Added some changes

Added a .gitignore
Formatted the code using yapf

Remove formatted code.

Remove formatted code.

Please reopen your PR


Add method requirePk() to Query classes

Thanks for the require* methods! :+1:
I would like to have a requirePk method (like findPk). Is there a reason why this method was not added?

Yes, I agree, this would be also pretty handy, although it's a bit more work as you have to work with the huge ObjectBuilder class.

Is there a reason why this method was not added?

I don't think so. Probably just because it would has been way more work then :p

you have to work with the huge ObjectBuilder class

Why? Wouldn't it be enough to add this method to ModelCriteria?
    public function requirePk($key, ConnectionInterface $con = null)
    {
        $result = $this->findPk($key, $con);

        if ($result === null) {
            throw $this->createEntityNotFoundException();
        }

        return $result;
    }

Oh, yeah you're of course right.

Am 08.01.2015 um 13:18 schrieb Gregor Harlan<EMAIL_ADDRESS>you have to work with the huge ObjectBuilder class
Why? Wouldn't it be enough to add this method to ModelCriteria?
public function requirePk($key, ConnectionInterface $con = null)
{
    $result = $this->findPk($key, $con);

    if ($result === null) {
        throw $this->createEntityNotFoundException();
    }

    return $result;
}

—
Reply to this email directly or view it on GitHub.

Looks great, thanks :)

thanks


Merge branch to main for: Save Raw should save all records when only 1 selected. #315

Closes #315


Autopause isn't working with Background Music

OS: Mac OSX 10.13.6
GPMDP Version: 4.6.1
Issue Descriptions: Running the most recent Background Music, 0.3.0, it is supposed to auto-pause GPMDP when another audio source is detected. Seems to work with spotify and such. I have it running on youtube music, but it doesn't pause on either. I've tried restarts, reinstalls, all the settings, the whole gammut.
Disappointing, as this is why I downloaded the app. I love auto pause, I already used youtube music, but I hate spotify.
Steps to Reproduce: ...not sure what else to do other than install both, and set the settings.

I'm not sure how this integration works, maybe someone with a better knowledge of OS X can chime in.


Support ZMQ messaging

Hello,
There is a plan to support ZMQ messaging?

Not at the moment, but it would be nice. If you are happy to help with that I can guide you through the related codebase in order to contribute.

Yes, indeed I can have the use case and I'll help if we need it :+1:


chore: fix typos

chore: fix typos

Nice @omahs !
I'm not sure if the foundation intentionally does not accept external contributions in this repo yet, or if it's a leftover. I'll forward the question to the team.

After discussing, it appears the repo does not currently accept external contributions, notably because the automatic test suite is not yet fully developed. Therefore, I cloned your typo corrections into PR #905. Thanks for the hints!


JavaScript Capstone Project Final Review

RSL Media -JavaScript Capstone Project 🥇
We are 3 micronauts who completed the JavaScript Capstone.

[ ] Student A @raihan2bd
[ ] Student B @Salwa99
[ ] Student C @lugard1

The main Theme of our project is an online Entertainment Site. In this PR We made necessary changes to fulfill the Microverse core requirement of the JavaScript Group Capstone project.
Summary 🔽

[ ] At first, we set up the project by copying the project template and setup the Linters, and also setting up the Webpack to compile the project. ✔
[ ] Then We add Html structure and then display the item list with likes count using TV Maze API and Involvement API ✔
[ ] Then We added new Likes functionality on the Home Page. ✔
[ ] Then We added Comment Popup functionality to display the comments with count ✔
[ ] Then We added Create Comment functionality and manipulate the dom to update it. ✔
[ ] Then We Added the Reservation Popup functionality to display reservations with a number of reservation counts. ✔
[ ] Then We added Create Reservation functionality and manipulate the dom to update it. ✔
[ ] Then We Test our Item Count using DOM UI ✔
[ ] Then We Test our Comment Count using DOM UI ✔
[ ] Then We Test our Reservation Count using DOM UI ✔
[ ] Then We added the necessary CSS Styles to our project. ✔
[ ] Finally, We create another branch and apply the necessary accessibility to our project. ✔

Project Demo 🚀

Note:
Every Time we added a feature to our project we created a pull request and performed a code review.
Usefull Links ⬇
Live Demo on GithubPage
Project Presentation Video.
Out Project Kanban Board
TV Maze API
Involvement API
Thanks a lot for visiting this pull request 🙏 . If you have any questions about this PR feel free to ask 🙂

Hi @TuyishimireEric, and @christianbiring1.   Thanks a lot for the optional suggestions you gave us. 🙏  We will try to implement those suggestions outside of Microverse program time. We really appreciate your suggestions.


Hide or remove the display of daala-tools metrics

Hide or remove the display of daala-tools metrics in the per QP grid below the graph.
See https://github.com/xiph/rd_tool/issues/88

Fixed in https://github.com/xiph/awcy/pull/255


disable drag

can we disable the dragging feature?

i solved this by calling refresh(tasks) with the current tasks inside the "on_drag" handler.

@jappyjan thanks for the reply.
i have added onDrag event with this library but still not working. You can check code in below codesandbox.
https://codesandbox.io/s/epic-greider-vvrv1

i need this

Any updates on the feature request?

The problem is solved if you take this.bind_bar_events comment line, which is called by the bind_events() method in frappe-gantt.js. Both the progress bar and task movement are disabled.

I came across this same issue recently, this fork added a draggable option to easily disable.
https://github.com/Alisher778/frappe-gantt-extended


Rank keyword hits higher

... or @hmusum

Thanks! I need to look a bit closer into this, doc is still not in results, PR coming soon


upgrade rollup

Re-creating #206.

Closing as Stacey is going to address this with the fixes to the action.


Question: Copy one flatpickr input field to another

What would be the best way, that when one input field changes it updates another input field with the the same Date/Time values? This would be a one way copy — where the other field can then be changed independently.
I tried create a mimic stimulus controller that would copy the value on input, however this doesn't work — and I'm also using the altInput so there are other DOM elements in the input tag to facilitate the formatted date.

For anyone that stumbles on this in the future, you can leverage the ._flatpickr object on an element to access the flatpickr instance & copy the value using ._flatpickr.setDate.
Reference: https://flatpickr.js.org/instance-methods-properties-elements/


Bug 2078715: [release-4.10] Added Parameters to CephFilesystemSubVolumeGroup and CephBlockPool for Provider Clusters

Signed-off-by: Kaustav Majumder<EMAIL_ADDRESS>

/hold
Can be merged only when 4.10.2 is open for merging

Looks good to me

/lgtm

/hold cancel
This was discussed and approved for 4.10.2

/approve

/bugzilla refresh

/bugzilla refresh

/bugzilla refresh

Removing the bugzilla/invalid-bug label as it seems like an error. 4.10.1 is already out and this BZ should target 4.10.2


AssertionError: DataFrame are different with dask 2024.5.1 and python 3.12

Describe the issue:
Some unit tests fails on dask 2024.5.1
FAILED ../dataframe/io/tests/test_parquet.py::test_append[pyarrow-True] - AssertionError: DataFrame are different
FAILED ../dataframe/io/tests/test_parquet.py::test_append_wo_index[pyarrow-True] - AssertionError: DataFrame are different
FAILED ../dataframe/io/tests/test_parquet.py::test_append_known_divisions_to_unknown_divisions_works[pyarrow] - AssertionError: DataFrame are different
FAILED ../dataframe/io/tests/test_parquet.py::test_custom_filename_works_with_pyarrow_when_append_is_true - AssertionError: DataFrame are different
= 4 failed, 10489 passed, 1628 skipped, 265 xfailed, 282 xpassed, 131 warnings in 545.24s (0:09:05) =

Minimal Complete Verifiable Example:
pytest dask

Anything else we need to know?:
Full log is here
Environment:

Dask version: 2024.5.1
Python version: 3.12
Operating System: fedora
Install method (conda, pip, source): dnf / source

Can you provide a little more context to what you are doing?
Our CI is passing fine on python 3.12 and your minimal example is referencing xarray.

You installed dask-expr in version 1.1.0, we fixed the bug that causes these tests to fail in version 1.1.1, so upgrading dask-expr will work


Add configureContainer argument to WithPhpMyadmin.

Adding this API for consistency. This is a breaking change that we want to make now so we don't need to make a breaking change after GA.
Microsoft Reviewers: Open in CodeFlow

/backport to release/8.0


Create Function to extract data

Please refer UserInterface file to understand this.
We need to create a function such as extract() which takes the following inputs:

Type of data - ICU or Non-ICU
Prediction task - 30-day, 60-day readmission or mortality

Output is data files stored according to chosen options and summary of data.

Adding a note that I am currently working on this


Can't connect two device at the same time

Hi
I try connect two device at the same time. But once one is connected, the other one's state will became to be disconnected.
Is it possible to connect two devices and read data from them at the same time ?

It works with lastest version. Thanks.


Add a Gitter chat badge to readme.md

Dreae/PyCrest now has a Chat Room on Gitter
@Dreae has just created a chat room. You can visit it here: https://gitter.im/Dreae/PyCrest.
This pull-request adds this badge to your readme.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Coverage remained the same at 100.0% when pulling a50328ffa1038c873b3ff37d50b30f2e36ea324b on gitter-badger:gitter-badge into e5dc1511863e1f8a3aca9d44012431bdcd8baa15 on Dreae:master.

Coverage remained the same at 100.0% when pulling a50328ffa1038c873b3ff37d50b30f2e36ea324b on gitter-badger:gitter-badge into e5dc1511863e1f8a3aca9d44012431bdcd8baa15 on Dreae:master.


fix: Various small fixes

Issue being fixed or feature implemented
Fix various issues/crashes. These commits are mostly tiny/trivial so I thought it might be a good idea to just dump them in one PR and merge w/o squashing. Feel free to suggest otherwise :)
What was done?
Pls see individual commits
How Has This Been Tested?
run tests, run qt
Breaking Changes
n/a
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[x] I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

Can you explain why a3b41ab isn't a breaking change?

Luckily, in both cases we never check for type/version in serialization of any underlying type for all the values hashed there, so serialization stays the same. And hashing isn't affected by type/version either. To confirm this, I reindexed on testnet with -assumevalid=0 using this branch (rebased on develop to include #5424) - no issues.


TIA flag for codebase

Adding a flag to remove codebase for the packaged collector
Updating testselector package

looks fine. port to 106 as well and bump up task version


Layout null blocks/columns.php

I noticed that if I don't select the column type the plugin returns an error. I thought of changing the code like this. I hope it can be useful.

<?php $layout = $block->layout()->toLayouts()->first() ?>

<?php if ($layout !== null): ?>

  <div class="pure-g" id="<?= $layout->id() ?>">

    <?php foreach ($layout->columns() as $column): ?>

      <div class="pure-u-1  pure-u-lg-<?= $column->span() ?>-12 box2 blocks default wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">

        <?= $column->blocks() ?>

    <?php endforeach ?>

<?php endif ?>

It's fixed in Version 1.0.2. Thanks for your suggestion.


Invalid window size/binwidth check

Hei,
In /spike_train_correlation.py,  function '_cch_speed' and '_cch_memory', I tried a binwidth of 0.4 and a windowsize of 40. The input validation raises the error "ValueError: The window has to be a multiple of the binsize" despite being obviously true. In my case
win[0].rescale(binsize.units).magnitude % binsize.magnitude = 0.399999999998
So obviously a numerical issue with a simple tolerance solution
Best,
Tristan

Hei Tristan,
thanks for you feedback.
I could replicate your problem on our machines using this code:
binned_st1 = elephant.conversion.BinnedSpikeTrain(
    elephant.spike_train_generation.homogeneous_poisson_process(
    10. * pq.Hz, t_start=0 * pq.ms, t_stop=5000 * pq.ms),
    binsize=.4 * pq.ms)
binned_st2 = elephant.conversion.BinnedSpikeTrain(
    elephant.spike_train_generation.homogeneous_poisson_process(
    10. * pq.Hz, t_start=0 * pq.ms, t_stop=5000 * pq.ms),
    binsize=.4 * pq.ms)
cc_hist = elephant.spike_train_correlation.cross_correlation_histogram(
    binned_st1, binned_st2,
    window=[-40*pq.ms,40*pq.ms],
    border_correction=False,
    binary=False, kernel=None, method='memory')

@alperyeg Can you also reproduce the error with this code? I am on
In [35]: numpy.__version__
Out[35]: '1.13.3'
In [36]: pq.__version__
Out[36]: u'0.12.1'

A current workaround is to specify the window using integer multiples of the binsize, i.e., in the above example:
binned_st1 = elephant.conversion.BinnedSpikeTrain(
    elephant.spike_train_generation.homogeneous_poisson_process(
    10. * pq.Hz, t_start=0 * pq.ms, t_stop=5000 * pq.ms),
    binsize=.4 * pq.ms)
binned_st2 = elephant.conversion.BinnedSpikeTrain(
    elephant.spike_train_generation.homogeneous_poisson_process(
    10. * pq.Hz, t_start=0 * pq.ms, t_stop=5000 * pq.ms),
    binsize=.4 * pq.ms)
cc_hist = elephant.spike_train_correlation.cross_correlation_histogram(
    binned_st1, binned_st2,
    window=[-10, 10],
    border_correction=False,
    binary=False, kernel=None, method='memory')

@mdenker I can reproduce the same error if I give a quantity as a parameter for the window. Otherwise
(...)
cc_hist = elephant.spike_train_correlation.cross_correlation_histogram(
    binned_st1, binned_st2,
    window=[-40 ,40],
    border_correction=False,
    binary=False, kernel=None, method='memory')

does work for me, too.
My setup is:
In [8]: np.__version__
Out[8]: '1.13.1'
In [10]: pq.__version__
Out[10]: u'0.12.1'

We can make a small hot fix.

It seems like we stick to passing integers (already rescaled to the binsize by a user) in window and this issue should have been closed.
I'll keep it open for a week for the feedback if any.


/tp only works for the first player to run the command

Plugin version since a0ce0dc52a7b8522269b6594d91973d2d924b5a6 and Paper 1.18.1 (Build 129)
Steps to reproduce the behavior:
When you /tp to another player, it's being run correctly for whoever was the first person to use the command
All players using /tp after will run the command for the first player who ran the command
Restarting the server makes the loop start over - Makes it work for the first player who teleports.
Gif of the issue https://cdn.discordapp.com/attachments/931671759860695130/945431174560485446/o5CcAinrBg.gif

Closing this for now as its to do with an indev version and will be resolved in v3 :-)


Support official atlantis version

As mentioned in https://github.com/cloudposse/terraform-aws-ecs-atlantis#caveats, this module is geared towards a fork of atlantis. That fork seems no longer actively maintained. Further the feature added to this fork, namely the "ability to restrict plan and apply to GitHub teams", has recently been integrated into the official atlantis via https://github.com/runatlantis/atlantis/pull/1694.
All in all we have a desire to use the official atlantis version. Using this Terraform module, we ran into a small issue with that: The parameter names for the GitHub team feature differ. In the forked version, it was gh-team-whitelist, in the official version, it became gh-team-allowlist (cf. https://www.runatlantis.io/docs/server-configuration.html#gh-team-allowlist).
As a consequence, the SSM parameter store entry name created in https://github.com/cloudposse/terraform-aws-ecs-atlantis/blob/0.24.1/main.tf#L232 does not match what the official atlantis ultimately needs as input.
I don't know whether the forked version still needs to be supported or not which would determine whether the existing parameter name could just be updated or whether it's safer to just write the setting to both the old and new name.

Yes, we're willing to remove/update any of those things that tied this module to our fork now that https://github.com/runatlantis/atlantis/pull/1694 finally made it in!
@jamengual is I think working on something to this end. @aknysh has been working to fix some upstream modules that needed to be updated for our recent security group changes.

@bentmann you remember me?
I'm going to start working on updating this module and the upstream modules to be able to use the latest version and new features.
I think the Parameter store part will change a bit to make use of other CloudPosse modules that allow for simpler config file injection.

Yup, I remember you PePe :-), it's a small world.

I'm going to start working on updating this module and the upstream modules to be able to use the latest version and new features.

Sweet, looking forward to the result.