Native build fails with exception

Hi,
I am trying to do a native build of a quarkus project using quarkus-cxf to call a remote soap client. When I execute the below,
./mvnw clean package -Pnative -Dquarkus.native.container-build=true -pl sample-rest -am -Dquarkus.native.native-image-xmx=10g -X
then the following exception is thrown.
Anything I could be missing here? This is the repo I'm trying to build the native image for  https://github.com/chet20r/quarkus-cxf-interceptor-issue
Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.ClassLoader.defineClass(String, byte[], int, int) is reachable
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Detailed message:
Trace:
        at parsing org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader.java:108)
Call path from entry point to org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader$TypeHelperClassLoader, String, byte[], int, int):

I am using Java 11

can you try with
mvn clean package -Dnative  -pl sample-rest  -Dquarkus.native.container-build=true
I know that I use -Dnative instead of -Pnative, I never take the time to create profile and so on...

Thanks @dufoli . I tried with -Dnative but still the same
[sample-rest-1.0.0-SNAPSHOT-runner:26]        setup:   3,170.17 ms,  0.94 GB
21:44:30,286 INFO  [org.hib.val.int.uti.Version] HV000001: Hibernate Validator 6.2.0.Final
21:45:05,866 INFO  [org.jbo.threads] JBoss Threads version 3.2.0.Final
[sample-rest-1.0.0-SNAPSHOT-runner:26]     (clinit):   1,550.06 ms,  2.88 GB
[sample-rest-1.0.0-SNAPSHOT-runner:26]   (typeflow):  38,217.21 ms,  2.88 GB
[sample-rest-1.0.0-SNAPSHOT-runner:26]    (objects):  55,587.84 ms,  2.88 GB
[sample-rest-1.0.0-SNAPSHOT-runner:26]   (features):   2,513.40 ms,  2.88 GB
[sample-rest-1.0.0-SNAPSHOT-runner:26]     analysis: 101,979.56 ms,  2.88 GB
Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.ClassLoader.defineClass(String, byte[], int, int) is reachable
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Detailed message:
Trace:
	at parsing org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader.java:108)
Call path from entry point to org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader$TypeHelperClassLoader, String, byte[], int, int):
	at org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader.java:108)
	at org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.lambda$defineClass$0(ClassGeneratorClassLoader.java:148)
	at org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader$$Lambda$915/0x00000007c1dc1440.apply(Unknown Source)
	at sun.security.ec.XECParameters$1.get(XECParameters.java:183)
	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:338)
	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)

com.oracle.svm.core.util.UserError$UserException: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.ClassLoader.defineClass(String, byte[], int, int) is reachable
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Detailed message:
Trace:
	at parsing org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader.java:108)
Call path from entry point to org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader$TypeHelperClassLoader, String, byte[], int, int):
	at org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader.java:108)
	at org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.lambda$defineClass$0(ClassGeneratorClassLoader.java:148)
	at org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader$$Lambda$915/0x00000007c1dc1440.apply(Unknown Source)
	at sun.security.ec.XECParameters$1.get(XECParameters.java:183)
	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:338)
	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)

	at com.oracle.svm.core.util.UserError.abort(UserError.java:82)

I don't necessarily need to create a native image. The problem I am facing is that I have a simple quarkus service that calls a remote SOAP web service. This service is deployed as an AWS lambda function. The problem is the time it takes to initialise the SOAP service on first request.
What I am seeing is that to initialise the soap client service, it is taking about 4 seconds which is really slow considering the end user is waiting for a response. This happens only on the first request and the subsequent requests are in millisecond response

If I can somehow improve the service initialisation time for first request, then I'll be happy with just running in JVM mode. I am not too sure how much of a benefit I would get building a native executable.

Hmm I need cxf version and quarkus-cxf version. Because it seems to be not compatible version...

Here are the versions..
CXF - 3.4.2
quarkus-cxf 0.4

To monitor time https://quarkus.io/guides/writing-extensions#printing-step-execution-time
Just add -Dquarkus.debug.print-startup-times=true

I know that cxf done a lot of things at first call
... As generated class. On our side it must be done during build time. Anyways, I need to investigate deeper and no time for that.

@chet20r I just took a quick look at your project, try adding the following to the native profile in sample-rest/pom.xml.  The native image that got built for me works without issue, but let us know how it goes for you.
        <plugin>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-maven-plugin</artifactId>
            <executions>
                <execution>
                    <goals>
                        <goal>native-image</goal>
                    </goals>
                    <configuration>
                        <enableHttpUrlHandler>true</enableHttpUrlHandler>
                        <additionalBuildArgs>--report-unsupported-elements-at-runtime</additionalBuildArgs>
                    </configuration>
                </execution>
            </executions>
        </plugin>

thanks to @shumonsharif  test, I close this ticket.

Thanks @dufoli and @shumonsharif . I'll try out the suggested native build approach soon.

Hi @shumonsharif  Just need a little bit of help here. I have updated the POM (in sample-rest project) with the plugin settings you shared above ☝🏽  and when I run mvn clean package -Pnative -pl sample-rest -am -Dquarkus.native.container-build=true from the parent project, I am still getting
[sample-rest-1.0.0-SNAPSHOT-runner:26]     analysis: 128,565.19 ms,  2.87 GB
Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.ClassLoader.defineClass(String, byte[], int, int) is reachable
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Detailed message:
Trace:
	at parsing org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader.java:108)
Call path from entry point to org.apache.cxf.common.spi.ClassGeneratorClassLoader$TypeHelperClassLoader.access$001(ClassGeneratorClassLoader$TypeHelperClassLoader, String, byte[], int, int):

I am not sure what I am doing wrong here?

your error seems not relative to cxf. I have search for
JNIJavaCallWrappers.jniInvoke_ARRAY on internet because it seems to be a jni problem...

Hey @chet20r I can certainly try to help, but given the error is not related to the extension, can you give me access to your repo, and open an issue there with your latest code commits and logs?

maybe I will need to add a profile ...

@dufoli We already have a profile in our integration-tests, which is probably what @chet20r may have used as a starting point.
This is what those few lines should look like, in order for folks to use -Pnative.  I think we'll need to update our build workflows too, if we touch that.  I can work on that if you'd like, pls feel free to create an issue and assign to me.
            <id>native</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>

thanks @shumonsharif & @dufoli. I have given you both access to my repo and have created an issue here.
https://github.com/chet20r/quarkus-cxf-interceptor-issue/issues/1
I have also attached the logs and the environment details I am running this on.
Thanks for your help!


Additions to README

Guilian can you update the sections for which I've added headers to the README? Also would be nice to show some graphics of sterimol and vectorised sterimol from pymol as well!

Looking much better!


chore(deps-dev): block accidental use of yarn

Summary
Simple "hack" to prevent accidental yarn install. Engine Yarn will not be able to find the Yarn version number please-use-npm and will halt the installation.
Prevents developers with yarn muscle memory from making a mess of the project.
We could also further strengthen versions by specifying npm. But npm crossed a major version release with a minor Node release (Node 16.0.0 ships with npm 7.10.0, Node 16.11.0 shipped with npm 8.0.0).
Test
Will fail on yarn / yarn install.

Related, we might want to bump the engine up to 16.17 to ensure that people are using at latest the minor version used by the build system and the runtime.

Happy to bump that up. 16.17 is current LTS.


Update read me file

Corrected the copy config file

@kiranmurali93 In my machine renaming the env example to .env or even env is not working I still have to do a source env to get it pick the environment variables. Have you updated the database.yml by any chance ? Otherwise rails wouldn't pick the env file by default.

yea you can do that


Random numbers cross platform.

You might already know this, but the random module doesn't generate the same numbers from the same seed across all platforms.
Random.new(12345).int(0,100000) will generate different numbers depending on the compiler's implementation of rand(), and there might be some benefit if the random module just used it's own random function.

Yeah, I was aware of that, but it didn't worry me too much. I think it's generally a bad practice to assume PRNG output is stable across machines. I wouldn't want to commit to producing stable output because that would also limit Wren's ability to tweak its RNG algorithms over time too.
Is it causing problems for you?

It's not really a problem, because it's easy enough to replace the functions. I just thought it would be cool for things such as cross platform replays, and lockstep multiplayer. It was causing desyncs for me, but I think you're right that the cons outweigh the pros.

I just thought it would be cool for things such as cross platform replays, and lockstep multiplayer.

Yeah, there are definitely cases where a deterministic RNG is vital. You could always roll your own in those cases, though.

Ya, that's what I ended up doing, thanks.


Workaround for matmul kernel crash with i8 operand

[x] I am not making a trivial change, such as fixing a typo in a comment.

[X] I have written a PR description following these
rules.
 When one operand is 8 bits, the BlockedToMMA pass creates a layout
 with kWidth=4. During the TritonGPU to LLVM lowering pass, this
 combination is crashing in loadX4 function.

 To work around this issue, if the operand's minBitWidth is 8, we
 use the bitWidth of the other operand in the lowering pass.

[X] I have run pre-commit run --from-ref origin/main --to-ref HEAD.

Select one of the following.

[x] I have added tests.

/python/test for end-to-end tests

Select one of the following.

[x] I have not added any lit tests.

I signed CLA.

This change, as mentioned in the title, would only work-around the issue but not fix it. Effectively what this is doing is it removes mixed-precision behavior for any matmuls with s8. Also the current change would regress s8 x . The ideal way we would hope to handle the issue is to fix the limitations of Triton during its lowering to LLVM, and still allow proper mixed-precision mma to happen.

Could you elaborate on what you mean by "removes mixed-precision behavior for any matmuls with s8"? I ask because the lowered code contains a cast from i8 to f32 before feeding data to the tf32 mma op, which is necessary since the other operand is already f32. Could you also clarify what you mean by "the current change would regress s8 x "? Perhaps you could provide an example to illustrate this point? Thank you.

