req.url is always '/'

Checks

[X] I understand project setup issues should be asked on StackOverflow or in GitHub Discussions.
[X] I updated to latest http-proxy-middleware.

Describe the bug (be clear and concise)
when upgrading http proxy middleware in nest i am unable to path rewrite using req.url
it always has the value '/'
in order for the path rewrite to work as before i need to access a variable called original url that is not strongly typed on the request object
this is my code:

Step-by-step reproduction instructions
1. create a nest module that implements NestModule
2. apply the new proxy middleware in the configure method. this is probably mounted on server path and not globally (nest implementation)
3. try to use path rewrite to achieve legacy behavior via pathRewrite: (path, req) => req.url
4. notice how all requests are still ignoring paths
5. on debugging you can see path.url is always '/' and there is an inaccessible variable called originalurl
6. using original url variable we can achieve required behavior

Expected behavior (be clear and concise)
one of 2 : req.url to contain the original url
or:
originalUrl variable to be avaialble in they request type (currently http.IncomingMessage)
How is http-proxy-middleware used in your project?
it is used as an post authentication proxy

What http-proxy-middleware configuration are you using?
target and path rewrite as in the example

What OS/version and node/version are you seeing the problem?
Maos 14.4.1 node v20.12.2

Additional context (optional)
No response

Same problem

The / is the behaviour from http-proxy. (should be fix upstream)
Regarding the typing issue. You can provide appropriate request and response type from your server:
import type { Request, Response, NextFunction } from 'express';

createProxyMiddleware<Request, Response>{
  target: config.env.TARGET_URL,
  changeOrigin: true,
  pathRewrite: (path, req) => req.originalUrl,
  logger: console
}

@chimurai thank you! so i guess this is desired behavior, might be a good idea to add to the docs.
thank you and have a nice day

Maybe a bit hidden... It's already documented here:
https://github.com/chimurai/http-proxy-middleware?tab=readme-ov-file#express-server-example
https://github.com/chimurai/http-proxy-middleware/blob/master/recipes/servers.md#nextjs
I'll see how I can improve the docs 👍


Could you make is so when you stop panning the image, it will slow down instead of abruptly stopping

I don't know if this is where feature requests go, but I will put it here. I just think this would make it work a little better.

That can be achieved with the velocity property of ScaleEndDetails.

Ok thanks!

This is passed through the only parameter in the onScaleEnd callback.

Added continuity effect on drag events on #50


plugin manifest issues

As explained in another issue/post, I create my plugins not as ZIP but as a single jar containing all dependencies.
For that I use the following build-plugin with maven:
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.5.5</version>

                <executions>
                    <execution>
                        <id>make-plugin-assembly</id>
                        <!-- extend phase package to assembly the archives -->
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <archive>
                                <manifestEntries>
                                    <Plugin-Id>${plugin.id}</Plugin-Id>
                                    <Plugin-Class>${plugin.class}</Plugin-Class>
                                    <Plugin-Version>${plugin.version}</Plugin-Version>
                                    <Plugin-Provider>${plugin.provider}</Plugin-Provider>
                                    <Plugin-Dependencies>${plugin.dependencies}</Plugin-Dependencies>
                                </manifestEntries>
                            </archive>
                            <descriptorRefs>
                                <descriptorRef>jar-with-dependencies</descriptorRef>
                            </descriptorRefs>
                            <finalName>${project.build.finalName}.plugin</finalName>
                            <appendAssemblyId>false</appendAssemblyId>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

Works quite well. Now I wanted to have the plugin-properties not in pom.xml
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>

        <plugin.id>de.root1.kad-logicplugin</plugin.id>
        <plugin.class>de.root1.kad.logicplugin.LogicPlugin</plugin.class>
        <plugin.version>1.0.0</plugin.version>
        <plugin.provider>Alexander Christian</plugin.provider>
        <plugin.dependencies></plugin.dependencies>
    </properties>

but in an external plugin.properties file (makes life easier when using development-runtimemode). To not need to define plugin-properties twice (pom + properties), I used the following maven-build-plugin to read it from properties-file and use it in pom:
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>properties-maven-plugin</artifactId>
                <version>1.0-alpha-2</version>
                <executions>
                    <execution>
                        <id>read-plugin-properties</id>
                        <phase>initialize</phase>
                        <goals>
                            <goal>read-project-properties</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <files>
                        <file>${basedir}/plugin.properties</file>
                    </files>
                </configuration>
            </plugin>