My apologies for replying late.
Regarding s8 x : We can consider the example of s8 x f16:
This change will cause the "kwidth" attribute (can be inspected in MLIR in the AccelerateMatmul pass if you dump the MLIR) will be different before and after the change. The value before will be equal to 4, while after it will be equal to 2. This will affect how the data is loaded.
I have attached the LLVM IR before and after the change for you to inspect given the HLO below.
HloModule m

ENTRY e {
  p0 = s8[16,32] parameter(0)
  p0c = bf16[16,32] convert(p0)
  p1 = bf16[32,8] parameter(1)
  ROOT _ = bf16[16,8] dot(p0c, p1),
    lhs_contracting_dims={1}, rhs_contracting_dims={0}
})

I haven't looked deeply into the performance impact, but it is clear that the change is not local.
llvm-after-change.txt
llvm-before-change.txt
As you can see the change will impact other use-cases. I'm not sure whether what the performance impact is (would be nice if you profile it). The constraints could be tighter to only match on s8 x f32 combinations, but that would still be working around the issue.
I hope this explains it a bit more.

Thank you for the details. I think I understand the issue with the proposed workaround. I have updated this MR with changes that should not affect other mixed-precision matrix multiplications. I verified that the i8xf16 kWidth remains 4 with this workaround.
The issue stems from the LLVM lowering pass not supporting f32 with kWidth=4 when lowering for Ampere tensor cores. I am not familiar with Ampere tensor cores and cannot estimate the effort required to fix the issue in the lowering pass.

Unfortunately, a workaround is not something we can accept for this issue, and would need a proper fix here.
We already have a different workaround internally, and the performance benefits we would gain from this do not outweigh the cost of maintaining a patch on top of upstream.


Add timezone for cron schedule requests.

Include a timezone property in ScheduleWorker requests.

Codecov Report
Base: 60.56% // Head: 60.58% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (770e680) compared to base (2bebfe7).
 Consider uploading reports for the commit 9ce1fc3 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #347      +/-   ##
===========================================
+ Coverage    60.56%   60.58%   +0.02%
===========================================
  Files           43       43
  Lines         4455     4455
===========================================
+ Hits          2698     2699       +1
  Misses        1572     1572
+ Partials       185      184       -1

Flag
Coverage Δ

unittests
60.58% <ø> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/plugins/gateway/lambda/lambda.go
60.62% <0.00%> (+0.51%)
:arrow_up:

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

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

closing for now, will revisit when implementing cron timezone repinning


Internal server error, cannot upload image.

Issue Summary
It is not possible to upload images into a post after building a docker image with Ghost 5.34.0, while this was not an issue with prior versions of Ghost 5.33.8 and 5.33.7. Compiled all 3 images from scratch with no cache option on the same box and had always the issue with Ghost 5.34.0.  Reproduced in a docker environment on ARM using the official Debian docker compose file.
Steps to Reproduce
Compiled a docker image with Ghost 5.34.0, mounted a local path
  volumes:       - /var/www/mghost/volumes/ghost_minov_it_data:/var/lib/ghost/content
Tried to upload an image via GUI
Ghost Version
5.34.0
Node.js Version
node:16-bullseye-slim
How did you install Ghost?
Compiled via docker using the Debian image
Database type
MySQL 8
Browser & OS version
Tried from Chrome and Safari
Relevant log / error output
[2023-02-15 18:52:49] ERROR "POST /ghost/api/admin/images/upload/" 500 2094ms
An unexpected error occurred, please try again.
"store.urlToPath is not a function"
Error ID:
    f19dd880-ad61-11ed-a927-7b5476df5eb2
Error Code:
    UNEXPECTED_ERROR
----------------------------------------
TypeError: store.urlToPath is not a function
    at module.exports.prepareError (/var/lib/ghost/versions/5.34.0/node_modules/@tryghost/mw-error-handler/lib/mw-error-handler.js:92:19)
    at Object.query (/var/lib/ghost/versions/5.34.0/core/server/api/endpoints/images.js:40:50)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async /var/lib/ghost/versions/5.34.0/node_modules/@tryghost/api-framework/lib/http.js:64:28

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

@minovc3 Do you happen to use a custom storage adapter?

@minovc3 Do you happen to use a custom storage adapter?

Hi there. Yes! Tried with two different storage adapters:

https://github.com/kevinlang/ghost-storage-b2
https://github.com/colinmeinke/ghost-storage-adapter-s3

Neither of them worked on version 5.34.0, but both of them have been working on 5.33.8 and earlier versions of Ghost. I have been using them since Ghost 5.X without any issues.


Zotero 7: Incorrect cite key temporarily displayed after adding item

Debug log ID
ULF39FN5-refs-euc/6.7.197-7
What happened?
Zotero 7.0.0-beta.78+5be5ca941
BBT 6.7.197 (and also debug build <IP_ADDRESS>2.6245)
STR:

Open several PDF tabs in Zotero (I have 4 open at the moment)
Go to https://pola.rs/, save this site via the connector
The parent item is created, and initially the correct cite key is shown
A few seconds later, the web site attachment is added, and around then the wrong cite key appears

It's hard to relay the content of all of the BBT debug build notifications, as they are a lot of the flashing on screen. It looks like when the website attachment is added, BBT seems to think Zotero somehow cycled through all of the open PDF tabs as well. The newly added item ends up displaying the cite key for the 3rd open PDF tab in my case.

The issue still occurs with the test build above. I sent an additional debug log for that build: E4DPEDAU-refs-euc/<IP_ADDRESS>84.6281-7.

The issue still occurs with the latest test build, here's a fresh debug log: ZF7UKZNE-refs-euc/<IP_ADDRESS>84.6284-7.
With this round of testing, I noticed the item happened to display at least 2 different incorrect cite keys. (The final cite key displayed is still incorrect.)

I can reproduce it now, but as far as I can tell, this is a Zotero bug.

Not sure if I understand this issue correctly. #2922 should fix https://forums.zotero.org/discussion/116309/citation-key-not-displayed , which presumably is another form of this issue.

That was indeed the case; this fix will be in the next release, which goes out before next Wednesday.

Yes, I agree this appears to be fixed when using Zotero 7.0.0-beta.98+0b3eda5d8 and BBT 6.7.214. Thanks all! 😄


openai.error.AuthenticationError: Principal does not have access to API/Operation

I have executed the script with GLobal Admin ID and now the developer is using his identity while using az auth login
What are the least permission that are required for other users to test the app locally

Hm, it sounds like you're trying to enable a colleague to run the app, is that correct? If so, please follow the steps here:
https://github.com/Azure-Samples/azure-search-openai-demo?tab=readme-ov-file#sharing-environments


Sorry, do you guys know any good framework to parse iCal (.ics) file?

Sorry. May be this is not the place to ask this question, but I don't know where's better.
Do you know any good framework to parse iCal (.ics) file in Swift 3?
Thank you.
You can close this issue if it's not suitable.

A good place to ask a question like that is on Slack in the ios dev chat. There are many people there that can help you with this.
I do not know the answer to this question, so i'll close it as it is unrelated. I have asked your question on slack. If they respond then i will tell you the response here. Best of luck

Yes, thank you.

@vietstone have you tried this one? --> https://github.com/KiranPanesar/MXLCalendarManager


Build fails on MacOS 12 Monterey Public Beta 4 on M1

Log:
asdf install python latest
Downloading python-build...
Cloning into '/Users/noahgaertner/.asdf/plugins/python/pyenv'...
remote: Enumerating objects: 20109, done.
remote: Counting objects: 100% (1021/1021), done.
remote: Compressing objects: 100% (456/456), done.
remote: Total 20109 (delta 627), reused 774 (delta 488), pack-reused 19088
Receiving objects: 100% (20109/20109), 4.10 MiB | 7.76 MiB/s, done.
Resolving deltas: 100% (13561/13561), done.
python-build 3.9.6 /Users/noahgaertner/.asdf/installs/python/3.9.6
python-build: use<EMAIL_ADDRESS>from homebrew
python-build: use readline from homebrew
Downloading Python-3.9.6.tar.xz...
-> https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tar.xz
Installing Python-3.9.6...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 12.0 using python-build 2.0.4)

Inspect or clean up the working tree at /var/folders/md/517bs4l90sq29c1hjt_z50q00000gn/T/python-build.20210801210558.68834
Results logged to /var/folders/md/517bs4l90sq29c1hjt_z50q00000gn/T/python-build.20210801210558.68834.log

Last 10 log lines:
  "_libintl_textdomain", referenced from:
      _PyIntl_textdomain in libpython3.9.a(_localemodule.o)
      _PyIntl_textdomain in libpython3.9.a(_localemodule.o)
ld: symbol(s) not found for architecture arm64
ld: symbol(s) not found for architecture arm64
clang: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Programs/_testembed] Error 1
make: *** Waiting for unfinished jobs....
make: *** [python.exe] Error 1

I saw the issues with big sur about versions before 3.9.2, but this should be unrelated because this is version 3.9.6, so I'm not entirely sure what's wrong.

Did you figure it out? I am having the same problem, I've been trying for a day already without much progress

Hi, this same issue ... any progress or ideas ?

Hi, this same issue ... any progress or ideas ?

Nothing from my side :/ I haven't tried to debug it yet; I will try to give it some love.
I have never debugged an asdf plugin, but I assume it is as good as debugging a random shell script (i.e., terrible).


Mask docs example not masking correctly

The "wash" example on the Mask docs page isn't currently masking the image. Providing dimensions doesn't seem to help.

The mask is being applied, it is just hard to see.


Simulation hack

Without this hack we can not both synthesize the design and simulate it in the REPL.
To be able to simulate the design in the REPL with FFI we must:

Force data that we send over FFI to be fully defined. i.e., no undefined bits
Manually prepend the input signal to break combinatorial dependencies.