Works in principle, but creates an name-conflict... It tooks me 2hrs to find the root-cause:
The pom variable ${plugin.id} is not only used by pf4j/it's plugin-configuration, but also by the maven assembly plugin... BUT: This only get's visible when reading the properties from properties-file. As long as you define the properties directly in pom.xml, ${plugin.id} will have the value we defined by outselves, don't matter where in the pom-file you use it.
If the property is read from propert-file (not direclty defined in pom), ${plugin.id} will contain the plugin-id of the build-plugin you're currenty configuring. In this case, it is "org.apache.maven.plugins:maven-assembly-plugin:2.5.5".
And it's getting further:
With ${plugin.class} you get an exception when running maven build:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single (make-plugin-assembly) on project logicplugin: A type incompatibility occured while executing org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single: java.lang.Class cannot be cast to java.lang.String
So ${plugin.class} at this point is not containing the plugin-class-string, but the plugin class object...
Maybe this is a kind of special case, as most users will not do that "advanced stuff" that I do.
But I recommend anyway to not use conflicting names.
Maybe prefix all the plugin-property-names with "pf4j." ....
I tried to overcome this issue with having my own manifestPluginDescriptorFinder... But again, some "private" tags prevent me from doing this... :-(
The ManifestPluginDescriptorFinder itself can be overwritten, but it depends on the Plugindescriptor, which has the "setXYZ()" methods package-private :-(
I would overcome also this by overwriting it and having a large constructor instead of using all the package-private setter... But this would be more a hack than "good code".
So, finally, two things should change:

prefix the plugin-properties with "pf4j."
enable the user to have an own prefix by overwriting *PluginDescriptorFinder (which is in principle already possible) and enable access to PluginDescriptor to set (somehow) the required values (so that overwriting *PlugindescriptorFinder makes sense.

br,
Alex

Could be a bigger change for pf4j ...
So in the meantime I worked around it by implementing PluginDescriptorFinder and overwriting PluginDescriptor.
The custom PluginDescriptorFinder reads my prefixed manifest entries/properties and uses a custom PluginDescriptor which ignores all the setters and use the constructor for setting the values instead.
It's far away from beautiful, but works.

We can add a new method in each class.
In PropertiesPluginDescriptorFinder a new method getPropertyNameFor(field) and in ManifestPluginDescriptorFinder a new method getAttributeNameFor(field), where field is a constant (ID, DESCRIPTION, CLASS, ...). I don't know yet if it's a good idea but it's an idea  :smile:


Geowave-862: HBase distributed filters and coprocessors

Changed all the system print and exception stack trace calls to use the logger


Revise CoC based on Contributor Covenant 2.0

Bundler has had a code of conduct since before the Contributor Covenant was available as an option. In my (admittedly somewhat vague) memory, we continued to use our own custom CoC based on wanting clear enforcement examples directly in the CoC. The Contributor Covenant now contains enforcement examples as of 2.0, so I am proposing that we migrate Bundler's CoC to CC 2.0.
Additional benefits:

Merging with RubyGems gets easier, since RubyGems uses CC already (rubygems/rubygems#3157).
The bundle gem template and Bundler itself will now use the same CoC.

Let's do it! Thanks @indirect!
@bundlerbot merge


Installer script doesn't understand linux/arm64

Thank you for creating the issue!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[ ] Yes, I've included all information below (version, config, etc).

Inside an Alpine Linux Docker container running on my M1-based Mac, I am trying to install Woke. From my Dockerfile:
RUN curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin

I receive the following error during docker build:

get-woke/woke crit platform linux/arm64 is not supported.  Make sure this script is up-to-date and file request at https://github.com/get-woke/woke/issues/new

Looks like the installer script doesn't understand linux/arm64, even though you publish the packages in the releases.

Can you try running with debug logging on and post the output? curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin -d

@skyzyx I have a fix up in #200 for this, but can you verify your issue is resolved by running curl -sSLf https://raw.githubusercontent.com/get-woke/woke/issue/199/install.sh | bash -s -- -b /usr/local/bin -d and posting the output? (the -d at the end enabled debug logging and isn't necessary once this PR is merged).

Testing…

On Alpine Linux:
$ apk add curl bash
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
(1/9) Installing ncurses-terminfo-base (6.3_p20220521-r0)
(2/9) Installing ncurses-libs (6.3_p20220521-r0)
(3/9) Installing readline (8.1.2-r0)
(4/9) Installing bash (5.1.16-r2)
Executing bash-5.1.16-r2.post-install
(5/9) Installing ca-certificates (20211220-r0)
(6/9) Installing brotli-libs (1.0.9-r6)
(7/9) Installing nghttp2-libs (1.47.0-r0)
(8/9) Installing libcurl (7.83.1-r1)
(9/9) Installing curl (7.83.1-r1)
Executing busybox-1.35.0-r13.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 10 MiB in 23 packages

$ curl -sSLf https://raw.githubusercontent.com/get-woke/woke/issue/199/install.sh | bash -s -- -b /usr/local/bin -d
get-woke/woke info checking GitHub for latest tag
get-woke/woke debug http_download https://github.com/get-woke/woke/releases/latest
get-woke/woke info found version: 0.18.2 for v0.18.2/linux/arm64
get-woke/woke debug downloading files into /tmp/tmp.ljiInc
get-woke/woke debug http_download https://github.com/get-woke/woke/releases/download/v0.18.2/woke-0.18.2-linux-arm64.tar.gz
get-woke/woke debug http_download https://github.com/get-woke/woke/releases/download/v0.18.2/woke-0.18.2-checksums.txt
get-woke/woke info installed /usr/local/bin/woke

Seems to work now. Thanks!

From your first response:

Can you try running with debug logging on and post the output? curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin -d

$ curl -sSLf https://git.io/getwoke | bash -s -- -b /usr/local/bin -d
get-woke/woke crit platform linux/arm64 is not supported.  Make sure this script is up-to-date and file request at https://github.com/get-woke/woke/issues/new

This was the message I saw when first putting together my Dockerfile.

Using them install instructions in the docs should work now. Thanks for reporting!

Thanks for fixing!


Google Sign-In not working - onActivityResult never called

Step 1: Are you in the right place?
Hopefully this is the correct place for this, as my code is based off of/nearly identical to the Google Sign-In code in this repo.
Step 2: Describe your environment

Android device: SAMSUNG-SM-G530A
Android OS version: 5.1.1
Google Play Services version: 'com.google.android.gms:play-services-auth:10.2.1'
Firebase/Play Services SDK version: 'com.google.firebase:firebase-core:10.2.1'
'com.google.firebase:firebase-auth:10.2.1'

Step 3: Describe the problem:
When clicking the sign-in button, the layout sort of "refreshes" and nothing happens. onActivityResult is never called.
Expected Results:
I expected it to log in, as it has many times before.
Relevant Code:
Everything else is here in my SO question

@therealccarter since you've already posted on StackOverflow and I believe this a better place to address your question, I am going to close this issue.

I'm posting it here because nobody will answer on Stack Overflow.


Cannot interact with Partitioned Tables

I have a partitioned table made with the GridDB CLI, but when I try to interact with it via Python NoSQL, it results in an error:
gs[public]> showcontainer myIntervalPartition4
Database    : public
Name        : myIntervalPartition4
Type        : COLLECTION
Partition ID: 19
DataAffinity: -
Partitioned : true
Partition Type           : INTERVAL
Partition Column         : date
Partition Interval Value : 30
Partition Interval Unit  : DAY
Expiration Type      : PARTITION
Expiration Time      : 30
Expiration Time Unit : DAY

Columns:
No  Name                  Type            CSTR  RowKey
------------------------------------------------------------------------------
 0  date                  TIMESTAMP(3)    NN
 1  value                 STRING

And then some python code (using python 3.10 on Ubuntu 22.04)
import griddb_python as griddb
import numpy as np
import pandas as pd

factory = griddb.StoreFactory.get_instance()
DB_HOST = "<IP_ADDRESS>:10001"
DB_CLUSTER = "myCluster"
DB_USER = "admin"
DB_PASS = "admin"

try:
    # (1) Connect to GridDB
    # Fixed list method
    gridstore = factory.get_store(
        notification_member=DB_HOST, cluster_name=DB_CLUSTER, username=DB_USER, password=DB_PASS)

    container_name = "myIntervalPartition4"
    partition_container = gridstore.get_container(container_name)
    print("Succesfully connected to GridDB!")

    if partition_container == None:
        print("ERROR Container not found: " + container_name)

    query = partition_container.query("SELECT *")
    rs = query.fetch()
    while rs.has_next():
        row = rs.next()
        print(row)

except griddb.GSException as e:
    for i in range(e.get_error_stack_size()):
        print("[", i, "]")
        print(e.get_error_code(i))
        print(e.get_location(i))
        print(e.get_message(i))

Succesfully connected to GridDB!
ERROR Container not found: myIntervalPartition4

Unfortunately GridDB Python Client doesn't support operations for Partitioned Tables.
Could you use GridDB Java Client/JDBC Driver for Partitioned Tables ?


List of SAP SuccessFactors API Servers - Link not working

Issue description
The link for the list of the SAP SuccessFactors API Servers is not working.
Link in page: https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/28bc3c8e3f214ab487ec51b1b8709adc/af2b8d5437494b12be88fe374eba75b6.html?version=LATEST&locale=en-US
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Using Mutual Transport Layer Security (mTLS)
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/btp/sap-business-technology-platform/using-mutual-transport-layer-security-mtls

Hi @frankmeertens, thank you for you feedback!
The documentation has been updated and the link now points to: https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/9f5f060351034d98990213d077dab38a/af2b8d5437494b12be88fe374eba75b6.html?version=latest
The change will be available on the SAP Help Portal with the next update.


dune-release: 1.3.3 → 1.4.0

Motivation for this change
https://github.com/ocamllabs/dune-release/releases/tag/1.4.0
Things done
Required a bit of fiddling around to get the mdx tests to work, but seems good now. yes for some reason would complain about a broken pipe in the no_doc test which I couldn't reproduce outside of nix-build. Seems to be safe to just ignore by piping it to /dev/null which makes the output match up again. No idea what's causing this.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build dune-release

@GrahamcOfBorg build ocamlPackages.dune-release


Added Swift Project Example

I just copied the Objective-C project in Swift.

An example target with Swift has been added in version 2.2.3. Thanks for the PR anyway :)


Replace moment by luxon

I started the work to fix issue LibrePhotos/librephotos#385
Here is what I have done so far to get your feedback.
moment.js is still used in LocationDurationStackedBar.tsx

Unless you need me to refactor, or apply some modifications, this PR is ready for merge.

Nice work! Looks good to me :)


Code example did not work

I tried to give your library a test run and installed it via>> 'pip install classy-classification' and git, but the code example did not work. I haven't taken the time to troubleshoot. I guess something has been renamed 'concise_concepts' vs 'classy_classification' ?

I tried to give your library a test run and installed it via>> 'pip install classy-classification' and git, but the code example did not work. I haven't taken the time to troubleshoot. I guess something has been renamed 'concise_concepts' vs 'classy_classification' ?

Concise concepts (few shot ner) and classy classification (few/zero short classification) are two separate packages. There was a typo in the readme, mentioning the install of the wrong package. I resolved this now.

@philipvollet By the way, classy-classification has already been added to the spaCy universe, while I have a PR for concise-concepts.


C#: Improve godot_variant conversion for godot_variant-marshable C# types

I was working on another C# binding optimization when I noticed that VariantUtils.ConvertTo<T>(in godot_variant variant) did a suspicious amount of GetTypeFromHandle calls (aka typeof(T)) for a simple Node3D that only overrides _Process(double delta):

(Also note the accompanying op_Equality calls for the type comparisons)
The commit message for 3f645f980c5d7894f98075c29d1c65319be62be7 (which introduced this method) noted the following:

C# generics don't support specialization the way C++ templates do.
I knew NativeAOT could optimize away many type checks when the types
are known at compile time, but I didn't trust the JIT would do as good
a job, so I initially went with cached function pointers.

Well, it turns out the JIT is also very good at optimizing in this
scenario, so I'm changing the methods to do the conversion directly,
rather than returning a function pointer for the conversion.

While the JIT is generally good at optimizing such typeof(T) guarded function calls, various limitations apply - e.g. the  function must be inlined to enable the JIT to remove the unreachable branches for the specific callsite (and specific T).
This function has grown over time and it seems like the JIT does not inline ConvertTo (and the accompanying CreateFrom) as often as we like, which makes its performance degrade, which hurts for cheap conversion like e.g. double.
I have run into this issue in the past and found a workaround which makes C# behave similar to C++ templates when it comes to method specialization: generic static classes with a statically evaluated delegate.
The delegate is resolved at class load time and is then "resolved and cached " for us at all call sites by the runtime. This leads to small (code size) delegates which are easily inlineable with guaranteed "zero-overhead" runtime characteristics. The new implementation is also stable in the sense that we are not praying for JIT optimization which might vary over time - especially because the performance of ConvertTo / CreateFrom does not depend on inlining anymore.
I am attaching a simple example project which spawns 100.000 simple Node3D with an attached C# script that implements _Ready and _Process (as generated by default) - I chose a high Node count to amplify the performance differences between both implementations. It also shows the process time min and average in a Label after skipping the first 100 _Process calls to skip the first few potentially stuttery frames:
VariantOptimizationTestProject_new.zip
The timings on my local machine (Win11, NET.Core 7.0.2, CPU: 5800x3D) are as follows:
Editor Run Project timings:

Implementation
Editor Profiler -> Frame Time -> Process Time (ms)

Previous implementation (across multiple runs)
239 - 252ms

Optimized implementation (across multiple runs)
216 - 220ms

Windows release template timings:

Implementation
Editor Profiler -> Frame Time -> Process Time (ms)

Godot 4.3 Dev 5 official release template
min: 15,23ms, avg: 16,69ms (after ~30 seconds)

This PR with LTO=full
min: 14,59 ms, avg: 16,38ms (after ~30 seconds)

We gain around 10% in the editor debug builds and around 4% in release builds. It's not much, but this PR quite small change.
The run to run variance for the release template is pretty high, the best runs were taken for all numbers (sample size: ~10).
Let me know if the code style or the comments feel off (or you have any other question)!

Quick note: The numbers in the main post are dervied from Editor -> Run Project builds, which are debug. I considerably underestimated the difference this made in https://github.com/godotengine/godot/pull/89826 and generated some new numbers with a release template. If we extrapolate the numbers we got from the other PR, this PR yields around 5-6% performance on its own.
Let me know when this PR reaches an acceptable state, I will re-benchmark this PR standalone then.

And now I wonder if my test project gets kind of dead code eliminated in release builds because _Process is a nop, need to rework it.


Is there a control to upload image in the control

I have been playing around with the library. I was trying to create a user registration form where the user can upload a image. Is there any control with type img / img upload.  Or what is the way i can do that.
Great work. Look clean and neat.

how do i do it as i m new to angular

if i m to stupid u can tell me i m okay. just trying.My point being learn, my mail id is<EMAIL_ADDRESS>

@amitnil-dev:  The release of version 15.1.0 includes file uploads. You can have a look at the examples for @dynamic-forms/material or @dynamic-forms/bootstrap with variations of file inputs that are supported now. The raw files are available due to the submit event of the form (press the submit button and navigate to files tab) which now has an additional property files (besides value and model) which is a form data object


fix!: Defaults false for enable_mfa_enforcement for IAM groups

Description

Resolves #509
Defaults enable_mfa_enforcement to false as it should be an opt-in feature.
Motivation and Context

Users migrating from older version (example version 5.3.1) to current version may find that IAM groups users with attach_iam_self_management_policy set to true suddenly lose access to their consoles, which can cause more harm than good.
Breaking Changes

This change should maintain backward compatibility for users migrating from versions prior to 5.14.3. However, users having versions 5.14.3 and beyond may find that MFA enforcement no longer being enforced by default, requiring enable_mfa_enforcement to be explicitly set to true.
How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

/keepalive

/keepalive


Apply autopep8 --in-place --recursive . command for Python file formatting

Hello, this is my first PR. I've taken the liberty of running autopep8 --in-place --recursive . to format the Python files, assuming this is the preferred style. As I foresee many contributors in the future, might it be worth integrating a .precommit hook to ensure consistent formatting across all submissions? Thank you for your consideration!

I hate the way it chopped 1 line into 2. is there a hard limit on chars per line?
is that for smaller screens from the 80s? seems antiquated this default style.
I've used linters before but normally there's some overrides.

Thanks for the code and suggestion. We will add a precommit hook soon.

I hate the way it chopped 1 line into 2. is there a hard limit on chars per line? is that for smaller screens from the 80s? seems antiquated this default style. I've used linters before but normally there's some overrides.

I'm not a huge fan of style guides, but there are pretty good reason for the char limit. I think what we have here (100 char) is reasonable.


[SPARK-34235][SS] Make spark.sql.hive as a private package

What changes were proposed in this pull request?
Follow the comment https://github.com/apache/spark/pull/31271#discussion_r562598983:

Remove the API tag @Unstable for HiveSessionStateBuilder
Add document for spark.sql.hive package to emphasize it's a private package

Why are the changes needed?
Follow the rule for a private package.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Doc change only.

cc @HyukjinKwon

cc @HyukjinKwon

@xuanyuanking the unidoc in SparkBuild.scala should be fixed too. Also can we use a different JIRA for making Hive module private?

@xuanyuanking the unidoc in SparkBuild.scala should be fixed too. Also can we use a different JIRA for making Hive module private?

Test build #134440 has started for PR 31321 at commit 8fdff4d.

Test build #134440 has started for PR 31321 at commit 8fdff4d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39026/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39026/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39026/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39026/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39026/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39026/

Test build #134440 has finished for PR 31321 at commit 8fdff4d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134440 has finished for PR 31321 at commit 8fdff4d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134440/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134440/

@HyukjinKwon Oh yeah, sorry for the missing. I filled Jira SPARK-34235 for this. Thanks!

@HyukjinKwon Oh yeah, sorry for the missing. I filled Jira SPARK-34235 for this. Thanks!

Test build #134484 has started for PR 31321 at commit ca4a2c5.

Test build #134484 has started for PR 31321 at commit ca4a2c5.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39070/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39070/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39070/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39070/

Merged to master and branch-3.1.

Merged to master and branch-3.1.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39070/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39070/

Test build #134484 has finished for PR 31321 at commit ca4a2c5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134484 has finished for PR 31321 at commit ca4a2c5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134484/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134484/

Thanks for the review and merge.

Thanks for the review and merge.


can Cloak deactivate on the current line (of which cursor is present)

... like sum kind of 'peek view'

I am also interested in this feature and #12 is my proposed solution.

#12 was merged but forgot to close this at the time


Error message: Channel is already closed.

I constantly get this error message:
Channel is already closed.
java.lang.IllegalStateException: Channel is already closed.
	at com.teamdev.jxbrowser.chromium.internal.ipc.SocketChannelWriter.write(Unknown Source)
	at com.teamdev.jxbrowser.chromium.internal.ipc.SocketChannel.send(Unknown Source)
	at com.teamdev.jxbrowser.chromium.Browser.a(Unknown Source)
	at com.teamdev.jxbrowser.chromium.Browser.loadURL(Unknown Source)
	at com.teamdev.jxbrowser.chromium.Browser.loadURL(Unknown Source)
	at com.github.shyykoserhiy.gfm.editor.GfmPreviewJX$RequestDoneListener$1.run(GfmPreviewJX.java:68)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:676)
	at java.awt.EventQueue$2.run(EventQueue.java:674)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
	at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Hi. Can you please provide more information about your IDE version and OS? Thanks.

OS: Mac 10.10.2
IDE: PhpStorm 8.0.3
JRE: 1.6.0_65

On Mar 29, 2015, at 11:55 PM, shyyko.serhiy<EMAIL_ADDRESS>wrote:
Hi. Can you please provide more information about your IDE version and OS? Thanks.
—
Reply to this email directly or view it on GitHub https://github.com/ShyykoSerhiy/gfm-plugin/issues/44#issuecomment-87571846.

I just started using your GFM plugin today. I wasn't getting this error to start, but I've started seeing it now. If I restart WebStorm and the tab with the Markdown file is loaded automatically, it works until I close and re-open that tab. At that point, it starts throwing the errors again.
OS: Windows 7 64-bit
IDE: Webstorm 10.0 (32-bit)
JRE: 1.8.0_40 (32-bit)

I got this error today, in v0.1.9, but it's probably a cockpit error you may want to try to figure out how to prevent.  I'm on OSX.  For some reason (no clue, sorry!), a couple of days ago, two "JxBrowser" tabs showed up on my Dock (a.k.a. taskbar).  I puzzled a bit, did what I could to get them to tell me something about what or why they were, and quit JxBrowser, without knowing about gfm's use of it.  I suspect this caused the error today.  Restarting Intellij cleared the problem.


Fixed trigger check

Codecov Report

Merging #251 into master will decrease coverage by 0.06%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #251      +/-   ##
==========================================
- Coverage   62.86%   62.80%   -0.07%
==========================================
  Files          48       48
  Lines        3835     3839       +4
==========================================
  Hits         2411     2411
- Misses       1024     1028       +4
  Partials      400      400

Impacted Files
Coverage Δ

handlers/auth.go
86.36% <50.00%> (-2.35%)
:arrow_down:

workers/scheduler/gaiascheduler/scheduler.go
59.77% <0.00%> (-0.56%)
:arrow_down:

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 13df0a5...a446d7c. Read the comment docs.


Add support for arbitrary [Secure]JsonData

Description

Added customJsonData and customSecureJsonData fields to GrafanaDashboard.spec.datasources[*]
Added example manifests with a non-standard plugin datasource

Note: Requires updating controller-gen to v0.6.2
Relevant issues/tickets
Fixes https://github.com/grafana-operator/grafana-operator/issues/708
Type of change

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

Checklist

[x] This change requires a documentation update
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps

Run

kubectl apply -f deploy/examples/GrafanaWithPlugin.yaml deploy/examples/datasources/Custom.yaml
kubectl get -o yaml configmap grafana-datasources
kubectl port-forward svc/grafana-service 3000:3000

Confirm data source correctly created at http://localhost:3000/datasources in browser

This would also solve https://github.com/grafana-operator/grafana-operator/issues/788

@meln5674 I like the idea of using json.RawMessage. Does this work as an in place update or will there be conflicts with existing CRs?

@pb82 have you had time to look in to this?

Verified with the Prometheus data source. Had some issues with the provided Druid example. Is there another plugin needed for this data source?

thanks @meln5674 !

Could we get a release made with this in please?

I will do it Thursday next week unless someone else prepareras the release.

In-place. The change will check if the custom fields are set and overwrite
the existing fields if so. Otherwise, the behavior should be unchanged.
On Tue, Jul 26, 2022, 05:45 Peter Braun @.***> wrote:

@meln5674 https://github.com/meln5674 I like the idea of using
json.RawMessage. Does this work as an in place update or will there be
conflicts with existing CRs?
—
Reply to this email directly, view it on GitHub
https://github.com/grafana-operator/grafana-operator/pull/803#issuecomment-1195376912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRKGN5AXWFPYORHM2PTQETVV7FWVANCNFSM54UFWIOA
.
You are receiving this because you were mentioned.Message ID:
@.***>


New comment count appears in the center instead of right side

I noticed that too. The container alignment for that script is wonky in general. Shouldn't be too hard to make it properly aligned and responsive.


Possible term merge "cortical actin cytoskeleton stabilization"

cortical actin cytoskeleton stabilization
Same issue as:
https://github.com/geneontology/go-ontology/issues/12294
would be better just as "organization"
Only has 15 EXP annotation, PomBase, Flybase and dictybase

Hi Tanya,
Assigning to you since it looks almost identical to the other one.
-D

making the title more informative!

@hattrill, @pfey03 - could you check your DB's annotations please to the term in the subject?  Same issue as #12294, is  xx stabilization = xx organization?

Yes, I agree - merge away.

@pfey03 - could you check your DB's annotations please to the term in the subject? Same issue as #12294, is xx stabilization = xx organization?
Thank you.

we have two annotations to this term and IMO stabilization is part of organization. But I wouldn't be opposed to a merge; we also have one mitotic spindle... annotation https://github.com/geneontology/go-ontology/issues/12294
When you decide to merge I'll update those 3. Thanks -  and sorry I was so swamped...

I've merged the stabilization term into the organization one.

[Term]
id: GO:0030866
name: cortical actin cytoskeleton organization
namespace: biological_process
alt_id: GO:0033109
def: "A process that is carried out at the cellular level which results in the assembly, arrangement of constituent parts, or disassembly of acti
n-based cytoskeletal structures in the cell cortex, i.e. just beneath the plasma membrane." [GOC:dph, GOC:jl, GOC:mah, GOC:pf]
synonym: "actin cortex stabilization" EXACT []
synonym: "cortical actin cytoskeleton organisation" EXACT [GOC:curators]
synonym: "cortical actin cytoskeleton organization and biogenesis" RELATED [GOC:mah]
synonym: "cortical actin cytoskeleton stabilization" EXACT []
synonym: "cortical resistance" RELATED []
is_a: GO:0030036 ! actin cytoskeleton organization
is_a: GO:0030865 {is_inferred="true"} ! cortical cytoskeleton organization
intersection_of: GO:0016043 ! cellular component organization
intersection_of: results_in_organization_of GO:0030864 ! cortical actin cytoskeleton


Known bug fixes and improvements

Location & weather

Geolocation support on Android 11 devices
Corrected weather information
New weather providers: HERE.com and AccuWeather.com

Calendar & events

Show and hide calendar events very accurately, never need to manually refresh any more
Optimized background updating algorithm for more battery saving
Correct handling of calendar events with multiple instances

Widget UI

Make remote grid views (widget_sans.xml) perfectly overlap the bitmap generated from the binding view (widget.xml), so that taps can trigger proper pending intents
Correctly display the clock, text and icons at any text size

Miscellaneous

Fix FontRequest thread leaks; fix RenderScript leaks
Replace font assets with font resources, replace Realm with Room, to significantly reduce the size of the apk (~28M smaller!)
Various UI-related bug fixes and improvements

Fixed issues
#288, #293, #318, #321, #326, #328, #330, #338, #340, #342, #343, #353

Hi @azuo! I'm absolutely astonished by the major changes that you've added to this PR, thank you so much for helping me.
I've quickly gone through all the commits you pushed and I'll run some tests asap but, in the meantime, I have a few questions for you:

have you considered that the AccuWeather API needs two different calls to be able to access the weather information? A free account would possibly run out of the daily limit, do you think we should address that inside the provider info?
I already tried to release a version of the application using the permission to access the location in the background but it's been rejected due to the fact we should use some kind of foreground service. At the same time, those kinds of services will be "deprecated" in Android 12 so we probably need to support the new solutions that are suggested.

Thank you again for the major work you've done.

This widget is great, and I like it so much that I can't resist fixing any bugs I encountered while using it. But in order not to interfere or conflict with your ideas, I just make fixes or patches, but try to avoid adding, removing or refactoring any features.
Migrating to Androd 12 may involve some changes that go well beyond "fixes" or "patches", but I will be happy to help if I can.

Any help is always appreciated! I'll handle the Android 12 transition in a specific branch once I'll have time to work on the widget for a while. Because I want to integrate the dynamic color feature inside the app as the first step and then moving forward to integrate it inside the widget customization system.
In the meantime, we definitely have to find another way to get the location of the devices while in the background, without using the permissions to access it from the background or the FINE_ACCESS one. Would be feasible for you to revert only the changes that cover this part to the way they were before?

@tommasoberlose, Play Store has rejected a version due to the use of some kind of foreground service to access the location, right? But specifically because of foreground service or access the location in the background?  Well, the foreground service can be replaced with a Worker, and ACCESS_FINE_LOCATION can be replaced with ACCESS_COARSE_LOCATION, but why can't we use ACCESS_BACKGROUND_LOCATION?
I think ACCESS_BACKGROUND_LOCATION is an absolute must. Without using geolocation in the background, the weather information would be very inaccurate, if not completely useless.
I investigated several top-ranking widget apps in Play Store that show weather, all of them use both ACCESS_FINE_LOCATION and ACCESS_BACKGROUND_LOCATION permissions, for example, Weather & Clock Widget for Android (API 29, 50M+ installs),
Transparent clock and weather forecast & radar (API 30, 50M+ installs) and Weather Widget & Weather Radar (API 30, Editor's Choice).
As with the above apps, it might be helpful to display a prominent prompt immediately after the app is launched?

@azuo I sincerely admire the comprehensive work you have done. Thanks!

Is this going to be merged for a new version?

Dang, you've done a lot of work on this! Hope to see these changes get pushed to the main branch soon! :)

Hoping for the release push :)


3.1.4 or 3.1.3 breaks custom operators

I just updated pebble from 3.1.2 to 3.1.4 and found that my custom operators no longer work. The BinaryOperator Interface has changed while a patch or minor version normally shouldn't introduce breaking changes on public interfaces.
I also found that the documentation hasn't been updated.
I tried to implement the new interface but now all my operators run into a stack overflow with no obvious reason. I Might be doing something wrong or I discovered a bug.
Is it possible to update the doumentation so I can verify if my implementation is correct?

Here's the pull request that has changed the interface
https://github.com/PebbleTemplates/pebble/pull/499/files

Hi, thank you, I found my error. I interpreted the "getInstance()" method so that I should return a singleton instance of the Expression instead of creating a new instance each time. If I do the latter it works as expected.
Maybe createInstance() would be a better and less confusing name for this method because getInstance() is a well known method name for a singleton pattern.

I've just adjusted the doc. In another major release, I'll rename the getInstance method, so I'll keep it open

Gonna be available in next release


operator kubeturbo-certified (8.14.0)

operator kubeturbo-certified (8.14.0)

/pipeline restart operator-hosted-pipeline


lib/server.js constructor add server and isNotListen support

lib/server.js constructor add server and isNotListen support,Support the use of server interface listen network

Current coverage is 99.24% (diff: 78.57%)

Merging #173 into master will decrease coverage by 0.75%

@@           master       #173   diff @@
========================================
  Files          11         11
  Lines         391        399     +8
  Methods         0          0
  Messages        0          0
  Branches        0          0
========================================
+ Hits          391        396     +5
- Misses          0          3     +3
  Partials        0          0

Powered by Codecov. Last update 5d5649e...5f575ae

I am sorry I cannot implement this since it's related to ddv directly.
You should create your plugin for ddv to add this logic.

@Atinux In fact, this is not directly related to the development of a server interface, I am not sure whether you read this code

@Atinux

@Atinux Suddenly think you do not look at the code to make this evaluation

@yuchonghua I looked at the code and I confirm that it is not pertinent to merge it for nuxt.js
You can create a project call ddv-nuxt where you create your own server with node.js and add the isNotListen login inside.
See https://github.com/nuxt/express


Missing Declaration for '@nostr-dev-kit/ndk'

I'm currently facing an issue with the usage of the "@nostr-dev-kit/ndk" package in my TypeScript project. I hope someone can help me resolve this problem.
Here's the relevant part of my package.json:
"@nostr-dev-kit/ndk": "^0.8.1",
"typescript": "5.1.6"

And here's the TypeScript code where the issue is occurring:
import NDK from "@nostr-dev-kit/ndk";

The error I'm encountering is:
'NDK' is declared but its value is never read.ts(6133)
Could not find a declaration file for module '@nostr-dev-kit/ndk'.

I've tried to resolve this issue by installing the corresponding types using the command:
yarn add -D @types/@nostr-dev-kit/ndk

However, it seems that the problem persists even after installing the types.
Could someone guide me on how to properly address this error? It seems like TypeScript is not recognizing the types even after installing them. Any help or suggestions would be greatly appreciated.
Thank you!

@johna1203 I just had a look at reproducing this with a brand new super simple TS project but haven't managed to get any errors. Here is what I did:

Created a new folder testing
I created a single index.ts file in that directory.
Ran pnpm init in the directory to create an empty package.json file.
Ran pnpm add @nostr-dev-kit/ndk@latest to get NDK installed.
Opened index.ts and added import NDK from '@nostr-dev-kid/ndk' at the top of the file.
Created a new instance of NDK just to see that types worked, and they did.

If you update to the latest NDK do you still get the issue? If so, please give me a bit more info about your project so I can take a closer look.

@erskingardner Hi,
I'm trying to use @nostr-dev-kit/ndk with Next.js. It might be the reason why it's giving an error.
But I'm using version 0.8.1 now, and I noticed that there have been updates to @nostr-dev-kit/ndk. I will try using the latest version to see if it resolves the issue.

@erskingardner  I tried to create a simple project just like you did, but I'm still getting errors... The only difference is that I'm using yarn.

I also, updated the NDK of the project with Nest.js, but the error persists.

It's strange, could the error be in my environment?

Does this actually stop NDK from connecting to relays and working? I think it's likely this is just an overactive eslint configuration in your environment.
You can try to restart the typescript server, which might help. Or restart VS Code. I've seen odd errors like this on types from time to time because of that.
If it's not stopping NDK from working then it's probably fine to ignore.

The error doesn't prevent access to the relays, the downside is the autocompletion of vscode. :/
But, anyway, I'll keep developing and ignore the error.
Thanks,

sounds like some cache issue with vscode; I've seen that stuff before -- usually restarting vscode or kicking it for a bit fixes it. Closing for now but feel free to reopen if you're able to reproduce this 😀

Hi @pablof7z
I tried restarting Visual Studio Code, reinstalling, and clearing the Yarn cache; I tried everything but couldn't solve the issue.
So, I decided to conduct a thorough search and eventually identified the cause of the error.
The error occurs with typescript v5 when the moduleResolution is set to bundler in the tsconfig.json.
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#moduleresolution-bundler
PS: The 'moduleResolution' configuration in the latest Next.js 'tsconfig.json' is set to 'bundler' when a use the create-next-app to create a new NextJS project.
The solution to resolve the problem involves changing the package.json file:
New package.json:
    "exports": {
        ".": {
            "types": "./dist/index.d.ts",
            "import": "./dist/index.mjs",
            "require": "./dist/index.js"
        }
    },

You need to add ./dist/index.d.ts to the exports to resolve this. (But I haven't tested it on TypeScript v4 yet to see if it works.)
Note:
With this solution, my issue gets resolved, but another error is appearing; I think it might be related to TypeScript v5 itself.
- error node_modules/websocket-polyfill/lib/index.js (5:0) @ eval
- error TypeError: Cannot set property 'WebSocket' of #<Object> which has only a getter
    at __webpack_require__ (/Users/xxxx/src/XXXXX/XXXXXXX/.next/server/webpack-runtime.js:33:43)
    at __webpack_require__ (/Users/xxxx/src/XXXXX/XXXXXXX/.next/server/webpack-runtime.js:33:43)
    at eval (./src/app/nostr/page.tsx:7:76)
    at (ssr)/./src/app/nostr/page.tsx (/Users/xxxx/src/XXXXXX/XXXXXX/.next/server/app/nostr/page.js:1319:1)
    at __webpack_require__ (/Users/xxxx/src/XXXX/XXXXXX/.next/server/webpack-runtime.js:33:43)
null

Would it be a good idea to create a new issue for this task?

Having same issue on a vite+typescript react project. https://github.com/nostr-dev-kit/ndk/issues/75 (Apologies for the duplicate issue guys)


Returning bytes instead of strings

Hello,
First of all, let me thank you so much for this great project. It's really helpful.
I am facing one problem though. it's returning all bytes instead of strings. looping through the query huge output to decode everything to strings takes relatively long time. Is there anyway to make it return strings instead of bytes?
I have read somewhere that downgrading mysqlclient to 1.3.9 would make it return strings, have you tried that?
Again, thank you so much!

Hi there. Glad you found this project useful  👍
I don't recommend using mysqlclient for raw queries (I guess that's what you're doing). You can use a more user-friendly layer on top of mysqlclient such as  SQLAlchemy.
In my own project, I use SQLAlchemy for DDL and DML queries and also as a powerful ORM layer between my apps and MySQL. SQLAlchemy uses mysqlclient as the default driver to connect to a MySQL database. It can also optionally use pymysql or other drivers.
I use SQLAlchemy with the mysqlclient (v2.0.1 to v2.0.3) driver for performance reasons, and I've never encountered the issues you mentioned - you get direct Python lists/dictionaries or ORM-defined objects back which are far easier to use.

Thank you so much for your response.
SO my of my queries return huge outputs so I was trying to find the library that would make my API as fast as possible. I really like mysqlclient speed but the only thing is that I have to decode all items which takes a bit of time but it's still better/faster than anything else I have tried so far.
Does using SQLAlchemy on top affect the speed? does it make the return time a bit slower?
Again, thank you so much

I don't think SqlAlchemy will slow down your app much, but only you can make that call.
You could always benchmark both approaches for a sample use case, and then decide if SqlAlchemy is performant enough for you.
All the best!

Thank you so much!


Worst guide ever

If Ubuntu doesn't have the latest unixodbc package, then it is YOUR RESPONSIBILITY to ensure that you add a disclaimer and a solution in your docs instead of forcing people to surf the Net just to find a solution. Your doc ends up wasting everyone's time. I was expecting to set everything up within an hour given my internet speed but now I am 3 hours in just trying to make it work due to YOUR NEGLIGENCE. I want to have a nice long chat with whoever is providing material for the docs.

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

ID: 5634d572-0020-808b-693a-13addc8861d9
Version Independent ID: 136bab7d-d4d1-1e82-ba89-be2020bc784b
Content: Ubuntu: Install SQL Server on Linux - SQL Server
Content Source: docs/linux/quickstart-install-connect-ubuntu.md
Product: sql
Technology: linux
GitHub Login: @VanMSFT
Microsoft Alias: vanto

unixODBC section is listed in the doc, and further ODBC information is listed in the same section of the doc.
https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver15#tools
Perhaps we'll need some clarification on what is the issue so that we can better service the doc. Since there hasn't been a reply, closing this issue for now.


fix: fix deploy docs to github pages failing because of wrong import paths

What does this do?
This PR fixes bad imports in docs/content/docs/ci/cd/workflows-references.mdx.
Why did you do this?
Currently the Github action is failing for new deployments.
How did you test this?
Run the deploy-docs.yml action.

Action ran successfully and the build succeeded. It wasn't able to deploy because of branch protection rules:
https://github.com/rootstrap/react-native-template/actions/runs/10722439895

Compared to previous build:
https://github.com/rootstrap/react-native-template/actions/runs/10706555051


Please merge "Fix misc printf format bugs" into dev channel

git checkout 2.1.0-dev.9.1
git cherry-pick a6518386520af63764ad40dde3b53e5e160b9bff  # Merges cleanly
./tools/build.py runtime
./tools/test.py service
Fixes crashes during VM service RPCs responses that include "%", for example from % encoded URIs. See issue #35009.
/cc @dgrove @kevmoo @mit-mit @whesse @athomas

Merged in version 2.1.0-dev.9.2


Best for short scripts, or for using Swift packages in general?

@JohnSundell, this looks awesome. Thank you for sharing this.
I use Swift on iOS all the time, but I've only tried setting up a Swift executable with the Swift Package Manager a couple times. I'd just like to ask for your take and recommendation.
Do you think Marathon would work well for managing dependencies not for a short script, but for a Swift server app?
Forgive the very hasty comparison here, but Marathon looks to me like it could serve a similar role to what NPM does on a basic Node.js app: installing dependencies in just a few moments and updating the list of packages automatically.
Thanks again for sharing this awesome work. I'm sure it will help me in my work soon.

Hi @sahandnayebaziz! Happy you like Marathon :)
I wouldn't recommend using Marathon for building an entire server-side app, since that's something you want to leave running in order to handle incoming requests, rather than just executing once as you would with a script.
Using the Swift Package Manager directly is better in that situation, and you can always use SwiftPlate to generate framework projects quickly.
Where Marathon shines is to be able to quickly write and run smaller scripts, to link them with dependencies, to create automation such as build tools, and be able to easily share them with your team 👍

Wonderful, thank you @JohnSundell :)