These operations are not synthesize and thus guarded by clashSimulation.

Maybe change the commit title to something more descriptive?

Apply workaround to make synthesis and simulation work


Only one connection receive subscriber allowed with Content-Type application/x-www-form-urlencoded

Running on SR1.Finchley.
When the Gateway is under load I am seeing this occasionally.  We are not doing anything where we are trying to intercept the response body.
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT 2018-09-11 17:01:39.717 ERROR 14 --- [client-epoll-19] .a.w.r.e.DefaultErrorWebExceptionHandler : Failed to handle request [POST ]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT java.lang.IllegalStateException: Only one connection receive subscriber allowed.
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at reactor.ipc.netty.channel.FluxReceive.startReceiver(FluxReceive.java:276) ~[reactor-netty-0.7.8.RELEASE.jar!/:0.7.8.RELEASE]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at reactor.ipc.netty.channel.FluxReceive.lambda$subscribe$2(FluxReceive.java:127) ~[reactor-netty-0.7.8.RELEASE.jar!/:0.7.8.RELEASE]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[netty-common-4.1.27.Final.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[netty-common-4.1.27.Final.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:322) ~[netty-transport-native-epoll-4.1.27.Final-linux-x86_64.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) ~[netty-common-4.1.27.Final.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_172]

Only using retry and rewrite path filter + custom filter which populates headers and sets path.

Not much to go on. Doesn't look like it has anything specific to do with the gateway.

I also meet this question, if I use GET method ,I can request success.but I use POST method ,we will see this
exception like the first man's comment. My request params like KEY-VALUES.  Who can fix this problem?

@canglang1973 Are you able to create a simple test scenario or does it only happen after a while or under load?

cc @violetagg

https://github.com/reactor/reactor-netty/issues/247

@violetagg @spencergibb
Spencer says not a gateway issue, Violetagg says not a Reactor Issue 👎
For whatever reason there appears at least in my testing that somehow POST bodies are being read by the gateway twice (or they are being put bag into the pool with an invalid state).

@canglang1973 Using a simple test of having a query parameter + POST is not enough for me to reproduce the error.

`   @Bean
public RouteLocator customRouteLocator(RouteLocatorBuilder builder) {
return builder.routes()
.route(r -> r.path("/router/rest")
.uri("http://<IP_ADDRESS>:8084")
).build();
}
This is my simple test ,not have other filters ,@dave-fl``` Have you solved this problem?Can you tell me your solution?

@spencergibb you can give me a simple test can support POST ,I think spring cloud gateway impossible not support POST method.

@violetagg in all these cases, the body isn't being read twice.

@canglang1973 we can't reproduce it

@spencergibb  I used spring cloud gateway version is 2.0.1.RELEASE ,spring boot version is 2.0.5.RELEASE ,jdk is 1.8  .The point is I don't have user-defined filters .

I see all the issues ,man people meet this same question but nobody fix

@canglang1973 provide a project that recreates the problem and steps to reproduce it. It should be something we can clone or download.

@spencergibb This is my simple test url  https://github.com/canglang1973/open-gateway  ,  you can reproduce it . I hope you can help me to solve this problem.

Hi. Seems like spring-boot issue. Happens with version 2.0.5. Lower versions are fine.
I have reported it here: https://github.com/spring-projects/spring-boot/issues/14509

Please don't open multiple issues for the same problem until the root cause has been identified. It just wastes time and duplicates effort. If the problem occurs in Spring Boot 2.0.5 but does not occur in Spring Boot 2.0.4, then I think the most likely reason is a change in Reactor Netty. Another possibility is a change in Spring WebFlux although I think that's less likely. Spring Boot itself isn't really involved at the level where this problem is apparently occurring.

It works with Boot 2.0.5 if I override 'io.projectreactor.ipc:reactor-netty:0.7.8.RELEASE'

@canglang1973 For the 2.x branch of Spring Cloud gateway all my tests were on 2.0.4 which is why I only saw the issue intermittently rather than easily reproducible.  I definitely do think there is an issue with 0.8.x and POSTS as I've already reported weird behavior with it.

Thanks all for the details about the issue.
I'm using the reproducible scenario provided with https://github.com/spring-cloud/spring-cloud-gateway/issues/541#issuecomment-422634564
Here is what I see when debugging the issue:
The first subscriber is:
HttpWebHandlerAdapter [delegate=ExceptionHandlingWebHandler [delegate=FilteringWebHandler [delegate=org.springframework.web.reactive.DispatcherHandler@781a52cd]]]

2018-09-19 17:32:50.321 DEBUG 64081 --- [ctor-http-nio-2] r.ipc.netty.channel.ChannelOperations    : [HttpServer] [id: 0x21a66a89, L:/0:0:0:0:0:0:0:1:8081 - R:/0:0:0:0:0:0:0:1:62585] handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@2d7bb23a
2018-09-19 17:33:07.929 DEBUG 64081 --- [ctor-http-nio-2] reactor.ipc.netty.channel.FluxReceive    : [id: 0x21a66a89, L:/0:0:0:0:0:0:0:1:8081 - R:/0:0:0:0:0:0:0:1:62585] Subscribing inbound receiver [pending: 1, cancelled:false, inboundDone: true]
2018-09-19 17:33:07.937 TRACE 64081 --- [ctor-http-nio-2] o.s.c.g.f.WeightCalculatorWebFilter      : Weights attr: {}
2018-09-19 17:33:07.943 DEBUG 64081 --- [ctor-http-nio-2] o.s.web.reactive.DispatcherHandler       : Processing POST request for [http://localhost:8081/router/rest]

So Spring Framework is subscribed for the incoming request body.
Then Spring Gateway obtains the the request body here https://github.com/spring-cloud/spring-cloud-gateway/blob/2.0.x/spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/NettyRoutingFilter.java#L123
and tries to send it to the origin. Reactor Netty needs to subscribe to the provided Publisher but it seems it is the same Publisher that Spring Framework have been already subscribed for, this causes the failure.
I tried it with Reactor Netty 0.7.9.RELEASE and 0.7.8.RELEASE with both I can see the issue.
@rstoyanchev @spencergibb What do you think?
Regards,
Violeta

There isn't anything in the Spring Framework that will consume the request body as far as I know. That has to be driven by some code either directly via request.getBody() or indirectly, e.g. exchange.getFormData().

@canglang1973 or @violetagg can either of you tell me how to reproduce it, I am unable.

@rstoyanchev @spencergibb ,
https://github.com/toffytofik/issue541
Steps to reproduce:

launch App.main
fire a request

curl -d "key=f9a922bd-3007-4393-a76e-925fc009639c.txt&uuid=f9a922bd-3007-4393-a76e-925fc009639c&name=rubycsv.txt&bucket=fineuploadertest&etag=123" -X POST http://localhost:8080/path1/123/path2/path3
fails returning:
{"timestamp":"2018-09-19T16:54:40.866+0000","path":"/path1/123/path2/path3","status":500,"error":"Internal Server Error","message":"Only one connection receive subscriber allowed."}
stacktrace.txt

build.gradle -> change springBootVersion: '2.0.5.RELEASE' -> '2.0.4.RELEASE'
repeat steps 1. and 2.

works ok returning:
OK. param=123, body={key=[f9a922bd-3007-4393-a76e-925fc009639c.txt], uuid=[f9a922bd-3007-4393-a76e-925fc009639c], name=[rubycsv.txt], bucket=[fineuploadertest], etag=[123]}
ps: unit test with TestWebClient runs fine for all versions.

I didn't try the latter example but with the previous one I see the stacks below. Th curl command is used curl -d "test" http://localhost:8081/router/rest -v, which output is (note the Content-Type which is set by default):
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8081 (#0)
> POST /router/rest HTTP/1.1
> Host: localhost:8081
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Length: 4
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 4 out of 4 bytes
< HTTP/1.1 500 Internal Server Error
< Content-Type: application/json;charset=UTF-8
< Content-Length: 171
<
* Connection #0 to host localhost left intact
{"timestamp":"2018-09-19T18:00:40.508+0000","path":"/router/rest","status":500,"error":"Internal Server Error","message":"Only one connection receive subscriber allowed."}

receiveObject:248, ChannelOperations (reactor.ipc.netty.channel)
receiveObject:270, HttpServerOperations (reactor.ipc.netty.http.server)
receive:90, NettyInbound (reactor.ipc.netty)
getBody:170, ReactorServerHttpRequest (org.springframework.http.server.reactive)
readMono:99, FormHttpMessageReader (org.springframework.http.codec)
initFormData:139, DefaultServerWebExchange (org.springframework.web.server.adapter)
<init>:123, DefaultServerWebExchange (org.springframework.web.server.adapter)
createExchange:191, HttpWebHandlerAdapter (org.springframework.web.server.adapter)
handle:183, HttpWebHandlerAdapter (org.springframework.web.server.adapter)
apply:75, ReactorHttpHandlerAdapter (org.springframework.http.server.reactive)
apply:40, ReactorHttpHandlerAdapter (org.springframework.http.server.reactive)
applyHandler:379, ChannelOperations (reactor.ipc.netty.channel)
onHandlerStart:398, HttpServerOperations (reactor.ipc.netty.http.server)
run:-1, 105998383 (reactor.ipc.netty.channel.ContextHandler$$Lambda$527)
safeExecute$$$capture:163, AbstractEventExecutor (io.netty.util.concurrent)
safeExecute:-1, AbstractEventExecutor (io.netty.util.concurrent)
 - Async stacktrace
addTask:-1, SingleThreadEventExecutor (io.netty.util.concurrent)
execute:765, SingleThreadEventExecutor (io.netty.util.concurrent)
createOperations:245, ContextHandler (reactor.ipc.netty.channel)
channelRead:133, HttpServerHandler (reactor.ipc.netty.http.server)
invokeChannelRead:362, AbstractChannelHandlerContext (io.netty.channel)
invokeChannelRead:348, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:340, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:438, CombinedChannelDuplexHandler$DelegatingChannelHandlerContext (io.netty.channel)
fireChannelRead:310, ByteToMessageDecoder (io.netty.handler.codec)
fireChannelRead:297, ByteToMessageDecoder (io.netty.handler.codec)
callDecode:413, ByteToMessageDecoder (io.netty.handler.codec)
channelRead:265, ByteToMessageDecoder (io.netty.handler.codec)
channelRead:253, CombinedChannelDuplexHandler (io.netty.channel)
invokeChannelRead:362, AbstractChannelHandlerContext (io.netty.channel)
invokeChannelRead:348, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:340, AbstractChannelHandlerContext (io.netty.channel)
channelRead:241, LoggingHandler (io.netty.handler.logging)
invokeChannelRead:362, AbstractChannelHandlerContext (io.netty.channel)
invokeChannelRead:348, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:340, AbstractChannelHandlerContext (io.netty.channel)
channelRead:1434, DefaultChannelPipeline$HeadContext (io.netty.channel)
invokeChannelRead:362, AbstractChannelHandlerContext (io.netty.channel)
invokeChannelRead:348, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:965, DefaultChannelPipeline (io.netty.channel)
read:163, AbstractNioByteChannel$NioByteUnsafe (io.netty.channel.nio)
processSelectedKey:646, NioEventLoop (io.netty.channel.nio)
processSelectedKeysOptimized:581, NioEventLoop (io.netty.channel.nio)
processSelectedKeys:498, NioEventLoop (io.netty.channel.nio)
run:460, NioEventLoop (io.netty.channel.nio)
run:884, SingleThreadEventExecutor$5 (io.netty.util.concurrent)
run:748, Thread (java.lang)

receiveObject:248, ChannelOperations (reactor.ipc.netty.channel)
receiveObject:270, HttpServerOperations (reactor.ipc.netty.http.server)
receive:90, NettyInbound (reactor.ipc.netty)
getBody:170, ReactorServerHttpRequest (org.springframework.http.server.reactive)
lambda$filter$1:115, NettyRoutingFilter (org.springframework.cloud.gateway.filter)
apply:-1, 416080008 (org.springframework.cloud.gateway.filter.NettyRoutingFilter$$Lambda$622)
apply:121, MonoHttpClientResponse$HttpClientHandler (reactor.ipc.netty.http.client)
apply:84, MonoHttpClientResponse$HttpClientHandler (reactor.ipc.netty.http.client)
applyHandler:379, ChannelOperations (reactor.ipc.netty.channel)
onHandlerStart:503, HttpClientOperations (reactor.ipc.netty.http.client)
run:-1, 105998383 (reactor.ipc.netty.channel.ContextHandler$$Lambda$527)
safeExecute$$$capture:163, AbstractEventExecutor (io.netty.util.concurrent)
safeExecute:-1, AbstractEventExecutor (io.netty.util.concurrent)
 - Async stacktrace
addTask:-1, SingleThreadEventExecutor (io.netty.util.concurrent)
execute:765, SingleThreadEventExecutor (io.netty.util.concurrent)
createOperations:245, ContextHandler (reactor.ipc.netty.channel)
connectOrAcquire:199, PooledClientContextHandler (reactor.ipc.netty.channel)
lambda$operationComplete$0:169, PooledClientContextHandler (reactor.ipc.netty.channel)
safeExecute$$$capture:163, AbstractEventExecutor (io.netty.util.concurrent)
safeExecute:-1, AbstractEventExecutor (io.netty.util.concurrent)
 - Async stacktrace
addTask:-1, SingleThreadEventExecutor (io.netty.util.concurrent)
execute:765, SingleThreadEventExecutor (io.netty.util.concurrent)
operationComplete:169, PooledClientContextHandler (reactor.ipc.netty.channel)
notifyListener0:511, DefaultPromise (io.netty.util.concurrent)
notifyListeners0:504, DefaultPromise (io.netty.util.concurrent)
notifyListenersNow:483, DefaultPromise (io.netty.util.concurrent)
access$000:33, DefaultPromise (io.netty.util.concurrent)
run:435, DefaultPromise$1 (io.netty.util.concurrent)
safeExecute$$$capture:163, AbstractEventExecutor (io.netty.util.concurrent)
safeExecute:-1, AbstractEventExecutor (io.netty.util.concurrent)
 - Async stacktrace
addTask:-1, SingleThreadEventExecutor (io.netty.util.concurrent)
execute:765, SingleThreadEventExecutor (io.netty.util.concurrent)
safeExecute:768, DefaultPromise (io.netty.util.concurrent)
notifyListeners:432, DefaultPromise (io.netty.util.concurrent)
trySuccess:103, DefaultPromise (io.netty.util.concurrent)
notifyConnect:212, SimpleChannelPool (io.netty.channel.pool)
access$000:42, SimpleChannelPool (io.netty.channel.pool)
operationComplete:186, SimpleChannelPool$2 (io.netty.channel.pool)
operationComplete:183, SimpleChannelPool$2 (io.netty.channel.pool)
notifyListener0:511, DefaultPromise (io.netty.util.concurrent)
notifyListeners0:504, DefaultPromise (io.netty.util.concurrent)
notifyListenersNow:483, DefaultPromise (io.netty.util.concurrent)
notifyListeners:424, DefaultPromise (io.netty.util.concurrent)
trySuccess:103, DefaultPromise (io.netty.util.concurrent)
trySuccess:84, DefaultChannelPromise (io.netty.channel)
fulfillConnectPromise:306, AbstractNioChannel$AbstractNioUnsafe (io.netty.channel.nio)
finishConnect:341, AbstractNioChannel$AbstractNioUnsafe (io.netty.channel.nio)
processSelectedKey:634, NioEventLoop (io.netty.channel.nio)
processSelectedKeysOptimized:581, NioEventLoop (io.netty.channel.nio)
processSelectedKeys:498, NioEventLoop (io.netty.channel.nio)
run:460, NioEventLoop (io.netty.channel.nio)
run:884, SingleThreadEventExecutor$5 (io.netty.util.concurrent)
run:748, Thread (java.lang)

Here is a workaround
    @Bean
    public HiddenHttpMethodFilter hiddenHttpMethodFilter() {
        return new HiddenHttpMethodFilter() {
            @Override
            public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
                return chain.filter(exchange);
            }
        };
    }

This is the cause https://github.com/spring-projects/spring-boot/pull/14008

See also 58834daf6271c3ae379f5eb0939689ad6a14036e for temporarily auto configuring the work around and https://jira.spring.io/browse/SPR-17291 for the ultimate solution.

Nice work 👍

maybe you used retry filter ,and your request path was wrong or request timeout , the problem is in the retry filter

Hey @spencergibb where did you add this workaround?
Tried adding it to the class that has my @Configuration but it didn't fix the problem.

@jayrmotta you should no longer need the workaround, the fix is in Boot 2.0.5 and Boot 2.1.0.

Hello, I'm on Spring Boot 2.1.0.RELEASE and still having this issue.
   "trace": "java.lang.IllegalStateException: Only one connection receive subscriber allowed.\n\tat reactor.netty.channel.FluxReceive.startReceiver(FluxReceive.java:277)\n\tat reactor.netty.channel.FluxReceive.subscribe(FluxReceive.java:127)\n\tat```

Please open a separate issue and include a sample.

FYI, the issue I mentioned seems to be fixed in Spring Boot 2.1.1.RELEASE.

Not much to go on. Doesn't look like it has anything specific to do with the gateway.

Here is a workaround
    @Bean
    public HiddenHttpMethodFilter hiddenHttpMethodFilter() {
        return new HiddenHttpMethodFilter() {
            @Override
            public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
                return chain.filter(exchange);
            }
        };
    }

thank you ,it did resolved my issues

Hello!I also encountered this problem in springboot2.3.5 when post requests with no request parameters occurred at the gateway, and I used the solution provided above, but it didn't work out.

@spencergibb is there a way to use a filter written similar to HiddenHttpMethodFilter (which instead operates on exchange.multipartData) in the spring cloud gateway ? or we must void/override such implementations for the global filter chain


Resolve inter-stage output dependency

Very frustrating output transmission issue
A previous stage was finishing with
return self.make_outputs(multicohort, data=outputs['mt'], jobs=j)
This means that only the single String outputs['mt'], not the whole output dict is available to the next stage. Error message:
ValueError: AnnotateCohortgCNV <- [AnnotateCNVVcfWithStrvctvre]: gs://cpg-vcgs-clinical-main/gcnv/8e1636ebdd99509f62c1cd1a53b7b8caf73ac3_809/AnnotateCohortgCNV/gcnv_annotated_cohort.mt is not a dictionary, can't get "mt"

I really don't know how gCNV results have been generated so far with this many sneaky pipeline errors

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.65%. Comparing base (398d7a0) to head (c0a82df).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #934   +/-   ##
=======================================
  Coverage   78.65%   78.65%
=======================================
  Files          10       10
  Lines        1785     1785
=======================================
  Hits         1404     1404
  Misses        381      381

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[FEAT] useTable's state names current and setCurrent are confusing.

Is your feature request related to a problem? Please describe.
The return values of useTable related to pagination are as follows:
import {
 useTable
} from "@refinedev/core";

const { current, setCurrent, pageSize, setPageSize, pageCount } = useTable();

The purpose of current and setCurrent is to change the page, but it is unclear what current refers to.
Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve

current and setCurrent should be deprecated.
useTable should return page and setPage, serving the same purpose.
pagination.page should be added to useTable props, and if pagination.page is provided, it should override pagination.current.
Both current and page should be sent to dataProvider to prevent breaking changes.
syncWithLocation should work with both fields without breaking changes.
useParsed should work with both fields without breaking changes.

const { current, setCurrent, pageSize, setPageSize, pageCount } = useTable({
  pagination: {
    page: 5,
    current: 5,
  },
});

After discussing this with the core team, we decided to implement it with Refine@5 because the syncWithLocation feature will cause a breaking change.


poc: [M3-7799] - Improve Docs Site Sidebar

Description 📝

Updates the docs site sidebar to be generated based on file names and folder structure of the docs/ folder 🗂
I think this will be nice because it will enable anyone to add documentation without needing to modify any Vitepress configuration 🔧
Updates Vitepress to latest 🆕

Preview 📷

Before
After

How to test 🧪

Check out this PR
Create a test markdown file at docs/development-guide/example/testing.md with some markdown in it
Run yarn docs
Go to http://localhost:5173/manager/
Observe that the new docs page was added to the sidebar with correct nesting 📂

As an Author I have considered 🤔

[ ] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[x] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

@mjac0bs What you sent in the screenshot doesn't look quite right. 🤔
The title in the sidebar should be My Test Section based on the fact you named the file 15-my-test-section.md
You'll have to restart the VitePress server for the sidebar to regenerate when you checkout my PR.


Memory leak due to the copy of Metric objects in Composer's trainer

The function _compute_and_log_metrics in composer.trainer.Trainer does the following:

Creates a copy of the metrics (using copy.deepcopy)
Computes the values of the metrics on the copy

It is called 3 times in composer.trainer.Trainer:

At every batch in the training loop to compute the metrics on this batch, and at the end of the epoch
At the end of the evaluation loop to compute the metrics on the evaluation dataset

On a specific use-case I'm working on where the Metric objects have large states stored on GPU, I notice that all Metric objects instantiated at every epoch in the training loop and in the evaluation loop are not deleted after training and evaluation, probably because of a reference cycle. This memory leak does not occur when I comment the line metrics = deepcopy(metrics). I don't know whether this happens with all implementations of Metric or if that is specific to the Metric I have implemented.
I don't see the need for copying the metrics before calling metric.compute(). In particular, the metrics are reset with metric.reset() at the start of the training on each batch, and at the start of the evaluation loop, making this copy useless. Is there a specific reason I am missing?

@gregjauvion hm... yes I think we could skip that deepcopy and instead reeset it as you suggested. We can add it to our roadmap, but if you have time, we'd love a PR!

@gregjauvion hm... yes I think we could skip that deepcopy and instead reeset it as you suggested. We can add it to our roadmap, but if you have time, we'd love a PR!

Thanks! I'll do the PR in the next days. Also, the reset is done already so I think that we only need to remove the deepcopy.


fix(isolated_declarations): Support expando functions

I mentioned this issue in a https://github.com/oxc-project/oxc/issues/4607#issuecomment-2264863618 but I later realized this is actually a separate issue from the one that I originally reported.
It seems that https://github.com/oxc-project/oxc/pull/3872 added support for reporting expando function errors, but didn't add support for cases where expando functions are allowed. This PR adds support for not reporting errors when there is a namespace declaration that declares the variable being assigned to.
TypeScript playground for reference

FYI @Dunqing


[BUG] Comments don't work.

Describe the bug
I'm trying to enable comments with vssue but it's not working. I created an OAuth App in Github according to their documentation. I edited the config.toml file with the client ID and secret but it still doesn't work. It says "failed to load comments". I also tried with telegram and gittalk and didn't work so I'm pretty sure I'm doing something wrong. Can anybody help?
Expected behavior
I expected the comments to work.

I'm not. I'm running on a custom domain.

Make sure to enable this config
    [params.page.comment]
      enable = true

Hey khusika,
Just to be clear this is all you are enabling to get Telegram comments working?
[params.page.comment]
  enable = true
  [params.page.comment.telegram]
    enable = true
    siteID = "********"
    limit = 5
    height = ""
    color = ""
    colorful = true
    dislikes = true
    outlined = false

Because this still isn't working for me, I even tried enabling comments directly on the content page with:
comment:
  enable: true

Do you have any example sites using your theme with Telegram comments and public configs I could compare with?

I just tried using comment.vssue from the example site with no luck so it must be something on my side. Is it a requirement that my site use https for comments to work?

Use -e production option.

Closed because there is no problem with the comments system


Alignment of the images is not perfect .

Hello @ANSHIKA-26 ,
I want to work on this issue to perfectly align the images . To looking website perfect . If you assign to me this issue I'le work on this issue . I promised you that I follow all the contributing guidelines .
plz assign to me this with the label of extd-2024.

hello @ANSHIKA-26 ,
I work on this issue or not .

yes

Hello @ANSHIKA-26
I want to work on this issue to perfectly align the images. I was wondering if it would be possible for you to assign me an issue to work on? I'd love to help out and learn more about the project while contributing to its success.

Hello @ANSHIKA-26
I want to work on this issue to perfectly align the images. I was wondering if it would be possible for you to assign me an issue to work on? I'd love to help out and learn more about the project while contributing to its success.

Already has been resolved


rewrite the key points

Is there a way to use api to rewrite the key points? For example, I uploaded a picture in sd webui controlnet, and the preview effect of the foot key points is not satisfied, can I adjust and move the foot key points through api

This extension does not provide a Web API.
Currently the ControlNet A1111 extension's controlnet/detect API endpoint does return the JSON pose from preprocessor. If you are not satisfied, you can upload that JSON pose file to the editor, do the necessary edit, and save the edited pose image to be used in next API call.

This extension does not provide a Web API.
Currently the ControlNet A1111 extension's API endpoint does return the JSON pose from preprocessor. If you are not satisfied, you can upload that JSON pose file to the editor, do the necessary edit, and save the edited pose image to be used in next API call.controlnet/detect

ok, thanks a lot

@huchenlei  我也遇到了同样的问题，感谢回答，但我还想问一下我现在已经有了了hand_right_keypoints_2d的pose json，也可以画出pose image，在下一次的API调用中，我应该把这个pose image的内容放在img2img请求的哪一部分来使得openpose使用我给定的pose，而不是自己重新计算pose呢


⚠ Bofrost.fr has degraded performance

In c0bff58, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 877 ms

Resolved: Bofrost.fr performance has improved in ddb4e1e after 6 minutes.


(112) Contentful requests use a new Redis cache

Changes in this PR

install redis
use redis as a read cache when getting any Contentful entry
set a time to live value of 48 hours to start with
environment variable introduced so we can toggle the behaviour on and off (useful for the preview env too)

@jacksonj04 I've added 2 new commits if you wanted another look otherwise I intend to merge when back from lunch :)


Resolves #2011

Fix AccessRight paremeter description.
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2011

Docs Build status updates of commit 1a7ee48:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/smbshare/Grant-SmbShareAccess.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 9688b42:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/smbshare/Grant-SmbShareAccess.md
:white_check_mark:Succeeded

docset/winserver2012-ps/smbshare/Grant-SmbShareAccess.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/smbshare/Grant-SmbShareAccess.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@dariomws @get-itips @tseward
Peer review needed for this PR. Thanks.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

Docs Build status updates of commit a65a710:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/smbshare/Grant-SmbShareAccess.md
:white_check_mark:Succeeded

docset/winserver2012-ps/smbshare/Grant-SmbShareAccess.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/smbshare/Grant-SmbShareAccess.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

If there is a global effort maybe there is not point of doing it article by article.

@velkovb I agree with you, I wrote to Chris to verify if we can do this global work. But I'm thinking that he'll approve this work in the Exchange repos, not in all repos (this one for example).
Let's see.

@dariomws @velkovb Let's keep the description for this one PR for now and I have included the AsJob as a mass-assignment into the backlog. See Teams channels for discussion. Thank you.

From Chris Davis:
"AsJob is a common Windows PowerShell parameter that's available in remote PowerShell connections (similar to ErrorAction, ErrorVariable, etc.). platyPS was updated to not include that parameter (notice that it's not present in any Exchange-related cmdlets). I would consider a global search/replace effort to remove AsJob wherever you find it."
Maybe we should start removing it on any article we work on. What do you think?

-AsJob is not one of the Common Parameters in PowerShell. You should not remove it without verifying the accuracy. That parameter is cmdlet specific, not common.
The -AsJob parameter was removed from several cmdlet in PowerShell 6.0 due to the changes in remoting behavior.
# PowerShell 7
PS> Get-Command -ParameterName asjob

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Cmdlet          ForEach-Object                                     <IP_ADDRESS>    Microsoft.PowerShell.Core
Cmdlet          Invoke-Command                                     <IP_ADDRESS>    Microsoft.PowerShell.Core

#PowerShell 5.1
PS> Get-Command -ParameterName asjob

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        Disable-DscDebug                                   1.1        PSDesiredStateConfiguration
Function        Enable-DscDebug                                    1.1        PSDesiredStateConfiguration
Function        Get-DscConfiguration                               1.1        PSDesiredStateConfiguration
Function        Get-DscConfigurationStatus                         1.1        PSDesiredStateConfiguration
Function        Get-DscLocalConfigurationManager                   1.1        PSDesiredStateConfiguration
Function        Remove-DscConfigurationDocument                    1.1        PSDesiredStateConfiguration
Function        Restore-DscConfiguration                           1.1        PSDesiredStateConfiguration
Function        Stop-DscConfiguration                              1.1        PSDesiredStateConfiguration
Cmdlet          Get-WmiObject                                      <IP_ADDRESS>    Microsoft.PowerShell.Management
Cmdlet          Invoke-Command                                     <IP_ADDRESS>    Microsoft.PowerShell.Core
Cmdlet          Invoke-WmiMethod                                   <IP_ADDRESS>    Microsoft.PowerShell.Management
Cmdlet          Remove-WmiObject                                   <IP_ADDRESS>    Microsoft.PowerShell.Management
Cmdlet          Restart-Computer                                   <IP_ADDRESS>    Microsoft.PowerShell.Management
Cmdlet          Set-WmiInstance                                    <IP_ADDRESS>    Microsoft.PowerShell.Management
Cmdlet          Stop-Computer                                      <IP_ADDRESS>    Microsoft.PowerShell.Management
Cmdlet          Test-Connection                                    <IP_ADDRESS>    Microsoft.PowerShell.Management
Cmdlet          Test-DscConfiguration                              1.1        PSDesiredStateConfiguration
Workflow        Invoke-AsWorkflow                                  <IP_ADDRESS>    PSWorkflowUtility


How do we integrate this to Orion?

This will be great if we can make it an integral part of Orion https://github.com/orionjs/orion. I'm inviting you to Orion gitter room

I have no clue how Orion works but I'm open to help out. Have you talked to anyone about it? I searched the Orion Gitter room and I couldn't find anything relating to this project.

Nothing yet because I just saw this package and gosh it's damn hot! So I opened up a channel to talk collaboration. I will ping you on gitter

k, closing this one then.


Physical Layer: define the packet window in half-duplex mode

The description of the half-duplex mode mentions the "packet window", but it isn't defined in any section.

It is quite clear

Sending channels data, the handset is the master for scheduling when each side can transmit. The handset can transmit at most one packet per interval. Once the external transmitter module completely receives this packet, it can immediately flip to become the transmitter. While it is the transmitter, the external module may transmit as many packets as will fit in the remaining window of the packet period.

The packet period is the interval between the master (handset) sending its one packet. The handset is expected use the interval requested by the CRSF module for its period, but if it doesn't then the period is undefined and nothing is safe.


WIP: Wrangling Rift Wizard

Hmm. This is vexing! I'm vexed.
I wonder if GitHub does the same WIP: detection that GitLab does. Anyways. I seem to have inadvertently committed myself to doing frontend web design for the Games Showcase. Here be the extremely generous, mind, spec:
Screenshots attached.  They tend to look bad when scaled- if we need to make them smaller can we either do it by exactly 50%, or can we crop rather than scale?

Where to buy: https://store.steampowered.com/app/1271280/Rift_Wizard/.
If possible lets use this pretty html widget:

The screenshots are huge, 1600x900. So, there's no way we can possibly fit those. The iframe width is 646; I tried resizing by cutting the width and upping the height but that just cut off the text on the bottom.
I tried hacking something together, but am not super happy with it. I would appreciate input from somebody who has design or frontend experience. I put the images at width=400 & with the widget, here's what it looks like:
Browser fullscreen:

Browser on my computer - half screen:

For comparison, half screen on a page that doesn't have the widget scales down better:

So keeping the widget at 646 means the screen gets stretched out and given that our mobile is expected to be, uh, less than that it's not great. I have no idea how to test it on mobile without just pushing it on master and pulling it back out later if it doesn't work - @lazerwalker is that what you've been doing for the things you tested?

Here's what it ends up looking like with the CSS changes from #256 in effect at a window width of ~930:

I think that's fine enough? The main question is should we drop the widget and just say "nope, our design limit is [x width]".

I'm on the verge of just saying that Games Showcase entries have a minimum [650, 600] box to play with, and if they overflow it overflows vertically. Showcase folks keep asking me "how big should the screenshots be" so that seems reasonable enough.


Blueprint version 5

@tnrich
The teselagen/ove vector editor package is currently using the following versions of blueprint:
 "@blueprintjs/core": "3.52.0",
 "@blueprintjs/datetime": "3.23.19",
 "@blueprintjs/icons": "3.33.0",
 "@blueprintjs/select": "3.18.11",

The current latest version of blueprint is v5.x and my company is building our application on v5. We're currently running up against a potential dependency issue with the blueprint datetime versus blueprint datetime2 module which may be resolved if blueprint versions are resolved.
Do you have any plans to upgrade to blueprint v5? Are there any blockers or special considerations to take into account? My company would be happy to support with this process as we feel the ove is a very useful tool.
From forking the library it looks like the main changes would be upgrading datetime to datetime2 as well as the keycombos module.

Update: we are proceeding with using the vanilla js package of TeselaGen ove for now which is working nicely and decouples our build process and css pre-processing from the ove project.


Support of HEAppE API v2

Should support the new HEAppE V2:

change in API parameters
new authentication methods.

See https://heappe.it4i.cz/lexisv2/swagger/index.html

Fixed by pull request https://github.com/lexis-project/yorc-heappe-plugin/pull/5

Fixed by pull request https://github.com/lexis-project/yorc-heappe-plugin/pull/5


ChatGPT Version

Hi WongSaang,
can I config the chatgpt version used?

I need to know this. I can see it under Model settings. But does this change to eg chatgpt 4 or 3.5? I need the users to be able to select which they use. Since v4 has a throttle on 40 questions in 3 hours I donlt want it to default to v4 and I want it to be easy to switch between the two (just like in the chatgpt official client)

Not encourages to see no response to this after 7 months...


allow role overrides for VMs in standard clusters

adding role=master or role=worker to an hv_vm inventory definition will assign that node to they specified role when the siteconfig is built

I'll have to think about that. I suppose it's worth a conversation to consider how standard clusters are usually deployed with jetlag.

I am of the opinion this is fine, I actually have a similar logic added here for "master/infra" nodes in standard cluster manifests - https://github.com/redhat-performance/jetlag/blob/2dc0476d3fc88d768d40620df7366bb3de2f4dda/ansible/roles/hv-vm-manifests-standard/templates/manifest.yml.j2#L173-L179
While ideally we don't want folks modifying the inventory file, that is directed for jetlag provisioned clusters.  These manifests and siteconfigs are actually used with an existing hub cluster (provisioned by jetlag) but have ACM installed on top of and then you can use the manifests or siteconfig to have acm provision a standard cluster. It's definitely a very custom and edge case area that most folks will not be running into or using. Long term I want to migrate manifest/siteconfig rendering into acm-deploy-load since these manifests are not used directly by jetlag but open to other ideas on organization of this.


chore: bump cli-utils

Several fixes have been made in cli-utils that we would like to incorporate downstream. This requires also bumping some of the shared dependencies, such as k8s apis.

Looks like the last run succeeded. If you remove any logging that we don't want to submit, we can try to get this merged.


pip-installable package

google/grumpy#404 opened on May 19 by @alanjds  4 of 4
Changes the folders structure separating the Tools and the Runtime+Stdlib. Allows to test and publish both parts separately. The Tools are tested via pytest, not the Makefile.
The Tools are to be published as grumpy-tools package and Runtime as grumpy-runtime package.
TODO:

[X] Publish-able on Python Package Index (PyPI)
[x] Update the README
[x] Better way to bump the version then editing files. (Maybe via bumpversion?)
[x] ~Fix a find: 'compiler': No such file or directory Makefile warning~

 Comment by alanjds
Monday May 21, 2018 at 21:50 GMT

I gave up on find: 'compiler': No such file or directory. Too little make skills here; too advanced Makefile there.
Contributions on this front are appreciated ;)
I do consider this PR merge-able.