Compiling a function returning an unknown numeric generic panics

Aim
Attempted to compile the following program with a function that outputs a numeric generic:
// Using "[(); N]" as a parameter compiles and executes successfully
//
// Using "struct W<N> {}" as a parameter also panics if "foo" is called on "W {}",
// but not if "foo" is called on "let w_1: W<1> = W {};"
fn foo<let N: u32>() -> u32 {
    N
}

fn main() {
    foo();
}

Expected Behavior
The program to compile successfully or fail with a user error
Bug
Compiling the program panics with the following message:
The application panicked (crashed).
Message:  Non-numeric type variable used in expression expecting a value
Location: compiler/noirc_frontend/src/monomorphization/mod.rs:934

To Reproduce

Workaround
Yes
Workaround Description
Use turbofish (e.g. foo::<3>()) to specify numeric generics when they can't be derived from a parameter's type
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
nargo version = 0.36.0 noirc version = 0.36.0+2f376100d3ee7ab519d6ea30153395bb3e7af7b1 (git version hash: 2f376100d3ee7ab519d6ea30153395bb3e7af7b1, is dirty: false)
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

Could be related to https://github.com/noir-lang/noir/issues/6126

Hmm I had thought we had a check for this case already but it looks like what was added was a slightly different check: https://github.com/noir-lang/noir/pull/5840. I would've still expected main to error that the generic in the call to foo wasn't known however.


Installation error on Synology NAS

hey,
I can't install this plugin. this is the error message:
USER: root
DIR: /homebridge
CMD: npm --no-update-notifier install --unsafe-perm --save homebridge-apple-tv@latest

><EMAIL_ADDRESS>preinstall /homebridge/node_modules/sodium
> node install.js --preinstall

Static libsodium was not found at /homebridge/node_modules/sodium/deps/build/lib/libsodium so compiling libsodium from source.
libtool is required, but wasn't found on this system
make: *** [Makefile:62: libsodium] Error 1
/homebridge/node_modules/sodium/install.js:287
            throw new Error(cmdLine + ' exited with code ' + code);
            ^

Error: make libsodium exited with code 2
    at ChildProcess.<anonymous> (/homebridge/node_modules/sodium/install.js:287:19)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
npm WARN homebridge No description
npm WARN homebridge No repository field.
npm WARN homebridge No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>preinstall: `node install.js --preinstall`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  Please review log for details

How can I solve it?

This issue was solved in Thread #5 :)

they talked about a missing install of libtool.
But I can't install it with: apt-get install libtool

apt-get: not found

have the same problem with synology nas.
was you solve this?


Updated egress rpc

static check failing with cannot import "go.uber.org/atomic" (type parameter bound more than once), export data is newer version - update tool (compile)