Already merged manually


Unsupported column type: JSON

Describe the Bug
Using the JSON type as a column in sqlalchemy shows as not supported for strawberry sqlalchemy mapper.
2023-08-08 12:39:13   File "/home/pi/.local/lib/python3.10/site-packages/strawberry_sqlalchemy_mapper/mapper.py", line 584, in convert
2023-08-08 12:39:13     self._handle_columns(mapper, type_, excluded_keys, generated_field_keys)
2023-08-08 12:39:13   File "/home/pi/.local/lib/python3.10/site-packages/strawberry_sqlalchemy_mapper/mapper.py", line 528, in _handle_columns
2023-08-08 12:39:13     type_annotation = self._convert_column_to_strawberry_type(column)
2023-08-08 12:39:13   File "/home/pi/.local/lib/python3.10/site-packages/strawberry_sqlalchemy_mapper/mapper.py", line 279, in _convert_column_to_strawberry_type
2023-08-08 12:39:13     raise UnsupportedColumnType(column.key, column.type)
2023-08-08 12:39:13 strawberry_sqlalchemy_mapper.exc.UnsupportedColumnType: Unsupported column type: `JSON` on column: `readingStart`. Possible fix: exclude this column

However, strawberry does already have a built-in JSON type.
from strawberry.scalars import JSON