pinv for sparse linalg

Is your feature request related to a problem? Please describe.
I wanted to determine the moore-penrose inverse on a sparse matrix, but this isn't currenly implemented.
Due to its size, it's not possible to use the dense version of the function.
Describe the solution you'd like
It's implemented for dense matrices as scipy.linalg.pinv, and the function should be given the equivalent signature scipy.sparse.linalg.pinv.
Describe alternatives you've considered
Since SVD is already implemented for sparse matrices, it would be perfectly possible to calculate it with this, but I think it should be a built in function.

Pseudo inverse of sparse matrices are often dense and cannot be constructed and hence often skipped. There are alternative solutions such as custom generalized inverses (different than Moore-Penrose machinery), total least squares and so on. Hence we won't be able to provide them. You might want to formulate your problem suitable for such avenues. Or you directly solve via sparse least squares whatever problem you want to solve.


tests/pgsql: add test for bug 6983 - v4

Related to
Bug #6983
Previous PR: https://github.com/OISF/suricata-verify/pull/1874
Changes from previous PR:

rebase
add something that could work as a check for the changes done and wouldn't necessarily rely on tx info being present -- the downside of doing this is that it sort of defeats the purpose of the original tests...

I'll keep this PR, as it's needed to test the Suricata PR. And then will wait for feedback on the removal of pgsql metadata checks from the tests, here.
Ticket
Redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6983

Merged in #1890, thanks!


Propagate display name from Smart Lock for Passwords to account creation screen

The hint received from Smart Lock for Passwords is currently only used for the email address. The display name should also be collected and propagated to the account creation screen, if an account does not already exist for the email address.

A fix for this issue has been released in version 1.1.0


will css-blocks work with postcss?

I want the static analysis and build optimization of css-blocks, but I also want:

css variables
nesting
custom media queries
color functions
etc?

there is a list of variables and things here: https://www.shoelace.style/source/css/variables.css (I'm using shoelace for my app).

CSS Blocks has preprocessor support which includes postcss, as long as the output of the preprocessor is a legal block, it will work as you expect.
In #309 I'm tracking the fact that we should natively support & and @nest in selectors and validate them correctly, right now css blocks would not handle it.


Unfortunately it doesn't work with the function Queue Node (rgthree)