And using this works perfectly fine when creating the type manually.
Example code:
from sqlalchemy import Column, JSON, Text
from sqlalchemy.ext.asyncio import AsyncAttrs
from sqlalchemy.orm import DeclarativeBase
from uuid import uuid4

class Base(AsyncAttrs, DeclarativeBase):
    pass

class Test(Base):
    __tablename__ = "test"
    id = Column(Text, primary_key=True)
    json = Column(JSON)

from strawberry_sqlalchemy_mapper import StrawberrySQLAlchemyMapper
_strawberryMapper = StrawberrySQLAlchemyMapper()

@_strawberryMapper.type(Test)
class StrawberryTest:
    pass

_strawberryMapper.finalize()

Meet the same issue

Can customize extra_sqlalchemy_type_to_strawberry_type_map when initialize StrawberrySQLAlchemyMapper to solve this issue. Works well for my case.
from strawberry.scalars import JSON as StrawberryJSON
from sqlalchemy import JSON as SQLAlchemyJSON
_strawberryMapper = StrawberrySQLAlchemyMapper(
extra_sqlalchemy_type_to_strawberry_type_map={
        SQLAlchemyJSON: StrawberryJSON,
    }
)

Hello, I've just submitted a Pull Request to enable native JSON conversion. I'm unsure if this is an actual issue or if the library is intentionally designed to not support scalar types, but I went ahead and made the changes anyway.


VsCode spawning too many git for windows processes

So, I while ago when I tried to open VsCode my computer went really slow after some time using it, so slow that I couldn't shut it down normaly because it was super unresponsive. I tried to find many issues here but couldnt find any that really solved my problem. The issue is: when I open VsCode it spawns too many git processes and the CPU usage just goes to 100% and my PC become unusable. Here's a screenshot:

I really want to fix this issue because I don't want to change to another IDE. I love VsCode and it is perfect for me. If you guys need some more info, just say what you need and I'll send as soon as possible!

Ok, I got a hint of how to avoid the problem on stackoverflow. If I add "git.enabled" = false to the settings.json file It does spawn github processes weirdly like that.

In order to figure out what those processes are doing, can you take a screenshot of the Task Manager showing the full command line of those Git for Windows processes? You can find that in the Details tab.

Here you go

If you right click on that view's columns, you can add more columns. Can you add the Command Line column, expand it and show it?

In a Command Line, what does git --version return?

The same thing happens, it spawns a bunch of git for windows processes, but when I close the cmd it stops all of then

Can you please fully reinstall Git from https://git-scm.com/?

Ok! Looks like I just needed to update my Git, lol. Thanks a lot for helping me solving this problem!


"This project is actively seeking maintainers. " may not be accurate anymore?