You have a wonderful set of nodes to makes the comfyui really comfortable! But unfortunately, it does not support the function of selectively launching a separate branch of the workflow implemented in Queue Node (rgthree). I understand that you can’t do anything about this, but perhaps you could add something similar to the functionality of your nodes?

https://github.com/rgthree/rgthree-comfy

This is now fixed from the rgthree-comfy side with https://github.com/rgthree/rgthree-comfy/commit/79f6f24a9578aa7b921322c227a63b825f2c1509
The issue was cg-use-everywhere was trying to override portions of a workflow in its override of graphToPrompt that no longer existed after the rgthree feature trimmed the workflow for a partial execution. Fixed on the rgthree-comfy side by moving the partial-workflow trimming to later in the process, after cg-use-everywhere already manipulates its graph (specifically, rgthree-comfy now trims the workflow in api.queuePrompt, right before sending to backend).

Thanks, rg3.

Thank you very much! Everything is working!


import of @typescript-eslint/utils package instead of the @typescript-eslint/experimental-utils package

If I understand well this change will result to:

[ ] Migration of the Otter EsLint packages to ESM (type module)
[ ] Migration of the eslintrc to .mjs in the different projects
[ ] Provide ng-update schematic to the eslint-config-otter to apply this migration to Otter based projects

The import has been changed on main with PR #1500 , no need for ESM migration<EMAIL_ADDRESS>is still using commonjs


[19.03 backport] atomic: patch 64bit alignment on 32bit systems

backport of https://github.com/moby/moby/pull/39543
fixes https://github.com/moby/buildkit/issues/1079
causes panic on armv7

@akihirosuda @tonistiigi ptal

It's a pity we don't have CI for ARM running (as far as I can see), but the change looks reasonable and minor. Merging

@kolyshkin see https://github.com/moby/moby/pull/39678

oh, that's arm64 of course


Authentication Error, Authentication Failed

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Open 'KeyPass'
Wait 'It shows instantly a error, than draw your pw'
"it shows, failed again and shows enter keypass screen, and than I need to draw my Password again.. than im in"

Expected behavior
A clear and concise description of what you expected to happen.
Should Open Without a error
Screenshots
If applicable, add screenshots to help explain your problem.
GitHub doesnt acces my gallery.. well
https://i.imgur.com/7mHMK1q.jpg
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6] - Mi 9T Pro
OS: [e.g. iOS8.1] - Android 10 + MIUI 12
Browser [e.g. stock browser, safari]
Version [e.g. 22] - 1.3.5

Additional context
Add any other context about the problem here.

Can you provide a video if possible

It doesnt happen since the update to Android 11 I did a few days ago it
doesnt happen anymore, im sorry I think the issue can get closed
~best regards
On Mon, Jul 5, 2021, 05:52 Yogesh Choudhary Paliyal <
@.***> wrote:

Can you provide a video if possible
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yogeshpaliyal/KeyPass/issues/12#issuecomment-873763421,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUM3P32R4HOWFGSLVXUEIDTWET7FANCNFSM464QQOMA
.

Thanks for your feedback


Send notifications to internal chat on CI build failures

Since we moved to GHA (GitHub Actions) we do not get notified on post-merge (aka CI) build failures.

https://github.com/google-github-actions/send-google-chat-webhook sounds useful.


Scrum Update #5

Scrum updates for the weeks (June 18 - July 31)
Please post in the comments with your CSID:
What did you work on this past iteration (2 weeks)?
What were any major issues/challenges you ran into?
What do you plan to work for this coming iteration (2 weeks)?
Total: ~ 5 sentences max!
See grading rubric here: https://blogs.ubc.ca/cpsc436i2020s/assessment-rubrics/#sec-2

CSID: z2z2b
What did you work on this past iteration (2 weeks)?
I helped on hooking up the backend to the frontend and propagating the data properly. Once we got that done I was able to create the reviews section. I also fixed a few minor things (eg popups closing when clicking on done).
What were any major issues/challenges you ran into?

Technical: properly connecting backend to frontend. We ended up using a context hook but tried for a while to use props which didn't work.
Some minor communciation issues/misunderstandings which were a bit of a blocker but we were able to resolve that for the future.

What do you plan to work for this coming iteration (2 weeks)?
This will be the last sprint, so main focus will be to polish everything up and implement stretch goals. I would like to work on the "friends" section.

CSID: u4y2b
What did you work on this past iteration (2 weeks)?
Connected advanced search frontend to the backend. Deployed the app on Heroku.
What were any major issues/challenges you ran into?
Since the project's backend wasn't inside the root directory, had to figure out a workaround to get Heroku to deploy the web app.
What do you plan to work for this coming iteration (2 weeks)?
Tidying up the code, git repo, and help in implementing stretch goals.

CSID: r3g3b
What did you work on this past iteration (2 weeks)?
Worked on reworking the frontend components and added a variety of new functionality including action buttons, profile page views, alerts, and helped with debugging frontend -> backend issues.
What were any major issues/challenges you ran into?
We had a very difficult time hooking up the front end actions to the backend due to state/context changes. Thanks to Anne for helping us solve this in the end. Other than that, there was no major issues.
What do you plan to work for this coming iteration (2 weeks)?
Working on the final goals and cleaning up some of the code in preparation for the demo. Overall, I am quite pleased with our result thus far.

CSID g6m8
What did you work on this past iteration (2 weeks)?
I completed the advanced search - specifically the backend functionality for finding movies from the MongoDB database.
What were any major issues/challenges you ran into?
Connecting to the front end and debugging.
What do you plan to work for this coming iteration (2 weeks)?
Completing one of the stretch goals and debugging the deployed website.

CSID: h5a2b
What did you work on this past iteration (2 weeks)?
Worked on the user backend, wrote axios for all front profile components including reviews, ratings, watched films, and watchlist, created a useContext hook to share user information across components, updated components as necessary, connected frontend to backend, and debugged frontend/backend issues.
What were any major issues/challenges you ran into?
Struggled while connecting the user frontend and backend because of state/context changes.  We are grateful to Anne for helping us debug. Everything else went smoothly.
What do you plan to work for this coming iteration (2 weeks)?
Work on a stretch goal, refactor code, and make sure everything is working properly for the demo.


Fix project health for installation-beacon, launcher, worker-services, workers, wrapper

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build


How to use this package with local WSDL file and certificate (.pfx) file ans passphrase ?

How to use this package with local WSDL file and certificate (.pfx) file ans passphrase ?

Conver to a (.pem) certifiacate and use the options:
'local_cert'     => Storage_path('/app/public/myCerficate.pem'),
'passphrase'     => 'passphrase',


Plugin hook so other plugins can contribute lines to the file

Inspired by:

https://github.com/simonw/datasette-block-robots/issues/6

Design:
@hookspec
def sitemap_extra_paths(datasette, request):
    "A list of extra paths to be added to /sitemap.xml"

Will return a list of paths (starting with /).
Since the paths don't need to be resolved to full URLs I'm not sure if the request parameter is needed or not. I'm going to include it just in case someone wants to do something really weird like dynamically change the sitemap based on the search engine user agent.


Fix pose editor for avoid-gizmo-crashes

Some functions may need to be run without the pose editor

Too sorry I mistake repo.


Unrecognized configuration parameter "jwt.claims.person_id"

I encountered the error when I was going through the step by step tutorial. It occurs during the execution of this function forum_example.current_person() in PostgreSQL:
select forum_example.current_person();

ERROR:  unrecognized configuration parameter "jwt.claims.person_id"
CONTEXT:  SQL function "current_person" during startup

In the GraphiQL, the current user query fails despite the successful authentication:
mutation authenticate($credentials:AuthenticateInput!) {
  authenticate(input:$credentials) {
    jwtToken { role personId }
    query {
      currentPerson { firstName }
    }
  }
}

{
  "credentials": {
    "email"<EMAIL_ADDRESS>    "password": "iFbWWlc"
  }
}

The following result is returned:
{
  "data": {
    "authenticate": {
      "jwtToken": {
        "role": "forum_example_person",
        "personId": 1
      },
      "query": {
        "currentPerson": null
      }
    }
  },
  "errors": [
    {
      "message": "unrecognized configuration parameter \"jwt.claims.person_id\"",
      "locations": [
        {
          "line": 5,
          "column": 7
        }
      ],
      "path": [
        "authenticate",
        "query",
        "currentPerson"
      ]
    }
  ]
}

Afterward, I cloned the forum example from the repository to check that I didn't make a mistake. There was another error when enabling row-level security in schema.sql:
alter table pis.person enable row level security;

ERROR:  syntax error at or near "row"
However, I commented out these commands (from line 206) because it shouldn't be relevant, it is the last step of the tutorial.

Finally, here are the details about my environment:
OS: Ubuntu 16.04.1 LTS
psql --version
postgraphql --version

psql (PostgreSQL) 9.6.2
2.6.0

The documentation suggests that alter table X enable row level security; should work on Postgres 9.5+; your client is for 9.6.2 but what is the version of the server you are connecting to?
https://www.postgresql.org/docs/9.6/static/ddl-rowsecurity.html
As for the unrecognised configuration parameter, that's probably from calling current_setting(...) for a field that doesn't exist; you should be able to fix that with alter database DATABASE_NAME set "jwt.claims.person_id" to '';

In order for:
select forum_example.current_person();

to work, and therefore:
{
  currentPerson { id }
}

as well, you will need to pass the JWT token you get (when --token forum_example.jwt_token is set) as an Authorization header to PostGraphQL 😊
This will effectively run:
set local jwt.claims.person_id to 'your_id';

In the database which will enable the forum_example.current_person procedure to work 👍
Make sure to run the SET command manually yourself if you want to test in the database.

@benjie You are right. My Postgres server version (9.4.8) has no support for row-level security.
Setting the default key works with an integer (empty string causes invalid input syntax for integer),
but the default is only for users without a token. I assumed that the value will be (automatically) set after a user authenticated at least in GraphiQL. That is not true based on the requests, then I will add Authorization header by myself.  Thanks for the help.