The GitHub homepage states "This project is actively seeking maintainers. " ... Is this is true?

Nope - will get that updated @pombredanne !

Sorted - many thanks for pointing that out @pombredanne.


fix(swap): update interact task

Adds a missing section on updating the interact task to do the following:

ensure the interact task handles bech32 Bitcoin recipient addresses and encodes them correctly
encodes recipient as bytes, because that's what the contract is expecting to get

@andresaiello it's an urgent fix, so please review. Thanks!


CMake build doesn't handle szip in separate directory

I believe that the CMake build has problems when HDF5 and szip are in different directories.
In order to support all my CI testing, I install each package in its own directory under local. This leads to lots of CPPFLAGS and LDFLAGS to get all my libraries in the autotools builds, but allows me to mix and match freely.
When I try this with the CMake build, I can't get it to find the szlib library. So instead I installed zlib, szlib, and hdf5 all in the same place, and use that for CMake. Now everything works.
@WardF you may wish to simply close this ticket. Not sure how important it is that the CMake build deal with this corner case.

You can pass CMAKE_PREFIX_PATH multiple directories; for example, if everything were in a single directory you could pass -DCMAKE_PREFIX_PATH=/custom/lib/install .  I can never remember if multiple directories are colon or semicolon delineated, however.


GlobalPrefix should be wildcard and not be static

What would you like to be added:
https://github.com/JellyfishSDK/jellyfish/blob/8a5dfcf2059ce1a667d6fcff2589ac75899f9582/apps/whale-api/src/app.module.ts#L67-L72
Currently, setGlobalPrefix uses version set from config or default to package.json v{major}.{minor} with patch trimmed. We should use a dynamic wildcard like v*/{network} to allow for deployment where the version is not known ahead of time.
Why is this needed:
For flexible IAC where the version is not statically enforced by a running container — to allow easy dynamic routing. For example, we can reroute v3 traffic to v0 easily. Now we can't do it.

/triage accepted
/area apps
/apps whale-api playground-api

/priority important-soon


Signature counter doesn't work

On every signing process the current signature counter is shown and it's always 0.
Doesn't matter how many times I have signed an email.
Tested on macOS Sierra 10.12.4
gpg (GnuPG/MacGPG2) 2.0.30
libgcrypt 1.6.6
4096R keys

Thanks for report.
Bug confirmed. It will be fixed in RC7

Fixed in RC7


Set Up SAP Data Hub, Developer Edition

Tutorial URL: https://developers.sap.com/tutorials/datahub-docker-v2-setup.html
Please specify the step you are referring to Step 4: Run a Docker container (based on the image)
Some of the ports are disabled on my computer. It would be good to add information about this and how to deal with it. It helped me:
netsh int ipv4 show excludedportrange protocol=tcp
docker run -ti --publish 50701:50070 --name hdfs --hostname hdfs --net dev-net datahub run-hdfs

@dimvor @roy-zhong Any updates?

SAP Data Hub, Developer Edition will be removed completely from the platform therefore it should "solve" this ticket.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Bug: pasting in normal mode seems to cut out characters

I've been able to reproduce this on 2 different machines.
Recreate

copy the following npx ts-node ./scripts/runIntegrationTest.ts
paste it into your terminal, making sure that you are in normal mode (pasting in insert mode seems to work fine)
check to see if the correct paste came off your clipboard.

on my computer, the word "integration" is misspelled "interation"

Hi, thank you for the bug report, and for trying out the plugin!
This is unrelated to zsh-vim-mode, it's a bug in bracketed-paste-magic. I can reproduce it with just:
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic

Bracketed paste magic is not enabled by zsh-vim-mode, I suspect it's done separately in your zshrc.


Allow spider attr

This is about https://github.com/scrapinghub/scrapyjs/issues/14 and
https://github.com/scrapinghub/scrapyjs/issues/11
opening this for discussion, needs tests and improvements, would be cool to get some feedback if it's in good direction

updated after discussions

@pawelmhm tests are failing

TODO

[ ] docs

something else?

I know it has been a rather long time, but it looks like this is still a valid pull request, and a nice once at that. It seems to me like it’s only missing renaming dont_proxy to something else and covering the changes in the documentation.
@pawelmhm Do you have plans to resume work on it at some point?

Continued at #235


store: findsegments returns segments total count

This change is

store/store.go, line 182 at r1 (raw file):

// PaginateSegments paginate a list of segments
func (p *Pagination) PaginateSegments(a cs.SegmentPagination) cs.SegmentPagination {
	l := len(a.Segments)

I find it weirtd to return a SegmentPagination (that would be an argument of the function, I'd perfer something like PaginatedSegments or `

store/store.go, line 182 at r1 (raw file):
Previously, simonvadee (Simon Vadée) wrote…
I find it weirtd to return a SegmentPagination (that would be an argument of the function, I'd perfer something like PaginatedSegments or `

PaginatedSegmentSlice. What do you guys think ?

store/store.go, line 182 at r1 (raw file):
Previously, simonvadee (Simon Vadée) wrote…
PaginatedSegmentSlice. What do you guys think ?

PaginatedSegments is ok for me


fix: build and push devlake base failed when push a new tag

Summary
fix: build and push devlake base failed when push a new tag
add backend path to context.
Does this close any open issues?
related to #4763
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

you might have to change "file: ./backend/Dockerfile" to "file: ./Dockerfile" if this is still failing


Add FAQ section

maybe add an FAQ section to the team page and rename Team page to About

Possible questions:

Where do I find the ACM youtube channel?
How can I get more involved?
How do I participate?
Your past workshops seem interesting, how can I learn more?
How do I join your team?


Health will not work

After checking https://github.com/etcd-io/etcd/blob/master/clientv3/client.go I am pretty sure https://github.com/postfinance/store/blob/feature/etcd/health.go will not work as expected.

Too long ago


Can not run project

I follow this blog.

? Framework Angular 2.4.5 (experimental)
? What type of project do you want to create? .csproj      (compatible with .NET Core tooling preview 3 and Visual Stud
io 2017)
? Do you want to include unit tests? No
? Your project name OpPISWeb

Then I open project with VS 2017 and it failed with error. (look screenshot)
I also try to run dotnet run and it also failed.

Just for test I create and successfully run new ASP.NET Core Web Application (.Net Core) project.

I think you must be running an old version of VS2017RC. Older versions of VS2017RC don't include up-to-date versions of .NET Core tools, which are required.
I've just verified it works correctly with the current version, which is VS2017RC build 26206. Please update. Thanks!


how much of your rate limit?

I have a project to build real-time app. How much of rate limit of esport API?

The API doesn't have a rate limit.


Unwritten cloud AIP: Non-project resources

We still need a cloud AIP for this one.
Old lint rule: https://g3doc.corp.google.com/google/api/tools/linter/g3doc/rules/non-project-resources.md?cl=head

I'd be interested in doing this, and I have access to the original Markdown file, but what AIP does this correspond to? I assume this is blocked on a separate issue in https://github.com/aip-dev/google.aip.dev?


Configure non overlapping intervals

Currently we export every 1 minute and we flush from each replica every 1 minute. Events could overlap and chunk include duplicate events.
Aggregator export timeout should not overlap with each egressd pod flush period.

Not needed anymore.


JMAP: don't show "load up to X more" when all messages have already been downloaded

This requires calling BackendFolder.setMoreMessages() with the correct argument when syncing a folder.

I think this could apply to the mail system as a whole (as in, I guess that means IMAP too)
I have a feeling a lot of issue reports that are open are probably when everything is working just fine, but the text says "Load up to nn more", and so the operator refreshes the list... see's nothing more... but still see's "Load up to nn more", feels like a minor lose end that could clarify a lot of confusion


[BACKLOG-15717] changed date separator from '-' to '/' for last saved…

… column
@bmorrise

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f pom.xml clean install && mvn -B -f pom.xml site

Cleanup Commands
mvn -B -f pom.xml build-helper:remove-project-artifact

Changed files
  plugins/file-open-save/core/src/main/javascript/app/components/files/files.html

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change:  + .39%
Complexity Change:  + .51%
Instruction Change:  + .08%

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change:  + .66%
Complexity Change:  + .93%
Instruction Change:  + .13%

org.pentaho.di.trans.step.BaseStep

Branch Change: -.15%:small_red_triangle_down:
Complexity Change: -.18%:small_red_triangle_down:
Instruction Change: -.05%:small_red_triangle_down:
Line Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Branch Change: -.68%:small_red_triangle_down:
Complexity Change: -.58%:small_red_triangle_down:
Instruction Change: -.19%:small_red_triangle_down:
Line Change: -.26%:small_red_triangle_down:

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change:  + 8.70%
Complexity Change:  + 3.03%
Instruction Change:  + .75%
Line Change:  + .89%

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -.11%:small_red_triangle_down:

org.pentaho.di.trans.steps.combinationlookup.CombinationLookupMeta

Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -.31%:small_red_triangle_down:
Instruction Change: -.06%:small_red_triangle_down:
Line Change:  + .23%
Method Change:  + 1.02%

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change:  + 1.04%
Complexity Change:  + 1.05%
Instruction Change:  + .14%
Line Change:  + .37%

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change:  + 2.00%
Complexity Change:  + 1.89%
Instruction Change:  + .17%

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change:  + .06%

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -2.35%:small_red_triangle_down:
Complexity Change: -2.70%:small_red_triangle_down:

org.pentaho.di.trans.steps.randomvalue.RandomValueMeta

Branch Change: -2.17%:small_red_triangle_down:
Complexity Change: -2.17%:small_red_triangle_down:
Instruction Change: -.15%:small_red_triangle_down:

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change: -.14%:small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change:  + .08%

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change:  + .18%

org.pentaho.di.trans.steps.systemdata.SystemDataMeta

Branch Change: -2.04%:small_red_triangle_down:
Complexity Change: -2.04%:small_red_triangle_down:
Instruction Change: -.32%:small_red_triangle_down:
Line Change: -.81%:small_red_triangle_down:

org.pentaho.di.trans.Trans

Branch Change: -.10%:small_red_triangle_down:
Complexity Change: -.13%:small_red_triangle_down:
Instruction Change: -.01%:small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.79%:small_red_triangle_down:
Complexity Change: -1.54%:small_red_triangle_down:
Instruction Change: -.16%:small_red_triangle_down:
Line Change: -.58%:small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change:  + .15%

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f pom.xml clean install && mvn -B -f pom.xml site

Cleanup Commands
mvn -B -f pom.xml build-helper:remove-project-artifact

Changed files
  plugins/file-open-save/core/src/main/javascript/app/components/files/files.css
  plugins/file-open-save/core/src/main/javascript/app/components/files/files.html

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change:  + .39%
Complexity Change:  + .51%
Instruction Change:  + .08%

org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1.01%:small_red_triangle_down:
Complexity Change: -1.06%:small_red_triangle_down:
Instruction Change: -.17%:small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change:  + .66%
Complexity Change:  + .93%
Instruction Change:  + .13%

org.pentaho.di.trans.step.StepMeta

Branch Change:  + .68%
Complexity Change:  + .58%
Instruction Change:  + .19%
Line Change:  + .26%

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -.11%:small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change:  + .31%
Instruction Change:  + .06%
Line Change: -.23%:small_red_triangle_down:
Method Change: -1.02%:small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change:  + 4.17%
Complexity Change:  + 4.21%

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2.00%:small_red_triangle_down:
Complexity Change: -1.89%:small_red_triangle_down:
Instruction Change: -.17%:small_red_triangle_down:

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.pgbulkloader.PGBulkLoaderMeta

Branch Change: -.89%:small_red_triangle_down:
Complexity Change: -.98%:small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change:  + .07%

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change:  + .08%

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change:  + .14%

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -.18%:small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.33%:small_red_triangle_down:
Complexity Change: -1.85%:small_red_triangle_down:
Instruction Change: -.28%:small_red_triangle_down:

org.pentaho.di.trans.steps.systemdata.SystemDataMeta

Branch Change:  + 2.04%
Complexity Change:  + 2.04%
Instruction Change:  + .32%
Line Change:  + .81%

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change:  + .53%

org.pentaho.di.www.TransformationMap

Branch Change: -1.14%:small_red_triangle_down:
Complexity Change: -1.54%:small_red_triangle_down:

org.pentaho.di.trans.steps.googleanalytics.GaInputStepMeta

Instruction Change: -.07%:small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change:  + .15%

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change:  + .17%

@bmorrise
@e-cuellar


Fix the gradient computation of dynamic stitch.

Currently the gradient of tf.dynamic_stitch is not correct for duplicated indices. This is
issue #7397. @drasmuss submitted a pull request for this issue, but it was ultimately not merged
due to a performance drop.
While working on this, I realised that the problem is more complicated than what follows
from the discussion in #7487. In fact, the solution proposed in #7487 is not correct, because
one can have duplicated indices in the same input tensor. The following example shows this:
import tensorflow as tf

x = tf.zeros((3,))
y = tf.dynamic_stitch([[0, 1, 0]], [x])

with tf.Session() as sess:
    print("y")
    print(sess.run(y))

    analytic, numeric = tf.test.compute_gradient(x, (3,), y, (2,))
    print("analytic")
    print(analytic)
    print("numeric")
    print(numeric)

The output (even with #7487) is
y
[ 0.  0.]
analytic
[[ 1.  0.]
 [ 0.  1.]
 [ 1.  0.]]
numeric
[[ 0.          0.        ]
 [ 0.          0.99998707]
 [ 0.99998707  0.        ]]

My fix is to add a new kernel op GatherDisjoint, that can handle all the inputs together.
This replaces the n calls to gather in data_flow_grad._DynamicStitchGrads with a
single gather_disjoint.
The implementation is very similar to gather, I just zero out duplicated slices at the end.
I've put this op in core/, if you would like I can move it to contrib/, just let me know where.
I've also added tests for the op and new tests for the gradient of dynamic stitch. Here
I inspired myself from @drasmuss pull request.
I've run the script by @drasmuss again:
import time

import numpy as np
import tensorflow as tf

stitch_size = 1000
n_inputs = 10
input_shape = (100, 50, 50)
reps = 10

with tf.device("cpu:0"):
    idxs = [tf.constant(np.random.randint(stitch_size, size=input_shape[0]), dtype=tf.int32)
            for _ in range(n_inputs)]
    vals = [tf.constant(np.random.uniform(-1, 1, size=input_shape), dtype=tf.float32)
            for _ in range(n_inputs)]
    y = tf.dynamic_stitch(idxs, vals)
    grad = tf.gradients(y, vals)

total_time = 0.0
for _ in range(reps):
    with tf.Session() as sess:
        start = time.time()
        sess.run(grad)
        total_time += time.time() - start

print(total_time / reps)

The results are as follows:
with my fix:
CPU - 0.09455678462982178
GPU - 0.09739606380462647
without my fix:
CPU - 0.11728813648223876
GPU - 0.11805038452148438
So with the fix it runs faster. On GPU the slowdown is due to the memory copies from host to device
and back, for input and output (I've checked with nvprof), and not because of my fix.
I've run this script using local builds of the same master branch, with and without my patch.
Let me know if the op should be moved somewhere else, or it should be made hidden.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

The reasons for failure are:

dynamic stitch was modified since I started working on this and my commit does not work properly with the new modifications
the API changed and the goldens should be updated (as I've said, I can move the op to contrib)
for the GPU, XLA and Windows there is a strange failure involving a hudson plugin that I don't understand

I will fetch the latest version of tensorflow and commit an update.

ping @aselle

Would you mind testing the PR? I think all tests should pass.

Jenkins, test this please.

Hi @martinwicke ,
I fixed the failure, would you mind testing again?

ping @aselle for review.

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

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

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

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

Nagging Reviewer @aselle: It has been 14 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @aselle: It has been 16 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @aselle: It has been 157 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @aselle: It has been 172 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @aselle: It has been 187 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @aselle: It has been 202 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 217 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 232 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 247 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 262 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 277 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 292 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 307 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 322 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 337 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 352 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 367 days with no activity and the awaiting review label has been applied.

@codrut3 wondering if this PR valid , if yes can you please resolve conflicts.

It has been 14 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!

Hi Rajeshwar,

I am sorry for taking so long to answer. I think the PR is still valid
but needs to be updated in view of recent changes. I'll have a look and
reopen it if that's the case.
Best,
Codrut
On Fri, Apr 26, 2019 at 3:54 AM Rajeshwar Reddy T<EMAIL_ADDRESS>wrote:

Closed #13557 https://github.com/tensorflow/tensorflow/pull/13557.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/13557#event-2301870254,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACSJ5ZNEEQLGQMAXEV5RUVLPSJOF5ANCNFSM4D6F6ZYA
.


Laravel 11.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:

Checkout the l11-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/metapi.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "acidjazz/metapi": "dev-l11-compatibility",
    }
}

Finally, run: composer update


In CPUTimeMetricQueryRunner, account CPU consumed in baseSequence.toYielder()

The main work usually happens in Sequence.toYielder(), the same work as in Yielder.next(). While Yielder.get() is usually a simple getter of already computed and cached value.

Oops, meant to do 0.9.3.

Thanks @nishantmonu51 and @gianm.


Improvements to testing of CASA reader

This does several things:

Adds a simple CASA dataset in the repo
Adds a test that uses that dataset which can then run in all CI configurations without CASA installed (currently all the CASA tests still require CASA to generate the test images from FITS)
Fixes a bug with accessing scalar values from SpectralCube when backed by a dask array
Adds MacOS X and Windows builds to the CI
Fixes a bug that prevented CASA images from being read on Windows (they can now!)
Skips a few tests related to parallelization and memory usage on Windows for now

Coverage decreased (-4.1%) to 84.818% when pulling 0e3d77120cd1ee51e96b0cbee9c17bbbf0223292 on astrofrog:casa-reader-improvements into bdeb4c6eecc527fd6bd811ea22ca13b9aba8745a on radio-astro-tools:master.

There are some Windows failures that I will need to investigate when I am next at my desktop machine.

This is ready for review! I will investigate the parallel tests on Windows separately, though those issues may end up being moot if we switch to dask in future so maybe not high priority.

Note that for now Astropy dev is required on Windows for the CASA I/O. Once Astropy 4.0.1 is out (with the https://github.com/astropy/astropy/pull/9866 fix) Astropy stable can be used.

No the issue was that I was reading the ints as unsigned ints and then converting them to signed ints, and Windows is picker about overflow errors. In fact it was an issue on all platforms but I think only resulted in a warning on Mac/Linux.