I'm having this problem.

What command line/library options are you using? And is it this issue (where an error is thrown), or is it just that your values are coming back null? (Maybe you haven’t set a JWT secret?)

I'm using express + postgraphile (PG10) + nuxt.
const postgraphileOptions = {
  pgDefaultRole: 'crw_anonymous_swapper',
  graphiql: true,
  enableCors: true,
  jwtSecret: 'crowdswapper_master$$$',
  jwtPgTypeIdentifier: 'crw_public.jwt_token',
};

Everything works fine, I'm getting the role and the permissions works. But, when i try to retrieve the user id from the jwttoken, is returning always null. (this happens also when i'm running postgraphile standalone version)
create or replace function crw_public.current_swapper_id() returns INTEGER as $$
  select current_setting('jwt.claims.swapper_id', true)
$$ language sql stable;

Ohhhhh! If you use the JWT in the header and run the query again it should work. To make it work as you have there (in the same request with which you fetch the JWT) you need to call set_config(‘jwt.claims.person_id’, ..., true) in your authenticate function.

Yeah. But, even with the JWT in the header as
authenticate: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiY3J3X3B1YmxpY19zd2FwcGVyIiwic3dhcHBlcl9pZCI6MjIsImlhdCI6MTUzNTA2NDMxNiwiZXhwIjoxNTM1MTUwNzE2LCJhdWQiOiJwb3N0Z3JhcGhpbGUiLCJpc3MiOiJwb3N0Z3JhcGhpbGUifQ.VTpxqYl_OdooINSwNWyi-BfzammP5cKpFTcOG9_vtiU

is returning null.

Ah -- isn't the header supposed to be
Authorization Bearer XXXXXXX  ???
Not Authenticate??
I've never used anything but Authorization  (or authorization of course -- case doesn't matter)

On Aug 23, 2018, at 6:55 PM, Daniel Marulanda<EMAIL_ADDRESS>wrote:
Yeah. But, even with the JWT in the header as
authenticate: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiY3J3X3B1YmxpY19zd2FwcGVyIiwic3dhcHBlcl9pZCI6MjIsImlhdCI6MTUzNTA2NDMxNiwiZXhwIjoxNTM1MTUwNzE2LCJhdWQiOiJwb3N0Z3JhcGhpbGUiLCJpc3MiOiJwb3N0Z3JhcGhpbGUifQ.VTpxqYl_OdooINSwNWyi-BfzammP5cKpFTcOG9_vtiU
is returning null.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/graphile/postgraphile/issues/353#issuecomment-415597224, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8M7ehNK5ejD3KQwl_DRbkHKpsMH9hoks5uTzLkgaJpZM4L_KZq.

Also if you head over to jwt.io  with that JWT , what does it decode to?

On Aug 23, 2018, at 6:55 PM, Daniel Marulanda<EMAIL_ADDRESS>wrote:
Yeah. But, even with the JWT in the header as
authenticate: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiY3J3X3B1YmxpY19zd2FwcGVyIiwic3dhcHBlcl9pZCI6MjIsImlhdCI6MTUzNTA2NDMxNiwiZXhwIjoxNTM1MTUwNzE2LCJhdWQiOiJwb3N0Z3JhcGhpbGUiLCJpc3MiOiJwb3N0Z3JhcGhpbGUifQ.VTpxqYl_OdooINSwNWyi-BfzammP5cKpFTcOG9_vtiU
is returning null.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/graphile/postgraphile/issues/353#issuecomment-415597224, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8M7ehNK5ejD3KQwl_DRbkHKpsMH9hoks5uTzLkgaJpZM4L_KZq.

Yes, sorry, is Authorization. Isn't working.
The JWT have the following information:
{
  "role": "crw_public_swapper",
  "swapper_id": 22,
  "iat":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "aud": "postgraphile",
  "iss": "postgraphile"
}

Well hmm... my function I use (and it works perfectly) is
--
-- Utility functions needed throughout the RLS stuff
--
-- Define who we currently are..
--
DROP FUNCTION IF EXISTS mm_public.current_member_id() CASCADE;
create function mm_public.current_member_id() returns int as $$
  select nullif(current_setting('jwt.claims.memberId', true), '')::int;
$$ language sql stable leakproof security definer set search_path from current;
comment on function  mm_public.current_member_id() is
  E'@omit\nHandy method to get the current Member ID for use in RLS policies, etc; in GraphQL, use `currentMember{id}` instead.';

Copy/Pasted your function.
It doesn't work.

I thought it was a single round trip. E.g.
  mutation AuthenticateMutation($input: AuthenticateInput!) {
    authenticate(input: $input) {
      jwtToken
      query {
        currentPerson {
          fullName // actually get back whatever you set in query
          whateverElseYouWant
        }
      }
    }
  }

I'm using the current_person() function in your schema design tutorial.


Kubernetes office hours announcement for July 2022

Provide the actual tweet content between the commented colons

Don't miss #Kubernetes office hours today
This month's guests are @reylejano and @PuDiJoglekar, joining our host @csantanapr to talk about SIG Security
https://www.youtube.com/watch?v=7eTEXSawbm4

I totally forgot about this tweet, can we tweet this today Wednesday July 20th before 8AM PST
cc @chris-short

/lgtm

closing the issue as the meeting happened on 20th of July.
/close


The 'mvlgamma' function not consist in torch<=0.4.1

It appear that:
module 'torch' has no attribute 'mvlgamma'.
I found that 'mvlgamma' function added in torch>=1.0.0, so did other function could replace maybe?

I have another problem that it appear:
File "G:\untitled\VHCR\model\utils\time_track.py", line 18, in timed
result = method(*args, **kwargs)
File "G:\untitled\VHCR\model\solver.py", line 512, in train
batch_loss.backward()
File "D:\Anaconda\envs\py36torch\lib\site-packages\torch\tensor.py", line 102, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "D:\Anaconda\envs\py36torch\lib\site-packages\torch\autograd_init_.py", line 90, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: invalid argument 2: upper bound and larger bound inconsistent with step sign at c:\a\w\1\s\windows\pytorch\aten\src\th\generic/THTensorMoreMath.cpp:650


ModuleNotFoundError: No module named 'pyorbbecsdk'`

I followed the steps in the Orbbec SDK Python Wrapper Documentation, but I am still getting the error ModuleNotFoundError: No module named 'pyorbbecsdk' after trying to run a file from the Examples.
Note: I am using VS Code with Python 3.10.4.

cd into pyorbbecsdk and paste commands below in the terminal
export PYTHONPATH=$PYTHONPATH:$(pwd)/install/lib/
sudo bash ./scripts/install_udev_rules.sh
sudo udevadm control --reload-rules && sudo udevadm trigger
OR
you can put these commands in .sh file (for ex setup.sh) and every-time just do "source setup.sh"

@tushardmaske  Thank you for you reply
Is this code for Linux? Do you have one for Windows?

Me too. On Windows, I have tried various methods, but still got ModuleNotFoundError: No module named 'pyorbbecsdk'

import sys
sys.path.append("your pyorbbecsdk.so path")
you can try this on the header of the py file

I got this working eventually but documentation could probably do with updating.

@JakkapongW @5d6d0011 which sample？ if you use save_pointcloud_to_disk.py or save_pointcloud_to_disk_by_filter.py , need install plyfile.
When installing plyfile with pip install plyfile, do not use a VPN, as it may cause installation issues.

Hello.  I am also unable to get this working with Windows.  I have followed all instructions, compiled the DLLs and pyd files and placed them in examples folder, but I still get ModuleNotFound.
I have done the same on Archlinux and after updating PYTHONPATH to include the sdk install\lib directory I do not have this issue.
Is there any update on why this is not working on Windows?
Thanks

I have solved this in my Windows installation.  I found that the pyd file was being compiled for a different version of python than what I had in my virtual environment.  I deleted the entire pyorbbecsdk directory and cloned it fresh.  I then followed the instructions.  I used CMake-GUI, but I launched it from the command line within the venv after installing the requirements.  "C:\ProgramFiles\CMake\bin\cmake-gui.exe".  After configuring, generating, then building and installing with Visual Studio and copying the files over, the pyd correctly was built to cp311 and the examples all are running.

@wjstarrsiii this worked for me, thanks!


Cancel change connection disconnects current connection

Issue Type: Bug
Open a database connection.  Create a new query.  Select "Change Connection."  Cancel the Connection dialog.  The query will now be disconnected.
The expected behavior would be to keep the current connection open until a new connection is actually selected.
SQL Operations Studio version: sqlops 0.29.3 (7099922c35bc3b3e223228c972cc03cee5abbe25, 2018-05-04T05:46:24.032Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 x 3591)

Memory (System)
15.91GB (0.95GB free)

Process Argv
C:\Program Files\SQL Operations Studio\sqlops.exe

Screen Reader
no

VM
0%

Extensions: none
Reproduces without extensions

This is fixed in master now so it will be included in our next release


Showing the Croissant specs number in the namespace URL

The version of the croissant specs (format) could be captured by the namespace URL for Croissant, e.g., http://mlcommons.org/croissant/1.0
Further elements for discussion are in this doc: https://docs.google.com/document/d/1WyCE5XYImWoC-sZyonNqWfavCvFUqhPGEbqHpBuIjvk

We need to finalize the namespace for the Croissant initial release, so that all datasets can explicitly refer to it.
Proposed URI: http://mlcommons.org/croissant/1.0
Every Croissant dataset should reference this URI via the property:
dct:conformsTo: "http://mlcommons.org/croissant/1.0"
where dct = "http://purl.org/dc/terms/" is a prefix specified in the context.
Please reply on this issue if you have any objections to this proposal.


Cursor disappears frequently, when only one or no apps are running.

Hyprland Version
v0.33.1-97-gf86cdcf8
Bug or Regression?
Bug
Description
(env = WLR_NO_HARDWARE_CURSORS,1 is set)
The cursor likes disappearing when the starting point is either an empty workspace with no apps running or I'm closing the app running with my keybind. Violently moving the mouse around makes the cursor reappear, dragging it to the left to my vertical Waybar does it too. However the issue happens even if Waybar is killed.
If I have a very tiny floating window open -dragged far out of the way, but still within the active workspace- the issue does not occur.
I tried various versions of Hyprland. Latest git from AUR, a week old git from a snapshot & the normal Arch package, they all seem to produce this issue.
(I run Hyprland from an intel IGPU & all my displays are connected to this IGPU, while I have an AMD dedicated GPU that I only use for gaming. Disabling all but one of my displays does not fix it)
How to reproduce
For example use a keybind to run rofi -show window & then exit from rofi with 'esc'.
Alternatively I can just start up alacritty & close it with my keybind.
Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/8416043/a553c69b-533d-403a-842c-7897ad03594c

Seems like this might be a wlroots issue, because the same thing also happens in Labwc, however there the tiniest movement of the mouse is enough to recover the cursor, which cannot be said about Hyprland.

it's not a wlroots issue. It was working a while back but I broke it some time ago.

That's good to know, at least I won't fret over trying to fix something that I thought could be due to the niche-ness of my system.

Since yesterday the behavior has changed. (improved a little)
The cursor does not disappear anymore when closing standalone apps on a workspace like Alacritty. However the cursor is stuck on the text indicator instead. (or any other indicator the app requested before closing it)
The cursor does still disappear if I close either of the rofi windows with esc.

I have not compiled Hyprland for a few days & after updating just now this issue seems to be solved. (I'll reopen it later, if it's a fluke)

Still happening for me on AMD GPU on NixOS

Yeah, I will open it again. What I perceived as fixed was merely Rofi-lbonn changing cursor behavior on their side, but it still happens.

Still happening for me on AMD GPU on NixOS, my workaround is to just hover over Waybar. Pretty sure I am running newest version as I am using the Hyprland flake

I second this, for some reason my cursor disappears too when I open mpv

Still happening for me on AMD GPU on NixOS, my workaround is to just hover over Waybar. Pretty sure I am running newest version as I am using the Hyprland flake
Same, but this started happen only after I changed the default cursor

I wonder if Hyprcursor bypasses it to some extent lol haven't tried, I am still having this as well though but I'll admit I'm on slightly out of date version of Hyprland now


What is white list and blacklist?

Does it mean that if env file is submitted to the repository, variables which is in the blacklist wouldn''t be added to git?
Or this blacklist and whitelist do something else?

@Luckygirlllll that's actually it 😊 blacklist will make sure certain environment variables are not included nor will overwrite environment variables somehow imported in other ways

closing as this should be moved to discussions


KOGITO-2915 - rename tracing artifacts

jira: https://issues.redhat.com/browse/KOGITO-2915
The artifact ids of the tracing modules have a different name respect to their folders.
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

Jenkins retest this please

related pr on kogito-apps https://github.com/kiegroup/kogito-apps/pull/354

jenkins retest this please


feature: add filters for hasCoordinate and hasGeospatialIssue

See https://github.com/gbif/hp-beaty-biodiversity-museum/issues/65 from @mpitblado

This is now available. closed by https://github.com/gbif/gbif-web/commit/399ce07fd6ebbb1f4eeaf551a2217556fa38cf26


How can i custom resolves query connection which i expose from "forwardTo"

Hello everyone.
I'm sorry if a similar problem existed.
if i have a model like this:

The situation is like this, suppose I'm an author who posted a certain post and I'm in that post and I want to find a list of users to invite to my post subscription like subscribe type above.
I want to get a user list with toForward usersConnection of prisma-binding and how can I get information to know if one of the users in the list above has been invited to this post subscription list to check the status invited and cannot invite.
The same idea when I surf facebook how can I know which posts I liked before.
Thank you.

Thank you for reporting.
In the last few months, since the transition of many libraries under The Guild's leadership, We've reviewed and released many improvements and versions to graphql-cli, graphql-config and graphql-import.
We've reviewed graphql-binding, had many meetings with current users and engaged the community also through the roadmap issue.
What we've found is that the new GraphQL Mesh library is covering not only all the current capabilities of GraphQL Binding, but also the future ideas that were introduced in the original GraphQL Binding blog post and haven't come to life yet.
And the best thing - GraphQL Mesh gives you all those capabilities, even if your source is not a GraphQL service at all!
it can be GraphQL, OpenAPI/Swagger, gRPC, SQL or any other source!
And of course you can even merge all those sources into a single SDK.
Just like GraphQL Binding, you get a fully typed SDK (thanks to the protocols SDKs and the GraphQL Code Generator), but from any source, and that SDK can run anywhere, as a connector or as a full blown gateway.
And you can share your own "Mesh Modules" (which you would probably call "your own binding") and our community already created many of those!
Also, we decided to simply expose regular GraphQL, so you can choose how to consume it using all the awesome fluent client SDKs out there.
If you think that we've missed anything from GraphQL Binding that is not supported in a better way in GraphQL Mesh, please let us know!


ASCII format event file not compatible with mne_browse_raw

I mean when using mne.write_events(.)
Is this intentional?
It does seem like we need two changes for compatibility (or update mne_browse_raw):
(1) Adding time column
(2) Adding dummy row with raw.first_samp (OR) adding raw.first_samp  to all rows

can you clarify how the problem happens? what's your workflow?

Take any events array and do mne.write_events('something.eve'). The result cannot be viewed by doing "Load events from text file.." in mne_browse_raw.

I think it has something to do with the standard C -eve.txt file having four columns instead of our three if I remember correctly.

It does..once I made the changes in OP, it shows up correctly.

I thought you'd need the first_samp, too -- did it work without it?

@Eric89GXL .. You don't technically need to have a dummy line with first_samp -- mne_browse_raw recognizes the the lack of a dummy line and shifts the sample numbers using the first_samp  but that is incorrect because mne-python event arrays already have the requisite shifts.
Essentially you need whatever I have listed in OP..
Do you guys see anything breaking if I change mne.write_events to be compatible with mne_browse_raw ? If not, I can start a PR right away..

You can try it first and see if it breaks any of the tests :)
I thought we had some reason for omitting the events, but looking back at the PR #111 I don't see one. So +1 for me

no objection. I never use events as texts file and I have never suggested
users to use them in the MNE training sessions.

@haribharadwaj you still interested in tackling this?

@Eric89GXL ..Sorry about dropping the ball on this.. I can do it but not for a couple of weeks. If anyone else can do it earlier, they should feel free

Since this doesn't seem to be in high demand I'll close this. But @haribharadwaj if you would still like to see it feel free to reopen and hopefully someone can get to it


Consideration: Use encryption library?

There are industry-standard encryption libraries that might be better suited for the encryption implementation in zip.
They can be included by source to avoid adding additional dependencies, and to only include the necessary parts.
Drawbacks:

Increased binary size
Probably slower due to not using native code

Requirements:

MIT License or equivalent
Modular source

Candidates:

Bouncy Castle
sodium

I strongly vote for using what's inside the framework(s), and only then dragging in a third-party library (because it causes a dependency for the downstream user, who already might be using a different version of said library - or it is way too heavy).

@christophwille It's only a really small subset that needs to be included, and it would be included in the source, using a separate namespace. The only parts we need are Symmetric CTR mode for Rijndael, HMAC-SHA1 and PBKDF2.
One of the problems with the current code is that System.Security.Cryptography.AsymmetricAlgorithm lacks support for CTR.
It is instead done manually in ZipAESTransform by using ECB mode and I lack the cryptography knowledge to verify that it's correctly implemented. That's why I leave crypto implementations to NaCl and BC which I trust.
That being said, archives created with AES encryption (since 975d5b0) are extractable by 7-zip without errors, so it should be fine.

Including actual cryptographical algorithm implementations has potential legal implications; using / adapting "stuff" that's inside the framework or a separate library is ok (after all, we do not ship the implementations).

@christophwille Good point. I didn't even consider the US crypto export regulation and such. I didn't think that was a problem anymore, but I'd rather not find out.
So we stick with the current implementation. I am fine with that, I just wanted to bring this up for discussion.


Add Character z-index property

Portraits can overlap and there is no way to order them.
There should be a "z-index" property on the character join event and a "default" option on the character editor.

just to add to it, currently it's swapping the draw order every other dialogue box, unless character is talking and "dim characters when they are not speaking" is enabled, then they hold properly.
having Z-index setting on character join event lets you customize the order you want people drawn in, for say just everyone right-to-left  or left-to-right-, or say if you have characters on the side looking at someone in the center then draw in z orders 1,2,3,2,1 or 3,2,1,2,3 depending on how you want a particular scene

Any ideas on how to implement this? Control Nodes don't have a z-index property. We will just have to manually sort the children of the portrait node acording to the given "z-index" probably... Also to achieve #640 (which is related to this) we would have to put the portrait node below the text bubble node.


Run regression test on Julia 1.3

We should wait before updating kernels/etc., but it would be nice to know if tehre are regressions.

Results attached. Looks pretty good... maybe a lecture or two with an error? We can sort it out.
code-execution-results.json.txt


[FEATURE] Write tool to export the MiniDataAPI tests

Is your feature request related to a problem? Please describe.
It will be easier to write new implementations of the MiniDataAPI spec if there's a way to easily export the tests.
Describe the solution you'd like
A CLI tool that simply exports the tests into a new Jupyter notebook with a cell marked for database instantiation. Might also have an export to a Python script for those of us who prefer to work in that medium.
Example code
Provide an example of how you imagine the feature working:
$ fh_export_minidataapi_tests

Similar implementations
Maybe I'm overthinking this? Maybe we can just provide instructions for copying over the current notebook? Or maybe there's already a way to do it and I just don't know about it?
Problem solved
Makes it easier to write MiniDataAPI implementations.
Confirmation
Please confirm the following:

[x] I have checked the existing issues and pull requests to ensure this feature hasn't been requested before.
[x] I have read the project's documentation to ensure this feature doesn't already exist.

Definitely overthinking it Danny! ;)